/* 
    Created on : May 23, 2014, 12:53:18 PM
    Author     : Christopher
*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400|Lato|Raleway:400,600);

body {
  padding:0;
  margin:0;
  min-width:240px;
  background-color: white;
} 

img {
    border:0;
}

/* The main div */
#encompass {
    width:100%;
    height:100%;
    padding:0;
    margin:0;
    border:0px;
}

.blue {
    color: #5179B1;
}

h2 {
    font-family:Raleway, Arial;
    font-size: 16pt;
    font-weight: 600;
    margin-top: 45px;
    margin-bottom: 0px;
    color: #222222;
}

/*----------------------------------------------
 *  Header 
 *----------------------------------------------*/

#header {
    width:100%;
    background-image:url('../images/header_background_004.JPG');
    height:105px;
    padding:0;
    margin:0;
    vertical-align:middle;
    position:relative;
    text-align:center;
    z-index:100;
    min-width:310px;
} 

/* Main logo link that directs to home page */
.headerlink_logo {
    display:inline-block;
    margin-right:28px;
    height:105px;
    width:307px;
    background-color:rgba(39,45,43,0.40);
    text-align:center;
    
} .headerlink_logo img {
   padding-top:18px;
   width: 276px;
   height: 68px;
}

/* Class for main header block links */
.headerlink {  
  height:105px;
  line-height:105px;
  margin-right:8px;
  display:inline-block;
  vertical-align:top;
  padding-right:11px;
  padding-left:11px;
} .headerlink a {
  font-family:raleway, Arial;
  font-size:12pt;
  text-decoration:none;
  color:white;
  display:block;
  height:100%;
  width:100%;
  line-height: 105px;
  
} .headerlink:hover {
    background-color:rgba(45,45,43,0.70);
    -webkit-transition: 0.2s;
} .headerlink:hover a {
    color:#5179B1;
    -webkit-transition: 0.2s;
}

/* Thin divider underneath the header */
#header_spacer {
    height:8px;
    width:100%;
    background:linear-gradient(to bottom, #BCBCBC,white);
    position:relative; 
    z-index:100;
}

/* When the screen is large enough to accomidate the full header, don't display the mobile elements.' */
#mobile_menu {
    display:none;
} #mobile_menu a {
    display:none;
}

/* If the screen is too small to display the entire header, show the mobile menu instead. */
@media all  and (max-width: 800px) { 
    
    #header {
        text-align:left;
    }
    
    /* Don't show the normal header.' */
    .headerlink {
        display:none;
    }
   
    /* The link to open the mobile menu (the three horizontal bars). */
    #list_menu {
        float:right;
        margin-top:24px;
        
    } #list_menu div:hover {
        cursor:pointer;
    }
    #list_menu_shape {
        padding-right:30px;
        padding-top:15px;
        position:relative;
    } 
    .list_menu_bar {
        width:35px;
        height:3px;
        background-color:white;
        margin-left:auto;
        margin-right:auto;
        margin-bottom:8px;
    } 
    
    #mobile_menu {
        display:none; 
        position:relative;
        background-color:#282828;
        width:100%;
        height:270px;
        overflow:hidden;
    } #mobile_menu a {
        text-decoration:none;
        display:block;
    }
    /* End of mobile menu link horizontal bars. */
    
    /* The mobile menu links. */
    .headerlink_mobile {
        margin-top:0px;
        margin-bottom:10px;
        margin-left:30px;
        margin-right:30px;
        padding-top:10px;
        padding-bottom:7px;
        display:block;
        font-family:raleway, Arial;
        font-size:14pt;
        text-decoration:none;
        font-weight: bold;
        color:white;
        border-bottom:2px solid white;   
    }
    
    /* The X to close the mobile menu. */
    #close_mobile_menu {
        width:100%;
        text-align:right;
        height:35px;
        position:relative;
    } #close_mobile_menu div {
        width:50px;
        height:30px;
        padding-top:5px;
        position:absolute;
        right:0px;
        font-family:Raleway, sans-serif;
        font-weight: 600;
        font-size:14pt;
        color:white;
        text-align:center;
        
    } #close_mobile_menu div:hover {
        cursor:pointer;
    }
}

@media all  and (max-width: 510px) { 
    .headerlink_logo {
        width:250px;
        margin-right:0px;
    }
    .headerlink_logo img {
        padding-top:25px;
        display:inline;
        width: 203px;
        height: 50px;
    }
    
     #list_menu_shape {
        padding-right:20px;
     }
}

/*----------------------------------------------
 *  Home Pages
 *----------------------------------------------*/

.home_section {
    margin:0px;
    width:100%;   
} .home_section p {
    padding-bottom:0;
    margin-bottom:0;
    border:0;    
}

.home_section_div {
    margin-left:auto;
    margin-right:auto;
    overflow:hidden;  
    max-width:1003px;
}

#home_section_title {
    margin:0px;
    width:100%;  
    text-align:left;
    margin-top:30px;
    margin-bottom:30px;
    padding-top:80px;
    padding-bottom: 80px;
    background-image:url('../images/brushed_metal_002.JPG');
    height:220px;
    box-shadow: 2px 2px 60px #BBBBBB inset;
}

.section_div {
    max-width: 1000px;
    overflow:hidden; 
    margin-left:auto;
    margin-right:auto;
} 
@media all  and (max-width: 800px) { 
    .section_div {
        margin-left:0;
        margin-right:0;
        width:100%;
        overflow:visible;
    }
}

.section_div_full {
    
}

.section_header {
    font-family: raleway;
    font-size:18pt;
    color: black;
    border-left: 2px solid #5179B1;
    font-weight:500;
    margin-bottom:30px;
    padding-left:12px;
    padding-top:4px;
    padding-bottom:4px;
    margin-top:60px;
} 

#home_company_heading {
    font-family: Lato, arial;
    font-weight: normal;
    color:black;
    font-size:22pt;
    padding:30px;
    background-color:rgba(255,255,255,0.40);
    border-radius:2px;
    width:920px;
} 

#home_section_tagline {
    font-family: open sans, arial;
    color:#222222;
    font-weight:400;
    font-size:20pt;
    padding:20px;
    text-align:center;
    margin-top:40px;
    width:250px;
  /*  background-color:rgba(255,255,255,0.40); 
    box-shadow: 5px 5px 20px #999999; */
}

#home_section_description_div {
    font-family: open sans; 
    font-size:13pt;
    padding:50px;
    background-color:rgba(255,255,255,0.95);
    border-radius:2px;
    max-width:900px;
    height: 120px;
    border-left:4px solid #5179B1;
    box-shadow: 2px 2px 40px #999999 ;
    
} #home_section_description_div a {
    text-decoration: underline;
    color:black;
} #home_section_description_div a:hover {
    color:#999999;
}

.home_page_capabilities {
    padding-top:60px;
    padding-bottom:70px;
    display:flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    justify-content:space-around;
    -webkit-justify-content:space-around;
    align-content: flex-start;
    -webkit-align-content: flex-start;
    margin-left:auto;
    margin-right:auto;
    max-width:885px;
    min-width:313px;
} .home_page_capabilities div {
    margin:4px;
    width:200px;
    height:200px;
} .home_page_capabilities img {
    width:200px;
    height:200px;
}

#view_all_capabilities {
    width:200px;
    height:200px;
    background-color:#333333;
    text-align:center;     
   
} #view_all_capabilities:hover {
     -webkit-filter: brightness(140%);
    filter: brightness(140%);
    -webkit-transition: 0.3s;
}#view_all_capabilities a {
    font-family:raleway;
    font-weight:normal;
    font-size:14pt;
    color:white;
    text-decoration:none;
    display:inline-block;
    vertical-align: middle;
    height:100%;
    width:100%;
} #view_all_capabilities div {
    padding:0px;
    margin:0px;
    height:20px;
    padding-top:74px;
}

@media all  and (max-width: 800px) { 
    
    #home_section_title {
        
        margin-top:15px;
        margin-bottom:10px;
        padding-top:34px;
        padding-bottom: 34px;
        width:100%;
        height:auto;
    }
    
    #home_section_description_div {
        width:auto;
        padding:25px;
        height:auto;
        border:0px;
    }
    .home_page_capabilities div {
        margin:3px;
        width:150px;
        height:150px;
    } .home_page_capabilities img {
        width:150px;
        height:150px;
    }
    #view_all_capabilities {
        width:150px;
        height:150px;    
    }
    #view_all_capabilities a {
        font-size:13pt;
    }
    #view_all_capabilities div {
        padding-top:54px;
        
    }
    .section_header {
        margin-top:30px;
    } 
}

@media all  and (max-width: 670px) { 
    .home_page_capabilities {
      justify-content:center;
        -webkit-justify-content:center;
    }
}

@media all  and (max-width: 510px) { 
    .home_page_capabilities {
        padding-top:15px;
        padding-bottom:15px;
        
    }
}

/*----------------------------------------------
 *  About Us Page
 *----------------------------------------------*/

.floating_pic {
    float:right; 
    padding-left:15px;
    padding-bottom:5px;
    
} .floating_pic img {
    width:500px;
    height:350px;
    
}

@media all  and (max-width: 810px) { 
    .floating_pic {
        float:none; 
        padding-left:0px;
        padding-bottom:15px;
    }
}

@media (min-width: 451px) and (max-width: 610px) { 
    .floating_pic img {
        width:400px;
        height:280px; 
    }
}

@media all and (max-width: 450px) { 
    .floating_pic img {
        width:300px;
        height:210px;
    }
}

/*----------------------------------------------
 *  Capabilities Page
 *----------------------------------------------*/

.capabilities-images {
    display: flex;
    justify-content: center;
    width:100%;
    margin-top:20px;
    margin-bottom: 35px;
}

.capabilities-images img {
    padding: 10px;
    display: block;
    max-width: 380px;
}

@media all  and (max-width: 800px) { 
    .capabilities-images {
        flex-wrap: wrap;
        padding: 5px;
    }
}

/*----------------------------------------------
 *  Contact
 *----------------------------------------------*/

.contact_page_div {
    max-width: 850px;
    padding:30px;
    overflow:hidden; 
    margin-left:auto;
    margin-right:auto;
    padding-top:0px;
    padding-bottom:60px;
    font-family: open sans, arial;
    font-size:13pt;
    width:auto;
} .contact_page_div a {
    color:black;
} .contact_page_div a:hover{
    color:#999999;
}

.contact_description {
    padding-bottom:20px;
}

.contact_methods {
    position:relative;
    display:flex;
    flex-wrap:wrap;
    width:100%;
    text-align: center;
}

.contact_form {
    background-color:#EEEEEE; 
    padding-left:25px;
    padding-right:25px;
    padding-top:20px;
    padding-bottom:3px;
    flex-grow:1;    
} .contact_form textarea {
    width:100%;
    height:100px;
    resize:vertical;
    margin-bottom:8px;
    font-family: open sans; 
} .contact_form form {
    font-size:11pt;
}.contact_form input {
    font-size:12pt;
    margin-bottom:10px;
    width:200px;
}

.contact_form_heading {
    padding-bottom:9px;
}

.phone_email {
   padding-top:12px;
   padding-bottom:20px;
   padding-left:0px;
   padding-right:15px;
   flex-grow:1;
   font-family:Open sans;
   font-size:12pt; 
}

.submit_success {
    color:green;
    padding-top:10px;
    padding-bottom:25px;
    font-style: italic;
}

.submit_error {
    color:#B52222;
    padding-top:10px;
    padding-bottom:25px;
}

#contact_submit_btn {
    border:none;
    background-color:#5179B1;
    width:120px;
    height:38px;
    color:white;
    -webkit-appearance: none;
} #contact_submit_btn:hover {
    cursor:pointer;
    background-color:#315991;
}

/* Styles for Google map */
#map {
    padding-top:5px;
    width:100%;
    position:relative;
}

#map iframe {
    height:450px;
    width:100%;
    border: 0px solid #5179B1;
    padding-top:25px;
}

/* Honey pot field. */
.e_field {
    position: absolute !important;
    top: -500px !important;
    left: -500px !important; 
}

@media all  and (max-width: 800px) {
    .contact_page_div {
        padding-bottom:30px;
    }
}

/* Resize the Google map if the screen is too small. */
@media all  and (max-width: 600px) {
    #map iframe { height:300px; }
}

@media all  and (max-width: 400px) {
    #map iframe { height:250px; }
}

/*----------------------------------------------
 *  Downloads
 *----------------------------------------------*/

.downloads_page_div {
    max-width: 850px;
    padding:30px;
    overflow:hidden; 
    margin-left:auto;
    margin-right:auto;
    padding-top:60px;
    padding-bottom:60px;
    font-family: open sans, arial;
    font-size:13pt;
    text-align:center;
    width:auto;
} .downloads_page_div a {
    color:black;
}

/*----------------------------------------------
 *  Footer
 *----------------------------------------------*/

#footer {
    width:100%;
    height:100px;
    background-color:#444444;
    margin-top:25px;
    padding-top:40px;
    padding-bottom:20px;
}

#footer_logo {
    width:30%;
    float:left;
    padding:10px;
    text-align:center;
    vertical-align: bottom;
} #footer_logo img {
    width:217px;
}

/* The FaceBook, Twitter, and YouTube logos and links */
#footer_social{
    width:30%;
    float:right;
    text-align:center;
    padding-top:20px;
} #footer_social a {
    color:white;
    font-family: open sans;
    text-decoration: none;
    font-size: 11pt;
} #footer_social a:hover {
    text-decoration: underline;
}
    
/* Copyright notice */
#footer_info {
    width:30%;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
    font-family: open sans;
    color:#BCBCBC;
    font-size:10pt;
    padding:10px;
    padding-top:20px;
} #footer_info a {
    font-family:lato, arial;
    color:#BCBCBC;
    font-size:10pt;
    text-decoration: none;
} #footer_info a:hover {
    color:#DCDCDC;
}
#social_linkedin img {
    width:39px;
    height:28px;
    margin-left:8px;
    vertical-align: bottom;
}

@media all  and (max-width: 900px) { 
    #footer {
        padding-top:20px;
        height:auto;
    }
    
    #footer_logo {
        display:none;
    }
    #footer_social {
        width:100%;
        float:none;
        padding-bottom:15px;
    }
    #footer_info {
        width:auto;
        float:none;
    }
}