/*
Theme Name:     Hammel Gymnastik Forening
Description:    
Author:         Mundfuld Studio & Digitalist.dk
Template:       Divi

*/


/*------------------------------------*\
    Colors
\*------------------------------------*/
/*
	
	Blue: #06178f
	Red: #ee1929
	Grey: #e9eaeb
	
	
*/


/*------------------------------------*\
    Helper classes
\*------------------------------------*/

/* Vertical align */
.vertical-align { 
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    -ms-flex-align:center;
}

.link_button,
.et_pb_button_module_wrapper .link_button.et_pb_bg_layout_dark,
.link_button:hover{
	border: 0!important;
	padding: 0px!important;
	background: transparent!important;
	color: #ee1929!important;
	font-size: 15px;
	text-transform: uppercase;
	font-weight: 900;
}

.link_button:hover{
	color: #06178f!important;
}

.link_button.et_pb_bg_layout_dark:hover{
	color: #fff!important;
}

.link_button:after,
.link_button:hover:after{
	display: none;
}



.link_button:before{
	transition: 0s ease-in-out;
	position: relative!important;
	display: inline-block!important;
	opacity: 1;
	content:'\35';
    font-size: 15px;
    line-height: 25px;
    vertical-align: top;
    font-family: 'ETmodules';
}



@media only screen and ( max-width: 980px ) {
	.flip { 
		display: -webkit-flex;
		-webkit-flex-direction: column-reverse;
		display: flex;
		flex-direction: column-reverse !important;
	}
}

/*------------------------------------*\
    General
\*------------------------------------*/

body{
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
}

.et_pb_section,
#et-main-area .container{
	background: #e9eaeb;
}

#main-content{
	background: transparent;
}

.et_pb_row{
	width: 95%;
}


@media (max-width: 980px){
	#main-content .et_pb_column .et_pb_row_inner, .et_pb_row {
	    padding: 10px 0;
	}
}


@media (max-width: 480px){
	#main-content .et_pb_column .et_pb_row_inner, .et_pb_row {
	    padding: 0px 0;
	}
}

.search #main-content .container:before,
.error404 #main-content .container:before{background: none;}


.search #sidebar,
.error404 #sidebar{
	display:none;
}

.search .et_pb_post,
.e/*
rror404 .et_pb_post{
		margin-bottom: 0px;
		padding-bottom: 50px;
*/
	}
	
.search #content-area,
.error404 #content-area{
/* 	padding-bottom: 50px; */
}	
 
@media (min-width: 981px){
	.search #left-area,
	.error404 #content-area #left-area{
		width: 100%!important;
		padding: 0px 0px 0px 0px!important;
		float: none !important;
	}
	

	

	
}



.media-modal{
	z-index: 100000000!important;
}
/*------------------------------------*\
    Typographies
\*------------------------------------*/
.entry-content h1{
	font-weight: 900;
	text-transform: uppercase;
	font-size: 70px!important;
	padding-bottom: 25px;
}

.entry-content h2{
	font-weight: 900;
	text-transform: uppercase;
	font-size: 50px!important;
	padding-bottom: 10px;
}

.entry-content h3{
	font-weight: 900;
	text-transform: uppercase;
	font-size: 30px!important;
	padding-bottom: 10px;
}


.headline_text{
	text-transform: uppercase;
	font-weight: 300;
	font-size: 26px;
	padding-bottom: 20px;
}


.et_pb_text_inner ul{
	margin-bottom: 25px;
}

@media only screen and ( max-width: 980px ) {
	.entry-content h1{
		font-size: 50px!important;
		
	}
	
	.entry-content h2{
		font-size: 36px!important; 
	}
	
	.entry-content h3{
		font-size: 24px!important;
	}
	
	.entry-content .headline_text{
		font-size: 24px;
	}
}


@media only screen and ( max-width: 768px ) {
	body{
		font-size: 16px;
	}
	
	.entry-content h1{
		font-size: 36px!important;
	}
	
	.entry-content h2{
		font-size: 30px!important;
		
	}
	
	.entry-content h3{
		font-size: 24px!important;
	}
	
	.entry-content .headline_text{
		font-size: 20px;
	}
}



.section_headline{
	font-size: 50px;
	text-transform: uppercase;
	font-weight: 900;
	line-height: 50px;
}

@media screen and (max-width: 480px){
	.section_headline{
		font-size: 25px;
	}
}
/*------------------------------------*\
    Header
\*------------------------------------*/
#main-header{
	height: 70px;
}



@media (max-width: 980px) {
	.et_fixed_nav #main-header {
		position: fixed!important;
	}
}

@media (min-width: 768px) and (max-width: 980px) {
	#main-header .logo_container {
	    text-align: center;
	    width: calc(100% - 430px)!important;
		margin-left: 140px;
	}
	
	#main-header .container{
		width: 100%;
		text-align: center;
	}

}

@media (min-width: 480px) and (max-width: 768px){
	#main-header .logo_container {
	 	text-align: center!important;
	    width: calc(100% - 150px)!important;
		margin: 0px!important;
	}
}

#main-header .logo_container{
	text-align: center;
	height: 70px;	
}

#main-header #logo{
	max-height: 40px;
}

/*------------------------------------*\
    Navigation - Left
\*------------------------------------*/
.sm-hamburger.sm-position-left {
	left: 35px!important;
	top: 10px!important;
	margin: 15px 10px!important;
}

.admin-bar .sm-hamburger.sm-position-left {
	top: 40px!important;
}

.sm-level.sm-main-level{
    background-color: #06178f!important;
}

.sm-hamburger.sm-position-left .sm-hamburger-inner, 
.sm-hamburger.sm-position-left .sm-hamburger-inner:before, 
.sm-hamburger.sm-position-left .sm-hamburger-inner:after {
    width: 30px!important;
    background-color: #06178f!important;
}

.sm-hamburger.sm-position-left:hover .sm-hamburger-inner, 
.sm-hamburger.sm-position-left:hover .sm-hamburger-inner:before, 
.sm-hamburger.sm-position-left:hover .sm-hamburger-inner:after {
    background-color: #ee1929!important;
}

html:not(.sm-touchevents) .sm-hamburger.sm-position-left:not(.is-active):hover{
	opacity: 1!important;
}

.sm-hamburger.sm-position-left:after{
	content: 'Menu';
	position: absolute;
	top: -3px;
	left: 50px;
	color: #06178f!important;
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 17px;
}

.sm-hamburger.sm-position-left:hover:after{
	opacity: 1!important;
	color: #ee1929!important;
}

/*------------------------------------*\
    Navigation - Right
\*------------------------------------*/
.sm-hamburger {
    z-index: 100000!important;
 }

.sm-right,
.sm-right .sm-level{
	width: 100%!important;
}

.sm-right li.menu-item a{
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	text-transform: uppercase!important;
	font-size: 40px!important;
	color: #fff!important;
}


.sm-right li.menu-item.mainsite a{
	font-weight: 400!important;
	font-size: 25px!important
}

.sm-right .sm-nav-list li > a:hover .sm-title-wrap:before{
	display: none;	
}

.sm-right li.menu-item a span{
	transition: .2s ease-in-out;
}

.sm-right li.menu-item a:hover span{
	color: #ee1929!important;
	transition: .2s ease-in-out;
}

.sm-wrapper .sm-hamburger.sm-position-right:not(.is-active) {
	right: 0px!important;
	top: 0px!important;
	background: #ee1929;
	width: 280px;
	margin: 0;
	height: 70px;
	padding-left: 30px;
	line-height: 70px;
}

.admin-bar .sm-hamburger.sm-position-right:not(.is-active) {
	top: 32px!important;
}



.sm-wrapper .sm-hamburger.sm-position-right:not(.is-active):before{
	content: 'Vælg sportsgren';
	margin-right: 10px;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	font-size: 16px;
	text-transform: uppercase;
	
}

html:not(.sm-touchevents) .sm-wrapper .sm-hamburger.sm-position-right:not(.is-active):hover{
	opacity: 1;
}

.sm-wrapper .sm-hamburger.sm-position-right .sm-hamburger-inner,
.sm-wrapper .sm-hamburger.sm-position-right:hover .sm-hamburger-inner{
	background: transparent;
}

.sm-wrapper .sm-hamburger.sm-position-right .sm-hamburger-inner:before{
	content:"\f107";
	background: transparent!important;
	font-family: 'FontAwesome';
	color: rgba(255,255,255,0.65);
	font-size: 25px;
	line-height: 25px;
}

.sm-wrapper .sm-hamburger.sm-position-right:hover .sm-hamburger-inner:before{
	color: rgba(0,0,0,0.65);
}

.sm-wrapper .sm-hamburger.sm-position-right .sm-hamburger-inner:after,
.sm-wrapper .sm-hamburger.sm-position-right:hover .sm-hamburger-inner:after{
	display: none;
}

html:not(.sm-touchevents) .sm-hamburger.sm-position-right:not(.is-active):hover .sm-hamburger-inner{
	background: transparent!important;
}


.sm-wrapper .sm-hamburger.sm-position-right.is-active{
	background: #ee1929!important;
	padding: 20px;
	right: 0!important;
	top: 0px;
	width: auto;
	margin: 0;
}

.admin-bar .sm-wrapper .sm-hamburger.sm-position-right.is-active{
	top: 32px;
}

.sm-hamburger.sm-position-right.is-active .sm-hamburger-inner, 
.sm-hamburger.sm-position-right.is-active .sm-hamburger-inner:before, 
.sm-hamburger.sm-position-right.is-active .sm-hamburger-inner:after {
    background-color: #fff!important;
	width: 25px!important;
}

.sm-hamburger.sm-position-right.is-active .sm-hamburger-box{
	width: 25px!important;
}

.sm-hamburger.sm-position-right.is-active .sm-hamburger-inner::before,
.sm-hamburger.sm-position-right.is-active .sm-hamburger-inner::after,
.sm-hamburger.sm-position-right.is-active:hover .sm-hamburger-inner::before,
.sm-hamburger.sm-position-right.is-active:hover .sm-hamburger-inner::after{
	display: block;
}


/* Content og menu item */

.sm-left .menu-item a{
	font-family: 'Montserrat', sans-serif;
	font-size: 20px!important;
	text-transform: uppercase!important;
	font-weight: 900;
	color: #fff!important;
	opacity: 1!important
}

.sm-left a .sm-title-wrap{
	padding: 5px 50px!important;
}

.sm-left .sm-level-align{
	padding-top: 0px!important;
	vertical-align: top!important;
}

.sm-left .sm-header{
	position: relative!important;
	margin-top: 50px;
}

.sm-left .sm-header .sm-search{
	background: transparent!important;
	border-bottom: 1px solid #fff;
	padding: 0px!important;
	margin: 25px!important;
}

.sm-left .sm-header .sm-search input{
	padding-left: 0px!important;
}

.sm-left .is-active.sm-hamburger .sm-hamburger-box .sm-hamburger-inner,
.sm-left .is-active.sm-hamburger .sm-hamburger-box .sm-hamburger-inner:before,
.sm-left .is-active.sm-hamburger .sm-hamburger-box .sm-hamburger-inner:after{
	color: #fff!important;
	background: #fff!important;
	z-index: 10000;
}

.sm-left .is-active.sm-hamburger:after{
	color: #fff!important;
	content: 'Luk';
}

.sm-left .sm-level{
	background-color: #06178f!important;
}

.sm-left .sm-title-overlap{
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
}






/*------------------------------------*\
    Mobile header & Navigation
\*------------------------------------*/
@media screen and (max-width: 768px){
	
	#main-header{
		height: 90px;
		background: #fff!important;
		position: fixed!important;
	}
	
	#main-header #logo{
		max-height: 30px;
	}
	.sm-hamburger.sm-position-left:after{
		display: none;
	}
	
	.sm-hamburger.sm-position-left{
		left: 15px!important;
		top: 20px!important;
	}
	
	#main-header .logo_container{
		text-align: left;
		margin-left: 40px;
		height: 90px;
	}
	
	.sm-wrapper .sm-hamburger.sm-position-right:not(.is-active){
		width: 220px;
		height: 90px;
		line-height: 90px;
		padding-left: 15px;
	}
	
	.sm-wrapper .sm-hamburger.sm-position-right:not(.is-active):before{
		font-size: 14px;
	}
	
	.sm-hamburger.sm-position-right .sm-hamburger-box{
		width: 0px!important;
	}
	
	.sm-wrapper .sm-hamburger.sm-position-right.is-active{
		padding: 0px!important;
		height: 90px;
		width: 90px;
		line-height: 90px;
		text-align: center;
	}
}


@media screen and (max-width: 480px){
	#main-header{
		height: 70px;
		background: #fff!important;
		position: fixed!important;
	}
	
	#page-container{
		padding-top: 70px!important;
	}
	
	.sm-wrapper .sm-hamburger.sm-position-right .sm-hamburger-inner:before{
		display: none;
	}
	
	.sm-hamburger.sm-position-left{
		left: 10px!important;
		top: 10px!important;
	}
	#main-header .logo_container{
		text-align: left;
		margin-left: 60px;
		height: 70px;
	}
	
	.sm-wrapper .sm-hamburger.sm-position-right.is-active{
		height: 70px;
		width: 70px;
		line-height: 70px;
	}
	
	.sm-wrapper .sm-hamburger.sm-position-right:not(.is-active){
		width: 150px!important;
		height: 70px;
		line-height: 15px;
		padding-left: 15px;
		padding-top: 15px;
		padding-right: 15px;
		text-align: right;
	}
	
	.sm-wrapper .sm-hamburger.sm-position-right:not(.is-active):before{
		margin-right: 0;
	}
	
	
	
	
	.sm-wrapper .sm-hamburger.sm-position-right:not(.is-active) .sm-hamburger-box .sm-hamburger-inner:before{
		display: none!important;
	}
	
	.sm-left .sm-hamburger{
		right: 0px!important;
		left: auto!important;
	}
	
	
	.sm-right li.menu-item a{
		font-size: 16px!important
	}
	
	.sm-right li.menu-item.mainsite a{
		font-size: 14px!important
	}
	
	.sm-right li.menu-item a .sm-title-wrap{
		padding: 5px 0px!important;
	}
	
	.sm-right li.menu-item.mainsite a .sm-title-wrap .sm-icon{
		font-size: 14px!important;
		line-height: 24px!important;
		vertical-align: top!important;	
	}
}

/*------------------------------------*\
    Footer
\*------------------------------------*/
#footer-bottom{
	display: none;
}

#main-footer,
.custom_footer{
	background: #06178f;
}

#main-footer .footer-widget .title,
#main-footer .custom_footer strong {
	font-weight: 900;
	text-transform: uppercase!important;
	color: #fff;
	font-size: 20px;
	margin-bottom: 10px;
	display: block;
}

#main-footer .custom_footer p{
	padding-bottom: 1em;
}


#main-footer .footer-widget,
#main-footer .custom_footer{
	font-size: 15px;
	line-height: 18px;
	font-weight: 400;
}

#main-footer .footer-widget a,
#main-footer .custom_footer a{
	color: #fff;
	transition: .2s ease-in-out;
}

#main-footer .custom_footer ul li{
	margin-bottom: 10px;
}


#main-footer .custom_footer ul li a:before{
	transition: 0s ease-in-out;
	position: relative!important;
	display: inline-block!important;
	opacity: 1;
	content:'\35';
    font-size: 15px;
    line-height: 18px;
    vertical-align: top;
    font-family: 'ETmodules';
	transition: 0s;
}



#main-footer .footer-widget a:hover,
#main-footer .custom_footer a:hover,
#main-footer .custom_footer ul li a:hover:before{
	color: #ee1929	
}

/*------------------------------------*\
    Site description
\*------------------------------------*/
.sitedescription{
	background: #06178f;
	color: #fff;
	text-align: center;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 35px;
	padding: 20px;
	position: relative;
}

.sitedescription a{
	position: absolute;
	left: 20px;
	top: 15px;
	opacity: 0.5;
	transition: .2s ease-in-out;
	line-height: 40px;
	cursor: pointer;
}
.sitedescription a:hover{
	opacity: 1;
}
	
.sitedescription a:before{
    content:"\34";
    color: #fff;
    font-size: 40px;
    line-height: 40px;
    vertical-align: middle;
    font-family: 'ETmodules';
}

@media screen and (max-width: 480px){
	.sitedescription{
		font-size: 20px;
		padding: 10px;
	}
	
	.sitedescription a{
		top: 5px;
	}
	
	.sitedescription a:before{
    	font-size: 30px;
	}
}


/*------------------------------------*\
    Fullwidth slider
\*------------------------------------*/

.et_pb_fullwidth_section .et_pb_slider .et_pb_slide{
	position: relative;
/* 	padding-top: 6%; */
	min-height: 400px;
}

.et_pb_fullwidth_section .et_pb_slider .et_pb_slide:after{
	background: linear-gradient(180deg, rgba(250,250,250,0) 60%, rgba(0,0,0,0.75) 100%);
	height: 100%;
	width: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	content: '';
}


.et_pb_fullwidth_section .et_pb_slide_title{
	font-weight: 900;
	text-transform: uppercase;
	font-size: 90px!important;
	line-height: 80px;
	overflow-wrap: normal;

}

.et_pb_fullwidth_section  .et_pb_slide_description{
	padding: 0!important;
	text-align: left;
	
}

.et_pb_fullwidth_section .et_pb_slides .et_pb_slider_container_inner{
	padding-bottom: 25px;
}

.et_pb_fullwidth_section .et_pb_button,
.et_pb_fullwidth_section .et_pb_button:hover{
	border: 0;
	padding: 0;
	background: transparent;
	color: #ee1929;
}

.et_pb_fullwidth_section .et_pb_button,
.et_pb_fullwidth_section .et_pb_button:hover{
	border: 0;
	padding: 0;
	background: transparent;
	color: #ee1929;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 15px;
	margin-left: 10px;
}

.et_pb_fullwidth_section .et_pb_button:hover{
	color: #fff;
}

.et_pb_fullwidth_section .et_pb_button:after,
.et_pb_fullwidth_section .et_pb_button:hover:after{
	display: none;
}

.et_pb_fullwidth_section .et_pb_button:before{
	transition: 0s ease-in-out;
	position: relative!important;
	display: inline-block!important;
	opacity: 1;
	content:'\35';
    font-size: 15px;
    line-height: 25px;
    vertical-align: top;
    font-family: 'ETmodules';
}


@media screen and (min-width: 980px) {
	.et_pb_fullwidth_section .et_pb_slider .et_pb_slide{
		min-height: 630px;
	}
}



@media screen and (max-width: 980px) and (min-width: 480px) {
    #main-content  .et_pb_fullwidth_section .et_pb_slide_title{
		font-weight: 900!important;
		font-size: 60px!important;
		line-height: 55px;
		
	}
	
	.et_pb_fullwidth_section .et_pb_slides .et_pb_slider_container_inner{
		padding-bottom: 50px;
	}
}

@media screen and (max-width: 480px){
	
	#main-content .et_pb_fullwidth_section .et_pb_slide_title{
		font-weight: 900!important;
		font-size: 30px!important;
		line-height: 25px;
	}
    
}

/*------------------------------------*\
    Icon box
\*------------------------------------*/
.iconbox{
	background: #ee1929;
	height: 100%;
	padding: 25px;
	transition: .2s ease-in-out;
	cursor: pointer;
}

.iconbox:hover{
	  transform: scale(1.02); /* Equal to scaleX(0.7) scaleY(0.7) */
	
}


.iconbox .et_pb_image_wrap{
}

.iconbox .et_pb_image_wrap img{
	max-height: 65px;
	opacity: .5;
	transition: .2s ease-in-out;
	width: auto;
}

.iconbox:hover .et_pb_image_wrap img{
	opacity: 1;
}

.iconbox .et_pb_module_header{
	text-align: center;
	font-size: 25px;
	font-weight: 900;
	color: #fff;
	text-transform: uppercase;
}

.iconbox .et_pb_blurb_description{
	color: #fff;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 14px;
	text-align: center;
	line-height: 16px;
}

.iconbox:not(.hascontent) .et_pb_blurb_description:after{
	content: 'Læs mere';
	margin-left: -5px;
}

.iconbox:not(.hascontent) .et_pb_blurb_description:before,
.iconbox .et_pb_blurb_description p:before{
	content:'\35';
    font-size: 12px;
    line-height: 16px;
    vertical-align: top;
    font-family: 'ETmodules';
	display: inline-block;
	margin-right: 5px;
}



/*------------------------------------*\
    Linkbox
\*------------------------------------*/
.linkbox{
	transition: .2s ease-in-out;
	text-align: center;
	background: #ee1929;


}

.linkbox:hover{
	  transform: scale(1.02); /* Equal to scaleX(0.7) scaleY(0.7) */
}

.linkbox a{
	font-weight: 900!important;
	color: #fff!important;
	display: block;
	padding: 25px;
}


/*------------------------------------*\
    Noticebox
\*------------------------------------*/
.noticebox_headline{
	font-size: 50px;
	line-height: 45px;
	color: #fff;
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
}

.noticebox_text{
	text-align: center;
	color: #fff;
	font-size: 25px;
	font-weight: 300;
	text-transform: uppercase;
}

.noticebox_text strong{
	font-weight: 900;
}

.noticebox .et_pb_button_module_wrapper{
	text-align: center;
}

.noticebox_button,
.noticebox_button:hover{
	border: 0!important;
	padding: 0px!important;
	background: transparent;
	color: #ee1929;
	font-size: 15px;
	text-transform: uppercase;
	font-weight: 900;
}

.noticebox_button:hover{
	color: #fff;
}

.noticebox_button:after,
.noticebox_button:hover:after{
	display: none;
}



.noticebox_button:before{
	transition: 0s ease-in-out;
	position: relative!important;
	display: inline-block!important;
	opacity: 1;
	content:'\35';
    font-size: 15px;
    line-height: 25px;
    vertical-align: top;
    font-family: 'ETmodules';
}

@media screen and (max-width: 480px){
	
	.noticebox_headline{
		font-size: 30px;
		line-height: 25px;
	}
    
    .noticebox_text{
		font-size: 20px;
	}

}

/*------------------------------------*\
    Teambox
\*------------------------------------*/
.teambox{
	padding: 0!important;
}

.teambox .et_pb_column{
	margin-bottom: 0px!important;
}

.teambox .et_pb_text{
	padding: 35px;
}

.teambox a{
	color: #ee1929!important;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 900;
}

.teambox a:before{
	transition: 0s ease-in-out;
	position: relative!important;
	display: inline-block!important;
	opacity: 1;
	content:'\35';
    font-size: 15px;
    line-height: 30px;
    vertical-align: top;
    font-family: 'ETmodules';
}



/*------------------------------------*\
    Countdown timer
\*------------------------------------*/
.et_pb_countdown_timer .section.values{
	width: auto;
}

/*------------------------------------*\
    News box
\*------------------------------------*/
/*

.news_container{
	padding: 50px 0;
}

.news_container .section_headline{
	padding-bottom: 20px;
}

.news_container .et_pb_row.et_pb_row_1-4_1-4_1-2,
.news_container .et_pb_row.et_pb_row_1-2_1-4_1-4{
	padding-bottom: 0px;
	padding-top: 1.25vw;
}

.news_container .et_pb_column{
	margin-right: 1.75%;
}

.news_container .et_pb_row_1-2_1-4_1-4 .et_pb_column,
.news_container .et_pb_row_1-4_1-4_1-2 .et_pb_column{
	width: 23.75%;
}

.news_container .et_pb_row_1-2_1-4_1-4 .et_pb_column:first-child,
.news_container .et_pb_row_1-4_1-4_1-2 .et_pb_column:last-child{
	width: 49.25%;
}


@media screen and (max-width: 980px){
	.news_container .et_pb_column_1_2.et_pb_column{
		margin-right: 0%;
	}

	.news_container .et_pb_row.et_pb_row_1-4_1-4_1-2, 
	.news_container .et_pb_row.et_pb_row_1-2_1-4_1-4{
		padding-top: 3.75vw;
	}
	.news_container .et_pb_column{
		margin-bottom: 3.75vw!important;
	}
}

@media screen and (max-width: 480px){
	.news_container .et_pb_row.et_pb_row_1-4_1-4_1-2, 
	.news_container .et_pb_row.et_pb_row_1-2_1-4_1-4 {
	    padding-top: 0px;
	}

	.news_container .et_pb_column{
		margin-bottom: 25px!important;
	}
}

.news_box .et_pb_ajax_pagination_container{
	position: relative;
	min-height: 400px;
	background-size: cover;
	background-position: center center;
}


.news_box .entry-title{
	position: absolute;
  	left: 50%;
	top: 80%;
  	transform: translate(-50%);
	text-align: center;
	width: 95%;
	line-height: 15px;
	padding-bottom: 0
}

.news_box .entry-title a{
	color: #fff;
	font-size: 20px;
	text-transform: uppercase;
	font-weight: 900;
	text-align: center;
}

.news_box .post-meta .published{
	position: absolute;
	color: #fff;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 900;
	position: absolute;
  	left: 50%;
	top: 70%;
  	transform: translate(-50%);
	text-align: center;
	line-height: 20px;
	padding: 5px;
	background: #06178f;
	min-width: 150px;


}

.news_box .entry-featured-image-url{
	margin-bottom: 0;
	height: 100%;
	overflow: hidden;

}

.news_box a img{
	position: absolute;
	top: 0;
	height: 100%;
	width: auto;
	max-width: none;
	text-align: center;
	left: 50%;
  	transform: translate(-50%);
  	z-index: -1;
  	transition: .2s ease-in-out;
}

.news_box:hover a img{
	transform: translate(-50%) scale(1.05);
	transition: 1s ease-in-out;
}

.news_box .entry-featured-image-url:before{
	background: linear-gradient(180deg, rgba(250,250,250,0) 60%, rgba(0,0,0,0.75) 100%);
	height: 100%;
	width: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	opacity: 0.8;
	transition: 0.2s ease-in-out;
}


.news_box:hover .entry-featured-image-url:before{
	background: linear-gradient(180deg, rgba(250,250,250,0) 40%, rgba(0,0,0,0.85) 100%);
	opacity: 1;
	transition: 0.2s ease-in-out;	
}

.news_box,
.et_pb_ajax_pagination_container{
	height: 100%;
}

.news_box .et_pb_post{
	height: 100%;
	margin-bottom: 0;
}
*/



/*------------------------------------*\
    Newsbox V2
\*------------------------------------*/


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

.newsbox_v2 .et_pb_post{
	width: 25%;	
	margin-right: 1vw;
	width: calc(25% - 1vw);
	margin-bottom: 1vw;

}

.newsbox_v2 .et_pb_post:nth-child(3n){
	margin-right: 0px;
}

.newsbox_v2 .et_pb_post:first-child,
.newsbox_v2 .et_pb_post:nth-child(6){
	width: calc(50% - 0.75vw);
	
}

@media screen and (max-width: 980px){
	.newsbox_v2 .et_pb_post,
	.newsbox_v2 .et_pb_post:first-child,
	.newsbox_v2 .et_pb_post:nth-child(6){
		margin-right: 2vw!important;
		width: calc(50% - 2vw)!important;
		margin-bottom: 2vw!important;
	}
}

@media screen and (max-width: 480px){
	.newsbox_v2 .et_pb_post,
	.newsbox_v2 .et_pb_post:first-child,
	.newsbox_v2 .et_pb_post:nth-child(6){
		margin-right: 0vw!important;
		width: 100%!important;
		margin-bottom: 4vw!important;
	}
}

/* news Content */
.newsbox_v2 .et_pb_ajax_pagination_container .et_pb_post{
	position: relative;
	min-height: 400px;
	background-size: cover;
	background-position: center center;
}

.newsbox_v2 .entry-title{
	position: absolute;
  	left: 50%;
	top: 75%;
  	transform: translate(-50%);
	text-align: center;
	width: 95%!important;
	line-height: 15px;
}

.newsbox_v2 .entry-title a{
	color: #fff;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 900;
	text-align: center;
	display: inline-block;
	background: #06178f;
	padding: 10px;
}

.newsbox_v2 .post-meta .published{
	position: absolute;
	color: #fff;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 900;
	position: absolute;
  	left: 50%;
	top: 65%;
  	transform: translate(-50%);
	text-align: center;
	line-height: 20px;
	padding: 5px;
	background: #06178f;
	min-width: 150px;
}

.newsbox_v2 .et_pb_post .entry-featured-image-url{
	margin-bottom: 0;
	height: 100%;
	overflow: hidden;
}

.newsbox_v2 a img{
	position: absolute;
	top: 0;
	height: 100%;
	width: auto;
	max-width: none;
	text-align: center;
	left: 50%;
  	transform: translate(-50%);
  	z-index: -1;
  	transition: .2s ease-in-out;
}

.newsbox_v2 .et_pb_post:hover a img{
	transform: translate(-50%) scale(1.05);
	transition: 1s ease-in-out;
}

.newsbox_v2 .et_pb_post .entry-featured-image-url:before{
	background: linear-gradient(180deg, rgba(250,250,250,0) 60%, rgba(0,0,0,0.75) 100%);
	height: 100%;
	width: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	opacity: 0.8;

}

.newsbox_v2 .et_pb_post:hover .entry-featured-image-url:before{
	background: linear-gradient(180deg, rgba(250,250,250,0) 40%, rgba(0,0,0,0.85) 100%);
	opacity: 1;
}

.newsbox_v2 .et_pb_post .post-content{
	display: none!important;
	visibility: hidden!important;
}

/*------------------------------------*\
    Videopopup
\*------------------------------------*/

.mfp-iframe-holder .mfp-close, 
.mfp-image-holder .mfp-close,
.mfp-wrap .mfp-close:active {
    font-size: 42px;
    top: -45px;
    opacity: 1;
    position: absolute;
}

.mfp-bg{
	z-index: 100000000;
}

.mfp-wrap{
	z-index: 100000001;
}

.videopopup_section{
	padding: 12% 0!important;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

.videopopup_section:before{
	content: '';
	background: rgb(7,24,143);
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.75;
	
}

.videopopup{
	position: relative;
}

.videopopup .et_pb_module_header{
	font-weight: 900;
	color: #fff;
	text-transform: uppercase;
	font-size: 50px;
	margin-bottom: 20px;
	pointer-events: none;
}

.videopopup .et_pb_blurb_content{
	text-align: left;
	color: #fff;
	max-width: 100%;
	margin: 0;
}




.videopopup .et_pb_main_blurb_image .et_pb_image_wrap .et-pb-icon{
	background: #ee1929;
	color: #fff!important;
	border-radius: 50px;
	font-size: 80px;
	padding: 5px;	
}


@media screen and (min-width: 980px){
	.videopopup .et_pb_main_blurb_image{
		position: absolute;
		top: 50%;
		right: 25%;
		transform: translate(-50%, -50%);
	}
	
	.videopopup .et_pb_blurb_container{
		max-width: 50%;
	}
	
	
}

@media screen and (max-width: 980px){
	.videopopup .et_pb_module_header{
		font-size: 40px;
		margin-bottom: 00px;
	}
	.et_pb_main_blurb_image{
		width: 100%;
		text-align: center;
	}
	
	.videopopup .et_pb_main_blurb_image .et_pb_image_wrap .et-pb-icon{
		border-radius: 50px;
		font-size: 60px;
		padding: 5px;	
	}
}


@media screen and (max-width: 480px){
	.videopopup .et_pb_module_header{
		font-size: 30px;
		margin-bottom: 00px;
	}
	.et_pb_main_blurb_image{
		width: 100%;
		text-align: center;
	}
	
	.videopopup .et_pb_main_blurb_image .et_pb_image_wrap .et-pb-icon{
		border-radius: 50px;
		font-size: 45px;
		padding: 5px;	
	}
}

/*------------------------------------*\
    Sponsor logos
\*------------------------------------*/
.sponsorlogo_row,
.sponsorlogosection .et_pb_row{
	align-items: center;
  	justify-content: center;
	    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row; 
    justify-content: center;
    -ms-flex-align:center;
}

.sponsorlogosection .et_pb_row .sponsorlogo{
	text-align: center;
}

.sponsorlogosection .et_pb_row .sponsorlogo  img{
	opacity: 0.4;
	max-width: 150px;
	transition: .2s ease-in-out;
	max-height: 150px;
	margin: 0 auto;
}

.sponsorlogosection .et_pb_row .sponsorlogo:hover img{
	opacity: 1;
}


/*------------------------------------*\
    Imagebox
\*------------------------------------*/
.imagebox{
	position: relative;
}

.imagebox .et_pb_main_blurb_image{
	margin-bottom: 0px!important;
}

.imagebox .et_pb_blurb_container{
	position: absolute ;
	bottom: 20px;
	z-index: 10;
	pointer-events: none;
}

.imagebox .et_pb_blurb_content{
	line-height: 0px!important;
}

.imagebox .et_pb_module_header{
	text-align: center;
}

.imagebox .et_pb_module_header a{
	background: #ee1929;
	font-weight: 900;
	color: #fff;
	text-transform: uppercase;
	font-size: 15px;
	padding: 5px 10px;
}

.imagebox .et_pb_blurb_description{
	text-align: center;
	font-size: 20px;
	line-height: 20px;
	font-weight: 900;
	color: #fff;;
	padding: 10px;
	text-transform: uppercase;
}

.imagebox .et_pb_image_wrap{
	overflow: hidden;
	display: inline-block;
}
.imagebox .et_pb_image_wrap img{
  	transition: .2s ease-in-out;
	z-index: -1;
}

.imagebox:hover .et_pb_image_wrap img{
	transform: scale(1.05);
	transition: 1s ease-in-out;
}


.imagebox .et_pb_image_wrap:before{
	background: linear-gradient(180deg, rgba(250,250,250,0) 60%, rgba(0,0,0,0.75) 100%);
	height: 100%;
	width: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	opacity: 0.8;
	transition: 0.2s ease-in-out;
	z-index: 5;
}


.imagebox:hover .et_pb_image_wrap:before{
	background: linear-gradient(180deg, rgba(250,250,250,0) 40%, rgba(0,0,0,0.85) 100%);
	opacity: 1;
	transition: 0.2s ease-in-out;
}

/*------------------------------------*\
    Instagram feed
\*------------------------------------*/
.sbi_caption{
	font-size: 16px;
	
	vertical-align: middle;
	display: table-cell;
	padding: 15px;
}

.sbi_hover_top{
	height: 100%;
	display: table;
}

#sb_instagram .sbi_meta i, #sb_instagram .sbi_meta svg{
	font-size: 20px;
}

#sb_instagram .sbi_meta span{
	font-size: 20px;
	font-weight: 300;
}


#sb_instagram svg:not(:root).svg-inline--fa, #sbi_lightbox svg:not(:root).svg-inline--fa{
	width: 1.5em;
}
/*------------------------------------*\
    Facebook feed
\*------------------------------------*/
/*
#cff .cff-posts-wrap, 
#cff .cff-masonry-posts{
	margin-left: -10px;
}

#cff.cff-masonry.masonry-4-desktop .cff-item{
	width: 24%!important;
	margin: 0 1%;
}
*/
#cff.cff-masonry.masonry-4-desktop .cff-item {
    width: 23%!important;
    margin: 0 1.5% 1.5% 0!important;
}

.cff-item{
	background: #fff;
}



.cff-post-text,
.cff-post-desc{
	padding: 20px!important;
	font-size: 14px!important;
	font-weight: 400!important;
}

.cff-date{
	padding: 0 20px!important;
}

.cff-view-comments{
	background: transparent!important;
	padding-left: 0px!important;
	border-top: 1px solid #06178f!important;
	display: block;
	margin-left: 20px!important;
	margin-right: 20px!important;
	float: none!important;
}

#cff .cff-meta .cff-count, #cff-lightbox-wrapper .cff-meta .cff-count{
	color: #06178f;
}

.cff-link-title a {
	font-size: 14px;
}

/*------------------------------------*\
    Extended map
\*------------------------------------*/
.et_pb_map_container_extended .dwd-infowindow{
	width: 350px!important;
	min-width: 300px;
	padding: 20px!important;
	left: -180px!important;
/*
	left: 50%!important;
  	transform: translate(-50%)!important;
*/

}


.et_pb_map_container_extended .dwd-map-content h3{
	font-weight: 900;
	font-size: 18px!important;
	display: block!important;
}

.et_pb_map_container_extended .infowindow{
	font-size: 16px;
	font-weight: 300;
	line-height: 20px;
}

.et_pb_map_container_extended .dwd-map-close{
	right: 10px!important;
	top: 10px;
}

/*------------------------------------*\
    Members 
\*------------------------------------*/
.et_pb_team_member{
	background: #fff;
}

.et_pb_team_member_description{
	padding: 5px 15px 15px 15px;
}

.et_pb_team_member_description p{
	margin-bottom: 0px;
	padding: 0;
	font-size: 14px;
	line-height: 20px;
}
.et_pb_team_member_description a{
	color: inherit;
}

.et_pb_team_member_description a:hover{
	color: #ee1929;
}
.et_pb_module_header{
	font-weight: 900;
	text-transform: uppercase;
	padding-bottom: 10px;
}
.et_pb_team_member_description .et_pb_member_position{
	font-weight: 900;
	color: #ee1929;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 20px!important;
	padding-bottom: 10px!important;
}

.membergrid{
	padding: 0px!important;
	display: flex;
}

.membergrid .et_pb_team_member{
	height: 100%;
}



/* For for small images that are not cropped/generated to custom size */
.membergrid .et_pb_team_member img {
    display: block;
    overflow: hidden;
    height: 300px;
    -o-object-fit: cover;
       object-fit: cover;
	margin: 0 auto;
}


.et_pb_team_member_image{
	max-width: 100%;
}

/*
.membergrid .et_pb_team_member_image{
	overflow: hidden;
	height: 300px;
	display: flex;
}

.membergrid .et_pb_team_member img {
    display: block;
    overflow: hidden;
    height: auto;
	width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    margin: 0 auto;
	
}*/

@media (min-width: 980px){
	.membergrid .et_pb_column{
		padding-bottom: 35px!important;
		margin-bottom: 0px!important;
		
	}	
}

@media (max-width: 980px){
	.membergrid .et_pb_column{
		padding-bottom: 5vw!important;
		margin-bottom: 0px!important;
		
	}	
}

/*------------------------------------*\
    Iframe
\*------------------------------------*/
.iframe-container {
 overflow: hidden;
 padding-top: 56.25%;
 position: relative;
}

.iframe-container iframe {
 border: 0;
 height: 100%;
 left: 0;
 position: absolute;
 top: 0;
 width: 100%;
}

/* 4x3 Aspect Ratio */
.iframe-container-4x3 {
 padding-top: 75%;
}
