body{
    background: #f1f1f1;
    padding:0 0 0 0px;
    min-width: 768px;
}
.header{
    background-color: #f1f1f1;
    height: 125px;
    max-height: 125px;
    padding:0px;
}


/* Logo */
.logo{
    padding:0px;
}
.logo-pic{
    height:120px;
    width:170px;
    margin-top: 15px;
    transition: all 0.3s ease;
}
.logo-pic:hover,
.logo-pic:focus {
    filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12,
        Color='#444')";
    filter: url(#drop-shadow);
    -webkit-filter: drop-shadow(0px 3px 6px rgba(0,0,0,0.5));
    filter: drop-shadow(0px 3px 6px rgba(0,0,0,0.5));
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}
/* Title */
.title{
    padding:0px;
}
.title-th{
    background-color: #f1f1f1;
    height: 125px;
    max-height: 125px;
    width: 100%;
    position: absolute;
    transition: all 0.75s ease;
}
.font-title-th{
    text-align: center;
    color: #282828;
    font-size: 150%;
    margin-top: 50px;
    transition: all 0.75s ease;
}
.title-en{
    background-color: #404040;
    height: 125px;
    max-height: 125px;

}
.font-title-en{
    text-align: center;
    color: white;
    font-size: 150%;
    padding-top: 50px;
}


/* Menu */
.menu{
    margin-top: 35px;
}
/*.menu-icon {*/
.menu-icon {
    text-decoration: none;
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 2px rgba(0,0,0, 0.12), 0 2px 2px rgba(0,0,0, 0.24);
}
.menu-icon:hover,
.menu-icon:focus {
    text-decoration: none;
    outline:none;
    box-shadow: 0 3px 6px rgba(0,0,0, 0.12), 0 3px 6px rgba(0,0,0, 0.24);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.sansarn {
    background-color: #3b5998;
}
.lexto {
    background-color: #00abe3;
}
.tlexs {
    background-color: #d3492c;
}
.sansarn,
.lexto,
.tlexs {
    color: #fff;
}
.sansarn:hover,
.lexto:hover,
.tlexs:hover {
    color: #eee;
}


/* Content */
p.about{
    position: absolute;
    width: 50%;
    height: auto;
    min-height: 100px;
    text-align: center;
    background-color: #fff;
    border: 8px solid #666;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    -webkit-box-shadow: 2px 2px 4px #888;
    -moz-box-shadow: 2px 2px 4px #888;
    box-shadow: 2px 2px 4px #888;
    z-index: 120;
    margin-left: 42%;
    margin-top: -10px;
    text-align: left;
    line-height: 100%;
    padding-top: 20px;
    padding-left: 10px;
    padding-bottom: 5px;
}
.align-input{
    margin-top: 68px;
}
.form-control{
    resize: none;
    width: 75%;
    height: auto;
    min-height: 150px;
    background-color: white;
    margin-top: 10px;
    padding-left: 10px;
}
.form-control:focus{
    padding-left: 10px;
}
.result{
    width: 75%;
    height: auto;
    min-height: 150px;
    margin-top:100px;
    background-color:#474747;
    text-align:left;
    word-wrap:break-word;
    color: white;
    padding-left: 10px;
}
.submit{
    margin-top:150px;
}
.clear-input{
    margin-top: 10px;
}
.btn-success{
    height: 30px;
}


/* Footer */
.footer{
    margin-top:80px;
}
.hr{
    width:30%;
    height: 3px;
    display:inline-block;
    background-color: #595959;
    opacity: 0.3;
}
@media screen and (max-width: 991px){
    .menu{
        margin-top: -10px;
        float: right;
        margin-right: 5%;
    }
    .align-input{
        margin-right: 20%;
    }
    .submit{
        margin-top: 0px;
    }
    .align-result{
        margin-left: 20%;
        margin-top: -80px;
    }
    .footer{
        margin-top: -10px;
    }
}
/*-------------------------*/
.box-cookies{
    position: fixed;
    bottom: 0px;
    background-color: #3e5f29;
    width: calc(100vw);
    opacity: 0.9;
    text-align: center;
    font-size: 13px;
    color: #ffffff;
    padding: 5px 15px 0px 5px;
    line-height: 18px;
}
.box-btn-cookies{
    line-height: 30px;
}
.btn-cookies{
    background-color: #cecece;
    padding: 5px 10px;
    color: #000000;
    border-radius: 4px;
    margin-right: 5px;
}
/*-------------------------*/