/*
	RESPONSIVE STYLESHEET
	ready to go...
*/

@media (min-width: 1400px) {
	video#screen-1 { height: auto; min-height:90%;}
}

@media (max-height: 665px){
	/* video#screen-1 { min-width: 100%; min-height: 664px; max-height: 90%; } */
	.cta_content { position: absolute; height: 70%; }
}


@media (min-width: 992px) and (max-width: 1199px){
	#menu-main-navigation-1 > li a { padding: 0 8px; }
	#sponsors_list a { margin: 0 2%; }
	#join_bar h4 { padding-right: 210px; line-height: 1.3em; margin: 28px 0; }
	.entry-content .allproducts li { height: 86px; }
}
@media (min-width: 992px){
	#menu_btn, #srch_btn { display: none; }
}
 
@media (min-width: 769px) and (max-width: 991px) {
	#menu-main-navigation-1 > li a { padding: 0 5px; font-size: 14px; } 
	#inner-header { position: relative; }
	#inner-header nav { display: none; }
	#menu_btn { display:block; line-height:106px; font-size:26px; font-weight:600; text-transform:uppercase; position:absolute; right:15px; }
	
	#menu_btn { color: #003D7D; }
	 #menu_btn:hover {  text-decoration: none; }
	
	#mobile_menu { position: absolute; z-index: 9999; top: 0; right: 0; width: 100%; height: 100%; background-color: #fff; 
						display: none; overflow-x: hidden; }
	 #mobile_menu .closeMobileMenu { line-height:67px; text-align:center; padding-right:15px; cursor:pointer; text-transform:uppercase; color: #fff; background: #003D7D; }
	 #mobile_menu li { line-height: 44px; position: static !important; } 
	 #mobile_menu li a { color: #61727a; display: block; padding: 0 30px; border-bottom: 1px solid #f6f6f6; position: relative; }
	 #mobile_menu li.menu-item-has-children > a:after { content:""; display:inline-block; position:absolute; right:15px; width:4px; height:46px; 
	 					background: url(../img/mar.png) no-repeat center;  }
	 #mobile_menu li .sub-menu { list-style: none; margin: 0; padding: 0; position: absolute; top: 67px; background: #f6f6f6; width: 100%; 
	 				height: 90%; right: -100%; min-height: 320px; z-index: 999; }
     #mobile_menu li .sub-menu li a { background: #f6f6f6; border-bottom: 1px solid #FFFFFF; } 
	 #mobile_menu li a:hover { text-decoration: none;  }
	 
	 #join_bar h4 { padding-right: 210px; line-height: 1.3em; margin: 28px 0; }
	 
	 #home_content .events > div { margin-bottom: 15px; }
	 #sponsors_list h4 { line-height: 1em; margin: 1em 0 0; }
	 #sponsors_list .text-right.stiff { text-align: center; }
	 #sponsors_list a { margin: 0 2% 14px; line-height: 92px; }
	 #sponsors_list a img { width: 88%; }
	 
	 .entry-content .allproducts li { height: 70px; width: calc(50% - 16px); }
	
	.h100 div { height: 5%; }
	 
}

@media (min-width: 768px) and (max-width: 768px) {
	body  { overflow-x: hidden; }
	#bg_video  { width: 768px; margin: 44px -47px 64px; }
	#nirioc_video { min-height: 360px !important; }
	br.visible-xs { display: block !important; }
	.entry-content .allproducts li { height: 70px; width: calc(50% - 16px); }
	.h100 div { height: 5%; }
}


@media (max-width: 768px) { 
	.video-js .vjs-tech { position: absolute; top: 0; left: 0; width: 100%; height: auto !important; right: 0; bottom: 0; margin: auto; }
	
	#menu_btn { color: #003D7D; }
	 #menu_btn:hover {  text-decoration: none; }
	
	#mobile_menu { position: absolute; z-index: 9999; top: 0; right: 0; width: 100%; height: 100%; background-color: #fff; 
						display: none; overflow-x: hidden; }
	 #mobile_menu .closeMobileMenu { line-height:67px; text-align:center; padding-right:15px; cursor:pointer; text-transform:uppercase; color: #ffffff; background: #003D7D; }
	 #mobile_menu li { line-height: 44px; position: static !important; } 
	 #mobile_menu li a { color: #203962; display: block; padding: 0 30px; border-bottom: 1px solid #E9E7DE; position: relative; }
	 #mobile_menu li.menu-item-has-children > a:after {content:"";display:inline-block;position:absolute;right:15px;width:4px;height:46px; 
	 					background: url(../img/mar.png) no-repeat center;  }
	 #mobile_menu li .sub-menu { list-style:none; margin:0; padding:0; position:absolute; top:67px; background:#f6f6f6; width:100%; 
	 				height: 90%; right: -100%; min-height: 320px; z-index: 999; }
     #mobile_menu li .sub-menu li a { background: #f6f6f6; border-bottom: 1px solid #FFFFFF; } 
	 #mobile_menu li a:hover { text-decoration: none;  }
	
  #top_dets { text-align: center; }
	#inner-header nav { display: none; }
	#menu_btn { display: block; line-height: 90px; font-size: 24px; font-weight: 600; text-transform: uppercase; 
						position: absolute; right: 25px; }
	 #menu_btn:hover {  text-decoration: none; }
	 
	.error404 { background-size: cover !important; }
	.h100 div { height: 5%; }
}

@media (max-width: 767px) { 
   .logged-in.mm #wpadminbar { top: -46px; }
	
	body, .home  { overflow-x: hidden; overflow-y: auto; }
	
	header #logo img { height: 50px; }
	header #logo div { font-size: 10px; left: 60px; }
	header #logo div span { font-size: 22px; }
	.cta_content { height: 70%; }
	.cta_content .container { padding: 0; }
	.cta_content h1 { font-size: 94px; margin-bottom: 6px; }
	.cta_content h3 { font-size: 14px; }
	.cta_content a { font-size: 13px; margin: 22px auto 0; line-height: 40px; }
	#bg { z-index: 1313 !important; height: 80vh; }
	#cta { height: auto; top: -106px; overflow: hidden; margin-bottom: -106px; }
	#screen-1 { /* visibility: hidden; */ }
	#video { width: 100%; height: 80vh; }
	
	#orange_buttons { position: relative; margin: 0; }
	#orange_buttons > a span { font-size: 12px; padding: 16px 0; }
	#orange_buttons > a span strong { font-size: 22px; }
	
	.entry-content .allproducts li { height: auto;  padding: 8px; width: calc(100% - 16px); }
	.entry-content .allproducts li div { margin-top: 0 !important; }
	
	.leadin > div, #inner-footer > div { padding-left: 0 !important; padding-right: 0 !important; }
	.leadin h2 { font-size: 32px; }
	.home .events { margin: 32px 0; }
	.home .events .event_box { padding-left: 0 !important; padding-right: 0 !important; }
	.home .events .block_wrap { min-height: auto; padding-bottom: 30px; margin-bottom: 15px; }
	.home .events .block_wrap.sponsored  { min-height: 350px; }
	
	#banner { height: 288px; }
	h1 { font-size: 48px; } 
	
	.entry-content ul { padding-left: 1.5em !important; }
	.entry-content ul.allproducts { padding-left: 0 !important; }
	.entry-content li { padding-left: 0.25em !important; }
	.entry-content li:before { width: 1em !important; }
	.speakers .event-speaker { margin-bottom: 32px;  }
	
	.close-modal { font-size: 0; top: 16px; right: 16px; }
	.close-modal .fa { font-size: 18px; }
	.col-sm-5.bod_img { margin-top: 16px; }
	.bod_img  { height: 60%; margin-bottom: 16px; }
	.bod_content_box > div { padding-left: 0 !important; padding-right: 0 !important; }
	
	.entry-content .col-sm-9.noPadL.xxPadR { padding-right: 0 !important; }
	.wpcf7-form .col-sm-6 {  padding-left: 0 !important; padding-right: 0 !important; }
	.entry-content .col-sm-3.noPadR.sidebar { padding-left: 0 !important; padding-right: 0 !important; }
	
	.entry-content .col-sm-3.noPadR.sidebar .wp-caption.alignnone { width: 100% !important; }
	.entry-content .col-sm-3.noPadR.sidebar .wp-caption.alignnone img { width: 100% !important; height: auto !important; }
	.sidebar .sponsored_ad_wrap { max-width: 375px; }
	.sponsored_ad_shadow { min-height: 297px; width: 100%; }
	.sidebar .block_wrap.sponsored { min-height: 300px; }
	
	.entry-content.sponsors .sponsor_type a { display: block; width: 50%; text-align: center; margin: 0 auto 12px; 
												height: auto;}
	.entry-content.sponsors .sponsor_type a img { line-height: 125px; display: inline-block; padding: 15px; }

	#sponsors_list h4 { line-height: 64px; text-align: center; }
	#sponsors_list .stiff { white-space: normal; text-align: center; }
	#sponsors_list a { display: block; line-height: 84px; margin: 0 0 15px; }
	
	#join_bar { padding: 12px; text-align: center; }
	#join_bar h4 { line-height: 1.4em; margin: 18px 0 0;  }
	#join_bar a { position: relative; right: 0; width: 80%; display: block; }
	
	.copyr .container > div { text-align: center !important; }
	
	#children_menu { white-space: nowrap; overflow-x: auto; }
	#bg_video { width: 110%; margin: 44px -15px 64px; }
	#nirioc_video { width: 100%; } 
	#bg_video .wp-caption-text { margin: -36px 25px 0; padding: 20px 30px 0; text-align: center; line-height: 1.3em; }
	.video-js .vjs-big-play-button { top: 35% !important; left: 5px !important; }
	
	footer .cemail, footer .social_btns   { margin-top: 0; margin-bottom: 2em; }
	footer .social_btns a { margin: 10px 6px; }
	
	footer .source-org.copyright, footer .flinks { text-align: center; padding: 0;  }
	footer p { line-height: 44px; }
	footer p a { padding-left: 8px; padding-right: 8px;  }

/*	#inner-header nav .martin-link { display: none; }*/
}

@media (max-width: 667px){
	#nirioc_video, #bg_video { width: auto; max-height: 375px !important; min-height: 360px !important; }
}

@media (max-width: 435px) {
	.error404 { background: url(../img/error404_comb_mobi.png) no-repeat top center / contain !important; }
	.error404 .article-header {  height: 211px; }
	.error404 .entry-content h4 { font-size: 28px; }
	.error404 .entry-content p { font-size: 16px; line-height: 1.2em; }
}

@media (max-width: 480px) { 
	#mobile_menu li .sub-menu { right: -480px; }
	#nirioc_video, #bg_video { width: auto; max-height: 320px !important; min-height: 310px !important; }
}

@media (max-width: 375px) {
	#nirioc_video, #bg_video { width: auto; max-height: 300px !important; min-height: 280px !important; }
	#mobile_menu li .sub-menu { right: -375px; }
}

@media (max-width: 360px) {
	#mobile_menu li .sub-menu { right: -360px; }
}

@media (max-width: 320px) {
	#join_bar a { position: relative; right: 0; width: 86%; display: block; }
	#mobile_menu li .sub-menu { right: -320px; }
	#nirioc_video, #bg_video { width: auto; max-height: 280px !important; min-height: 260px !important; }	
}