/*
Theme Name: Hudson River Foundation
Author: Robert Gruber | mediumstudios
Description: Custom Theme for Hudson River Foundation
Version: 0.0.1
Tags: bootstrap
*/

/*html, body {
    width: 100%;
    margin: 0;
    height: 100%;
    -webkit-text-size-adjust: 100%;
    webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    overflow-x: hidden;
}*/

body .gform_wrapper .gform_validation_container {
    display: none;
}

header.top {
  z-index: 5;
/*  background-color: transparent;*/
  top:0;
  position:fixed;
}

nav.main-nav {
    transition: 0.5s ease;
}

nav.main-nav > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav.main-nav > ul > li {
    float: left;
    min-width:  9.5%;
}

nav.main-nav > ul > li#our-work, nav.main-nav > ul > li#grants, nav.main-nav > ul > li#state-of-the-estuary, nav.main-nav > ul > li#subscribe    
 {
    min-width: 8.5%;
}

nav.main-nav > ul > li > a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: left;
    padding: 14px 16px;
    text-decoration: none;
    opacity:.7;
/*    border-left-style: solid;
    border-left-size: thin;
    border-left-color: white;*/
}

nav.main-nav > ul > li > a.current {
    opacity: 1 !important;
}

nav.main-nav > ul > li > a > div, .dropbtn > div {
    border-left: solid 1px white;
    padding-left:10px;
}

nav.main-nav > ul > li a:hover, .dropdown:hover .dropbtn {
    opacity:1;
}

li.dropdown {
    display: inline-block;
    min-width:  11%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover { opacity:1;}

.dropdown:hover .dropdown-content {
    display: block;
}

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 7 !important; /* Stay on top */
    top: 0;
    left: -1px;
    background-color: #fff; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    border-right: 1px solid #ccc;
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
/*    font-size: 25px;*/
    color: #999;
    display: block;
    transition: 0.3s
}

/* When you mouse over the navigation links, change their color */
.sidenav-inverse a:hover, .offcanvas-inverse a:focus{
    color: #f1f1f1;
}

.sidenav a:hover, .offcanvas a:focus{
    color: #000;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}


/*changing slick slider arrow color*/
.slick-prev:before, .slick-next:before {
    color: #009877;
    
}

.event-slider [type=button]:hover, .event-slider button:hover {
    color: transparent;
    background-color: transparent;
    border-color: transparent;
    border-width: 0;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
/*    padding: 20px;*/
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}


/*removing gravity forms styling*/

::-webkit-input-placeholder { /* Chrome */
  color: #fff !important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #fff !important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #fff !important;
  opacity: 1 !important;
}
:-moz-placeholder { /* Firefox 4 - 18 */
  color: #fff !important;
  opacity: 1 !important;
}
/*#gform_wrapper_1*/
.gform_wrapper label, .gform_drop_instructions {
    display: none;
}

.gform_wrapper .gfield_checkbox label {
    display: inline;
   
}
.gform_wrapper ul {
list-style: none;
}
.gform_wrapper#gform_wrapper_1 input[type=text] {
    border: none;
}

.gform_wrapper input[type=submit] {
    width: auto;
    margin-top: 0 !important;
}

.gform_wrapper input[type=text]
.gfield_label {
    display: none !important;
}

#gform_browse_button_2_5 {
    background-image: url(/wp-content/uploads/2017/05/upload-book.svg);
    background-position: 10px;
    width: auto;
    color: #4a4;
    border-color: #4a4!important;
    font-weight: 400;
    font-stretch: normal;
    line-height: 1.4375;
    font-family: Merriweather,serif;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
    -ms-text-size-adjust: 100%;
    border-top-style: dashed;
    border-bottom-style: dashed;
    border-right-style: dashed;
    border-left-style: dashed;
    border-width: thin;
    color: #009877!important;
    background-color: transparent!important;
    border-color: #009877!important;
    float: left;
    margin-right: 10px;
    padding-left: 40px;
} 

#field_2_5 .gfield_description {
   font-weight: 400;
    font-stretch: normal;
    line-height: 1.4375;
    font-family: Merriweather,serif;
    text-transform: none;

}
.gform_wrapper#gform_wrapper_1 input[type=submit] {
    border-width: thin;
    font-size: 75%;
    color: #fff!important;
    background-color: transparent!important;
    border-color: #fff!important;
    margin-top: .625rem;
}
.gform_wrapper#gform_wrapper_1.gform_wrapper input[type=submit]:hover {
    border-width: thin;
    color: #000!important;
    background-color: #fff!important;
    border-color: #fff!important;
}

.gform_wrapper select {
    border-radius: 0;
    width: 100%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: 1em;
    background-position: 100;
    font-family: Montserrat,sans-serif;
    font-weight: 400;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 0;
    padding-right: 1rem;
    border-top-width: 0;
    border-bottom-width: thin;
    border-left-width: 0;
    border-right-width: 0;
    border-top-style: none;
    border-bottom-style: solid;
    border-left-style: none;
    border-right-style: none;
    border-top-color: transparent;
    border-bottom-color: #7f7f7f;
    border-left-color: transparent;
    border-right-color: transparent;
    background-image: url(/wp-content/uploads/2017/05/chevron-down-book.svg)!important;
}



.gform_wrapper input[type=text] {
        border-radius: 0;
    width: 100%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: 1em;
    background-position: 100;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 0;
    padding-right: 1rem;
    border-top-width: 0;
    border-bottom-width: thin;
    border-left-width: 0;
    border-right-width: 0;
    border-top-style: none;
    border-bottom-style: solid;
    border-left-style: none;
    border-right-style: none;
    border-top-color: transparent;
    border-bottom-color: #7f7f7f;
    border-left-color: transparent;
    border-right-color: transparent;
    margin-bottom: 3px;
}

.gform_wrapper input[type=text]:focus {
    border-bottom-color: rgba(26,154,214,.8);
    -webkit-transition: .5s ease all;
    transition: .5s ease all;
}


.gfield_description {
    font-family: Montserrat,sans-serif;
    font-weight: 400;
    letter-spacing: .05em;
    font-size: .875rem;
    text-transform: uppercase;
    color: #7f7f7f;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: 0 0;
    margin-bottom: 1.875rem;
}

.gform_wrapper input[type=text]:focus+.gfield_description {
    color: rgba(26,154,214,.8);
    cursor: pointer;
}

.gform_wrapper input[type=checkbox] {
    display: inline;
    float: left;
    width: auto;
    margin-right: 5px;
    width: 1em;
    height: 1em;
    padding: 0;
    vertical-align: bottom;
    position: relative;
    top: .2em;
}

#gform_wrapper_2.gform_wrapper input[type=submit] {
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    border-width: 2px;
    border-style: solid;
    border-radius: 3px;
    padding-top: .75em;
    padding-bottom: .75em;
    padding-left: 1em;
    padding-right: 1em;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
    -webkit-transition-delay: 0;
    transition-delay: 0;
    -webkit-appearance: button;
    cursor: pointer;
    color: #009877!important;
    background-color: transparent!important;
    border-color: #009877!important;
    margin-top: 50px;
}
#gform_wrapper_2.gform_wrapper input[type=submit]:hover {
    color: #000!important;
    background-color: transparent!important;
    border-color: #000!important;
}

/*grvity forms overlay*/
#overlay {
    background: rgba(255,255,255, 0.9);
    display: block;
    float: left;
    left: 0;
    position: absolute;
    top: 0;
    
    z-index: 99;
     height: 100%;
     width: 100%;
    /*width: 100vw;
    height: 100vh;*/
}

#gform-notification {
    background: #fff;
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 101;
    width: 100vw;
    height: 100vh;
}

#gform-notification .button {
    margin: 20px 0 0;
    padding: 12px 24px;
}


#gform_wrapper_3.gform_wrapper input[type=text] {
    width: 100%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: 1.25em;
    background-position: 100%;
    background-image: url('/wp-content/uploads/2017/05/mail-book-gray.svg');
    border-top-style: solid;
    border-bottom-style: solid;
    border-right-style: solid;
    border-top-color: #d9d9d9;
    border-bottom-color: #d9d9d9;
    border-right-color: #d9d9d9;
    border-left-color: #d9d9d9;
    border-left-style: solid;
    font-size: 2.6875rem;
   border-bottom-width: initial;
}
#gform_wrapper_3.gform_wrapper input[type=text]:focus {
border-top-color: rgba(26,154,214,.8);
    border-bottom-color: rgba(26,154,214,.8);
    border-left-color: rgba(26,154,214,.8);
    border-right-color: rgba(26,154,214,.8);
    box-shadow: none;
    -webkit-transition: .5s ease all;
    transition: .5s ease all;
    outline: 0 none;
}
#gform_wrapper_3.gform_wrapper .gfield_description, #gform_wrapper_4.gform_wrapper .gfield_description {
    font-family: Montserrat,sans-serif;
    font-weight: 400;
    font-size: .875rem;
    text-transform: none;
}

#gform_wrapper_4.gform_wrapper textarea {
    border-top-color: transparent;
    border-bottom-color: #7f7f7f;
    border-left-color: transparent;
    border-right-color: transparent;
}

#gform_wrapper_4.gform_wrapper textarea:focus {
    border-bottom-color: rgba(26,154,214,.8);
    border-bottom-width: rgba(26,154,214,.8)!important;
    -webkit-transition: .5s ease all;
    transition: .5s ease all;
}

#gform_wrapper_4.gform_wrapper input[type=submit], #gform_wrapper_3.gform_wrapper input[type=submit] {
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    border-width: 2px;
    border-style: solid;
    border-radius: 3px;
    padding-top: .75em;
    padding-bottom: .75em;
    padding-left: 1em;
    padding-right: 1em;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
    -webkit-transition-delay: 0;
    transition-delay: 0;
    -webkit-appearance: button;
    cursor: pointer;
    color: #009877!important;
    background-color: transparent!important;
    border-color: #009877!important;
}

#gform_wrapper_4.gform_wrapper input[type=submit]:hover, #gform_wrapper_3.gform_wrapper input[type=submit]:hover {
    color: #000!important;
    background-color: transparent!important;
    border-color: #000!important;
}

.gform_confirmation_wrapper {
    background-color: #ffe52c !important;
    display: inline-block !important;
    padding: 10px;
    
}

.gform_confirmation_message {
    color: #000;
}

#field_2_5 .gfield_description {
  padding-top: 5px;
  clear: left;
  display: block;
}
/*for the research finder*/
/*For sliding panel*/
#flip, #return {
  cursor: pointer;
}
#panel {
    display: none;
}

.nowrap {
    white-space: nowrap;
}

.top-31 {
    top: 31%;
}

/*boostrap modal*/
.close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.2;
  filter: alpha(opacity=20);
}
.close:hover,
.close:focus {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.5;
  filter: alpha(opacity=50);
}
button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}
.modal-open {
  overflow: hidden;
}
.modal {
  display: none;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.modal.fade .modal-dialog {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  -o-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
.modal-content {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #999999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  outline: 0;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}
.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}
.modal-backdrop.in {
  opacity: 0.5;
  filter: alpha(opacity=50);
}
.modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}
.modal-header .close {
  margin-top: -2px;
}
.modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.modal-body {
  position: relative;
  padding: 15px;
}
.modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.modal-footer .btn + .btn {
  margin-left: 5px;
  margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

.height-400 {
  min-height: 300px;
}
@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
  .modal-sm {
    width: 300px;
  }

.height-400 {
  min-height: 400px;
}
  
}
@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}
.clearfix:before,
.clearfix:after,
.modal-header:before,
.modal-header:after,
.modal-footer:before,
.modal-footer:after {
  content: " ";
  display: table;
}
.clearfix:after,
.modal-header:after,
.modal-footer:after {
  clear: both;
}
.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.pull-right {
  float: right !important;
}
.pull-left {
  float: left !important;
}
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.invisible {
  visibility: hidden;
}
.text-hide {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.hidden {
  display: none !important;
}
.affix {
  position: fixed;
}

.modal-header {
    border-bottom: 0 !important;
}

.modal-header [type=button]:hover, .modal-header button:hover{
    border-width: 0 !important;
}

/*404*/

.image-bg-404 {
background-image: url(image/404.jpg);
}

.anchor{
  display: block;
  height: 61px; /*same height as header*/
  margin-top: -61px; /*same height as header*/
  visibility: hidden;
}

/*fix search form on mobile*/
@media (max-width: 768px) {
.evo-form, input, input[type=text] {
    display: block !important;
  }

.margin-bottom-17 {
  margin-bottom: 4.5rem;
}

.evo-text-10 {

    font-size: 2.0rem;

}
}

#site-search-results a:focus {
    outline-color: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-offset: 0 !important;
}
.view-full .image-ratio-fill {
  width: 100vw !important;
  height: 100vh !important;
    
}

p a:link {
    border-bottom: none !important;

}

/*code for article 8 highcharts/leafcharts*/

.evo-blue-18 {
  color: rgb(59, 137, 195);
}
.hrf-color-green {
  color:#7bb601;
}
.hrf-color-purple {
  color: #a64d97;
}
.hrf-color-brown {
  color: #7e4b31;
}

#password-form input[type="submit"] {

    font-family: Montserrat,sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    border-width: 2px;
    border-style: solid;
    border-radius: 3px;
    padding-top: .75em;
    padding-bottom: .75em;
    padding-left: 1em;
    padding-right: 1em;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
    -webkit-transition-delay: 0;
    transition-delay: 0;
    -webkit-appearance: button;
    cursor: pointer;
    color: #009877 !important;
    background-color: transparent !important;
    border-color: #009877 !important;

}

#password-form input[type="submit"]:hover {

    color: #000 !important;
    background-color: transparent !important;
    border-color: #000 !important;

}

#password-form input[type="password"] {
    border-radius: 0;
    width: 100%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: 1em;
    background-position: 100;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 0;
    padding-right: 1rem;
    border-top-width: 0;
    border-bottom-width: thin;
    border-left-width: 0;
    border-right-width: 0;
    border-top-style: none;
    border-bottom-style: solid;
    border-left-style: none;
    border-right-style: none;
    border-top-color: transparent;
    border-bottom-color: #7f7f7f;
    border-left-color: transparent;
    border-right-color: transparent;
    margin-bottom: 3px;
}

#password-form label {
    font-family: Montserrat,sans-serif;
    font-weight: 400;
    font-size: .875rem;
    text-transform: none;

}