:root{
    --highlight-color: rgba(255,207,0, 1);
    
}


html{margin: 0; padding: 0;}
body{
    padding: 0; margin: 0;
    font-family: 'Titillium Web',Helvetica, Arial, sans-serif; 
    background: #303030;
    color: #F1F1F1;
    
}

.fullpadding10{padding: 10px;}
.fullpadding20{padding: 20px;}
.fullpadding30{padding: 30px;}
.fullpadding40{padding: 40px;}
.fullpadding50{padding: 50px;}
.fullpadding60{padding: 60px;}
.fullpadding70{padding: 70px;}
.fullpadding80{padding: 80px;}
.fullpadding90{padding: 90px;}
.fullpadding100{padding: 100px;}
.fullpadding110{padding: 110px;}
.fullpadding120{padding: 120px;}

.thumb20{width: 20px; height: 20px;}
.thumb30{width: 30px; height: 30px;}
.thumb40{width: 40px; height: 40px;}
.thumb50{width: 50px; height: 50px;}
.thumb60{width: 60px; height: 60px;}
.thumb.member{background: #DDD url(images/buttons/icon-user-grey.svg) no-repeat; background-size: cover!important; background-position: center center!important;}

.indent20{padding-left: 20px!important; position: relative!important;}
.indent30{padding-left: 30px!important; position: relative!important;}
.indent40{padding-left: 40px!important; position: relative!important;}
.indent50{padding-left: 50px!important; position: relative!important;}
.indent50{padding-left: 50px!important; position: relative!important;}
.indent60{padding-left: 60px!important; position: relative!important;}
.indent70{padding-left: 70px!important; position: relative!important;}
.indent80{padding-left: 80px!important; position: relative!important;}
.indent90{padding-left: 90px!important; position: relative!important;}
.indent100{padding-left: 100px!important; position: relative!important;}
.indent110{padding-left: 110px!important; position: relative!important;}
.indent120{padding-left: 120px!important; position: relative!important;}

.paddingtop10{padding-top: 10px!important;}
.paddingtop20{padding-top: 20px!important;}
.paddingtop30{padding-top: 30px!important;}
.paddingtop40{padding-top: 40px!important;}
.paddingtop50{padding-top: 50px!important;}
.paddingtop60{padding-top: 60px!important;}
.paddingtop70{padding-top: 70px!important;}
.paddingtop80{padding-top: 80px!important;}
.paddingtop90{padding-top: 90px!important;}
.paddingtop100{padding-top: 100px!important;}
.paddingtop110{padding-top: 110px!important;}
.paddingtop120{padding-top: 120px!important;}

.paddingbottom10{padding-bottom: 10px!important;}
.paddingbottom20{padding-bottom: 20px!important;}
.paddingbottom30{padding-bottom: 30px!important;}
.paddingbottom40{padding-bottom: 40px!important;}
.paddingbottom50{padding-bottom: 50px!important;}
.paddingbottom60{padding-bottom: 60px!important;}
.paddingbottom70{padding-bottom: 70px!important;}
.paddingbottom80{padding-bottom: 80px!important;}
.paddingbottom90{padding-bottom: 90px!important;}
.paddingbottom100{padding-bottom: 100px!important;}
.paddingbottom120{padding-bottom: 110px!important;}
.paddingbottom120{padding-bottom: 120px!important;}

.aligncenter{text-align: center;}

#page_wrapper{
    display: block;
    position: relative;
    padding-top: 100px; 
    min-height: calc(100vh - 400px);

}

#page_wrapper.head_padding{
    padding-top: 0; 
}

.webwrapper{
    display: block;
    position: relative;
    width: calc(1400px);
    margin: 0 auto;
}

.webwrapper p{line-height: 1.8em;}

.narrow_webwrapper{width: 480px; margin-left: auto; margin-right: auto;}

@media(max-width: 540px){
    .narrow_webwrapper{width: calc(100% - 80px);}
}

.webwrapper.wide{width: calc(100% - 80px);}
h1,h2,h3,h4,h5{
    font-family: 'Titillium Web',Helvetica, Arial, sans-serif; font-weight: 400;
    text-transform: uppercase;
    
}
h1,h2,h3,h4,h5, p{padding: 0; margin: 0; line-height: 1em;}

.button.yellow_button{
    position: relative;
    transition-duration: 0.25s;
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 10px;
    text-transform: uppercase;
    margin: 0 25px 0 0px;
}

.button.yellow_button:hover{
    color: #151515;
}

.button.yellow_button::after{
    content: "";
    position: absolute;
    top: -5px;
    left: -10px;
    width: calc(100% + 18px);
    height: calc(100% + 8px);
    border: 1px solid var(--highlight-color);
    transition-duration:  0.25s;
    z-index: -1;
}



.button.yellow_button::before{
    content: "";
    position: absolute;
    top: -4px;
    left: -10px;
    height: calc(100% + 8px);
    width: 1px;
    background: var(--highlight-color);
    transition: width 0.25s;
    z-index: -1;
}

.button.yellow_button:hover::before{
    width: calc(100% + 20px);
}

.slider_wrapper{
    position: relative;
    width: 100%; height: 100%;
    overflow: hidden;
    
}

.slider_wrapper .slider_content{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-right: 20px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

body #masthead{
    position: fixed;
    top: 0; left: 0; 
    width: 100%; height: 100px;
    z-index: 5;
    
}

#masthead .head_background{
    position: absolute; 
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #222222;
    opacity: 1;
}
.transparent_head #masthead .head_background{opacity: 0; transition: opacity 0.5s;}
.transparent_head.show_header #masthead .head_background{opacity: 1;}


#masthead .header_wrapper{
    display: grid;
    grid-gap: 1em;
    margin: 5px 0;
    grid-template-columns: 220px 1fr;
}

body #masthead .header_wrapper a#brand_logo{
    width: 180px; height: 180px;
    background: url(images/brand/uturn-logo-white-yellow-no-border.png) no-repeat;
    background-size: contain;
    background-position: center left;
    transform: translateY(-15px);
    display: block;
    transition-duration: 0.25s;
}

body.show_header #masthead .header_wrapper a#brand_logo{
    transform: translateY(-50px);
}

body #masthead .header_wrapper a#brand_logo::before{
    content: "";
    width: 110px; height: 110px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    border: 2px solid var(--highlight-color);
    border-radius: 15px;
    opacity: 1;
    transition-duration: 0.25s;
}

body.show_header #masthead .header_wrapper a#brand_logo::before{
    opacity: 0;
}

body.wp_logged_in #masthead{padding-top: 32px;}

#masthead .header_wrapper .nav{
    text-align: right;
    position: relative;
}

#masthead .header_wrapper .nav .languagebox{
    position: absolute;
    top: 27px; right: 0;
    color: var(--highlight-color);
}


#masthead .header_wrapper .nav .languagebox p a{
    color: var(--highlight-color);
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
}

#masthead .header_wrapper .nav ul.menu{
    display: block;
    padding: 0; margin: 22px 0;
    text-indent: 0;
}

#masthead .header_wrapper .nav ul.menu li{
    padding: 0; list-style: none; display: inline-block;
    margin-left: 10px;
    position: relative;
}

#masthead .header_wrapper .nav ul.menu li a{
    position: relative;
    display: block; padding: 10px;
    text-decoration: none;
    color: #CCC;
    text-transform: uppercase;
    font-size: 14px;
}

#masthead .header_wrapper .nav ul.menu li.yellow_button a{
    position: relative;
    transition-duration: 0.25s;
}

#masthead .header_wrapper .nav ul.menu li a::before{
    content: "";
    position: absolute;
    bottom: 8px; left: 10px;
    width: 0%;
    border-top: 1px solid var(--highlight-color);
    transition-duration:  0.25s;
}



#masthead .header_wrapper .nav ul.menu li:hover a::before, #masthead .header_wrapper .nav ul.menu li.current-menu-item a::before{
    width: calc(100% - 20px);
}

#masthead .header_wrapper .nav ul.menu li.yellow_button:hover a{
    color: #151515;
}

#masthead .header_wrapper .nav ul.menu li.yellow_button a::before{
    content: "";
    position: absolute;
    top: -5px; left: -10px;
    width: calc(100% + 18px);
    height: calc(100% + 8px);
    border: 1px solid var(--highlight-color);
}

#masthead .header_wrapper .nav ul.menu li.yellow_button::before{
    content: "";
    position: absolute;
    top: -4px; left: -10px;
    height: calc(100% + 8px);
    width: 1px;
    background: var(--highlight-color);
    transition: width 0.25s;
}

#masthead .header_wrapper .nav ul.menu li.yellow_button:hover::before{
    width: calc(100% + 20px);
}

body #masthead .mobile_nav{
    position: fixed;
    top: 0; right: -301px;
    width: 300px;
    height: 100vh;
    background: rgba(25,25,25,0.8);
    display: none;
    transition: right 0.25s;
}

body #masthead .mobile_nav .languagebox{position: relative; display: block; padding: 40px 0; margin: 0 60px;}

body #masthead .mobile_nav .languagebox a{text-decoration: none; color: var(--highlight-color); text-transform: uppercase;}

body.show_menu #masthead .mobile_nav{
    right: 0;
}

#masthead .mobile_nav .logo{
    display: block;
    width: 140px; height: 100px;
    margin: 80px auto 40px auto;
    background: url(images/brand/uturn-logo-white-yellow.png) no-repeat;
    background-size: contain;
    background-position: center;
}

#masthead .mobile_nav ul{
    width: calc(100% - 60px);
    margin: 0 auto;
    padding: 0;
    text-indent: 0;
    
}

#masthead .mobile_nav ul li{
    list-style: none;
    padding-left: 30px;
    position: relative;
}

#masthead .mobile_nav ul li::before{
    content: "";
    position: absolute;
    left: 0px;
    top: 20px;
    width: 0; 
    border-top: 1px solid var(--highlight-color);
    transition-duration: 0.25s;
}

#masthead .mobile_nav ul li:hover::before, #masthead .mobile_nav ul li.current-menu-item::before{
    width: 20px;
}

#masthead .mobile_nav ul li a{
    display: block;
    padding: 10px 0;
    text-align: left;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
}

.vimeo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
 }
 .vimeo-wrapper iframe {
    width: 100vw;
    height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 100vh;
    min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
 }

 .deck{
     display: block;
     z-index: 2;
     position: relative;
 }

 .deck_padding{
    padding: 180px 0;
}

.yellow_deck{
    background: var(--highlight-color);
    color: #151515;
}

.dark_grey_deck{
    background: #333;
    color: #FFF;
}

.grey_deck{
    background: #999999;
    color: #151515;
}

.deck h1{
    font-size: 48px;
    font-weight: 400;
    position: relative;
    margin: 0 auto;
    display: block;
    text-align: left;
    margin-bottom: 0.5em;
}

.deck h1::before{
    content: "";
    position: absolute;
    top: -30px;
    width: 100px; height: 2px;
    background: var(--highlight-color);

}

.deck.dark h1::before{background: var(--highlight-color);}

.deck.white{background: white; color: #151515;}

 body .toggle_mobile_nav{
     position: absolute;
     top: 30px; right: 40px;
     width: 40px; height: 40px;
     display: none;
     
 }

 body.wp_logged_in .toggle_mobile_nav{
     top: 60px;
     
 }

 body .toggle_mobile_nav .bar{
     width: 40px; height: 2px;
     background: white;
     position: absolute;
     top: 50%; left: 50%;

 }

 body .toggle_mobile_nav .bar:nth-child(1){transform: translateY(-12px) translateX(-50%); transition-duration: 0.25s;}
 body .toggle_mobile_nav .bar:nth-child(2){transform: translateY(-1px) translateX(-50%); transition-duration: 0.25s;}
 body .toggle_mobile_nav .bar:nth-child(3){transform: translateY(11px) translateX(-50%); transition-duration: 0.25s;}

 body.show_menu .toggle_mobile_nav .bar:nth-child(1){transform: translateY(-1px) translateX(-50%) rotate(45deg);}
 body.show_menu .toggle_mobile_nav .bar:nth-child(2){transform: translateY(-1px) translateX(-50%) rotate(-45deg);}
 body.show_menu .toggle_mobile_nav .bar:nth-child(3){transform: translateY(-1px) translateX(-50%) rotate(-45deg);}

 #footer{
     background: #151515;
     color: white;
 }

#footer.footerpadding{padding: 120px 0 240px 0;}

 #footer .grid{
     display: grid;
     grid-template-columns: 1fr 1fr 1fr 3fr 1fr;
 }

 #footer .logo{
     position: relative;
     display: block;
     width: 150px; height: 150px;
     background: url(images/brand/uturn-logo-white-yellow.png) no-repeat;
     background-size: contain;
     background-position: center;
 }

 #footer ul{
     padding: 0; margin: 0;
     text-indent: 0;

 }

 #footer ul li{
     list-style: none; 
     margin: 0; padding: 0;

 }

 #footer ul li a{color: #FFF; font-size: 13px; padding: 0 0 25px 0; text-decoration: none; position: relative; display: inline-block;}

 #footer ul li a::after{
     content: "";
     position: absolute;
     bottom: 22px; left: 0;
     width: 15px; 
     border-top: 1px solid rgba(255,255,255,0.4);
     transition-duration: 0.25s;
 }

 #footer ul li:hover a::after{
    width: 100%;
    border-top: 1px solid var(--highlight-color);
 }

 .socialbar{
     position: relative;
     display: block;
     text-align: right;
 }

 .socialbar a.social{
     width: 40px; height: 40px;
     background: #333;
     border-radius: 50%;
     display: inline-block; margin: 0 10px 0 0;
 }

 .socialbar a.social.facebook{
     background: #333 url(images/buttons/button-facebook-white.svg) no-repeat;
     background-size: 60%;
     background-position: center;
 }

 .socialbar a.social.twitter{
    background: #333 url(images/buttons/button-twitter-white.svg) no-repeat;
    background-size: 60%;
    background-position: center;
}

.socialbar a.social.pinterest{
    background: #333 url(images/buttons/button-pinterest-white.svg) no-repeat;
    background-size: 60%;
    background-position: center;
}

.socialbar a.social.instagram{
    background: #333 url(images/buttons/button-instagram-white.svg) no-repeat;
    background-size: 60%;
    background-position: center;
}

.socialbar a.social.youtube{
    background: #333 url(images/buttons/button-youtube-white.svg) no-repeat;
    background-size: 60%;
    background-position: center;
}

.socialbar a.social.linkedin{
    background: #333 url(images/buttons/button-linkedin-white.svg) no-repeat;
    background-size: 40%;
    background-position: center;
}


@media(max-width: 1480px){
    .webwrapper{
        width: calc(100% - 80px);
    }
}

@media(max-width: 1024px){
    #masthead .header_wrapper .nav ul.menu {display: none;}
    body{overflow-x: hidden;}
    
    body #masthead .mobile_nav{display: block;}
    body .toggle_mobile_nav{display: block;}
    #masthead .header_wrapper .nav .languagebox{display: none;}

    body #masthead .mobile_nav .languagebox{display: block;}
    body #masthead .mobile_nav .languagebox a{color: val(--highlight-color);}
}

@media(max-width: 900px){
    #footer .grid{
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 2em;
    }

    .socialbar{text-align: left;}

    #footer .grid div:nth-child(4){
        grid-column: 1/4;
        grid-row: 2/3;
    }
    .deck h1{font-size: 36px;}
    
}

@media(max-width: 784px){
    body.wp_logged_in #masthead{padding-top: 46px;}
    #footer.footerpadding{padding: 80px 0;}
    
}

@media(max-width: 540px){
    #footer .grid{
        grid-template-columns: 1fr 1fr;
        grid-gap: 2em;
    }

    #footer .grid div:nth-child(1){
        grid-column: 1/3;
        grid-row: 1/2;
    }

    #footer .grid div:nth-child(4){
        grid-column: 1/3;
        grid-row: 3/4;
    }

    .deck h1{font-size: 24px;}
}


/*-------------------------------- CLEARFIX -------------------------------- */

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
    }
.clearfix { /*display: inline-block;*/ }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix {  }
/* close commented backslash hack */



/*-------------------------------- FORMS -------------------------------------*/

.gform_body{
    display: block;
    width: 800px;

}

.gform_body ul{padding: 20px 0; margin: 0;}
.gform_body ul:after{
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.gform_body ul li{
    list-style: none;
    padding: 0 0 20px 0; margin: 0;
}

.gform_body ul li.paddingbottom{margin-bottom: 40px;}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]){
    width: calc(100% - 44px)!important;
    padding: 10px!important; 
    border: 0 none;
    border-bottom: 2px solid var(--highlight-color); background: #333;
    color: #FFF;
    font-size: 14px;
}

.gform_wrapper textarea.medium{
    width: calc(100% - 44px)!important;
    padding: 10px!important; 
    border: 0 none;
    border-bottom: 2px solid var(--highlight-color); background: #333;
    color: #FFF;
    font-size: 14px;
    
    
}

.gform_wrapper select{
	padding: 10px; width: calc(100% - 40px); 
    background: #FFF; font-size: 14px; border: 0px none; border-bottom: 2px solid #3f75e0; background: white; font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif; color: #151515; font-weight: 400; transition: all 0.25s; border-radius: 0; -webkit-appearance:none; resize: none;}
.form .formfield select{width: calc(100% - 40px);
}

.gform_wrapper.gf_browser_chrome ul.gform_fields li.gfield select{width: calc(100% - 40px); padding: 10px;}

.gform_wrapper textarea{resize: none;}

.gfield{
    width: calc(100%);
    float: left;
}

.gfield.half{width: calc(50%);}

.gform_wrapper .top_label .gfield_label{font-size: 14px; font-weight: 400; padding: 15px 0 0 0; display: block; color: white;}

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type=submit]{
    cursor: pointer;
    padding: 10px 20px; color: #FFF; border: 0 none;  background: #151515; display: inline-block; text-decoration: none; text-transform: uppercase; font-size: 14px; background: none;
   color: #151515; text-transform: uppercase; font-weight: 300;
}




.gform_wrapper .gform_footer input.button:hover, .gform_wrapper .gform_footer input[type=submit]:hover, .gform_wrapper .gform_page_footer input.button:hover, .gform_wrapper .gform_page_footer input[type=submit]:hover{
    background: #151515; color: white;
}

.gform_wrapper .gform_footer input[type=submit]{border: 1px solid var(--highlight-color); background: none; color: white; padding: 15px 30px; -webkit-appearance: none;}
.gform_wrapper .gform_footer input[type=submit]:hover{background: none; color: var(--highlight-color);}

body.open #masthead .menu_toggle{
    left: -250px; 
    z-index: 10;
}

body #masthead .full_menu{
    padding-right: 60px;
}

@media(max-width: 840px){
    .gform_body{
        display: block;
        width: calc(100% + 20px);
    
    }
}

@media(max-width: 640px){
    .gfield.half{width: calc(100%);}
}


.gform_wrapper ul.gform_fields li.gfield{padding-right: initial!important;}
.gform_wrapper ul.gform_fields li.gfield.paddingbottom{padding-bottom: 40px!important;}
.gform_wrapper ul li.gfield{clear: initial!important;}


/*---------------------- MODAL -------------------------- */

#fs_modal_mask{background: rgba(0,0,0,0.5); position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: none; z-index: 6;}

#fs_modal{
	position: fixed;
	top: 20px; left: 20px; 
	width: calc(100% - 40px); height: calc(100% - 40px);
	background: #101010;
	transition: all 0.5s;
	border: 1px solid rgba(100,100,100,0.5);
	opacity: 1;
	box-shadow: 0 0 10px #333;
	z-index: 7;
	color: #FFF;
}

#fs_modal form{position: relative;}

#fs_modal .fs_narrow_modal_padding{width: 640px; margin: 40px auto;}


form .processing_mask{position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: none;}
form .processing_mask.light{background: rgba(255,255,255,0.9);}
form .processing_mask .circle{border: 8px solid rgba(225,225,225,0.9); border-left: 8px solid #00FF11; width: 100px; height: 100px; border-radius: 100px; position: absolute; top: calc(50% - 58px); left: calc(50% - 58px);  animation-name: spin;
    animation-duration: 600ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;}

@media(max-width: 640px){
	#fs_modal .fs_narrow_modal_padding{width: calc(100% - 20px); }
}
@media(max-width: 500px){
	#javascript_required p{width: calc(100% - 20px); left: 10px; font-size: 24px;}
	.section_head h1{font-size: 24px;}
	
	
}

#fs_modal .modal_wrapper{position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden;}
#fs_modal .modal_wrapper .dark{ color: white;}
#fs_modal .modal_wrapper .fs_modal_content{position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; padding-right: 20px; overflow-y: scroll; -webkit-overflow-scrolling: touch; }
#fs_modal .modal_wrapper .fs_modal_content.dark{background: #151515; color: #FFF;}
#fs_modal #fs_wrapper_padding{display: block; padding: 0px; height: calc(100%);}
#fs_wrapper_padding #preview_image_wrapper {
    width: 100%;
    height: 100%;
    background: #151515;
    display: block;
}

#fs_modal.closed{
		width: 0%; height: 0%;
		top: 50%; left: 50%;
		opacity: 0;
		transition: all 0.5s;
}

#fs_modal .close_modal{width: 30px; height: 30px; position: absolute; top: 20px; right: 20px; 
    transform: rotate(0deg); transition: transform 0.25s;
    z-index: 10;
    display: block;
}
#fs_modal .close_modal:hover{transform: rotate(90deg); transition: transform 0.25s;}

#fs_modal .close_modal::before{
    content: "";
    width: 30px; height: 0; border-top: 1px solid white;
    position: absolute; top: 15px;
    transform: rotate(45deg);
}

#fs_modal .close_modal::after{
    content: "";
    width: 30px; height: 0; border-top: 1px solid white;
    position: absolute; top: 15px;
    transform: rotate(-45deg);
}

.modal_mini_panel{width: 320px; margin: 200px auto 0 auto; position: relative;}
.modal_mini_panel p{font-size: 14px; }

@media(max-width: 560px){
	.modal_mini_panel{width: calc(100% - 80px); margin: 50px auto 0 auto; }
}

@media(max-height: 800px){
	.modal_mini_panel{margin-top: 50px;}
}

.modal_mini_panel .login_method{position: relative; display: block; display: none; }
.modal_mini_panel .login_method a{width: 120px; height: 120px; margin-right: 10px; margin-bottom: 15px; display: inline-block; position: relative; text-decoration: none; color: white;}

.modal_mini_panel .login_method a.facebook{background: #3B5997; }
.modal_mini_panel .login_method a.facebook .icon{width: 50px; height: 50px; position: absolute; top: calc(50% - 25px); left: calc(50% - 25px); background: url(images/buttons/facebook-white-button.svg) no-repeat; background-size: cover; background-position: center center;}
.modal_mini_panel .login_method a.email .icon{width: 50px; height: 50px; position: absolute; top: calc(50% - 25px); left: calc(50% - 25px); background: url(images/buttons/enveloppe-white-button.svg) no-repeat; background-size: cover; background-position: center center;}

.modal_mini_panel .login_method a.email{background: #999999; display: none;}
.modal_mini_panel .login_method a p{position: absolute; top: 85px; width: 100%; text-align: center; font-size: 0.6em; text-transform: uppercase;}

.modal_mini_panel h1{text-transform: uppercase; letter-spacing: 0.1em;}

.pagination{display: block;}
.pagination .page_block{
    display: block;
    position: relative;
    margin: 20px 0;
}

.pagination .page_block .page{
    display: inline-block; margin: 1px;
    border: 1px solid rgba(255,255,255,0); padding: 3px 10px; font-size: 13px;
}

.pagination .page_block a.page{
    border: 1px solid var(--highlight-color);
    text-decoration: none;
    color: white;
    position: relative;
    transition-duration: 0.25s;
}

.pagination .page_block a.page:hover{
    color: #151515;
}

.pagination .page_block a.page::before{
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    height: calc(100% + 2px);
    width: 1px;
    background: var(--highlight-color);
    opacity: 0;
    transition: width 0.25s;
    z-index: -1;
}

.pagination .page_block a.page:hover::before{
    width: calc(100% + 2px);
    opacity: 1;
}

.text_block_wrapper{
    width: 780px; margin: 0 auto;
    font-size: 18px;
    line-height: 1.8em;
}

.text_block_wrapper p{
    font-size: 18px;
    line-height: 1.8em;
    margin: 0 0 2em 0;
}

@media(max-width: 840px){
    .text_block_wrapper{width: calc(100% - 40px);}
}

.contact_grid a{color: white; text-decoration: none;}

