/* Google font  Open Sans nice legible font that has a classic look */
@import url(https://fonts.googleapis.com/css?family=Open+Sans|Open+Sans+Condensed:400,300,700,600);

@import url('font-awesome.css');
/*  use font awesome instead of bootstrap glyphicons */



body {
    font-family:'Open Sans', sans-serif;
    font-size:14px;
    font-weight: normal;
    line-height:1.6em;
    color:#000;
    background-color:#f7f7f7;        
    width: 100%;   
}
/*width of content on home page */
.mainpage.container {
    width: 100%;
}
/*width of nav container*/
.navstuff.container {
    width: 90%;
}
h1, h2, h3 {
    text-shadow: 3px 3px 9px #999;
    filter: dropshadow(color=#999, offx=3, offy=3);
    text-align: center;
    color: #03F;
}
h5{
    font-weight: bold;   
    line-height: 1.25em;
}

p {
    color:#000;
    margin-top: 0.8em;
    margin-bottom: 0.8em;  
    font-size: 1em;    
}
a {
    text-decoration:none;
    transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    outline: none;
    color:#00F;    
}
a:hover {
    text-decoration: underline;
    font-weight: bold;
}

i.fa.fa-4x {
    color:#b92c28;    
}
img.responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

ul li {
    margin-bottom: 1em;
} 

img {
    display: block;  /* for image centering */
    border: 3px solid #AAA;/*#A88873;*/
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 4px 4px 8px #666;
    -moz-box-shadow: 4px 4px 8px #666;
    box-shadow: 4px 4px 8px #666;
    margin-top: 2em;
    margin-bottom: 2.5em;
}
img.nostyle {    
    margin: 0;
    border: 0;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0px;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}
img.center {
    margin-left: auto;
    margin-right: auto;
}

h5 {
    font-weight: bold;
    font-size: 1.05em;
}


/*===========================
  Menu and Navigation
============================ */
header { 
    width: 100%;
}

.navigation, .pagecontent.navigation    {       
    padding:0;
    padding-top: 30px;    
    background-image: url(/Bootstrap/img/workstationDark1.jpg);
    background-repeat: no-repeat;
    background-position: 30% 45%;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size:cover;    
    height: 600px;
}
/* Use pseudo-class to make a transparent color over the bottom portion of the background image*/
.navigation:before { 
    height: 100px;
    position: absolute;
    content: " ";
    background-color: rgba(0,0,0,0.45);/*transparency*/
    left: 0;
    right: 0;
    top: 500px;
    display: block;
    bottom: 0;
}

.navigation h3, .navigation h4 {
    font-family: Open Sans Condensed;
    font-weight: 600;
    width: 100%;
    position: absolute;
    color: white;   
    bottom: 40px;
    text-align: center;  /*text-align:center works with position:absolute IF width of element is set to 100% */
    text-transform: uppercase;      
}
.navigation h4 {    
    bottom: 10px;
    font-weight: 400;  
    text-transform: none;
}

div.navbar-brand h1 {
    margin-top:-10px;
    float: left;	
    font-size: 30px;	
    color:#FFF;	    
}
.navbar-brand h1 span {
    color: #ED502E;
}
/*ensure that all menu items are displayed without vertical scroll bars in small layouts*/
.navbar-collapse.in {
    overflow-y: visible;    
}

.menu {
    font-size:12px;
    float:right;
    text-transform:uppercase;
    font-weight:400;	
}

.nav-tabs {
    border-bottom: 0;
}
/*all menu items start out white*/
.nav-tabs > li > a {    
    line-height: 1.5;   
    color: #FFF;
    padding:10px; 
}
/*style the first level links*/
.nav-tabs > li > a:hover {	    
    background-color: #ED502E;
    color: #FFF;     
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
/*:focus* keeps the styling on the li when link is clicked*/
.nav-tabs > li > a:focus, .nav-tabs > li.dropdown a:focus {
    background-color: transparent;
    border: #FFF solid 1px;
}
/*style the box around the dropdown menu items*/
.nav-tabs  ul.dropdown-menu {
    border: #000 solid 3px;    
}
.nav-tabs  ul.dropdown-menu li a {    
    border: 0; /*dont have border around the dropdown links*/
}
/*style the links for the dropdown menu*/
.nav-tabs  .dropdown-menu  li  a:hover {
    text-decoration: underline;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;    
    color: blue;
}

.align-center {
    text-align:center; 
    padding-top:20px;
    padding-bottom: 20px;
    margin-top:15px;
    margin-bottom:15px;	    
}
.center {
    text-align: center;    
}
.benefits ul {
    list-style: none;
}
.benefits ul li a {
    color: blue;
}
.benefits ul li a:hover {
    text-decoration: underline;
    color: blue;    
}
.benefits li.head {
    font-weight: bold;
    font-size: large;
    text-align: center;
} 
benefits li.text {
    margin-bottom: 1em;
}

footer {
    padding: 1em;
    width: 100%;
    background-color: #000;    
}
footer div ul {
    list-style: none;
    text-align: center;
    max-width: 40%;
    padding: 1em;
    margin: 0 auto;
}
footer li {
    padding-top: 10px;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-weight: 600;       
}
footer a, footer h4, footer h5 {
    color: white;
}
footer h5 a { /*JOINLU link*/
    text-decoration: underline;
    padding-left: 5px;
    padding-right: 5px;
}
footer a:hover {
    text-decoration: none;
    background-color: #ED502E;
    border: #FFF solid 1px;
    color: #FFF;
    padding: 10px;
}
footer a:focus {
    background-color: transparent;
    border: #FFF solid 1px;
    color: #FFF;
    padding: 10px;
}

div.social-network ul {  
    list-style: none;
    display: block;    
}

div.social-network ul li a {
    color: #888;
}
div.social-network ul li a:hover {
    color: blue;
}
div.self-publish h3 {
    text-align: left;
}
div.print_digital h3 {
    text-align: left;
}

div.icon.align-center {
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 0;
}
div#mainpagecontent ul {
    padding-left: 1em;
}

div.mainpage.container {
    padding-bottom: 25px;
}
div.pagecontent {
    padding: 3em;
}
/*take off  Bootstrap margin on row divs, which causes layout to have a horiz. scrollbar when width=100%*/
div.row {   
    margin:0;
}

div#MESServices ul {
    padding-left: 1em;
    padding-top: 2em;
    margin-left: 0;
}

div#headers {
    margin-bottom: 1em;
    margin-top: 1em;
}

div#headers h5 {
    display: inline;
    text-align: center;
}

div#editing_services h3 {
    margin-top: 2.5em;
    margin-bottom: 1.0em;
}

div#contact_testimony {   
    // background-color: #EEEEEE;
    text-shadow: 1px 1px 1px #FFFFFF;
    filter: dropshadow(color=#FFFFFF, offx=1, offy=1);
    -webkit-border-radius:12px;
    -moz-border-radius: 12px;
    border-radius: 12px; 
    text-align: center;
    /*-webkit-box-shadow: inset 1px 1px 5px 5px #999;
    box-shadow: inset 1px 1px 5px 5px #999; 
    padding: 0.25em 1em;  */
}

ul.bulletedlist li {
    margin-bottom: 0.25em;
    margin-top: 0.25em;
}
div.floatimage img {
    display: inline;
    margin-right: 1em;
}

/* media queries*/
@media (max-width: 1200px) {
    footer div ul {
        max-width: 70%; /*make sure footer items don't get squashed in mid-size and small layouts'*/
    }
}
@media (max-width: 840px) {
    div.icon.align-center {
    margin-top: 40px;
    }
}
@media (max-width: 768px) {
    div.menu {
        float: left;  /*keep menu items to the left so they display without scrollbar*/
        max-width: 200px;
        display: block;
        text-align: left;          
    }
    div.navbar-brand h1 {
        font-size: 12pt;
    }   
    .navigation {
        height: 500px;/*height of background image*/
    }
    .navigation:before {
        top: 400px;        /*position of  black transparency over image at bottom*/
    }
    div#contact_testimony {
        display: none;
    }
    div.icon.align-center h1{
        font-size: 14pt;
    }

}
@media (min-width: 768px) and (max-width: 1500px) {
    div#contact_testimony {
        display: none;
    }
    div.icon.align-center h1{
        font-size: 14pt;
    }
    div#MESServices {
        width: 90%;
        margin-left: 20px; /*remove the offet-2 from the div so it will all fit nicely in mid-sized layout*/
    }
    div.social-network {
        margin-left: 0px;
        width: 8%;
    }
}

@media (max-width: 400px)  {
    .navigation h3, .navigation h4 {
        font-size: 1.1em;
    }
    .navigation h3 {
        bottom: 50px;
    }
    footer div ul {
        max-width: 90%;
    }
    }
}

/*------------------------------------------------
----------- page content styling ----------
-----------------------------------------------------*/
.pagecontent.navigation {
    height: 300px;
}
.pagecontent.navigation:before {
    display: none;
}



