/* ======= Section : Hero banner ======== */
.highlight-content {
    height: 100vh;
    background: none !important;
    width: 100%;
    position: relative;
}

.highlight-content .slide-img-highlight {
    height: 100vh;
    overflow: hidden;
}

.highlight-content .slide-img-highlight .item::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(21, 77, 128, 0.5);
    background-position: 0 0, 0 100%;
    background-repeat: repeat-x;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.highlight-content .slide-img-highlight .slide {
    width: 100vw;
    height: 100vh;
    display: block;
    object-fit: cover;
}

.owl-owl-stage-outer .owl-stage {
    display: flex;
}

.owl-carousel .owl-item .slide {
    width: auto;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.highlight-content .box-text {
    max-width: calc(100% - 30px);
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -45%);
    -ms-transform: translate(-50%, -45%);
    -o-transform: translate(-50%, -45%);
    transform: translate(-50%, -45%);
    z-index: 1313;
    text-align: center;
    font-size: 3rem;
    font-family: 'psl_kandabold';
    color: #fff;
    pointer-events: none;
}

.highlight-content .box-text h1 {
    font-size: 5rem;
    font-family: 'can_rukdeaw_01';
    white-space: nowrap;
    color: #fff;
}

.highlight-content .box-text .group-btn {
    width: 100vw;
    margin-top: 6px;
}

.highlight-content .box-text .group-btn a {
    display: inline-block;
    margin: 30px 23px 0;
    font-size: 2.3rem;
    color: #fff;
    pointer-events: all;
    text-decoration: none;
}

.highlight-content .box-text .group-btn a img {
    height: 40px;
    display: block;
    margin: 0 auto;
    transition: 100ms 30ms ease;

}

.highlight-content .box-text .group-btn a span {
    display: block;
    transition: 100ms 0ms ease;
    font-size: 1.7rem;
}

.highlight-content .box-text .group-btn a:hover span {
    -webkit-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -o-transform: translateY(-15px);
    transform: translateY(-15px);
    transition-duration: 200ms;
    transition-delay: 80ms;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.highlight-content .box-text .group-btn a:hover img {
    -webkit-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -o-transform: translateY(-15px);
    transform: translateY(-15px);
    transition-duration: 200ms;
    transition-delay: 0ms;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ======= End Section : Hero banner ======== */

/* ======= Section : Item block ======== */
.main-title {
    margin: 30px 16px 0px 16px;
}
.row .card-deck:first-child{
    margin-top: 60px !important;
}

.row .card-deck:last-child{
    margin-bottom: 60px !important;
}

.card.hidden {
    visibility: hidden;
}

.card-deck {
    margin: 20px 5px 20px 20px !important;
}

.card:hover {
    -webkit-box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.2);
}

.card a:hover {
    text-decoration: none;
}

.card a:hover .card-block h4.card-title {
    color: #2A84BF !important;
}

.card-block {
    padding: 10px 10px 25px 10px;
}

.card-block h4.card-title {
    color: #154d7f !important;
    text-decoration: none;
    font-family: 'psl_kandabold';
    font-size: 1.7em;
    margin-bottom: 0.25rem;
}

.card-block p.card-text {
    font-size: 0.9em;
    color: #777;
}

/* ======= End Section : Item block ======== */

/* ======= Section : Footer ======== */
#footer {
    position: relative;
    overflow: visible;
    z-index: 1313;
    color: #fff;
    font-family: psl_kandabold;
}

#footer .section-nav-footer {
    background-color: #1595d3;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#footer .section-nav-footer .page-center, .ins-result-footer-fixed-bottom-copyright-sub {
    width: calc(100% - 240px);
    margin: auto;
}

#footer .section-nav-footer .group-contact {
    padding-top: 30px;
    overflow: hidden;
}

#footer .section-nav-footer .group-contact .left {
    float: left;
}

#footer .section-nav-footer .group-contact .right {
    float: right;
}

#footer .section-nav-footer .group-contact .box-social {
    float: left;
    text-align: center;
}

#footer .section-nav-footer .group-contact .box-tel {
    float: left;
    padding-left: 20px;
}

#footer .section-nav-footer .group-contact .box-social p {
    margin-bottom: 10px;
    font-size: 24px;
    color: #fff;
}

#footer .section-nav-footer .group-contact .box-social a {
    width: 32px;
    height: 32px;
    display: inline-block;
    border: 2px solid #fff;
    position: relative;
    opacity: 0.7;
    font-size: 20px;
    text-align: center;
    color: #fff;
    transition: 200ms ease;
}

#footer .section-nav-footer .group-contact .box-social a i {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#footer .section-nav-footer .group-contact .box-tel .tel {
    height: 40px;
    display: block;
    background: url(../images/tel-24.png) no-repeat;
    padding-left: 47px;
    margin-top: 0;
    font-weight: normal;
    font-size: 26px;
    opacity: 0.7;
    margin-bottom: 10px;
}

#footer .section-nav-footer .group-contact .box-tel .tel strong {
    font-size: 42px;
}

#footer .section-nav-footer .group-contact .box-tel .tel a {
    color: #fff;
    text-decoration: none;
}

#footer .section-nav-footer .group-contact .box-tel p {
    margin-top: 5px;
    font-size: 22px;
}

#footer .section-nav-footer .group-contact .left p, #footer .section-nav-footer .group-contact .right p {
    line-height: 22px;
    opacity: 0.7;
    font-size: 22px;
}

.ins-result-footer-fixed-bottom-copyright {
    background: #2A84BF;
    color: #ffffff;
    font-size: 18px;
}
.ins-result-footer-fixed-bottom-copyright-sub {
    background: #2A84BF;
    color: #ffffff;
    font-size: 18px;
    padding: 5px 0;
}
.ins-result-footer-fixed-bottom-copyright-sub a {
    color: #ffffff;
}

/* ======= End Section : Footer ======== */


@media screen and (max-width:1024px) {

    .highlight-content .slide-img-highlight {
        height: 100%;
    }

    .highlight-content .box-text {
        width: 100%;
        font-size: 4rem;
    }

    .highlight-content .box-text .group-btn {
        width: 100%;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        flex-wrap: wrap;
    }

    .highlight-content .box-text .group-btn a {
        width: 33.33%;
        margin: 30px 0 0;
        font-size: 2rem;
    }

    #footer .section-nav-footer .page-center {
        width: 100%;
    }

    #footer .section-nav-footer .group-contact .text {
        margin-left: 0;
    }

    .box-text-condition {
        width: 100%;
        font-size: 4rem;
    }
}

@media only screen and (max-width:1023px) {

    .highlight-content {
        height: auto;
        min-height: 400px;
        overflow: hidden;
    }

    .highlight-content .box-text h1 {
        font-size: 2.8rem !important;
        white-space: normal;
    }
}

@media only screen and (max-width: 834px) {
    .card-deck {
        margin: 0px !important;
    }

    .card-deck .card {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 1 0 0%;
        flex: 45%;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-right: 15px;
        margin-bottom: 15px;
        margin-left: 0;
    }
}



/* Main Layout Mobile Landscape */
@media only screen and (max-width:767px) {
    body {
        font-size: 1.4rem;
    }

    .highlight-content .box-text {
        -webkit-transform: translate(-50%, -40%);
        -ms-transform: translate(-50%, -40%);
        -o-transform: translate(-50%, -40%);
        transform: translate(-50%, -40%);
    }

    .highlight-content .box-text {
        -webkit-transform: translate(-50%, -30%);
        -ms-transform: translate(-50%, -30%);
        -o-transform: translate(-50%, -30%);
        transform: translate(-50%, -30%);
        font-size: 1.5rem;
    }

    .highlight-content .box-text .group-btn a span {
        margin-top: 10px;
        font-size: 1.3rem;
        line-height: 1.1rem;
    }

    .box-text-condition {
        -webkit-transform: translate(-50%, -40%);
        -ms-transform: translate(-50%, -40%);
        -o-transform: translate(-50%, -40%);
        transform: translate(-50%, -40%);
    }

    .box-text-condition {
        -webkit-transform: translate(-50%, -30%);
        -ms-transform: translate(-50%, -30%);
        -o-transform: translate(-50%, -30%);
        transform: translate(-50%, -30%);
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 576px) {
    .highlight-content .box-text .group-btn a img {
        height: 28px;
    }

    .card-deck .card {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: none;
        flex: none;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-right: 15px;
        margin-bottom: 15px;
        margin-left: 15px;
    }

    .ins-result-footer-fixed-bottom-left {
        float: left;
        width: 50%;
    }

    .ins-result-footer-fixed-bottom-right {
        float: right;
        width: 50%;
    }

    .ins-result-footer-fixed-contact-right {
        margin: 40px 0 0 0px;
    }

    #footer .section-nav-footer .group-contact {
        text-align: center;
    }

    #footer .section-nav-footer .group-contact .right {
        width: auto;
        display: inline-block;
        text-align: left;
        float: none;
        overflow: hidden;
    }

    #footer .section-nav-footer .group-contact .left {
        width: auto;
        display: inline-block;
        float: none;
        overflow: hidden;
    }
}

@media (max-width: 375px) {
    #footer .section-nav-footer .group-contact .box-social p {
        font-size: 20px;
    }

    #footer .section-nav-footer .group-contact .box-tel {
        padding-left: 5px;
    }
}

.box-condition {
    max-height: 80%;
    overflow: auto;
    background-color: #fff;
    text-align: left;
    pointer-events: all;
    padding: 20px;
    line-height: 1.1rem;
}

.box-condition span {
    color:#000;
    font-size: 1.3rem;
    color: #337ab7;
}
.box-condition span b {
    font-size: 1.8rem;
}

.box-text-condition {
    max-width: 80%;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -45%);
    -ms-transform: translate(-50%, -45%);
    -o-transform: translate(-50%, -45%);
    transform: translate(-50%, -45%);
    text-align: center;
    font-size: 3rem;
    font-family: 'psl_kandabold';
    color: #fff;
    pointer-events: none;
}