@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@200;400&display=swap');

body {
    font-family: 'Kanit', sans-serif;
    background: url('../img/als/als2021bg.png') no-repeat 50% 0;
    background-size: 100% auto;
}

#header {
    background: url('../img/als/als2021md.png') no-repeat 50% 150%;
    background-size: 100% 90%;
    width: 100%;
    height: 100%;
}

/* White logo */
.amwaylogo img, .wttwlogo img {
    -webkit-filter: brightness(0) grayscale(1) invert(1);
    filter: brightness(0) grayscale(1) invert(1);
}

.logoswap {
    position: relative;
    display: block;
    width: 100%;
    height: 250px;
    margin: 40px 0 0 0;
}

.logoswap>img {
    position: absolute;
    width: 70%;
    height: auto;
    left: 45%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.divskew {
    position: relative;
    background: #f15a29;
    display: table;
    margin: 0 auto 20px auto;
    white-space: nowrap;
    padding: 10px 30px;
    -webkit-transform: skewX(-30deg);
    -moz-transform: skewX(-30deg);
    -ms-transform: skewX(-30deg);
    -o-transform: skewX(-30deg);
    transform: skewX(-30deg);
    text-align: center;
}

.divskew>span {
    color: #FFF;
    font-size: 22px;
    display: block;
    -webkit-transform: skewX(30deg);
    -moz-transform: skewX(30deg);
    -ms-transform: skewX(30deg);
    -o-transform: skewX(30deg);
    transform: skewX(30deg);
    text-shadow: 0 0 4px rgba(0, 0, 0, .5);
}

.wording {
    font-size: 18px;
    text-shadow: 0 0 4px rgba(0, 0, 0, .5);
    text-align: center;
    color: #FFF;
    margin: 0 0 50px 0;
    letter-spacing: 1px;
}

.navpage {
    width: 100%;
    height: 140px;
    margin: 0 auto;
    text-align: center;
    background: url('../img/als/surfboard.png') no-repeat bottom center;
    background-size: contain
}

.navpage .btn-group {
    width: 100%;
}

.navpage .btn-group a {
    color: #FFF;
    width: 33.33%;
    font-size: 20px !important;
    font-weight: 500;
    border-radius: 30px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 4px rgba(0, 0, 0, .5);
    background: rgba(0, 0, 0, .2);
}

.navpage .btn-group a.active {
    background: #f15a29;
}

.navpage .btn-group a:hover, .navpage .btn-group a:focus {
    text-decoration: none;
}

.overimage {
    padding: 30px 50px;
    display: block;
    background-color: #ffd1c3;
    position: absolute;
    bottom: -90px;
    left: 10%;
    right: 8%;
}

.overimage h2 {
    line-height: 1.5em;
    font-size: 22px;
    text-transform: uppercase;
}

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

.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: #333 !important;
    background-color: #dadada !important
}

.navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
    border-bottom: none !important
}

.navbar-default .navbar-nav li a {
    border-bottom: none !important
}

@media(max-width:1200px) {
    body {
        background-size: 200% auto;
    }

    #header {
        background-position: 50% 100%;
        background-size: 120% 8 0%;
    }

}

@media(max-width:992px) {
    body {
        background-size: 200% auto;
    }

}

@media(max-width:767px) {
    body {
        background-size: 250% auto;
    }

    .navpage .btn-group a {
        font-size: 14px !important;
        width: 30% !important
    }

    .navpage {
        height: 88px;
    }

    .wording {
        font-size: 16px;
    }

}

@media(max-width:565px) {
    body {
        background-size: 300% auto;
    }

    #header {
        background-position: 50% 100%;
        background-size: 200% 90%
    }

    .logoswap {

        /*    height: 160px; */
    }

    .wording {
        margin: 0 0 40px 0;
    }

    .logoswap>img {
        width: 90%;
        left: 50%
    }

    .navpage {
        height: 75px;
    }

    .navpage .btn-group a {
        font-size: 16px !important;
    }

    .divskew {
        display: block;
        width: 100%;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
        white-space: normal;
    }

    .divskew span {
        font-size: 16px;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }

    .wording br {
        display: none
    }

}

@media(max-width:480px) {
    body {
        background-size: 400% auto;
    }

    section {
        padding: 100px 0;
    }

}

.navStick {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: none #333 !important;
    z-index: 99;
    height: auto;
    padding: 15px 10px;
}

#gototop {
    position: fixed;
    right: 20px;
    bottom: 150px;
    width: 60px;
    height: auto;
    z-index: 999
}

#gototop img {
    width: 100%;
    height: 100%
}

.navpage .btn-group a {
    width: 25% !important;
    font-size: 16px !important
}

.sectioncont {
    padding: 80px 0;
}

.sectioncont h1 {
    font-size: 25px !important;
    font-weight: 600;
    font-family: 'Kanit', sans-serif;
    padding: 0;
}

.sectioncont h2 {
    font-size: 22px !important;
    font-weight: normal;
    font-family: 'Kanit', sans-serif;
    margin: 22px 0;
    padding: 0
}

.sectioncont h3 {
    font-size: 20px !important;
    font-family: 'Kanit', sans-serif;
    margin: 0;
    padding: 0
}

.sectioncont h4 {
    font-size: 18px !important;
    font-family: 'Kanit', sans-serif;
}

.sectioncont p, .sectioncont li, .sectioncont td {
    font-family: 'Kanit', sans-serif;
    font-size: 18px !important;
    line-height: 1.7em !important;
}

.sectioncont td {
    padding: 15px !important;
}

.sectioncont p b {
    font-weight: 600 !important
}

.sectioncont img {
    margin: 20px 0
}

.vtbox {
    position: relative;
}

.logoals {
    width: 180px;
}

.zonelist h1 {
    font-size: 30px !important;
    margin: 50px 0 !important;
    display: block
}

.zonelist h2 {
    font-size: 28px !important;
}

.zonelist h2 span {
    background: url('../img/als/buletcorner.svg') no-repeat;
    background-size: 100% auto;
    font-family: 'Roboto', sans-serif;
    display: inline-block;
    font-size: 28px;
    white-space: nowrap;
    font-weight: 600;
    line-height: 1.4em;
    color: #FFF;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    text-align: center
}

p a, p a:hover {
    color: #333;
    text-decoration: underline !important
}

.imgname {
    position: absolute;
    top: 50%;
    display: block;
    width: 95%;
    padding: 0 30px;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    font-size: 18px !important;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    text-shadow: 0px 0px 3px rgba(0, 0, 0, .9);
    text-decoration: underline;
    text-align: right;
}

.leftname {
    text-align: left;
}

.colortheme {
    color: #f15a29 !important;
}

.colortheme2 {
    color: #27aae2 !important;
}

h2.colortheme {
    font-size: 22px;
}

.bgcolortheme {
    background: #27aae2 !important;
}

.fonttheme {
    font-family: Righteous !important;
}

.w-text {
    color: #FFF !important
}

@media(max-width:565px) {
    .vtbox span {
        position: relative;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }

}

.nopad {
    padding: 0 !important;
    margin: 0 !important
}

#sectorA {
}

#sectorB {
    background: url("../img/als/alsbg5.jpg") #e6e6e6 no-repeat 50% 0%;
    background-size: 100% auto;
    padding: 100px 0 0 0 !important;
    margin: 0;
}

#sectorC {
    background: url("../img/als/alsbg8.jpg") #e6e6e6 no-repeat 50% 0%;
    background-size: 100% auto;
    padding: 100px 0 0 0 !important;
    margin: 0;
}

#sectorD {
}

/* ------------------ */
.bgbox1 {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: url('../img/als/alsbg1.jpg') no-repeat 90% 50%;
    background-size: cover;
}

.bgbox2 {
    position: relative;
    width: 100%;
    min-height: 600px;
    padding-top: 80px;
    margin-bottom: 40px;
    background: url('../img/als/alsbg2.jpg') no-repeat 50% 90%;
    background-size: 100% auto;
}

.bgbox4 {
    position: relative;
    width: 100%;
    min-height: 600px;
    padding: 80px 0;
    margin: 40px 0;
    background: url('../img/als/alsbg4.png') #08c1c4 no-repeat 0 0;
    background-size: auto 100%;
    overflow: hidden;
}

.bgbox4 h1 {
    font-size: 28px !important;
    margin: 30px 0 !important;
}

.bgbox4 p {
    line-height: 1.7px;
}

.bgbox5 {
    position: relative;
    width: 100%;
    min-height: 300px;
    padding: 80px 0 0 0;
    margin: 40px 0;
    background: url('../img/als/alsbg6.jpg') #08c1c4 no-repeat 50% 20%;
    background-size: cover;
    text-align: center;
    color: #FFF
}

.bgbox5 h2 {
    font-size: 60px;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

.bgbox5 h3 {
    font-size: 25px !important;
    font-weight: normal;
    margin: 0;
    padding: 0
}

.bgbox6 {
    background: url("../img/als/alsbg7.png") no-repeat bottom center;
    padding-bottom: 200px;
}

.bgbox7 {
    background: url("../img/als/alsbg9.png") no-repeat bottom center;
    padding-bottom: 200px;
}

ol.listknow {
    list-style-position: inside;
    margin: 30px;
    display: block
}

li {
    margin: 0 0 10px 0
}

.altimg {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 30px 0 0 0;
    background: #333;
}

.altimg img {
    display: none;
    margin: 0
}

.altimg img.active {
    display: block;
}

.swapdeep {
    z-index: 99
}

.photoframe {
    position: absolute;
    width: 250px;
    top: 50%;
    right: 0;
    left: auto;
    text-align: center;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.photoframe img {
    width: 100%;
    height: auto;
    margin: 0 !important;
}

.photoframe p {
    font-family: 'Dancing Script', cursive;
    font-size: 30px !important;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.tmb {
    position: relative;
    width: 100%;
    height: 100%
}

.tmb img {
    width: 100%
}

.capt {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    width: 100%;
    color: #FFF;
    background: #f15a29;
    padding: 20px;
    font-size: 20px;
    text-align: center
}

.capt.blue {
    background-color: #27aae2 !important;
}

.capt span {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.lesspad {
    padding: 5px !important
}

.listname {
    list-style-position: inside;
    margin-left: 10px !important;
}

.wall {
    display: block;
    padding: 20px;
    font-size: 16px;
    margin: 30px 0 !important
}

.lgraybg {
    background: #dadada;
}

/* ------------------ */
.mt20 {
    margin-top: 20px !important;
}

.mt30 {
    margin-top: 30px !important;
}

.mt40 {
    margin-top: 40px !important;
}

.mt50 {
    margin-top: 50px !important;
}

.mt60 {
    margin-top: 60px !important;
}

.mt70 {
    margin-top: 70px !important;
}

.mt80 {
    margin-top: 80px !important;
}

.mt90 {
    margin-top: 90px !important;
}

.mt100 {
    margin-top: 100px !important;
}

/* */
.mb20 {
    margin-bottom: 20px !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

.mb40 {
    margin-bottom: 40px !important;
}

.mb50 {
    margin-bottom: 50px !important;
}

.mb60 {
    margin-bottom: 60px !important;
}

.mb70 {
    margin-bottom: 70px !important;
}

.mb70 {
    margin-bottom: 80px !important;
}

.pad10 {
    padding: 10px !important;
}

.pad20 {
    padding: 20px !important;
}

.pad30 {
    padding: 30px !important;
}

.pad40 {
    padding: 40px !important;
}

.pad50 {
    padding: 50px !important;
}

.pad60 {
    padding: 60px !important;
}

.pad70 {
    padding: 70px !important;
}

.pad80 {
    padding: 80px !important;
}

.pad90 {
    padding: 90px !important;
}

.mbdown {
    margin: 100px 0 -50px 0 !important;
}

@media(max-width:992px) {
    .bgbox4 {
        background-image: none;
        padding: 30px;
        min-height: auto;
    }

}

h2.fonttheme {
    font-weight: normal !important;
    font-size: 30px !important;
    padding: 0 !important;
}

@media(max-width:767px) {
    .capt {
        padding: 10px;
        font-size: 16px;
    }

    .capt span {
        font-size: 14px
    }

    .mt20, .mt30, .mt40, .mt50v, .mt60, .mt70, .mt80, .mt90 .mt100 {
        margin-top: 0 !important;
    }

    .mb20, .mb30, .mb40, .mb50v, .mb60, .mb70, .mb80 {
        margin-bottom: 0 !important;
    }

}

/* Buble */
#background-wrap {
    border: 5px solid #333;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

/* KEYFRAMES */
@-webkit-keyframes animateBubble {
    0% {
        margin-top: 1000px;
    }

    100% {
        margin-top: -100%;
    }

}

@-moz-keyframes animateBubble {
    0% {
        margin-top: 1000px;
    }

    100% {
        margin-top: -100%;
    }

}

@keyframes animateBubble {
    0% {
        margin-top: 1000px;
    }

    100% {
        margin-top: -100%;
    }

}

@-webkit-keyframes sideWays {
    0% {
        margin-left: 0px;
    }

    100% {
        margin-left: 50px;
    }

}

@-moz-keyframes sideWays {
    0% {
        margin-left: 0px;
    }

    100% {
        margin-left: 50px;
    }

}

@keyframes sideWays {
    0% {
        margin-left: 0px;
    }

    100% {
        margin-left: 50px;
    }

}

/* ANIMATIONS */
.x1 {
    -webkit-animation: animateBubble 12s linear infinite, sideWays 2s ease-in-out infinite alternate;
    -moz-animation: animateBubble 12s linear infinite, sideWays 2s ease-in-out infinite alternate;
    animation: animateBubble 12s linear infinite, sideWays 2s ease-in-out infinite alternate;
    left: -5%;
    top: 5%;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    transform: scale(0.6);
}

.x2 {
    -webkit-animation: animateBubble 13s linear infinite, sideWays 4s ease-in-out infinite alternate;
    -moz-animation: animateBubble 13s linear infinite, sideWays 4s ease-in-out infinite alternate;
    animation: animateBubble 13s linear infinite, sideWays 4s ease-in-out infinite alternate;
    left: 5%;
    top: 80%;
    -webkit-transform: scale(0.4);
    -moz-transform: scale(0.4);
    transform: scale(0.4);
}

.x3 {
    -webkit-animation: animateBubble 14s linear infinite, sideWays 2s ease-in-out infinite alternate;
    -moz-animation: animateBubble 14s linear infinite, sideWays 2s ease-in-out infinite alternate;
    animation: animateBubble 14s linear infinite, sideWays 2s ease-in-out infinite alternate;
    left: 10%;
    top: 40%;
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    transform: scale(0.7);
}

.x4 {
    -webkit-animation: animateBubble 15s linear infinite, sideWays 3s ease-in-out infinite alternate;
    -moz-animation: animateBubble 15s linear infinite, sideWays 3s ease-in-out infinite alternate;
    animation: animateBubble 15s linear infinite, sideWays 3s ease-in-out infinite alternate;
    left: 20%;
    top: 0;
    -webkit-transform: scale(0.3);
    -moz-transform: scale(0.3);
    transform: scale(0.3);
}

.x5 {
    -webkit-animation: animateBubble 16s linear infinite, sideWays 4s ease-in-out infinite alternate;
    -moz-animation: animateBubble 16s linear infinite, sideWays 4s ease-in-out infinite alternate;
    animation: animateBubble 16s linear infinite, sideWays 4s ease-in-out infinite alternate;
    left: 30%;
    top: 50%;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    transform: scale(0.5);
}

.x6 {
    -webkit-animation: animateBubble 17s linear infinite, sideWays 2s ease-in-out infinite alternate;
    -moz-animation: animateBubble 17s linear infinite, sideWays 2s ease-in-out infinite alternate;
    animation: animateBubble 17s linear infinite, sideWays 2s ease-in-out infinite alternate;
    left: 50%;
    top: 0;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
}

.x7 {
    -webkit-animation: animateBubble 18s linear infinite, sideWays 2s ease-in-out infinite alternate;
    -moz-animation: animateBubble 18s linear infinite, sideWays 2s ease-in-out infinite alternate;
    animation: animateBubble 18s linear infinite, sideWays 2s ease-in-out infinite alternate;
    left: 65%;
    top: 70%;
    -webkit-transform: scale(0.4);
    -moz-transform: scale(0.4);
    transform: scale(0.4);
}

.x8 {
    -webkit-animation: animateBubble 19s linear infinite, sideWays 3s ease-in-out infinite alternate;
    -moz-animation: animateBubble 19s linear infinite, sideWays 3s ease-in-out infinite alternate;
    animation: animateBubble 19s linear infinite, sideWays 3s ease-in-out infinite alternate;
    left: 80%;
    top: 10%;
    -webkit-transform: scale(0.3);
    -moz-transform: scale(0.3);
    transform: scale(0.3);
}

.x9 {
    -webkit-animation: animateBubble 20s linear infinite, sideWays 4s ease-in-out infinite alternate;
    -moz-animation: animateBubble 20s linear infinite, sideWays 4s ease-in-out infinite alternate;
    animation: animateBubble 20s linear infinite, sideWays 4s ease-in-out infinite alternate;
    left: 90%;
    top: 50%;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    transform: scale(0.6);
}

.x10 {
    -webkit-animation: animateBubble 21s linear infinite, sideWays 2s ease-in-out infinite alternate;
    -moz-animation: animateBubble 21s linear infinite, sideWays 2s ease-in-out infinite alternate;
    animation: animateBubble 21s linear infinite, sideWays 2s ease-in-out infinite alternate;
    left: 80%;
    top: 80%;
    -webkit-transform: scale(0.3);
    -moz-transform: scale(0.3);
    transform: scale(0.3);
}

/* OBJECTS */
.bubble {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 1);
    height: 50px;
    width: 50px;
    position: absolute;
}
