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

html {
    overflow-x: hidden;
    overflow-y: scroll;
}

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

body {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: #9d9d9d;
    text-align: left;
}

a {
	color: #1a1a1a;
	text-decoration: underline;
}

a:hover, a:active, a:focus {
    color: #888888;
    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: #555555;
}

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

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

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

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

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

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

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

header {
    width: 100%;
    height: auto;
    padding-bottom: 10px;
}

.header-logo-container {
    position: relative;
    width: 313px;
    height: auto;
    margin: 0 auto;
}

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

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

#menu-navigazione li {
    margin: 0;
}

#menu-navigazione a {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0;
    padding: 0;
    border: 1px solid #000000;
    background-color: #ffffff;
    text-align: center;
    text-decoration: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
}

#menu-navigazione a span {
    font-family: 'Abel', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    color: #000000;
    text-transform: lowercase;
}

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

#menu-navigazione li.active a {
    background-color: #000000;
}

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

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

#menu-buttons li {
    margin: 0;
}

#menu-buttons a {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0;
    padding: 0;
    border: 1px solid #000000;
    background-color: #ffffff;
    text-align: center;
    text-decoration: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
}

#menu-buttons a span {
    font-family: 'Abel', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    color: #000000;
    text-transform: uppercase;
}

#menu-buttons a img.back-button {
    display: block;
    width: 16px;
    height: 20px;
    margin: 4px auto 0;
}

#menu-buttons a img.nav-button {
    display: block;
    width: 11px;
    height: 20px;
    margin: 4px auto 0;
}

#menu-buttons a:hover span, #menu-buttons a:active span, #menu-buttons a:focus span {
    color: #000000;
}

#menu-buttons li.active a {
    background-color: #000000;
}

#menu-buttons li.active a span {
    color: #ffffff;
    text-transform: lowercase;
}

#menu-buttons li.inactive a {
    color: #c0c0c0;
    cursor: default;
}

#menu-buttons li.inactive a span {
    color: #c0c0c0;
}

/**************************************************/
/* 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: 'Abel', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
	line-height: 1;
    color: #ffffff;
	text-decoration: none;
    text-transform: uppercase;
    background: #000000 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: 'Abel', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
	line-height: 1;
    color: #000000;
	text-decoration: none;
    text-transform: uppercase;
}

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

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

.image-container {
    width: 100%;
    height: 100%;
    padding: 25px;
    background: #ffffff url(../img/background.png) repeat;
}

a.image-box-hover {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

a.image-box-hover img.image-box-icon {
    display: none;
    position: absolute;
    width: 75px;
    height: 75px;
    top: 50%;
    left: 50%;
    margin-top: -37px;
    margin-left: -37px;
}

.box-container {
    width: 100%;
    height: 100%;
    padding: 50px;
    background: #ffffff url(../img/background.png) repeat;
}

.box-container.box-vertical-center {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

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

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

.editor-title-1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #555555;
}

.editor-title-2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #555555;
}

.editor-title-3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #555555;
}

/**************************************************/
/* Lity popup title                               */
/**************************************************/

.lity-popup-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 9999;
    /* Css background */
    background-image: -webkit-linear-gradient(bottom, rgba(10, 10, 10, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    background-image: -moz-linear-gradient(bottom, rgba(10, 10, 10, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    background-image: linear-gradient(bottom, rgba(10, 10, 10, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
}

.lity-popup-title span {
    display: block;
    width: 100%;
    font-family: 'Raleway', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    padding: 1rem;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

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

footer {
    width: 100%;
    height: auto;
    background-color: #000000;
}

.footer-top-icon-container {
    text-align: center;
}

.footer-top-icon {
    display: inline-block;
    width: 75px;
    height: 75px;
}

.footer-logo-container {
    position: relative;
    width: 100px;
    height: auto;
    margin: 0 auto;
}

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

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

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

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

#footer-social img {
    display: block;
}

#privacy-policy {
    display: block;
    overflow: hidden;
    height: auto;
    margin: 0 auto;
    text-align: center;
}

#privacy-policy a{
    color: #fff;
}

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

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

    #menu-navigazione {
        display: none;
    }

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

}

/* EXTRA SMALL - XS */
@media (max-width: 479px) {
    header {
        padding-top: 20px;
        padding-bottom: 0;
    }

    .header-logo-container {
        width: 180px;
    }

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

    .footer-top-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }

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

    #privacy-policy {
        margin-top: 20px;
    }
}

/* SMALL - S */
@media (min-width: 480px) and (max-width: 767px) {
    header {
        padding-top: 20px;
        padding-bottom: 0;
    }

    .header-logo-container {
        width: 200px;
    }

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

    .footer-top-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }

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

    #privacy-policy {
        margin-top: 20px;
    }
}

/* MEDIUM - M */
@media (min-width: 768px) and (max-width: 991px) {
    header {
        padding-top: 30px;
        padding-bottom: 0;
    }

    .header-logo-container {
        width: 220px;
    }

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

    .footer-top-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }

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

    #privacy-policy {
        margin-top: 20px;
    }
}

/* LARGE - L */
@media (min-width: 992px) and (max-width: 1199px) {
    header {
        padding-top: 40px;
        padding-bottom: 0;
    }

    .header-logo-container {
        width: 240px;
    }

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

    .footer-top-icon {
        margin-bottom: 30px;
    }

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

    #privacy-policy {
        margin-top: 30px;
    }
}

/* EXTRA LARGE - XL */
@media (min-width: 1200px) and (max-width: 1439px) {
    header {
        padding-top: 50px;
        padding-bottom: 0;
    }

    .header-logo-container {
        width: 260px;
    }

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

    .footer-top-icon {
        margin-bottom: 40px;
    }

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

    #privacy-policy {
        margin-top: 30px;
    }
}

/* EXTRA EXTRA LARGE - XXL */
@media (min-width: 1440px) {
    header {
        padding-top: 60px;
        padding-bottom: 0;
    }

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

    .footer-top-icon {
        margin-bottom: 50px;
    }

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

    #privacy-policy {
        margin-top: 40px;
    }
}