@font-face {
    font-family: 'tintin';
    src: url('tintin-webfont.eot');
    src: url('tintin-webfont.eot?#iefix') format('embedded-opentype'),
         url('tintin-webfont.woff2') format('woff2'),
         url('tintin-webfont.woff') format('woff'),
         url('tintin-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'happymedium';
    src: url('happy-webfont.eot');
    src: url('happy-webfont.eot?#iefix') format('embedded-opentype'),
         url('happy-webfont.woff2') format('woff2'),
         url('happy-webfont.woff') format('woff'),
         url('happy-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

.text-white {
	font-family: 'Noto Sans Thai Looped' !important;
}

body {  
  background-position: center;
  background-color: #080808 !important;
  font-family: 'tintin' !important;
}

nav {
	text-align: center;
}

.table_center {
  margin-left: auto;
  margin-right: auto;
}

.animate_logo {
  display: inline-block;
  margin: 0rem;

  animation: pulse; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 1.5s; /* don't forget to set a duration! */
  animation-iteration-count: infinite;
}

.background_white {
	background-color: #ffffff;
}

.information_box {
	font-family: 'lulumedium' !important;
	background-color: #ffffff;
	padding:10px;
}

.news_box h6{
	font-family: 'lulumedium' !important;
	background-color: #ffffff;
	text-align:left;
	margin-left:10px;
	font-size: 16px;
}

.news_box {
	margin-left:20px;
}

.information_box h2,h3,h4,h5,h6 {
	font-family: 'lulumedium' !important;
	text-align:center;
}

h2,h3,h4,h5,h6 {
	font-family: 'lulumedium' !important;
	text-align:center;
}

.text-header {
	font-family: 'lulumedium' !important;
	text-align:center;
}

.register-form {
	width:500px;
	justify-content: center;
	margin: 0 auto;
}
.donate-form {
	width:600px;
	justify-content: center;
	margin: 0 auto;
}

.card {
	font-family: 'lulumedium' !important;
	width:700px;
	justify-content: center;
	margin: 50 auto;
}

h3 {
	font-family: 'lulumedium' !important;
}

input {
	margin-bottom:10px;
}

h4,h5,h6 {
	padding-top:5px;
}

.animate_menu:hover {
  display: inline-block;
  margin: 0rem;

  animation: heartBeat; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 3s; /* don't forget to set a duration! */
  animation-iteration-count: 1;
}

hr.dashed {
    border-top: 2px dashed #999;
}

hr.dotted {
    border-top: 2px dotted #999;
}

hr.solid {
    border-top: 2px solid #999;
}


hr.hr-text {
  position: relative;
    border: none;
    height: 1px;
    background: #999;
}

hr.hr-text::before {
    content: attr(data-content);
    display: inline-block;
    background: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    color: #999;
    border-radius: 30rem;
    padding: 0.2rem 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*
Fade content bs-carousel with hero headers
Code snippet by maridlcrmn (Follow me on Twitter @maridlcrmn) for Bootsnipp.com
Image credits: unsplash.com
*/

/********************************/
/*       Fade Bs-carousel       */
/********************************/
.fade-carousel {
    position: relative;
    height: 380px;
}
.fade-carousel .carousel-inner .item {
    height: 380px;
}
.fade-carousel .carousel-indicators > li {
    margin: 0 2px;
    background-color: #f39c12;
    border-color: #f39c12;
    opacity: .7;
}
.fade-carousel .carousel-indicators > li.active {
  width: 10px;
  height: 10px;
  opacity: 1;
}

/********************************/
/*          Hero Headers        */
/********************************/
.hero {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0,0,0,.75);
      -webkit-transform: translate3d(-50%,-50%,0);
         -moz-transform: translate3d(-50%,-50%,0);
          -ms-transform: translate3d(-50%,-50%,0);
           -o-transform: translate3d(-50%,-50%,0);
              transform: translate3d(-50%,-50%,0);
}
.hero h1 {
    font-size: 6em;    
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.fade-carousel .carousel-inner .item .hero {
    opacity: 0;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s; 
        -ms-transition: 2s all ease-in-out .1s; 
         -o-transition: 2s all ease-in-out .1s; 
            transition: 2s all ease-in-out .1s; 
}
.fade-carousel .carousel-inner .item.active .hero {
    opacity: 1;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s; 
        -ms-transition: 2s all ease-in-out .1s; 
         -o-transition: 2s all ease-in-out .1s; 
            transition: 2s all ease-in-out .1s;    
}

/********************************/
/*            Overlay           */
/********************************/


/********************************/
/*          Custom Buttons      */
/********************************/
.btn.btn-lg {padding: 10px 40px;}
.btn.btn-hero,
.btn.btn-hero:hover,
.btn.btn-hero:focus {
    color: #f5f5f5;
    background-color: #1abc9c;
    border-color: #1abc9c;
    outline: none;
    margin: 20px auto;
}

/********************************/
/*       Slides backgrounds     */
/********************************/
.fade-carousel .slides .slide-1, 
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3,
.fade-carousel .slides .slide-4 {
  width: 826px;
  height: 371px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.fade-carousel .slides .slide-1 {
  background-image: url("../images/slide01.png"); 
}
.fade-carousel .slides .slide-2 {
  background-image: url("../images/slide02.png"); 
}
.fade-carousel .slides .slide-3 {
  background-image: url("../images/slide03.png"); 
}
.fade-carousel .slides .slide-4 {
  background-image: url("../images/slide04.png"); 
}

/********************************/
/*          Media Queries       */
/********************************/
@media screen and (min-width: 520px){
    .hero { width: 520px; }    
}
@media screen and (max-width: 520px){
    .hero h1 { font-size: 4em; }    
}