﻿/* ========================================================================
 * FONT FACE
 * ======================================================================== */

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-Thin.otf');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-Light.otf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-Book.otf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-Medium.otf');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-Semibold.otf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-Bold.otf');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-Black.otf');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/merriweather/');
    src: url('../fonts/merriweather/Merriweather-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/merriweather/Merriweather-Light.ttf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/merriweather/Merriweather-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/merriweather/Merriweather-SemiBold.ttf');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/merriweather/Merriweather-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/merriweather/Merriweather-ExtraBold.ttf');
    font-weight: 800;
    font-style: normal;
}

/* ========================================================================
 * ITALIC
 * ======================================================================== */


@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-ThinItalic.otf');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-LightItalic.otf');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-BookItalic.otf');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-MediumItalic.otf');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-SemiboldItalic.otf');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-BoldItalic.otf');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Stag';
    src: url('../fonts/stag/Stag-BlackItalic.otf');
    font-weight: 900;
    font-style: italic;
}


/* ========================================================================
 * FONT FACE
 * ======================================================================== */

body {
    /*
    padding-top: 50px;
    padding-bottom: 20px;
    */
    font-family: "MerriweatherSans";
    font-size: 16px !important;
    background: #E7EFF6;
}

.form-control {
    border-color: #575962;
}

.form-control-search {
    border-color: #575962;
}

fieldset {
    font-family: sans-serif;
    border: 2px solid #000;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    padding-bottom: 50px;
}

.m-form .m-form__group {
    padding-top: 0px;
}

fieldset legend {
    margin-left: 20px;
    width: auto !important;
    border-bottom: none !important;
    font-size: 16px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
/*.body-content {
    padding-left: 15px;
    padding-right: 15px;
}*/

/*.m-form .form-control-label, .m-form label {
    font-size: 12px !important;
}*/

/*.form-control {
    font-size: 16px !important;
}*/

.application-form-header {
    text-align: center;
    margin: auto;
    width: 80%;
    color: aliceblue;
    text-transform: uppercase;
}

.application-form-header-question {
    text-align: right;
}


#header a {
    height: 80px !important;
    width: 212.8px !important;
    margin-left: 20px;
    margin-top: 10px;
    display: block;
    text-indent: -99999px;
    text-transform: capitalize;
    background: transparent url('../images/logo/ATG-logo.png') top left no-repeat;
    background-size: cover;
    position: relative;
}

#header {
    background: transparent url('../images/logo/caption-bg.png') bottom left repeat-x;
    position: relative;
}

.m-content {
    min-width: 500px !important;
}


.form-control-feedback {
    position: unset !important;
    top: 0;
    right: 0;
    z-index: 2;
    display: unset !important;
    width: unset !important;
    height: unset !important;
    line-height: unset !important;
    text-align: unset !important;
    pointer-events: none;
}

.form-group .required {
    color: #e02222;
    font-size: 12px;
    padding-left: 2px;
}

.row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

    .row:before, .row:after {
        /*display: none !important;*/
        display: inline-block;
    }

.capitalized {
    text-transform: capitalize;
}

.m-form .m-form__help {
    font-size: 1rem;
}

label {
    font-family: sans-serif;
    font-weight: normal;
}

#g-recaptcha-response {
    display: block !important;
    position: absolute;
    margin: -78px 0 0 0 !important;
    width: 302px !important;
    height: 76px !important;
    z-index: -999999;
    opacity: 0;
}

#g-recaptcha-response-error {
    color: #f4516c !important;
}

.dataTables_scrollHead {
    border-top: 1px solid #C3C3C3 !important;
    border-bottom: 1px solid #C3C3C3 !important;
}

div.dts div.dataTables_scrollBody {
    background: unset !important;
}

tbody td {
    border-bottom: 1px solid #C3C3C3;
}

td.dt-nowrap {
    white-space: nowrap
}

/* Responsiveness */
@media (max-width: 320px) {
    .m-form__actions .btn.m-btn--custom{
        font-size:12px !important;
    }
    #header a{
        margin:5px auto !important;
    } 
    .application-form-header h1{
        margin-top:5px !important;
    }
    fieldset {
        padding: 15px 10px 10px 10px !important;
    }
    #Agent fieldset {
        padding-top: 50px !important;
    }
}

@media (min-width: 321px ) and (max-width: 375px) {
    .m-form__actions .btn.m-btn--custom {
        font-size: 14px !important;
    }
    #header a {
        margin: 5px auto !important;
    }

    .application-form-header h1 {
        margin-top: 5px !important;
    }

    fieldset {
        padding: 15px 10px 10px 10px !important;
    }
    #Agent fieldset {
        padding-top: 50px !important;
    }
}

@media (min-width: 376px ) and (max-width: 425px) {
    .m-form__actions .btn.m-btn--custom {
        font-size: 16px !important;
    }

    #header a {
        margin: 5px auto !important;
    }

    .application-form-header h1 {
        margin-top: 5px !important;
    }

    fieldset {
        padding: 15px 10px 10px 10px !important;
    }
    #Agent fieldset {
        padding-top: 50px !important;
    }
}

@media (min-width: 426px ) and (max-width: 768px) {
    .m-form__actions .btn.m-btn--custom {
        font-size: 16px !important;
    }

    #header a {
        margin: 5px auto !important;
    }

    .application-form-header h1 {
        margin-top: 5px !important;
    }

    fieldset {
        padding: 15px 10px 10px 10px !important;
    }
    #Agent fieldset {
        padding-top: 50px !important;
    }
}

@media (min-width: 769px ) and (max-width: 1024px) {
    fieldset {
        padding: 15px 10px 10px 10px !important;
    }
    #Agent fieldset {
        padding-top: 50px !important;
    }
}

@media (min-width: 1025px ) and (max-width: 1440px) {
    fieldset {
        padding: 15px 10px 10px 10px !important;
    }
    #Agent fieldset {
        padding-top: 50px !important;
    }
}

@media (min-width: 1441px ) and (max-width: 2560px) {
    fieldset {
        padding: 15px 10px 10px 10px !important;
    }
    #Agent fieldset {
        padding-top: 50px !important;
    }
}

@media (min-width: 2561px ) {
    fieldset {
        padding: 15px 10px 10px 10px !important;
    }
    #Agent fieldset {
        padding-top: 50px !important;
    }
}
.m-create-form {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.08);
    border: none;
    position: relative;
    padding-top: 50px;
    padding-bottom: 10px;
    font-family: sans-serif;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    page-break-inside: avoid !important;
}
.m-create-form-header {
    color: #1C355E;
    font-weight: bold;
    font-size: 20px;
    font-family: 'Stag', serif;
}
/*
    Version 0.1
*/
.m-portlet-remove {
    -webkit-box-shadow: unset !important;
    -moz-box-shadow: unset !important;
    box-shadow: unset !important;
}
#header-logo a {
    height: 69px !important;
    width: 300px !important;
    margin: auto;
    display: block;
    text-indent: -99999px;
    text-transform: capitalize;
    background: transparent url('../images/logo/adv-logo-white.svg');
    background-repeat: round;
    background-position: center;
    position: relative;
}
/*
    Header 
*/

#header-color {
    height: 120px;
    background: #1e3c72;
    background: -webkit-linear-gradient(to right, #03396c, #283655);
    background: linear-gradient(to right, #03396c, #283655);
    border: none;
    padding: 10px;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-space {
    padding: 10px 0;
}
/*
    ReadOnly CSS
*/
.readonly-suffix {
    position: relative;
    color: #999;
    line-height: 22px;
    font-size: 22px;
    float: right;
    padding-right: 20px;
    padding-top: 5px;
}

    .readonly-suffix i {
        position: absolute;
    }
/* 
    Button
*/
.btn-custom {
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2) !important;
}
/*
    Box
*/
.m-box {
    border-radius: 5px;
    padding: 20px 10px;
}

.m-box-title {
    color: #1C355E;
    font-weight: bold;
    font-size: 20px;
}

.m-box-title-color2 {
    color: #343a40;
}

.m-box-title-bg2 {
    background-color: #343a40;
}
/*
    Form Space
*/
.m-box-form {
    margin-bottom: 100px;
}
/*
    Required
*/
.required {
    color: #e02222;
}
/*
    Divider
*/
.m-box-divider {
    border-bottom: 1px solid #e7eff6;
    background-color: #e7eff6;
    height: 2px;
    margin: 5px 0 10px 0;
}

    .m-box-divider span {
        display: block;
        width: 50px;
        height: 2px;
        background-color: #1b375d;
    }
/*
    Form Space
 */
.m-form-space {
    padding: 20px 0;
}

.m-radio > input:checked ~ span:after, .m-checkbox > input:checked ~ span:after {
    font-size: 18px !important;
}
/*
    Form Validate
*/
#m_form .form-control-feedback, #request-form .form-control-feedback {
    font-size: 12px;
}

@media (min-width: 1281px) {
}

@media (min-width: 1025px) and (max-width: 1280px) {
    #header-color .application-form-header h1 {
        font-size: 24px !important;
    }

        #header-color .application-form-header p {
            font-size: 16px !important;
        }
}

@media (min-width: 768px) and (max-width: 1024px) {
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
}

@media (min-width: 481px) and (max-width: 767px) {
    .header-space {
        padding: 5px 0;
    }

    #header-color {
        padding: 10px 5%;
        height: auto !important; 
    }
        #header-color .application-form-header {
            padding: 15px 0 0 0;
            text-align: center !important;
        }
        #header-color .application-form-header h1 {
            font-size: 18px !important;
        }
        #header-color .application-form-header p {
           
            font-size: 14px !important;
        }

    .m-width {
        width: 100%;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
    .header-space {
        padding: 5px 0;
    }

    #header-color {
        padding: 10px 5%;
        height:auto !important;
    }
    #header-color .application-form-header {
            padding: 15px 0 0 0;
            text-align: center !important;
        }
        #header-color .application-form-header h1 {
            font-size: 16px !important;
        }
        #header-color .application-form-header p {
           
            font-size: 12px !important;
        }

    .m-width {
        width: 100%;
    }

    .m-box {
        padding: 15px 0;
    }
}



thead > tr {
    border-top: 1px solid #C3C3C3 !important;
    border-bottom: 1px solid #C3C3C3 !important;
}

div.dts div.dataTables_scrollBody {
    background: unset !important;
}

tbody td {
    border-bottom: 1px solid #C3C3C3;
}

td.dt-nowrap {
    white-space: nowrap
}


.dataTable thead th {
    font-weight: 600 !important;
}

@media (min-width: 1400px){
    .container {
        max-width: 1280px;
    }
}

.file-checkbox {
    border-radius: 3px;
    background: none;
    position: absolute;
    top: 1px;
    left: 0;
    height: 20px;
    width: 20px;
}

    .file-checkbox::after {
        content: '';
        position: absolute;
        border: solid #fff;
        top: 50%;
        left: 50%;
        margin-left: -3px;
        margin-top: -8px;
        width: 7px;
        height: 15px;
        border-width: 0 3px 3px 0 /*rtl:ignore*/ !important;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg) /*rtl:ignore*/;
        border: solid #fff;
    }

.file-checkbox-cont {
    position: relative;
}

.label-inner-input {
    width: 100%;
    margin: 0;
    border-radius: 5px;
    padding: 8px 15px 1px 15px;
    border: 1px solid #e0e0e0;
    /*max-width: 540px;*/
    background-color: #fff;
}

    .label-inner-input .m-input {
        border-radius: unset;
        padding: 0;
        margin: 0;
        border: none;
        outline: none;
        height: 30px;
        font-size: 1.2rem;
    }

    .label-inner-input span.input-title {
        color: #1C355E;
        font-weight: bold;
    }

.font-open-sans {
    font-family: 'Open Sans', sans-serif;
}

.form-control, .form-control:focus, .has-error .form-control:focus, .has-success .form-control:focus, .has-warning .form-control:focus, .navbar-collapse, .navbar-form, .navbar-form-custom .form-control:focus, .navbar-form-custom .form-control:hover, .open .btn.dropdown-toggle, .panel, .popover, .progress, .progress-bar {
    box-shadow: none;
}
.form-control {
    font-family: 'Open Sans', sans-serif;
}
.application-form-header {
    text-align: center;
    margin: auto;
    width: 80%;
    color: aliceblue;
    text-transform: uppercase;
}

#headerLogoImg {
    height: 86px !important;
    width: 216px !important;
    margin-left: 20px;
    margin-top: 10px;
    display: block;
    text-indent: -99999px;
    text-transform: capitalize;
    background: transparent url('../images/logo/ATG-logo.svg') top left no-repeat;
    background-size: cover;
    position: relative;
}