﻿
@font-face {
    font-family: 'db_gill_siam_xregular';
    src: url('fonts/dbgillsiamx_0-webfont.woff2') format('woff2'), url('fonts/dbgillsiamx_0-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'db_heaventregular';
    src: url('webfont2/db_heavent_v3.2.1-webfont.woff2') format('woff2'), url('webfont2/db_heavent_v3.2.1-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}



@media (min-width: 1200px) {
    .container {
        max-width: 1340px;
    }
}

.bg-asw {
    background-color: #142a72;
}


body {
    background-image: url(../images/BG.jpg);
    background-position: center;
    background-size: cover;
    font-family: db_heaventregular,db_gill_siam_xregular !important;
}

/*------------nav menu--------------*/
header > .navbar {
    padding-bottom: 0px;
    padding-top: 0px;
}

header > nav > .container > .navbar-brand {
    display: flex;
}

    header > nav > .container > .navbar-brand > span {
        padding-top: 3px;
        padding-left: 10px;
        font-size: 28px;
    }

/*------------footer style--------------*/
.footer {
    background-color: #333333;
}


/*------------create matching style--------------*/
.panel-info {
    margin-bottom: 30px;
}

.panel-heading-matching {
    background-color: #142a72 !important;
    color: white !important;
}

.panel-body {
    padding: 15px 10px 10px 10px;
}

.input-matching {
    border-radius: 20px !important;
    font-size: 20px;
    padding: 20px 20px 20px 5px;
}

    .input-matching:focus {
        border-color: dodgerBlue;
        box-shadow: 0 0 8px 0 dodgerBlue;
        background-color: transparent;
    }

.inputWithIcon input {
    padding-left: 40px;
}

.inputWithIcon {
    position: relative;
}

    .inputWithIcon i {
        position: absolute;
        left: 0;
        top: 2px;
        padding: 9px 14px;
        color: #aaa;
        transition: 0.3s;
        font-size: 20px;
    }

    .inputWithIcon input:focus + i {
        color: dodgerBlue;
    }

.span-assessment {
    font-size: 20px;
    margin-bottom: 0px;
    background-color: bisque;
}

.select-assessment {
    padding: 2px 6px;
    border: none;
    border-bottom: 1px solid #c2c2f9 !important;
    font-size: 20px;
    width: 100%;
    max-width: inherit;
    white-space: pre-line;
    height: calc(1em + 0.5rem + 5px);
    white-space: pre;
    text-overflow: ellipsis;
    border-radius: 0px;
}

    .select-assessment:focus {
        border-color: dodgerBlue;
        box-shadow: 0 0 8px 0 dodgerBlue;
        background-color: transparent;
    }

    .select-assessment > option {
        text-overflow: ellipsis;
        overflow: hidden;
    }

#table-result > thead > tr > th {
    text-align: center;
}

.matching-monthly-rank {
    background-color: #edf38e;
}

/*-----Overhang alert-----*/
.overhang-message {
    font-size: 24px;
}

.overhang {
    padding: 10px 2px;
}

/*-----Result-----*/
.widget {
    background: #fff;
    margin-bottom: .75rem;
    display: block;
    position: relative;
    box-shadow: 0 0.46875rem 2.1875rem rgba(90,97,105,0.1), 0 0.9375rem 1.40625rem rgba(90,97,105,0.1), 0 0.25rem 0.53125rem rgba(90,97,105,0.12), 0 0.125rem 0.1875rem rgba(90,97,105,0.1);
}

    .widget .widget-header,
    .widget-reminder-content,
    .widget-reminder-time,
    a.widget-header-title {
        padding: 0.625rem;
    }

.widget-chat-message:after,
.widget-chat-message:before,
.widget-reminder-container:after,
.widget-reminder-container:before {
    display: table;
    content: "";
    clear: both;
}

.widget-footer.with-border,
.widget-reminder-container + .widget-reminder-container {
    border-top: 1px solid #efeff4;
}

.widget-footer.with-bg,
.widget-header.with-bg {
    background: #efeff4;
}

.widget-header.with-border {
    border-bottom: 1px solid #efeff4;
}

.widget-reminder-header {
    background: #efeff4;
    padding: 0.625rem;
    font-size: 0.625rem;
    font-weight: 700;
    color: #8a8a8f;
    display: flex;
}

    .widget-reminder-header h3 {
        font-size: 30px;
        padding: 10px 0px 0px 10px;
    }

.widget-reminder-container {
    position: relative;
    display: flex;
}

.inverse-mode .widget-reminder-container + .widget-reminder-container {
    border-color: #333;
}

.inverse-mode .widget-reminder-header {
    background: #212121;
}

.widget-reminder-time {
    width: 11rem;
    float: left;
    text-align: right;
    font-size: 18px;
}

.widget-reminder-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 11rem;
    width: 0.125rem;
    background: #efeff4;
}

.widget-reminder-content {
    margin-left: 5.125rem;
}

.widget-header-title {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
}

.widget .widget-title, .widget .widget-title a {
    font-size: .75rem;
    color: #000;
    line-height: 1rem;
}

.widget .widget-title {
    font-weight: 600;
    margin: 0;
}

.widget-desc, .widget-desc a {
    font-size: .6875rem;
    line-height: 1rem;
    color: #8A8A8F;
    font-weight: 500;
}

.img-circle {
    border-radius: 50%;
    width: 50px;
}

.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

.m-t-15 {
    margin-top: 15px !important;
}

.m-r-5 {
    margin-right: 5px !important;
}

.widget .widget-header, .widget-reminder-content, .widget-reminder-time, a.widget-header-title {
    padding: .625rem;
}

.widget-bank-desc {
    padding: 5px 10px 5px 5px;
    font-size: 20px;
    text-align: right;
}

.desc-head {
    border-right: 2px solid lightgreen;
}

/*
.panel-body .media {
    display:initial;
}
.media-body, .media-left, .media-right {
    display: table-cell;
    vertical-align: top;
}

     

.directory-info-row .thumb {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    height: auto;
    width: 50px;
    margin-right: 10px;
}


.directory-info-row {
    display: inline-block;
    width: 100%;
    margin-top: 20px;
}

    .directory-info-row h4, .directory-info-row a {
        color: #424F63;
    }


*/

.panel-heading-matching {
    background-image: url(../images/Top-BG.jpg) !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
