body,html{
    width: 100%;
    height: 100%;
    font-family: 'WOL_Reg','Leelawadee UI',Leelawadee,'Segoe UI',Tahoma,Helvetica,sans-serif;
}
body,h1, h2, h3, h4, h5, h6{

    line-height:25px;
    background-image: url(../img/bg2.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

#Topimg{
    max-width: 100%;
}
.topTitle{
    font-size:27px;
}
#main{   
    color: #000;
    padding: 30px; 
    box-shadow: none;
    background: rgba(255, 255, 255,1); 
    margin: 0px;
    margin: 5px auto;
    width: 900px; box-shadow: 0px 0px 5px #525252;
    border-radius: 10px;
}
.row{
    margin: 0px;
    padding: 0px;
}
.eventBlock label{

    font-weight: normal; 
    padding: 4px;
    padding-left: 25px;
    cursor: pointer;
}
.EventHeadline{
    font-weight: bold;
}



#TableEvent thead th{
    vertical-align: middle;
    text-align: center;
}
#TableEvent .catDis{

    font-weight: bold;
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 30px;
}

tr.boxEv td:first-child{
    padding-left: 30px;
}
tr.boxEv td:not(:first-child){
    text-align: center;
}

.choic span{
    display: none;
}
.paddingtop20{
    padding-top: 20px;
    padding-bottom: 0px;
    border-bottom: 1px #086cca solid;
    color: #086cca;
}
.radio{
    margin-left: 10px;
}


.header{
    padding-top: 20px;
    border-bottom: 2px #086cca solid;
    color: #086cca;
    padding-left: 0px;
    margin: 0px;
    font-size: 1.4em;
    font-weight: bold;
}
.GroupOFE{

}
.lastevent{
    padding-bottom: 50px;
    padding-top: 20px;
}
.fdid2Text{
    display: inline-block;
}
.heb{
    padding-top: 15px;
    display: block;

}
.Blog{

    padding: 20px;
    border: 1px #bababa solid;
    text-align:  center;
    margin-bottom: 30px;
    box-shadow: 0px 0px 3px #999999;
    border-radius: 4px;
}
.Blog img{
    height: 100px;
    margin-bottom: 30px;
}

.textAr textarea{
    height: 150px;
}

.navbar{
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent; 
    border-radius: 0px;
}
.navbar.navbar-default{
    background: #086cca;
    color: #fff;
}
.navbar-default .navbar-nav>li>a,.navbar-default .navbar-brand{
    color: #efefef;
}
.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-brand:hover{
    color: #fff;
}
#Text1{
    font-size: 30px;
    color: #825C42;
    font-family: 'Mitr', sans-serif;
}
#Text2{
    font-size: 22px;
    color: #97B800;
    padding-top: 5px;
    font-family: 'Mitr', sans-serif;
}
#Topx{
    width: 950px;
    text-align: right;
    margin: auto;
    margin-bottom: 20px;
}




@media only screen and   (max-width:1199px) {
    ul.banner-social-buttons {
        float: left;
        margin-top: 15px;
    }
}
@media only screen and  (max-width:667px) {
    body{

    }
    .Exbox{
        border-bottom: 1px #eaeaea solid;
        display: flex;
        align-content: space-between;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    #TableEvent .catDis{
        border-bottom: 2px solid red;
    }
    #main{   
        color: #000;
        padding: 10px; 
        box-shadow: none;
        background: rgba(255, 255, 255,1); 
        margin: 0px;
        margin: 5px auto;
        width: auto; box-shadow:none;
    }
    .banner h2 {
        margin: 0;
        text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
        font-size: 3em;
    }

    ul.banner-social-buttons > li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.banner-social-buttons > li:last-child {
        margin-bottom: 0;
    }

    table thead{
        display: none;
    }
    table tbody td{
        display: block;

    }
    .table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th{
        border: none;
    }
    .table-bordered {
        border: none;
    }
    table tbody td.choic{ 
        /*border-bottom: 1px #0096c3 solid;*/ 
        padding-left: 20px;        
        margin-top: 2px;
        font-weight: normal;
        float: left;    

    }
    table tbody td.choic label{
        display: block;

    }
    label{
        cursor: pointer;
    }
    table tbody td.choic input.v1:after{

    }
    .choic span{
        display: inline-block;
    }    
    .radio {
        padding: 10px;
    }
    .radio:active{
        background: #efefef;
    }
    tr.boxEv td:not(:first-child){
        text-align: left;
        flex: 1;
    }
    tr.boxEv td:first-child{
        text-align: left;
        padding-left: 5px;
        font-size: 18px;
        padding-top: 20px;
        width: 100%;
    }

    #Topimg{
        max-width: 100%;
        height: auto;
    }
    #Topx{
        width: auto;
        text-align: right;
        margin: auto;
        margin-bottom: 20px;
    }
}

.notAllow{
    background: #ffdfdf;
    color: red;
}
.notAllow{
    background: #ffdfdf;
    color: red;
}
#msgError p{
    padding: 10px;border: #ff6666 solid 1px;color: #ff0066;
}
.text-center{
    text-align: center;
}