/* *s/
.col-1 {
    border: 1px solid pink;
}

.col-2 {
    border: 1px solid deeppink;
}

.col-3 {
    border: 1px solid red;

}

.col-3 {
    border: 1px solid purple;
}

.row {
    border: 2px dotted lightblue;
}

/* */

body {
    /* navbar offset */
    padding-top: 50px;
}

body.page-login {
    /* login page has no navbar, remove the offset */
    padding-top: 0;

    /*
     colors taken from right/snowmaker column in:
     http://noreasterweather.com/wp-content/uploads/2017/12/noreaster_yt.jpg
    */
    background: #1681A5 linear-gradient(#1681A5, #0B363F) fixed;
}

.parentOrgDashboardLogoHeader {
    max-width: 90%;
    max-height: 143px;
    margin: 10px auto;
}

.parentOrgDashboardLogoHeader img {
    max-width: 100%;
}

.parentOrgDashboardChildOrgCardLink:hover {
    text-decoration: none;
}

.parentOrgDashboardChildOrgCardLink img {
    object-fit: contain;
    height: 100px;
}

.parentOrgDashboardChildOrgCard:hover {
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);

}

.blogPostTileRow {
    display: flex;
    flex-wrap: wrap;
}

.normalBlogPostTile,
.videoBlogPostTile {
    border: 1px solid #ddd;
    padding: 0;
}

.normalBlogPostTile .header,
.videoBlogPostTile .header {
    padding: 0.1em 0.2em;
}

.normalBlogPostTile .header .pubDate,
.videoBlogPostTile .header .pubDate {
    font-size: 80%;
}

@media (max-width: 768px) {
    .normalBlogPostTile:not(:first-child),
    .videoBlogPostTile:not(:first-child) {
        display: none;
    }
}

.wpPostTileFeaturedImage {
    width: 100%;
    height: auto;
}

.videoEmbedWrapper {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    display: block;
    z-index: 2
}

.videoEmbedWrapperClickInterceptor {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    cursor: pointer;
}

.videoEmbedWrapper iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

#smBS4ModalBody iframe.videoPopUpFrame {
    width: 464px;
    height: 262px;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    #smBS4ModalBody iframe.videoPopUpFrame {
        width: 464px;
        height: 262px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    #smBS4ModalBody iframe.videoPopUpFrame {
        width: 466px;
        height: 264px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #smBS4ModalBody iframe.videoPopUpFrame {
        width: 760px;
        height: 430px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    #smBS4ModalBody iframe.videoPopUpFrame {
        width: 760px;
        height: 430px;
    }
}

body.page-login footer {
    color: #cecece;
}

.hover-help:hover {
    cursor: help;
}

.row.hover-primary:hover {
    background-color: #cce5ff;
}

.row.hover-secondary:hover {
    background-color: #e2e3e5;
}

.row.hover-success:hover {
    background-color: #d4edda;
}

.row.hover-danger:hover {
    background-color: #f8d7da;
}

.row.hover-warning:hover {
    background-color: #fff3cd;
}

.row.hover-info:hover {
    background-color: #d1ecf1;
}

.row.hover-light:hover, .row.hover:hover {
    background-color: #fefefe;
}

.row.hover-dark:hover {
    background-color: #d6d8d9;
}

img.login-logo {
    max-width: 150px;
    margin: 1em auto;
}

.small-caps {
    font-variant: small-caps !important;
    text-rendering: auto;
}

.line-height-1 {
    line-height: 1;
}

.alertsCountBadge {
    position: relative;
    top: -2px;
}

input.worksheet {
    width: 100%;
    padding: 5px;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
}

input.worksheet::placeholder,
textarea.worksheet::placeholder {
    opacity: 0.5;
}

textarea.peakNoteTextarea {
    width: 100%;
    height: 150px;
}

.ws-container .ws-row {
    border-top: 1px solid #D6D6D6;
    padding-top: 4px;
    padding-bottom: 4px;
}

.ws-container .ws-row:hover {
    background: #f5f5f5;
}

.adeClickableData:hover {
    cursor: pointer;
    opacity: 0.6;
}

/*
.clientHourlyForecastGridHoverRow:hover {
    background-color: rgba(24, 153, 176, 0.27);
    border: none !important;
}
*/

.clientHourlyForecastGridRow:nth-child(odd) {
    background-color: rgba(255, 255, 255, 1);

}

.clientForecastLastUpdate {
    font-weight: normal;
}

.ws-container .ws-container-header {

    padding-top: 6px;
    padding-bottom: 6px;
    border-top: 2px solid #1681A5;
    border-bottom: 2px solid #1681A5;
    font-family: Verdana, Arial, serif;
    font-size: 20px;
    color: #ffffff;
    background-color: #737e86;
    letter-spacing: 3px;
    font-weight: bold;
}

.ws-container .ws-row-header {
    background-color: #E0E0E0;
    font-weight: bold;
}

.ws-container .ws-row {
    border-top: 1px solid #D6D6D6;
    padding-top: 4px;
    padding-bottom: 4px;
}

.ws-container .ws-header {
    font-weight: bold;
}

.ws-container input[type="text"] {
    width: 100%;
}

.ws-container textarea {
    width: 100%;
    height: 100px;
}

input.invalid {
    border: 1px solid #C00;
    background-color: #fdd;
}

.adminEditUsersTableFormRow th {
    padding: 0.25em 0;
}

.adminEditUsersTable td {
}

#addUserChooseRoleSelect {
    min-width: 100px;
}

.adminDashInlinePeakEditor,
.adminDashInlineStationEditor {
    display: none;
    font-size: 70%;
    margin-left: 1em;
}

.peakPollingHistoryTable {
    font-size: 75%;
}

.peakPollingHistoryTableTimestampGroupCol {
    font-weight: bold;
    background-color: #eee;
}

.dev_sessions_table td {
    font-size: 80%;
}

.dev_sessions_table td.user_agent {
    font-size: 70%;
}

.sessionDataModalContent {
    max-width: 500px;
    overflow-wrap: break-word;
}

/* bootstrap 4 dropped the xs button size. This adds it back */
.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .4rem;
    font-size: 92%;
    line-height: 92%;
    border-radius: .2rem;
}

.limited-height-dropdown {
    max-height: 300px;
    overflow-y: auto;
}

/* BOOTSTRAP BUTTON OVERRIDES */

.btn-primary {
    background: #1681A5;
    color: #ffffff;
}

.btn-primary:hover, .btn-primary:focus, .open > .dropdown-toggle.btn-primary {
    background: #1681A5;
}

.btn-primary:active, .btn-primary.active {
    background: #0B363F;
    box-shadow: none;
}

.btn-outline-primary {
    color: #1681A5;
    border-color: #1681A5;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .open > .dropdown-toggle.btn-outline-primary {
    background: #1681A5;
    color: #ffffff;
}

.btn-outline-primary:active, .btn-outline-primary.active {
    background: #0B363F;
    color: #ffffff;
}

.hoverRevealedChildContent,
.hoverRevealedChildContentBlock,
.hoverRevealedChildContentInline {
    display: none;
}

.hasHoverRevealedChildContent:hover .hoverRevealedChildContentInline {
    display: inline;
}

.hasHoverRevealedChildContent:hover .hoverRevealedChildContent,
.hasHoverRevealedChildContent:hover .hoverRevealedChildContentBlock {
    display: block;
}

/* END BOOTSTRAP BUTTON OVERRIDES */

/* this is overridden at larger sizes with media queries below */
.responsive-font-size {
    font-size: 60%;
}

/* Smaller devices (440px and up) THIS IS NOT A BOOTSTRAP BREAKPOINT */
@media (min-width: 440px) {
    .responsive-font-size {
        font-size: 70%;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .responsive-font-size {
        font-size: 80%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .responsive-font-size {
        font-size: 100%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .responsive-font-size {
        font-size: 100%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}

@media print {
    .card-body {
        padding-top: 0.1em;
        padding-bottom: 0.1em;
    }
}