@font-face {
	font-family: "Font Awesome 5 Pro";
	font-style: normal;
	font-weight: 300;
	font-display: auto;
	src: url(../fonts/fa-light-300.eot);
	src: url(../fonts/fa-light-300.eot?#iefix) format("embedded-opentype"), url(../fonts/fa-light-300.woff2) format("woff2"), url(../fonts/fa-light-300.woff) format("woff"), url(../fonts/fa-light-300.ttf) format("truetype"), url(../fonts/fa-light-300.svg#fontawesome) format("svg")
}

html, html * {
	-webkit-text-size-adjust: none;
	touch-action: pan-x pan-y;
}

img, a, .std-profile a, div.portfolio-grids * {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	touch-action: pan-y;
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	font-size: 0;
}

#themeoverlay {
  background: #000;
  position: fixed;
  opacity: 0;
  display: none;
  width: 100%;
  height: 100vh;
	z-index: 9999;
}

.copyright {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	touch-action: pan-y;
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
}

#Choco_container_description {
	display: none !important;
}

div.teachers img, #revolutionariespic {
	-webkit-touch-callout: none !important;
	font-size: 0;
	touch-action: pan-y;
	margin-bottom: 3rem;
}

.fal {
	font-weight: 300;
	font-family: "Font Awesome 5 Pro";
}

a, a:visited, a:focus, a:active, a:hover {
	outline: 0 none !important;
}

.appform button {
	transition: all 0.2s ease-in !important;
}

#app {
	display: none;
	position: absolute;
	bottom: 1.5em;
	right: 1.5em;
	width: 60px;
	height: 60px;
	background: url(../images/3rd.png);
	background-size: contain;
	background-repeat: no-repeat;
	margin: 0 auto;
	transition: all 0.5s;
}

#app:hover {
	filter: brightness(150%);
	opacity: 0.8;
}

#app {
	text-decoration: none;
}

#appicon p {
	padding-top: 0.6em;
	font-size: 1.5em;
	font-weight: normal;
}

html, body {
	font-size: 100%;
	font-family: 'Noto Serif', 'Noto Serif Thai', serif;
	background: #071434;
	margin: 0;
	color: #000 !important;
}

.outgifted {
	filter: brightness(25%);
}

ul#countdown {
	list-style: none;
	margin: 0 0 2em;
	padding: 0;
	display: block;
	text-align: center;
}

ul#countdown li {
	display: inline-block;
	color: #ccc;
}

ul#countdown li span {
	font-size: 8em;
	font-weight: 300;
	line-height: 80px;
}

ul#countdown li.seperator {
	font-size: 8em;
	line-height: 70px;
	vertical-align: top;
}

ul#countdown li p {
	color: #a7abb1;
	font-size: 25px;
}

.preload {
	opacity: 0;
	display: none;
	visibility: hidden;
	height: 70px;
	width: 159px;
	padding-left: 159px;
	background-size: cover;
	padding-left: 80px;
	background: url(../images/ministryritdha.png);
	pointer-events: none;
}

.preload2 {
	opacity: 0;
	display: none;
	visibility: hidden;
	height: 70px;
	width: 159px;
	padding-left: 159px;
	background-size: cover;
	padding-left: 80px;
	background: url(../images/ministrygiftedlogo.png);
	pointer-events: none;
}

#logo {
	display: block;
	height: 70px;
	width: 80px;
	background: url(../images/logo.png);
	background-size: cover;
	padding-left: 80px;
}

#logo.gifted {
	display: block;
	height: 70px;
	width: 76px;
	background: url(../images/giftedlogo.png);
	background-size: cover;
	padding-left: 76px;
}

#logo.ministry {
	display: block;
	height: 70px;
	width: 159px;
	padding-left: 159px;
}

#logo.ministry.ritdha {
	background: url(../images/ministryritdha.png);
	background-size: cover;
}

#logo.ministry.mgifted {
	background: url(../images/ministrygiftedlogo.png);
	background-size: cover;
}

#logo:after {
	content: 'โรงเรียนฤทธาวิทยาคม';
	display: inline-block;
	width: 10em;
	vertical-align: middle;
	line-height: 70px;
	height: 70px;
	padding: 0 5px;
	color: #c4a474;
	font-size: 19px;
}

#logo.gifted:after {
	padding: 0 1px 0 9px;
}

#logo.en:after {
	content: "Ritdha High School";
	text-transform: uppercase;
	display: inline-block;
	width: 12em;
	font-size: 17px;
}

#giftedicon {
	background: url(../images/gifted.png);
	display: inline-block;
	width: 34px !important;
	height: 33px;
	background-size: cover;
	padding-left: 34px;
	vertical-align: bottom;
}

#ministryicon {
	background: url(../images/ministrygifted.png);
	display: inline-block;
	width: 71.5px !important;
	height: 34px;
	background-size: cover;
	padding-left: 34px;
	vertical-align: bottom;
}

.stamp-div.en {
	letter-spacing: 5px;
	line-height: 1em;
}

.milliseconds_text {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none !important;
}

.stamp-div {
	display: none !important;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none !important;
	letter-spacing: 20px;
	font-size: 15em;
	line-height: 1em;
	text-align: center;
	font-family: Sarabun;
	font-weight: bold;
	display: inline-block;
	position: absolute;
	z-index: 97;
	width: 100%;
	border-radius: 20px;
	border-width: 15px;
	border-color: #ef3e42;
	border-style: solid;
	color: #ef3e42;
	text-transform: uppercase;
	margin: 0 auto;
	top: 30%;
	left: 50%;
	color: #ef3e42;
	padding: 0 34px;
	padding-top: 0.2em !important;
	-ms-transform: rotate(-20deg) translate(-50%, -50%);
	-webkit-transform: rotate(-20deg) translate(-50%, -50%);
	transform: rotate(-20deg) translate(-50%, -50%);
	opacity: .6;
	-webkit-filter: blur(1.3px);
	filter: blur(1.3px);
	border-image: url(../images/stamp.png) 30;
	background: url(../images/stamp.png);
	background-size: 30px;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

p, ul li, ol li {
	margin: 0;
	font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
}

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

img {
	width: 100%;
}

body a:hover {
	text-decoration: none;
}

input[type="submit"], input[type="reset"], .w3l_teachers_grd, h4, .agile_feature_grid, .agile_curriculum_grid_pos, a, .w3l_footer_grid, .w3_two_grid_right_grid1, .w3_two_grid_right_grid1 i {
	-webkit-transition: 0.4s ease-in-out;
	-moz-transition: 0.4s ease-in-out;
	-ms-transition: 0.4s ease-in-out;
	-o-transition: 0.4s ease-in-out;
	transition: 0.4s ease-in-out;
}

.nav-links .navbar-nav>li>a {
	-webkit-transition: none color 0.3s, background-color 0.3s;
	-moz-transition: none color 0.3s, background-color 0.3s;
	-ms-transition: color 0.3s, background-color 0.3s;
	-o-transition: color 0.3s, background-color 0.3s;
	transition: color 0.3s, background-color 0.3s;
}

/*-- header --*/

.search-grid {
	float: right;
	border: 1px solid #fff;
}

.search-grid input[type="text"] {
	display: inline-block;
	background: none;
	border: none;
	border-right: solid 1px #ffffff;
	width: 84%;
	padding: .5em;
	outline: none;
	font-size: .9em;
	color: #FFFFFF;
}

.big-dog::-webkit-input-placeholder {
	color: #FFFFFF !important;
}

.search-grid i.fa.fa-paper-plane-o {
	color: #FFFFFF !important;
	font-size: 1.2em !important;
}

.search-grid button.btn1 {
	color: #ffffff;
	font-size: .9em;
	padding: 6px 6px;
	border: none;
	outline: none;
	text-align: center;
	text-decoration: none;
	background: none;
	transition: 0.5s all;
	-webkit-transition: 0.5s all;
	-moz-transition: 0.5s all;
	-o-transition: 0.5s all;
	-ms-transition: 0.5s all;
}

.search button:hover {
	border: solid 1px #212121;
	background: #212121;
}

.search button:hover i.fa.fa-paper-plane-o {
	color: #FFFFFF !important;
}

/*-- navbar --*/

a.navbar-brand {
	transition: none !important;
}

.nav-links .navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
	margin-left: 0;
}

.nav-links .navbar {
	margin-bottom: 0px;
}

.nav-links .navbar-inverse {
	background: #071434;
	border: none;
	position: fixed;
	z-index: 99;
	width: 100%;
	border-radius: 0;
}

.nav-links .navbar-inverse .navbar-brand h1 {
	color: #000;
	text-transform: uppercase;
	font-size: 2.5em;
	font-weight: 600;
}

.nav-links .navbar-nav>li>a {
	padding: 30px 25px;
	color: #c4a474;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
}

.nav-links .navbar-nav>li.lang>a {
	padding: 0 25px;
	height: 40px;
	line-height: 40px;
	vertical-align: middle;
}

li.lang a.mobile {
	display: none;
}

li.lang a.active {
	color: #fff;
	background: black;
}

.link-effect li.lang a.active::after {
	position: absolute;
	top: 35px;
	left: 0;
	width: 100%;
	background: #c4a474 !important;
	content: '';
	height: 5px;
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	transform: translateY(0px);
}

.link-effect li.lang a::after {
	top: 35px;
}

.nav-links .navbar-inverse .navbar-nav>li>a:hover {
	background-color: #000;
	color: #fff;
}

li.lang.mobile {
	display: none;
}

li.lang.desktop.th {
	display: flex;
  flex-direction: column-reverse;
	text-align: center;
}

li.lang.desktop.en {
	display: flex;
  flex-direction: column;
	text-align: center;
}

li.lang.desktop a {
  flex: 1;
	width: 80px;
}

li.lang a.desktop:not(.active):active {
	background: #000;
	color: #fff;
}

li.lang a.desktop:not(.active):hover ~ a:after,
li.lang a.desktop:not(.active):active ~ a:after {
	height: 1px;
	opacity: 0;
	-webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
	-moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
	transition: height 0.3s, opacity 0.3s, transform 0.3s;
	-webkit-transform: translateY(-10px);
	-moz-transform: translateY(-10px);
	transform: translateY(-10px);
}

li.lang a.desktop:not(.active):not(:hover) ~ a:after {
	height: 5px;
	opacity: 1;
	-webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

li.lang a.desktop:not(.active):not(:hover) ~ a {
	background: #000;
}

li.lang a.desktop:not(.active):hover ~ a,
li.lang a.desktop:not(.active):active ~ a {
	background: #071434;
	color: #c4a474;
}

li.lang a.desktop:not(.active):focus:not(:hover) ~ a:after {
	opacity: 1;
}

li.lang a.desktop:not(.active):focus:not(:hover) ~ a {
	background: #000;
	color: #fff;
}

li.lang a.desktop:not(.active):focus:not(:hover) {
	background: transparent;
	color: #c4a474;
}

li.lang a.desktop:not(.active):focus:not(:hover):after {
	opacity: 0;
}

.navbar-inverse .navbar-nav>li>a:focus {
}

.navbar-nav>li>a {
	background-color: #071434;
}

.nav-links .navbar-inverse .navbar-nav>.active>a, .nav-links .navbar-inverse .navbar-nav>.active>a:focus, .nav-links .navbar-inverse .navbar-nav>.active>a:hover {
	background-color: #000;
}

.navbar-header {
	width: 10%;
	float: left;
}

div#myNavbar {
	width: 90%;
	float: right;
}

.navbar-nav {
	float: right;
}

/*-- Link Effect: bottom border enlarge --*/

.link-effect a {
	padding: 0 0 10px;
}

.link-effect a::after {
	position: absolute;
	top: 75px;
	left: 0;
	width: 100%;
	height: 1px;
	background: #c4a474 !important;
	content: '';
	opacity: 0;
	-webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
	-moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
	transition: height 0.3s, opacity 0.3s, transform 0.3s;
	-webkit-transform: translateY(-10px);
	-moz-transform: translateY(-10px);
	transform: translateY(-10px);
}

.link-effect li.active a::after,
.link-effect a:hover::after,
li.lang.desktop a:active::after
 {
	height: 5px;
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	transform: translateY(0px);
}

/*-- /Link Effect: bottom border enlarge --*/

/*-- /navbar --*/

.agile_short_dropdown {
	border-radius: 0;
	background: #ffffff;
	text-align: center;
	padding: 0;
	border: none;
}

.agile_short_dropdown li a {
	text-transform: uppercase;
	color: #212121;
	font-size: 13px;
	font-weight: 600;
	padding: .8em 0;
}

.agile_short_dropdown>li>a:hover {
	color: #000;
	text-decoration: none;
}

.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus {
	color: #000;
	background-color: #fff;
}

/*-- //header --*/

/*-- banner --*/

.banner {
	overflow: hidden;
	min-height: 100vh;
	position: relative;
	text-align: center;
	background: url(../images/bg2.jpg);
	box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0);
	background-attachment: fixed;
	background-position: left;
	background-repeat: no-repeat;
	background-size: cover;
}

.banner.gifted {
	background: url(../images/giftedbg.jpg);
	box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.4);
	background-attachment: fixed;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 640px;
}

@media (max-width: 768px) {
	.banner, .banner.gifted {
		background-position: center top;
		background-size: 768px;
	}	
}

@media (max-width: 640px) {
	.banner, .banner.gifted {		
		background-size: 640px;
	}
}

@supports (-webkit-touch-callout: inherit) {
	.banner, .banner.gifted {
		background-attachment: scroll !important;
	}
}

.banner .container {
	position: absolute;
	width: 100%;
	bottom: 10%;
	left: 50%;
	transform: translate(-50%, 25%);
	text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25), 0px 0px 10px rgba(0, 0, 0, 0.5), 0px 0px 5px rgba(0, 0, 0, 0.8);
}

.banner.gifted .container {
	position: absolute;
	width: 100%;
	top: calc(60%);
	left: 50%;
	transform: translate(-50%, -55%);
}

.banner.gifted.en .container {
	top: calc(50%);
	transform: translate(-50%, -35%);
}

@media (max-width: 1366px) {
	.banner .container {
		bottom: 15% !important;
		transform: translate(-50%, 25%);
	}
	ul#countdown {
		margin: 0;
	}
}

@media (max-width: 1024px) {
	.banner .container {
		bottom: 15% !important;
		transform: translate(-50%, 12.5%);
	}
	ul#countdown {
		margin: 0 0 -3em;
	}
}

#toTop {
	display: none !important;
}

.banner h1 {
	color: #c4a474;
	text-transform: uppercase;
	font-size: 5.5em;
	font-weight: bold;
	letter-spacing: 2px;
	line-height: 1em;
	margin-bottom: 0.25em;
}

.banner.main.en h1 {
	line-height: 1.25em;
}

.inlineblock, .newlineblock, .spaceblock {
	display: inline-block;
}

.hcount {
	margin-top: 0.5em;
}

.banner h3 {
	color: #ccc !important;
	text-transform: uppercase;
	font-size: 4em;
	line-height: 1.5em;
	
}

#slogan {
	word-spacing: -0.15em;
}

.banner.gifted h3 {
	word-spacing: normal;
}

.banner.gifted.en h3 {
	font-size: 3.25em;
}

#teachers, #revolutionaries, #social, #students, #alumni, #notebook {
	background: #000;
}

#teachers.gifted {
	background-color: #071434;
}


.banner p {
	color: #ccc;
	line-height: 1.5em;
}

.wthree_banner_grids {
	padding: 6em 0;
}

.wthree_banner_grid {
	text-align: center;
}

.wthree_banner_grid span {
	color: #fff;
	font-size: 30px;
}

.wthree_banner_grid h4 {
	text-transform: capitalize;
	font-size: 1.2em;
	color: #fff;
	padding-top: 1em;
	letter-spacing: 1px;
}

.agileits_more ul li {
	display: inline-block;
}

.agileits_more ul li a.hvr-icon-hang {
	padding: 1em 3em 1em 2em;
	letter-spacing: 3px;
	color: #fff;
	font-weight: 600;
	text-transform: capitalize;
	text-decoration: none;
	border: 1px solid #fff;
	position: relative;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	display: inline-block;
	vertical-align: middle;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

a.w3ls_banner_more {
	background: #4FC242;
	color: #fff !important;
	border: 1px solid #4FC242 !important;
}

.agileits_more ul li a.hvr-icon-hang:hover {
	background: #4FC242;
	color: #fff;
	border: 1px solid #4FC242;
}

a.w3ls_banner_more:hover {
	border: 1px solid #fff !important;
	color: #fff !important;
	background: none !important;
}

.agileits_more ul li a.hvr-icon-hang:before {
	content: "\f078";
	position: absolute;
	right: 1em;
	padding: 0 1px;
	font-family: FontAwesome;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.agileits_more ul li a.hvr-icon-hang:hover:before {
	-webkit-animation-name: hvr-icon-hang-sink, hvr-icon-hang;
	animation-name: hvr-icon-hang-sink, hvr-icon-hang;
	-webkit-animation-duration: .3s, 1.5s;
	animation-duration: .3s, 1.5s;
	-webkit-animation-delay: 0s, .3s;
	animation-delay: 0s, .3s;
	-webkit-animation-timing-function: ease-out, ease-in-out;
	animation-timing-function: ease-out, ease-in-out;
	-webkit-animation-iteration-count: 1, infinite;
	animation-iteration-count: 1, infinite;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-animation-direction: normal, alternate;
	animation-direction: normal, alternate;
}

/* Icon Hang */

@-webkit-keyframes hvr-icon-hang {
	0% {
		-webkit-transform: translateY(6px);
		transform: translateY(6px);
	}
	50% {
		-webkit-transform: translateY(2px);
		transform: translateY(2px);
	}
	100% {
		-webkit-transform: translateY(6px);
		transform: translateY(6px);
	}
}

@keyframes hvr-icon-hang {
	0% {
		-webkit-transform: translateY(6px);
		transform: translateY(6px);
	}
	50% {
		-webkit-transform: translateY(2px);
		transform: translateY(2px);
	}
	100% {
		-webkit-transform: translateY(6px);
		transform: translateY(6px);
	}
}

@-webkit-keyframes hvr-icon-hang-sink {
	100% {
		-webkit-transform: translateY(6px);
		transform: translateY(6px);
	}
}

@keyframes hvr-icon-hang-sink {
	100% {
		-webkit-transform: translateY(6px);
		transform: translateY(6px);
	}
}

/*-- //banner --*/

/*-- to-top --*/

/*-- //to-top --*/

.videoWrapper {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#overlay {
	width: 100%;
	height: 100%;
	z-index: 999;
	position: absolute;
	pointer-events: none;
}

/*-- about --*/

.about, .curriculum, .contact, .teachers, .revolutionaries, .video, .social, .students, .alumni, .frame, .pin, .notebook, .boxset {
	padding: 5em 0;
}

.portfolio-agileinfo {
	padding: 0;
}

div#about {
	background-color: #fff;
}

.w3l-about-left h2 {
	color: #c4a474;
}

.about-agileits-title h3, h3.wthree_head, .contact h3, .wthree_head_section_gallery h3, .agileits-title-teachers h3, .heading h3 {
	font-size: 3em;
	color: #c4a474;
	text-decoration: none;
	font-weight: 600;
	padding: 0;
	margin-bottom: 40px;
	text-align: center;
	text-transform: uppercase;
}

#students>.container>.heading h3, #alumni>.container>.heading h3 {
	margin-bottom: 0;
}

.one-time .heading {
	text-align: center;
}

.one-time .heading h3 {
	padding-top: 8px;
	display: inline-block;
	margin: 0 auto 40px;
}

.w3l-about-left h5 {
	font-size: .9em;
	color: #212121;
	text-decoration: none;
	margin: 1em 0;
	text-transform: uppercase;
	font-weight: 600;
	line-height: 1.8em;
}

.w3l-about-left p {
	color: #212121;
	font-size: .9em;
	margin: 0;
	line-height: 1.8em;
	letter-spacing: 1px;
}

.w3l-about-left p span {
	margin: 1em 0 0 0;
	display: block;
}

.w3l-about-img img {
	width: 100%;
}

.w3l-about-left i.fa.fa-globe {
	font-size: 3em;
	margin-bottom: 0.3em;
}

/*-- about --*/

/* curriculum */

.stylegridimg {
	padding: 0;
}

.stylegridtext {
	padding: 40px 60px;
}

.stylegridtext h3 {
	font-size: 28px;
	margin-bottom: 25px;
	text-transform: uppercase;
	color: #ccc !important;
	font-weight: 500;
}

#pin .stylegridtext h3, #boxset .stylegridtext h3 {
	line-height: 40px;
	margin-bottom: 20px;
}

.stylegridtext p {
	font-family: Sarabun;
	font-size: 16px;
	line-height: 30px;
	color: #fff;
	margin-bottom: 20px;
}

#curriculum .stylegridtext:nth-child(2) p {
	margin-bottom: 10px;
}

.stylegridtext b {
	font-family: Sarabun;
	font-size: 16px;
	line-height: 30px;
	color: #fff;

}

.stylegridtext ul {
  list-style-type: none;
	font-family: Sarabun;
	line-height: 28px;
	color: #ccc;
	margin-bottom: 20px;
}

.stylegridtext ul li:before {
  content: '– ';
	padding-left: 3px;
}

p.potential {
	font-family: Sarabun;
	font-size: 16px;
	color: #fff;
	margin-bottom: 40px;
	text-align: center;
}

#video .heading h3 {
	margin-bottom: 18px;
}

.potential .break {
	display: inline;
}

.readmore a, .w3_agile_mail_grid input[type="submit"] {
	display: inline-block;
	padding: 10px 25px;
	background: #000;
	color: #fff;
	text-transform: uppercase;
	font-size: 15px;
	text-decoration: none;
	border: none;
}

.readmore.useframe a {
	display: inline-block;
	padding: 12px 30px;
	font-size: 1.4em;
}

.useframe {
	display: inline-block;
	margin: 0 7.5px;
	position: relative;
}

.twibbon {
	width: 100%;
	color: #ccc;
	position: absolute;
	left: 0;
	top: 4em;
	font-family: Sarabun;
	font-size: 14px;
	text-align: center;
	pointer-events: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.useframe:first-of-type {
	margin-left: 0;
}

.useframe:last-of-type {
	margin-right: 0;
}

@media(max-width:384px) {
	.useframe {
		margin: 15px 5px 0 !important;
	}
	.readmore.useframe a {
		font-size: 1.2em;
	}
}

.useframe .facebook {
	display: inline-block;
	color: transparent;
	width: 20px;
	height: 20px;
	background: url(../images/fblogo.png);
	background-size: contain;
}

.useframe .twitter {
	display: inline-block;
	color: transparent;
	width: 20px;
	height: 20px;
	background: url(../images/twilogo.png);
	background-size: contain;
}

#newpin {
	font-style: italic;
	font-weight: 400;
}

.price {
	font-size: 3rem;
	color: #c4a474;
	margin-bottom: 20px;
}

.price.en:after {
	content: "(not including shipping fee)";
	font-size: 0.35em;
	opacity: 0.65;
	color: #fff;
	font-weight: 300;
	display: block;
}

.buynow a {
	display: inline-block;
	padding: 10px 25px;
	background: #000;
	color: #fff;
	text-transform: uppercase;
	font-size: 15px;
	text-decoration: none;
	border: none;
}

#notebook .col-md-8 {
	text-align: right;
}

#notebook .buynow a {
	background: #071434;
}

img.boxset {
	left: -3rem;
  position: relative;
}

.boxset-disc1, .boxset-disc2, .boxset-title, .boxset-title-en, .boxset-disc3, .boxset-titledisc {
	display: inline-block;
}

.boxset-disc.en {
	display: block;
}

.boxset-title {
	font-weight: 700;
	color: #c4a474;
}

.boxset-title-en {
	font-weight: 700;
	color: #c4a474;
}

.readmore a:hover, .buynow a:hover, #notebook .buynow a:hover {
	background: #c4a474;
	color: #030408;
}

/* //curriculum */

/*-- portfolio section --*/

.agile_inner_info {
	margin-top: 3em;
}

p.sub_cap {
	text-align: center;
	text-shadow: 1px 1px 2px rgba(154, 153, 153, 0.37);
}

.portfolio-agileinfo h3.text-center {
	font-size: 40px;
	font-weight: normal;
	color: #000;
	padding-bottom: 50px;
}

.portfolio-agileinfo .portfolio-grids a {
	display: block;
	overflow: hidden;
	position: relative;
}

.std-profile, .portfolio-grids {
	cursor: wait;
}

.std-profile a {
	opacity: .4;
	pointer-events: none;
}

.portfolio-grids a {
	pointer-events: none;
}

.std-profile.initialized a {
	opacity: 1;
	pointer-events: all;
}

.portfolio-grids.initialized a {
	pointer-events: all;
}

.std-profile.initialized a, .portfolio-grids.initialized {
	cursor: pointer;
}

.std-profile a {
	color: #fff;
	font-size: 1em !important;
}

.std-profile i {
	padding: 8px;
	line-height: 2em;
}

.std-profile>i {
	cursor: not-allowed;
	opacity: 0.4;
}

.std-profile a:hover {
	color: #c4a474;
}

.portfolio-agileinfo .portfolio-grids img.img-responsive {
	width: 100%;
}

.portfolio-agileinfo .b-wrapper {
	background: rgba(253, 43, 48, 0.74);
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: -100%;
	left: 0;
	padding: 6.5em 0 0 0;
	transition: .5s all;
	text-align: center;
	display: none;
}

.portfolio-agileinfo .b-wrapper.two {
	padding: 15.5em 0 0 0;
}

.portfolio-agileinfo .portfolio-grids a:hover .b-wrapper {
	bottom: 0%;
}

.portfolio-agileinfo i {
	margin: 0 auto;
	text-align: center;
	color: #fff;
	font-size: 2em;
	border: 1px solid rgba(255, 255, 255, 0.58);
	padding: 10px;
}

.portfolio-agileinfo .b-wrapper h5 {
	font-size: 25px;
	font-weight: normal;
	color: #fff;
	text-align: center;
	padding: 14px 0;
}

.portfolio-agileinfo .b-wrapper p {
	font-size: 14px;
	color: #fff;
	font-weight: 400;
	line-height: 1.8em;
	text-align: center;
}

.portfolio-agileinfo .gallery-grids {
	margin: 0;
}

#batch_16 {
	display: none;
}

.portfolio-grids {
	padding: 0;
}

.portfolio-grids_15, .portfolio-grids_16 {
	padding: 0;
}

.portfolio-grids img {
	width: 100%;
}

.portfolio-grid_15 {
	padding: 0;
}

.portfolio-grid_16 {
	padding: 0;
}

/*-- /portfolio section --*/

/*-- teachers --*/

.wthree_teachers_grid {
	text-align: center;
}

.wthree_teachers_grid h4 {
	font-size: 1.5em;
	color: #c4a474;
	margin: 1em 0 .5em;
	text-transform: capitalize;
}

.wthree_teachers_grid p {
	color: #ccc !important;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin: 10px 0 20px;
}

#head {
	color: #ccc;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin: 10px -50px;
	text-align: center;
}

/*-- //teachers --*/

/* /contact */

.contact {
	background: url(../images/c18.jpg) no-repeat 0px 0px;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	-ms-background-size: cover;
	min-height: 640px;
}

.agileits-info h5 {
	color: #212121;
	font-size: .875em;
	margin: 1em 0;
	text-align: center;
	font-weight: 600;
	letter-spacing: 4px;
}

.w3ls-form input[type="email"] {
	display: inline-block;
	background: #FFFFFF;
	border: none;
	width: 77%;
	outline: none;
	font-family: 'Lato', sans-serif;
	padding: 1em;
	font-size: .9em;
	color: #000;
	text-align: center;
	outline: none;
	text-transform: uppercase;
}

.w3ls-form button {
	color: #fff;
	font-size: .9em;
	padding: 1em;
	width: 77%;
	text-align: center;
	cursor: pointer;
	margin: 1em 0;
	text-transform: uppercase;
	text-decoration: none;
	background: #c4a474;
	border: solid 1px #c4a474;
	transition: 0.5s all;
	-webkit-transition: 0.5s all;
	-moz-transition: 0.5s all;
	-o-transition: 0.5s all;
	-ms-transition: 0.5s all;
}

.w3ls-form button:hover {
	background: #000;
	border: solid 1px #000;
	color: #fff;
}

.agile-sub-left p {
	font-size: 1.4em;
	color: #fff;
	margin-bottom: 0.4em;
}

.agile-sub-left ul li {
	display: block;
	letter-spacing: 1px;
	color: #eaeaea;
	font-size: .9em;
	margin-bottom: .4em;
}

.agile-sub h4 {
	font-size: 2em;
	color: #c4a474;
	margin-bottom: 0.4em;
}

iframe {
	width: 100%;
	border: none;
	min-height: 360px;
}

/* //contact */

/*-- mail us --*/

.contact-left input[type="text"], .contact-left input[type="email"] {
	border: 1px solid #fff;
	font-size: 1em;
	color: #828282;
	background: none;
	width: 100%;
	padding: .8em 1em;
	outline: none;
}

.contact-left input[type="text"]:hover, .contact-left input[type="email"]:hover, .contact-right textarea:hover {
	border-color: #000;
}

.contact-right textarea {
	border: 1px solid #fff;
	font-size: 1em;
	color: #828282;
	background: none;
	width: 100%;
	padding: .8em 1em;
	outline: none;
	min-height: 8em;
	resize: none;
}

.contact-left input[type="email"] {
	margin: 1.5em 0;
}

.contact-right input[type="submit"] {
	padding: .6em 1em;
	color: #fff;
	font-size: 1.1em;
	background: #c4a474;
	-webkit-transition: 0.5s all;
	-moz-transition: 0.5s all;
	-o-transition: 0.5s all;
	-ms-transition: 0.5s all;
	transition: 0.5s all;
	outline: none;
	margin: 1em 0 0;
	width: 100%;
	border: 1px solid #c4a474;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.contact-right input[type="submit"]:hover {
	background: #000;
	color: #fff;
	border: 1px solid #000;
}

.address-row {
	margin: 0 0 4em;
}

.address-right {
	text-align: left;
	padding-left: 2em;
}

.contact-w3lsright h6 {
	font-size: 1.8em;
	color: #595c65;
	font-weight: 300;
	line-height: 1.8em;
	text-transform: uppercase;
}

.contact-w3lsright h6 span {
	color: #03A9F4;
}

.address-left {
	padding: 0;
	text-align: center;
}

.address-row span.glyphicon {
	font-size: 1.2em;
	border: 1px solid;
	padding: 1em;
	color: #c4a474;
	-webkit-transition: .5s all;
	-moz-transition: .5s all;
	transition: .5s all;
}

.address-row:hover span.glyphicon {
	border-color: #c4a474;
	-webkit-transform: rotatey(360deg);
	-moz-transform: rotatey(360deg);
	transform: rotatey(360deg);
	-o-transform: rotatey(360deg);
	-ms-transform: rotatey(360deg);
}

.address-row h5 {
	font-size: 1.6em;
	color: #000;
	margin-bottom: .3em;
	font-weight: 300;
}

.address-row p a {
	color: #c4a474;
}

.address-row p a:hover {
	color: #999;
}

.address h4 {
	font-size: 1.8em;
	color: #00BCD4;
	margin-bottom: 0.6em;
	text-transform: uppercase;
}

.contact h3 {
	color: #fff;
}

/*-- //mail us --*/

.copyright {
	padding: 1.5em 0;
	text-align: center;
	background: #000;
}

.copyright p {
	color: #ccc;
	font-size: 1em;
	margin: 0;
	letter-spacing: 1px;
	line-height: 1.5em;
	padding: 5px;
}

.copyright p a {
	text-decoration: none;
	position: relative;
	display: inline-block;
	width: 1.3em;
	height: 1.3em;
	line-height: 1.3em;
	vertical-align: text-bottom;
	font-size: 1em !important;
}

.copyright p a:hover {
	color: #c4a474;
}

.copyrightbreak, .copyrightbreak-en {
	display: inline-block;
}

.twitter i, .instagram i, .fbpage i {
	color: #c4a474;
	font-size: 1.3em;
	transition: 0.4s ease-in-out;
}

.fbpage i {
	font-size: 1.15em;
}

.twitterhover {
	color: #1da1f2 !important;
}

.instagramhover {
	color: #e1306c !important;
}

.fbhover {
	color: #1778f2 !important;
}

.company {
	color: #c4a474;
}

#username {
	color: #c4a474;
	transition: 0.4s ease-in-out;
}

/*-- bootstrap-modal-pop-up --*/

.modal-header {
	font-size: 2em;
	color: #c4a474;
	text-align: center;
	text-transform: uppercase;
	border: 1px solid #fff;
	font-weight: 600;
	letter-spacing: 4px;
}

.close {
	opacity: 1;
}

.modal-body p {
	color: #999;
	text-align: left;
	padding: 2em 2em 1em;
	margin: 0 !important;
	line-height: 2em;
	font-size: 14px;
}

.modal-body p i {
	display: block;
	margin: 1em 0;
	color: #212121;
}

.modal-body {
	padding: 0;
}

.modal-body img {
	padding: 0em 2em 0 2em;
}

.modal-content {
	border-radius: 0;
}

button.close {
	font-size: 1.5em;
	color: #000;
	outline: none;
}

#students .one-time .container::after,
#alumni .one-time .container::after {
	content: '';
	display: none;
	background: url(../images/FKGIFTED2.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center 45%;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

/*-- //bootstrap-modal-pop-up --*/

/*-- /responsive design --*/

@media(max-width:1440px) {}

@media(max-width:1366px) {}

@media(max-width:1280px) {
	.banner.main.en h1 {
		font-size: 4.5em;
	}
	.stamp-div {
		font-size: 12em;
	}
}

.full {
	display: inline-block;
}

.short {
	display: none;
}

@media (min-width: 768px) and (max-width: 1199px) {
	.full {
		display: none;
	}
	.short {
		display: inline-block;
	}
}

@media(max-width:1200px) {
	#logo.en {
		letter-spacing: 1px;
    line-height: 20px;
	}
	#logo.en:after {
		content: 'Ritdha \A High School';
		width: 5em;
		line-height: 1.4em;
		height: 50px;
		padding: 2px 5px;
		margin-top: 10px;
		white-space: pre;
	}
	#logo.gifted.en:after {
		padding: 2px 1px 2px 9px;
	}
	img.boxset {
		margin-top: 2.5rem;
	}
	.banner.gifted.en h3 {
		font-size: 3em;
	}
	.copyrightbreak-en {
		display: block;
	}
}

@media(max-width:1080px) {
	.banner.gifted.en h3 {
		font-size: 2.75em;
	}
}

@media(max-width:1024px) {	
}

@media(max-width:991px) {
	#logo::after {
		content: "";
		display: none;
	}
	#logo.en:after, #logo.en.gifted:after {
		content: "";
		display: none;
	}	
	.stamp-div {
		font-size: 8em;
		top: 35%;
	}
	ul#countdown li span, ul#countdown li.seperator {
		font-size: 6em;
	}
	.table {
		font-size: 1.3em;
	}
	.banner.gifted.en h3 {
		font-size: 2em;
	}
	.nav-links .navbar-nav>li>a {
		padding: 30px 15px;
	}
	.banner h1 {
		font-size: 3.5em;
	}
	.banner h3 {
		font-size: 3em;
	}
	.banner.main.en h1 {
		font-size: 3em;
	}
	.banner.gifted.en .container {
		transform: translate(-50%, -20%);
	}
	.wthree_banner_grid {
		width: 25%;
		float: left;
	}
	.banner {
		min-height: 100vh;
	}
	.banner.gifted {
		min-height: 423px;
		padding: 11em 0 0;
	}
	.w3l-about-img {
		width: 47%;
		float: left;
	}
	.w3l-about-left {
		width: 50%;
		float: left;
	}
	.w3l-about-img {
		width: 70%;
		float: none;
		margin: 0 auto;
	}
	.w3l-about-left {
		width: 100%;
		float: none;
		margin: 2em 0;
	}
	.about, .curriculum, .contact, .teachers, .revolutionaries, .video, .social, .students, .alumni, .frame, .pin, .notebook, .boxset {
		padding: 3em 0;
	}
	.stylegridimg {
		padding: 1em 0;
		max-width: 50%;
		margin: 0 auto;
	}
	#pin .stylegridimg, #boxset .stylegridimg {
		padding-top: .5em;
	}
	.stylegridtext, #notebook .stylegridtext {
		padding: 40px 8px;
		text-align: center;
		margin-bottom: 1em;
	}
	.stylegrid2 .stylegridtext {
		text-align: left;
	}
	.portfolio-grid_15 .portfolio-grids {
		width: 50%;
		float: left;
	}
	.portfolio-grid_16 .portfolio-grids {
		width: 33.33333333%;
		float: left;
	}
	.wthree_teachers_grid {
		text-align: center;
		width: 40%;
		float: left;
	}
	.w3-left-contact {
		width: 50%;
		float: left;
	}
	.w3-right-contact {
		width: 50%;
		float: left;
	}
	.address-row {
		width: 33%;
		float: left;
	}
	.stylegridtext {
		padding: 17px 8px;
	}
	.w3l-about-left {
		width: 100%;
		float: none;
		margin: 2em 0 0 0;
	}
	.stylegridtext ul li:before {
		padding-left: 0;
	}
	img.boxset {
		margin: unset;
		left: unset;
	}
	.copyrightbreak {
		display: block;
	}
	#revolutionariespic {
		margin-bottom: 2rem;
	}
}

@media(max-width:800px) {
	.about-agileits-title h3, h3.wthree_head, .contact h3, .wthree_head_section_gallery h3, .agileits-title-teachers h3, .heading h3 {
		font-size: 2.8em;
	}
}

@media(max-width:767px) {
	#logo.en {
		letter-spacing: 0;
    line-height: unset;
	}
	.nav-links .navbar-nav>li.lang>a {
		padding: 30px 15px;
		height: unset;
		line-height: 20px;
	}
	.link-effect li.lang a::after,
	.link-effect li.lang a.active::after {
		top: 75px;
	}
	li.lang.desktop.en,
	li.lang.desktop.th {
		display: none;
	}	
	li.lang.mobile {
		display: flex;
		text-align: center;
	}
	li.lang.mobile.th {
		flex-direction: row-reverse;
	}
	li.lang.mobile.en {
		flex-direction: row;
	}
	li.lang a.mobile {
		display: flex;
		width: 50%;
		margin: 0;
		justify-content: center;
	}
	li.lang a.mobile:not(.active):active {
		background: #000;
		color: #fff;
	}
	
	li.lang a.mobile:not(.active):hover ~ a:after,
	li.lang a.mobile:not(.active):active ~ a:after {
		height: 1px;
		opacity: 0;
		-webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
		-moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
		transition: height 0.3s, opacity 0.3s, transform 0.3s;
		-webkit-transform: translateY(-10px);
		-moz-transform: translateY(-10px);
		transform: translateY(-10px);
	}
	
	li.lang a.mobile:not(.active):hover ~ a,
	li.lang a.mobile:not(.active):active ~ a {
		background: #071434;
		color: #c4a474;
	}	
	li.lang a.mobile:not(.active):focus:not(:hover) ~ a:after {
		opacity: 1;
	}	
	li.lang a.mobile:not(.active):focus:not(:hover) ~ a {
		background: #000;
		color: #fff;
	}	
	li.lang a.mobile:not(.active):focus:not(:hover) {
		background: #071434;
		color: #c4a474;
	}	
	li.lang a.mobile:not(.active):focus:not(:hover):after {
		opacity: 0;
	}
	.navbar-collapse {
		transition: height .3s ease-in-out !important;
	}
	.table {
		font-size: 1.2em;
	}
	.navbar-brand {
		padding: 0 !important;
	}
	.navbar-brand #logo {
		margin-left: 15px !important;
	}
	.navbar-header {
		width: 100%;
		float: none;
		margin: 0;
	}
	#logo:after {
		content: 'โรงเรียนฤทธาวิทยาคม';
		line-height: 50px;
		height: 50px;
		margin-top: -5px;
		display: inline-block;
		width: 12em;
		font-size: 14px;
		padding: 0 5px;
	}
	#logo.gifted:after {
		padding: 0 7px;
	}
	#logo.en:after, #logo.gifted.en:after {
		line-height: 50px;
		height: 50px;
		margin-top: -5px;
		content: "Ritdha High School";
		text-transform: uppercase;
		display: inline-block;
		width: 12em;
		font-size: 14px;
		padding: 0 5px;
	}
	#logo.gifted.en:after {
		padding: 0 5px 0 7px;
	}
	#logo {
		display: inline-block;
		width: 45px;
		height: 40px;
		margin: 5px;
		padding-left: 45px;
	}
	nav * {
		transition: none !important;
	}
	#logo.ministry {
		display: inline-block;
		width: 91px;
		height: 40px;
		margin: 5px;
		padding-left: 91px;
	}
	#logo.gifted {
		display: inline-block;
		width: 43px;
		height: 40px;
		margin: 5px;
		padding-left: 43px;
	}
	div#myNavbar {
		width: 100%;
		float: none;
	}
	.navbar-nav {
		float: none;
		text-align: center;
	}
	.navbar-collapse {
		position: absolute;
		width: 100%;
		z-index: 999;
	}
	.navbar-nav {
		float: none;
		text-align: center;
		background: #fff;
	}
	.search-grid {
		float: none;
		width: 50%;
		margin: 11px auto 0;
	}
	.navbar-brand {
		float: none;
		height: 40px;
		width: 35px;
	}
	.navbar-header {
		width: 100%;
		float: none;
		margin: 0 !important;
	}
	.navbar-toggle {
		background-color: #c4a474 !important;
	}
	.navbar-inverse .navbar-toggle {
		border-color: #000;
	}
	.search-grid button.btn1 {
		padding: 6px 17px;
	}
	.contact-left input[type="text"], .contact-left input[type="email"] {
		margin: 0 0 1.5em 0;
	}
	.contact {
		min-height: 556px;
	}
}

@media(max-width:736px) {
	.stamp-div {
		font-size: 7em;
	}
	.navbar-header {
		width: 100%;
		float: none;
		margin: 0;
	}
	div#myNavbar {
		width: 100%;
		float: none;
	}
	.navbar-nav {
		float: none;
		text-align: center;
	}
	.navbar-collapse {
		position: absolute;
		width: 100%;
		z-index: 999;
	}
	.navbar-nav {
		float: none;
		text-align: center;
		background: #fff;
	}
	.search-grid {
		float: none;
		width: 50%;
		margin: 11px auto 0;
	}
	.navbar-brand {
		float: none;
	}
	.navbar-header {
		width: 100%;
		float: none;
		margin: 0 !important;
	}
	.navbar-inverse .navbar-toggle {
		border-color: #071434;
		border-radius: 5px;
	}
	.search-grid button.btn1 {
		padding: 6px 17px;
	}
	.about-agileits-title h3, h3.wthree_head, .contact h3, .wthree_head_section_gallery h3, .agileits-title-teachers h3, .heading h3 {
		font-size: 2.5em;
	}
	.about, .curriculum, .contact, .teachers, .revolutionaries, .video, .social, .students, .alumni, .frame, .pin, .notebook, .boxset {
		padding: 2.5em 0;
	}
	.address-row h5 {
		font-size: 1.5em;
	}
	.about-agileits-title h3, h3.wthree_head, .contact h3, .wthree_head_section_gallery h3, .agileits-title-teachers h3, .heading h3, p.potential {
		margin-bottom: 25px;
	}
	.wthree_teachers_grid h4 {
		font-size: 1.3em;
	}
}

@media(max-width:667px) {
	.stamp-div {
		top: 40%;
		font-size: 6em;
	}
	.search-grid input[type="text"] {
		width: 81%;
	}
	.nav-links .navbar-inverse .navbar-brand h1 {
		font-size: 2.2em;
	}
	ul#countdown li span, ul#countdown li.seperator {
		font-size: 6em;
	}
	.banner h1 {
		font-size: 3.75em;
	}
	.spaceblock {
		display: none;
	}
	.newlineblock {
		display: block !important;
	}
	h3.newlineblock {
		margin-bottom: 25px;
	}
	.banner h3 {
		font-size: 2em;
	}
	.banner.gifted.en h3 {
		font-size: 1.65em;
	}
	.wthree_teachers_grid h4 {
		font-size: 1.3em;
	}
	.agile-sub h4 {
		font-size: 1.5em;
	}
	.address-row {
		width: 55%;
		float: none;
		margin: 30px auto;
	}
}

@media(max-width:640px) {
	ul#countdown li span, ul#countdown li.seperator {
		font-size: 5em;
	}
	.video {
		padding: 2.5em 0 10em;
	}
	.table {
		font-size: 1.05em;
	}
	.wthree_teachers_grid {
		text-align: center;
		width: 60%;
		float: left;
		margin-bottom: 1em;
	}
	.w3-left-contact {
		width: 100%;
		float: none;
		text-align: center;
	}
	.w3-right-contact {
		width: 100%;
		float: none;
	}
	.banner {
		min-height: 500px;
		padding: 5em 0 0;
	}
	.banner.gifted {
		min-height: 320px;
		padding: 7em 0 0;
	}
	.banner {
		min-height: 100vh;
	}	
}

@media(max-width:600px) {
	img.notebook {
		width: 130%;
		position: relative;
		left: 50%;
		transform: translateX(-50%);
	}
	.copyrightbreak-en2 {
		display: block;
	}
}

@media(max-width:568px) {
	.stamp-div {
		font-size: 5em;
		padding: 0 28px;
		top: 42.5%;
	}
	.banner.gifted.en {
		padding: 8em 0 0;
	}
	.banner.gifted.en h3 {
		font-size: 1.2em;
	}
	.search-grid {
		float: none;
		width: 55%;
	}
	.boxset-disc.en {
		display: inline;
	}
}

@media(max-width:480px) {
	.appform {
		font-size: 1em;
	}
	.wthree_teachers_grid p {
		font-size: 15px !important;
		margin: 10px -5px 0 !important;
	}
	.stamp-div {
		font-size: 4em;
		border-width: 10px;
		padding: 0 20px;
	}
	ul#countdown li span, ul#countdown li.seperator {
		font-size: 4em;
		line-height: 1em;
		margin-top: -8px;
	}
	.table {
		font-size: 0.95em;
	}
	.video {
		padding: 2.5em 0 14em;
	}
	ul#countdown li p {
		font-size: 16px;
	}
	.banner h1 {
		font-size: 3em;
	}
	.banner.main.en h1 {
		font-size: 2.35em;
		line-height: 1.35em;
	}
	.banner h3 {
		font-size: 2.5em;
	}
	.search-grid {
		float: none;
		width: 64%;
	}
	.wthree_banner_grid {
		width: 50%;
		float: left;
		margin: 4px auto;
	}
	.banner h3 {
		font-size: 1.5em;
	}
	.nav-links .navbar-inverse .navbar-brand h1 {
		font-size: 1.8em;
	}
	.wthree_banner_grids {
		padding: 2em 0;
	}
	.wthree_banner_grid span {
		color: #fff;
		font-size: 20px;
	}
	.wthree_banner_grid h4 {
		font-size: 1em;
	}
	.banner {
		min-height: 100vh;
	}
	.about-agileits-title h3, h3.wthree_head, .contact h3, .wthree_head_section_gallery h3, .agileits-title-teachers h3, .heading h3 {
		font-size: 2.3em;
	}
	.stylegridtext h3 {
		font-size: 22px;
		margin-bottom: 5px;
	}
	#pin .stylegridtext h3, #boxset .stylegridtext h3 {
		line-height: 32px;
		margin-bottom: -4px;
	}
	.stylegridtext h4 {
		font-size: 2.5rem;
		margin-top: 20px;
	}
	.stylegridtext h3 #giftedicon {
		width: 24px !important;
		height: 24px;
		padding-left: 24px;
	}
	.portfolio-grid_15 .portfolio-grids {
		width: 100%;
		float: none;
	}
	.portfolio-grid_16 .portfolio-grids {
		width: 100%;
		float: none;
	}
	.portfolio-grid_15 {
		width: 100%;
		float: none;
	}
	.stylegridtext, #notebook .stylegridtext {
		padding: 1px 8px;
	}
	#students .container:after,
	#alumni .container:after {
		background-size: 125%;
		background-position: center 75%;
	}
	#revolutionariespic {
		width: auto;
		max-width: calc(100% + 20px);
		margin-left: -10px;
		margin-bottom: 1rem;
	}
	.linebreak {
		display: block;
	}
}

@media(max-width:414px) {
	.newli {
		display: block;
	}
	#newpin {
		display: block;
	}
	.table {
		font-size: 0.8em;
	}
	.search-grid button.btn1 {
		padding: 6px 5px;
	}
	.banner.gifted.en h3 {
		font-size: 1em;
	}
	.about, .curriculum, .contact, .teachers, .revolutionaries, .social, .students, .alumni, .frame, .pin, .notebook, .boxset {
		padding: 2em 0;
	}
	.about-agileits-title h3, h3.wthree_head, .contact h3, .wthree_head_section_gallery h3, .agileits-title-teachers h3, .heading h3 {
		font-size: 2em;
	}
	.w3l-about-left i.fa.fa-globe {
		font-size: 2em;
		margin-bottom: 0.3em;
	}
	.w3l-about-left h2 {
		color: #c4a474;
		font-size: 25px;
	}
	.address-row {
		width: 100%;
		float: none;
		margin: 22px auto;
	}
	.agile-sub-left p {
		font-size: 1.2em;
	}
	.search-grid button.btn1 {
		padding: 6px 12px;
	}
	html[lang="en-US"] #students .container .heading h3,
	html[lang="en-US"] #alumni .container .heading h3 {
		font-size: 1.75em;
	}
	.boxset-title {
		display: block;
	}
	.boxset-details {
		display: block;
		margin-top: -6px;
	}
	.copyrightbreak2 {
		display: inline-block;
	}
}

@media(max-width:384px) {
	.appform {
		font-size: 0.8em;
	}
	ul#countdown li span, ul#countdown li.seperator {
		font-size: 3em !important;
		line-height: 1.2em;
	}
	.banner h1 {
		font-size: 2.75em;
	}
}

@media(max-width:384px) {
	.banner.gifted.en h1 {
		font-size: 2em;
		word-spacing: 1px;
	}
	.banner.main.en h1 {
		line-height: 1.2em;
	}
	.banner h3 {
		font-size: 1.5em;
	}
	.address-row h5 {
		font-size: 1.2em;
	}
	.stylegridtext h3 {
		font-size: 18px;
		margin-bottom: 5px;
	}
	#pin .stylegridtext h3, #boxset .stylegridtext h3 {
		line-height: 30px;
		margin-bottom: -5px;
	}
	.stylegridtext h4 {
		font-size: 2.5rem;
	}
	.nav-links .navbar-nav>li>a {
		padding: 15px 15px;
	}
	.nav-links .navbar-nav>li.lang>a {
		padding: 15px 15px;
		height: unset;
		line-height: 20px;
	}
	.link-effect li a::after,
	.link-effect li.lang a::after {
		top: 45px;
	}
	.w3l-about-img {
		width: 100%;
		float: none;
		margin: 0 auto;
	}
	.search-grid input[type="text"] {
		width: 75%;
	}
	.linebreak2 {
		display: block;
	}
}

@media(max-width:375px) {
	.stamp-div {
		font-size: 3.5em;
		border-width: 8px;
	}
}

@media(max-width:320px) {
	.table {
		font-size: 0.7em;
	}
	.banner h1 {
		font-size: 2.5em;
	}
	.banner.main.en h1 {
		font-size: 2.2em;
	}
	.banner h3 {
		font-size: 1.25em;
	}
	.video {
		padding: 2em 0 18em;
	}
	.stamp-div {
		font-size: 3em;
		top: 50%;
		border-width: 7px;
		padding: 0 18px;
	}
	.navbar-toggle {}
	.about-agileits-title h3, h3.wthree_head, .contact h3, .wthree_head_section_gallery h3, .agileits-title-teachers h3, .heading h3 {
		font-size: 1.8em;
	}
	.wthree_teachers_grid {
		width: 99%;
		float: none;
		margin-bottom: 1em;
	}
	.agile-sub-left p {
		font-size: 1em;
	}
	.w3ls-form input[type="email"] {
		width: 100%;
	}
	html[lang="en-US"] #students .container .heading h3,
	html[lang="en-US"] #alumni .container .heading h3 {
		font-size: 1.5em;
	}
	.copyrightbreak-en .copyrightbreak {
		font-size: 15px;
		letter-spacing: .8px;
	}
}

@media(max-width:280x) {
	.banner.gifted.en h3 {
		font-size: 0.85em;
	}
	.copyrightbreak-en {
		font-size: 15px;
		letter-spacing: .8px;
		margin: 0 -10px;
	}
	.copyrightbreak-en .copyrightbreak {
		font-size: 14px;
		letter-spacing: .7px;
	}
	.revsmall {
		font-size: .9em;
	}
	#logo.en:after, #logo.gifted.en:after {
		font-size: 12.5px;
	}
	#pin .stylegridtext p {
		margin: 0 -10px;
	}
	.boxset-disc3 {
		margin: 0 -10px;
	}
}

/*-- /responsive design --*/