#pagebox { position: relative; margin: 0 !important; padding: 0 !important width: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden;}

.headerline {	width: 100%; }
.headerbox { color: #000; padding: 3px; }

#headerline-sitechooser {	background-color: #eee; }

#headerbox-sitechooser { font-family: opensans-cb; font-size: 16px; text-transform: uppercase; color: #000; padding: 3px; }
#headerbox-sitechooser span {	vertical-align: middle; }
#headerbox-sitechooser .btn { text-shadow: none !important; }
#headerbox-sitechooser .btn-light:hover {	border-color: #006; background-color: #00b;	background-image: none;	color: #fff; }
#headerbox-sitechooser .btn-light.active { border-color: #a00; color: #fff; background-color: #f00; }
#headerbox-sitechooser a>img { opacity: 1; transition: opacity: .5s; cursor: pointer; }
#headerbox-sitechooser a>img:hover { opacity:.7; transition: opacity .5s; }
#headerline-main { background: #000e23; background: -moz-linear-gradient(top, #000e23 0%, #001c44 70%); background: -webkit-linear-gradient(top, #000e23 0%,#001c44 70%); background: linear-gradient(to bottom, #000e23 0%,#001c44 70%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000e23', endColorstr='#001c44',GradientType=0 ); }
#headerbox-main { position: relative; }
#headerbox-main #logo { max-width: 145px; min-width: 100px; width: 100%; display: block; }
#headerbox-main #logo>img { width: 100%; height: auto; }
#headerbox-main #slabtext-wrapper {	color: #fff; font-family: alegreya-sb; text-transform: uppercase; white-space: nowrap; font-size: 1.5vw; }

#leaderboardline {
	background: rgb(175,172,172);
	background: -moz-linear-gradient(top, rgba(175,172,172,1) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(top, rgba(175,172,172,1) 0%,rgba(255,255,255,1) 100%);
	background: linear-gradient(to bottom, rgba(175,172,172,1) 0%,rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#afacac', endColorstr='#ffffff',GradientType=0 );
}

#slabtext-wrapper p { line-height: 1; margin-bottom: 0; padding-top: 5px; }
#slabtext-wrapper p:nth-child(1) { text-transform: initial; text-align: center !important; text-align-last: initial; padding-top: 0; font-stretch: ultra-expanded; }
#slabtext-wrapper p:nth-child(2) { font-size: 135%; }
#slabtext-wrapper p:nth-child(3) { font-size: 90%; }


/* NAVIGATION */
#navline { border-bottom: 5px solid #001c44;}
.navbar {	font-family: ptsans-narrow-bold; }
.navbar-nav .nav-item.show { background-color: #001c44; color: #ff0; }
.navbar-nav .nav-item.show > a.navlink { color: #ff0; }
.navbar-nav .dropdown-menu { background-color: #001c44; padding-top: 0; padding-bottom: 0; margin-top: 0; border: 5px solid var(--primary); }
.navbar-nav .nav-item, .navbar-nav .dropdown-item { color: #fff; }
.navbar-nav .nav-item { font-size: 1rem; text-transform: uppercase; }
.navbar-nav .nav-item.active { background: #001c44; }
.navbar-nav .dropdown-item { font-size: 1.3rem; text-transform: initial;}
.navbar-nav .dropdown-item:hover { background: var(--info); color: #eee !important; transition: background-color .2s, color .1s; }


.news-alert-bar {
	width: 100%;
	padding: 1%;
	margin: 10px 0 25px 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	background: #ac0000;
	font-family: 'opensans-cb', arial;
	font-size: 18px;
	text-align: center;
	color: #ffffff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-transition: all 0.6s ease;
	-webkit-transition: all 0.6s ease;
	transition: all 0.6s ease;
}

.news-alert-bar:hover{
	cursor: pointer;
	background: #ff0000;
	-moz-transition: all 0.6s ease;
	-webkit-transition: all 0.6s ease;
	transition: all 0.6s ease;
}

/* LEADERLINE MARKETING */



/* CONTENTLINE */

#contentline { background-color: #fff; }

.pageheaderbox {  }

.pageheaderbox .pageheader-mcw div.himg { width: 40px; height: 40px; background-image: url('/images/site/template/deco-carnival.png'); }
.pageheaderbox .pageheader-maw div.himg { width: 40px; height: 40px; background-image: url('/images/site/template/deco-parks.png'); }





#contentbox-sidebar { max-width: 360px; min-width: 120px; }

.bg-ultralight { background: #eee !important; }



#footerline {	width: 100%; border-top: 5px solid var(--secondary);  }
.footerbox { color: #000; padding: 3px; color: var(--light);}
.footerbox a { color: #fff; }
.footerbox a:hover {color: #ededed; }
.footerbox h4 { border-bottom: 1px dashed var(--light); padding-top: 1rem; }







/* content-utility-classes */
.card-header .header-mcw div.himg { width: 50px; height: 40px; background-image: url('/images/site/template/deco-carnival.png'); background-repeat: no-repeat; }
.card-header .header-maw div.himg { width: 50px; height: 40px; background-image: url('/images/site/template/deco-parks.png'); background-repeat: no-repeat; }


div.addthis_toolbox.addthis_32x32_style span.at-icon-wrapper { height: auto !important; }
div.addthis_toolbox.addthis_16x16_style span.at-icon-wrapper { height: 20px !important; }
div.addthis_toolbox.addthis_16x16_style .addthis_counter.addthis_bubble_style { margin: 2px 0 0 0; }
div.addthis_toolbox a { line-height: unset; margin-bottom: 0; }


/* utility classes */
.btn-bgfade {	transition-delay: 0s;	transition-duration: 0.15s;	transition-property: border-color, background-color, background-image, color; }
.btn-bgfade:hover {	transition-delay: 0s;	transition-duration: 0.15s;	transition-property: color, background-image, background-color, border-color; }
.btn-block { font-weight: 700; }

.dropdown-toggle { white-space: nowrap; }

.card.border-0 ul.list-group-flush > li.list-group-item { }
.card.border-0 ul.list-group-flush > li.list-group-item > a { font-family: avenirnext-csb; font-weight: normal; }
.card.border-0 ul.list-group-flush.haslinks > li.list-group-item { transition: background .4s; }
.card.border-0 ul.list-group-flush.haslinks > li.list-group-item:hover { background: #ccc !important; transition: background .4s; }
/*
h1 { font-size: calc(21px + (26 - 21) * ((100vw - 576px) / (1400 - 576))); }
h2 { font-size: calc(20px + (24 - 20) * ((100vw - 576px) / (1400 - 576))); }
h3 { font-size: calc(18px + (20 - 18) * ((100vw - 576px) / (1400 - 576))); }
h4 { font-size: calc(16px + (18 - 16) * ((100vw - 576px) / (1400 - 576))); }
h5 { font-size: calc(16px + (18 - 16) * ((100vw - 576px) / (1400 - 576))); }
*/

/* font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width]))); */



h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { text-decoration: none; }

.dropdown-menu > li.dropdown-item { cursor: pointer; transition: all .3s; background-image: none !important;}
.dropdown-menu > li.dropdown-item:hover { background-color: var(--primary); color: var(--white); }
.dropdown-menu > li.dropdown-item:focus { }

.bg-gradient-light { transition: all .4s; }


.sitebtn { display: inline-block; font-weight: 400; text-align: center; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; color: #fff; background: #00419b linear-gradient(180deg, #265eaa, #00419b) repeat-x; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); border: 1px solid #00419b; padding: .375rem .75rem; margin-top: .25rem; margin-bottom: .25rem; font-size: 1rem; line-height: 1.5; border-radius: .25rem; transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; }
.sitebtn:hover { color: #fff; background: #003175 linear-gradient(180deg, #265089, #003175) repeat-x; border-color: #002c68; text-decoration: none; }
.sitebtn.focus, .sitebtn:focus { outline: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075), 0 0 0 .2rem rgba(38, 94, 170, .5); }
.sitebtn.disabled, .sitebtn:disabled { color: #fff; background-color: #00419b; border-color: #00419b; background-image: none; opacity: .65; box-shadow: none; }
.sitebtn:not(:disabled):not(.disabled) { cursor: pointer; }
.sitebtn:not(:disabled):not(.disabled).active, .sitebtn:not(:disabled):not(.disabled):active { box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); color: #fff; background-color: #002c68; background-image: none; border-color: #00265b; }
.sitebtn:not(:disabled):not(.disabled).active:focus, .sitebtn:not(:disabled):not(.disabled):active:focus { box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125), 0 0 0 .2rem rgba(38, 94, 170, .5); }
a.sitebtn.disabled, fieldset:disabled a.sitebtn { pointer-events: none; }






.btn, .sitebtn {
  font-family: avenirnext-csb !important; font-weight: normal !important;
  text-shadow: 1px 1px 1px #000000;
 }
 .btn > .badge { text-shadow: none !important; }

.altFont { font-family: avenirnext-csb !important; font-weight: normal !important; }


/* MQ AREAS */

@media (min-width: 1280px) {
	.navbar-nav .nav-link { font-size: 120% }
}

@media (min-width: 1200px) and (max-width: 1280px) {
	#headerbox-main #slabtext-wrapper {
		/* font-size: .9rem !important; */
	}
}

@media (max-width: 768px) {
	#contentbox-sidebar { width: 100%; margin-left: auto; margin-right: auto; max-width: 600px;}
	#headerbox-main-flex {
		text-align: center;
	}
	#headerbox-main #slabtext-wrapper {
		font-size: 3.6vw;
	}
	.card-header div.himg { background-size: 100%; height: 26px !important; width: 26px !important; margin-right: .25rem; }
	.pageheaderbox .pageheader-mcw div.himg, .pageheaderbox .pageheader-maw div.himg { background-size: 100%; height: 26px !important; width: 26px !important; margin-right: .25rem; }


}

@media (min-width: 960px) and (max-width: 1200px) {
	.navbar-nav .nav-link { font-size: 110% }
}

@media (min-width: 720px) and (max-width: 960px) {
	.navbar-nav .nav-link { font-size: 85% padding-top: 10px; padding-bottom: 10px; }
}

@media (max-width: 720px) {
	.navbar-nav { border-top: 3px solid #001c44; }
	.navbar-nav .nav-item { border-bottom: 1px solid #001c44; }
	.navbar-nav .nav-link { font-size: 130% !important; }
	.navbar-nav .nav-link.dropdown-toggle::before {	display: inline-block; margin-left: 10px;	content: ' '; }

	.navbar-nav .dropdown-item { padding-left: 10px; padding-right: 10px; font-size: 120% !important;}
	.navbar-nav .dropdown-item:hover  { background: var(--primary) !important; transition: background .2s, color .1s; }


}

.pageheaderbox h1, .pageheaderbox h2 { color: var(--alternate); text-transform: uppercase; }
.pageheaderbox h3, .pageheaderbox h4 { color: var(--dark); text-transform: uppercase; }
.pageheaderbox h4, .pageheaderbox h5 { font-style: italic; }

.card-header .header-maw h1, .card-header .header-maw h2, .card-header .header-maw h3, .card-header .header-maw h4,.card-header .header-mcw h1, .card-header .header-mcw h2, .card-header .header-mcw h3, .card-header .header-mcw h4  {text-transform: uppercase;}
.header-maw h5, .header-mcw h5 { font-style: italic; font-size: 95%; }
.pageheaderbox h3 a, .pageheaderbox h4 a, .header-maw h5 a, .header-mcw h5 a, .pageheader-maw h5 a, .pageheader-mcw h5 a { color: var(--black); }
.pageheaderbox h3 a:hover, .pageheaderbox h4 a:hover, .header-maw h5 a:hover, .header-mcw h5 a:hover, .pageheader-maw h5 a:hover, .pageheader-mcw h5 a:hover { color: var(--gray); }

.card-header .header-maw h4, .card-header .header-mcw h4 {font-size: 1rem;}

@media (max-width: 576px) {
	h1 { font-size: 4.6vw; }
	h2 { font-size: 4.2vw; }
	h3 { font-size: 3.8vw; }
	h4 { font-size: 3.6vw; }
	h5 { font-size: 3.4vw !important; }
}

@media (max-width: 480px) {
	#headerbox-main #slabtext-wrapper {
		font-size: 4vw;
	}

	h1 { font-size: 4.6vw; }
	h2 { font-size: 4.4vw; }
	h3 { font-size: 4.6vw; }
	h4 { font-size: 4.4vw; }
	h5 { font-size: 4vw !important; }

}


