/* Custom Maintenance Mode Frontend Styles */

@font-face {
    font-family: 'GeosansLight';
    src: url('fonts/GeosansLight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GeosansLight';
    src: url('fonts/GeosansLight-Oblique.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Shabnam';
    src: url('fonts/Shabnam-FD-WOL.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body.maintenance-mode {
    margin: 0;
    padding: 0;
    font-family: 'GeosansLight', Arial, sans-serif;
    color: #fff;
    min-height: 100vh;
}

/* Countdown Timer */
.pane-when .header {
    float: right;
    width: 50%;
    min-width: 250px;
    max-width: 360px;
    text-align: right;
    border-bottom: 2px solid #fff;
    font-family: Tahoma;
    margin-bottom: 16px;
    padding-bottom: 8px;
}

.pane-when .header h1 {
    font-family: 'Shabnam', 'GeosansLight', Arial, sans-serif;
    font-weight: bold;
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-rendering: optimizeLegibility;
    margin: 0;
    color: #fff;
}

.pane-when .header p {
    font-family: 'Shabnam', 'GeosansLight', Arial, sans-serif;
    font-weight: normal;
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-rendering: optimizeLegibility;
    margin: 0;
    color: #fff;
}

.pane-when {
    position: absolute;
    left: 50%;
    top: auto;
    bottom: 10%;
    right: 5%;
    color: #fff;
    z-index: 1;
}

.pane-when .clock {
    float: right;
    width: 100%;
    min-width: 280px;
    text-align: right;
    font-family: "GeosansLight";
    position: relative;
    margin-bottom: -28px;
    direction: ltr;
}

.pane-when .clock .big {
    display: inline-block;
    position: relative;
    vertical-align: baseline;
    font-size: 110px;
    line-height: 0.8;
    margin-right: 0px;
    color: #fff;
}

@media (max-width: 480px) {
    .pane-when .clock .big {
        font-size: 80px;
    }

    .pane-when .clock .medium {
        font-size: 40px;
        width: 100px;
    }

    .pane-when .header h1 {
        font-size: 1.5rem;
    }

    .pane-when .header p {
        font-size: 1.2rem;
    }
}

.pane-when .clock .big .txt {
    position: absolute;
    right: auto;
    left: 100%;
    top: 0;
    bottom: auto;
    font-size: 18px;
    text-align: left;
    margin-left: 5px;
    color: #fff;
    font-family: 'Shabnam', 'GeosansLight', Arial, sans-serif;
}

.pane-when .clock .medium {
    display: inline-block;
    width: 190px;
    position: relative;
    font-size: 72px;
    word-spacing: -16px;
    color: #fff;
}

.pane-when .clock .separator {
    display: inline-block;
    color: #fff;
    margin: 0 5px;
}

.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.pane-when .clock .medium .hours {
    width: auto;
}

.pane-when .clock .medium .hours, .pane-when .clock .medium .minutes {
    display: inline-block;
    width: auto;
    text-align: center;
}

.pane-when .clock .small {
    display: inline-block;
    position: absolute;
    font-size: 18px;
    line-height: 1;
    right: 0;
    top: 0;
    color: #fff;
}

.pane-when .clock .small .sec-label {
    font-size: 18px;
    vertical-align: top;
    font-family: 'Shabnam', 'GeosansLight', Arial, sans-serif;
}

@media (max-width: 768px) {
    .pane-when {
        position: absolute;
        left: 50%;
        top: auto;
        bottom: 10%;
        right: 5%;
        text-align: right;
        padding: 0;
    }

    .pane-when .header {
        float: right;
        width: 100%;
        min-width: 250px;
        max-width: 360px;
        text-align: right;
        margin-bottom: 16px;
    }

    .pane-when .clock .medium {
        font-size: 52px;
        width: 132px;
    }

    .pane-when .header h1 {
        font-size: 1.8rem;
    }

    .pane-when .header p {
        font-size: 1.5rem;
        line-height: 1.2;
    }

}