/*
Theme Name: Modum Bad
Theme URI: http://siteman.no
Author: Andreas Wilthil
Author URI: http://siteman.no
Description: Custom theme for Modum Bad
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: light, one-column, two-columns, right-sidebar, left-sidebar, responsive-layout, custom-header, custom-menu, editor-style, featured-images, post-formats, rtl-language-support, translation-ready
Text Domain: siteman
*/

body .event-section .vc_row{
max-width: 1500px;
margin: 0 auto;
padding: 50px;
}

body .event-section .event-filter{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
       margin-bottom: 60px;
    margin-top: 50px;
}

body .event-section .event-filter.no-filter{
  display:none;
}

body .event-section .event_cat_list, body .event-section .eu-event-date-filter, body .event-section #event_location{
    width:100%;
    max-width: 260px;
    height: 50px;
    border: 3px solid #005f85;
}
body .event-section .event_cat_list, body .event-section #event_location{
    padding-left: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #005f85;
    font-family: "Martel", serif;
}
body .event-section .eu-event-date-filter input{
    width: 100%;
    height: 100%;
    border: none;
    padding-left: 20px;
    font-size: 20px;
    font-weight: 700;
    font-family: "Martel", serif;
}
body .event-section .eu-event-date-filter input::placeholder{
    color: #005f85;
}
body .event-section .eu-event-date-filter input:focus, body .event-section .event_cat_list:focus{
    outline: none;
}
body .event-section .eu-events {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
}
body .event-section .eu-events .vc_row {
	width: 32%;
	background-color: #ffffff;
	padding: 0;
	margin: 0;
	margin-bottom: 15px;
}

body .event-section .eu-events.list .vc_row{
	margin-bottom: 0;
}

body .event-section .eu-events .vc_row:first-child{
    margin-left: 0 !important;
}
body .event-section .eu-events .image-column img{
    width: 100%;
    height: 230px;
    object-fit: cover;
}
body .event-section .eu-events .image-column{
    position: relative;
}
body .event-section .image-column .date, body .event-section .eu-events .image-column .category, body .event-section .image-column .event-location{
    font-weight: 700;
    color: #ffffff;
    background-color: #005f85;
    position: absolute;
    z-index: 5;
    font-size: 14px;
    line-height: 23px;
    text-align: center;
    padding: 7px 12px;
}
body .event-section .image-column .date{
    background-color: #EAB500;
	    display: flex;
    align-items: center;
	    padding: 6px 0;
}
body .event-section .image-column .date .start-date,
body .event-section .image-column .date .end-date{
	padding: 0 15px;
}

body .event-section .image-column .date.have-event-end .start-date{
		padding-right: 7px;
}
body .event-section .image-column .date.have-event-end .end-date{
	padding-left: 7px;
}
body .event-section .eu-events .category{
    bottom: 12px;
    left: 12px;
}
body .event-section .eu-events .date{
    top: 12px;
    left: 12px;
}
body .event-section .event-location{
    top: 12px;
    right: 12px;
}
body .event-section .eu-events .date span.day,
body .event-section .eu-events .date span.month{
    display: block;
    font-family: "Source Sans Pro", sans-serif;
}
body .event-section .eu-events .date .day{
    font-size: 18px;
}

body .event-section #event_filter_month{
	background: #fff;
	height:100%;
	border: none;
	font-size: 20px;
	font-family: "Martel", serif;
	color: #005f85;
	padding-left:30px;
	font-weight: 700;
}

body .event-section #event_filter_month option{

}


body .event-section .eu-events .vc_row h3{
    font-family: "Martel", serif;
    font-weight: 700;
    font-size: 20px;
    color: #005f85;
    margin-top: 0;
}

body .event-section .eu-events .vc_row .event-content a{
	color: #005f85;
	text-decoration: none;
}

body .event-section .eu-events .vc_row .event-content{
    padding: 30px;
	min-height: 300px;
}
.list_gap{
    height: 20px;
    display: inline-block;
    width: 100%;
    clear: both;
}
body .readmore-button {
	background-color: #005f85;
	text-align: center;
	transition: .4s;
	position: absolute;
	width: 100%;
	bottom:0;
}

body .readmore-button a:hover{
	background-color: #e3ae10;
}

body .readmore-button a{
	font-size: 20px;
	color: #fff;
	padding: 15px 0;
	display:block;
	text-decoration: none;
	font-family: "Martel", serif;

}

/* body .event-section  .mini-event-time{
	display: none;
} */


body .event-section .eu-events.list{
	/*display: unset;*/
}

body .event-section .eu-events.list .event-content {
	width: 90%;
	float: right;
	min-height: unset;
	background: #fff;
 }
body .event-section .eu-events.list .event-date-sep,
body .event-section .eu-events.list .end-date{
	display: none;
}
body .event-section .eu-events.list .ticket-link{
	font-weight: 400;
}
body .event-section .eu-events.list .ticket-sep{
	    margin-right: 6px;
}
body .event-section .eu-events.list .date {
	width: 130px;
	background: #005F85;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 47px 0;
	top: 0;
	left: 0;
}

body .event-section .eu-events.list .event-location {
	background: transparent;
	color: #005f85;
	padding-left: 22px;
}

.button-loadmore-viewall{
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 60px;
}


body .button-loadmore-viewall a {
	font-family: "Martel", serif;
	text-transform: inherit;
	color: #005F85;
	text-decoration: none;
	font-size: 20px;
	border: 2px solid;
	height: 55px;
	width: 200px !important;
	display: inline-block;
	line-height: 55px;
	transition:.4s;
}

body .button-loadmore-viewall a:hover{
	background: #005F85;
	color: #fff;
	border: 2px solid #005F85;
}

body .button-loadmore-viewall #load-more{
	margin-right:30px;
}

body .event-section .eu-events.list .event-location::before {
	content: '';
	background-image: url("/wp-content/uploads/2021/05/map-icon.png");
	height: 21px;
	width: 17px;
	position: absolute;
	left: 0;
}





body .event-section .mini-event-time {
	color: #005f85;
	padding-bottom: 15px;
	display: inline-block;
}

body .event-section .eu-events.list .day {
	font-size: 45px;
	line-height: 50px;
	display: block;
	width: 100%;
}

body .event-section .eu-events.list .month{
	font-size: 35px;
	text-transform: lowercase;
	line-height: 40px;
	display: block;
	width: 100%;
}

body .event-section .eu-events.list .vc_row {
	display: block;
	width: 100%;
	margin-left: 0 !important;
	background: transparent;
	  margin-bottom: 20px;
}

body.page-id-25550 .content-wrapper,
body.page-id-25528 .content-wrapper{
	background-color: #e6eff3;
}

body .event-section .eu-events.list .event-content-inner{
	    min-height: 48px;
}

body .event-section .eu-events.list .single-item img{
	display: none;
}

body .event-section .eu-events.list .readmore-button{
	display: none;
}

body .event-section .eu-events.list .category{
	display: none;
}

.both-btn{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-content: start;
}

.both-btn a{
	width: 50%;
	text-align: center;
}

.both-btn a:last-child{
	background: #337F9D;
	border-left: 1px solid;
}

.both-btn a:last-child:hover .both-btn a:last-child{
	background-color: #005f85;
}

body .event-section .eu-events .vc_row .event-content {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
}

body .event-section .eu-events .vc_row .event-content .mini-event-time {
	width: 100%;
	order: 2;
}

body .event-section .eu-events .vc_row .event-content h3 {
	width: 100%;
	order: 1;
}

body .event-section .eu-events .vc_row .event-content .event-content-inner {
	width: 100%;
	order: 3;
}

.gform_wrapper.gravity-theme form input[type=text]{
	border: 1px solid #000!important;
	background: transparent;
}

.wpb_wrapper .vc_toggle{
    border-bottom: 1px solid #005f8580;
}
.wpb_wrapper .vc_toggle{
    font-size: 1em!important;
	margin: 1em 0!important;
}
.wpb_wrapper .vc_toggle .vc_toggle_title h4{
	font-size: 1.25em!important;
	margin: 1em 0;
}
.wpb_wrapper .vc_toggle .vc_toggle_title{
	margin: 1em 0;
}

.wpb_wrapper .vc_toggle h2{
    font-size: 1em;
	margin: 1em 0;
}
.wpb_wrapper .vc_toggle_active .vc_toggle{
	font-weight: 700!important;
}
.wpb_wrapper .vc_toggle.vc_toggle_active h2{
	font-weight: 700;
}
.wpb_wrapper .vc_toggle.vc_toggle_active .vc_toggle_title h4{
	font-weight: 700!important;
}
.wpb_wrapper .vc_toggle .vc_toggle_title .vc_toggle_icon{
	left: auto!important;
	right: 0;
}
.wpb_wrapper .vc_toggle .vc_toggle_title .vc_toggle_icon:before,.wpb_wrapper .vc_toggle .vc_toggle_title .vc_toggle_icon:after{
	background: #005F85;
}

.wpb_wrapper .vc_toggle .vc_toggle_icon{
	background-color: transparent!important;
	border: none!important;
}

.wpb_wrapper .vc_toggle .vc_toggle_icon::before{
	background: transparent!important;
    display: block;
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 26.5.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 1000 1000' style='enable-background:new 0 0 1000 1000;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23005F85;%7D%0A%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M500,763.8c-9.6,0-19.3-3.7-26.7-11L21,300.5c-14.7-14.7-14.7-38.6,0-53.3s38.6-14.7,53.3,0L500,672.8 l425.6-425.6c14.7-14.7,38.6-14.7,53.3,0c14.7,14.7,14.7,38.6,0,53.3L526.6,752.8C519.3,760.1,509.7,763.8,500,763.8z'/%3E%3C/g%3E%3C/svg%3E%0A")!important;
	width: 20px;
    height: 20px!important;
	width: 20px!important;
    border: none!important;
    background-repeat: no-repeat;
	background-size: contain!important;
}

.wpb_wrapper .vc_toggle .vc_toggle_icon::after{
	display: none!important;
}

.wpb_wrapper .vc_toggle_active.vc_toggle .vc_toggle_icon{
	background: transparent!important;
	border: none!important;
}
.wpb_wrapper .vc_toggle_active.vc_toggle .vc_toggle_icon::before{
	background: transparent!important;
    display: block;
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 1000 1000' style='enable-background:new 0 0 1000 1000;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23005F85;%7D%0A%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M499.9,236.2c9.6,0,19.3,3.7,26.7,11l452.3,452.3c14.7,14.7,14.7,38.6,0,53.3s-38.6,14.7-53.3,0L499.9,327.2 L74.3,752.8c-14.7,14.7-38.6,14.7-53.3,0c-14.7-14.7-14.7-38.6,0-53.3l452.3-452.3C480.6,239.9,490.2,236.2,499.9,236.2z'/%3E%3C/g%3E%3C/svg%3E%0A")!important;	width: 20px!important;
    border: none!important;
    background-repeat: no-repeat;
	background-size: contain!important;
	visibility: visible;
}


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


	body .event-section .eu-events.list .event-content{
		width: 100%!important;
		padding-top: 100px;
		display: flex;
	}

	body .event-section .eu-events.list .date{
		width: 70px;
		background: #005F85;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		padding: 10px 20px 20px 10px;
		top: 0;
		left: 0;
	}
	body .event-section .eu-events.list .day{
		font-size: 35px;
		line-height: 40px;
	}
		body .event-section .eu-events.list .month{
			font-size: 25px;
			line-height: 10px;
	}
	body .event-section .eu-events.list .event-location {
		width: calc(100% - 100px);
	}
	body .event-section .image-column .date, body .event-section .eu-events .image-column .category, body .event-section .image-column .event-location {
		font-weight: 700;
		color: #ffffff;
		background-color: #005f85;
		position: absolute;
		z-index: 5;
		font-size: 12px;
		line-height: 23px;
		text-align: center;
		padding: 7px 12px;
	}
	body .event-section .event-location{
		top: 138px;
		right: auto;
		left: 12px;
	}
	body .event-section .image-column .date, body .event-section .eu-events-list .image-column .category, body .event-section .image-column .event-location {
		font-weight: 700;
		color: #ffffff;
		background-color: #005f85;
		position: absolute;
		z-index: 5;
		font-size: 12px;
		line-height: 23px;
		text-align: center;
		padding: 7px 12px;
	}
	body .event-section .eu-events.list .event-location{
		top: 12px;
		right: 12px;
		left: auto;
	}
}

.scroll .wpb_wrapper{
	height: 250px;
	overflow: scroll;
}

/*
Temp style changes while GIT is being fixed
*/

#wrapper a{
	/* color: #333; */
}
#wrapper a:hover{
	font-weight: 700;
}
#wrapper .premenu ul li.btn-two a{
	color: #333;
}

/*

Banner

*/

#wrapper .banner-forside.vc_row,#wrapper .banner-underside.vc_row{
	max-width: 1440px!important;
    padding: 0 20px!important;
}
body .banner-underside .tdt-slider .slick-list .slick-track .slick-slide .content-section *{
	font-family: 'Martel', sans-serif!important;
	font-family: 'Open Sans', sans-serif!important;
}
body footer#footer-content .content .column,#wrapper footer#footer-content .socket .column{
	width: calc(100% / 4);
}
body footer#footer-content .content .column a,#wrapper footer#footer-content .socket .column a{
	color: inherit;
}
body footer#footer-content .content .column a:hover,#wrapper footer#footer-content .socket .column a:hover{
	color: black;
}
body footer#footer-content .content .column strong,body footer#footer-content .content .column strong{
	display: block;
	width: 100%;
}
body footer#footer-content .content p{
	font-size: inherit;
}
body footer .mobile--4 p{
  width: 100%;
  margin-bottom: 5px;
}

/* Banner normal template */

body.page-template-default #content{
	background-color: white;
}

body.page-template-default .page-thumbnail{
	max-width: 1440px!important;
    padding: 0 20px!important;
    margin: 0 auto;
    background-color: transparent;
}

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


	#wrapper .banner-underside .tdt-slider{
		margin-bottom: 10px;
		overflow: visible;
		margin-top: 10px;
	}

	#wrapper .banner-underside .tdt-slider .slick-list .slick-track .slick-slide{
		height: auto!important;
	}

	#wrapper .banner-underside .tdt-slider .slick-list .slick-track .slick-slide img{
		height: 250px!important;
	}



	#wrapper .banner-underside .tdt-slider .slick-list .slick-track .slick-slide .content-section{
		bottom: auto;
		top: 50%!important;
		background-color: transparent;
		height: auto!important;
		font-family: 'Martel', sans-serif!important;
	    transform: translateY(-50%);
	}

	#wrapper .banner-underside .tdt-slider .slick-list .slick-track .slick-slide .content-section *{
		font-family: 'Martel', sans-serif!important;
		font-family: 'Open Sans', sans-serif!important;
	}

	#wrapper .banner-underside .tdt-slider .slick-list .slick-track .slick-slide .content-section .tdt-slider-heading{
		background-color: #005f857a;
		display: inline-block;
		max-width: 80%;
		margin: 0 auto;
		padding: 15px;
		font-weight: 500;
	}
	#tdt-slider-57 .content-section *{
		font-family: 'Open Sans', sans-serif!important;
	}

	#wrapper .banner-underside .tdt-slider .slick-list .slick-track .slick-slide .content-section span{
		background-color: #005f857a;
		display: inline-block;
		max-width: 80%;
		margin: 0 auto;
		padding: 15px;
		padding-top: 0;
		font-size: 14px!important;
	}

	#wrapper .banner-underside .tdt-slider .slick-list .slick-track .slick-slide .content-section span.carousel_btn_span{
		background-color: transparent;
		padding: 0;
	}

	body footer#footer-content .content .column,#wrapper footer#footer-content .socket .column{
		width: 100%;
	}

	body footer#footer-content .content .column.mobile--4{
		order: 4;
	}

	body footer#footer-content .content .column.mobile--5{
		order: 5;
	}
	body footer#footer-content .content p{
		font-size: inherit;
	}


}