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

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

body {
    background: #ffffff url(../img/background.png) repeat;
    font-family: 'Comfortaa', arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #3d3e40;
    text-align: left;
}

a {
	color: #3d3e40;
	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: 'Londrina Solid', arial, sans-serif;
    font-size: 2.5rem;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #3d3e40;
}

h2 {
    font-family: 'Londrina Solid', arial, sans-serif;
    font-size: 2rem;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #3d3e40;
}

h3 {
    font-family: 'Londrina Solid', arial, sans-serif;
    font-size: 1.75rem;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #3d3e40;
}

h4 {
    font-family: 'Londrina Solid', arial, sans-serif;
    font-size: 1.5rem;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #3d3e40;
}

h5 {
    font-family: 'Londrina Solid', arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #3d3e40;
}

h6 {
    font-family: 'Londrina Solid', arial, sans-serif;
    font-size: 1rem;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #3d3e40;
}

.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                                         */
/**************************************************/

#header-home {
    position: relative;  
    width: 100%;
    height: auto;
    border-top: 5px solid #050607;
}

#header-page {
    width: 100%;
    height: auto;
    border-top: 5px solid #050607;
}

.page-tesseramento {
    background: #8cc800 url(../img/header/immagine-tesseramento.jpg) no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.page-mtb-gallery {
    background: #8cc800 url(../img/header/immagine-mtb-gallery.jpg) no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.page-mtb-video {
    background: #8cc800 url(../img/header/immagine-mtb-video.jpg) no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.page-standard {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#main-navigation {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#main-navigation a {
    display: block;
	font-family: 'Londrina Solid', arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
	line-height: 1;
    color: #ffffff;
    margin: 5px 5px 0 0;
    padding: 10px 8px;
    background-color: #050607;
    border: 4px solid #050607;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-transition: background-color 0.5s ease-out;
    -moz-transition: background-color 0.5s ease-out;
    -o-transition: background-color 0.5s ease-out;
    transition: background-color 0.5s ease-out;
    /* Css3 radius */
    -webkit-border-top-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-bottomright: 10px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#main-navigation a:hover, #main-navigation a:active, #main-navigation a:focus {
    background-color: #8cc800;
    color: #050607;
}

#main-navigation li.selected a {
    background-color: #8cc800;
    color: #050607;
}

#logo-wbike {
    display: block;
    width: 240px;
    height: 240px;
    margin: 58px 0 40px 0;
}

#header-home #logo-wbike {
    margin-bottom: 340px;
}

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

#menu-responsive-icon {
    display: block;
	width: 100%;
	padding: 10px 40px 10px 12px;
	font-family: 'Londrina Solid', arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
	line-height: 1;
    color: #050607;
	text-decoration: none;
    text-transform: uppercase;
    background: #8cc800 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: #050607;
}

#nav-responsive > li a {
	display: block;
	padding: 10px 12px;
	font-family: 'Londrina Solid', arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
	line-height: 1;
    color: #ffffff;
	text-decoration: none;
    text-transform: uppercase;
}

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

/**************************************************/
/* Sub header                                     */
/**************************************************/

#sub-header-page {
    width: 100%;
    height: 38px;
    background-color: #8cc800;
    border-bottom: 5px solid #050607;
}

#sub-header-social {
    list-style-type: none;
    padding: 0;
    margin: 0 90px 0 0;
}

#sub-header-social img {
    display: block;
    margin: 5px 0 0 5px;
}

/**************************************************/
/* News                                           */
/**************************************************/

.news-container {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    background-color: #8cc800;
}

.news-image {
    border: 5px solid #050607;
}

.news-wbike {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
}

.news-title {
    color: #050607;
    padding: 20px 4px 10px 4px;
	font-family: 'Londrina Solid', arial, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
	line-height: 1;
    text-align: center;
}

.news-container:hover .news-title, .news-container:active .news-title, .news-container:focus .news-title {
    color: #ffffff;
}

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

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

.img-centered {
    margin: 0 auto;
}

.round-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 50px;
    -webkit-border-top-left-radius: 50px;
    -webkit-border-bottom-right-radius: 50px;
    -moz-border-radius-topleft: 50px;
    -moz-border-radius-bottomright: 50px;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.round-container.medium {
    padding: 25px;
}

.round-container.small {
    padding: 25px 14px 50px 14px;
}

.round-container.big {
    padding: 25px 50px 50px 50px;
}

.round-container.light {
    background-color: #8cc800;
    color: #050607;
}

.round-container.dark {
    background-color: #050607;
    color: #8cc800;
}

.titolo-big {
    display: inline-block;
    position: relative;
    width: auto;
    min-height: 50px;
    font-family: 'Londrina Solid', arial, sans-serif;
    font-size: 3.6rem;
    line-height: 1;
    margin: 0 0 1rem 0;
    padding: 0 0 0 62px;
    color: #050607;
}

.titolo-big-rectangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-color: #8cc800;
    -webkit-border-top-left-radius: 12px;
    -webkit-border-bottom-right-radius: 12px;
    -moz-border-radius-topleft: 12px;
    -moz-border-radius-bottomright: 12px;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.year-container {
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.year-title {
    display: inline-block;
    font-family: 'Londrina Solid', arial, sans-serif;
    font-size: 4.6rem;
    line-height: 1;
    margin: auto;
    padding: 0;
    color: #050607;
    text-align: center;
}

.icon-content-map {
    position: absolute;
    bottom: 13px;
    left: 14px;
    width: 25px;
    height: 25px;
}

.img-border {
    border: 5px solid #ffffff;
}

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

.title-video {
    display: block;
    text-align: center;
    margin-bottom: 25px;
}

.title-gallery {
    display: block;
    font-size: 0.75rem;
    text-align: center;
    margin-bottom: 25px;
}

#year-navigation {
    list-style-type: none;
    padding: 0;
    margin: -5px 0 0 0;
}

#year-navigation a {
    display: block;
	font-family: 'Londrina Solid', arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
	line-height: 1;
    color: #ffffff;
    margin: 5px 5px 0 0;
    padding: 10px 8px;
    background-color: #050607;
    border: 4px solid #050607;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-transition: background-color 0.5s ease-out;
    -moz-transition: background-color 0.5s ease-out;
    -o-transition: background-color 0.5s ease-out;
    transition: background-color 0.5s ease-out;
    /* Css3 radius */
    -webkit-border-top-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-bottomright: 10px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#year-navigation a:hover, #year-navigation a:active, #year-navigation a:focus {
    background-color: #8cc800;
    color: #050607;
}

#year-navigation li.selected a {
    background-color: #8cc800;
    color: #050607;
}

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

.editor-title-1 {
    display: inline-block;
    position: relative;
    width: auto;
    min-height: 50px;
    font-family: 'Londrina Solid', arial, sans-serif;
    font-size: 3.6rem;
    line-height: 1;
    margin: 0;
    padding: 0 0 0 62px;
    color: #050607;
}

.editor-title-1-rectangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-color: #8cc800;
    -webkit-border-top-left-radius: 12px;
    -webkit-border-bottom-right-radius: 12px;
    -moz-border-radius-topleft: 12px;
    -moz-border-radius-bottomright: 12px;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.editor-title-2 {
    display: inline-block;
    position: relative;
    width: auto;
    min-height: 42px;
    font-family: 'Londrina Solid', arial, sans-serif;
    font-size: 3rem;
    line-height: 1;
    margin: 0;
    padding: 0 0 0 54px;
    color: #050607;
}

.editor-title-2-rectangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    background-color: #8cc800;
    -webkit-border-top-left-radius: 12px;
    -webkit-border-bottom-right-radius: 12px;
    -moz-border-radius-topleft: 12px;
    -moz-border-radius-bottomright: 12px;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.editor-title-3 {
    display: inline-block;
    position: relative;
    width: auto;
    min-height: 34px;
    font-family: 'Londrina Solid', arial, sans-serif;
    font-size: 2.4rem;
    line-height: 1;
    margin: 0;
    padding: 0 0 0 46px;
    color: #050607;
}

.editor-title-3-rectangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    background-color: #8cc800;
    -webkit-border-top-left-radius: 12px;
    -webkit-border-bottom-right-radius: 12px;
    -moz-border-radius-topleft: 12px;
    -moz-border-radius-bottomright: 12px;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

a.editor-document {
    display: inline-block;
    min-height: 32px;
	font-family: 'Londrina Solid', arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
	line-height: 2rem;;
    color: #050607;
    text-align: left;
    text-decoration: none;
    margin: 0 18px 0 0;
    padding: 0 0 0 42px;
    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: #888888;
}

a.editor-video {
    display: inline-block;
    min-height: 32px;
	font-family: 'Londrina Solid', arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
	line-height: 2rem;;
    color: #050607;
    text-align: left;
    text-decoration: none;
    margin: 0 18px 0 0;
    padding: 0 0 0 42px;
    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: #888888;
}

/**************************************************/
/* Moduli form                                    */
/**************************************************/

.form-standard input[type=text] {
	display: block;
	width: 100%;
    height: auto;
	background-color: #ffffff;
	font-family: 'Londrina Solid', arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
	line-height: 1;
    color: #050607;
    margin-top: 25px;
    padding: 6px;
	border: none;
}

.form-standard input:first-child {
    margin-top: 0;
}

input.form-submit {
    display: block;
	width: 100%;
    height: 97px;
	background-color: #050607;
	font-family: 'Londrina Solid', arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
	line-height: 1;
    color: #8cc800;
    margin-top: 25px;
    padding: 6px;
	text-align: center;
    text-decoration: none;
	border: none;
	cursor: pointer;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

input.form-submit.dark {
    background-color: #8cc800;
    color: #050607;
}

input.form-submit:hover, input.form-submit:focus {
    color: #ffffff;
}

input.form-submit:focus {
    outline: 0;
}

.checkbox-container {
    margin-top: 25px;
}

.checkbox-container span {
	font-family: 'Londrina Solid', arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
	line-height: 1;
    margin-left: 10px;
}

.checkbox-container span a {
    text-decoration: underline;
    color: #050607;
}

.checkbox-container span a:hover, .checkbox-container span a:active, .checkbox-container span a:focus {
    text-decoration: none;
    color: #3d3e40;
}

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

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

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

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

#footer-page {
    width: 100%;
    height: auto;
    color: #1a1a1a;
    background-color: #8cc800;
    border-bottom: 20px solid #050607;
}

#logo-wbike-footer {
    display: block;
    width: 240px;
    height: 240px;
}

#footer-separator {
    display: block;
    position: absolute;
    width: 12px;
    height: 240px;
    top: 0;
    right: -13px;
}

.footer-title {
    display: block;
    font-family: 'Raleway', arial, sans-serif;
    font-weight: 800;
    font-size: 3.25rem;
	line-height: 1;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.footer-text {
    display: block;
    font-family: 'Raleway', arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
	line-height: 1.5;
    color: #1a1a1a;
}

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

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

#footer-line {
    width: 100%;
    height: 6px;
    margin: 10px 0 18px 0;
    background: transparent url(../img/footer-dot.png) repeat-x;
}

#sub-footer-social {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#sub-footer-social img {
    display: block;
    margin: 0 8px 0 0;
}

#footer-credits {
    position: relative;
    width: 100%;
    height: 42px;
}

#text-reserved {
    position: absolute;
    overflow: hidden;
    width: auto;
    height: 21px;
    top: 21px;
    right: 153px;
    font-family: 'Raleway', arial, sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
	line-height: 21px;
    text-align: right;
    color: #ffffff;
}

#privacy-policy {
    position: absolute;
    overflow: hidden;
    width: auto;
    height: 21px;
    top: 21px;
    right: 36px;
}

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


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

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

/* MENU RESPONSIVE */
@media only screen and (max-width: 991px) {
    #nav-link {
        display: none;
    }

    #footer-separator {
        display: none;
    }
}

/* EXTRA SMALL - XS */
@media (max-width: 479px) {
    #logo-wbike {
        width: 120px;
        height: 120px;
        margin: 20px auto;
    }

    #header-home #logo-wbike {
        margin-bottom: 170px;
    }

    #logo-wbike-footer {
        width: 120px;
        height: 120px;
    }
}

/* SMALL - S */
@media (min-width: 480px) and (max-width: 767px) {
    #logo-wbike {
        width: 160px;
        height: 160px;
        margin: 30px auto;
    }

    #header-home #logo-wbike {
        margin-bottom: 220px;
    }

    #logo-wbike-footer {
        width: 160px;
        height: 160px;
    }
}

/* MEDIUM - M */
@media (min-width: 768px) and (max-width: 991px) {
    #logo-wbike {
        width: 200px;
        height: 200px;
        margin: 40px auto;
    }

    #header-home #logo-wbike {
        margin-bottom: 270px;
    }

    #logo-wbike-footer {
        width: 200px;
        height: 200px;
    }
}

/* LARGE - L */
@media (min-width: 992px) and (max-width: 1199px) {
    #logo-wbike {
        width: 200px;
        height: 200px;
    }

    #header-home #logo-wbike {
        margin-bottom: 270px;
    }

    #logo-wbike-footer {
        width: 160px;
        height: 160px;
    }

    #footer-separator {
        right: -8px;
    }
}

/* EXTRA LARGE - XL */
@media (min-width: 1200px) and (max-width: 1439px) {
    #logo-wbike-footer {
        width: 200px;
        height: 200px;
    }
}

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

}
