/*!
 * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */
@font-face {
    font-family: 'THSarabunNew';
    src: url('../fonts/thsarabunnew-webfont.eot');
    src: url('../fonts/thsarabunnew-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/thsarabunnew-webfont.woff') format('woff'),
         url('../fonts/thsarabunnew-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'THSarabunNew';
    src: url('../fonts/thsarabunnew_bolditalic-webfont.eot');
    src: url('../fonts/thsarabunnew_bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/thsarabunnew_bolditalic-webfont.woff') format('woff'),
         url('../fonts/thsarabunnew_bolditalic-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;

}

@font-face {
    font-family: 'THSarabunNew';
    src: url('../fonts/thsarabunnew_italic-webfont.eot');
    src: url('../fonts/thsarabunnew_italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/thsarabunnew_italic-webfont.woff') format('woff'),
         url('../fonts/thsarabunnew_italic-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'THSarabunNew';
    src: url('../fonts/thsarabunnew_bold-webfont.eot');
    src: url('../fonts/thsarabunnew_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/thsarabunnew_bold-webfont.woff') format('woff'),
         url('../fonts/thsarabunnew_bold-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;

}

.thsarabunnew{
   font-family: 'THSarabunNew', sans-serif;
}

body {
    width: 100%;
    height: 100%;
    font-family: 'THSarabunNew',Helvetica,Arial,sans-serif;
    font-weight: normal;

}
img.logo{
    height: 40px;
}

html {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 35px;
    text-transform: uppercase;
    font-family: 'THSarabunNew',Helvetica,Arial,sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 30px;
}

p {
    margin: 0 0 25px;
    font-size: 18px;
    line-height: 1.5;
}

@media(min-width:768px) {
    p {
        margin: 0 0 35px;
        font-size: 20px;
        line-height: 1.6;
    }
}

a {
    color: #    ;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #102770;
}



.light {
    font-weight: 400;
}
.navbar{
    min-height: 55px;
}
.navbar-custom {
    margin-bottom: 0;
    /*border-bottom: 1px solid #0067B0;*/
    text-transform: uppercase;
    font-family: 'THSarabunNew',Helvetica,Arial,sans-serif;
    font-weight: normal;
    /*background-color: #fff;*/
        background: rgba(0,0,0,0.8);

    color: #fff;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    padding: 8px 15px;
}

.navbar-custom .navbar-brand:focus {
    outline: 0;
}

.navbar-custom .navbar-brand .navbar-toggle {
    padding: 4px 6px;
    font-size: 16px;
    color: #fff;
}

.navbar-custom .navbar-brand .navbar-toggle:focus,
.navbar-custom .navbar-brand .navbar-toggle:active {
    outline: 0;
}


.navbar-custom a {
        color: #fff;
        font-size: 16pt;

}
.navbar-custom a:hover {
        color: #fdfdfd;
        font-size: 16pt;

}

.navbar-custom .nav li a {
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
    padding: 7px 10px;
    margin-top: 11px;
    /*border-radius: 20px !important;*/

}
section#about {
    padding-bottom: 100px;
}
.navbar-custom .nav li a:hover {
    outline: 0;
    color: #fdfdfd;
    background-color: transparent;
}

.navbar-custom .nav li a:focus,
.navbar-custom .nav li a:active {
    outline: 0;
    background-color: transparent;
}

.navbar-custom .nav li.active {
    outline: 0;
}

.navbar-custom .nav li.active a {
    /*background-color: rgba(18, 151, 224,.3);*/
    /*background-color: 0 0;*/
    /*border-radius: 20px !important;*/
    border-bottom: 1px #fff solid;
     /*box-sizing:border-box;*/
     padding: 7px 10px;
     margin-top: 10px;
  /*-moz-box-sizing:border-box;*/
  /*-webkit-box-sizing:border-box;*/
    /*color: #fff;*/
    /*padding: 0*/

}
/*
.navbar-custom .nav li.active a:hover {
    color: #fff;
}*/

@media(min-width:768px) {
    .navbar-custom {
        padding: 20px 0;
        border-bottom: 0;
        letter-spacing: 1px;
        /*border-bottom: 1px solid rgba(0, 0, 0,0.2);*/
        background: rgba(0,0,0,0.8);
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .navbar-custom.top-nav-collapse {
        padding: 0;
        /*border-bottom: 1px solid rgba(0, 0, 0,0.2);*/
        /*background: #fff;*/
        color: #fff;
        background: rgba(0,0,0,.8);


    }
}

.intro {
    display: table;
    width: 100%;
    height: auto;
    padding: 99px 0;
    text-align: center;
    color: #fff;/*1*/
    background: url(/libweek2018/img/bg1.jpg) no-repeat bottom center scroll;
    background-color: #fff;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.intro .intro-body {
    display: table-cell;
    vertical-align: middle;
}
.intro .intro-body .before-brand{
    margin: 0;
    font-size: 16pt;
    text-shadow: 0px 0px 3px #00403f;

}
.intro .intro-body .brand-heading {
    font-size: 40px;
    line-height: 40px;
    margin-top: 20px;
    /*text-shadow: 0px 6px 6px rgba(0, 0, 0, 0.5);*/
    text-shadow: 2px 2px 3px #000000;

    /*text-shadow: 0px 6px 6px rgba(142, 68, 173, 0.5);*/
    /*text-shadow: 0px -3px #00403f, 3px -3px #00403f;*/
      /*-webkit-text-stroke: 1px #00403f;*/
    /*color: rgba(255,255,255,0.8);*/
    color: #fff;
     /*text-shadow: #8E44AD 0px 0px 10px;*/
    -webkit-font-smoothing: antialiased;
}

.form-horizontal label{
    font-size: 14pt;
}
.form-horizontal input{
    padding: 10px;
    font-size: 13pt;
    font-family: 'THSarabunNew';
    font-weight: normal;
}
.intro .intro-body .intro-text {
    /*text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);*/
    font-size: 22px;
    color: #fff;
    text-shadow: #000000 0px 0px 2px;
    -webkit-font-smoothing: antialiased;
}

@media(min-width:768px) {
    .intro {
        height: 100%;
        background-size: 100% 100%;
        padding: 0;
    }

    .intro .intro-body .brand-heading {
        margin-top: 40px;
        font-size: 65px;
        line-height: 60px;
    }

    .intro .intro-body .intro-text {
        font-size: 26px;
    }
}
/*แก้ตัวอักษร*/
.btn-circle {
    /*width: 70px;*/
    height: 40px;
    margin-top: 15px;
    padding: 7px 16px;
    border: 3px solid #231f20;
    border-radius: 5px !important;
    font-size: 19px;
    font-weight: bolder;
    color: #231f20;
    /*box-shadow: 0px 6px 6px rgba(255, 255, 255, 0.9);*/
    /*background: rgba(155, 89, 182,0.5);*/
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.btn-circle:hover,
.btn-circle:focus {
    outline: 0;
    color: #231f20;
    background: rgba(255,255,255,.1);
}

.btn-circle  {
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
}

.btn-circle:hover {
    -webkit-animation-name: pulse;
    -moz-animation-name: pulse;
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes pulse {
    0% {
        -moz-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -moz-transform: scale(1);
        transform: scale(1);
    }
}
.container.content-section > .row{
    min-height: 600px;
}
.content-section {
    padding-top: 100px;
}

.download-section {
    width: 100%;
    padding: 50px 0;
    color: #fff;
    background: url(/libweek2018/img/downloads-bg.jpg) no-repeat center center scroll;
    background-color: #000;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.schedule-section {
    width: 100%;
    padding: 50px 0;
    /*color: #fff;*//*2*/
    background: url(/libweek2018/img/bg2.jpg) no-repeat center center scroll;
    background-color: #fff;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    /*padding-top: 80px;*/
}
.schedule-section h2.header{
    text-shadow: 0px 2px 2px rgba(0,0, 0, 1);
    text-align: center;
    color: #fff;
}

#map {
    width: 100%;
    height: 200px;
    margin-top: 100px;
}

@media(min-width:767px) {
    .content-section {
        padding-top: 120px;
    }

    .download-section {
        padding: 100px 0;
    }

    #map {
        height: 400px;
        margin-top: 250px;
    }
}

.btn {
    border-radius: 0;
    text-transform: uppercase;
    font-family: 'THSarabunNew',Helvetica,Arial,sans-serif;
    font-weight: normal;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
/*
.btn-default {
    border: 1px solid #42dca3;
    color: #42dca3;
    background-color: transparent;
}

.btn-default:hover,
.btn-default:focus {
    border: 1px solid #42dca3;
    outline: 0;
    color: #000;
    background-color: #42dca3;
}*/

ul.banner-social-buttons {
    margin-top: 0;
}

@media(max-width:1199px) {
    ul.banner-social-buttons {
        margin-top: 15px;
    }
}

@media(max-width:767px) {
    ul.banner-social-buttons li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.banner-social-buttons li:last-child {
        margin-bottom: 0;
    }
}
@media(min-width:768px) {
    footer{
        background-position: center top;
        background-size: 100% auto;

    }
}
.text-right{
    text-align: right;
}
section#gallery
{
    padding-bottom: 100px;
    padding-top: 80px;
}
section#register{
    padding-bottom: 100px;
    padding-top: 120px;
}
h2.maintitle{
    margin-bottom: 2px;
}
h4.subtitle{
    /*padding-top:*/
    margin-top: 0;
    font-family: 'THSarabunNew';
    font-weight: normal;
    color: #0020cf;;
    /*margin-bottom: 2px;*/

}
.highlight-purple{
    color: #9B59B6;
}
.highlight-flatgreen{
    color: #0077C0;
}
.highlight-red{
    color: #D91E18;
}
.clearfix{
    clear: both;
}
.register-form p {
    font-size: 14pt;
    margin-bottom: 0;
}
.register-form .checkbox::after{
    margin: 10px;
    height: 1px;
    content: '';
    background-color: #ddd;
    width: 100%;
    display: block;
}

.librarian-table{
    font-size: 13pt;
    font-family: 'THSarabunNew';
    font-weight: normal;

}
.librarian-table input.form-control{
    padding-left: 5px;
    padding-right: 2px;
}
.librarian-table input:not(.left){
    text-align: center;
}

.librarian-table td{
    padding: 0;
    margin: 0;
}
.btn-submit,
.btn-submit:focus{
    background-color: #0057A0;
    color: #fff;
}
.btn-submit:hover{
    background-color: #004790;
    color: #fff;
}
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
  border-color: rgba(0, 71, 144, 0.8);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(27, 163, 156, 0.6);
  outline: 0 none;
}

footer {
    /*3*/
    padding: 50px 0;
    min-height: 320px;
    width: 100%;
    padding: 50px 0;
    color: #fff;
    background: url(/libweek2018/img/bg3.jpg) no-repeat bottom center scroll;
    background-color: #fff;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    /*background-color: #582ba1;*/
    /*border-top: 1px solid rgba(102, 51, 153,0.5);*/

    /*-webkit-background-size: cover;*/
}
footer p {
    margin: 5px;
    font-size: 14pt;
}
.mb0{
    margin-bottom: 0px;
}
.mb30{
    margin-bottom: 30px;
}
.err-msg{
    color: #D24D57;
}

::-moz-selection {
    /*text-shadow: none;*/

    background: #46d3ca;
    background: rgba(0,103,176,.2);
}

::selection {
    /*text-shadow: none;*/
    background: #0067B0;
    background: rgba(0,103,176,.2);
}
.register-form .checkbox.noborder::after{
    height: 0px;
}
img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: rgba(255,255,255,.2);
}

.mt10{
    margin-top: 10px;
}
.mt20{
    margin-top: 20px;
}
.mt30{
    margin-top: 30px;
}
.parsley-errors-list{
    list-style: none;
    padding-left: 0px;
}
.parsley-errors-list li{
    padding-top: 10px;
    color: red;
}
.input-required::after{
    content: ' *';
    color:red;
}
/*=========================
  Icons
 ================= */

/* footer social icons */
ul.social-network {
    list-style: none;
    display: inline;
    margin-left:0 !important;
    padding: 0;
}
ul.social-network li {
    display: inline;
    margin: 0 5px;
}


.social-network a.icoRss {
    background-color: #F56505;
}
.social-network a.icoFacebook {
    background-color:#3B5998;
}
.social-network a.icoTwitter {
    background-color:#33ccff;
}
.social-network a.icoGoogle {
    background-color:#BD3518;
}
.social-network a.icoVimeo {
    background-color:#0590B8;
}
.social-network a.icoLinkedin {
    background-color:#007bb7;
}


/* footer social icons */
.social-network a.icoRss:hover {
    background-color: #F56505;
}
.social-network a.icoFacebook:hover {
    background-color:#3B5998;
}
.social-network a.icoTwitter:hover {
    background-color:#33ccff;
}
.social-network a.icoGoogle:hover {
    background-color:#BD3518;
}
.social-network a.icoVimeo:hover {
    background-color:#0590B8;
}
.social-network a.icoLinkedin:hover {
    background-color:#007bb7;
}
.social-network a.icoRss:hover i, .social-network a.icoFacebook:hover i, .social-network a.icoTwitter:hover i,
.social-network a.icoGoogle:hover i, .social-network a.icoVimeo:hover i, .social-network a.icoLinkedin:hover i {
    color:#fff;
}
a.socialIcon:hover, .socialHoverClass {
    color:#44BCDD;
}

.social-circle li a {
    display:inline-block;
    position:relative;
    margin:0 auto 0 auto;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    border-radius:50%;
    text-align:center;
    width: 50px;
    height: 50px;
    font-size:20px;
}
.social-circle li i {
    margin:0;
    line-height:50px;
    text-align: center;
}

.social-circle li a:hover i, .triggeredHover {
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -ms--transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
}
.social-circle i {
    color: #fff;
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    -o-transition: all 0.8s;
    -ms-transition: all 0.8s;
    transition: all 0.8s;
}

.social-network  a {
 background-color: #D3D3D3;
}
.warning-zone{
    color:#D24D57;
}
.information-table td{
    font-size: 13pt;
    font-family: 'THSarabunNew';
}

.information-table th{
    font-size: 14pt;
    font-family: 'THSarabunNew';
}