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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #ffffff url(../img/background-page.png) repeat;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #15427d;
    text-align: left;
}

a {
	color: #15427d;
	text-decoration: underline;
}

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

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

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

:focus {
    outline:0;
}

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

h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #15427d;
}

h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #15427d;
}

h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #15427d;
}

h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #15427d;
}

h5 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #15427d;
}

h6 {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #15427d;
}

.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;
}

/**************************************************/
/* Header home                                    */
/**************************************************/

#header-home {
    position: relative;
    width: 100%;
    height: auto;
}

#logo-euroservizi-home {
    margin: 0 auto;
}

/**************************************************/
/* Header                                         */
/**************************************************/

header {
    width: 100%;
    height: auto;
    background: #15427d url(../img/background-header-footer.png) repeat;
}

header.home {
    padding-top: 0;
}

#logo-euroservizi {
    margin: 0 auto;
}

#header-social {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style-type: none;
    width: 100%;
    height: 24px;
    margin: 2rem 0 1rem 0;
    padding: 0;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

#header-social li {
    width: 24px;
    margin: 0 5px;
}

#header-social li.small-ico {
    width: 15px;
}

#header-social img {
    display: block;
}

/**************************************************/
/* Menu di navigazione                            */
/**************************************************/

#menu-navigazione {
    list-style-type: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style-type: none;
    width: 100%;
    height: auto;
    margin: 10px 0 4px 0;
    padding: 0;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

#menu-navigazione li {
    position: relative;
}

#menu-navigazione a {
    display: block;
    text-decoration: none;
    margin: 0;
    padding: 2px 15px 4px 15px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.75rem;
    font-weight: 200;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    text-transform: lowercase;
    border-top: 3px solid #15427d;
    /* Css3 transition */
    -webkit-transition: color 500ms ease-out;
    -moz-transition: color 500ms ease-out;
    -o-transition: color 500ms ease-out;
    transition: color 500ms ease-out;
}

#menu-navigazione li.active a {
    color: #ffffff;
    border-color: #ffffff;
}

#menu-navigazione a:hover, #menu-navigazione a:active, #menu-navigazione a:focus {
    color: #c0c0c0;
}

#menu-navigazione li.active a:hover, #menu-navigazione li.active a:active, #menu-navigazione li.active a:focus {
    border-color: #ffffff;
    color: #ffffff;
}

/**************************************************/
/* Menu responsive                                */
/**************************************************/

#menu-responsive-container {
    display: none;
}

#menu-responsive {
	width: 100%;
    margin: 0;
    padding: 0;
}

#menu-responsive-icon {
    display: block;
	width: 100%;
	padding: 12px 40px 10px 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
	line-height: 1;
    color: #ffffff;
	text-decoration: none;
    text-transform: lowercase;
    background: #15427d url(../img/menu-responsive-icon.png) no-repeat right center;
}

#nav-responsive {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav-responsive > li {
    display: block;
    margin-top: 1px;
    background-color: #ebebeb;
}

#nav-responsive > li a {
	display: block;
	padding: 12px 12px 10px 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
	line-height: 1;
    color: #15427d;
	text-decoration: none;
    text-transform: lowercase;
}

#nav-responsive > li a:hover {
    color: #c0c0c0;
}

/**************************************************/
/* Content                                        */
/**************************************************/

.relative-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.img-centered {
    margin: 0 auto;
}

.img-padding {
    padding: 10px;
}

.img-right {
    margin: 0 0 0 auto;
}

.img-border {
    border: 3px solid #15427d;
    /* Css3 transition */
    -webkit-transition: border 500ms ease-out;
    -moz-transition: border 500ms ease-out;
    -o-transition: border 500ms ease-out;
    transition: border 500ms ease-out;
}

.img-shadow {
    /* Shadow */
    box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    -moz-box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    -webkit-box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    -ms-box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
}

p {
    margin: 1rem 0 0 0;
}

.first {
    margin-top: 0;
}

.margin-top {
    margin-top: 1rem;
}

.margin-top-medium {
    margin-top: 1.5rem;
}

.margin-top-big {
    margin-top: 2rem;
}

.margin-bottom {
    margin-bottom: 1rem;
}

.margin-bottom-medium {
    margin-bottom: 1.5rem;
}

.margin-bottom-big {
    margin-bottom: 2rem;
}

.message-non-disponibile {
    width: 100%;
    height: auto;
    padding: 50px;
    border: 3px solid #b1b1ae;
    background-color: #ececec;
    text-align: center;
}

.message-non-disponibile span {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
}

a.gallery-lightbox:hover img.img-border, a.gallery-lightbox:active img.img-border, a.gallery-lightbox:focus img.img-border {
    border-color: #ececec;
}

a.gallery-link:hover img.img-border, a.gallery-link:active img.img-border, a.gallery-link:focus img.img-border {
    border-color: #ececec;
}

a.products-link-container {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
	text-decoration: none;
    /* Shadow */
    box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    -moz-box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    -webkit-box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    -ms-box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
}

.products-title-container {
    position: absolute;
    overflow-y: hidden;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #ffffff;
    border: 15px solid #ffffff;
    padding: 15px;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    /* Css3 transition */
    -webkit-transition: border 500ms ease-out;
    -moz-transition: border 500ms ease-out;
    -o-transition: border 500ms ease-out;
    transition: border 500ms ease-out;
}

a.products-link-container:hover .products-title-container, a.products-link-container:active .products-title-container, a.products-link-container:focus .products-title-container {
    border-color: #15427d;
}

.products-title {
    position: relative;
    width: 100%;
    height: auto;
}

.products-title-container .logo-products-title {
    display: block;
    width: 104px;
    height: 84px;
    margin: 0 auto 16px auto;
}

.products-title-container span {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    color: #15427d;
}

.products-image-container {
    position: relative;
    top: 0;
    left: 50%;
    width: 50%;
    height: auto;
    background-color: #ffffff;
}

div.details-container {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
	text-decoration: none;
    /* Shadow */
    box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    -moz-box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    -webkit-box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    -ms-box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
}

.details-title-container {
    position: absolute;
    overflow-y: hidden;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #ffffff;
    border: 25px solid #15427d;
    padding: 15px;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.details-title {
    position: relative;
    width: 100%;
    height: auto;
}

.details-title-container .logo-details-title {
    display: block;
    width: 104px;
    height: 84px;
    margin: 0 auto 16px auto;
}

.details-title-container span {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    color: #15427d;
}

.details-image-container {
    position: relative;
    top: 0;
    left: 50%;
    width: 50%;
    height: auto;
    background-color: #ffffff;
}

.details-button {
    display: block;
    width: 100px;
    height: 100px;
    margin-right: auto;
    margin-left: auto;
}

.foto-link-container {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    /* Shadow */
    box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    -moz-box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    -webkit-box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    -ms-box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
}

.foto-image-container {
    position: relative;
    top: 0;
    left: 0;
    width: 50%;
    height: auto;
    background-color: #ffffff;
}

.foto-image-container img {
    border: 15px solid #ffffff;
}

.foto-title-container {
    position: absolute;
    overflow-y: hidden;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    background-color: #ffffff;
    padding: 15px;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    /* Css3 transition */
    -webkit-transition: border 500ms ease-out;
    -moz-transition: border 500ms ease-out;
    -o-transition: border 500ms ease-out;
    transition: border 500ms ease-out;
}

.foto-title {
    position: relative;
    width: 100%;
    height: auto;
}

.foto-title-container img.logo-small {
    display: block;
    margin-bottom: 0.3rem;
}

.foto-title-container span.foto-text {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 0.875rem;
    font-weight: normal;
    line-height: 1.5;
    text-align: left;
    color: #15427d;
}

.picture {
    position: relative;
}

.image-overlay-video {
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	position: absolute;
	z-index: 40;
    background: transparent url(../img/ico-video-big.png) no-repeat center center;
	cursor: pointer;
}

/**************************************************/
/* Editor titoli                                  */
/**************************************************/

.editor-title-1 {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    color: #15427d;
}

.editor-title-2 {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    color: #15427d;
}

.editor-title-3 {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    color: #15427d;
}

a.editor-document {
    display: inline-block;
    min-height: 44px;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
	line-height: 1;
    color: #15427d;
    text-align: left;
    text-decoration: underline;
    margin: 0 18px 0 0;
    padding: 12px 0 0 56px;
    background: transparent url(../img/link-document-icon.png) no-repeat left center;
}

a.editor-document:hover, a.editor-document:active, a.editor-document:focus {
    color: #c0c0c0;
    text-decoration: none;
}

a.editor-video {
    display: inline-block;
    min-height: 44px;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
	line-height: 1;
    color: #15427d;
    text-align: left;
    text-decoration: underline;
    margin: 0 18px 0 0;
    padding: 12px 0 0 56px;
    background: transparent url(../img/link-video-icon.png) no-repeat left center;
}

a.editor-video:hover, a.editor-video:active, a.editor-video:focus {
    color: #c0c0c0;
    text-decoration: none;
}

/**************************************************/
/* Footer                                         */
/**************************************************/

footer {
    width: 100%;
    height: auto;
    background: #15427d url(../img/background-header-footer.png) repeat;
}

#footer-image {
    display: block;
    width: 250px;
    height: 106px;
    margin: 0 auto;
}

.footer-separator {
    display: block;
    width: 100%;
    height: 9px;
    background-color: #ffffff;
}

.footer-text {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
	line-height: 1.5;
    color: #ffffff;
    text-align: center;
    margin: 1.5rem auto;
}

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

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

#footer-social {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style-type: none;
    width: 100%;
    height: 24px;
    margin: 0;
    padding: 0;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

#footer-social li {
    width: 24px;
    margin: 0 5px;
}

#footer-social li.small-ico {
    width: 15px;
}

#footer-social img {
    display: block;
}

#privacy-policy {
    display: block;
    overflow: hidden;
    width: 105px;
    height: 21px;
    margin: 1.5rem auto;
}

#logo-emmequadro-footer {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto;
}

/**************************************************/
/* Responsive                                     */
/**************************************************/

/* MENU RESPONSIVE */
@media only screen and (max-width: 991px) {

    #menu-responsive-container {
        display: block;
    }

    .details-button {
        width: 75px;
        height: 75px;
    }

}

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

    #header-home {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    header {
        padding-top: 20px;
    }

    #logo-euroservizi {
        width: 260px;
        height: auto;
    }

    #header-social {
        margin-top: 1rem;
    }

    .products-title-container {
        border-width: 10px;
    }

    .products-title-container .logo-products-title {
        width: 64px;
        height: 52px;
    }

    .products-title-container span {
        font-size: 1rem;
    }

    .details-title-container {
        border-width: 15px;
    }

    .details-title-container .logo-details-title {
        width: 64px;
        height: 52px;
    }

    .details-title-container span {
        font-size: 1rem;
    }

    .foto-image-container img {
        border-width: 10px;
    }

    .foto-title-container span.foto-text {
        font-size: 0.6rem;
        line-height: 1.3;
    }

    footer {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #footer-image {
        width: 200px;
        height: 85px;
    }

    .footer-text {
        font-size: 1rem;
    }

}

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

    #header-home {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    header {
        padding-top: 20px;
    }

    #logo-euroservizi {
        width: 300px;
        height: auto;
    }

    #header-social {
        margin-top: 1.25rem;
    }

    .products-title-container .logo-products-title {
        width: 64px;
        height: 52px;
    }

    .products-title-container span {
        font-size: 1rem;
    }

    .details-title-container {
        border-width: 15px;
    }

    .details-title-container .logo-details-title {
        width: 64px;
        height: 52px;
    }

    .details-title-container span {
        font-size: 1rem;
    }

    .foto-image-container img {
        border-width: 10px;
    }

    .foto-title-container span.foto-text {
        font-size: 0.7rem;
    }

    footer {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #footer-image {
        width: 200px;
        height: 85px;
    }

    .footer-text {
        font-size: 1rem;
    }

}

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

    #header-home {
        padding-top: 105px;
        padding-bottom: 105px;
    }

    header {
        padding-top: 30px;
    }

    #logo-euroservizi {
        width: 340px;
        height: auto;
    }

    #header-social {
        margin-top: 1.5rem;
    }

    .details-title-container {
        border-width: 15px;
    }

    .details-title-container .logo-details-title {
        width: 64px;
        height: 52px;
    }

    .details-title-container span {
        font-size: 1rem;
    }

    footer {
        padding-top: 30px;
        padding-bottom: 30px;
    }

}

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

    #header-home {
        padding-top: 130px;
        padding-bottom: 130px;
    }

    header {
        padding-top: 40px;
    }

    .details-button {
        width: 75px;
        height: 75px;
    }

    .details-title-container {
        border-width: 15px;
    }

    .details-title-container .logo-details-title {
        width: 84px;
        height: 68px;
    }

    .details-title-container span {
        font-size: 1.375rem;
    }

    .foto-title-container span.foto-text {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    footer {
        padding-top: 40px;
        padding-bottom: 40px;
    }

}

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

    #header-home {
        padding-top: 155px;
        padding-bottom: 155px;
    }

    header {
        padding-top: 50px;
    }

    .foto-title-container span.foto-text {
        font-size: 0.75rem;
    }

    footer {
        padding-top: 50px;
        padding-bottom: 50px;
    }

}

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

    #header-home {
        padding-top: 180px;
        padding-bottom: 180px;
    }

    header {
        padding-top: 60px;
    }

    footer {
        padding-top: 60px;
        padding-bottom: 60px;
    }

}