/*!
Theme Name: 	USW
Theme URI: 		https://old.utrechtscienceweek.nl/
Description: 	Wordpress theme for USW
Version: 		1.1.0
Author: 		JT Creative Development
Author URI: 	https://www.jtdevelopment.nl
Tags: 			usw, usp, utrecht
*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;800&display=swap');
@font-face {
    font-family: "PreciousSansBook";
    src:url('/fonts/PreciousSans-Book.eot');
    src:url('/fonts/PreciousSans-Book.eot') format('embedded-opentype'),
    url('/fonts/PreciousSans-Book.woff2') format('woff2'),
    url('/fonts/PreciousSans-Book.woff') format('woff'),
    url('/fonts/PreciousSans-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "PreciousSansBold";
    src:url('/fonts/PreciousSans-Bold.eot');
    src:url('/fonts/PreciousSans-Bold.eot') format('embedded-opentype'),
    url('/fonts/PreciousSans-Bold.woff2') format('woff2'),
    url('/fonts/PreciousSans-Bold.woff') format('woff'),
    url('/fonts/PreciousSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
html{
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}
body{
    font-family: "Open Sans" !important;
    color: #292929;
    overflow-x: hidden !important;
}
.USW-grey {
    color: #5D5C5C !important;
}
.PreciousSansBook{
    text-transform: uppercase;
    font-family: "PreciousSansBook" !important;
}
.PreciousSansBold{
    text-transform: uppercase;
    font-family: "PreciousSansBold" !important;
}
.header_bg {
     background-size: cover;
     background-repeat: no-repeat;
     min-height: 30vh;
     background-position: center;
}
.rainbow_overlay {
    background-size: 50% 100%;
    background-position: 0px 0px;
    background-repeat: no-repeat;
    min-height: 30vh;
}
.navbar-brand .header-logo{
    max-height: 100px !important;
}

.container-footer{
    background-color: #EAE8E8;
}
.footer-address{
    font-size: .8rem;
}
.footer-USP-logo{
    max-height: 15px !important;
    margin:0;
    padding: 0;
    vertical-align: middle;
}
a{
    color: #5D5C5C !important;
    text-decoration: none;
}
a:hover{
    text-decoration: none;
    color: black !important;
}
.page_content a{
    text-decoration: underline;
}
footer a{
    font-weight: bold !important;
}
.link_usp{
    text-decoration: none !important;
    font-weight: normal !important;
}
.link_usp:hover{
    text-decoration: none !important;
    font-weight: normal !important;
}
.link-no-underline{
    text-decoration: none !important;
}
.link-no-underline:hover{
    text-decoration: none !important;
}
#primaryNav .wpml-ls-current-language{
    opacity: .4;
}
#primaryNav #rainbow_bar{
    max-width: 40%;
    margin-right: 60px;
}
li.current-menu-item,
li.current_page_parent{
    font-weight: bold;
}
.back_button{
    position: relative;
    display: inline-block;
    margin-left: -40px;
    margin-bottom: -40px;
    font-size:4rem;
    width: 60px;
}
.date_title{
    font-size:3rem;
    font-family: PreciousSansBold;
}
.date_title_smaller{
    font-size:2.4rem;
    font-family: PreciousSansBold;
}
.location_title{
    font-size:2rem;
    font-family: PreciousSansBold;
}
.holder_date_title{
    font-size:3.2rem;
    color: #b62d59;
    line-height: 2.8rem;
    text-transform: uppercase;
    font-family: PreciousSansBold;
    padding: 2rem;
}
h1,h2,h3,h4,h5,h6{
    font-family: "Open Sans",Arial,Verdana;
    font-weight: bold;
}
h1{ font-size: 1.5rem; }
h2{ font-size: 1.4rem; }
h3{ font-size: 1.3rem; }
h4{ font-size: 1.2rem; }
h5{ font-size: 1.1rem; }
h6{ font-size: 1.0rem; }

.speaker_img_holder{
    overflow: hidden;
}
.speaker_card_img,
.speaker_carousel_img,
.img_speaker_bubble{
    min-height: 230px !important;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 1s;
}
.card.speaker_card:hover .speaker_card_img,
.speaker_carousel_img:hover,
.img_speaker_bubble:hover{
    transform: scale(1.2);
}
.speaker_carousel_img{
    min-height: 360px !important;
}
.img_speaker_bubble{
    width: 60px !important;
    height: 60px !important;
    min-height: inherit !important;
    border-radius: 50%;
}

.carousel-caption {
    position: absolute;
    right: 10%;
    bottom: 0;
    left: 10%;
    padding: 1rem;
    color: #fff;
    text-align: center;
    background-color: rgba(0,0,0,.53);
}

/* CLOCK */
.flip-clock-label{
    display: none;
}
div .clock-container{
    position: relative;
}
.clock-container {
    left: calc(50% - 315px);
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -moz-transform: scale(0.5);
    transform: scale(0.5);

    -ms-transform-origin: center;
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    transform-origin: center;
    width: 620px;
}
.clock-container .clock{
    width: 620px;
}

.speaker_card .card-title{
    position: absolute;
    z-index: 9999;
    margin-top: -2.8rem;
    text-shadow: 1px 1px rgba(0,0,0,.4);
}

.btn-USW-orange{
    background-color: #fa9e3e;
    border-color: #fa9e3e;
}
.btn-USW-orange:hover{
    color: #ffffff;
    background-color: #feb649;
    border-color: #feb649;
}
/* forms */
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #82af10;
    color: #ffffff;
    border-color: #82af10;
    border-radius: .4rem;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0 1em;
}
@media only screen and (min-width: 992px) {
    #primaryNav .wpml-ls-first-item {
        position: absolute;
        right: 26px;
    }
    #primaryNav .wpml-ls-last-item {
        position: absolute;
        right: 0;
    }
}
@media only screen and (max-width: 992px) {
    #primaryNav #rainbow_bar{
        max-width: 100%;
        margin-right: inherit;
    }

    #primaryNav .wpml-ls-first-item {
        position: absolute;
        bottom: 0;
        right: 56px;
        margin-bottom: 16px;
    }
    #primaryNav .wpml-ls-last-item {
        position: absolute;
        bottom: 0;
        right: 26px;
        margin-bottom: 16px;
    }

    .speaker_card_img{
        min-height: 170px !important;
    }

    .date_title_smaller{
        font-size:1.8rem;
        font-family: PreciousSansBold;
    }

    .holder_date_title {
        font-size: 2.2rem;
    }
}

@media only screen and (max-width: 600px) {

    .holder_date_title {
        font-size: 1.6rem !important;
        padding: .5rem !important;
        line-height: 1.8rem !important;
    }

    .modal .modal-body p {
        text-align: left!important;
    }
}

#twitter-widget-0xx {
    zoom: 0.95;
    -moz-transform: scale(0.95);
    -moz-transform-origin: 0 0;
    -o-transform: scale(0.95);
    -o-transform-origin: 0 0;
    -webkit-transform: scale(0.95);
    -webkit-transform-origin: 0 0;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    #twitter-widget-0xx {
        zoom: 1;
    }
}