﻿@charset "utf-8";

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  position: relative;  
  background: #fff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background-color: #fff; }
::-webkit-scrollbar-thumb { background-color: #fafafa; }

/* ===== PLACEHOLDER ===== */
::placeholder { color: #9c9c9c; opacity: 1; font-style: italic; } 
:-ms-input-placeholder { color: #9c9c9c; font-style: italic; }
::-ms-input-placeholder { color: #9c9c9c; font-style: italic; }

/* ===== LAYOUT 0 :: FS ===== */
@media screen and (min-width: 0) {
    #layout {
        height: 100%;
    }

    .header {
        background: #fafafa;
        height: 275px;
        padding: 10px 15px;
        position: relative;
    }

        .header .hd-brand {
            text-align: center;
            padding: 0;
            height: 70px;
            display: flex;
            flex-flow: row nowrap;
            justify-content: center;
        }

            .header .hd-brand img {
                width: auto;
                height: 100%;
            }

        .header .hd-msg {
            height: 100px;
            display: flex;
            flex-flow: column;
            justify-content: center;
            align-items: center;
            visibility: hidden;
        }

            .header .hd-msg ul {
                padding: 0;
                list-style: none;
                width: 100%;
            }

                .header .hd-msg ul li {
                    color: #0f7dae;
                    font-size: 13px;
                    margin: 0;
                    line-height: 18px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }

        .header .hd-btn {
            height: 70px;
            text-align: right;
            margin: 8px 0;
            display: flex;
            flex-flow: column;
            justify-content: center;
            align-items: center;
            visibility: hidden;
        }

    #main {
        background: #fff;
        padding: 20px 25px;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .content { height: 100%; }

    .wrap-content {
        height: calc(100% - 315px);
    }

    #msg {
        text-align: center;
        color: #0f7dae;
        font-size: 21px;
        font-weight: 500;
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* === FOOTER === */
    .footer {
        position: relative;
        background: #fafafa;
        height: 40px;
        padding: 0 10px;
    }

        .footer p {
            color: #0f7dae;
            font-size: 12px;
            line-height: 40px;
            margin: 0;
            padding: 0;
            text-align: center;
        }

    .btn-gr {
        width: auto;
        height: 45px;
        border-radius: 2px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        padding: 0 20px;
        color: #f8f8f8;
        text-transform: uppercase;
    }

        .btn-gr > .icon {
            margin-right: 8px;
            font-size: 15px;
            line-height: 45px;
        }

        .btn-gr > .caption {
            font-size: 15px;
            line-height: 45px;
        }

    #map_canvas {
        height: 100% !important;
    }
}
/* ===== LAYOUT 768 :: MD ===== */
@media screen and (min-width: 768px) {
    .header { height: 240px; }
    .header .hd-btn { margin: 0; height: 100px; align-items: flex-end; }
    .header .hd-brand { height: 100px; }
    .header .hd-msg { margin-top: 10px; height: 110px; }
    .wrap-content { height: calc(100% - 280px); }  
    .footer { position: relative; }
    .header .hd-msg ul li { font-size: 15px; line-height: 20px; }
    #msg { font-size: 30px; }
}
/* ===== LAYOUT 1024 :: LG ===== */
@media screen and (min-width: 1024px) {
    .header { height: 110px; }
    .header .hd-msg { height: 100%; align-items: flex-start; margin-top: 0; }
    .header .hd-brand { margin-bottom: 0; height: 100%;  }
    .header .hd-btn { height: 100%; align-items: flex-end; }
    .wrap-content { height: calc(100% - 150px); }


    .header .hd-msg ul li { font-size: 13px; line-height: 17px; }
}

/* ===== LOADER 0 :: FS ===== */
@media screen and (min-width: 0) {
    .divLoader {
        margin: auto;
        text-align: center;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
    }

    .loaderBackground {
        background: rgba(255, 255, 255, .8);
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .imgLoader {
        width: 150px;
        text-align: center;
        color: #0f7dae;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
    }

        .imgLoader span {
            display: block;
            font-size: 23px;
            line-height: 40px;
            font-weight: 500;
            text-transform: uppercase;
        }

        .imgLoader i {
            font-size: 70px;
            display: block;
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
        }
}

/* ===== FORM 0 :: FS ===== */
@media screen and (min-width: 0) {
    .form-control {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: flex-start;
        position: relative; 
    }

    .form-control .input-field {
        border: 2px solid #cccccc;
        border-radius: 4px;
        background: transparent;
        padding: 8px;
        text-align: center;
        color: #838383;
        font-size: 22px;
        font-weight: 400;
        width: 100%;
        height: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn {
        width: 100%;
        height: 45px;
        line-height: 45px;
        border-radius: 2px; 
            -webkit-border-radius: 2px;
                -moz-border-radius: 2px;       
        padding: 0 15px;
        color: #f8f8f8;
        text-transform: uppercase;
    }

    .btn:first-child { margin-bottom: 10px; }

    .btn > .icon {
        margin-right: 8px;
        font-size: 16px;
    }

    .btn > .caption {
        font-size: 16px;
    }

}
/* ===== FORM 768 :: MD ===== */
@media screen and (min-width: 768px) {
    .form-control .input-field { font-size: 30px; }

    .btn {
        width: 49%;
        height: 45px;
        line-height: 45px;
        border-radius: 2px; 
            -webkit-border-radius: 2px;
                -moz-border-radius: 2px;       
        padding: 0 15px;
        color: #f8f8f8;
        text-transform: uppercase;
    }

    .btn:first-child { margin-bottom: 0; }
}