﻿﻿/*Helps background stay the right color with other conflicting style sheets*/
/*body .container-fluid  {
    background-color: #ededed;
}*/

.link-list {
    /*break-inside: avoid;*/
    /*line-break: loose;*/
}
.link-list-item {
    /*break-inside: avoid;*/
    white-space: nowrap;
    display: inline-block;
    /*line-break: loose;*/
}

.no-wrap {
    white-space: nowrap;
}

.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

/*Ripped from bootstrap 4.0*/
.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

/*Temp Test Site CSS*/
/*Don't spend time making this nice beyond UI look, it's going away ASAP*/
.active-development-warning {
    z-index: 100;
    color: #750000;
    font-size: 15px;
    padding: 3px;
    padding-left: calc(5% + 15px);
    background-color: #E88181;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/*better as #specific-id .general-class*/
.active-development-warning-dismiss {
    /*float: right;*/
    cursor: pointer;
    /*top: 2px;*/
    margin-left: 30px;
    margin-right: 10px;
    float: right;
    align-self: center;
}

/*No margin/padding top on subheaders that come directly after another header*/
h1 + h2, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
    margin-top: 0px;
    padding-top: 0px;
}

.media-heading {
    padding-top: 0px;
}

a.dropdown-item {
    text-decoration: none;
}

    a.dropdown-item:hover {
        cursor: pointer;
    }

/*Ripped from bootstrap 4.0*/
.btn-dark, a.btn-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

    .btn-dark:not(:disabled):not(.disabled).active, .btn-dark:not(:disabled):not(.disabled):active, .show > .btn-dark.dropdown-toggle {
        color: #fff;
        background-color: #1d2124;
        border-color: #171a1d;
    }

    .btn-dark.focus, .btn-dark:focus {
        box-shadow: 0 0 0 0.2rem rgba(52,58,64,.5);
        color: #fff;
    }

    .btn-dark:hover {
        color: #fff;
        background-color: #23272b;
        border-color: #1d2124;
    }

    .btn-dark:not(:disabled):not(.disabled).active:focus, .btn-dark:not(:disabled):not(.disabled):active:focus, .show > .btn-dark.dropdown-toggle:focus {
        box-shadow: 0 0 0 0.2rem rgba(52,58,64,.5);
    }

div.logo {
    margin-top: 12px;
}

div.logo img {
    height: 31px;
    width: auto;
    margin-top: 5px;
}

div.fema-header-logo img{
    height: 60px;
    width: auto;
    margin-top: -15px;
}

@media (min-width: 991px) and (max-width: 1045px) {
    div.logo img {
        width: 250px;
    }
}

.nri-text-logo {
    font-family: 'Merriweather', serif;
    font-size: 30px;
    font-weight: 400;
}

.nri-hazard-item {
  width: 100%;
}

a.nri-text-logo:hover {
  color: lightgray;
}

/*.nri-text-logo-bottom:hover {
    color: white;
}*/

a.nri-text-logo-top {
    color: #FFFFFF;
    font-weight: normal;
}

.nri-text-logo-nohero {
    color: black;
}

div.navbar-collapse {
    padding-right: 0px;
}

.nri-list-container ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.nri-list-container-two-columns {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.nri-list-container-two-columns li {
  flex: 0 50%;
}

/* commented out this override to get back to original positioning and responsive behavior*/
/*div.header-right-block {
    margin-top: 5px;
    margin-right: 0px;
}*/

div.menu-wrapper ul.navbar-nav li {
    margin-right: 15px;
    /*padding: 2.5px 10px;*/
}

    div.menu-wrapper ul.navbar-nav > li > a {
        vertical-align: middle;
        display: table-cell;
        height: 30px;
    }

div.menu-wrapper ul.navbar-nav a/*, div.menu-wrapper ul.navbar-nav a:hover*/ {
    color: #37783A;
    text-decoration: none;
    padding: 7.5px 20px;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: .4px;
}

.nri-selected-nav a {
    border-radius: 4px;
    background-color: rgba(255, 255, 255, .25);
}

div.menu-wrapper ul.navbar-nav li.nri-selected-nav a, div.menu-wrapper ul.navbar-nav li.nri-selected-nav a:hover {
    /*font-weight: 600;*/
}

div.menu-wrapper ul.navbar-nav li.dropdown {
    margin-right: 0px;
}
li.dropdown > a.dropdown-toggle {
    cursor: pointer;
}
li.dropdown > ul.dropdown-menu > li {
    display: list-item;
}
.triangle-border, .navbar-nav .open .dropdown-menu {
    border-color: rgba(0, 0, 0, .13);
}
    .triangle-border:before {
        border-top-color: rgba(0, 0, 0, .13);
        border-bottom-color: rgba(0, 0, 0, .13);
    }

.nri-vertical-list {
    list-style-type: none;
    padding-left: 0px;
}

    .nri-vertical-list :not(:last-child) {
        margin-bottom: 10px;
    }

.nri-vertical-list-bullet {
    list-style-position: outside;
    list-style-type: disc;
    margin-left: 15px;
}
/*.nri-vertical-list * {
    padding-left: 10px;
}*/


.nri-centered-list li {
    text-align: center;
}


nri-vertical-list-bullet {
    list-style-type: symbols();
}

/*TODO other buffer sizes for ALL directions*/
.nri-buffer {
    margin: 30px;
}

/*TODO other buffer sizes for different directions, maybe make as needed to keep filesize down*/
.nri-buffer-large-top {
    margin-top: 90px; /*120px;*/
}

.nri-buffer-top {
    margin-top: 30px;
}

.nri-buffer-small-bottom {
    margin-bottom: 15px;
}
.nri-buffer-bottom {
    margin-bottom: 30px;
}

.nri-buffer-left {
    margin-left: 30px;
}

.nri-buffer-right {
    margin-right: 30px;
}

.nri-buffer-small-right {
    margin-right: 15px;
}


.nri-related-link-currentpage-text {
    font-weight: bold;
    /*padding-bottom: 10px;*/
    position: relative;
    display: block;
    /*text-shadow: .75px 0 0 currentcolor;*/
    /*text-decoration: underline;*/
}

.nri-breadcrumb-currentpage {
    font-weight: bold;
    color: rgba(0, 0, 0, 0.68);
    /*text-shadow: .75px 0 0 currentcolor;*/
    /*text-decoration: underline;*/
}

.nri-header-light {
    font-weight: 500;
}

.nri-ask-answer {
    font-weight: 300;
}

.nri-spaced-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}


body.error-page, html.error-page {
    height: 100%;
}

div.error-page {
    background-image: url(../Images/error_background.png);
    
    height: 100%;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: black;

    text-align: center;
}

h3.text-error {
    font-size: 36px;
}

h4.text-error {
    font-size: 24px;
    
}

.feedback-rating .dojoxRatingStar > svg {
    fill: #C0C0C0;
}

.feedback-rating .dojoxRatingStar {
    background-image: url("../../img/icons/ui/rating-star-unchecked.svg");
    background-position:center center;
    background-repeat: no-repeat;
    /*background-color: #C0C0C0;*/
    width: 48px;
    height: 48px;
    padding: 0.5em;
}

.feedback-rating .dojoxRatingStar.dojoxRatingStarChecked {
    background-image: url("../../img/icons/ui/rating-star.svg");
    /*fill: #EFCE4A;*/
}
.feedback-rating .dojoxRatingStar.dojoxRatingStarHover {
    background-image: url("../../img/icons/ui/rating-star.svg");
    /*fill: #EFE155;*/
}

div.nri-thank-you-container {
    text-align: center;
}


/*Take Action Page panel bootstrap items*/

.panel-group {
    margin-bottom: 20px !important;
}

.panel-group .panel {
    margin-bottom: 0 !important;
    border-radius: 4px !important;
}

.panel-default {
    border-color: rgba(52,58,64,.5) !important;
}
.panel {
    margin-bottom: 20px !important;
    background-color: #ededed !important;
    border: 1px solid transparent;
    border-radius: 4px !important;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05) !important;
    box-shadow: 0 1px 1px rgba(0,0,0,.05) !important;
}
.panel-body {
    padding: 15px !important;
    background-color: #ededed !important;
}

.accessibility-text {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.full-width {
    width: 100%;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    place-content: space-between;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.how-we-can-help-card {
    display: table;

    background-color: #ffffff;
    
    width: 100%;
    height: 100px;
    border-radius: 5px;

    padding-left: 10px;
    padding-right: 10px;

    padding-top: 2px;
    padding-bottom: 2px;

    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 10px;
    margin-right: 10px;

    text-align: center;

    box-shadow: 0px 0px 3px 2px #c8c8c8;
}

@media (min-width: 768px) {
    .how-we-can-help-card {
        width: 30%;
        max-height: 180px;
        height: 180px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .flex-container {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

.how-we-can-help-card .card-body {
    display: table-cell;
    vertical-align: middle;
}

.faq-questions {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.faq-questions li:not(:last-child) {
    padding-bottom: 25px;
}

.usa-alert__heading {
    padding: 0 !important;
    font-weight: bold !important;
}