﻿/*normalize*/
@font-face {
    font-family: 'Krungsri Condensed';
    src: url('../Fonts/krungsri_con-webfont.ttf');
}

html,
body,
form {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Krungsri Condensed;
    color: #222222;
    background: #FAFAFA;
}

@media only screen and (min-width: 481px) and (max-width: 720px) {
    body {
        font-size: 16px;
    }
}

@media only screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }

    #wrapper .footer {
        font-size: 9pt;
    }
}

a {
    background: transparent;
    color: #f17a14;
}

img {
    border: 0;
}

button,
input {
    -webkit-appearance: none;
    cursor: pointer;
}

hr {
    border-width: 1px 0 0 0;
    border-color: #767676;
    border-style: solid;
}

/*typography*/
h1, h2, h3, h4, h5, h6 {
    line-height: normal;
}

h1, h2, h3 {
    font-weight: normal;
    margin: .5em 0;
}

h4, h5, h6 {
    font-weight: bold;
}

h1 {
    font-size: 2.25em;
}

h2 {
    font-size: 1.875em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.125em;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: .875em;
}

/*template*/
#wrapper .t-container-fluid {
    max-width: 100%;
}

#wrapper .RadButton {
    font-size: 1em;
}

#wrapper .RadMenu,
div.RadMenuPopup,
#wrapper .RadMenu_Default, #wrapper .RadMenu_Default a.rmLink {
    font-size: 1em;
}

#wrapper .header {
    background-color: #CA2420;
    padding: 20px 0;
    margin-bottom: 40px;
}

    #wrapper .header .RadMenu {
        margin: 10px 0;
        float: none;
    }

#wrapper .logo {
    margin: 10px 0;
    width: 100%;
    display: inline-block;
}

    #wrapper .logo img {
        max-width: 100%;
    }

#wrapper .jumbotron {
    padding: 1.875em;
    padding-top: .1em;
    background-color: #F8F8F8;
}

#wrapper .footer {
    width: 100%;
    padding: 30px 15px;
    line-height: 30px;
    font-size: 9pt;
}

/* -- Radio Button Fix -- */
input[type="checkbox"] {
    -webkit-appearance: checkbox;
}

input[type="radio"] {
    -webkit-appearance: radio;
}

input[type="submit"], input[type="button"] {
    -webkit-appearance: button;
}

select {
    -webkit-appearance: textfield;
}

.border_red {
    border-color: #CA2420;
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }
}

.yesPrint {
    display: block !important;
}

.TextCenter {
    text-align: center;
}

.top_bg {
    background-color: #5A5A5A;
/*    padding: 1% 0;
    margin: 0;*/
}

.registration h6 {
    /*background: url('../images/top_line.jpg') left bottom no-repeat;*/
    margin-bottom: 18px;
    padding-bottom: 5px;
    font-size: 22px !important;
    line-height: 0%;
    font-weight: bold;
    text-align: left;
    color: #6f5f5e !important;
    clear: both;
}

/*----start-social-icons-----*/
.social-icons {
    margin: 0 0 0.5em 0;
}

    .social-icons ul li {
        display: inline-block;
    }

        .social-icons ul li a {
            height: 40px;
            width: 40px;
            display: block;
            border-radius: 30em;
        }

    .social-icons ul {
        text-align: center;
        margin-top: 2em;
    }

.twitter {
    background: url(../images/bsprit.png) no-repeat 5px -131px #D6D6D6;
}

.facebook {
    background: url(../images/bsprit.png) no-repeat -39px -130px #D6D6D6;
}

.pin {
    background: url(../images/bsprit.png) no-repeat -83px -130px #D6D6D6;
}

.in {
    background: url(../images/bsprit.png) no-repeat -171px -130px #D6D6D6;
}

.youtube {
    background: url(../images/bsprit.png) no-repeat -214px -130px #D6D6D6;
}

.lineoa {
    background: url(../images/bsprit.png) no-repeat -347px -130px #D6D6D6;
}

.telegram {
    background: url(../images/bsprit.png) no-repeat -299px -130px #D6D6D6;
}

.social-icons li a:hover {
    opacity: 0.8;
}
/*----//End-social-icons-----*/

.topnav {
    overflow: hidden;
    background-color: #333;
}

    .topnav a {
        color: #f2f2f2;
        /*  padding: 14px 16px;*/
        padding: 9px 10px;
        font-size: 17px;
        text-decoration: none;
    }

        .topnav a:hover {
            background-color: #ddd;
            color: black;
        }


/*    .RadButton_Default.rbButton.rbHovered, .RadButton_Default.rbButton.rbToggled.rbHovered, .RadButton_Default.rbButton .rbHovered {
        border-color: #ffc800 !important;
        background-color: #ffc800 !important;
    }*/

.RadButton_Cancel {
    border-color: #e6e6e6 !important;
    color: #222222 !important;
    /*    font-weight: bold !important;*/
    background-color: #f8f9fa !important;
    background-image: none !important;
    border-style: solid !important;
}

.RadButton_Submit {
    border-color: #ffd400 !important;
    color: #554242 !important;
    font-weight: bold !important;
    background-color: #ffd400 !important;
    background-image: none !important;
}

