#page { background-color: #fff;}
.icw, .list-item, .icw-col { font-size: 18px;}
.icw .btn, .localnav { font-size: 16px;}

.nowrap { white-space: nowrap;}
.mfp-close-btn-in .mfp-close { position: fixed;}

.section .sc-inner { padding: 70px 0;}
.section .note-box { margin-bottom: 0;}
.section-details .sc-inner { padding: 40px 0;}
.section-items .sc-headline { margin-bottom: 40px;}

.list-item { padding-left: 0; padding-right: 0;}
.list-item-lg .image { height: 200px; line-height: 200px;}

#hero { background-color: #f2f2f2;}
#hero .master-slider img { max-width: none;}
#hero .master-slider .ms-bullets { z-index: 10; bottom: 30px;}
#hero .master-slider .ms-slide-info { display: none; background: #fff;}
#hero .ms-info-wrap { padding-top: 0}
#hero .ms-info-box { padding-top: 20px; text-align: center;}
#hero .ms-info-box img { width: auto;}
#hero .ms-info-box img.logo-promptpay { width: 180px;}
#hero .ms-info-box .action-bottom { margin: 20px auto 15px;}
#hero .ms-info-box .btn-block { width: 290px; max-width: 100%; margin: 0 auto;}
#hero .info-bar { position: relative; width: 100%; min-height: 43px; padding: 10px 40px 10px 15px; background-color: #fafafa; border-top: 1px solid #eee; border-bottom: 1px solid #eee; color: #00a950;}
#hero .info-bar .tools { position: absolute; right: 15px; top: 0; line-height: 44px; z-index: 1;}
.info-bar .tools .tool { display: inline-block; vertical-align: top;}
.info-bar .tools .tool:not(:first-child) { margin-left: 10px;}

.popup-howto .popup-headline>img { margin-top: 10px;}
.howto-row { margin-top: 100px;}
.howto-row:after { content: ""; display: table; clear: both;}
.howto-col { width: 50%; float: left;}
.howto-img>img { display: block; width: 299px;}
.howto-txt { padding-top: 40px; float: right;}
.howto-txt .no { 
    display: inline-block; 
    width: 60px; height: 60px; 
    line-height: 60px; 
    font-family: 'DBThaiTextXBd'; 
    font-size: 55px; 
    text-align: center; 
    background-color: #00a950; 
    color: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    margin-bottom: 20px;
}

.padding-0 { padding: 0 !important;}
.padding-top-0 { padding-top: 0 !important;}
.padding-bottom-0 { padding-bottom: 0 !important;}

@-webkit-keyframes fadeIn {
    from { opacity: 0;}
    to { opacity: 1;}
}
@keyframes fadeIn {
    from { opacity: 0;}
    to { opacity: 1;}
}
.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}
@-webkit-keyframes fadeInUpSmall {
    from { opacity: 0; -webkit-transform: translate3d(0, 20%, 0); transform: translate3d(0, 20%, 0);}
    to { opacity: 1; -webkit-transform: none; transform: none;}
}
@keyframes fadeInUpSmall {
    from { opacity: 0; -webkit-transform: translate3d(0, 20%, 0); transform: translate3d(0, 20%, 0);}
    to { opacity: 1; -webkit-transform: none; transform: none;}
}
.fadeInUpSmall { -webkit-animation-name: fadeInUpSmall; animation-name: fadeInUpSmall;}

@-webkit-keyframes fadeInDownSmall {
    from { opacity: 0; -webkit-transform: translate3d(0, -20%, 0); transform: translate3d(0, -20%, 0);}
    to { opacity: 1; -webkit-transform: none; transform: none;}
}
@keyframes fadeInDownSmall {
    from { opacity: 0; -webkit-transform: translate3d(0, -20%, 0); transform: translate3d(0, -20%, 0);}
    to { opacity: 1; -webkit-transform: none; transform: none;}
}
.fadeInDownSmall { -webkit-animation-name: fadeInDownSmall; animation-name: fadeInDownSmall;}

@-webkit-keyframes zoomInSmall {
    from { opacity: 0; -webkit-transform: scale3d(.92, .92, .92); transform: scale3d(.92, .92, .92);}
    50% { opacity: 1;}
}
@keyframes zoomInSmall {
    from { opacity: 0; -webkit-transform: scale3d(.92, .92, .92); transform: scale3d(.92, .92, .92);}
    50% { opacity: 1;}
}
.zoomInSmall { -webkit-animation-name: zoomInSmall; animation-name: zoomInSmall;}

@-webkit-keyframes fadeInLeftSmall {
    from { opacity: 0; -webkit-transform: translate3d(-12px, 0, 0); transform: translate3d(-12px, 0, 0);}
    to { opacity: 1; -webkit-transform: none; transform: none;}
}
@keyframes fadeInLeftSmall {
    from { opacity: 0; -webkit-transform: translate3d(-12px, 0, 0); transform: translate3d(-12px, 0, 0);}
    to { opacity: 1; -webkit-transform: none; transform: none;}
}
.fadeInLeftSmall { -webkit-animation-name: fadeInLeftSmall; animation-name: fadeInLeftSmall;}

.slick-slider {
    visibility: hidden;
}
.slick-slider.slick-initialized {
    visibility: visible;
}

/* FIFA World Cup 2018 */
.section-small .sc-inner {
    padding: 30px 0;
}
.wall {
    position: relative;
}
.wall .image {
    position: relative;
}
.wall .image img {
    display: block;
    width: 100%;
}
.wall .image-anim {
    position: absolute;
    top: 0; left: 0;
    user-select: none;
    pointer-events: none;
}
.wall .caption {
    padding: 30px 10px;
    background-color: #010101;
    color: #fff;
    text-align: center;
}
.wall .caption .heading,
.wall .caption a {
    color: inherit;
}
.wall .caption .heading {
    font-size: 35px;
}
.wall .caption .heading:not(:last-child) {
    margin-bottom: 10px;
}
.wall-group:after {
    content: "";
    display: table;
    clear: both;
}
.wall-group {
    margin: 0 -2px;
    overflow: hidden;
}
.wall-group .wall-item {
    display: block;
    width: 25%;
    float: left;
    padding: 0 2px;
    outline: 0;
}
.wall-group .slick-arrow {
    width: 48px;
    height: 70px;
    line-height: 70px;
    font-size: 0;
    text-align: center;
    color: #fff;
    background-color: rgba(0,0,0,0.4);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: absolute;
    top: 50%;
    z-index: 9;
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}
.wall-group .slick-prev {
    left: 12px;
}
.wall-group .slick-next {
    right: 12px;
}
.wall-group .slick-arrow:before {
    display: inline-block;
    vertical-align: top;
    font-family: 'icokbank';
    font-size: 22px;
    line-height: inherit;
}
.wall-group .slick-prev:before {
    content: "\e908";
}
.wall-group .slick-next:before {
    content: "\e909";
}

.wall-bar {
    padding: 30px 0;
    margin: 3px auto;
    background-color: #010101;
    color: #fff;
    text-align: center;
}
.wall-bar a {
    color: inherit;
}

.wall-group .wall-item,
.wall-group .wall .caption,
.wall-bar {
    background-color: transparent;
}
.wall-group .wall-item,
.wall-bar {
    border-width: 0;
    border-style: solid;
    border-color: #fff;
}
.wall-group .wall-item {
    padding: 0;
    border-left-width: 2px;
    border-right-width: 2px;
    border-bottom-width: 3px;
}
.wall-bar {
    margin-top: 0;
}

.privileges-wall {
    overflow: hidden;
    background-position: center bottom;
    background-size: cover;
}
.privileges-wall .wall-group .wall-item {
    width: 20%;
}

.prize-wall {
    background-color: #00ae64;
}
.prize-wall .wall-group .wall-item {
    width: 33.3333333%;
}
.prize-wall .wall-group .wall-item.full {
    width: 100%;
}
.prize-wall .wall-group .wall .wall-inner {
    position: relative;
    background-color: #00ae64;
}
.prize-wall .wall-group .wall .caption {
    width: 100%;
    position: absolute;
    bottom: 0; left: 0;
}
.prize-wall .wall-group .full .wall .caption {
    height: auto !important;
    width: 36.75%;
    text-align: left;
    bottom: auto;
    left: 24.83%; top: 50%;
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
}
.prize-wall .wall-group .full .wall .obj {
    margin-left: -19.55%;
    margin-bottom: 20px;
}


.video-container {
    display: table;
    table-layout: fixed;
    width: 100%;
    overflow: hidden;
}
.video-container:after {
    content: "";
    display: table;
    clear: both;
}
.video-view,
.video-thumbs {
    display: table-cell;
    vertical-align: middle;
}
.video-view {
    width: 60%;
    background: #000;
}
.video-thumbs {
    width: 40%;
    padding-left: 30px;
}
.video-thumbs .video-thumb {
    position: relative;
    display: table;
    width: 100%;
    min-height: 120px;
    background: #000;
    border: 1px solid #9d9d9d;
}
.video-thumbs .video-thumb:not(:last-child) {
    margin-bottom: 12px;
}
.video-thumbs .video-thumb .title,
.video-thumbs .video-thumb .image {
    display: table-cell;
    vertical-align: middle;
}
.video-thumbs .video-thumb .title {
    padding: 20px;
    font-size: 15px;
    font-weight: normal;
    color: #fff;
}
.video-thumbs .video-thumb .image {
    width: 180px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.video-thumbs .video-thumb .image img {
    width: 100%;
    max-width: none;
}

.table.table-sm {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.table.table-sm thead td {
    font-size: 28px;
}


#hero {
    position: relative;
    overflow: hidden;
}
#hero:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
    background-image: url(../img/ribbon.gif);
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}


/* Grab */
.page-grab #hero:after {
    display: none;
}

.icw .grab-logo {
    height: 1em;
    margin: 5px 0;
    display: inline-block;
    vertical-align: sub;
}

.tile .tile-anim {
    position: absolute;
    left: 0;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.tile .tile-anim-01 {
    top: 0;
}
.tile .tile-anim-02 {
    bottom: 0;
}
.tiles-grab .tile {
    overflow: hidden;
}
.tiles-grab .tile-image img {
    min-height: 330px;
    object-fit: cover;
    object-position: 85%;
}
.tiles-grab .tile-headline {
    z-index: 1;
    text-shadow: -1px 1px 20px #333;
}

@-webkit-keyframes ballSlide {
    from { opacity: 0; -webkit-transform: translate3d(-30%, 0, 0); transform: translate3d(-30%, 0, 0);}
    to { opacity: 1; -webkit-transform: none; transform: none;}
}
@keyframes ballSlide {
    0% { opacity: 0; -webkit-transform: translate3d(-30%, 0, 0); transform: translate3d(-30%, 0, 0);}
    100% { opacity: 1; -webkit-transform: none; transform: none;}
}
.ballSlide { 
    animation-name: ballSlide;
    animation-duration: 0.6s;
    animation-timing-function: ease;
    animation-direction: alternate;
}

@-webkit-keyframes carSlide {
    0% { opacity: 0; -webkit-transform: translate3d(-40%, 30%, 0); transform: translate3d(-40%, 30%, 0);}
    100% { opacity: 1; -webkit-transform: none; transform: none;}
}
@keyframes carSlide {
    0% { opacity: 0; -webkit-transform: translate3d(-20%, 25%, 0); transform: translate3d(-20%, 25%, 0);}
    100% { opacity: 1; -webkit-transform: none; transform: none;}
}
.carSlide { 
    animation-name: carSlide;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-direction: alternate;
}


.mediaBox {
    width: 100%;
    max-width: 650px;
    margin: 20px auto 40px;
}
li:last-child .mediaBox {
    margin-bottom: 0;
}
.tb-virtual-stadium td:first-child {
    width: 1%;
    padding-right: 30px;
}

.grab-box-special {
    background: #00a950;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 10px 20px;
    margin-bottom: 20px;
}
.grab-box-special .grab-logo {
    height: 1.5em;
    margin: 5px 7px;
    vertical-align: middle;
}


@media screen and (min-width: 992px) {
    
    /* FIFA World Cup 2018 */
    .wall-visible-m { display: none !important;}
    
    .video-thumbs .video-thumb:after {
        content: "";
        display: block;
        width: 100%; height: 100%;
        background-color: rgba(0,0,0,0.6);
        position: absolute;
        top: 0; left: 0;
        pointer-events: none;
        user-select: none;
        opacity: 1;
        transition: opacity 250ms ease-in-out;
    }
    .video-thumbs .video-thumb.active:after,
    .no-touch .video-thumbs:hover .video-thumb:after {
        opacity: 0;
    }
    .no-touch .video-thumbs:hover .video-thumb:not(:hover):after {
        opacity: 1;
    }
    
}

@media screen and (max-width: 1199px) {
    
    .tile .tile-anim-01 { width: 85%;}
    
}

@media screen and (max-width: 1024px) {
    
    .video-thumbs .video-thumb { min-height: 0;}
    
}

@media screen and (max-width: 991px) {
    
    .section .sc-inner { padding: 45px 0;}
    .section-details .sc-inner { padding: 20px 0;}
    
    .howto-img>img, .howto-row .img>img { width: 199px; margin: 0 auto;}
    
    /* FIFA World Cup 2018 */
    .wall-hidden-m { display: none !important;}
    .privileges-wall .wall-group .wall .caption { margin-top: -65px;}
    .prize-wall .wall-group .wall .wall-inner { min-height: 450px;}
    
    .video-container { max-width: 640px; margin: 0 auto;}
    .video-container, .video-view, .video-thumbs { display: block; width: auto; padding: 0;}
    .video-view { margin-bottom: 15px;}
    .video-thumbs { font-size: 0; text-align: center; margin: 0 -4px;}
    .video-thumbs .video-thumb { display: inline-block; width: 33.3333333%; padding: 0 4px; background: none; border: 0;}
    .video-thumbs .video-thumb .image { width: 100%; position: relative;}
    .video-thumbs .video-thumb .title { display: none;}
    .video-thumbs .video-thumb:not(:last-child) { margin-bottom: 0;}
    
    .video-thumbs .video-thumb .image:after {
        content: "";
        display: block;
        width: 100%; height: 100%;
        background-color: rgba(0,0,0,0.6);
        position: absolute;
        top: 0; left: 0;
        pointer-events: none;
        user-select: none;
        opacity: 1;
        transition: opacity 250ms ease-in-out;
    }
    .video-thumbs .video-thumb.active .image:after,
    .no-touch .video-thumbs:hover .video-thumb .image:after {
        opacity: 0;
    }
    .no-touch .video-thumbs:hover .video-thumb:not(:hover) .image:after {
        opacity: 1;
    }
    
}

@media screen and (max-width: 900px) {
    
    .icw, .list-item, .icw .btn, .localnav, .icw-col { font-size: 16px;}
    
}

@media screen and (max-width: 767px) {
    
    .section-items .sc-headline { margin-bottom: 20px;}
    
    .row-items .list-item { border-bottom: 0; padding-bottom: 0;}
    .row-items .col-item:first-child .list-item { padding-top: 0;}

    #hero .master-slider .ms-bullets { bottom: 15px;}
    #hero .master-slider .ms-slide-info { display: block;}
    #hero .master-slider .ms-info-box p { color: #777;}
    
    .howto-row { margin-top: 60px; text-align: center;}
    .howto-col { float: none; width: 100%;}
    .howto-txt { padding-top: 0; padding-bottom: 20px;}
    .howto-txt .no { font-size: 40px; line-height: 40px; width: 40px; height: 40px;}
    
}

@media screen and (max-width: 640px) {
    
    /* FIFA World Cup 2018 */
    .section-small .sc-inner { padding: 25px 0;}
    
    .wall .caption { padding-top: 25px; padding-bottom: 25px;}
    .wall-bar { padding: 25px 0;}
    
}