﻿/*Global style*/
header,
body {
    background: #ffffff;
    color: #000000;
    cursor: default;
}

.row {
    margin: 0px;
    padding: 0px;
}

html,
body {
    font-size: 16px;
    height: 100%;
    line-height: 1.375;
}

body {
    overflow-y: scroll;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    grid-template-columns: 100%;
}

:root {
    --button-font-size: 1.1em;
}

.col-12,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
    padding: 3px 5px;
}

.clear {
    clear: both;
}

.container {
    width: 90%;
}

.pac-container {
    z-index: 99999 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1em;
}

h5 {
    font-size: 0.875em;
}

h6 {
    font-size: 0.65em;
}

a {
    cursor: pointer;
    text-decoration: underline;
    color: #000;
    font-weight: bold;
}

a:focus,
a:hover {
    text-decoration: underline;
    background-color: transparent;
}

#confirmEmail a,
#confirmEmail a:focus,
#confirmEmail a:hover {
    text-decoration: underline;
    font-weight: bold;
}

.btn,
.btn:hover,
.btn:focus,
.btn:active {
    font-size: var(--button-font-size);
}
/*Global style end*/

/*header*/
#header-1 #header-1-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 10px;
}

#header-1 .container {
    width: 98%;
}

#dashboard-title-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

@media (min-width: 992px) {
    #dashboard-title-container {
        justify-content: right;
    }
}

#dashboard-logo-container #logo-img {
    width: clamp(120px, 45%, 180px);
}

@media (min-width: 992px) {
    #dashboard-logo-container #logo-img {
        float: left;
    }
}

#dashboard-title-container h1 {
    margin: 0px;
    padding: 5px;
    float: right;
    font-weight: 500;
    text-align: center;
    font-size: clamp(2em, 5vw, 2.5em);
}

#header-2 {
    width: 100%;
    height: 40px;
}

#header-2-content {
    margin: 0 auto;
    position: relative;
    text-align: center;
}

#header-2-content .navbar {
    line-height: 45px;
    height: 40px;
    min-height: 40px;
    border: 0px !important;
    border-radius: 0;
    margin-bottom: 0px !important;
}

#header-2-content .container-fluid {
    padding: 0px;
}

#header-2-content .navbar-toggle .icon-bar {
    background: #fff;
}

#header-2-content #menu-items {
    width: 100%;
    float: left;
    padding: 0px;
}

#header-2-content #template-menu {
    width: auto;
    margin: 4px auto;
}

#header-2-content #template-menu > li {
    position: static;
    display: block;
    font-size: 1em;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
    min-width: 85px;
}

.highlighted {
    border-top: 5px solid #ff9c00 !important;
}
/*header end*/

/*body*/
.main-wrapper {
    width: 100%;
    float: left;
    box-sizing: border-box;
    background-size: cover; /* Standard property */
    -webkit-background-size: cover;
}

#initial-disclaimer-modal .modal-dialog,
#map-disclaimer-modal .modal-dialog,
#footer-disclaimer-modal .modal-dialog {
    margin: auto;
    margin-top: 2%;
    width: 80%;
}

table {
    text-align: left;
}

table,
th,
td {
    border: 1px solid #e1e1e1;
}

table th {
    padding: 5px;
    text-align: center;
}

table td {
    padding: 5px;
    text-align: left;
}

table tbody tr,
table tbody tr:hover,
table tbody tr:active {
    background: #ffffff;
}

/*widget general*/
.modal-title {
    text-align: center;
}

.modal-body {
    padding: 15px;
    float: left;
    max-height: 500px;
    overflow-y: auto;
    width: 100%;
}

.modal-body a,
.modal-body span {
    font-size: 1.1em;
}

.modal-body table {
    width: 100%;
}

.modal-body img {
    max-height: 400px;
}

.modal-footer .acknowledgement {
    font-size: 1em;
    font-style: italic;
    float: left;
}

.content-item {
    border-bottom: 1px solid #e3e3e3;
    border-radius: 0.28em;
    margin: 5px;
    padding: 10px;
}

.content-title {
    font-weight: bold;
}

.content-title a {
    text-decoration: none;
    background-color: transparent;
}

.content-title a:focus,
.content-title a:hover {
    text-decoration: underline;
}

.content-update-time {
    color: #666;
    font-style: italic;
    font-size: 1em;
}

.container-fluid > .navbar-collapse,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container > .navbar-header {
    margin: 0px;
}

.social-media-inner-div,
.notice-container {
    border: 2px solid #e3e3e3;
    border-radius: 5px;
    padding: 12px;
    width: 100%;
    height: 100%;
}

.dashboard-row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

/*widget general end*/

/*widget top-tab*/
.top-tab {
    display: flex;
    flex-grow: 1;
    max-height: 250px;
}

.top-tab > div {
    cursor: pointer;
}

.top-tab .top-tab-style {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    float: left;
    padding: 0.5em;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto 1fr;
    align-items: center;
}

.top-tab .top-tab-icon {
    grid-row: 1;
    grid-column-start: 1;
    grid-column-end: 3;
    text-align: center;
}

.top-tab .top-tab-icon img {
    width: 56px;
}

.top-tab .top-tab-icon .fa {
    font-size: 64px;
}

.top-tab .top-tab-event-count {
    float: left;
    box-sizing: border-box;
    font-weight: bolder;
    font-size: 3.5em;
    padding: 0 5px;
    line-height: 1;
    text-align: center;
    grid-row: 2;
    grid-column: 1;
}

.top-tab .tab-info-div {
    grid-row: 2;
    grid-column: 2;
    text-align: center;
}

.top-tab .tab-info-div .tab-info-inner-div {
    text-align: left;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-align: left;
}

.top-tab .tab-info-div .tab-update-time {
    clear: left;
    font-size: 12px;
    font-style: italic;
    float: left;
}

.top-tab .top-tab-external-link a {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    align-items: center;
}

/*widget top-tab end*/

/*widget small-tab*/
.small-tab {
    display: flex;
    padding: 0px;
    justify-content: center;
    cursor: pointer;
}

.small-tab i,
.small-tab img {
    margin-right: 0.3em;
}

.small-tab .small-tab-style {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    font-size: 1.1em;
    border-radius: 5px;
    padding: 5px;
}

.small-tab-style .tab-info-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.small-tab-style .tab-info-div .small-tab-item-count {
    margin-right: 10px;
    font-weight: 600;
}

.small-tab-style a {
    text-decoration: none;
    background-color: transparent;
}

#small-tab-modal .modal-body:has(#flooding-widget-container) {
    max-height: none;
}

#flooding-widget-container table {
    width: 80%;
    margin-left: 5%;
    table-layout: fixed;
}

#flooding-widget-container table,
#flooding-widget-container th,
#flooding-widget-container td {
    border: none;
    background-color: #ffffff;
}

/*widget small-tab end*/

/*widget map*/
.map-heading {
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
    border-bottom: none;
    border-radius: 5px;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    align-items: center;
    min-height: 40px;
    font-size: 1.1em;
}

.map {
    min-height: 600px;
}

.map #legend-icon {
    width: 20px;
    height: 20px;
}

.map .search-box {
    padding: 8px;
    padding-left: 48px;
    width: 273px;
    border: 1px solid #f5f5f5;
    color: gray;
    background-image: url(../../img/map-icons/search.png);
    background-repeat: no-repeat;
    background-position: left center;
    outline: 0;
    background-color: #ffffff;
    font-size: 15px;
    border-radius: 3px;
}

.map-heading #map-disclaimer-btn {
    text-transform: uppercase;
    border-radius: 2px;
    position: absolute;
    right: 10px;
    border: none;
    vertical-align: middle;
    padding: 4px 5px;
}

.leaflet-bar button {
    padding: 0;
}

.leaflet-right {
    z-index: 998;
}

.leaflet-sidebar {
    z-index: 999;
}

#map-legend table,
#map-legend th,
#map-legend td {
    background-color: #ffffff;
    border: 0;
}

#map-legend h3 {
    font-weight: 700;
}

#map-legend th {
    padding: 1px;
}

#map-legend th img {
    width: 28px;
    height: auto;
}

#map-legend td {
    font-size: 1em;
}

#map-modal #map-modal-label img {
    margin: 0px 10px;
    padding-bottom: 4px;
}

#map-modal .modal-header {
    color: #ffffff;
}

#map-modal .modal-body th {
    text-align: left;
}

#map-modal .modal-body img {
    max-height: 400px;
}

#map-modal .carousel-inner > .item > a > img,
.carousel-inner > .item > img {
    margin: 0 auto;
}

/*widget map end*/

/*widget social media*/
.social-media-inner-div .heading-info {
    padding: 5px;
}
.social-media-inner-div .content-info li.active a {
    text-decoration: none;
    background-color: transparent;
}

.social-media-inner-div .content-info li.activee a:focus,
.social-media-inner-div .content-info li.activee a:hover {
    text-decoration: underline;
}

.social-media-tab {
    justify-content: center;
    display: flex;
    overflow-x: hidden;
}

.social-media-content {
    height: 600px;
    overflow-y: hidden;
}

@media (min-width: 1200px) {
    .laptop-view {
        display: block;
    }

    .tablet-view,
    .mobile-view {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .tablet-view {
        display: block;
    }

    .laptop-view,
    .mobile-view {
        display: none;
    }
}

@media (max-width: 767px) {
    .mobile-view {
        display: block;
    }

    .laptop-view,
    .tablet-view {
        display: none;
    }
}
/*widget social media end*/

/*widget optin*/
#capcha {
    margin-top: 20px;
}

#opt-in-tab img {
    height: 26px;
}

#opt-in-modal .tab-content {
    margin-top: 10px;
    height: auto;
    overflow-x: auto;
    overflow-y: auto;
}

.logout-button {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: #000000;
    color: #ffffff;
    display: flex;
    width: max-content;
    align-items: center;
}

#logout-button {
    position: relative;
    float: inline-end;
}

#logout-button-small-screen {
    float: inline-start;
}

#sign-up-bootstrapWizard #subscription-info-div,
#sign-up-bootstrapWizard #subscription-message-div,
#sign-up-bootstrapWizard #subscription-btn-div {
    display: none;
}

/*widget optin end*/

.bootbox {
    z-index: 30000;
}

/*widget warning widget*/
.warning-widget {
    display: flex;
}

.warning-widget-div {
    border: 2px solid #e3e3e3;
    border-radius: 5px;
    padding: 12px;
    background: #ffffff;
    height: 100%;
    width: 100%;
}

.warning-widget-div .warning-content-div {
    float: left;
    width: 100%;
    padding: 20px 5px;
}

.warning-view-more {
    cursor: pointer;
    background-color: #337ab7;
    color: #ffffff;
    float: right;
    clear: left;
    padding: 5px 20px;
    border-radius: 3px;
}

.modal-backdrop {
    z-index: 0;
}
/*widget warning widget end*/

/*widget language widget*/
#google-translate-container {
    display: flow-root;
    width: 100%;
    height: 53px;
}

@media (max-width: 768px) {
    #google-translate-container {
        height: 45px;
    }
}

#google-translate-container a {
    display: none;
}

#google-translate-element {
    width: 100%;
    border: none;
    border-radius: 5px;
}

.goog-te-gadget {
    display: block !important;
    color: #ffffff !important;
}

.goog-te-gadget .goog-te-combo {
    font-size: clamp(1rem, 1.1rem, 1.25rem);
    width: 100%;
    margin: 0 !important;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    text-align-last: center;
}
/*widget language widget end*/

.loading-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background-color: rgba(0, 0, 0, 0.5);
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 200%;
}

.loading-content {
    width: 40%;
    height: 8vh;
    background: white;
    border: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-image {
    margin-left: 5px;
}

/*body end*/

@media (min-width: 992px) and (max-width: 1199px) {
    #header-2-content {
        height: 60px;
    }

    #main-container {
        margin-top: 0px;
    }
}

@media (max-width: 767px) {
    html,
    body {
        font-size: 14px;
    }

    .top-tab {
        display: block;
        max-height: unset;
        flex-grow: 1;
    }

    .top-tab .top-tab-icon {
        display: none;
    }

    .top-tab .top-tab-event-count {
        display: flex;
        align-items: center;
        justify-content: left;
        margin-left: 20px;
    }

    .small-tab {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    html,
    body {
        font-size: 12px;
    }

    .leaflet-right {
        width: 70%;
    }

    .map .search-box {
        width: 100%;
    }
}
