body {
    /*background: black url('../images/light-car-inside-black_1500px_wbg.jpg') no-repeat;*/
    background: black;
    background-size: 100%;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    
    font-family: Lato,Arial;
}

#bodycontwide {
    display: block;
    width: 100%;
    padding-top: 0px;
}

#topbar, #navbar, #bottombar, #linkbar {
    display: block;
    margin: 0px 0px 0px 0px;
    padding: 2px 1% 2px 1%;
    line-height: 30px;
    height: 30px;
    background-color: #006480;
    text-align: center;
    color: #FFFFFF;
}
#bottombar {
    height: 60px;
}
#linkbar {
    height: 150px;
}
#linkbar ul.mainbar {
    list-style-type: none;
    /*display: inline;*/
    display: block;
}
#linkbar ul:not(dropdown) li { 
    /*display: inline;*/
    display: block;
    text-align: left;
    width: 60%;
}
#topbar a, #navbar a, #bottombar a, #linkbar a {
    font-weight: normal;
    color: #FFFFFF;
    text-decoration: none;
    font-family: Lato,Arial;
    padding-right: 10px;
    padding-left: 20px;
}
#topbar a:hover, #navbar a:hover, #bottombar a:hover, #linkbar a:hover {
    color: black;
}

#bodycont {
    display: block;
    width: 100%;
    margin: 0px auto 0% auto;
    border-left: 0px solid black;
    border-right: 0px solid black;
    border-radius: 0px;
    min-height: 500px;
    
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0.8+0,1+100 */
    background: -moz-linear-gradient(top, rgba(255,255,255,0.8) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.8) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ccffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

#logobar {
    text-align: center;
    background-color: #FFFFFF;
    display: block;
    padding: 0px 5% 0px 7%;
    border-top: 0px solid #FF694B;
    border-bottom: 0px solid #FF694B;
}
#logobar img {
    max-width: 100%;
    height: auto;
}
#logobar a {
    display: inline-block;
    margin: 4px 2px 4px 7px;
    padding: 1px 8px 1px 8px;
    text-decoration: none;
    font-weight: bold;
    color: #006480;
    line-height: 30px;
}
#logobar a:hover {
    background-color: #eaeaea;
}


#pagecont {
    display: block;
    margin: 0px auto 0px auto;
    /*width: 90%;
    padding: 5px 5px 10px 5px;*/
    width: 100%;
    padding: 0px 0px 10px 0px;
    border-top: 0px solid #006480;
    font-family: Lato,Arial;
}

#pagecont p.unilogo {
    display: block;
    text-align: center;
}
#pagecont p.unilogo img {
    max-width: 40%;
    height: auto;
    margin-right: 5px;
    margin-left: 5px;
}

#pagecont h2 {
    display: block;
    font-size: 120%;
    background-color: #EAEAEA;
    padding: 5px 5px 5px 5px;
    border-radius: 5px;
    
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#eaeaea+0,ffffff+100 */
    background: #eaeaea; /* Old browsers */
    background: -moz-linear-gradient(left, #eaeaea 0%, #ffffff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #eaeaea 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #eaeaea 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaeaea', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
}
#pagecont p {
    display: block;
    font-size: 100%;
    line-height: 150%;
    padding: 5px 5px 5px 5px;
    text-align: justify;
}

#pagecont #pageimg {
    text-align: center;
}
#pagecont #pageimg img {
    max-width: 90%;
    height: auto;
}

#pagefoot {
    width: 100%;
    margin: 0px auto 0px auto;
    padding: 0px 0px 0px 0px;
    display: block;
}

#pagetop {
    width: 70%;
    margin: 0px auto 0px auto;
    padding: 0px 20px 0px 20px;
    display: block;
    height: 20px;
    
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,000000+100 */
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,0.7) 70%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.7) 70%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0.7) 70%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */    
}

#backgrad {
    display: none;
    position: fixed;
    bottom: -10%;
    left: 0px;
    width: 100%;
    height: 20%;    
    
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,000000+100 */
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */    
}

/* for drop down menu */
#primary_nav_wrap {
  /*float: left;*/
  width: 100%;
}
#primary_nav_wrap ul {
  display: block;
  text-align: center;
  margin: 0;
  padding: 0;
}
#primary_nav_wrap ul li {
  /*display: inline-block;
  position: relative;*/
  display: block;
}
#primary_nav_wrap ul li ul {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  display: none;
  text-align: left;
  background-color: #006480;
  padding-top: 4px;
}
#primary_nav_wrap ul li ul li {
  display: inline;
}
#primary_nav_wrap ul li ul ul {
  display: none;
  top: 0;
  left: 100%;
}
#primary_nav_wrap ul li:hover > ul {
  display: block;
}

div.imageholder {
  display: inline;
  float: right;
  padding-left: 20px;
}

#pagecont img {
    display: block;
    width: 90%;
    height: auto;
    margin: 2px auto 2px auto;
    text-align: left;
}

#pagecont a:not(.rimg) {
    color: #006480;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid #FF694B;
}

img.halfwidthimg {
    max-width: 45%;
    padding: 15px 2% 15px 2%;
    height: auto;
}
img.fullwidthimg {
    max-width: 96%;
    padding: 15px 2% 15px 2%;
    height: auto;
}

div.leftcol, div.rightcol {
    display: block;
    width: 50%;
    margin: 15px 0px 15px 0px;
}
div.leftcol {
    float: left;
}
div.rightcol {
    float: right;
}
div.breakfloat {
    display: block;
    clear: both;
    height: 0px;
}
