
/* font { */
body {
        font-family: 'Kanit', sans-serif;
        font-family: 'Prompt', sans-serif;
    }
/* } font */

/* css button compare,chosen,apply now */
/* btn-applynow { */
.button-applynow {
    position: relative;
    width: 150px;
    height: 50px;
    cursor: pointer;
    background-color: #ffffff;
    display: inline-block;
    font-size: 20px;
    text-align: center;
    border: 3px solid #b41117;
    box-shadow: 0px 2px 5px 2px rgba(142, 133, 132, 0.5);
    text-shadow: 1px 1px 2px rgba(72, 68, 67, 0.5);
}

.button-applynow a{
    color: #b41117;
}

.button-applynow a:hover{
    color:#ffffff;
}

.button-applynow:hover{
    width: 151px;
    height: 53px;
    background-color: #b41117;
}
/* } btn-applynow */

/* btn-saved { */
.button-saved {
    position: relative;
    width: 150px;
    height: 50px;
    cursor: pointer;
    background-color: #ffffff;
    display: inline-block;
    font-size: 20px;
    text-align: center;
    border: 3px solid #0e0c0c;
    box-shadow: 0px 2px 5px 2px rgba(142, 133, 132, 0.5);
    text-shadow: 1px 1px 2px rgba(72, 68, 67, 0.5);
    color: #ffffff;
}

.button-saved span {
    color: #000000;
}

.button-saved span .Chosen-counter {
    color: #ffffff !important;
}

.button-saved span:hover {
    color: #ffffff;
}

.button-saved:hover{
    width: 151px;
    height: 53px;
    background-color: #0e0c0c;
}
/* } btn-saved */

/* btn-compare { */
.button-compare {
    position: relative;
    width: 150px;
    height: 50px;
    cursor: pointer;
    background-color: #ffffff;
    display: inline-block;
    font-size: 20px;
    text-align: center;
    border: 3px solid #175296;
    color: #175296;
    box-shadow: 0px 2px 5px 2px rgba(142, 133, 132, 0.5);
    text-shadow: 1px 1px 2px rgba(72, 68, 67, 0.5);
}

.button-compare:hover{
    width: 151px;
    height: 53px;
    background-color: #175296;
    color: #ffffff;
}

.button-compare a{
    color: #175296;
}
.button-compare a:hover{
    color: #ffffff;
}


/* } btn-compare */

button {
    overflow: hidden;
    /* color: #b41117; */
    display: inline-block;
    margin-left: 2px;
}


/* CSS สำหรับ container ที่ห่อปุ่ม */
.group-button {
    margin-left: 2%;
    align-items: center;
}

.list-group {
    margin-left: 2%;
}

/* เส้นกั้นใต้ group button */
.w3-border-red,
.w3-hover-border-red:hover {
    border-color: #f44336 !important;
}

.w3-border-bottom {
    border-bottom: 3px solid #ccc !important;
}

/* ปุ่มแสดงตัวเลขจากตัวเลือก chosen*/
.Chosen-counter {
    position: relative;
    right: 1px;
    background-color: rgb(227, 24, 17);
    border-radius: 100%;
    padding: 4px 7px 4px 7px;
    font: 14px Verdana;
    color: #ffffff !important;
}

/* css dropdown-check-list */
.dropdown-check-list {
    width: 100%;
}

.dropdown-check-list .anchor {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 5px 50px 5px 10px;
    margin-left: 2%;
}

/* .anchor {
        left: 100px;
    } */

.dropdown-check-list .anchor:after {
    position: absolute;
    content: "";
    border-left: 2px solid black;
    border-top: 2px solid black;
    padding: 5px;
    right: 0;
    top: 20%;
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.dropdown-check-list .anchor:active:after {
    right: 8px;
    top: 21%;
}

.dropdown-check-list ul.items {
    padding: 2px;
    display: none;
    margin: 0;
    border: none;
    border-top: none;
    left: 10px;
}

.dropdown-check-list ul.items li {
    list-style: none;
}

.dropdown-check-list.visible .anchor {
    color: #0094ff;
}

.dropdown-check-list.visible .items {
    display: block;
}

/* เส้นแนวตั้ง */
.vl {
    border-left: 3px solid green;
    height: 25%;
    width: 10px;
    position: absolute;
    left: 50%;
    margin-left: -3px;
    bottom: 2%;
}

.row .vl {
    max-width: 10px;
}

.detail-position span {
    width: 20px;
}

/* @media queries สำหรับอุปกรณ์ที่แตกต่างกัน */

/* อุปกรณ์มือถือ */
@media (max-width: 767px) {
    .button-compare {
        font-size: var(--e-global-typography-text-font-size);
        line-height: var(--e-global-typography-text-line-height);
    }

    .button-applynow {
        font-size: var(--e-global-typography-text-font-size);
        line-height: var(--e-global-typography-text-line-height);
    }

    .button-saved {
        font-size: var(--e-global-typography-text-font-size);
        line-height: var(--e-global-typography-text-line-height);
    }

    .justify-content-center {
        font-size: var(--e-global-typography-text-font-size);
        line-height: var(--e-global-typography-text-line-height);
    }

    .mbr-overlay {
        font-size: var(--e-global-typography-text-font-size);
        line-height: var(--e-global-typography-text-line-height);
    }

    row content mbr-white {
        width: 75%;
        font-size: 12px;
    }



}


/* แท็บเล็ต */
@media (max-width: 1024px) {
    .button-compare {
        font-size: var(--e-global-typography-text-font-size);
        line-height: var(--e-global-typography-text-line-height);
    }
}

.padding-left {
    padding-left: 4%;
}