﻿ html {letter-spacing: 0px;}
body, button, input, select, textarea {
    font-family: "RSU", Helvetica, Arial, sans-serif !important;
}

.fa-stack-2x {
    font-size: 2em !important;
}

#top .col-sm-4, #top .col-xs-6 {
    padding: 0px;
}

#top {
    font-size: 1.2em;
    margin-top: 10px;
}

    #top > div > div > div > div > div > .col-xs-3 {
        padding: 0px;
        text-align: right;
        color: #050505;
    }

    #top > div > div > div > div > div > .col-xs-9 {
        color: #919395;
    }

    #top > div > div > div > div > .col-xs-5 {
        text-align: center;
        color: #919395;
    }

.lastcol {
    padding-top: 10px;
    padding-bottom: 10px;
}


.btn_red {
    background-color: #EE4136;
    margin-top: 5px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 32px;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    padding-top: 0px;
    font-size: 1em;
    letter-spacing: 1.2px;
    font-weight: bold;
    border-bottom: solid 2px #C4211B;
    line-height: 2.1;
}

.btn_green {
    background-color: #00CC00;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
    min-width: 33%;
    height: 32px;
    border: none;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 10px;
    color: #ffffff;
    padding-top: 0px;
    font-size: 1em;
    letter-spacing: 1.2px;
    font-weight: bold;
    border-bottom: solid 2px #019A01;
    line-height: 2.1;
}

.btn_sort {
    background-color: #00CC00;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
    min-width: 100%;
    height: 32px;
    border: none;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 10px;
    color: #ffffff;
    padding-top: 0px;
    font-size: 1em;
    letter-spacing: 1.2px;
    font-weight: bold;
    border-bottom: solid 2px #019A01;
    line-height: 2.1;
}

.h-card {
    background-color: #66CC00;
}

.sub-content {
    background-color: #ffffff;
    border-bottom: solid 1px #F0F1F1;
    border-left: solid 1px #F0F1F1;
    border-right: solid 1px #F0F1F1;
}

    .sub-content .row {
        margin: 0px;
    }

    .sub-content .col-sm-6,
    .sub-content .col-sm-6 {
        padding: 0px;
    }

        .sub-content .col-sm-6 div,
        .sub-content .col-sm-6 div {
            padding: 0px;
        }

    .sub-content > .col-sm-6 > .col-xs-12,
    .sub-content > .col-sm-6 > .col-xs-12 {
        border-right: solid 1px #ffffff;
        background-color: #B2E57F;
        font-weight: bold;
        color: #33990D;
    }

    .sub-content h2 {
        font-weight: bold;
        margin: 0px;
        text-align: left;
    }

    .sub-content h3 {
        font-size: 16px;
        margin: 0px;
        text-align: left;
        line-height: 15px;
        font-weight: bold;
        color: #919395;
    }

    .sub-content p {
        font-size: 17px;
        margin: 0px;
        text-align: left;
        font-weight: bold;
    }

        .sub-content p strong {
            font-weight: bold;
            color: #66CC00;
        }

.fa-ul {
    color: #EE4136;
    margin-left: 10px;
    font-size: 1.2rem;
}

#demo {
    font-weight: bold;
}

#damo.tab {
    padding: 0px;
}

.table > tbody > tr > .tab {
    padding: 0px;
    background-color: #ffffff;
    font-weight: bold;
}

.bor-l {
    border-left: solid 1px #F0F1F1;
}

.bor-r {
    border-right: solid 1px #F0F1F1;
}

.bor-b {
    border-bottom: solid 1px #F0F1F1;
}

.bor-t {
    border-top: solid 1px #F0F1F1;
}

.list-togle > .col-md-5 > .row > .col-xs-12 {
    padding-top: 10px;
    padding-bottom: 5px;
}

    .list-togle > .col-md-5 > .row > .col-xs-12 > .col-sm-6 {
        padding-top: 8px;
        padding-bottom: 8px;
    }

        .list-togle > .col-md-5 > .row > .col-xs-12 > .col-sm-6 > .row > .col-xs-4 {
            text-align: center;
        }

.list-togle > .col-md-5 > .row {
    padding-bottom: 70px;
}

.list-togle > .col-md-4 > .row {
    padding-bottom: 2px;
}

@media only screen and (max-width:993px) {
    .list-togle > .col-md-5 > .row {
        padding-bottom: 0px;
    }

    .list-togle > .col-md-4 > .row {
        padding-bottom: 0px;
    }
}

#Deduct {
    text-align: center;
}

@media (max-width: 768px) {
    #Deduct {
        text-align: right;
    }
}



.tooltip-inner {
    font-size: 15px;
}
/*******************/
#package_page {
}

.package_page {
    background-color: #F9F9F9;
    padding-top: 20px;
}

.detail-car {
    padding-left: 0px;
}

#GarrageType_1_DropDownList, #PolicyType_DropDownList {
    display: none;
}

hr {
    border: 1px solid #EAEAEB;
}

#demo hr {
    border: 2px solid #EAEAEB;
}

.rl_GarrageType, .rl_PolicyType {
    text-align: center;
    width: 100%;
}

    .rl_GarrageType label, .rl_PolicyType label {
        margin-left: 15px;
        font-size: 20px;
    }

#Company_CheckBoxList td {
    padding-top: 5px;
}

#Company_CheckBoxList label {
    padding-left: 10px;
}

#demo .box {
    border-radius: 3px;
    margin-bottom: 10px;
}

.box p {
    font-family: 'THSarabun';
    font-size: 1em;
}

#demo .btn-detail {
    background-color: #E5E6E7;
    text-align: center;
    padding: 3px;
    color: #7A7B7D;
}

span.price {
    color: #00CC00;
}

.sud-tr {
    padding: 0px !important;
}

.last-row {
    background-color: #f9f9f9;
}

#demo .sup_item {
    display: none;
    text-align: left;
}

.table > thead > tr > th {
    background-color: #f9f9f9;
    color: #7A7B7D;
    text-align: center;
    border-bottom: none;
}

#demo thead > tr > th {
    position: relative;
    text-align: center;
    font-size: 1.1em;
    color: #6D6E71;
}

#demo tbody > tr > td {
    position: relative;
    text-align: center;
}

#demo thead .line-col {
    height: 22px;
    background-color: #6D6E71;
    width: 4px;
    display: block;
    position: absolute;
    top: 15px;
    border-radius: 4px;
    left: 0px;
}

#demo tbody .line-col {
    height: 90px;
    background-color: #E5E6E7;
    width: 2px;
    display: block;
    position: absolute;
    top: 20px;
    left: 0px;
}
/************************************/
#compare_bar {
    position: fixed;
    width: 100%;
    bottom: 0px;
    left: 0px;
    padding-top: 15px;
    border-top: 1px solid #ccc;
    padding-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.97);
    z-index: 999;
}

.card-compare {
    display: inline-block;
    background-color: #fff;
    position: relative;
    width: 100%;
    padding-right: 10px;
}

    .card-compare .fa-stack {
        position: absolute;
        top: -15px;
        right: -15px;
    }

    .card-compare img {
        width: 30%;
        display: inline-block;
        vertical-align: top;
    }

    .card-compare .detail {
        display: inline-block;
        width: 58%;
    }

    .card-compare .price {
        color: red;
        font-weight: bold;
    }

#modal-02 {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: #F9F9F9;
    overflow-y: auto;
    z-index: 9999;
    opacity: 1;
    animation-duration: 0.6s;
    font-family: 'THSarabun';
}

    #modal-02 .modal-head {
        background-color: #F0F1F1;
        font-weight: bold;
    }

    #modal-02 .content {
        width: 100%;
        background-color: #F9F9F9;
    }

        #modal-02 .content .is-one-third {
            font-size: 1.5em;
            font-weight: bold;
        }

    #modal-02 .card .title.is-4 {
        font-size: 2em;
    }

    #modal-02 .card .title.is-6 {
        font-size: 1.3em;
    }

    #modal-02 .card .title.is-5 {
        font-size: 1.7em;
    }

.content p:not(:last-child) {
    margin-bottom: inherit;
}

#modal-02 .column.is-one-third .title.is-4 {
    font-size: 1.5em;
}

#modal-02 h3.notification.is-success {
    font-weight: bold;
    font-size: 1.7em;
}

#modal-02 span.v-mobile {
    font-size: 1.3em;
}

.column table {
    background-color: inherit;
}

    .column table .head3 {
        height: 160px;
    }

    .column table tr td {
        position: relative;
        padding-left: 0px;
        padding-right: 0px;
        height: 120px;
        border-top: 2px solid #ccc;
    }

        .column table tr td.head1 {
            height: 160px;
            border-top: none;
        }

        .column table tr td.head2 {
            height: 160px;
            border-top: none;
        }

        .column table tr td.head3 {
            height: 160px;
            border-top: none;
        }

        .column table tr td.head4 {
            height: 160px;
            border-top: none;
        }

    .column table .sub3 {
        height: 225px;
    }

.column.head h3 {
    margin-top: 30px;
    bottom: 0px;
}

.column.head p {
    bottom: 0px;
    position: absolute;
    width: 100%;
    left: 0;
}

.column.head2 {
    min-height: 165px;
    position: relative;
}

    .column.head2 p {
        margin-top: 15px;
    }

    .column.head2 .subtitle {
        color: #7D7E80;
    }

.column .price {
    color: #00CC00;
}

.column .sud {
    min-height: 120px;
}

@media only screen and (max-width:993px) {
    .v-desktop {
        display: none;
    }

    #compare_bar {
        height: 170px;
    }

    #demo tbody .line-col {
        display: none;
    }

    .table-responsive-vertical > .table > tbody > tr.packagerow {
        margin-bottom: 0px;
    }

    #demo tbody > tr > td.last-row {
        display: none;
    }

    .table-responsive-vertical > .table > tbody > tr.row_sub {
        border: none;
    }

    #demo tbody > tr > td {
        text-align: right;
    }

        #demo tbody > tr > td.row_detail p {
            text-align: left;
        }

            #demo tbody > tr > td.row_detail p span {
                float: right;
            }
}

@media only screen and (min-width:993px) {
    .v-mobile {
        display: none;
    }

    .v-desktop {
        display: block;
    }

    .btn_viewfilter {
        display: none;
    }
}

.title:not(:last-child), .subtitle:not(:last-child) {
    margin-bottom: 0.5rem;
}

#tool_filter h3 {
    margin-top: 15px;
    margin-bottom: 20px;
}

.btn_callfilter {
    margin-bottom: 10px;
    margin-top: 10px;
}

.cb_filter label {
    margin-left: 15px;
}

.notification.is-success {
    background-color: #00CC00;
    color: #fff;
}

h2.topic-count {
    font-size: 1.8em;
    font-weight: bold;
    color: #6D6E71;
}

.detail-car h5 {
    font-weight: bold;
}

#demo thead th i.fa {
    float: right;
}

#modal-02 {
    display: none;
}

#modal-02.bounceInUp {
    display: block;
}
#compare_bar{
    display:none;
}
#compare_bar.slideInUp {
    display: block;
}
/*#modal-02{display:none;}*/

