﻿html {
	margin: 0;
	padding: 0;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	position: relative;
}
body {
    margin: 0 auto;
    padding: 0;
    width: 100vw;
    height: 100vh;
    border: 0;
    background: white;
    z-index: 1;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 17px !important;
    line-height: 18px;
    color: #333333;
    overflow-x: hidden;
    position: relative;
}

.top {
    top: 0;
    height: 90px;
    min-width: 100%;
    margin: 0 auto;
    position: fixed;
    box-sizing: border-box;
    z-index: 1001;
    -ms-transition: top 0.5s;
    -o-transition: top 0.5s;
    -webkit-transition: top 0.5s;
    transition: top 0.5s;
}

.scroll{
	height: calc(100% - 92px); 
	margin: 0 auto;
	box-sizing: border-box;
	position:relative;
	top: 90px;
    z-index: 2;
}

.renderBody {
	min-height: calc(100% - 2.1em); /*5em -> 4em -> 3em*/
	height: auto;
     background:linear-gradient( 
            transparent,
     rgba(255,255,255,0.3) 39px,
      rgba(255,255,255,0.5) 88px,
             rgba(255,255,255,0.7) 124px,
            rgba(255,255,255,0.8) 138px,
              rgba(255,255,255, 0.9) 161px)  
}


#noSS{ display: none; }
#topbackground {
    height: 90px;
    background: white;
    overflow: hidden;
    position: fixed;
    width: 100%;
}
.background{
    text-align: center;
    position: absolute;
    width: 100vw;
}

#topbackground img { background-color: white; }
.background img{
    width: 100%;
    position: relative;
    top: -160px;
}

#bckgroundImage{ position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -5;
    opacity: .2;
}

.content {
    margin: 0 auto;
    padding: 0.5% 0 0;
	min-height: calc(100% - 105px);
    width: 100%;
}

/*header*/
header {
	margin: 0 auto;
	z-index: 999;
	position: relative;
    height: 90px;
    width: 100%;
}

.header-bg {
	display:block;
	height:90px;/* this was height:100px; -nav ul   *** and needs testing if it broke anything. (It was sending an error in visual studio) */
    top: 0;
    z-index: 1001;
    position: absolute;
}

.brand img{ height: 100%; }

/*header end*/
a:link, a:visited, a:active {
	color: #0234cd;
	text-decoration: none;
}
/*menu*/
.aboutbtn:hover > .dropdown-content , .port:hover >  .dropdown-content{
    display: inline-block;
    z-index:3;  
}

.dropdown-content {
    display: none;  
    background-color: rgba(255, 255, 255, 0.90);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    overflow: hidden;
    color:  rgb(128,0,0) !important;
    position: absolute;
    width: 20%;
}

.dropdown-content > a, .dropdown-content > li >a {
    display: block;
    color:   #7e6000;
    font-size: 16px;
    padding: 4% 5% 4% 4%;
    text-indent: 6px;
    line-height: 30px;
    font-weight: normal;
}

.dropdown-content > a:hover, .dropdown-content > li >a:hover {
      background:linear-gradient( to right,
            rgb(128,0,0),
            rgb(128,0,0) 6%,
            #88c1f154 6%);
    color: #17329d !important;
    font-weight: 600;
    /*font-family: monospace;*/
}

#primary-nav {
	margin-top: 30px;          /*78px;*/
    float: right;
}
#primary-nav ul:not(.dropdown-content) {  display: table; }

#primary-nav ul:not(.dropdown-content) > li {
	display: table-cell;
	width: auto;
	/*padding: 0 1% 0;*/
    white-space: nowrap;
    float:none;
}

	#primary-nav ul:not(.dropdown-content) > li > a {
		display: block;
		line-height: 40px;
	    font-size: 0.7em;
		text-decoration: none;
        text-transform: uppercase;
		border-radius: 0px;
		letter-spacing: 1px;
		font-family: Arial;
        text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
	}


#primary-nav ul:not(.dropdown-content) > li > a:hover, #primary-nav ul:not(.dropdown-content) > li > a:focus, #primary-nav ul:not(.dropdown-content) > li > a:active
{
    color: #17329d; /*#A13735;*/ /*#c3bf06;*/  
	/*font-weight: bold;*/                   /*used to be whitesmoke*/
    text-shadow: 0 0 0.01px black, 0 0 0.01px black;
	-webkit-transition-delay: 0s; 
	  transition: all 0.45s cubic-bezier(0.000, 0.000, 0.230, 1);
    background-position: 0%;
}


#primary-nav ul:not(.dropdown-content) > li.current > a:hover   {
	font-weight: bolder;  
}

/*footer styles*/
#footer_buttom {
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: white;
    font-size: 14px;
}

#footer_buttom p {
	border-top: 1px solid #ddd;
	width: auto;
	padding:0.7em 0;
	color: #999;
	font-size: 12px;
	margin: 0 auto;
	text-align: center;
     font-family: 'Roboto';
}

/*footer end*/

.table{
    /*vertical-align: middle;
    display: table-cell;*/
    /*position: relative;*/
}

.nav-button { display: none; } /* hide the navigation button by default */

/*This is for info Views*/
.verticalCenter {
	display: flex;
	flex-direction: column;
	justify-content: center;
	resize: vertical;
	text-align: center;
}

/*General style*/
i, cite, em, var, address, dfn {
	font-style: italic;
}

span#and { font-style: normal;}
em{ line-height: 1.2 !important; }

.bold, strong, b {font-weight: bold; }
p { 
	font-family: 'Abadi';
	line-height: 1.5;
    color: black;
    font-size: 1em;
}

img { -ms-interpolation-mode: bicubic; }

a:link:hover{
    color: #4A75BF;
    text-decoration: none;
}
a:hover {
	color: #4A75BF;
	text-decoration: underline;
}

a.footerlink, a.footerlink:hover { color: #848484; }

h1 {
    /*font-family: Calibri;*/
    font-size: 3em;
    font-style: normal;
    font-variant: normal;
    position: relative;
    line-height: 28px;
    padding: 35px 0;
    margin-bottom: 0;
}

h1.title {
    margin: 0% 0 1%;
    color: #7e6000;
    text-shadow: 1px 1px 2px rgba(205, 204, 204, 0.8);
    font-size: 2em;
}

h2{
    color: rgb(128,0,0);
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 3%;
    margin-top: 0 !important;
    line-height: 24px;
    font-family: 'Roboto';
    text-shadow: 1px 1px 2px rgba(210, 207, 207, 0.8);
}

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
	font-size: 1px;
	margin-top: 10px;
}
.clearfloat {
	clear: both;
	font-size: 0;
	line-height: 0;
}

/*General end*/
#post {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/*TEXT STYLES*/
p.intro {
	color: rgb(128,0,0);
    line-height: 28px;
    font-family: 'Book Antiqua';
    text-align: center;
}

/* --- WIDTH RESPONSIVENESS --- */
/*mobile*/
@media only screen and (max-width: 600px) {
    .background img{
        width: 230%;
        height: 100%;
        left: -30px;
        top: -62px;
    }
    
    .background{
        width: 100%;
        overflow: hidden;
    }
    header { width: 100%; }
	
    .header-bg { margin-left: 1em; }


    .brand img { height: 85%;   margin-left: 1%; }
	
    .scroll { background: none; }

    .content {
        width: 100%;
        padding: 0;
    }

    #mainNav { margin-right: 0; }

    .nav-button { right: 1px;   width: 40px;}

    .fa-bars{ display:block !important; }

 
    #footer_buttom {
        height: auto;
        position: relative;
        bottom: 0;
    }
    #footer_buttom p {
        font-size: 0.7em;
        margin:1em 0 0 0;
        padding: 10px 0;
    }  
    #footer_buttom p span { margin-left:3px; }  

    p { padding: 0 0 10px; font-size:1em;}

    p.intro {
        font-size: 18px;
        line-height: 20px;
    }


    .renderBody {
        background: linear-gradient(
                                   transparent,
                                   rgba(255, 255, 255, 0.5) 4%,
                                   rgba(255, 255, 255, 0.8) 7%,
                                   rgba(255, 255, 255, 0.9) 9%)
    }

    .header-bg{ margin-left: 1vw; }

    h1.title {
        text-align: center;
        line-height:1;
        margin: 0; 
    }
    h1 {
        font-size: 2.7em;
        padding: 23px 0;
    }
}

/*tablet*/
@media screen and (min-width: 600px) {
    .fa-bars{ display: block !important; }
    p.intro {
        font-size: 20px;
        line-height: 22px;
    }
    #footer_buttom {  overflow: hidden;}
   .background img{ width: 1035px; top: -100px;}
}

@media only screen and (min-width: 768px) {  /* NAV color animation*/
    #primary-nav ul:not(.dropdown-content) > li > a{
        padding: 0 10px;
        text-decoration: none;
        font-size: 0.6em;
        border-radius: 0px;
        transition-delay: 0.1s;
        letter-spacing: 1px;
        -webkit-background-clip: text;
        background-size: 200% 100%;
        background-position: 100%;
        -webkit-transition-duration: 0.45s;
        transition-duration: 0.45s;
    }

    /** NAV BAR ANIMATIONS **/
    #primary-nav ul:not(.dropdown-content) > li.current > a , #primary-nav ul:not(.dropdown-content) > li.current{
        /*-webkit-background-clip: text;*/
        color: #17329d;
        background-size: 200% 100%;
        background-position: 100%;
        font-weight: 900;   
    }

     #primary-nav ul:not(.dropdown-content) > li.current > a:before{
          content: "";
            position: absolute;
            z-index: -1;
            left: 0;
            right: 100%;
            bottom: 5%;
            background: rgb(128, 0, 0);
            height: .1em;
     }
    #primary-nav ul:not(.dropdown-content) > li.current:before {
        content: "";
        position: absolute;
        z-index: -1;
        left: 0;
        right: 100%;
        bottom: 5%;
        background: rgb(128, 0, 0);
        height: .1em;
    }
}

@media screen and (max-width: 992px) {	
	.header-bg {
		height:90px;
		position: absolute;
		z-index: 1001;
		left: 0;
		padding-left: 1vw;
	}

	.brand img { height: 90%; }
    p:not(.intro) { padding: 0 0 12px; }

   /*mobile menu */
	#mainNav {
		width: 100%;
		background: white;
		z-index: 1000;
    }

	#primary-nav{
		z-index: 998;
		height: 40px;
		height: auto;
		margin-top: 40px;
      
	}
	/* Navigation Button*/
	.nav-button {
		display: block;
		width: 50px;
		height: 35px;
		background: white;
		cursor: pointer;
		border: 0;
		border-radius: 5px;
		z-index: 1000;
		font-weight: 600;
		color: black;
		position: absolute;
		right: 10px;
		top: 25px;
	}
	
	#primary-nav li a:hover { padding-left: 2.5em; }
	.nav-button.open { background-color:#72A7F1;  }
	/* Navigation Bar*/
	#primary-nav ul:not(.dropdown-content) {
		margin: 50px 0 0 0;
		padding:0;
		height: auto;
		position:relative;
		text-align: left;
		width: 100%;
		display: none;
        font-size: 0.8em;
	    top: 0;
	}
    .dropdown-content > a, .dropdown-content > li >a{
        /*color:white;*/
        padding: 1% 0 1% 4%;
    }

	
	#primary-nav ul:not(.dropdown-content) > li.current > a, #primary-nav ul:not(.dropdown-content) > li.current {
		background-color: #72a7f1;
        overflow: hidden;
	}

	#primary-nav>ul:not(.dropdown-content)>li {
		display: block;
		width: 100vw;
		position: static;
		float: none;
		position: relative;
		/*height: 40px;*/
		border-bottom: 1px solid #193048; 
		top: 0;
		z-index: 998;
		background: #4A75BF;
	}
	#primary-nav ul:not(.dropdown-content) > li > a {
		display: block;
		padding:0 5vw;
		font-size: 1.4em;
		font-weight: normal;
		color: white;
		border-right: 0;
		height: 40px;
		margin-bottom: 0;
		z-index: 999;
		background: none;
	}

    #primary-nav ul:not(.dropdown-content) > li > a{
        font-size: 14px;
        padding: 0 5px;
        text-shadow: none;
    }
   
	#primary-nav li.current a { background-color:#72A7F1; }
	#primary-nav ul:not(.dropdown-content) > li:first-child { border-top: 1px solid #193048;}
    h1.title{  padding: 12px 0;  }
}

@media screen and (min-width: 992px) {
   #primary-nav ul:not(.dropdown-content) > li > a {  line-height: 34px; }

   #primary-nav >ul:not(.dropdown-content)> li > a{
       font-size: 0.7em;
       color: #4A75BF;
   }
 
   .content, header{ width: 76%; }
   p.intro{ font-size: 1.4em; }
   .background img { width: 74%; top:-75px;}
}

@media screen and (max-width: 1215px){
    #primary-nav ul:not(.dropdown-content) > li{ padding: 0;}
}

@media screen and (min-width: 1245px) {
    p.intro {  font-size: 1.6em;}
    p:not(.intro){font-size:1em;}
}

@media screen and (min-width: 1536px) {
      p:not(.intro){font-size:1.2em;}
     #primary-nav ul:not(.dropdown-content) > li > a {
            font-size: 0.7em;
     }
     .content, header{ width: 64%; }
     .background img { width: 62%; top: -102px;}
     h1.title{ font-size:2.5em;}
     /*p.intro{ font-size: 1.7em;}*/
}


/*@media screen and (min-width: 1)*/

@media screen and (min-width: 2065px) {
   p:not(.intro) {  font-size: 1.3em; }
   p.intro { font-size: 2.2em; }
   .content, header{ width: 54%; }
   .background img { width: 52%; top:-115px;}
   h1.title{ font-size: 2.2em;}
}

/* --- HEIGHT RESPONSIVENESS --- */

@media screen and (max-height: 680px) {
    #post{padding: 0 0 0.5%;}
    /*.renderBody {
        background: linear-gradient( transparent, rgba(255,255,255,0.4) 5px, rgba(255,255,255,0.5) 10px, rgba(255,255,255,0.7) 95px, rgba(255,255,255,0.8) 113px, rgba(255,255,255, 0.9) 132px);
    }*/
}

@media screen  and (min-height: 680px) {
    .renderBody{
       background: linear-gradient( transparent,  rgba(255,255,255,0.3) 2%, rgba(255,255,255,0.5) 7%, rgba(255,255,255,0.8) 12%, rgba(255,255,255, 0.9) 20%)
    }
   
    #post{  padding: 0.5% 0 0.5%;}
    h1.title {  margin: 0;}

}

@media screen and (min-height: 724px){
    .background{ height: auto;}
}
@media screen and (min-height: 810px) {
    .renderBody {
           background: linear-gradient( transparent,  rgba(255,255,255,0.3) 7%, rgba(255,255,255,0.5) 11%, rgba(255,255,255,0.8) 15%, rgba(255,255,255, 0.9) 19%);
    }
}
@media screen and (min-height: 937px){
    #post{ padding: 2% 0 0.5%; }
}

@media screen and (min-height: 1024px ){
}

@media screen and (min-height: 1300px) {
}