/*
Theme Name: 
Theme URI: 
Description: 
Author: B42 srls 
Author URI: https://www.b42.it
Version: 0.1
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400|Teko:400,700&display=swap&subset=latin-ext');

#preload {background: #656565;}
#preload .preload {display: block;}
#preload .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -15px 0 0 -15px;
}

/* header */
.logo {
    display: block;
    padding: 10px 0 0 0;
}
.logo:hover {text-decoration: none;}
.logo span {
    display: block;
    font-family: "Teko", sans-serif;
    font-size: 50px;
    line-height: 50px;
}
.navbar-collapse.in {overflow-y: initial;}

/* slider */
.tp-caption {
    width: 40vw;
    left: auto !important;
    right: 200px !important;
    text-align: left;
    white-space: normal !important;
}

/* program */
.small_description {color: #262626;}
.about-speaker {
    margin-bottom: 25px;
    display: block;
}

/* register or newsletter form */
.custom_form {
    background: #fac42b;
    padding: 20px;
    margin-top: 20px;
    color: #444444;
}
.custom_form input,
.custom_form select {margin-bottom: 0px;}
.controls {position: relative;}
.control-group {margin-bottom: 20px;}
.custom_form a {
    color: #262626;
    text-decoration: underline;
}

/* checkbox */
input[type="checkbox"] {
    height: 25px;
    width: 25px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
    opacity: 0;
    z-index: 100;
}
.custom_checkbox {
    height: 25px;
    width: 25px;
    display: inline-block;
    border: 1px solid #999999;
    background-color: #ffffff;
    margin-right: .5em;
    vertical-align: bottom;
    position: relative;
}
input[type="checkbox"]:checked+.custom_checkbox:after {
    content: '\2713';
    width: 25px;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 25px;
    font-family: 18px;
    text-align: center;
}
label.error {
    font-weight: 400;
    color: #ffffff;
    font-size: 12px;
}


/* VENUE */
#venue {padding-bottom: 0;}
#venue .venue {
    height: auto;
	background-image: none;
    margin-bottom: 0;
}
#venue .venue .venue-inner {padding: 70px 0;}

/* footer */
.faqs a {color: #fac42b;}

/* response */
.modal_response {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(38,38,38,0.7);
    z-index: 1000;
    display: none;

}
.modal_response .modal_container {
    height: auto;
    width: 50%;
    background-color: #ffffff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
}
.modal_response .response {
    font-size: 16px;
    margin: 20px 0;
}
#close_modal {display: none;}

/* privacy page */
.privacy-policy #nav-primary {
    position: fixed;
    top: 0px;
    background: #262626;
}
#privacy_policy_section {background-color: #f5f5f5;}

/* video_modal */
#modal_video {background-color: rgba(255, 255, 255, 0.8);}
#modal_video .modal-dialog {width: 83.33333333%;}
#modal_video .modal-content {
    border:0;
    border-radius:0;
}
#modal_video .btn.close_video {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #262626;
    text-align: center;
    color: #ffffff;
    font-size: 28px;
    opacity: 0.65;
    padding: 0;
    border-radius: 0;
}
#modal_video .btn.close_video:hover {color: #ffffff;}

@media all and (max-width: 752px) {
    /* program */
    #program .date {margin-bottom: 7px;}
    /* venue */
    #venue .col-address {margin-top: 20px;}
}
@media all and (max-width: 1023px) {
    /* slider */
    .tp-caption {
        width: calc(100% - 140px);
        right: auto !important;
        left: 70px !important;
    }
}

@media all and (min-width: 753px) {
    /* speakers */
    .speaker figure {float: none;}
    .speaker .caption {padding-top: 0;}
    .speaker h4 {min-height: 48px;}
    .speaker .company {min-height: 69px;}
}
