@import url('https://fonts.googleapis.com/css?family=Sarabun:400,500,700');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Sarabun', sans-serif;
    background-color: #fff;
}
html {
    scroll-behavior: smooth;
  }
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sarabun', sans-serif;
    font-weight: 400;
    color: #373937;

}

.headline h5 {
    font-size: 30px;
    border-bottom: 2px solid #e60000;
    margin: 0 0 -2px 0;
    padding-bottom: 10px;
    display: inline-block;
	line-height: 36px;
	
}

.headline {
    display: block;
    margin: 10px 0 5px 0;
    border-bottom: 1px dotted #e4e9f0;
}

h1{
    font-size:30px;
    
   
   }

h5{
 line-height: 30px;
 color: #000000;


}


h3{
    font-size:16px;
    line-height: 40px; 
   
   }
h4{
    line-height: 40px; 
   
   }

h2 {
    display: grid;
    width: 100%;
    align-items: center;
    text-align: center;
    grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
    grid-gap: 20px;
    line-height: 50px;
}

h2:before,
h2:after {
    content: '';
    border-top: 2px solid;
}

.vl {
    border-left: 6px solid #4a4b4d;
    height: 8px;
    margin-right: 10px;
  }



.section_padding_120 {
    padding-top: 120px;
    padding-bottom: 80px;
}
.section_padding_100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section_padding_100_50 {
    padding-top: 100px;
    padding-bottom: 50px;
}
.section_padding_100_10 {
    padding-top: 100px;
    padding-bottom: 10px;
}
.section_padding_100_70 {
    padding-top: 100px;
    padding-bottom: 70px;
}

.section_padding_50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.section_padding_50_20 {
    padding-top: 50px;
    padding-bottom: 20px;
}

.section_padding_150 {
    padding-top: 150px;
    padding-bottom: 150px;
}

.section_padding_200 {
    padding-top: 200px;
    padding-bottom: 200px;
}

.section_padding_0_100 {
    padding-top: 0;
    padding-bottom: 100px;
}

.section_padding_70 {
    padding-top: 70px;
    padding-bottom: 70px;
}

.section_padding_0_50 {
    padding-top: 0;
    padding-bottom: 50px;
}

.section_padding_20 {
    padding-top: 20px;
    padding-bottom: 20px;
}
.section_padding_25 {
    padding-top: 25px;
    padding-bottom: 25px;
}
.section_padding_100_0 {
    padding-top: 100px;
    padding-bottom: 0px;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.mt-15 {
    margin-top: 15px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-100 {
    margin-top: 100px;
}

.mt-150 {
    margin-top: 150px;
}

.mr-15 {
    margin-right: 15px;
}

.mr-30 {
    margin-right: 30px;
}

.mr-50 {
    margin-right: 50px;
}

.mr-100 {
    margin-right: 100px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-100 {
    margin-bottom: 100px;
}

.ml-15 {
    margin-left: 15px;
}

.ml-30 {
    margin-left: 30px;
}

.ml-50 {
    margin-left: 50px;
}

.ml-100 {
    margin-left: 100px;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

#scrolltop {
    bottom: 0;
    font-size: 24px;
    right: 30px;
    width: 50px;
    background-color: #D0103A;
    color: #fff;
    text-align: center;
    height: 50px;
    line-height: 50px;
}
.navbar-dark .navbar-toggler-icon {
   
    border-color: #ffffff;
}

a {

    color: #D0103A;
}
a,
a:hover,
a:focus,
a:active {
    
    text-decoration: none;
    -webkit-transition-duration: 500ms;
    -o-transition-duration: 500ms;
    transition-duration: 500ms;
}
a:hover{

    color: #e75f69;
}
li {
    list-style: none;
}

p {
    color: #726a84;
    font-size: 16px;
    font-weight: 300;
    margin-top: 0;
}


.quote{
    text-align: center;
    font-size: 3rem;
    margin: auto;
    padding: 15px;
    border: 2px solid black;
    max-width: 60%;
    position: relative;
    margin-top: 100px;
  }
  blockquote{
    color: black;
    font-style: italic;
    position: relative;
    z-index: 20;
    font-size: 2.5rem;
    line-height: 70px;
  }
  .left{
    position: absolute;
    top: -50px;
    left: -20px;
    width: 150px;
    text-align: left;
    z-index: 10;
    font-size: 5rem;
    color: grey;
    background-color: #fff;
    line-height: 200px;
  }
  .right{
    position: absolute;
    bottom: -50px;
    right: -20px;
    width: 150px;
    text-align: right;
    z-index: 10;
    font-size: 5rem;
    color: grey;
    background-color: #fff;
    line-height: 150px;
  }
  small{
    font-size: 1.5rem;
    color: grey;
    position: relative;
    z-index: 20;
    
    &:before{
      content: "\2014 \0020";
      width: 5px;
    }
  }





.heading-text > p {
    font-size: 16px;
}

.section-heading > h2 {
    font-weight: 300;
    color: #373937;
    font-size: 48px;
    margin: 0;
}

.underline{

    text-decoration: #000;
}
.section-heading {
    margin-bottom: 60px;
}

.line-shape-white,
.line-shape {
    width: 80px;
    height: 2px;
    background-color: #d01f3c;
    margin-top: 15px;
}

.line-shape {
    margin-left: calc(50% - 40px);
}

.table {
    display: table;
    height: 100%;
    left: 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 2;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}
.bggreen{

    background-color: #D6D1C4;
}

.bggreen2{

    background-color: #D0103A;
}

.bggreen h3{

    color: #000000;
    
   
    
}

.navbar-brand{
	 color: #ffffff;}

.bggreen h4{

    color: #000000;
    
   
    
}

.bggreen h1{

 color: #000000;
 font-size: 40px;
 line-height: 80px;
   
}
.bgyellow {

    background-color: #f1b922;
   
}
.bgyellow h1{

    color: #ffffff;
    font-size: 40px;
    font-weight: 500;
   
}
.bgyellow h3{

    color: #000000;
    font-size: 32px;
    font-weight: 500;
   
}

.scroll{
    height: 20px;
    width: 20px;
    background: #000;
    position: fixed;
    bottom: -50px;
    right: -50px;
  }


.bg-wh{

    background-color: #ffffff;
}

.bg-gray{

    background-color: #f8f9fa;
}

.btn-outline-dark{
    color:#000000;
    background-color:transparent;
    background-image:none;
    border-color:#343a40}
.btn-outline-dark:hover{
    color:#D0103A;
    background-color:#fff;
    border-color:#343a40
}


.text-red {
    line-height: 44px;
    color: #D0103A;
    
   
   }

   .btn-danger{
background-color: #D0103A;


   }


.notice {
    padding: 15px;
    background-color: #fafafa;
    /*border-left: 6px solid #7f7f84;*/
    margin-bottom: 10px;
    
    -webkit-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
       -moz-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
            box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
}
.notice-sm {
    padding: 10px;
    font-size: 80%;
}
.notice-lg {
    padding: 35px;
    font-size: large;
}
.notice-success {
    border-color: #80D651;
}

.notice-danger {
    border-color: #d73814;
}
.notice-danger>strong {
    color: #d73814;
}


/* Navbar*/
.navbar-light .navbar-nav .nav-link {
    color: #ffffff;
    font-size: 14px;
    font-weight: 200;
    border-radius: 30px;
    -webkit-transition-duration: 500ms;
    -o-transition-duration: 500ms;
    transition-duration: 500ms;
    padding-right: 10px;
    
}

.navbar-light .navbar-nav .nav-link:hover{
	color:  #FFFF00;
}
.navbar-light .navbar-nav .nav-link:focus{
    color:  #FFFF00;
}

/*.navbar {
    -webkit-box-shadow: 0 8px 6px -6px #999;
    -moz-box-shadow: 0 8px 6px -6px #999;
    box-shadow: 0 8px 6px -6px #999;

 
}*/


.navbar-light .navbar-toggler{

    color: #ffffff;
}


/* card*/

.box1 {
	-webkit-box-shadow: 0 10px 6px -6px #777;
	-moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
    margin-bottom: 15px;
}
.message{

    padding: 10px;
    font-size: 12px;


}

.blackmessage{

    color: #343a40;
    font-weight: bold;
}
.redmessage{

    color: #D0103A;
    font-weight: bold;
}

.bg-greenbackgeound{

    background-image: url(images/06_GreenBannerHeader.jpg);


}


.money-detail {
    
    background-color: #172d18;
    padding: 25px;
    border-radius: 20px 20px 20px 20px;
    -webkit-transition-duration: 800ms;
    -o-transition-duration: 800ms;
    transition-duration: 800ms;
    margin-bottom: 10px;
   
}

.regis-detail {
    
    background-color: #f1b922;
    padding: 25px;
    border-radius: 20px 20px 20px 20px;
    -webkit-transition-duration: 800ms;
    -o-transition-duration: 800ms;
    transition-duration: 800ms;
    margin-bottom: 10px;
   
}



/* project-detail */
.project-detail > h4 {
    font-size: 22px;
    color: #d01f3c;
    margin-bottom: 15px;
}

.project-detail {
    border: 1px solid #eff2f6;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px 20px 20px 20px;
    -webkit-transition-duration: 800ms;
    -o-transition-duration: 800ms;
    transition-duration: 800ms;
    margin-bottom: 30px;
   
}

.project-detail:hover {
  
    -webkit-box-shadow: 0 10px 90px rgba(0, 0, 0, 0.08);
            box-shadow: 0 10px 90px rgba(0, 0, 0, 0.08);
}

.project-detail p {
    margin-bottom: 0;
}


/* content-detail */
.content-detail > h4 {
    font-size: 22px;
    color: #d01f3c;
    margin-bottom: 15px;
}

.content-detail {
    border: 1px solid #eff2f6;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px 20px 20px 20px;
    -webkit-transition-duration: 800ms;
    -o-transition-duration: 800ms;
    transition-duration: 800ms;
    margin-bottom: 30px;
   
}

.content-detail:hover {
    border: 1px solid #172d18;
    -webkit-box-shadow: 0 10px 90px rgba(0, 0, 0, 0.08);
            box-shadow: 0 10px 90px rgba(0, 0, 0, 0.08);
}

.content-detail p {
    margin-bottom: 0;
}
.clearfix {
    overflow: auto;
  }
/* Footer */
.footer {
background-color: #211f1f;
color: #ffffff;

}

.footer h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 300;
    line-height: 40px;
}

.value-img {
    display: block;
    text-align: center;
    margin: 2em 0;
    
  }
  
  img {
    max-width: 100%;
    z-index :1001;
  }
 
  .modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}


.border1 {
	border: 1px solid #CCC;
}

@media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  }
  @media (min-width: 320px) and (max-width: 767px) {
    .section-heading > h2 {
        font-weight: 300;
        color: #373937;
        font-size: 32px;
        margin: 0;
    }
    .bgyellow h3{
  
      color: #000000;
      font-size: 22px;
      font-weight: 500;
     
  }
  .text-red h1{
    font-size: 36px;
      
   }

   blockquote{

    font-size: 1.5rem;
    line-height: 30px;
  }


  .left{

    font-size: 3rem;

  }
  .right{

    font-size: 3rem;

  }



   h1{
    font-size:30px;
    
   
   }
   .bggreen h1{


    font-size: 32px;
    line-height: 40px;
      
   }

  h5{
    font-size:16px; 
    line-height: 40px;
   }
   h2{
    font-size:18px; 
    line-height: 30px;
   } 
   
   h3{
      font-size:16px;
      line-height: 40px;
      }
   h4{
       font-size:20px;
       line-height: 40px;
      
      }

      .left{

        font-size: 3rem;

      }
      .right{

        font-size: 3rem;

      }

    }


  @media (min-width: 480px) and (max-width: 767px) {
    .section-heading > h2 {
      font-weight: 300;
      color: #373937;
      font-size: 32px;
      margin: 0;
  }
  .bgyellow h3{

    color: #000000;
    font-size: 22px;
    font-weight: 500;
   
}
blockquote{

    font-size: 1.5rem;
    line-height: 40px;
  }

h1{
    font-size:30px;
    
   
   }

h2{
    font-size:18px; 
    line-height: 30px;
   } 
h5{
    font-size:16px; 
    line-height: 40px;
   }
   
   
   h3{
      font-size:16px;
      line-height: 40px;
      }
   h4{
       font-size:20px;
       line-height: 40px;
      
      }
  }


@media (min-width: 576px) and (max-width: 767px) {
  .section-heading > h2 {
    font-weight: 300;
    color: #373937;
    font-size: 36px;
    margin: 0;
}
.bgyellow h3{

    color: #000000;
    font-size: 24px;
    font-weight: 500;
   
}

blockquote{

    font-size: 1.5rem;
    line-height: 40px;
  }

  .left{

    font-size: 3rem;

  }
  .right{

    font-size: 3rem;

  }


  h2{
    font-size:18px; 
    line-height: 30px;
   } 


   h1{
    font-size:30px;
    
   
   }

h5{
    font-size:16px; 
    line-height: 40px;
   }
   
   
   h3{
      font-size:16px;
      line-height: 40px;
      }
   h4{
       font-size:20px;
       line-height: 40px;
      
      }
}
@media screen and (min-width: 320px) and (max-width: 320px){
    h1{
        font-size:30px;
        
       
       }
    
    h5{
        font-size:16px; 
        line-height: 40px;
       }
  h2{
        font-size:18px; 
        line-height: 30px;
       }  
       
       h3{
          font-size:16px;
          line-height: 40px;
          }
       h4{
           font-size:20px;
           line-height: 40px;
          
          }
          blockquote{

            font-size: 1.5rem;
            line-height: 40px;
          }

          .left{

            font-size: 3rem;

          }
          .right{

            font-size: 3rem;

          }
    
}
