.splash-page {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
}
.splash-wrap {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
    height: 100vh;
    min-height: 100vh;
}
.splash-wrap .splash-inner {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    padding: 30px 0;
}
.splash-page .splash-heading {
    line-height: 1;
}
.splash-page .splash-heading .br {
    display: block;
}
.splash-page .action-bottom {
    margin-top: 30px;
}
.splash-page .btn {
    min-width: 150px;
    padding: 0 15px;
}

.btn-row {
    position: relative;
    margin: -5px -15px;
    font-size: 0;
}
.btn-row .btn-col {
    display: inline-block;
    vertical-align: top;
    padding: 5px 15px;
}
.btn-row .btn-col .btn {
    margin: 0;
    font-size: 14px;
}

/* New Website */
.splash-page.new-website {
    background-image: url(../img/new-website/bg.jpg);
}
.splash-page.new-website .splash-image {
    max-width: 744px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 0;
}
.splash-page.new-website .splash-image > img {
    max-height: 50vh;
}


/* King Bhumibol */
#page.splash-page.king-bhumibol {
    background-color: #090a0e;
}
.splash-page.king-bhumibol .splash-inner {
    padding: 0 0 40px;
}
.splash-page.king-bhumibol .splash-container {
    width: 100%;
    max-width: 789px;
    margin: 0 auto;
}
.splash-page.king-bhumibol .img-main {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    max-height: 88.3vh;
}
.splash-page.king-bhumibol .img-main.display-sm {
    display: none;
}
.splash-page.king-bhumibol .btn {
    width: 150px;
    min-width: 0;
    height: 40px;
    line-height: 39px;
    vertical-align: top;
    padding-top: 0;
    padding-bottom: 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #333 !important;
    background: rgba(186,186,186,1);
    background: -moz-linear-gradient(top, rgba(186,186,186,1) 0%, rgba(221,221,221,1) 50%, rgba(221,221,221,1) 50%, rgba(186,186,186,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(186,186,186,1)), color-stop(50%, rgba(221,221,221,1)), color-stop(50%, rgba(221,221,221,1)), color-stop(100%, rgba(186,186,186,1)));
    background: -webkit-linear-gradient(top, rgba(186,186,186,1) 0%, rgba(221,221,221,1) 50%, rgba(221,221,221,1) 50%, rgba(186,186,186,1) 100%);
    background: -o-linear-gradient(top, rgba(186,186,186,1) 0%, rgba(221,221,221,1) 50%, rgba(221,221,221,1) 50%, rgba(186,186,186,1) 100%);
    background: -ms-linear-gradient(top, rgba(186,186,186,1) 0%, rgba(221,221,221,1) 50%, rgba(221,221,221,1) 50%, rgba(186,186,186,1) 100%);
    background: linear-gradient(to bottom, rgba(186,186,186,1) 0%, rgba(221,221,221,1) 50%, rgba(221,221,221,1) 50%, rgba(186,186,186,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bababa', endColorstr='#bababa', GradientType=0 );
}
.splash-page.king-bhumibol .btn.btn-outline {
    border-color: #fff !important;
    color: #fff !important;
    background: none !important;
    -webkit-box-shadow: 0px 0px 1px 0px rgba(139,115,38,1)inset;
    -moz-box-shadow: 0px 0px 1px 0px rgba(139,115,38,1)inset;
    box-shadow: 0px 0px 1px 0px rgba(139,115,38,1)inset;
}

/* His Majesty King Birthday */
#page.his-majesty-king-birthday {
    background-image: url(../img/his-majesty-king-birthday/bg.jpg);
}
#page.his-majesty-king-birthday .btn { 
    background-color: #b67e24;
    font-size: 14px;
}
.his-majesty-king-birthday .btn {
    padding-top: 0;
    padding-bottom: 0;
    height: 40px;
    line-height: 39px;
    vertical-align: top;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
.his-majesty-king-birthday .btn.btn-outline {
    border-color: #8b7326 !important;
    color: #8b7326 !important;
    -webkit-box-shadow: 0px 0px 1px 0px rgba(139,115,38,1)inset;
    -moz-box-shadow: 0px 0px 1px 0px rgba(139,115,38,1)inset;
    box-shadow: 0px 0px 1px 0px rgba(139,115,38,1)inset;
}
.his-majesty-king-birthday .splash-image img {
    display: block;
    margin: 0 auto;
}
.his-majesty-king-birthday .splash-image img.img-king {
    width: 777px;
    margin-bottom: 35px;
}
.his-majesty-king-birthday .splash-image img.img-txt {
    width: 582px;
}


@media screen and (min-width:1199px) {
    
    .his-majesty-king-birthday .action-bottom { margin-top: 40px;}
    
}

@media screen and (min-width:992px) {
    
    .his-majesty-king-birthday .splash-image img.img-king {
        max-height: 52.3888889vh;
        width: auto;
        max-width: 777px;
    }
    .his-majesty-king-birthday .splash-image img.img-txt {
        max-height: 20.3888889vh;
        width: auto;
        max-width: 582px;
    }
    
}

@media screen and (min-width:641px) {
    
    .splash-page.king-bhumibol { background-image: url(../img/king-bhumibol/25bg-md.jpg);}
    .splash-page.king-bhumibol .splash-inner { padding-left: 40px; padding-right: 40px;}
    
}

@media screen and (max-width:767px) {
    
    .btn-row { margin-left: -7px; margin-right: -7px;}
    .btn-row .btn-col { padding-left: 7px; padding-right: 7px;}
    
    .splash-page.new-website .splash-image { max-width: none;}
    .splash-page.new-website .splash-image > img { max-height: none; width: 80%;}
    
    .his-majesty-king-birthday .btn { height: 38px; line-height: 37px;}
    .his-majesty-king-birthday .splash-image img.img-king { margin-bottom: 20px; max-width: 90%;}
    
}

@media screen and (max-width:640px) {
    
    .splash-page.king-bhumibol { background-image: url(../img/king-bhumibol/25bg-sm.jpg); background-position: center top;}
    .splash-page.king-bhumibol .img-main.display-md { display: none;}
    .splash-page.king-bhumibol .img-main.display-sm { display: block;}
    .splash-page.king-bhumibol .img-main { max-height: 87.4023438vh;}
    
}

@media screen and (max-width:568px) {
    
    .splash-page.new-website .splash-heading .br { display: none;}
    .splash-page.new-website .splash-heading .br-fixed { display: block;}
    
}

@media screen and (max-width:375px) {
    
    .splash-page.new-website .splash-image { padding: 20px 0;}
    
}

@media screen and (max-width:320px) { 
    
    .splash-page.king-bhumibol .btn { padding: 0 5px; width: 140px;}
    
}