/*
Design by Metamorphosis Design
http://www.metamorphozis.com
Released for free under a Creative Commons Attribution 2.5 License
*/

body{
  margin:0;
  padding:0;
/*
  background:url(../images/back_all.jpg) no-repeat right top;
  background:#6586B8;
*/
  font:12px Arial,Helvetica,sans-serif;
  color:#003;
}
tr,td,p{
  font-size:16px;
}

#page{
  width:100%;
  background:#004;
}

#content{
  width:990px;
  max-width:990px;
  margin:0 auto;
  background:#6586B8 url("../images/footer.gif") repeat-x scroll 0 0;
  border-right:#fff solid 2px;
  border-left:#fff solid 2px;
}

#topname{
  position:relative;
  margin:0 0 10px 10px;
  width:650px;
  height:60px;
}
#toplogo{
  position:absolute;
  top:15px;
  right:20px;
  z-index:2000;
  width:auto;
}

#back{
  position:relative;
  padding:15px;
}

.navbar{
  background-color:#001c4e;
  background-image:url("/images/navbar.png");
  background-repeat:repeat-x;
  border-radius:10px;
  border:#001c4e solid 1px;
  outline:#fff solid 1px;
  outline-offset:-2px;
  margin-bottom:10px;

}
div .navbar-collapse.collapse.show{
  background-image:url("/images/logotop.png");
  background-repeat:no-repeat;
  background-position:right 25px;
  background-size:25%;
  background-origin:border-box;
}
/*
*/
.navbar-brand{
  background-image: url("/images/logoname.png");
  width: 70%;
  background-position-x: left;
  background-size: contain;
  height: 30px;
  background-repeat: no-repeat;
  margin-top:10px;
  display:none;
}
a.nav-link:link,
a.nav-link:visited,
a.nav-link:hover,
a.nav-link:active{
  font-weight:normal;
  color:#fff !important;
  font-size:0.8em;
  padding-right:15px !important;
}
a.nav-link.active{
    font-weight:bold;
}
.navbar-toggler{
  background-color:#fff !important;
}
a.dropdown-item{
  font-size:0.8em;
}

a:link,
a:visited{
  font-weight:bold;
  color:#193A6C;
}

a:hover,
a:active{
  color:#000099;
}

p{
  line-height:1.6em;
}

#header{
  margin-bottom:15px;
  text-align:left;
}

.header_text{
  margin:0 auto;
  width:820px;
}

.header_image{
  height:300px;
  width:100%; /*930px;*/
  /*
  background:url(/userfiles/images/homebanners/banner01.jpg);
  */
  margin:0 auto;
  border:solid 1px #001c4e;
  border-radius:10px;
  outline:#fff solid 1px;
  outline-offset:-2px;
}
.header_image img{
  height:300px;
  width:100%; /*930px;*/
  border-radius:10px;
}

#main{
  padding:20px;
  background:#fff;
  border:#003 solid 1px;
  border-radius:10px;
}
#main img{
  border:#000 solid 1px;
}

.pagetitle{
  font-size:20px;
  background:#8BB7EB;
  border:#006 double 4px;
  color:#003;
  padding:8px;
  font-weight:bold;
  font-style:italic;
  margin-bottom:15px;
  border-radius:8px;
}


#left{
  float:left;
  width:650px;
  padding-left:0px;
}

#left h4{
  margin:0;
  padding:0px;
  font-size:12px;
  color:#0A254F;
}

#left a{
  color:#0A254F;
}

#left p{
  margin:0;
  padding:0;
  /*
  padding-bottom:10px;
  */
}

#left li{
  line-height:25px;
}
#left li img{
  margin-bottom:-4px;
}

#left h2{
/*
  margin:0;
  padding:0;
*/
  padding-top:10px;
  margin-bottom:10px;
  color:#0A254F;
  border-bottom:#0A254F dashed 1px;
  font-style:italic;
  font-size:1.3em;
}

#right{
  float:right;
  width:240px;
  margin-right:10px;
}
#googlecal{ /* right margin */
  border:solid 1px #777;
  width:100%;
  height:400px;
}
#googlecalfullpage{ /* on calendar.php */
  width:calc(100% + 240px);
}

#awardstable td, #awardstable tr {
  border: #001c4e solid 1px;
}
#right h3{
  margin:0 0 15px 0;
  height:40px;
  line-height:40px;
  font-size:14px;
  font-weight:bold;
  padding:0 0 0 20px;
  text-transform:uppercase;
  color:#ffffff;
  font-style:italic;
  background-color:#001c4e;
  background-image:url("/images/navbar.png");
  background-repeat:repeat-x;
  border-radius:10px;
  outline:#fff solid 1px;
  outline-offset:-3px;
/*
  border:#fff solid 1px;
  background:url(../images/title.png) repeat-x;
  width:240px;
*/
}
#right h3 a{
  color:#fff !important;
}
#right ul{
/*
  list-style:none;
*/
  padding-left:30px;
}

#right li{

}

#right li ul{
  border:0px;
  margin-left:20px;
  margin-bottom:10px;
}

#right li li{
  padding:4px 20px;
  background:url(../images/small.gif) no-repeat left;
  border:0px;
}

#right a{
  color:#193A6C;
  font-weight:bold;
}
#right a:visited{
  color:#193A6C;
}

#right p{
  padding:5px 10px;
}

#footer{
  height:auto;
  clear:both;
  padding:10px 0;
  border-top:5px solid #6586B8;
  background:url(../images/footer.gif) repeat-x bottom;
}

#footer p{
  margin:0;
  font-size:10px;
  text-align:center;
  color:#ffffff;
}

#footer a{
  color:#ffffff;
}
#footer span{
  margin:0 10px;
}


/*=================================*/
/* Nivo Slider Demo
/* November 2010
/* By:Gilbert Pellegrom
/* http://dev7studios.com
/*=================================*/

#slider-wrapper{
/*
  background:url(../images/top.jpg) no-repeat;
  background:url(/userfiles/images/homebanners/banner01.jpg) no-repeat;
*/
  width:930px;
  height:300px;
  margin:0 auto 15px auto;
  border:#000 solid 1px;
}

#slider{
  position:relative;
  width:930px;
  height:300px;
  background:url(../images/loading.gif) no-repeat 50% 50%;
}
#slider img{
  position:absolute;
  top:0px;
  left:0px;
  display:none;
}
#slider a{
  border:0;
  display:block;
}

.nivo-controlNav{
  position:absolute;
  left:260px;
  bottom:-42px;
  display:none;
}
.nivo-controlNav a{
  display:block;
  width:22px;
  height:22px;
  background:url(../images/bullets.png) no-repeat;
  text-indent:-9999px;
  border:0;
  margin-right:3px;
  float:left;
}
.nivo-controlNav a.active{
  background-position:0 -22px;
}

.nivo-directionNav a{
  display:block;
  width:30px;
  height:30px;
  background:url(../images/arrows.png) no-repeat;
  text-indent:-9999px;
  border:0;
}
a.nivo-nextNav{
  background-position:-30px 0;
  right:15px;
}
a.nivo-prevNav{
  left:15px;
}

.nivo-caption{
  text-shadow:none;
  font-family:Arial,Helvetica,sans-serif;
}
.nivo-caption a{
  color:#efe9d1;
  text-decoration:underline;
}

.error{
  color:red;
  margin-bottom:8px;
}



/* RESPONSIVE START */

@media (max-width:989px){
  #content{width:100%;border-right-width:0;border-left-width:0;}
  #topname{max-width:650px;width:75%;height:75%;}
  #toplogo{width:10%;height:auto;}
    #left{width:100%;}
  .header_image{width:100%;height:auto;}
  .header_image img{width:100%;height:auto;}
  #left{width:calc(96% - 240px);}
  #right{width:240px;}
  #googlecalfullpage{width:calc(100% + 240px);}
  tr,td,p{
    font-size:14px;
  }
  a.nav-link:link,
  a.nav-link:visited,
  a.nav-link:hover,
  a.nav-link:active{
    font-size:0.8em;
    padding-right:10px !important;
  }
}
@media (max-width:820px){
  a.nav-link:link,
  a.nav-link:visited,
  a.nav-link:hover,
  a.nav-link:active{
    padding-right:5px !important;
  }
}
@media (max-width:767px){
  #back{padding:8px;}
  #main{padding:10px;}
  #toplogo{display:none;width:90px;height:auto;}
  #topname{display:none;}
  .navbar-brand{display:block;}
  #left{width:100%;float:none !important;}
  #right{width:100%;float:none !important;}
  #googlecal{height:500px;}
  #googlecalfullpage{width:100%;}
}
@media (max-width:500px){
  #googlecal{width:100%;}
}

/* RESPONSIVE END */
