/* redefine some global CSS tag variables */

.menu {
    float: right !important;
    margin-right: -15px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.menu > li {
    float: left;
    position: relative;
    display: block;
    padding-left: 30px;
}

.menu > li > a {
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    padding-top: 45px;
    padding-bottom: 15px;
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around; 
}

.flex-1 {
    display: flex;
    flex: 1;
}
.menu > li > a:focus {
    color: #585858;
    background-color: transparent;
}

.current-menu-item, .current-menu-parent {
    background: #ffcb09;
}

.calendar .calendar-event {
    background: #fff;
    width: 100%;
    min-height: 320px;
}

.calendar .calendar-event .calendar-event-image{
    height: auto;
}

.calendar-event-image > img {
    height: auto;
    display: inline-block;
    margin: 0 auto;
}

.calendar .calendar-event .calendar-event-summary {
    height: auto;
    padding-bottom: 45px;  
}

.video-image > img {
    height: auto;
}

/* Positioning of video embeds from youtube */
div.montly-event-single-content > p > iframe {
    width: 100%;
}

/* WP should include the float by itself but it doesn't */
img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

.follow-support-icons {
    padding-left: 0 !important;
    padding-top: 0 !important;
}

.follow-support-icons a {
    padding-left: 0px !important;
    margin-left: 19px !important;
    margin-top: 13px !important;
}

.follow-support-icons > a > img {
    height: 48px;
}

/* Main event */

.cover_img {
    border: 2px solid #000000;
    object-fit: cover;
    width: 100%;
    height: 180px;
    object-position: 0 0;
}

.text-box {
    background: white;
    padding: 25px;
    border: 2px solid #000000;
    font-size: 18px;
}

.h-450 {
    height: 450px;
}

/* Image class for object-fit cover */
.img-fit {
    object-fit: cover;
}

/* Add slider image top in order not to cut upper part of the image */
.slider-img-top {
    top: 80px;
}

/* Slider overrides */
.slider.slider-montly-event-single {
    background-size: contain;
    margin-top: 80px;
    height: calc(100vw / 1.77);
    max-height: 800px;
}

/* Add styles to form */
.form-container {
    width: 80%;
    margin: 0 auto;
}

.google-form {
    width: 100%;
    margin: 0 auto;
}

.form-container input[type=text],
.form-container input[type=email],
.form-container textarea {
    width: 100%;
    border: 2px solid black;
    padding: 5px;
    outline: none;
}

.form-container input[type=submit] {
    border: 2px solid black;
    background: black;
    color: white;
    text-transform: uppercase;
    box-shadow: none;
    padding: 5px 10px;
}

.tab-content:after {
    display: none;
}

.relative-container {
    position: relative;
}

.yellow-container {
    position: absolute;
    top: 20px;
    left: 15px;
    right: 15px;
    height: 380px;
    background-color: #FFD300;
}

/* Styles for making youtube iframe responsive */
.youtube-responsive-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.youtube-responsive-container iframe,
.youtube-responsive-container object,
.youtube-responsive-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider .team {
    height: auto;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.center {
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
}

.arrow-icon-left {
    margin-right: 5px;
}

.arrow-icon-right {
    margin-left: 5px;
}

.buy-tickets {
    float: right;
    background-color: #ffcb09;
    color: #000;
}

.btn-language-container {
	position: absolute;
	right: 54px;
	top: -62px;
	transition: all .1s ease;
}

.btn-language-container .btn-black {
	background-color: #ffcb09;
	border-color: #ffcb09;
	border-width: 2px;
	color: black;
}

.btn-language-container .btn-black:hover {
	background-color: black;
	color: white;
}

.borderless td {
    border: none !important;
}

.bg-white {
    background: white;
}

.pd-8 {
    padding-top: 8px;
}

/* Ratio Archive */
.event {
    border: 2px solid #000000;
    min-height: 271px;
    background: #FFF;
    padding: 25px;
    position: relative;
    margin-bottom: 50px;
}

.event-image {
    float: left;
    width: 386px;
    height: 217px;
    overflow: hidden;
    margin-left: -75px;
    border: 2px solid #000000;
    position: relative;
}

.event-image img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.event-summary {
    margin-left: 336px;
}

.event-title {
    margin-top: 0;
    font-size: 20px;
    color: #000;
    font-weight: 800;
}

.event-title:hover {
    color: #000;
}

.event-info {
    position: absolute;
    bottom: -20px;
    right: 25px;
}

.event-text {
    font-size: 14px;
}

.event-next {
    position: absolute;
    top: -350px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 25px;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.event-next a {
    margin-left: 25px;
    color: white;
    display: flex;
    align-items: center;
}

.event-next a:hover {
    color: white;
}

.event-next a i {
    margin-left: 5px;
}

/* Responsive iframe */
.iframe-container {
    overflow: hidden;
    padding-top: 218%;
    position: relative;
}

.iframe-container iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
@media print, screen and (max-width: 1366px) {
    .slider-montly-event-single {
        background-size: auto 100%;
        margin-top: 80px;
        height: calc(100vw / 1.77) !important;
        max-height: 545px;
    }
}

@media screen and (max-width: 991px) {
    .form-container {
        width: 100%;
    }

    .yellow-container {
        display: none;
    }

    .nav-tabs-ratio > li a {
        padding: 8px 12px !important;
    }

    .iframe-container {
        padding-top: 281%;
    }
}

@media (max-width: 768px) {
	.calendar {
		padding-top: 0;
	}
}
@media (max-width: 767px) {
    .event-summary {
        margin-left: 0px;
        margin-top: 25px;
    }

    .event-image {
        float: none;
        display: block;
        margin: 0 auto;
        width: auto;
    }
}

@media (max-width: 480px) {
    .event-next {
        top: -292px;
        left: 0;
    }

    .btn-language-container {
        position: absolute;
        top: -60px;
        right: 54px;
    }
}

@media screen and (min-width: 1123px) and (max-width: 1230px) {
    .navbar-brand img {
        width: 158px;
        height: auto;
    }

    .navbar-nav > li > a {
        padding: 10px 10px;
    }
}

@media screen and (min-width: 991px) and (max-width: 1123px) {
    .navbar-brand img {
        width: 120px;
        height: auto;
    }

    .navbar-nav > li > a {
        padding: 5px;
    }
}

@media screen and (min-width: 1200px) {
    .iframe-container {
        padding-top: 180%;
    }
}

/* Fix for "Ratio presents" event badge */
img.montly-event-type {
    width: 75px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-70 {
    margin-bottom: 70px;
}

.float-left {
    float: left;
}

.section-title {
    font-size: 24px;
    color: #000;
    font-weight: 800;
    margin-bottom: 40px;
    margin-top: 0;
}

.info-buttons {
    display: flex;
    justify-content: flex-end;
    margin-bottom: -44px;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active-accordion-item, .accordion:hover {
    background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
}

.accordion:after {
    font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
    content: "⌄"; /* adjust as needed, taken from bootstrap.css */
    float: right; /* adjust as needed */
    color: grey; /* adjust as needed */
}

.panel .active-accordion-item:after {
    content: "＞";
}

.max-height-500 {
    max-height: 500px;
}

/*  Youtube container styling */
.youtube-container {
    border: 2px #c4302b;
    background: #FFF;
    margin-bottom: 50px;
    min-height: 50px;
    padding: 25px;
    position: relative;
}

.youtube-container-summary {
    margin-left: 36px;
}

.youtube-container-title:hover {
    color: #000;
}

.youtube-container-info {
    position: absolute;
    bottom: -20px;
    right: 25px;
}

.youtube-container-text {
    font-size: 14px;
}

.youtube-container-button {
    top: -350px;
    left: 15px;
    background: #c4302b;
    padding: 15px;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.youtube-container-button a {
    margin-left: 25px;
    color: white;
    display: flex;
    align-items: center;
}

.youtube-container-button a:hover {
    color: white;
}

.youtube-container-button a i {
    margin-left: 5px;
}

/* Partners box */
.partners {
    margin: 16px 0px;
}

.partners .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.partners .row img {
    height: 100%;
}

/* Single video */

.slider .ratio-video {
    width: 100%;
    height: 100%;
}

.slider .ratio-video + .slider-caption {
    position: relative;
}

.montly-event-single{
    position: relative;
}

.page-title .box{
    background: rgba(0, 0, 0, 0.8);
    padding: 25px;
}

.page-title.no-slider-image{
	margin-top: 80px;
}

.page-title .box.black h1 {
    margin: 0;
    color: #FFF;
    font-weight: 800;
    font-size: 26px;
    line-height: 34px;
}

.montly-event-single .montly-event-single-map{
    margin-top: 11px;
}

@media screen and (max-width: 992px) {
    .montly-event-single:after{
        left: -15px;
        width: calc(100% + 30px);
    }
}

@media (max-width: 767px) {
    .page-title .box {
        background-color: #FFD300;
        padding-bottom: 0;
    }

    .page-title .box.black h1 {
        color: #000;
        margin: 0;
        text-transform: uppercase;
        font-size: 26px;
        font-weight: 800;
        line-height: 1.1;
        display: block;
    }

    .montly-event-single .montly-event-single-date-location{
        padding: 10px 25px;
    }

    .slider.slider-montly-event-single .slider-caption, 
    .slider.slider-contact .slider-caption,
    .page-title-desktop{
        display: none;
    }

    .montly-event-single .montly-event-single-date-location .montly-event-single-map,
    .montly-event-single .montly-event-single-date-location span{
        line-height: 2;
    }
    .montly-event-single .montly-event-single-map{
        margin-top: 0;
    }
}

@media screen and (max-width: 480px) {
    .page-title{
        margin-left: -15px;
        margin-right: -15px;
    }
    .montly-event-single:after{
        left: 0;
        width: 100%;
    }
}

/* Podcast page */
.podcast-channels {
    padding-top: 0px;
}

.podcast-channels .container .row {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* TODO: replace the video classes in the podcast page entirely*/
.podcast {
	margin: 20px 15px;
}

.podcast-image {
    padding: 0;
	float:left;
}

@media (min-width: 770px) {
    .podcast-image {
        width: 250px;
        height: 250px !important;

    }
}

.podcast-summary {
    min-height: 250px !important;
}

.nav-tabs-ratio {
    margin: 16px 0px;
}

/* Styles for the form in password protected posts */
.post-password-form {
    background: white;
    border: 3px solid black;
    margin: 20px auto;
    padding: 20px;
    width: fit-content;
}

.post-password-form input[type=password] {
    outline: none;
    padding: 5px;
    width: 100%;
    border: 2px solid black;
}

.post-password-form input[type=submit] {
    background: black;
    border: 2px solid black;
    box-shadow: none;
    color: white;
    padding: 5px 10px;
    text-transform: uppercase;
}

.videos-container{
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background:#fff;
}
.video-container.video-youtube {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container.video-youtube iframe,
.video-container.video-youtube object,
.video-container.video-youtube embed {
    position: absolute;
    top: 0;
    left: 0;
}

.load-more-button {
    background-color: #ddd;
    border-radius: 2px;
    display: block;
	max-width: 945px;
    margin-left: auto;
    margin-right: auto;
	margin-top: 25px;
	padding: 10px 0;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}

.load-more-button:hover {
    background-color: #767676;
    color: #fff;
}
.load-more-button.more-podcasts{
	margin-top: 50px;
}

.lectures .lectures-container .lecturer .arbitrary-image {
    float: left;
    height: 195px;
    border: 2px solid #000000;
    overflow: hidden;
    margin-left: -75px;
    margin-right: 20px;
}
.lectures .lectures-container .lecturer .arbitrary-image img {
    height: 100%;
}
.lectures .lectures-container .lecturer .arbitrary-image .lecturer-summary-container {
	overflow: auto;
}

.home-box,
.home-event-box {
	transition: 0.3s ease-out;
}
.home-box:hover,
.home-event-box:hover {
	transform: translateY(-4px);
}
.home-box .home-box-button.large {
	padding: 8px 12px;
}

@media (max-width: 768px) {
	.container {
		max-width: 750px;
		width: auto;
	}
	.video-container .video .video-image {
		height: auto;
		width: 100%;
	}
	.video-container.podcast-menu {
		margin-top: 0px;
	}
	.calendar.show-first {
		margin-left: 0;
		margin-right: 0;
	}
}

@media (max-width: 480px) {
	#wp-admin-bar-wpseo-menu{ display:none !important}
	.row-fluid{
		margin: 0;
	}
	.video-container.podcast-menu {
		margin-top: 0;
	}
	.video-container.podcast-menu .load-more-button,
	.load-more-button.more-forum{
		margin-top: 50px;
	}
	.load-more-button.more-calendar-past,
	.load-more-button.more-monthly-past{
		margin-top: 0;
	}
	.video-container .video {
		margin-top: 0;
		margin-bottom: 0;
		padding-bottom: 50px;
	}
	
	.nav-tabs-ratio	{
		padding-bottom: 0;
		margin-bottom: 25px;
		margin-left: 15px;
		margin-right: 15px;
	}
	.nav-tabs-ratio li {
		float: none;
		display: block;
		width: 100%;
	}
	.nav-tabs-ratio li+li a {
		margin-left: 0;
	}
}

.flex-1.col-xs-12,
.flex-1.col-sm-12,
.flex-1.col-md-12,
.flex-1.col-lg-12 {
    flex-basis: 100%;
}

@media (min-width: 768px) {
    .flex-1.col-sm-3 {
        flex-basis: 25%;
    }

    .flex-1.col-sm-4 {
        flex-basis: 33.33333333%;
    }

    .flex-1.col-sm-6 {
        flex-basis: 50%;
    }
}

@media (min-width: 992px) {
    .flex-1.col-md-3 {
        flex-basis: 25%;
    }

    .flex-1.col-md-4 {
        flex-basis: 33.33333333%;
    }

    .flex-1.col-md-6 {
        flex-basis: 50%;
    }
}

@media (min-width: 1200px) {
    .flex-1.col-lg-3 {
        flex-basis: 25%;
    }

    .flex-1.col-lg-4 {
        flex-basis: 33.33333333%;
    }

    .flex-1.col-lg-6 {
        flex-basis: 50%;
    }
}

.woocommerce-input-wrapper > input {
  padding: 8px;
}

.tribe-tickets__tickets-form {
  max-width: 100% !important;
}

.tribe-common .tribe-common-h7,
.tribe-common .tribe-common-b2,
.tribe-common .tribe-common-b3 {
  font-size: var(--tec-font-size-3);
}

.tribe-tickets__tickets-buy {
  background-color: #ffd300 !important;
}
.tribe-tickets__tickets-buy {
  color: black !important;
}
.tribe-tickets__tickets-buy:disabled {
  color: gray !important;
}

.woocommerce table.cart td.actions .coupon input[name='coupon_code'] {
  width: 220px;
}

.navbar-nav.navbar-right .menu-item a {
	padding-left: 10px;
	padding-right: 10px;
}
