html { background-color: #000; }

body {
    padding: 0;
    margin: 0;
    font-family: 'Raleway', sans-serif;                   
    background-color: #fff;
    font-size: 14px;
    color: #000;
    
}

img { border: 0; }

#mobileheader {
    background-color: #fff;
    display: none;
    position: relative;
    padding: 0 10px 0 0;
    background-color: #CCC;
    background-image: url(/images/hbkg.jpg);
    background-repeat: repeat-x;
}

.mobileonly { display: none; }

#uberheader {
    width: 100%;
    height: 136px;
    background-color: #CCC;
    background-image: url(/images/hbkg.jpg);
    background-repeat: repeat-x;
}

#uberheader #header-inner {
    width: 1150px;
    height: 136px;
    margin: 0 auto;
    overflow: auto;
    zoom: 1;
    position: relative;
}

#uberheader #header-inner img { 
    border: 0; 
    float: left; 
    margin-top: 3px;
}

#container {
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
}

#containerinner {
    width: 1150px;
    margin: 0 auto;
    clear: both;
}

#content div.formbox {
    width: 40%;
    max-width: 250px;
    float: right;
    text-align: center;
    font: bold 14px arial;
    margin: 0 0 10px 10px;
}

#content div.formbox img {
    border: solid 1px #000;
    margin-bottom: 5px;
    width: 100%;
}

/*---------- TOPNAV ----------*/

header {
    width: 100%;
    height: 40px;
    background-color: #512888;
    z-index: 200;
    margin: 0 auto;
}

header nav {
    width: 1150px;
    height: 40px;
    z-index: 200;
    margin: 0 auto;
}

header nav ul {
    padding:0;
    list-style:none;
    margin:0 0 0 10px;
}

header nav ul li {
    float:left;
    position:relative;
    text-align: center;
}

header nav ul li a {
    font-weight: bold;
    font-size: 16px;
    color:#fff;
    display:block;
    float:left;
    padding: 0 20px;
    line-height: 40px;
    text-decoration: none;
}

header nav ul li:first-child a {
    padding-left: 3px;
}

header nav ul li:last-child a {
    padding-right: 3px;
}

header nav ul li a span {
    display: block;
}

header nav ul li a:hover {
    color:#F5EB2C;
    text-decoration: none;
}

header nav ul li ul {
    display:none;
}

header nav ul li > ul {
    left:auto;
    top:auto;
}
						
header nav ul li.over ul, header nav ul li:hover ul {
    background:#333333;
    border:1px solid #333333;
    border-radius:0 0 5px 5px;
    -moz-border-radius:0 0 5px 5px;
    -webkit-border-radius:0 0 5px 5px;
    border-width:0 1px 1px;
    clear:left;
    display:block;
    list-style:none;
    margin:0;
    padding:5px;
    position:absolute;
    text-indent:0;
    top:100%;
    width:220px;
    z-index: 100;
}

header nav ul li ul li {
    display:block;
    text-transform:none;
    
}
								
header nav ul li ul li a, header nav ul li ul li:first-child a:first-child {
    display:block;
    padding:5px;
    width:208px;
    font-size: 12px;
    text-align: left;
    line-height: 20px;
    color: #fff;
}

header nav ul li ul li a:hover {
    background-color:#5C5C5C;
    text-decoration: none;
    color: #fff;
}

/* Header Area */

#headerarea { 
    float: right; 
    text-align: right;
    font-weight: bold;
    font-size: 24px;
    color: #512888;
    position: absolute; 
    bottom: 10px; 
    right: 10px;
    font-size: 26px;
}


/*---------- SUBNAV ----------*/

#subnav {
    float: left;
    width: 280px;
    margin-top: 10px;
    margin-bottom: 20px;
}

#subnav div.header { 
    background-color: #512888;
    float:left;
    margin-top: 10px;
    width: 260px;
    padding:7px 0 3px 0;
    text-align: center;
    color: #fff; 
    font-weight: bold;
    font-size: 16px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

}

#subnavinner {
    background:#EAE8E8;
    border: solid 2px #512888;
    float:left;
    padding:10px;
    width: 260px;
    box-sizing: border-box;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    
}

#subnavinner div#leftnavlist {
    padding:0;margin:0;list-style-type:none;
}

#subnavinner div#leftnavlist ul {
    padding:0;margin:0;list-style-type:none;
}

#subnavinner div#leftnavlist a {
    border-bottom:1px dotted #512888;
    color:#c00;
    display:block;
    font-weight: bold;
    font-size: 13px;
    font-family: arial;
    text-decoration: none;
    letter-spacing:1px;
    text-transform:uppercase;
    padding:0 0 5px;
}


#subnavinner div#leftnavlist div {
    color:#c00;
    display:block;
    font-weight: bold;
    font-size: 13px;
    letter-spacing:1px;
    text-transform:uppercase;
    padding:0;
    margin: 0;
}

#subnavinner div#leftnavlist ul li {
    border-bottom:1px dotted #c7c7c7;
    font-weight: bold;
    font-size: 13px;
    padding:5px;
}

#subnavinner div#leftnavlist ul li a {
    border-bottom:0;
    color:#333;
    display:inline;
    letter-spacing:0;
    text-transform:none;
}

#subnavinner div#leftnavlist ul li a:hover {
    color:#c00;
    text-decoration: underline; 
}

#subnavinner div#leftnavlist ul li.last {
    border-bottom:0;
}

#subnavinner div#leftnavlist ul.subsubnav li a {
    font-weight: bold;
    font-size: 12px;
    padding:5px 5px 5px 15px;
}



/*---------- CONTENT ----------*/

.dim:hover {
    opacity: 0.85;
}

.inset {
    width: 40%; 
    float: right; 
    margin: 0 0 10px 15px;
    max-width: 380px;
    border: solid 1px #EAE8E8;
}

.insetdiv {
    width: 40%; 
    float: right; 
    margin: 0 0 10px 15px;
    max-width: 380px;
}

.insetdiv .contact {

    border: solid 2px #512888;
    padding: 5px;
    margin-top: 10px;

}

img.inset2 {
    width: 22%; 
    max-width: 220px;
    float: right; 
    margin: 0 0 5px 5px;
    border: solid 1px #EAE8E8;
}

img.insetmemorial {
    width: 40%; 
    max-width: 270px;
    float: right; 
    margin: 0 0 5px 5px;
    border: solid 1px #EAE8E8;
}

img.insetscholarship {
    float: left;
    width: 25%; 
    max-width: 250px;
    margin: 0 5px 5px 0;
    border: solid 1px #EAE8E8;
}

div.inset-center-50 { 
    width: 50%;
    font-size: 12px; 
    text-align: center;
    margin: 10px auto;
}

div.inset-center-75 { 
    width: 75%;
    font-size: 12px; 
    text-align: center;
    margin: 10px auto;
}

div.inset-center-100 { 
    width: 100%;
    font-size: 12px; 
    text-align: center;
    margin: 10px auto;
}


div.inset-center-50 img, div.inset-center-75 img, div.inset-center-100 img { width: 100%; }

#content {
    padding: 20px 0 20px 0;
    min-height: 400px;
}

.withsubnav {
    width: 860px;
    float: right;


}

.withoutsubnav {
    width: 100%;

}

/*---------- TABLES ----------*/

#content table.type1 { 
    border: solid 1px #1D4B5E; 
}

#content table.type1 th {
    background-color: #1D4B5E;
    font: bold 12px arial;
    color: #fff;
}

#content table.type1 td {
    font: normal 12px arial;
    color: #000;
}

#content table.type1 td.inverse {
    background-color: #1D4B5E;
    font: normal 12px arial;
    color: #fff;
}

#content table.type1 td a {
    color: #000;
}

#content table.type2 {
    border: 0;
}

#content table.type2 th {
    background-color: #1D4B5E;
    font: bold 14px arial;
    color: #fff;
}

#content table.type2 td {
    font: normal 14px arial;
    color: #000;
}

#content table.type3 td {
    font: normal 12px arial;
    color: #000;
    width: 575px;
}

#content table.type2 td a {
    font: normal 14px arial; 
    color: #1D4B5E; 
}


/* ---------------- GENERAL CONTENT ----------------*/


#content p { 
    padding: 0; 
    margin: 0 0 10px 0;
}

#content h1 { 
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: bold;
    font-size: 28px;
    color: #512888; 
    
}

#content h2 { 
    margin: 15px 0 4px 0;
    padding: 0;
    font-weight: bold;
    font-size: 20px;
    color: #512888;
}

#content h3 { 
    margin: 15px 0 4px 0;
    padding: 0;
    font-weight: bold;
    font-size: 16px;
    color: #512888;
}

#content a {
    color: #000;
}

#content a:hover {
    text-decoration: none;
}

#forms input, #forms #captcha, #forms select {
    width: 50%;
}

#forms textarea {
    width: 50%;
    height: 50px;
}

#forms span {
    color: red;
}

#content input.submitbutton {
    background-color: #E52022;
    border: 0;
    padding: 6px 10px;
    color: #fff;
}

#content .button {
    background-color: #E52022;
    font-weight: bold;
    color: #fff; 
    padding: 6px 10px;
    border: 0; 
    margin-top: 10px;  
    text-decoration: none;  
    border-radius: 5px;
}

#content .applybutton {
    background-color: #E52022;
    font-weight: bold;
    color: #fff; 
    padding: 8px 10px;
    border: 0; 
    margin-top: 10px;  
    text-decoration: none;  
    border-radius: 5px;
    display: block;
    text-align: center;
}

#content .applybutton:hover {
    color: yellow;
}

#buttons .left { float: left; }
#buttons .right { float: right; }

#content .button:hover {
    opacity: 0.85;
}

/* ------------ TEAM -------------- */

#team-container > div:nth-child(3n) { margin-right: 0; }
#team-container > div:nth-child(3n+1) { clear: both; }
.team-item { float: left; width: 31.5%; margin-right: 2%; margin-top: 10px; }
.team-item img { border: 0; width: 100%;}
.team-title {font-size: 14px; text-align: center; padding: 5px 0; background-color: #EAE8E8; margin: 10px 0 0 0;}
.team-title a { text-decoration: none; }

/*---------- DIVS ------------*/

#divcontainer { font-size: 14px; }
#divcontainer legend { font-weight: bold; color: #19475A; font-size: 16px;}
#leftdiv { width: 49.5%; float: left; }
#rightdiv { width: 49.5%; float: right; }


/*---------- FOOTER ----------*/

#footer { color: #EAE8E8; }
#footer a { color: #EAE8E8; text-decoration: none; }

#footer-upper { background-color: #1C1C1C; border-bottom: solid 0.3pt #313131; padding: 20px 0; }
#footer-lower { background-color: #000; padding: 20px 0; }

.footer-inner { width: 1150px; margin: 0px auto; }
.footer-left { float: left; }
.footer-right { float: right; }

#footer-upper .footer-right { padding-top: 15px; }
#footer-upper .footer-right i { font-size: 24px; float:right; margin: 5px 0 0 5px;}

#footer-lower .footer-right a { float: right; margin-left: 20px; font-size: 10px; }

#subfooter { font-size: 10px; }
#subfooter a { color: #EAE8E8; text-decoration: none; }

#mobilefooter { display: none; background-color: #1C1C1C; color: #EAE8E8; font-weight: bold; font-size: 12px; text-align: center; padding: 5px 0; }
#mobilefooter #subfooter { font-size: 9px; margin-top: 4px;}

/*---------- ADMIN STYLES ----------*/

td.inverse { background: #1D4B5E; font: bold 12px Arial; color: #fff; margin-top: 0; }
td.inverse a { font: bold 11px Arial; color: #fff; text-decoration: none; }
td.inverse a:hover { text-decoration: underline;}
td.inversesmall { background: #1D4B5E; font: bold 11px Arial; color: #fff; margin-top: 0; }
td.inversesmall a { color: #fff; }
td.inversesmall a:hover { color: #fff;text-decoration: none; }
td.small { font: normal 12px Arial; color: #000; margin-top: 0;}
td.small a { color: #000;}
td.small a:hover { text-decoration: none;}
td.small2 { font: normal 10px Arial;color: #000; margin-top: 0; }
td.small2 a { color: #000; }
td.small2 a:hover { text-decoration: none; }

.complete { text-align: center; background-color: #02CE10; color: #fff; padding: 10px; font-weight: bold; margin-bottom: 10px; }
.warning { text-align: center; background-color: #F72307; color: #fff; padding: 10px; font-weight: bold; margin-bottom: 10px; }

.clearfix:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; }
.clearfix { display: block; }

#content .buttonleft {float: left;}    
#content .buttonright {float: right;}    

#content.ishome { width: 100%; }

@media (max-width: 1140px){

    body {background: #000; } 
    
    #uberheader,#footer,#subfooter,#floater { display: none; }
    #container { width: 100%; }
    #content {padding: 20px 0 0 0;  width: 100%; width: calc(100% - 280px); float: right;} /* width: auto; */
    .withsubnav { width: 100%; float: none; margin-left: 10px;}
    

    
    #header-inner { width: 100%; }

    #containerinner { width: 98%; padding: 5px 0; }
    header { width: auto; }
    header nav { width: 100%; }
    #subfooter { width: 100%; }
    #containerinner table { width: 100%; }
    #mobileheader { display: block; }
    #mobileheader img {width: 50%; max-width: 290px; float: left; border: 0; margin: 10px;}
    #mobilefooter { display: block; padding: 10px; }
    
    #containerinner { display: flex; }
    
    #content h1 { font-size: 22px; }
    #content h2 { font-size: 18px; }
    #forms #captcha { width: 50%; }
    
    #footersocial { display: block; margin-top: 5px; }
    
    .mobile-only-nav { display: block; }
    
}

@media (max-width: 950px){

    #headerarea { font-size: 22px; }
    
}

@media (max-width: 900px){

    #headerarea { font-size: 18px; }
    
}

@media (max-width: 800px){

    #subnav { display: none; }
    #headerarea { display: none; }
    #content { width: 100%; }
    
}

@media (max-width: 640px){

    #containerinner { display: block; margin: 0 8px; box-sizing: border-box;}
    
    #content {padding: 3px; }
    #content h1 { font-size: 18px; }
    #content h2 { font-size: 16px; }
    #forms input { width: 100%; }
    #forms #captcha, #forms textarea, #forms select { width: 100%; }
    
    .team-item { width: 48.5%; }                                           

    #team-container > div:nth-child(3n+1) { clear: none; }
    #team-container > div:nth-child(3n) { margin-right: 2%; }
    #team-container > div:nth-child(2n+1) { clear: both; }
    #team-container > div:nth-child(2n) { margin-right: 0; }
    
    
    #headerarea { display: none; }
    
}

@media (max-width: 480px){
    
    #buttons .button { float: none; margin: 10px auto; clear: both; width: 100%; display: block; padding: 10px;}
    #content .forms .form-item-2 {float: none; margin-left: 0; width: 100%; clear: both;}
    
    #mobileheader img { margin: 0px auto; max-width: auto; width: 70%; display: block; float: none;}
    #mobileheader { padding: 10px 0; }
    
    #machinery-details { width: auto; float: none; clear: both; }

}


@media (max-width: 320px){
    

    
}
                 
@media print {
    #uberheader, header, #subnav, #footer, #subfooter, #mobileheader, #menubase, #mobilefooter,.noprint  {display: none; }
}



/* ---------- FEATURE BLOCKS --------- */


#content #fpfeaturecontainer { display: flex; flex-direction: row; flex-wrap: wrap; justify-content:space-between; }
#content .fpfeatures { background-color: #EAE8E8; margin-top: 20px; border-radius: 5px; width: 32%; }
#content .featureinner {  margin: 10px; font-size: 14px; }
#content .featureinner img { margin-bottom: 5px; }
#content .featureinner h2 { font-size: 18px; color: #fff; margin: 0 0 8px 0; background-color: #512888; padding: 3px; border-radius: 5px; text-align: center; }

@media (max-width: 1000px){

    #content .fpfeatures { width: 48%; }
}

@media (max-width: 640px){
    #fpcontainer, #fpfeaturecontainer { flex-wrap: wrap; }
    #content .fpfeatures { float: none; width: 100%; margin-top: 8px;}
}

