/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */

@font-face {
    font-family: 'Baskervville';
}
@font-face {
    font-family: 'Prompt';
    unicode-range: U+0E00–U+0E7F;
}

.prompt-light {
  font-family: "Prompt", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.baskervville-<uniquifier> {
  font-family: "Baskervville", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

body{
  font-family: "Prompt", sans-serif;
  font-weight: 300;
  font-style: normal;
  line-height: 25px;
  font-size:1em!important;
}
/*
#header_main span.logo a img{
    max-height: 88px;
    width: 80%;
    padding: 10px 0px;
}*/

p{
  line-height: 25px;
  font-size:1em!important;
}

h1,h2,h3,h4,h5,h6,
.fix-other-font{
  font-family: 'Baskervville', 'Prompt';
}

.h-en-text{
    font-family: 'Baskervville', 'Prompt';
    font-size: 1.6em;
    margin: 15px;
    font-weight: normal;
    line-height: 30px;
}

.font-en2{
  font-family: "Outfit", sans-serif;
  font-style: italic;
}  

.fix-font-th{
  font-family: "Prompt", sans-serif;
}


.slide-entry-title,.en-text{
  font-family: 'Baskervville', 'Prompt';
  font-weight: bolder;
}

.en-text{
  font-family: 'Baskervville', 'Prompt';
  font-weight: bolder;
  padding-bottom: 10px;
}

#top #wrap_all .social_bookmarks, #top #wrap_all .social_bookmarks a, #top #wrap_all .social_bookmarks li {
    background: transparent;
    color: #fff!important;
}

.av_header_transparency .av-main-nav > li > a:hover{
    color: #d5974f!important; 
}

.av-main-nav > li > a {
    padding: 0 15px!important;
    font-size: 0.85em!important;
}

.av-main-nav > li > a:hover{
    color: #d5974f!important; 
}

#top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
  color: #1D2731 ;
  font-weight: bolder;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: #EBD29E!important;
  border: none!important;
}

#top #wrap_all .header_color .av-menu-button-colored > a:hover .avia-menu-text {
  color: #fff;
  background: #B58A52!important;
  border:#B58A52!important;
}

strong,.prompt-bold-italic {
  font-family: "Prompt", sans-serif!important;
  font-weight: 500!important;
  /*font-style: italic!important;*/
}

#top #header_main > .container .main_menu .av-main-nav > li > a:hover{
    color: #d5974f!important; 
}

.avia_ajax_form input[type="submit"]{
    font-family: "Prompt", sans-serif!important;
}

h3.widgettitle{
  margin-bottom: 25px;
}

#top .av-custom-form-color .button {
    border: 2px solid;
    padding: 10px;
}

h2.post-title a,
h3.av-magazine-title a,
.copyright,
.menu-quick-menu-container,{
  font-family: 'Baskervville', 'Prompt';
}

.av-masonry-entry .av-masonry-entry-title{
    font-family: 'Baskervville', 'Prompt'!important;
    color:#c69152;
}
button,
#resetBtn1,
#calculateBtn1,
.form-group,
.loan-payment-calculator-container{
   font-family: "Prompt", sans-serif!important;
   font-size:1em;
}

.av-masonry-date{
  font-family: "Baskervville", serif;
  color: #c5a47e!important;
}

.av-masonry-load-more{
  font-family : "Baskervville", serif;
  background : #c5a47e!important;
}

.av-masonry-load-more:hover{
    background : #000!important;
}

.av-masonry-load-more a:hover{
    color : #fff!important;
}

.av-masonry-entry-content{
  font-family: 'Baskervville', 'Prompt';
  font-size: 0.9em;
}

.av-masonry-date, .av-masonry-text-sep, .av-masonry-author {
    font-size: 13px;
}

#footer .av_one_fifth {
    margin-left: 3% !important;
}

#footer .fixcolfooter1,#footer .fixcolfooter2,#footer .fixcolfooter3,#footer .fixcolfooter4{
  width: 22%!important;
}

#footer .fixcolfooter5{
  clear:both;
  width: 100%!important;
  margin-left: 0%!important;
  border-top: 1px solid #a08965!important;
}

#footer .fixcolfooter5 .add-cm{
  width: 33%;
  float: left;
  margin-right: 1%;
}


#footer .fixcolfooter5 .add-bkk{
  width: 33%;
  float: left;
  margin-right: 1%;
}

#footer .fixcolfooter5 .add-kk{
  width: 32%;
  float: left;
  margin-right: 0%;
}

.copyright{
    /*font-family: 'Baskervville', 'Prompt';*/
}

footer.container_wrap {
  border-top:#d7b579 solid 2px!important;
}
.avia_ajax_form input[type="submit"] {
  font-size: 1em!important;
}

.h2-fix-size{
  font-size: 1.3em !important;
  font-weight: normal;
  font-family: 'Baskervville', 'Prompt';
}

#top .avia_ajax_form .text_input{
  padding: 10px!important; 
}

#top #footer .widget_nav_menu li a,
.textwidget p{
  font-size: 14px !important;
}
 
/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */


}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

  /* Footer Column 1-4
     มือถือให้เรียงลงทีละช่อง
  */

  #footer .fixcolfooter1,
  #footer .fixcolfooter2,
  #footer .fixcolfooter3,
  #footer .fixcolfooter4 {
    display: block !important;

    width: 100% !important;

    float: none !important;
    clear: both !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
  }


  /* Footer Column 5 - ของที่เราแก้ไว้แล้ว */

  #footer .fixcolfooter5 .add-cm,
  #footer .fixcolfooter5 .add-bkk,
  #footer .fixcolfooter5 .add-kk {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    margin-bottom: 30px;
  }

  #footer .fixcolfooter5 .add-kk {
    margin-bottom: 0;
  }


}