
@import url('https://fonts.googleapis.com/css?family=Lobster&effect=shadow-multiple');
@import url('https://fonts.googleapis.com/css?family=Sarabun');

body 
{
  background: #ffffff;
  font-family: 'Sarabun', 'Arial', sans-serif;
  overflow-x: hidden;
  padding-top: 70px;

  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
main 
{
  flex: 1;
}

html
{
	scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  height: 100%;
}

a 
{
    color: #252525;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none !important;
}

a,
input, button,
.form-control 
{
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

a:hover, a:active, a:focus 
{
    color: #29ca8e;
    outline: none;
}

::-webkit-scrollbar
{
    width: 8px;
    height: 8px;
}

h1,h2,h3,h4,h5,h6 
{
    font-weight: bold;
    line-height: inherit;
}

h1 
{
    
    color: #252525;
    font-size: 3em;
    line-height: normal;
}

h2 
{
    color: #353535;
    font-size: 2em;
    padding-bottom: 10px;
}

h3 
{
    font-size: 1.5em;
    margin-bottom: 0;
}

h3,
h3 a 
{
	color: #454545;
}

p 
{
    color: #757575;
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
}

.section-title 
{
	padding-bottom: 40px;
}

.section-title h2 
{
	margin: 0;
}

.section-title small 
{
	display: block;
}

.overlay 
{
	background: rgba(20,20,20,0.5);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.entry-form 
{
	background: #F5F5F5;
	border-radius: 50px;
	text-align: center;
	width: 35em;
}


#form_block
{
    padding-left: 3em;
    padding-right: 3em;
}


.entry-form h2 
{
    /*color: #ffffff;*/
    margin-top: 0;
    padding-top: 2em;
}
  
.floating_logo_consent 
{
	float: left;
	height: 60px;
	width: 55px;
}

.entry-form .form-control, #label_imp_math 
{
    background: transparent;
    border-radius: 50px;
    box-shadow: none;
    margin: 10px 0;
}
  
#checkbox_form_div 
{
	text-align: left;	
}

section 
{
    position: relative;
    padding: 100px 0;
}

#team
{
    background: #f9f9f9;
    text-align: center;
}
  
/* Buttons */
.section-btn 
{
    background: transparent;
    border-radius: 50px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: inherit;
    font-weight: normal;
    padding: 15px 30px;
    transition: 0.5s;
}

.section-btn:hover 
{
    background: #ffffff;
    border-color: transparent;
}

/* Preloader */
.preloader 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 #ffffff;
}

.spinner 
{
    border: 1px solid transparent;
    border-radius: 3px;
    position: relative;
}

.spinner:before 
{
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 1px solid #575757;
    border-top-color: #ffffff;
    animation: spinner .9s linear infinite;
}

@-webkit-@keyframes spinner 
{
    to
{transform: rotate(360deg);}
}

@keyframes spinner 
{
    to
{transform: rotate(360deg);}
}


/* Slider */
#home
{
    padding: 0;
}

#home h1
{
    color: #ffffff;
    font-size: 40px;
}

#home h3
{
    color: #f9f9f9;
    font-size: 25px;
    font-weight: 300;
    margin: 0;
    padding: 5px 0 40px 0;
}

@media (min-width: 768px)
{
    .home-slider .col-md-6
	{
		padding-left: 0;
  	}
}

.home-slider .caption
{
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    background-color: rgba(20,20,20,0.2);
    height: 100%;
    color: #fff;
    cursor: e-resize;

}


.home-slider .item
{
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: cover;
    height: 650px;
}
  
.caption h3 a
{ 
	color: #FFF; 
}
.caption h3 a:hover
{ 
	color: #FF3; 
}

  /*
  .home-slider .item-first
{
    font-weight:bold;
}

  .home-slider .item-second
{
    font-weight:bold;
}

  .home-slider .item-third
{
    font-weight:bold;
}
  */

.home-slider .item-first
{
    background-image: url(../images/ia.jpg);
    background-position: center;
    font-weight:bold;
}

.home-slider .item-second
{
    background-image: url(../images/ia2.jpg);
    background-position: center;
    font-weight:bold;
}






.centered
{
	text-align: center; 
}

.lobster
{
    font-family: 'Lobster', 'Verdana', cursive;
    /*size: 50px;	*/
}

.fas_span
{
  font-size: 0.5em;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  background: #6CC848;
  padding: 10px;
  color: white;
}

.separator_odd
{
	background: linear-gradient(90deg, #0700b8 0%, #00ff88 100%);
	height: 5px;
}
.separator_even
{
	background: linear-gradient(90deg, #00ff88 0%, #0700b8 100%);
	height: 5px;
}

#feature p
{
    font-size: 20px;
}
.feature-thumb 
{
    border: 1px solid #29ca8e; 
    border-radius: 50px;
    padding: 3em;
    height: 320px;
}

.feature-thumb span, .fas_span
{
    background: #29ca8e;
    border-radius: 50px;
    color: #ffffff;
    font-size: 25px;
    font-weight: bold;
    display: inline-block;
    width: 60px;
    text-align: center;
    margin-bottom: 5px;
}

.feature-thumb h3 
{
    margin: 10px 0;
    font-size: 26px;
}


#about
{
	margin-top: 10em;
	background: #F5F5F5;
	padding-top: 1em;
	padding-bottom: 2em;
}
.outterAboutDiv
{
	border-top: 2px solid #29ca8e;
}


#contentRowAbout
{
	padding: 2em 2em 2em 2em;
}


.decorator
{
	color: #ffffff;
	padding-top: 1em;
	margin-bottom: 1em;
}

#consent_and_form figure 
{
    display: inline-block;
    vertical-align: top;
    margin-left: 15px;
}

#consent_and_form figure span 
{
    float: left;
    margin-left: -15px;
    padding: 15px 20px;
    position: relative;
    top: 20px;
}

#consent_and_form figure span i 
{
    background: #29ca8e;
    border-radius: 50px;
    color: #ffffff;
    font-size: 25px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

#div_form
{
    display: inline-block;
    overflow: scroll;
}
.about_div
{
	padding-right: 6em;
	padding-left: 6em;	
	text-align: left;
}



.team-info 
{
    padding: 20px 30px;
}

.team-image img 
{
    width: 100%;
}

.team-info h3 
{
    margin: 0;
}



.social_icon_background
{
    background-color: #252020;
}



  .tst-image,
  .tst-author {
    display: block;
    vertical-align: middle;
    margin-bottom: 20px;
    text-align: center;
  }

  .tst-image img {
    border-radius: 50px;
    width: 60px !important;
    height: 60px;
    margin-top: 1em;
  }

  .tst-author h4 {
    margin: 0;
  }

  .tst-author span {
    color: #808080;
    font-size: 14px;
  }

  /*---------------------------------------
     ADVICES PAGE              
  -----------------------------------------*/


.section-title
{
    text-align: center;
}

.div_explaination 
{
    text-align: left;
    margin: 0 auto;
    font-size: 20px;
    width: 800px; 
}

.p_explaination
{
    font-size: 20px;
    text-align: center;
}

.startTest
{
    background: #3f51b5;
    border-radius: 50px;
    border: 0;
    color: #ffffff;
    width: 150px;
    height: 80px;
    margin: 30px auto;
    margin-bottom: 10px;
    text-align: center;
}

.startTest:hover 
{
    background: #29ca8e;
    color: #ffffff;
}

  .social-icon {
    position: relative;
    padding: 0;
    margin: 0;
  }

  .social-icon li {
    display: inline-block;
    list-style: none;
    margin-bottom: 5px;
  }

  .social-icon li a {
    border-radius: 100px;
    color: #29ca8e;
    font-size: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease-in-out;
    position: relative;
    margin: 5px 5px 5px 0;
  }

  .social-icon li a:hover {
    background: #29ca8e;
    color: #ffffff;
  }


.banner_exps
{
	margin-top: 60px;
	position: relative;
	text-align: center;
}
.centered_on_img 
{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	font-size: 2.5em;
}
.img_banner_exps
{
	overflow: hidden;
	opacity: 0.5;
	filter: alpha(opacity=50); /* For IE8 and earlier */
}


html
{
	-webkit-font-smoothing: antialiased;
}

a 
{
	color: #252525;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	text-decoration: none !important;
}

a, input, button, .form-control 
{
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

a:hover, a:active, a:focus 
{
	color: #29ca8e;
	outline: none;
}

::-webkit-scrollbar
{
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-thumb 
{
	cursor: pointer;
	background: linear-gradient(#0700b8 0%, #00ff88 100%);
}

.section-title 
{
	padding-bottom: 40px;
}

.section-title h2 
{
	margin: 0;
}

.section-title small 
{
	display: block;
}

.entry-form 
{
	background: #F5F5F5;
	border-radius: 50px;
	text-align: center;
	width: 35em;
}

.entry-form h2 
{
	/*color: #ffffff;*/
	margin-top: 0;
	padding-top: 2em;
}

.entry-form .form-control, #label_imp_math 
{
	background: transparent;
	box-shadow: none;
	margin: 10px 0;
}

.oblige
{
  color: red;
}

#checkbox_form_div 
{
	text-align: left;
}

.entry-form .submit-btn 
{
	background: #3f51b5;
	border-radius: 50px;
	border: 0;
	color: #ffffff;
	width: 50%;
	height: 50px;
	margin: 30px auto;
	margin-bottom: 10px;
}

.entry-form .submit-btn:hover 
{
	background: #29ca8e;
	color: #ffffff;
}


#consent_and_form
{
	margin-top: 7em;
}

.aboutTitle
{
  padding-top: 1em;
  display: inline-block;
  margin-left: 0.2em;
}

.vignette
{
  height: 300px;
  box-shadow: 0 0 20px #E3E3E3;
  border-radius: 10px;
}

.outterAboutDiv span
{
  margin-left: 6em;
}

#form_block label
{
  font-weight: bold;
}
#form_block .form-check label
{
  font-weight: normal;
}

textarea
{
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #F5F5F5;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  height: 66em;
}

#inner_div
{
  padding-right : 20%;
  padding-left : 20%;
}

    /*$('.startTest').css({
      "display" : "inline",
      "height" : "70px",
      "margin-left" : "18%"
    });*/

/* RESPONSIVE DESIGN */
@media only screen and (min-width: 1px) and (max-width: 397px) 
{
  #inner_div 
  {
    padding-right: 0em;
    padding-left: 0em;
    font-size: 0.7em;
  }
  h1
  {
    font-size: 2em;
  }

  h2, h3, .feature-thumb h3
  {
    font-size: 1.5em;
  }

  section h2
  {
    font-size: 2em;
  }

  #consent_and_form h2
  {
    font-size: 1.5em;
  }

  h4
  {
    font-size: 1em;
  }

  .startTest
  {
    width: 170px;
    font-size: 0.8em;
  }

  #row_task .startTest
  {
    width: 100px;
    font-size: 1em;
  }

  #row_advices h1, #row_task h1,
  #row_task h2
  {
    font-size: 1.5em;
  }

  .aboutTitle
  {
    font-size: 1.2em;
  }
  
  #feature p,
  #homeTitle1 h3,
  #homeTitle1 a,
  #homeTitle2 h3,
  #homeTitle2 a,
  #homeTitle3 h3,
  #homeTitle3 a
  {
    font-size: 1em;
  }

  .feature-thumb
  {
    height: 250px;
    margin-bottom: 1em;
  }

  .feature-thumb h3
  {
    display: inline;
  }

  .feature-thumb span, .fas_span
  {
    font-size: 15px;
    width: 45px;
  }
  #featureThumb1
  {
    padding-right: 2em;
    padding-left: 2em;
  }
  #featureThumb2
  {
    padding-right: 2em;
    padding-left: 2em;
    padding-top: 4em;
  }
  #featureThumb3
  {
    padding-top: 3.5em;
    padding-right: 2em;
    padding-left: 2em;
  }

  #consent_and_form
  {
    margin-top: 0em;
  }

  section
  {
    padding: 70px 0;
  }

  #col_form
  {
    padding-left: 0px;
    padding-right: 0px;
  }
  #colTerms
  {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 1em;
  }

  .entry-form
  {
    width: 100%;
  }
  #form_block 
  {
    padding-left: 1em;
    padding-right: 1em;
  }

  .about_div
  {
    padding-right: 0em;
    padding-left: 0em;
    font-size: 0.9em;
  }

  .outterAboutDiv
  {
    margin-bottom: 1.7em;
  }
  #contentRowAbout 
  {
    padding: 0em 2em 0em 2em;
  }
  .team-info
  {
    font-size: 1em;
  }
  .team-info p
  {
    font-size: 0.8em;
  }
  .vignette
  {
    margin-bottom: 1em;
  }
  .outterAboutDiv span
  {
    margin-left: 0em;
  }
}
@media only screen and (min-width: 398px) and (max-width: 767px) 
{
  #inner_div 
  {
    padding-right: 0em;
    padding-left: 0em;
    font-size: 0.7em;
  }
  h1
  {
    font-size: 2em;
  }

  h2, h3, .feature-thumb h3
  {
    font-size: 1.5em;
  }

  section h2
  {
    font-size: 2em;
  }

  #consent_and_form h2
  {
    font-size: 1.5em;
  }

  h4
  {
    font-size: 1em;
  }
  .startTest
  {
    width: 170px;
    font-size: 0.8em;
  }

  #row_task .startTest
  {
    width: 100px;
    font-size: 1em;
  }
  #row_advices h1, #row_task h1,
  #row_task h2
  {
    font-size: 1.5em;
  }
  
  #feature p,
  #homeTitle1 h3,
  #homeTitle1 a,
  #homeTitle2 h3,
  #homeTitle2 a,
  #homeTitle3 h3,
  #homeTitle3 a
  {
    font-size: 1em;
  }

  .feature-thumb
  {
    height: 250px;
    margin-bottom: 1em;
  }

  .feature-thumb h3
  {
    display: inline;
  }

  .feature-thumb span, .fas_span
  {
    font-size: 15px;
    width: 45px;
  }
  #featureThumb1
  {
    padding-top: 4.8em;
  }
  #featureThumb2
  {
    padding-top: 4.8em;
  }
  #featureThumb3
  {
    padding-top: 3.5em;
  }

  #consent_and_form
  {
    margin-top: 0em;
  }

  section
  {
    padding: 70px 0;
  }

  #col_form
  {
    padding-left: 0px;
    padding-right: 0px;
  }
  #colTerms
  {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 1em;
  }

  .entry-form
  {
    width: 100%;
  }
  #form_block 
  {
    padding-left: 1em;
    padding-right: 1em;
  }

  .about_div
  {
    padding-right: 0em;
    padding-left: 0em;
    font-size: 0.9em;
  }

  .outterAboutDiv
  {
    margin-bottom: 1.7em;
  }
  #contentRowAbout 
  {
    padding: 0em 2em 0em 2em;
  }
  .team-info
  {
    font-size: 1em;
  }
  .team-info p
  {
    font-size: 0.8em;
  }
  .vignette
  {
    margin-bottom: 1em;
  }
  .outterAboutDiv span
  {
    margin-left: 0em;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) 
{
  #inner_div
  {
    padding-right : 5%;
    padding-left : 5%;
    font-size: 0.8em;
  }
  h1
  {
    font-size: 2em;
  }

  h2, h3
  {
    font-size: 1.5em;
  }
  .feature-thumb h3
  {
    font-size: 1em;
  }
  section h2
  {
    font-size: 2em;
  }

  #consent_and_form h2
  {
    font-size: 1.5em;
  }

  h4
  {
    font-size: 1em;
  }
  .startTest
  {
    width: 170px;
    font-size: 0.9em;
  }
  #row_advices h1
  {
    font-size: 1.5em;
  }
  
  #feature p
  {
    font-size: 0.8em;
  }

  .feature-thumb
  {
    height: 250px;
    margin-bottom: 1em;
  }

  .feature-thumb h3
  {
    display: block;
  }

  .feature-thumb span, .fas_span
  {
    font-size: 15px;
    width: 45px;
  }
  #consent_and_form
  {
    margin-top: 0em;
  }

  section
  {
    padding: 70px 0;
  }

  #col_form
  {
    padding-left: 0px;
    padding-right: 0px;
  }
  #colTerms
  {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 1em;
  }

  .entry-form
  {
    width: 100%;
  }
  #form_block 
  {
    padding-left: 5em;
    padding-right: 5em;
  }

  .about_div
  {
    padding-right: 0em;
    padding-left: 0em;
    font-size: 0.9em;
  }

  .outterAboutDiv
  {
    margin-bottom: 1.7em;
  }
  #contentRowAbout 
  {
    padding: 0em 2em 0em 2em;
  }
  .team-info
  {
    font-size: 1em;
  }
  .team-info p
  {
    font-size: 0.8em;
  }
  .vignette
  {
    margin-bottom: 1em;
  }
  .outterAboutDiv span
  {
    margin-left: 0em;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) 
{
  #inner_div
  {
    padding-right : 10%;
    padding-left : 10%;
  }

  h1
  {
    font-size: 2em;
  }

  h2, h3
  {
    font-size: 1.5em;
  }
  .feature-thumb h3
  {
    font-size: 1.2em;
  }
  section h2
  {
    font-size: 2em;
  }

  #consent_and_form h2
  {
    font-size: 1.5em;
  }

  h4
  {
    font-size: 1em;
  }
  
  #feature p
  {
    font-size: 1em;
  }

  .feature-thumb
  {
    height: 250px;
    margin-bottom: 1em;
  }

  .feature-thumb h3
  {
    display: block;
  }

  .feature-thumb span, .fas_span
  {
    font-size: 15px;
    width: 45px;
  }
  #consent_and_form
  {
    margin-top: 0em;
  }

  section
  {
    padding: 70px 0;
  }

  #col_form
  {
    padding-left: 0px;
    padding-right: 0px;
  }
  #colTerms
  {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 1em;
  }

  .entry-form
  {
    width: 100%;
  }
  #form_block 
  {
    padding-left: 1em;
    padding-right: 1em;
  }

  .about_div
  {
    padding-right: 0em;
    padding-left: 0em;
    font-size: 0.9em;
  }

  .outterAboutDiv
  {
    margin-bottom: 1.7em;
  }
  #contentRowAbout 
  {
    padding: 0em 2em 0em 2em;
  }
  .team-info
  {
    font-size: 1em;
  }
  .team-info p
  {
    font-size: 0.8em;
  }
  .vignette
  {
    margin-bottom: 1em;
  }
  .outterAboutDiv span
  {
    margin-left: 0em;
  }
}