@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700&display=swap');

section {
    padding: 80px 0;
}

.en {
    font-family: 'Roboto', sans-serif !important;
}

.th {
    font-family: 'Prompt', sans-serif !important;
}

#inc_nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 999;
}

#header {
    background: url('../img/als/herobanner.png') no-repeat top center;
    background-size: cover;
    overflow: hidden;
    z-index: -1;
}

.mask1 {
    -webkit-mask-image: url('../img/als/mask1.svg');
    mask-image: url('../img/als/mask1.svg');
    overflow: hidden;
    height: 90vh;
    -webkit-mask-size: cover;
    mask-size: cover;
}

#header .overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0
}

#header .swap {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 800px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: url('../img/als/headchadow.png') no-repeat 40% 50%;
    background-size: 100% 100%;
    overflow: hidden;
}

#header .swap img {
    position: relative;
    margin: 0 auto 20px auto;
}

#header .swap h1 {
    display: block !important;
    font-family: 'Caveat', sans-serif !important;
    font-size: 80px !important;
    text-shadow: 1px 1px 4px #333;
    margin: 0;
    padding: 0;
}

#header .swap h2 {
    display: block !important;
    font-family: 'Prompt', sans-serif !important;
    font-size: 22px !important;
    text-shadow: 1px 1px 4px #333;
    margin: 0;
    padding: 0;
}

#header .swap h3 {
    display: block !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 40px !important;
    font-weight: 300;
    text-shadow: 1px 1px 4px #333
}

.context h1, .context h2, .context h3, .context h4, .context p, .context li {
    font-family: 'Prompt', sans-serif;
    color: #333;
    line-height: 1.6em
}

.context b {
    font-weight: 600 !important;
}

.context h1 {
    font-size: 25px !important;
    margin-bottom: 20px !important;
}

.context h2 {
    font-family: 'Prompt', sans-serif;
    font-size: 22px !important;
    font-weight: 600 !important;
    margin: 0 0 20px 0 !important;
}

.context h3 {
    font-family: 'Prompt', sans-serif;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin: 0 0 10px 0 !important;
}

.context h4 {
    font-family: 'Prompt', sans-serif;
    font-size: 18px !important;
    font-weight: 400 !important;
    margin: 0 0 10px 0 !important;
}

.context p {
    font-family: 'Prompt', sans-serif;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin: 0 0 10px 0 !important;
    display: block;
    width: 100%;
}

.context p span {
    width: 50%;
    float: right
}

.context small {
    font-size: 10px !important;
}

.imgmask {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, .2);
    border-radius: 10px;
}

.imgmask img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
}

@media (max-width:480px) {
    .imgmask {
        width: 100%;
        min-height: 300px;
        margin: 30px 0 !important;
    }

}

.navpage {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.fixtop {
    position: fixed !important;
    top: 10px !important
}

.btn-group, .btn-group-vertical {
    display: flex !important;
}

.btn-group a {
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
    font-size: 16px !important;    /* background-color: #a92d2c; */
    background: rgb(145, 39, 38);
    background: -moz-linear-gradient(0deg, rgba(145, 39, 38, 1) 0%, rgba(228, 57, 55, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(145, 39, 38, 1) 0%, rgba(228, 57, 55, 1) 100%);
    background: linear-gradient(0deg, rgba(145, 39, 38, 1) 0%, rgba(228, 57, 55, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#912726", endColorstr="#e43937", GradientType=1);
    margin: 0;
    padding: 5px 20px;
    color: #FFF;
    display: inline;
    width: auto !important
}

.btn-group a.active {

    /* background-color: #670f0e; */
    background: rgb(145, 39, 38);
    background: -moz-linear-gradient(0deg, rgba(145, 39, 38, 1) 0%, rgba(145, 39, 38, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(145, 39, 38, 1) 0%, rgba(145, 39, 38, 1) 100%);
    background: linear-gradient(0deg, rgba(145, 39, 38, 1) 0%, rgba(145, 39, 38, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#912726", endColorstr="#912726", GradientType=1);
}

.btn-group a:first-child {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.btn-group a:last-child {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

a {
    text-decoration: none !important
}

.imgoverlap1 {
    position: absolute;
    right: 10%;
    top: 65%;
}

.swisslisted {
    list-style: none;
}

.swisslisted li {
    font-family: 'Prompt', sans-serif;
    list-style: none;
    margin: 20px 0;
    font-size: 16px !important;
    padding: 0;
    list-style-position: inside;
}

.swisslisted li:before {
    content: url('../img/als/cross.png');
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

@media (max-width:766px) {
    .btn-group a span {

        /* Show icon only */
        display: none;
    }

}

@media (max-width:480px) {
    #header .swap img {
        width: 90%;
    }

    .navpage {
        width: 90%;
        min-width: 90%;
    }

    .btn-group a {
        width: 25% !important;
        text-align: center

        /*    font-size: 11px !important; */
    }

    .btn-group a I {
        font-size: 30px !important
    }

    #header .swap {
        position: absolute;
        top: 40%;
        left: 50%;
        width: 100%;
        margin: 0;
        z-index: -1
    }

    #header .swap h1 {
        font-size: 50px !important;
    }

    #header .swap h2 {
        font-size: 18px !important;
        font-weight: 400;
    }

    #header .swap h3 {
        font-size: 20px !important;
        font-weight: 400;
    }

}

.m20 {
    margin: 20px 0;
}

.relay {
    position: relative;
}

.mb80 {
    clear: both;
    margin-bottom: 150px;
}

.mb60 {
    margin-bottom: 60px;
}

.mb30 {
    margin-bottom: 30px;
}

@media(max-width:992px) {

    /* Reset on mobile */
    .mb80, .mb60, .mb30 {

        /* margin-bottom: 0px; */
    }

}

.swaptext {
    padding-top: 30px;
}

.swaptext p {
    font-size: 18px !important;
    line-height: 1.7em !important
}

.swapbox {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.swapbox h3 {
    color: #FFF;
    font-size: 20px;
    padding: 0;
    margin: 0 0 10px 0
}

.swapbox p {
    color: #FFF;
    line-height: 1.3em !important;
    font-weight: 300
}

.imgcation {
    position: relative;
}

.imgcation span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 10%;
    top: auto;
    background: #EAEAEA;
    color: #333;
    padding: 10px;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 1.2em;
    font-weight: 500
}

.imgcation span strong {
    font-size: 16px;
}

.pad30 {
    padding: 30px;
}

@media(max-width:992px) {
    .imgcation span {
        position: relative !important;
        display: block
    }

    .imgcation span strong {
        font-size: 16px;
    }

}

@media(max-width:992px) {
    .overimage {
        left: 0;
        right: 0;
        bottom: 0;
        padding: 30px;
        position: relative;
    }

    section {
        padding: 40px 0;
    }

}

.bgthumbcolor {
    background: #e61f18 !important;
    color: #FFF !important;
    position: relative !important;
    width: 100% !important;
    min-height: 500px
}

.bgthumbcolor .vbox {
    position: absolute !important;
    left: 50% !important;
    top: 45% !important;
    transform: translate(-50%, -50%);
}

.bgthumbcolor .vbox h3 {
    color: #FFF !important;
    text-transform: uppercase !important;
    font-size: 18px !important
}

.graybg {
    background: #00ccff;
    padding: 80px 0 0 0;
}

.graybg p {
    color: #333 !important
}

@media(max-width:992px) {
    .logoTrip {
        top: 30%;
        left: 50%;
    }

    #header {
        background-size: cover;
        background-position: bottom right;
        min-height: auto;
    }

}

#header .nav>li>a {
    color: #333 !important
}

#sector_A {
    background: #FFF
}

button {
    background-color: transparent !important;
    border: none !important;
}

#sector_A h2.en {
    font-size: 22px;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
}

#sector_A .imgcation span {
    padding: 10px
}

#sector_A .imgcation span strong {
    font-size: 18px;
}

#sector_B {
    background: url('../img/als/sceB.jpg') no-repeat top right;
    background-size: cover;
    min-height: 1200px;
    width: 100%;
    -webkit-mask-image: url('../img/als/mask2.svg');
    mask-image: url('../img/als/mask2.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
}

img.placesticker {
    width: 100%;
    max-width: 500px;
    height: auto;
}

#placesbox .item {
    border-radius: 20px;
    background-color: #251a18;
    transition: all ease-in-out .3s;
    overflow: hidden;
}

/* #placesbox .item:hover {
    background-color: #c40629
} */
#placesbox .item img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    width: 100%;
    height: auto;
    transition: all ease-in-out .3s;
}

/* #placesbox .item:hover img {

    margin-top: -50px
} */
#placesbox .item .placename {
    padding: 20px 30px;
    color: #FFF;
    font-size: 16px;
    overflow: hidden;
}

.placename span {
    display: block;
    font-weight: 300;
    font-size: 16px
}

@media (max-width:766px) {
    #sector_B {
        background-position: right top;
        padding: 100px 20px 100px 20px !important;
        min-height: 600px;
    }

    #placesbox .item .placename {
        padding: 10px 30px;
        font-size: 14px;
    }

}

#sector_B h1 {
    color: #333;
    margin: 0;
    padding: 0;
}

#sector_B h2.en {
    font-size: 22px;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    padding: 0;
}

#sector_B .imgcation span {
    padding: 30px 20px
}

#sector_B .imgcation span strong {
    font-size: 20px;
}

/* --------------------------------------------------------------------------- */
#sector_C {
    padding: 100px 0 0 0;
    margin-bottom: 0;
    background: url('../img/als/ST4.png') no-repeat top right;
}

.textinbox {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.textinbox img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 100%;
    height: auto
}

.textinbox span {
    font-family: 'Caveat', sans-serif;
    font-size: 50px;
    color: #FFF;
    font-weight: 400;
    text-shadow: 1px 1px 2px #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: inline-block
}

#sector_C h2.en {
    margin: 0 0 20px 0;
}

#sector_C h3 {
    margin: 20px 0 0 0;
}

#sector_C p {
    margin: 0 0 20px 0;
}

@media (max-width:766px) {
    #sector_C {
        background: none;
    }

}

/* ---------------- เรื่องน่ารู้ --------------- */
#sector_D {
    background: url('../img/als/swissmap.png') no-repeat 0 0;
    background-size: 40% auto;
    position: relative;
}

.fixbottom {
    padding: 40px;
    position: absolute;
    bottom: 0
}

#sector_D h1 {
    font-size: 30px !important;
    text-transform: uppercase;
    font-weight: 600;
}

.religion {
    display: block
}

.religion ul {
    list-style: none;
    white-space: nowrap
}

.religion li {
    list-style: none;
    display: inline-block;
    float: left;
    padding: 10px 10px 10px 120px;
    position: relative;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
}

.religion li h3 {
    color: #FFF;
    margin: 20px 0 0 0;
    padding: 0;
}

.religion li p {
    color: #FFF;
}

.religion li img {
    position: absolute;
    left: 30px;
    top: 50%;
    width: 60px;
    transform: translateY(-50%);
    display: inline-block;
}

.bgc1 {
    background-color: #c50000;
    width: 40%;
}

.bgc2 {
    background-color: #00454f;
    margin-top: 5px;
    width: 40%;
}

.bgc3 {
    background-color: #006f03;
    margin-top: 10px;
    padding: 10px 10px 10px 50px !important;
    width: 20%
}

.phonebox {
    padding: 30px 30px 30px 150px;
    font-size: 25px;
    font-weight: 500;
    text-align: left;
    color: #FFF;
    background: #6b0064;
    position: relative
}

.phonebox i {
    font-size: 60px;
    position: absolute;
    left: 30px;
    top: 50%;
    display: inline-block;
    transform: translateY(-50%);
}

.mask3 {
    width: 100%;
    -webkit-mask-image: url('../img/als/mask4.svg');
    mask-image: url('../img/als/mask4.svg');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.mask3 img {
    width: 100%;
    height: 100%;
}

.mctextrel {
    position: relative;
}

.topcenter {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

@media (max-width:766px) {
    .fixbottom {
        position: relative;
    }

    #sector_D {
        background: none
    }

    .religion li {
        width: 100%;
        margin-top: 10px
    }

    .topcenter {
        position: relative;
        width: 100%;
        top: 0;
        transform: none;
    }

}

/* --------- สถานที่ที่น่าสนใจ --------- */
#sector_E {
    padding: 0 !important;
}

#sector_E h1 {
    margin: 0;
    padding: 0;
}

.invisible-spot {
    cursor: pointer;    /*   background: rgba(255, 255, 255, .1); */
}

.placebox {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    max-width: 1400px;
    max-height: 750px;
    background-color: transparent;
    overflow: hidden;
}

.placebox p {
    font-size: 12px;
    margin-bottom: 0;
    line-height: 1.5em
}

.cropimg {
    width: 95%;
    min-height: 200px;
    overflow: hidden;
    position: relative;
}

.cropimg img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.smallthumb {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.smallthumb li {
    list-style: none;
    display: inline-block;
    float: left;
    width: 22%;
    margin-right: 10px;
}

.smallthumb li img {
    width: 100%;
    height: 100%;
}

.pophead {
    position: absolute;
    top: 0;
    left: 50px;
    z-index: 999
}

.pladcemodal {
    background-color: #FFF !important;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    overflow-y: auto;
    position: relative;
}

.textboxside h1 {
    font-size: 28px;
    font-weight: 500;
}

.textboxside {
    width: 60%;
    height: auto;
    padding: 80px 60px;
}

.imgboxside {
    height: 100%;
    width: 40%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background-position: 50% 50%;
    background-size: cover;
    -webkit-mask-image: url('../img/als/mask5.svg');
    mask-image: url('../img/als/mask5.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
}

.facyclose {
    border: none;
    outline: none;
    width: 60px;
    height: 60px;
    position: fixed;
    background: url('../img/als/btn_close.png') no-repeat 50% 50% transparent;
    background-size: 100% 100%;
    z-index: 99;
    top: 0;
    right: 0
}

.fancybox-button svg {
    filter: invert(1) grayscale(1);
}

.fancybox-button {
    width: 60px;
    height: 60px
}

.fancybox-close-small {
    opacity: 1;
}

.textboxside h1 {
    font-size: 22px
}

.textboxside h3 {
    font-size: 22px
}

@media (max-width:766px) {
    .textboxside {
        padding: 0 20px 100px 20px;
        overflow-x: hidden;
        overflow-y: auto
    }

    .fancybox-button svg {
        filter: none
    }

    .imgboxside {
        display: none
    }

    .placebox {
        width: 100%;
        height: 100%;
        padding: 0;
        background-color: #FFF;
        min-width: inherit;
        min-height: inherit;
    }

    .pladcemodal {
        min-height: 100%;
    }

    .cropimg {
        width: 100%
    }

    .pophead {
        width: 100%;
        left: 20px;
        top: 0;
        background-size: cover;
        position: relative;
        z-index: 0
    }

    .facyclose {
        top: 10%;
        right: 10%;
        width: 30px;
        height: 30px;
        position: fixed;
        background-size: 100% 100%;
        filter: invert(100%);
        z-index: 9999
    }

}

@media (max-width:480px) {
    .placebox {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        min-width: 100% !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: none !important;
    }

    .textboxside {
        width: 100%;
        height: 100%;
        padding: 0 20px 80px 20px;
    }

}

.imgboxside h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Caveat', sans-serif !important;
    font-size: 80px;
    text-align: center;
    display: block;
    color: #FFF;
    text-shadow: 1px 1px 3px #333;
    white-space: nowrap
}

/* --------------------------------------- */
.nopad {
    padding: 0 !important;
    margin: 0 !important
}

p.pcontent {
    font-size: 18px !important;
    margin-top: 40px !important;
    text-transform: uppercase;
}

.wall {
    padding: 10px;
    background: #DADADA;
    position: absolute;
    bottom: 0
}

.wall p {
    text-transform: uppercase !important;
    margin-top: 30px;
}

.mb20 {
    margin-bottom: 20px;
}

blockquote {
    padding: 8px;
    margin: 5px;
    background-image: url('../img/openquote.png');
    background-position: top left;
    background-repeat: no-repeat;
    font-size: 25px !important;
    line-height: 1.2em;
    font-style: italic;
    border-left: none
}

blockquote span {
    display: block;
    padding: 20px 0;
    line-height: 1.2em;
    background-image: url('../img/closequote.png');
    background-repeat: no-repeat;
    background-position: bottom right;
}

@media(max-width:992px) {
    .wall {
        position: relative
    }

}

.invertbg span {
    background: #333 !important;
    color: #FFF !important
}

.mobilelinkview {
    list-style: none;
    width: 100%;
    margin: 50px 0 0 0;
    padding: 0;
}

.mobilelinkview li {
    text-align: center;
    display: block;
    margin: 0 0 10px 0;
    padding: 0;
}

.mobilelinkview li img {
    max-width: 100%;
    width: 100%
}
