/*

OPW - Flood Risk Management
Styles for Glossary page and past flood more info pages

*/
/* Glossary banner */
#glossary-banner {
padding-top: 120px;
padding-bottom: 120px;
background: #006981;
}

/* Glossary main */
#glossary-main {
padding-top: 50px;
padding-bottom: 150px;
background: #f2f2f2;
}
#glossary-main .bg-graphic {
position: absolute;
top: 0;
right: 0;
width: 60%;
}


@media screen and (max-width: 1500px) {

} /* end max-width 1500px */







@media screen and (max-width: 1199px) {

  /* Glossary banner */
  #glossary-banner {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #006981;
  }
  #glossary-main .bg-graphic {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  }

} /* end max-width 1199px */






@media screen and (max-width: 991px) {
  /* Glossary banner */
  #glossary-banner {
  padding-top: 70px;
  padding-bottom: 70px;
  background: #006981;
  }

} /* end max-width 991px */






@media screen and (max-width: 768px) {

} /* end max-width 768px */






@media screen and (max-width: 450px) {

  /* Glossary banner */
  #glossary-banner {
  padding-top: 50px;
  padding-bottom: 50px;
  background: #006981;
  }
  #glossary-main .bg-graphic {
  position: absolute;
  top: 0;
  right: -150px;
  width: auto;
  height: 500px;
  }

} /* end max-width 450px */


/* Custom CSS add by RMG */

ul li:before {
    content: none;
}

.panel.with-nav-tabs .panel-heading{
    padding: 5px 5px 0 5px;
}
.panel.with-nav-tabs .nav-tabs{
        border-bottom: none;
}
.panel.with-nav-tabs .nav-justified{
        margin-bottom: -1px;
}
/********************************************************************/
/*** PANEL DEFAULT ***/
.with-nav-tabs.panel-default .nav-tabs > li > a,
.with-nav-tabs.panel-default .nav-tabs > li > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li > a:focus {
    color: #ffffff;
    font-weight: 400 !important;
}
.with-nav-tabs.panel-default .nav-tabs > .open > a,
.with-nav-tabs.panel-default .nav-tabs > .open > a:hover,
.with-nav-tabs.panel-default .nav-tabs > .open > a:focus,
.with-nav-tabs.panel-default .nav-tabs > li > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li > a:focus {
        color: #F5F5F5;
        background-color: #ea7246;
        border-color: transparent;
}
.with-nav-tabs.panel-default .nav-tabs > li.active > a,
.with-nav-tabs.panel-default .nav-tabs > li.active > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li.active > a:focus {
        color: #555;
        font-weight: 700 !important;
        background-color: #fff;
        border-color: #ddd;
        border-bottom-color: transparent;
}

.panel-default>.panel-heading {
    background-color: #ff4500;
    border-color: #ddd;
}
/********************************************************************/

#floodReports_filter > label > input::-webkit-input-placeholder { color: #ff4500; opacity: 1; }
#floodReports_filter > label > input::-moz-placeholder { color: #ff4500; opacity: 1; }
#floodReports_filter > label > input:-ms-input-placeholder { color: #ff4500; opacity: 1; }
#floodReports_filter > label > input:-moz-placeholder { color: #ff4500; opacity: 1; }
#floodPhotos_filter > label > input::-webkit-input-placeholder { color: #ff4500; opacity: 1; }
#floodPhotos_filter > label > input::-moz-placeholder { color: #ff4500; opacity: 1; }
#floodPhotos_filter > label > input:-ms-input-placeholder { color: #ff4500; opacity: 1; }
#floodPhotos_filter > label > input:-moz-placeholder { color: #ff4500; opacity: 1; }
#pressArticles_filter > label > input::-webkit-input-placeholder { color: #ff4500; opacity: 1; }
#pressArticles_filter > label > input::-moz-placeholder { color: #ff4500; opacity: 1; }
#pressArticles_filter > label > input:-ms-input-placeholder { color: #ff4500; opacity: 1; }
#pressArticles_filter > label > input:-moz-placeholder { color: #ff4500; opacity: 1; }


/* Styles the table */
thead {
    background-color: rgb(0, 137, 168);
    color: rgb(255, 255, 255);
}
a.btn {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
}
.btn-warning {
    color: #fff;
    background-color: #ff4500;
    border-color: #ea7246;
}


.thumbnail {
    border: 1px solid #ddd; /* Gray border */
    border-radius: 4px;  /* Rounded border */
    padding: 5px; /* Some padding */
    width: 150px; /* Set a small width */
    height: 150px; /* Set a small width */
}


/* Styles the thumbnail */

a.lightbox img {
display:block;
margin-right:auto;
margin-left:auto;
height: 150px;
border: 3px solid white;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
/* margin: 94px 20px 20px 20px; */
}

/* Styles the lightbox, removes it from sight and adds the fade-in transition */

.lightbox-target {
position: fixed;
left: 0px;
top: -100%;
width: 100%;
background: rgba(0,0,0,.7);
width: 100%;
opacity: 0;
-webkit-transition: opacity .5s ease-in-out;
-moz-transition: opacity .5s ease-in-out;
-o-transition: opacity .5s ease-in-out;
transition: opacity .5s ease-in-out;
overflow: hidden;
}

/* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */

.lightbox-target img {
margin: auto;
position: absolute;
top: 0;
left:0;
right:0;
bottom: 0;
max-height: 80%;
max-width: 0%;
border: 3px solid white;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
box-sizing: border-box;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

/* Styles the close link, adds the slide down transition */

a.lightbox-close {
display: block;
width:50px;
height:50px;
box-sizing: border-box;
background: white;
color: black;
text-decoration: none;
position: absolute;
top: -80px;
right: 0;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:before {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(45deg);
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
transform:rotate(45deg);
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:after {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
transform:rotate(-45deg);
}

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */

.lightbox-target:target {
z-index: 101;
opacity: 1;
top: 0;
bottom: 0;
}

.lightbox-target:target img {
max-height: 95%;
max-width: 100%;
}

.lightbox-target:target a.lightbox-close {
top: 0px;

}

.my_class{
  vertical-align: middle!important;
}
