/**************************************************/
/* Basic styles                                   */
/**************************************************/

body {
    width: 100%;
	height: 100%;
    background-color: #58585a;
    color: #ffffff;
    font: 18px/24px 'Oxygen', arial, sans-serif;
    font-style: normal;
    font-weight: 400;
}

a {
	color: #333333;
	text-decoration: underline;
}

a:hover, a:active, a:focus {
    color: #999999;
    text-decoration: none;
}

/**************************************************/
/* Typography                                     */
/**************************************************/

h2 {
	font-family: 'Oxygen', arial, sans-serif;
    font-weight: 400;
	font-size: 28px;
	line-height: 28px;
}

h3 {
	font-family: 'Oxygen', arial, sans-serif;
    font-weight: 400;
	font-size: 24px;
	line-height: 24px;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

.text-uppercase {
	text-transform: uppercase;
}

.text-capitalize {
	text-transform: capitalize;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

::selection {
	background: #c0c0c0;
	color: #ffffff;
}

::-moz-selection {
	background: #c0c0c0;
	color: #ffffff;
}

/**************************************************/
/* Section header                                 */
/**************************************************/

header {
    width: 100%;
    height: auto;
    background-color: #ffffff;
    margin: 0;
}

.header-container {
	width: 100%;
    color: #58585a;
    /* Css3 border-box */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/**************************************************/
/* Section content                                */
/**************************************************/

.titolo-nome {
	font-family: 'Oxygen', arial, sans-serif;
    font-weight: bold;
	font-size: 28px;
	line-height: 28px;
}

/**************************************************/
/* Section form                                   */
/**************************************************/

.form-contatti input, .form-contatti textarea {
	display: block;
	width: 50%;
    height: auto;
    padding: 8px 10px;
    font: 14px/18px arial, helvetica, sans-serif;
    background-color: #ffffff;
    color: #555555;
	border: none;
    /* Css3 radius */
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -ms-border-radius: 6px;
    /* Css3 border-box */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.form-contatti textarea {
    height: 180px;
	resize: vertical;
}

.form-contatti input:focus, .form-contatti textarea:focus {
    background-color: #eaeaea;
}

a.button-send {
    display: block;
    width: 50%;
	background-color: #a8a9ad;
    color: #ffffff;
    border: 3px solid #ffffff;
    padding: 4px 12px;
    font-size: 16px;
    font-weight: bold;
	text-align: left;
    text-decoration: none;
	cursor: pointer;
    /* Css3 radius */
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -ms-border-radius: 6px;
    /* Css3 border-box */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a.button-send:hover, a.button-send:focus {
    background-color: #9d9c9a;
}

a.button-send:focus {
    outline: 0;
}

/**************************************************/
/* Magnific popup                                 */
/**************************************************/

.message-popup {
    position: relative;
    background: #ffffff;
    color: #333333;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}

.message-popup strong {
    font-size: 18px;
    font-weight: bold;
}

/**************************************************/
/* Section footer                                 */
/**************************************************/

footer {
    width: 100%;
    height: auto;
    margin: 0;
}

.footer-container {
	width: 100%;
    color: #f0f0f0;
    /* Css3 border-box */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.footer-nome {
    display: block;
    margin-top: 10px;
    padding-bottom: 8px;
    font: 16px/20px 'Oxygen', arial, sans-serif;
    font-weight: 400;
    color: #ffffff;
    border-bottom: 3px solid #ffffff;
}

.footer-text {
    display: block;
    margin-top: 8px;
    padding-bottom: 8px;
    font: 13px/20px 'Oxygen', arial, sans-serif;
    font-weight: 400;
    color: #ffffff;
    border-bottom: 3px solid #ffffff;
}

.footer-text a {
	color: #ffffff;
	text-decoration: none;
}

.footer-text a:hover, .footer-text a:active, .footer-text a:focus {
    color: #a8a9ad;
}

#privacy-credits {
    position: relative;
    margin-top: 18px;
    width: 100%;
    height: 24px;
}

#privacy-policy {
    display: block;
    position: relative;
    overflow: hidden;
    width: 105px;
    height: 21px;
    top: 3px;
    left: 0;
}

#logo-emmequadro-footer {
    position: absolute;
    width: 24px;
    height: 24px;
    top: 0;
    right: 0;
}

/**************************************************/
/* Responsive breakpoints                         */
/**************************************************/

@media only screen and (max-width: 479px) { /* EXTRA SMALL - XS */

    .header-container, .footer-container {
        padding: 20px;
    }

    p ~ p {
        margin-top: 10px;
    }

    p.small ~ p {
        margin-top: 5px;
    }

    .form-contatti input, .form-contatti textarea {
	    width: 100%;
    }

    a.button-send {
        width: 100%;
    }

}

@media only screen and (min-width: 480px) and (max-width: 767px) { /* SMALL - S */

    .header-container, .footer-container {
        padding: 20px;
    }

    p ~ p {
        margin-top: 20px;
    }

    p.small ~ p {
        margin-top: 10px;
    }

    .form-contatti input, .form-contatti textarea {
	    width: 100%;
    }

    a.button-send {
        width: 100%;
    }

}

@media only screen and (min-width: 768px) and (max-width: 991px) { /* MEDIUM - M */

    .header-container, .footer-container {
        padding: 30px;
    }

    p ~ p {
        margin-top: 30px;
    }

    p.small ~ p {
        margin-top: 15px;
    }

    .titolo-container {
        padding-top: 80px;
        padding-left: 16px;
    }

    .titolo-nome {
    	font-size: 22px;
	    line-height: 22px;
    }

    .form-contatti input, .form-contatti textarea {
	    width: 100%;
    }

    a.button-send {
        width: 100%;
    }

}

@media only print, only screen and (min-width: 992px) and (max-width: 1199px) { /* LARGE - L */

    .header-container, .footer-container {
        padding: 40px;
    }

    p ~ p {
        margin-top: 40px;
    }

    p.small ~ p {
        margin-top: 20px;
    }

    .titolo-container {
        padding-top: 108px;
        padding-left: 48px;
    }

}

@media only screen and (min-width: 1200px) and (max-width: 1439px) { /* EXTRA LARGE - XL */

    .header-container, .footer-container {
        padding: 50px;
    }

    p ~ p {
        margin-top: 50px;
    }

    p.small ~ p {
        margin-top: 25px;
    }

    .titolo-container {
        padding-top: 136px;
        padding-left: 50px;
    }

}

@media only screen and (min-width: 1440px) { /* EXTRA EXTRA LARGE - XXL */

    .header-container, .footer-container {
        padding: 60px;
    }

    p ~ p {
        margin-top: 60px;
    }

    p.small ~ p {
        margin-top: 30px;
    }

    .titolo-container {
        padding-top: 163px;
        padding-left: 55px;
    }

    .titolo-nome {
    	font-size: 32px;
	    line-height: 32px;
    }

}
