/**
* Template Name: Widz-SNRv1.0
* Template URL: https://bootstrapmade.com/mentor-free-education-bootstrap-theme/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
* https://fontawesome.com/v4.7/icons/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/*@import url("../vendor/bootstrap/bootstrap.min.css");
@import url("../fonts/quark.css");
@import url("../css/font-awesome.min.css");
@import url("../fonts/thsarabunnew/stylesheet.css");
@import url("../css/animate.css");
@import url("../css/hover-min.css");*/

body {
  font-family: "Prompt", sans-serif;
  color: #444444;
}

a {
  color: #4591e9;
}

a:link ,a:visited, a link,a:active{
	color: inherit;
	text-decoration: none;
}
a:hover {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}


h1, h2, h3, h4, h5, h6 {
  font-family: "Prompt", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background: #4591e9;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background: #81bbfe;
  color: #fff;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #4591e9;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 0 0 0 0;
  box-shadow: 0px 0 18px rgba(55, 66, 59, 0.08);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu{
	background: #6A311E;
}
.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul {
  display: flex;
  justify-content: center;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
  padding: 10px 0 10px 24px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: #fff;
  transition: 0.3s;
  font-size: 15px;
  font-family: "Prompt", sans-serif;
  font-weight: 500;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: #FEFE00;
}

.nav-menu .drop-down ul {
  display: block;
  position: absolute;
  left: 24px;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #784534;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
  
}

.nav-menu .drop-down:hover > ul {
  opacity: 1;
  top: calc(100% + 1px);
  visibility: visible;
}

.nav-menu .drop-down li {
  min-width: 180px;
  position: relative;
}

.nav-menu .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #fff;
}

.nav-menu .drop-down ul a:hover, .nav-menu .drop-down ul .active > a, .nav-menu .drop-down ul li:hover > a {
  color: #FEFE00;
}

.nav-menu .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 5px;
}

.nav-menu .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.nav-menu .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.nav-menu .drop-down .drop-down > a {
  padding-right: 35px;
}

.nav-menu .drop-down .drop-down > a:after {
  content: "\eaa0";
  font-family: IcoFont;
  position: absolute;
  right: 15px;
}

@media (max-width: 1366px) {
  .nav-menu .drop-down .drop-down ul {
    left: -90%;
  }
  .nav-menu .drop-down .drop-down:hover > ul {
    left: -100%;
  }
  .nav-menu .drop-down .drop-down > a:after {
    content: "\ea9d";
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  top: 17px;
  right: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #37423b;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: #fff;
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #37423b;
  padding: 10px 20px;
  font-weight: 500;
  outline: none;
}

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
  color: #4591e9;
  text-decoration: none;
}

.mobile-nav .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\eaa1";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(32, 38, 34, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
 /*padding: 60px 0;*/
 padding-top: 60px ;
 padding-bottom: 10px ;
  overflow: hidden;
}


/*
.contact {
  padding-top: 5px;
}

.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  color: #4591e9;
  float: left;
  width: 44px;
  height: 44px;
  background: #ecf9f0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #37423b;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #657a6d;
}

.contact .info .email, .contact .info .phone {
  margin-top: 40px;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: #4591e9;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: #4591e9;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: #4591e9;
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #81bbfe;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
*/
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #fff;
  font-size: 14px;
  background: #420F02;
}

#footer .footer-top {
  padding: 30px 0 30px 0;
  background: #6A311E;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h4 {
  font-size: 22px;
  margin: 0 0 30px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  color:#fff;
}
#footer .footer-map{
	overflow: hidden; height: 300px;
	background-position: center -120px; 
	background-repeat: no-repeat; 
	background-size: 800px;
	border: 10px solid #fff;
	border-radius: 18px;
}
#footer .socail{
	border-bottom: 1px solid #865949;
	padding: 10px 0px;
}

/*Tab news*/
:root{
	--color-news1: #EE9E41;
	--color-news2: #179FC3;
	--color-news3: #69301D;

	--color-news4: #863475;
	--color-news5: #F17134;
	--color-news6: #789344;
}
#news1 a{
	color: var(--color-news1);
}

#news2 a{
	color: var(--color-news2);
}
#news3 a{
	color: var(--color-news3);
}

.tabs-nav ul {
  margin: 0;
  padding: 0;
}

.tabs-nav li {
  display: inline-block;
  /*background: rgba(0, 0, 0, 0.78);*/
  margin-right: 5px;
}
.tabs-nav li span{
	font-size:1.25rem;
	font-weight: normal;
}
.tabs-nav a {
  display: block;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 1.2rem;
  
}
/* Active tab */

.tabs-nav #news1.active {
  background: var(--color-news1);
}
.tabs-nav #news2.active {
  background: var(--color-news2);
}
.tabs-nav #news3.active {
  background: var(--color-news3);
}

.tabs-nav li#news1.active{
	border-bottom: 1px solid var(--color-news1);
}
.tabs-nav li#news2.active{
	border-bottom: 1px solid var(--color-news2);
}
.tabs-nav li#news3.active{
	border-bottom: 1px solid var(--color-news3);
}

.tabs-nav li.active a {
  color: inherit;
}
/* Tab content */

.tabs-content {
  padding: 0px 10px 10px 10px;
  background: #FFF;
  margin-top: -1px;
  overflow: hidden;
}
.tabs-content IMG {
  margin-right: 10px;
}
.tabs-content > [id='tab1'] {
	border-top: 5px solid var(--color-news1);
}
.tabs-content > [id='tab2'] {
	border-top: 5px solid var(--color-news2);
}
.tabs-content > [id='tab3'] {
	border-top: 5px solid var(--color-news3);
}
/* Hide all but first content div */
.tabs-nav:nth-child(1) { margin-left: calc(50% - 250px); }
.tabs-content div.tabs:not(:first-child) {
	display: none;
}
.tabs-nav #news1.active a,.tabs-nav #news2.active a,.tabs-nav #news3.active a{
	color: #FFF;
}
/*Tab news*/
/*content box*/
.cbox-container{
	padding: 20px;
}
.cbox-xl{
	min-height: 200px;
	margin-bottom: 20px;
}
.big-img{
	border-radius: 25px; 
	max-height: 500px;
	overflow: hidden;
}
.cbox-xl .con{
	border-radius: 25px;
	overflow: hidden;
	background: #EEEEEE;
	height:100%;
	padding:20px;
}
.cbox-xl .date{
	float:left;
	height:130px;
	width:15%;
	margin-right:20px;
	background: #EE9E41; 
	text-align: center;
	color: #fff;
}
.date dt{
	font-size:2.5rem;
}
.cbox-xl .detail{
	float:left;
	height:100%;
	width: calc(85% - 20px);
}
.cbox{
	background: #fff;
	min-height: 200px;
	margin-bottom: 20px;
	border:1px solid #DADADA;
}
.cbox .cbox-img{
	height: 200px;
	overflow: hidden;
}
.cbox .cbox-img img, .cbox-xl img{
	width: 100%;
}
.cbox .cbox-con{
	padding:10px;
}

.po{
	width: 100%; 
	padding:40px 0px;  
	background-image: url('../../assets/images/bg/bg-snr.png');
	background-repeat: no-repeat;
	background-position: 85% 80px;
	background-color: #F0F0F2;
}
.po-shadow{
	box-shadow: 15px 10px 0px 0px rgba(76,46,41,1);
	-webkit-box-shadow: 15px 10px 0px 0px rgba(76,46,41,1);
	-moz-box-shadow: 15px 10px 0px 0px rgba(76,46,41,1);
}
.po-tri-top:before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    border-top: 60px solid #EE9E41;
    border-left: 60px solid transparent;
    width: 0;
	z-index: 100;
}
.po-tri-bottom:before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    border-top: 60px solid transparent;
    border-left: 60px solid #6A311E;
    width: 0;
}

.ita_bar{	
	position:relative;
	background-color:#BBBBBB;
	height:80px !important;
	width:100% !important;
	text-align: center;
	padding-top:20px;
	margin-bottom:40px;
}
.ita_bar:after,
.ita_bar:after {
	z-index: 100;
	position: absolute;
    top: 98.1%;
    left: 90%;
    margin-left: -25%;
    content: '';
    width: 0;
    height: 0;
    border-top: solid 30px #BBBBBB;
    border-left: solid 30px transparent;
    border-right: solid 30px transparent;
	background:#F0F0F2;
}
.ita_bar img{
	height:40px;
	vertical-align:middle;
}
.ita_bar span{
	font-size: 1.6rem;
	font-weight: 400;
}

.linksbox{
	margin-top: 40px;
	padding:20px 0px;
	color: #fff;
}
.linksbox h4{
	padding: 20px 0px 20px 40px;
}
.linksnews{
	width: 100%;
	height: 60px;
	line-height: 40px;
	padding:10px 0px 10px 20px;
	overflow: hidden;
	background-position: center left 40px;
	background-repeat: no-repeat;
	background-size: 50px;
	border-bottom: 1px solid #eaeaea;
	font-size: 0.95vw;
}

.linksnews.icon1 span
,.linksnews.icon2 span
,.linksnews.icon3 span
,.linksnews.icon4 span
,.linksnews.icon5 span
,.linksnews.icon6 span{
	margin-left: 100px;
}
.icon1{background-image: url('../../assets/images/icon/icon-1.png');}
.icon2{background-image: url('../../assets/images/icon/icon-2.png');}
.icon3{background-image: url('../../assets/images/icon/icon-3.png');}
.icon4{background-image: url('../../assets/images/icon/icon-4.png');}
.icon5{background-image: url('../../assets/images/icon/icon-5.png');}
.icon6{background-image: url('../../assets/images/icon/icon-6.png');}
.icon7:before {
    font-family: FontAwesome;
    content: "\f178";
	margin: 0px 20px;
}
.link-more a:after {
    font-family: FontAwesome;
    content: " \f178";
}

a.arrow:after{
	font-family: FontAwesome;
    content: " \f178";
}

#tab1 .btn{background: var(--color-news1);}
#tab1 .link-more a{color: var(--color-news1);}
#tab1 .cbox-xl .date{background:  var(--color-news1);}

#tab2 .btn{background: var(--color-news2);}
#tab2 .link-more a{color: var(--color-news2);}
#tab2 .cbox-xl .date{background:  var(--color-news2);}

#tab3 .btn{background: var(--color-news3);}
#tab3 .link-more a{color: var(--color-news3);}
#tab3 .cbox-xl .date{background:  var(--color-news3);}

.news-title{
	border-left: 10px solid #3A5896;
	padding:5px 0 5px 20px; 
	margin-bottom: 20px;
	color: #3A5896;
}
#news1 .news-title{border-color: var(--color-news1);color: var(--color-news1);}
#news2 .news-title{border-color: var(--color-news2);color: var(--color-news2);}
#news3 .news-title{border-color: var(--color-news3);color: var(--color-news3);}

#news4 .news-title{border-color: var(--color-news4);color: var(--color-news4);}
#news4 .btn{background: var(--color-news4);}
#news4 .link-more a{color: var(--color-news4);}
#news5 .news-title{border-color: var(--color-news5);color: var(--color-news5);}
#news5 .btn{background: var(--color-news5);}
#news5 .link-more a{color: var(--color-news5);}
#news6 .news-title{border-color: var(--color-news6);color: var(--color-news6);}
#news6 .btn{background: var(--color-news6);}
#news6 .link-more a{color: var(--color-news6);}

#newsfb .news-title{
	border-color: #3A5896;
	color: #3A5896;
}

#newscat{
	font-size:1.25rem; 
	width: 100%;
	text-align: center;
	border-top:1px solid #000;
	border-bottom:1px solid #000; 
	margin-bottom: 20px; 
	padding: 8px 0px;
}
#newscat a{
	padding:0px 8px;
	border-radius: 4px;
}
#newscat a:hover, #newscat a.active{
	background-color: #BBBBBB;	
}

.alert{
	
	height: 50px;
	line-height:40px;
	background-image: url('../../assets/images/icon/icon-alert.png');
	background-repeat: no-repeat;
	background-size: 24px 24px;
	background-position: 5px 1px;
	background-color: #D22D00;
	border-radius: 4px;
	padding: 2px 8px 2px 40px;
	z-index: 90;
	text-align: center;
	box-shadow: 2px 2px 1px 1px rgb(116,116,116,0.7);
}
/*content box*/

/*custom slidejs*/
.slidesjs-log{
	float: left;
	width:100px;
}
.slidesjs-pagination li{
  display: block;
  width: 13px;
  height: 0;
  float: left;
  overflow: hidden;
}
.slidesjs-pagination li a.active,
.slidesjs-pagination li a:hover.active {
  background-position: 0 -13px
}

.slidesjs-pagination li a:hover {
  background-position: 0 -26px
}

#slides a:link, #slides a:visited {
  color: #333;
  text-decoration: none;
}

#slides a:hover, #slides a:active {
  color: #9e2020;
  
}
.slidesjs-play ,.slidesjs-stop{
	display: none;
}
.slidesjs-previous{
	left: 20px;
}
.slidesjs-next{
	right: 20px;
}
.slides_custom1{
	position: absolute;
	top: calc(55% - 50px);
	z-index: 90;
	background: #eaeaea;
	width: 40px;
	height: 40px;
	line-height: 40px;
	border-radius: 50%;
	text-align: center;
	opacity: 0.8;
	margin: 5px 5px;
}
/*custom slidejs*/

/*my class*/
.container{
	max-width: 1366px;
	padding-bottom: 40px;
}
.center{
	margin: 0 auto;
	text-align: center;
}
.fright{
	float: right;
}

.sch_title{
	font-size: 5vw;
	line-height: 200px;
	text-shadow: 2px 2px #000;
	color: #ac3939;
	text-align:center;
}
.con_title{
	background-image: url('../../assets/images/bg/bg_title.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-color: #D22D00;
	filter: blur(2px);
	-webkit-filter: blur(2px);
	height: 149px;
	z-index: -99;
}

#popdown-opacity {
    background:  none;
	 
 	padding-top:80px !important;
	padding-left:10px !important;
	padding-right:10px !important;
}
#popdown-dialog{
 background:  none;
  border-radius: 25px;
} 

#usr_label{
	min-width: 100px;
	height: 40px;
	line-height:40px;
	position: fixed;
	background: #ff7733;
	bottom: 14px;
	right: 60px;
	border-radius: 4px;
	padding: 2px 8px 2px 8px;
	z-index: 90;
	text-align: center;
}
	

/*popup*/
button {
   background: #000;
   color: #fff;
   text-align: center;
   font-weight: bold;
   padding: 10px 30px;
   border-radius: 3px;
}

#overlay {
   position: fixed;
   height: 100%; 
   width: 100%;
   top: 0;
   right: 0;  
   bottom: 0;
   left: 0;
   background: rgba(0,0,0,0.8);
   display: none;
   z-index:100;
}

#popup {
   max-width: 700px;
   width: 80%;
   max-height: 300px;
   height: 80%; 
   padding: 20px;
   position: relative;
   margin: 20px auto;
   text-align: center;
}

#close {
   position: absolute;
   width:  30px;
   top: 10px;
   right: 10px;
   cursor: pointer;
   color: #000;
   background:#fff;
   padding:4px;
   border-radius: 50%;
}
#wellcom_in{
	width: 200px;
	padding: 4px;
	margin: 0 auto;
	cursor: pointer;
	background:#fff;
	border-radius: 14px;
	margin-top: 8px;
	border: solid #4591e9 2px;
}
/*my class*/

.icon_vk{
	float: left;
	margin: 0 auto;
	margin-bottom: 10px;
	margin-top: 10px;
	background: #eaeaea;
	width: 240px;
	height: 80px;
	line-height: 70px;
	padding:10px 0px 10px 20px;
	text-align:center;
	overflow: hidden;
	background-repeat: no-repeat;
	background-size:cover;
	background-position: center center;

	box-shadow: 2px 2px 1px 1px rgb(116,116,116,0.7);
	border-radius:4px;
}


/*--------------------------------------------------------------
# Disable responsive
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

@media screen and (max-width: 990px) {
  .linksnews{
  	font-size: 1rem;
  }
}
