@font-face {
	font-family: "Edwardian Script";
	src: url("../fonts/EdwardianScript.TTF");
}
@font-face {
	font-family: "Permanent Marker";
	src: url("https://fonts.googleapis.com/css?family=Permanent+Marker");
}

/*


Start of the basic styles and mobile styles


*/


/*General styles*/
body{
	background-color:#bbb;
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";margin:0;
}
h1{
	text-align: center;
	color: #012169;
	font-size: 24px
}
h2, h3, h4, h5, h6{
	margin-left: 20px
}
p{
	padding: 0px 10px
}
a{
	color:#012169;
	text-decoration:none;
}
#wrapper{
	margin:0 auto;
	width:100%;
	max-width:1020px;
	background-color:#fff;
	overflow:auto;
}
#font{
	font-family: 'Edwardian Script';
	font-size: 28px
}
#font_2{
	font-family: 'Permanent Marker', cursive;
	font-size: 16px
}
.row {
  display: flex;
}

.column {
  flex: 25%;
  padding: 5px;
}




/*More specific styles*/
/*Header*/
#headerbanner{
	width:100%;
}

/*Nav (mobile)*/
nav #pullmenu {
	display:block;
	width: 100%;
}
nav ul{
	display:none;
	margin:0;
	padding:0;
}
nav a{
	height: 35px;
	display: block;
	line-height:35px;
	color: #fff;
	text-align:center;
	background:#012169;
}
nav a:hover,
.curr{
	background:#8094dd;
}
nav ul > li > ul > li > .curr{
	background:#012169;
}
nav ul li a{
	width:90%;
	margin:2px 5% 1px 5%;
	border-radius:5px;
}
nav > ul > li ul a{
	width:80%;
	margin:0 10% 3px 10%;
	background:#8094dd;
}

/*Slideshow*/
.nivo-controlNav{
	display:none;
}


/*Footer*/
footer{
	border-top:2px solid #666;
	height:auto;
	overflow:auto;
	clear:both;
	font-size:14px;
}
footer a{
	color:#333;
}
footer a:hover{
	text-decoration:underline;
}
footer #ntas{
	display:block;
	margin:0 auto;
}
footer #marsec{
	margin:0 auto;
	display:block;
}
#footertop > a,
#footercontainer > a{
	display:block;
	width:50%;
	margin:5px 0;
	float:left;
	text-align:center;
}
footer a:nth-child(7){
	padding-top:30px;
}
#footercontainer > a{
	width:100%;
}
#footercontainer p{
	width:90%;
	margin:0 auto;
	clear:both;
	padding-top:20px;
	color:#666;
	text-align:center;
}




/*Generic Styles*/
.portrait_img{
	width:80%;
	margin:20px auto 40px auto;
}
.portrait_img img{
	display: block;
	width:60%;
	max-width:200px;
	margin:0 auto;
}
.portrait_img p{
	text-align:center;
	font-style:italic;
	font-size:14px;
}
.column {
	float: left;
	width: 50 %;
	padding: 10px;
}
/*Clear floats after columns */
.row:after {
	content: "";
	display: table;
	clear: both;
}
.tri-buckets{
	margin:0;
	padding:0;
	list-style:none;
	overflow:auto;
	clear:both;
}
.tri-buckets li{
	width:80%;
	margin:10px auto;
}
.tri-buckets img{
	display:block;
	margin:10px auto;
	width:60%;
	max-width:200px;
}
.tri-buckets p{
	text-align:center;
}
.tri-buckets a{
	width:100%;
	display:block;
	text-align:center;
	color:#cc0000;
	line-height:22px;
}
.red{
	font-size: 12px;
	color: #E4002B
}
h4{
	margin-left: 20px;
}
.buttonTable{
	width:90%;
	max-width:800px;
	margin:40px auto;
	overflow:auto;
}
.buttonTable a{
	background:#012169;
	border-radius:5px;
	margin:5px 1%;
	width:48%;
	float:left;
	color:#fff;
	text-align:center;
	padding:10px 0;
	transition:background .3s;
	box-shadow:3px 3px 3px #666;
}
.buttonTable a:hover{
	background:#8094dd;
	box-shadow:none;
	transition:all .3s;
}





@media only screen and (min-width:600px){


footer #ntas{
	float:left;
	margin:5px 20%;
}
footer #marsec{
	margin:20px 20%;
}
footer a{
	width:33%;
}
footer #footercontainer > a{
	width:33%;
	padding-top:10px;
	height:40px;
	float:left;
}
/*
footer #footercontainer > a:first-child{
	padding-top:10px;
}
footer #footercontainer > a:last-child{
	width:100%;
	text-align:center;
	padding-top:10px;
}
*/
footer #footercontainer{
	width:100%;
	max-width:600px;
	margin:0 auto;
	overflow:auto;
}


}



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

#footertop{
	clear:both;
	max-width:610px;
	margin:0 auto;
	overflow:auto;
}
footer #footertop a{
	width:auto;
	padding: 5px 10px;
}


.tri-buckets li{
	float:left;
	width:30%;
	margin:10px 1.5%;
}

}/*end of 768px styles*/


@media only screen and (min-width:1020px){


ul{
	margin-left:50px;
}

/*Nav styles (desktop)*/
nav {
	clear: both;
	border: 1px solid #999;
	font-size: 16px;
	background: #012169;
}
nav #pullmenu{
	display:none;
}
nav ul {
	display:block;
	clear: both;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
nav ul li {
	float: left;
	margin: 0 3px;
	padding: 0;
	background: #012169;
}
nav ul li:first-child{
	margin-left:0;
}
nav ul li a {
	height: 45px;
	display: block;
	line-height:45px;
	color: #fff;
	padding: 0 5px;
	width:100%;
	margin:0;
	border-radius:0;
}
nav a:hover, nav .curr, nav ul li ul li a:hover, nav ul > li:hover > a {
	background: #8094dd;
}
nav ul > li > ul > li > .curr{
	background:#8094dd;
}
nav ul li ul {
	width: 620px;
	position: absolute;
	border: none;
	max-height: 0;
	height: 800px;
	z-index: 99;
	font-size: 16px;
}
nav ul > li:hover > ul {
	max-height: 600px;
	transition: max-height 1s ease-in-out;
}
nav ul > li:nth-child(5):hover > ul {
	max-height: 560px;
	transition: max-height 1s ease-in-out;
}
nav ul > li:nth-child(7):hover > ul {
	max-height: 560px;
	transition: max-height 1s ease-in-out;
}
nav ul > li:nth-child(9):hover > ul {
	max-height: 525px;
	transition: max-height 1s ease-in-out;
}
nav > ul > li > ul > li:first-child {
	padding-top:0;
}
nav ul li ul li {
	float: none;
	margin: 0;
	padding:0;
	position: relative;
	text-align: center;
	width: 230px;
}
nav > ul > li ul a{
	background: #012169;
	width: 230px;
	margin:0;
	padding:0;
	border-right: none;
	border-top: 1px solid #fff;
	height:30px;
	line-height:30px;
}

.slider-wrapper{
	padding:20px;
	background:#eee;
}
.nivo-controlNav{
	display:block;
}

.buttonTable a{
	width:31%;
}

/*Footer*/
footer{
	clear:both;
	font-size:12px;
	overflow: hidden;
	position:relative;
}
footer #ntas{
	margin:0;
	left:30px;
	top:15px;
	position:absolute;
}
footer #marsec{
	margin:0;
	position:absolute;
	right:30px;
	top:15px;
}
#footertop{
	max-width:500px;
	margin:0 auto;
}
footer #footertop a{
	width:auto;
	padding: 5px 10px;
}
#footercontainer p{
	padding:10px 0;
}





}
