html {
    margin: 0;
    padding: 0;
    background-color: #EFF5FB;
    font-family: Arial, sans-serif;
    color: #003663;
}

body {
    width: 85%;
    max-width: 1250px;
    background: white;
    padding: 10px;
    margin: 0 auto;
}

h1{
    font-size: 1.8em;
}

body p, body ul li{
    color: black;
}

a{
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

img{
    width: 100%;
}



#haddenFarrenLogo{
    float: left;
    position: absolute;
    margin:0 0 0 2%;
}

#headerPhone{
    float: right;
    text-align: right;
    font-size: 1.2em;
    margin: 12px 5% 0 0;
}

header nav{
    margin-top: 20px;
    width: 100%;
    float: left;
}

header nav ul {
    list-style: none;
    width: 90%;
    max-width: 1100px;
    min-width: 480px;
    margin: 10px auto 0 auto;
    height: 25px;
    padding: 0;
    background: #003663;
    font-weight: 700;
}

header nav li {
    float: left;
    text-align: center;
    position: relative;
    height: inherit;
    width: 14.28%;
    padding: 0;
    border-bottom: 5px solid #003663;
}

header nav a, header nav p{
    color: #E9E9E9;
    text-align: center;
    padding-top: 7px;
    width: 100%;
    font-size: 0.9em;
    height: 23px;
    display: block;
    margin: 0;
}

header nav p{
    cursor: default;
}

header nav li:hover{
    border-bottom: 5px solid #0098DA;
}

header nav a:hover{
    text-decoration: none;
}

header nav ul ul{
    background: #003663;
    position: absolute;
    z-index: 1;
    display: none;
    width: 110%;
    min-width: 150px;
    height: auto;
    margin: 0 0 0 -5%;
}

header nav ul ul li{
    width: 100%;
}

header nav ul ul li {
    height: 25px;
    border-top: 2px solid white;
}

header nav ul li:hover ul{
    display: block;
}


#home{
    width: 100%;
}

#home h1, #hydroIndex h1{
    text-align: center;
    margin-bottom: 0;
}

#home h2{
    text-align: center;
    margin: 0;
    font-size: 1.2em;
}

#vietnameseLink{
    text-align: center;
}

#vietnameseLink a,  #titleReestablishment a{
    color: blue;
}

.navButtons{
    list-style: none;
    width: 100%;
    max-width: 1000px;
    margin: 2% auto 5% auto;
    height: 150px;
    padding: 0;
}

.navButtons li{
    background: #424242;
    float: left;
    text-align: center;
    position: relative;
    height: 170px;
    padding: 0;
}

#home .navButtons li{
    width: 23%;
    min-width: 196px;
    margin: 1%
}

#hydroIndex .navButtons li{
    width: 30%;
    max-width: 260px;
    margin: 1%;
}

#surveyIndex .navButtons li{
    font-size: 0.9em;
    width: 23%;
    min-width: 200px;
    margin: 0.5%;
    height: 260px;
}

.navButtons li img{
    width: 100%;
    height: 130px;
}

#surveyIndex .navButtons li img{
    width: 100%;
    height: 225px;
}

.navButtons li p{
    margin: 4px 0 0 0;
    width: inherit;
    color: white;
    font-size: 1.3em;
    width: 100%;
}

.navButtons a{
    color: black;
    text-align: center;
    height: 170px;
    display: block;
}

#surveyIndex a{
    height: 260px;
}

.navButtons a:hover{
    background: #003663;

    text-decoration: none;
}

.navButtons a:hover p{
    color: #0098DA;
}

.navButtons a:hover img{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

#breadcrumbs{
    float: left;
    margin: 20px 0 0 1.5%;
    font-size: 0.9em;
}

#breadcrumbs a{
    color: #6E6E6E;
}

#breadcrumbs a:hover{
    color: #003663;
    text-decoration: none;
}

main{
    width: 73%;
    margin: 0 auto;
    float: right;
}

aside{
    float: left;
    margin: 10px 0 0 5px;
}

aside h2{
    font-size: 1.1em;
}

aside dl{
    color: black;
}

#sideBlogList h2{
    margin-top: 50px;
    font-size: 1.5em;
}

#sideBlogList ul{
    list-style: none;
    padding: 0;
    width: 90%
}

#sideBlogList li{
    border-bottom: 1px solid #BDBDBD;
    padding-left: 5%;
}

#sideBlogList h3{
    padding-top: 5%;
    margin: 0;
}

#sideBlogList a, #haddenBlogs a{
    color: black;
    text-decoration: none;
}

.blogDate{
    color: #6E6E6E;
    font-size: 0.9em;
    margin: 0;
}

#sideBlogList .blogDate{
    padding-bottom: 5%;
}

#sideBlogList li:hover{
    background: #0098DA;
}

#haddenBlogs h2{
    margin: 0 0 1% 0;
}

#mainBlogList{
    list-style: none;
    padding: 0;
    width: 100%;
}

#mainBlogList li{
    float: left;
    border: 1px solid #BDBDBD;
    width: 45%;
    height: 150px;
    margin: 1%;
    padding: 10px 1%;
}

#mainBlogList a, .backLink p{
    background: #424242;
    color: white;
    padding: 1.5%;
    font-size: 0.9em;
}

.backLink p{
    width: 14.5%;
}

#mainBlogList a:hover, .backLink p:hover{
    background: #003663;
    color: #0098DA;
}

.backLink:hover{
    text-decoration: none;
}

.paginationLinks{
    list-style: none;
    margin-top: 540px;
}

.paginationLinks li{
    color: white;
    float: left;
    width: 3%;
    margin: 2% 0.5% 4% 0.5%;
    text-align: center;
}

.paginationLinks p{
    margin: 0;
    color: white;
}

.paginationLinks li:hover{
    background: #003663;
}

#previousLink, #nextLink{
    width: 5%;
}

.active{
    background: #424242;
}

.disabled{
    background: #BDBDBD;
    pointer-events: none;
    cursor: default;
}

.fb-like{
    float: left;
    margin-right: 2%;
}

.twitter-share-button{
    float: none;
}


.floatingPic{
    float: right;
    width: 50%;
}

#hydroIndex article{
    padding: 5px;
    margin-bottom: 50px;
}

.picUnderArticle{
    width: 30%;
    float: left;
}

article{
    padding-right: 50px;
}

.threePicsUnderArticle{
    width: 25%;
    float: left;
    margin: 3%;
}

.hydroPic{
    width: 100%;
}

figcaption{
    font-size: 0.8em;
    font-style: italic;
}

#outsideLink{
    margin: 5px;
    width: 300px;
}

#outsideLink figcaption{
    font-size: 1em;
    color: black;
}

#outsideLink a:hover{
    -webkit-filter: brightness(150%);
}

iframe{
    float: right;
    width: 60%;
    height: 450px;
}

#about #googleMap{
    margin-bottom: 5%;
}

#contact #googleMap{
    float: right;
    width: 60%;
    margin: 0;
}

#googleMap iframe{
    width: 100%;
    float: none;
}

#googleMap figcaption a{
    font-style: normal;
    color: blue;
}

#titleReestablishment figure{
    width: 97px;
}


footer {
    display: table;
    font-size: 0.8em;
    width: 100%;
    margin-top: 20px;
    border: 3px solid #003663;
    color: black;
}

#footerLogos{
    float: left;
    width: 200px;
    padding-left: 10px;
    margin: 5px;
}

#footerLogos img{
    margin: 1% 3%;
}

#cvsLogo{
    width: 46px;
}

#sssiLogo{
    width: 69px;
}

#udiaLogo{
    width: 55px;
}

#trySurveyingLogo{
    width: 110px;
}

#footerContact {
    float: left;
    margin-left: 20%;
}

#footerSocial{
    float: right;
    width: auto;
    margin-right: 8%;
}

#footerSocial .facebookButton{
    width: 200px;
    margin: 0 3%;
}

#contact .facebookButton{
    width: 200px;
    margin: 0 1%;
}

#redcontractLogo{
    -webkit-filter: brightness(0) invert(0);
    filter: brightness(0) invert(0);
}

#redcontractLogo:hover{
    -webkit-filter: brightness(1) invert(0);
    filter: brightness(1) invert(0);
}