

/* ==========================================================================
   Author's custom styles
    http://pikock.github.io/bootstrap-magic/app/index.html#!/editor
   ========================================================================== */



/* START Bootstrap Over-rides */

a.btn {
    text-decoration: none;
}

.row-relative {
    position: relative;
}

nav.navbar.navbar-static-top {
    height: 106px;
    margin-bottom: 0px;
}

.navbar-brand {
    margin: 0;
    padding: 0;
    height: 100px;
}

.navbar-brand img{
    max-height: 100%;
    padding: .5em;
}

.navbar-header {
    background-color: #FFF;
}

/* START sticky footer */
html {
    position: relative;
    min-height: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #31386c;
    color: white;
}

.footer p {
    text-align: center;
    margin: 0px auto;
    margin-top: 20px;
    font-size: 10px;
}

.sub-footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 160px;
    background-color: #476597;
    color: white;
    margin-bottom: 60px;
}

.sub-footer .container {
}

/* END sticky footer */




    select option[disabled]:first-child {
	    display: none;
    }

        /* START Make hamburger menu stay for all sizes */
            @media (max-width: 10000px) {
                .nav a {
                    text-decoration: none !important;
                    font-weight: bold;
                }

                .navbar-header {
                    float: none;
                }
                .navbar-toggle {
                    display: block;
                }
                .navbar-collapse {
                    border-top: 1px solid transparent;
                    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
                    padding-left: 0px;
                }
                .navbar-collapse.collapse {
                    display: none!important;
                }
                .navbar-nav {
                    float: none!important;
                    margin: 7.5px -15px;
                }
                .navbar-nav>li {
                    float: none;
                }
                .navbar-nav>li>a {
                    padding-top: 10px;
                    padding-bottom: 10px;
                }
                .navbar-text {
                    float: none;
                    margin: 15px 0;
                }
                /* since 3.1.0 */
                .navbar-collapse.collapse.in { 
                    display: block!important;
                }
                .collapsing {
                    overflow: hidden!important;
                }
            }

            ul.navbar-nav {
                margin:auto;
            }

            .fsmb-site-nav-menu {
                min-width: 14em;
                background-color: #FFF;
                position: absolute;
                top: 4em;
                right: 1em;
                margin-right: .5em;
                border: 1px solid #dddddd;
            }

            .fsmb-site-nav-menu .navbar-nav > .active > a{
	            background-color: #80c150;
	            color: #343d64;
            }

            .fsmb-site-nav-menu .navbar-nav li.active{
	            background-color: #80c150;
	            color: #343d64;
            }
            .fsmb-site-nav-menu .navbar-nav li:hover{
	            color: #343d64;
	            background-color: #80c150;	
            }
        /* END Make hamburger menu stay for all sizes */


        /* Start Typeahead CSS Over-rides */
        .tt-menu {
            width: 20em;
            cursor: pointer;
        }

        .twitter-typeahead {
            display: block !important;
        }

        .tt-dataset, .tt-dropdown-menu {
          cursor: pointer;
          background: #fff;
          border: 1px solid gray;
          padding: 0em 1em;
        }

/* END Bootstrap Over-rides */

.fsmb-main-view {
    margin-bottom: 60px;
}

.branding-logo {
    min-height: 40px;
    max-height: 75px;
}

/*.landing-bg-image {
    background: url('../images/fsmb-landing-bg.png') no-repeat;
}*/

.landing-image-trans-top {
    position: relative;
    top: -5em;
    z-index: 0;
}

.landing-search-trans-box {
  position: relative;
  z-index: 1;
}

.landing-bg-wrapper{
background: url('../images/fsmb-landing-bg.png') no-repeat 50% 140px fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;}

.landing-intro-text {
    color: #31386c;
    font-size: 16px;
}

.trans-header {
background: -moz-linear-gradient(top,  rgba(255,255,255,1) 68%, rgba(255,255,255,0.75) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(68%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0.75))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 68%,rgba(255,255,255,0.75) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,1) 68%,rgba(255,255,255,0.75) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,1) 68%,rgba(255,255,255,0.75) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(255,255,255,1) 68%,rgba(255,255,255,0.75) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#bfffffff',GradientType=0 ); /* IE6-9 */
}


.orange-text {
    color: orange;
}

.site-header {
    font-family: "Arial Black", Gadget, sans-serif;
    color: #31386c;
    font-size: 42px;
}

.site-header-tagline {
  height: 4em;
  position: relative;
  top: 1.9em;
  padding-left: 1em;
  font-size: 20px;
  font-weight: bold;
}

.search-results-header-bar {
    background-color: #476597;
    color: white;
}

.search-results-searchbar {
    padding: 1em;
    margin-top: 1em;
}

.search-results-searchbar .docname, .search-results-searchbar .usstate {
    width: 100%;
}

.search-result-row {
    border-top: 1px solid #cccccc;
    cursor: pointer;
    margin-bottom: 2em;
}

.search-result-row img, .details-doc-icon{
    margin: 1em 0 1em .5em;
}

.search-result-row .details-value {
    margin-left: 2em;
}

.search-details-row {
    border-top: 1px solid #cccccc;
    margin-bottom: 2em;
}

.searchTermHighlight {
    background-color: #fffde3;
}

/* Input Validation */
.validation-wrapper {
    position: relative;
}

.validation-alert {
  position: absolute;
  top: -1.5em;
  color: #b94a48;
  font-weight: bold;
  background-color: #fff;
}
 .pad-top {
     margin-top: 10px;
 }

 .bubble {
  position: relative;
  background-color:#fff;
  margin: 0;
  padding:10px;
  text-align:center;
  color: black;
  width:auto;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  -webkit-box-shadow: 0px 0 3px rgba(0,0,0,0.25);
  -moz-box-shadow: 0px 0 3px rgba(0,0,0,0.25);
  box-shadow: 0px 0 3px rgba(0,0,0,0.25);
}
.bubble:after {
  position: absolute;
  display: block;

  border-color: #eee transparent transparent transparent;
  border-style: solid;
  border-width: 10px;
  height:0;
  width:0;
  position:absolute;
  bottom:-19px;
  left:1em;
}

/* MENU TRIANGLES */

.triangle-isosceles {
}
.triangle-isosceles.top {

}


/* THE TRIANGLE
------------------------------------------------------------------------------------------------------------------------------- */

/* creates triangle */
.triangle-isosceles:after {
  content:"";
  position:absolute;
  bottom:-10px; /* value = - border-top-width - border-bottom-width */
  left:10px; /* controls horizontal position */
  border-width:10px 10px 0; /* vary these values to change the angle of the vertex */
  border-style:solid;
  border-color:#80c150 transparent;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}

/* Variant : top
------------------------------------------ */

.triangle-isosceles.top:after {
  top:-10px; /* value = - border-top-width - border-bottom-width */
  right:10px; /* controls horizontal position */
  bottom:auto;
  left:auto;
  border-width:0 10px 10px; /* vary these values to change the angle of the vertex */
  border-color:#80c150 transparent;
}


/* Loading Spinner */

.spinner-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    display: none;
}

#spinner {
width: 50px;height: 50px;
-webkit-animation: sweep 1s infinite linear;
border-radius: 80px;
border-bottom: 2px solid #80c150;
}
@-webkit-keyframes sweep { to { -webkit-transform: rotate(360deg); } }

.bubble-left {
    text-align: left;
}
.search-result-row img.bubble-image {
    margin:0;
}
.bubble {
    margin-bottom: 5px;
}

.row-no-margin-right {
    margin-right: 0px;
}
/* START MEDIA QUERIES */

@media (min-width: 0px) and (max-width: 992px) {
    .sub-footer {
        position: relative;
        top: 0px;
        left: 0px;
        height: auto;
        padding: 0em 4em 4em 2em;
    }
    .landing-bg-wrapper {
        background: #FFF;
    }
    .landing-intro-text {
        margin-bottom: 3em;
        color: #31386c;
    }
    #navbar.navbar-collapse {
        padding-right: 0em !important;
    }
}

@media (min-width: 0px) and (max-width: 480px) {
    .fsmb-landing-img {
        background: url('/images/fsmb-landing-bg_w480.png') no-repeat;
        max-width: 100%;
        height: 200px;
    }

    .site-header-tagline {
        height: inherit;
        position: inherit;
        top: 0em;
        display: inline-block;
        padding-left: 0px;  
    }

}

@media (min-width: 480px) and (max-width: 992px) {
    .fsmb-landing-img {
        background: url('/images/fsmb-landing-bg_w768.png') no-repeat top center;
        max-width: 100%;
        height: 300px;
    }
}

@media (min-width: 992px) {
    .fsmb-landing-img {
        display: none;
    }
}

/* END MEDIA QUERIES */