/* Root */
html, body {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	font-family:Arial, Helvetica, sans-serif;
	line-height:30px;
	background-color:#fff;
}

header, main, footer {
	flex-shrink: 0;
}
main a{
	text-decoration:none;
	color:#0000FF;
	padding:5px 8px;
	font-weight:bold;
	border:0px solid #fff;
	border-radius:5px;
	text-decoration:none;
	transition: background 0.2s linear 0s, color 0.2s linear 0s;
}
main a:hover{
	color:#fff;
	background-color:#000096;
}

/* Header */
.logo-container{
	margin:0px auto;
	position:relative;
	max-width:985px;
	z-index:9999;
}
.logo{
	margin-top:47px;
	margin-right:0px;
	float:right;
	width:190px;
	height:240px;
	background:url(../images/nylogoears.png);
	background-repeat:no-repeat;
	z-index:9999;	
}	
#blue-band{
	clear:both;
	width:100%;
	margin-top:130px;
	position:absolute;
}
.left-blue-stripes{
	float:left;
	height:590px;
	width:15%;
	background:url(../images/blueleft.gif);
	background-position:right bottom;
	background-repeat:no-repeat;
	overflow:show;
	z-index:1;
}
.main-blue-window{
	float:left;
	width:70%;
	height:100%;
	background:url(../images/blue.png);
	background-position:left bottom;
	background-repeat:repeat-x;
	text-align:center;
	overflow:hidden;
}
.window{
	margin:80px auto;
	width:800px;
	height:430px;
	background-color:#000;
	box-shadow: 5px 5px 10px #000;
	overflow:hidden;
}
.window li{
	list-style-type:none;
}
.window img{
	margin:0px auto;
	display: block;
}
.right-blue-stripes{
	float:left;
	width:15%;
	height:590px;
	background:url(../images/blueright.gif);
	background-position:left bottom;
	background-repeat:no-repeat;
	overflow:auto;	
}

/* Page */
article {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	background: url(../images/backeast.jpg) no-repeat fixed top;
	background-color:#fff;
}
main{
	flex-grow: 1;
	clear:both;
	width:1000px;
	margin:460px auto 0px auto;
}


/* Thumbnails */
.blog-small-thumbnail{
	position:relative;
	margin-left:-20px;
	padding-right:10px;

}
.blog-large-thumbnail{
	box-shadow: 5px 5px 5px #aaa;
	max-width:800px;
}
.small-featured-thumbnail{
	padding-right:10px;
	border-radius:10px;

}
.thumbnail-container{
	text-align:center;
}
.thumbnail-container-small{
	float:left;
	position:relative;
	padding:0px;
	margin:0px;
	width:200px;
	height:200px;
}
.featured-thumbnail-small{
	float:left;
	position:relative;
	padding-right:20px;
	width:200px;
	height:200px;
}

/* Blog */
.featured{
	clear:both;
	margin-bottom:10px;
	overflow:hidden;
}
.featured h3{
	margin:0px;
}
.featured p{
	margin-top:0px;
}
.featured a{
	padding:2px 15px;
	float:right;
}
.excerpt{
	margin-bottom:15px;
	padding:0px 20px 0px 20px;
	border:1px solid #DDD;
	border-radius:10px;
	box-shadow: 5px 5px 5px #ddd;
	background: rgba(255, 255, 255, 0.4);
	overflow:hidden;
}
.excerpt p{
	padding:0px;
	margin:0px;

}
.excerpt h3{
	margin-bottom:0px;

}
.excerpt a{
	float:right;
	position:relative;
	color:#0000ff;
	top:-12px;
	margin-right:-6px;
	margin-bottom:0px;
	padding:2px 10px;
	border:0px solid #fff;
	border-radius:5px;
	font-weight:bold;
	text-decoration:none;

	transition: background 0.2s linear 0s, color 0.2s linear 0s;
}
.excerpt a:hover{
	background-color:#000096;
	color:#fff;
}
.pagenation{
	width:100%;
	margin:0px;
	padding:10px 0px;
	text-align:center;
}
.page-numbers.current{
	position:relative;
	padding:5px 10px;
	color:#ddd;
	font-weight:bold;
}
.pagenation a{
	color:#0000ff;
	margin:0px;
	padding:5px 10px;
	border:0px solid #fff;
	border-radius:5px;
	font-weight:bold;
	text-decoration:none;
	transition: background 0.2s linear 0s, color 0.2s linear 0s;
}
.pagenation a:hover{
	background-color:#000096;
	color:#fff;
}
.posted-date{
	font-style: italic;
	text-align: right;
}
.posted-content{
	padding-bottom:50px;
}

/* Footer */
footer{
	height:160px;
	width:100%;
	background-color:#999;
}
.footer-left-stripes{
	float:left;
	background:url(../images/stripesleft.gif);
	background-position:right top;
	width:28%;
	height:160px;
}
#footer-left-elements{
	width:100%;
	height:160px;
	background:url(../images/leftedge.png);
	background-position:right top;
	background-repeat:no-repeat;
	overflow:auto;
}
.footer-left-light{
	float:left;
	width:100%;
	height:160px;
	background:url(../images/leftlight.png);
	background-position:left bottom;
	background-repeat:no-repeat;
	overflow:auto;
}
.footer-right-stripes{
	float:right;
	background:url(../images/stripesright.gif);
	background-position:left top;
	width:28%;
	height:160px;
}

#footer-right-elements{
	width:100%;
	height:160px;
	background:url(../images/rightedge.png);
	background-position:left top;
	background-repeat:no-repeat;
	overflow:auto;
}
.footer-right-light{
	float:left;
	width:100%;
	height:160px;
	background:url(../images/rightlight.png);
	background-position:right bottom;
	background-repeat:no-repeat;
	overflow:auto;
}
.footer-mid{
	float:left;
	background-color:#000096;
	width:44%;
	height:160px;
}
#footer-mid-elements{
	margin:0px auto;
	padding:5px 10px;
	max-width:340px;
}

#footer-mid-elements li{
	list-style-type:none;
}
#footer-mid-elements p{
	padding:0px;
	margin:0px;
}
#footer-mid-elements h4{
	display:none;
}
#footer-mid-elements a{
	color:#CDD2FF;
	text-decoration:none;
}
#footer-mid-elements a:hover{
	color:#FFF;
}
#footer-mid-elements img{
	position:relative;
	top:8px;
	right:3px;
}
.footer-mid-left{
	float:left;
	width:170px;

}
.footer-mid-left p{
	height:36px;
}
.footer-mid-left a{

	top:5px;
	padding-top:7px;
	padding-bottom:7px;
	position:relative;
	padding-left:37px;
}
.footer-mid-right{
	float:left;
	width:170px;
}
.footer-mid-right p{
	height:36px;

}
.footer-mid-right a{
	top:5px;
	padding-top:7px;
	padding-bottom:7px;
	position:relative;
	padding-left:37px;
}

/* Socials */
.trucksbookicon{
	height:30px;
	position:relative;
	background:url(../images/trucksbook.png);
	background-position:left top;
	background-repeat:no-repeat;
}
.faceicon{
	height:30px;
	position:relative;
	background:url(../images/facebook.png);
	background-position:left top;
	background-repeat:no-repeat;
}
.twittericon{
	height:30px;
	position:relative;
	background:url(../images/twitter.png);
	background-position:left top;
	background-repeat:no-repeat;
}
.instaicon{
	height:30px;
	position:relative;
	background:url(../images/instagram.png);
	background-position:left top;
	background-repeat:no-repeat;
}
.discicon{
	height:30px;
	position:relative;
	background:url(../images/discord.png);
	background-position:left top;
	background-repeat:no-repeat;
}
.footer-license{
	width:100%;
	height:150px;
	background:url(../images/bvarplate.png);
	background-position:center bottom;
	background-repeat:no-repeat;
	overflow:auto:
}
/* Modes */
.mode-setting{
	list-style-type:none;
	margin:5px 0px 0px 5px;
	width:48px;
	height:28px;
}
.mode-setting .widget-title{
	display:none;
}
body.wp-night-mode-on article{ background:none; background-color:#202124; color:#A0A0A0;}
body.wp-night-mode-on .menu a{ color:#ddd; background: rgba(0, 0, 0, 0.0);}
body.wp-night-mode-on .menu a:hover{ color:#000; background-color:#fff;}
body.wp-night-mode-on .pagenation a{ color:#777;}
body.wp-night-mode-on .pagenation a:hover{ color:#000; background-color:#fff;}
body.wp-night-mode-on .staffmember p a{ color:#ddd;}
body.wp-night-mode-on .staffmember p a:hover{ color:#000; background-color:#fff;}


body.wp-night-mode-on article {min-height: 100%;display: flex;flex-direction: column;align-items: stretch;background: url(../images/backeast_night.jpg) no-repeat fixed top;background-color:#202124;}
body.wp-night-mode-on .main-blue-window{float:left;width:70%;height:100%;background:url(../images/black.png);background-position:left bottom;background-repeat:repeat-x;text-align:center;overflow:hidden;}
body.wp-night-mode-on .right-blue-stripes{float:left;width:15%;height:590px;background:url(../images/blueright_night.gif);background-position:left bottom;background-repeat:no-repeat;overflow:auto;}
body.wp-night-mode-on .left-blue-stripes{float:left;height:590px;width:15%;background:url(../images/blueleft_night.gif);background-position:right bottom;background-repeat:no-repeat;overflow:show;z-index:1;}
body.wp-night-mode-on .footer-right-stripes{background:url(../images/stripesright_night.gif);}
body.wp-night-mode-on .footer-left-stripes{background:url(../images/stripesleft_night.gif);}
body.wp-night-mode-on #footer-left-elements{background:url(../images/leftedge_night.png); background-position:right top; background-repeat:no-repeat; overflow:auto;}
body.wp-night-mode-on #footer-right-elements{background:url(../images/rightedge_night.png);	background-position:left top; background-repeat:no-repeat; overflow:auto;}
body.wp-night-mode-on .footer-mid{float:left;	background-color:#000; width:44%; height:160px;}
body.wp-night-mode-on #footer-mid-elements a{color:#999;text-decoration:none;}
body.wp-night-mode-on #footer-mid-elements a:hover{color:#FFF;}

body.wp-night-mode-on .blog-large-thumbnail{box-shadow: 5px 5px 5px #101010; max-width:800px;}
body.wp-night-mode-on main a{color:#ddd; border:0px solid #fff;}
body.wp-night-mode-on main a:hover{color:#000; background-color:#fff; border:0px solid #fff;}

body.wp-night-mode-on #frontpanels{box-shadow: 5px 5px 5px #101010; border:1px solid #000; background:#303030;}
body.wp-night-mode-on #frontpanels a{color:#ddd; border:0px solid #aaa;}
body.wp-night-mode-on #frontpanels a:hover{color:#000; background-color:#fff; border:0px solid #aaa;}

body.wp-night-mode-on #news{background:none; box-shadow:none;}
body.wp-night-mode-on #news a{ color:#ddd;}
body.wp-night-mode-on #news a:hover{ color:#000; background-color:#fff;}

body.wp-night-mode-on .excerpt{border:1px solid #101010; box-shadow: 5px 5px 5px #101010; background:#303030;}
body.wp-night-mode-on .excerpt a{color:#ddd; top:-12px; border:0px solid #fff;}
body.wp-night-mode-on .excerpt a:hover{color:#000; background-color:#fff; border:0px solid #fff;}

body.wp-night-mode-on a.buttonizer{color:#ddd; margin:20px 5px 0px 0px; border:0px solid #ddd;}
body.wp-night-mode-on a:hover.buttonizer{color:#000;background-color:#fff;}

body.wp-night-mode-on #submit{color:#ddd; background:none; border:0px solid #ddd;}
body.wp-night-mode-on #submit:hover{background-color:#fff; border:0px solid #fff; color:#000;}

body.wp-night-mode-on .comment-meta a{font-size:10px; color:#ddd;}
body.wp-night-mode-on .comment-meta a:hover{color:#000; background-color:transparent;}

body.wp-night-mode-on .comment-reply-link{color:#ddd; font-weight:bold; background:none; border:0px solid #ddd; border-radius:5px; padding:7px 12px; font-weight:bold; transition: background 0.2s linear 0s, color 0.2s linear 0s;}
body.wp-night-mode-on .comment-reply-link:hover{background-color:#fff; border:0px solid #000096; color:#000;}

body.wp-night-mode-on #comment{background-color:#000; color:#ddd; border-color:#000;}
body.wp-night-mode-on #author{background-color:#000; color:#ddd; border-color:#000;}
body.wp-night-mode-on #email{background-color:#000; color:#ddd; border-color:#000;}
body.wp-night-mode-on #url{background-color:#000; color:#ddd; border-color:#000;}

/* Menu */
#menuline{
	width:800px;
	padding:0px;
	margin:0px auto;
	position:relative;
	top:48px;
	z-index:9999;
	overflow:show;
	text-align:left;
}
.menu{
	margin:0px;
	padding:0px;
	list-style-type:none;
	
}
.menu a{
	background: rgba(255, 255, 255, 0.7);
	color:#000;
	padding:5px 10px;
	font-weight:bold;
	border:0px solid #000;
	border-radius:5px;
	text-decoration:none;
	transition: background 0.2s linear 0s, color 0.2s linear 0s;
}
.menu a:hover{
	background-color:#000096;
	color:#fff;
}

.menu li{
	padding-right:5px;
	float:left;
}
.menu-item{
	border-radius:3px;
}
#menuline .sub-menu{
	position:absolute;
	list-style-type:none;
	display:none;
}
#menuline .menu-item-has-children:hover .sub-menu{
	margin:7px 0px;
	padding:0px;
	display:block;
}
#menuline .sub-menu a{
	border:1px solid #ddd;
	background-color:#fff;
	transition: none;
}
#menuline .sub-menu a:hover{
	background-color:#000096;
	border:1px solid #000096;
	transition: none;
}
#menuline .sub-menu li{
	height:29px;
	float:none;
}
a.buttonizer{
	color:#0000ff;
	margin:20px 5px 0px 0px;
	padding:5px 10px;
	font-weight:bold;
	border:0px solid #ddd;
	border-radius:5px;
	text-decoration:none;
	transition: background 0.2s linear 0s, color 0.2s linear 0s;
}
a:hover.buttonizer{
	background-color:#000096;
	border:0px solid #000096;
	color:#fff;
}

.staffmember{padding:1px 0px 0px 0px;margin:0px;min-height:350px;}
.staffmember h1{clear:both; font-size:40px; text-align:left;}
.staffmember img{float:left; padding:0px 20px 20px 0px;}
.staffmember p a{
	float:left;
	color:#0000ff;
	margin-right:5px;
	margin-bottom:50px;
	padding:0px 10px;
	font-weight:bold;
	border:0px solid #aaa;
	border-radius:5px;
	text-decoration:none;
	transition: background 0.2s linear 0s, color 0.2s linear 0s;
}
.staffmember p a:hover{
	background-color:#000096;
	border:0px solid #000096;
	color:#fff;
}

#frontpanels{
	width:28%;
	float:left;
	margin:0px 10px 20px 0px;
	padding:20px;
	box-shadow: 5px 5px 5px #aaa;
	border:1px solid #ddd;
	border-radius:10px;
	background:url(../images/grey.png);
	background-position:left top;

}
#frontpanels h2{
	margin:0px;
	padding:0px;
}
#frontpanels p{
	margin:0px;
	padding:0px;
}
#frontpanels a{
	float:right;
	color:#0000ff;
	margin-right:-12px;
	margin-top:12px;
	margin-bottom:-12px;
	padding:0px 10px;
	font-weight:bold;
	border:0px solid #aaa;
	border-radius:5px;
	text-decoration:none;
	transition: background 0.2s linear 0s, color 0.2s linear 0s;

}
#frontpanels a:hover{
	background-color:#000096;
	border:0px solid #000096;
	color:#fff;

}
#news{
	background: rgba(255, 255, 255, 0.4);
	box-shadow: 0px 0px 50px #fff;
	padding-top:40px;
	padding-bottom:60px;
	clear:both;
	overflow:auto;
}
#news hr{
	border:1px solid #eee;
}
#news h1{
	font-size:50px;
	margin-bottom:10px;
}

.post-nav-links{
	font-weight:bold;
	text-align:center;
}
.post-page-numbers.current{
	margin:5px;
}



#comment{
	width:100%;
}
.comment{
	margin-bottom:50px;
}
.commentlist{
	list-style-type:none;
}
.commentlist p{
	margin-top:0px;
}
#submit{
	color:#0000FF;
	font-size:16px;
	font-weight:bold;
	background:none;
	border:0px solid #ddd;
	border-radius:5px;
	padding:7px 12px;
	font-weight:bold;
	transition: background 0.2s linear 0s, color 0.2s linear 0s;
}
#submit:hover{
	background-color:#000096;
	border:0px solid #000096;
	color:#fff;

}
.comment-reply-link{
	color:#0000FF;
	font-weight:bold;
	background:none;
	border:0px solid #ddd;
	border-radius:5px;
	padding:7px 12px;
	font-weight:bold;
	transition: background 0.2s linear 0s, color 0.2s linear 0s;
}
.comment-reply-link:hover{
	background-color:#000096;
	border:0px solid #000096;
	color:#fff;
}
.comment-meta a{
	font-size:10px;
	color:#000;
}
.comment-meta a:hover{
	color:#000;
	background-color:transparent;
}

/* Events */
.events-table{
	width:100%;
	margin-bottom:100px;
}
.events-table thead th:last-child{
	text-align:left;
	padding-left:30px;
}
.events-table tbody tr{
	background-color:#fff;
	border-bottom:1px solid #aaa;
	box-shadow:5px 5px 10px #ddd;
}
body.wp-night-mode-on .events-table tbody tr{color:#777; background-color:#303030;border-bottom:1px solid #000;box-shadow:5px 5px 10px #101010;}

.events-table tbody tr:last-child{
	border-bottom:0px solid;
}
.events-table tbody tr td:first-child{
	background-color:#eee;
	text-align:right;
	width:30%;
	padding-right:10px;
}
body.wp-night-mode-on .events-table tbody tr td:first-child{background-color:#202020; color:#ddd;}

body.wp-night-mode-on .em-search{background-color:#202124; color:#ddd; border:0px;}


.events-table tbody tr td a{
	margin-left:20px;
}
.event-categories{
	list-style-type:none;
}
ul.event-categories{
	margin-top:-20px;
	margin-left:-2.5em;
}
.nocomments{
	display:none;
}
#reply-title{
	display:none;

}
.comment-notes{
	display:none;
}

/* --| Dynamic overrides |-- */
@media screen and (max-width:1266px){
.footer-license{display:none;}
#footer-mid-elements{max-width:290px;}
article{background:none;}
body.wp-night-mode-on article{background:none; background-color:#202124;}
}
@media screen and (max-width:1093px){
.logo-container{margin-right:4%;}
}
@media screen and (max-width:1020px){
main{width:95%;}
#frontpanels{
	margin:0px auto 20px auto;
	width:88%;
	float:none;
	overflow:auto;
}
.blog-large-thumbnail{
	width:95%;
}
}
@media screen and (max-width:680px){
#menuline{top:30px;width:0px;margin:0px;padding-left:3px;position:absolute;z-index:9999;overflow:show;}
#menuline ul li{display:none;}
#menuline ul:hover li{display:block;}
.menu-mainmenu-container .menu li:first-child{padding-top:12px;}
.menu li{position:relative;top:40px;line-height:30px;float:none;}

.menu a{border:0px solid #fff;background-color:#fff;}
body.wp-night-mode-on .menu a{border:0px solid #fff; background-color:#202124; color:#ddd;}

.menu a:hover{border:0px solid #000096;}

ul.menu{position:relative;width:300px;height:40px;background:url(../images/menu.png);background-position:left bottom;background-repeat:no-repeat;overflow:show;}
body.wp-night-mode-on ul.menu{position:relative;width:300px;height:40px;background:url(../images/menu_night.png);background-position:left bottom;background-repeat:no-repeat;overflow:show;}

#menuline .sub-menu{position:absolute;top:0px;width:300px;left:50px;z-index:998;}
#menuline .sub-menu li{top:0px;margin:0px;padding:0px;float:none;}
#menuline .menu-item-has-children:hover .sub-menu{margin:0px;padding:0px;}
.cs-progress-bar{display:none;}
.crellslider{display:none;}
}
@media screen and (max-width:666px){
#footer-mid-elements{max-width:170px;}
.footer-mid-left a{font-size:10px;}
.footer-mid-right a{font-size:10px;}
}
@media screen and (max-width:485px){
.footer-left-light{display:none;}
.footer-right-light{display:none;}
.container{background-color:#fff;}
body.wp-night-mode-on .container{background-color:#202124;}
}
@media screen and (max-width:432px){
main{background:black; margin-top:800px; margin-right:auto; margin-bottom:0px; margin-left:auto;}
.logo-container{display:none;}
.left-blue-stripes{display:none;}
.right-blue-stripes{display:none;}
.main-blue-window{width:100%;}
.window{width:85%;}
#crellyslider-1{width:800px;}
#menuline{left:8%;}

.footer-mid{width:100%;}
.footer-left-stripes{display:none;}
.footer-right-stripes{display:none;}
#footer-left-elements{display:none;}
#footer-right-elements{display:none;}
}