/*
Theme Name: Illfy
Theme URI: http://colorlib.com/wp/themes/illdy/
Author: Teach-In-China
Author URI: http://colorlib.com
Description: Illfy is a theme derived from Illdy
Version: 1.0.1 [27-11-2017]
Template: illdy
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio
Text Domain: illdy
*/

/* = development
------------------------------------------------------------------------*/
.tic-prev i.fa { color:#0B8CC3 !important}	

.tic-nowrap {
    white-space: nowrap;
}

.list-group {
	box-shadow: none !important;
}

ul.bul-rt li {
	position: relative;
}
 
ul.bul-rt li:before {
	content: "\f000";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	color: #000;
	font-size: 18px;
	padding-right: 0.5em;
	position: absolute;
	top: 10px;
	left: 0;
}

/* fixed buttons lhs */
#ssb-container ul li a {
    font-size: 20px !important;
}

/* tools
-----------------------------------*/
/* color columns */
.bgcol [class^="col-"] {
 	background-color: #eee;
 	background-color: rgba(86, 61, 124, .15);
 	border: 1px solid #ddd;
 	border: 1px solid rgba(86, 61, 124, .2);
	padding: 10px 0 10px 0;
}

/* hover trial 1 - tbr */
.textOverImage {
	position:relative;
	width:300px;
	height:300px;
	float:left;
	margin:4px;
	background-size:100%;
	background-position:center;
	transition:0.5s;
}

.textOverImage:hover {
	background-size:110%;
}

.textOverImage:after {
	position:absolute;
	top:90%;
	bottom:0;
	left:0;
	right:0;
	white-space:pre-wrap;
	overflow:hidden;
	background-color:rgba(0, 0, 0, 0.3);
	color:#fff;
	padding:0 8px;
	content:attr(data-text);
	transition:0.5s;
}

.textOverImage:hover:after {
	top:0;
	padding:8px;
	background-color:rgba(0, 0, 0, 0.6);
}

.textOverImage:first-line {
	color:#fff;
	font-weight:bold;
	font-size:1.5em;
}


/* ht 3 */
 a.hovertext {
    position: relative;
    width: 260px;
    text-decoration: none !important;
    text-align: center !important;
  }
a.hovertext::after {
    content: attr(title);
    position: absolute;
    left: -140px;
    bottom: 50px;
    padding: 3.5em 40px;
    width: 280px;
    background: rgba(236, 190, 82, 0.39);
    text-decoration: none !important;
    color: #fff;
    opacity: 0;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
}
  a.hovertext:hover::after, a.hovertext:focus::after {
    opacity: 1.0;
  }
/*--*/


.widget ul li a {
	color: #8c979e !important;
}

.widget ul li a:hover {
	color: #FFF !important;
}

/* inline css
-----------------------------------*/
.header-button-two {
	background-color: #f59a2c;
	font-size: 1.4em !important;
}

.section-description a.tel {
	color: #F59A2C!important;
	display: inline-block;
	font-size: 1.6em;
	margin-top: 1em;
}

/* = custom
-------------------------------------------------------------------------*/

figure {
	display: inline-block;
	margin: 20px;
}

figure img {
	vertical-align: top;
}

figure figcaption {
	background: #e6f3f7;
	text-align: center;
}

.section-description {
	font-size: 40px !important;
	margin-bottom: 2em !important;
}

.header-button-one {
	color: #fff;
	font-size: 25px !important;
	line-height: 45px;
}

#static-page-content {
	padding: 0;
	text-align: center;
	width: 100%;
}

p span.firstchar {
	color:  #0B8CC3;
	display:inline-block;
	line-height:50px;
	border-radius:50%;
	border: 2px solid #0B8CC3;
	width: 54px;
	font-size:32px;
}

.n2-style-f00b53cae20b25b496c6bebfdf2be3f7-heading-active.n2-active {
	background: #0B8CC3 !important;
}

/*div#n2-ss-8 div.n2-ss-widget-display-hover, n2-resize:hover,
div#n2-ss-8 div.n2-ss-widget-display-hover:hover {
    background: #0B8CC3 !important;
}*/

.ufb-form-dropdown {
	min-width: 120px !important;
}

#do-etfw-2 h5 { background: #FFF !important;}

#ssb-container {
    top: 38%;
}

.underconst { 
	background: #DDD !important; 
	color:#FFF !important; 
	font-style:italic !important; 
	padding: 0.5em 1em 0.5em 1em; 
}

/* bootstrap */
abbr[data-original-title], abbr[title] {
    cursor: help;
    border-bottom: 0px;
}

/* = smart slider
-----------------------------------*/
/* color adjust */
div#n2-ss-8 .n2-style-2a0a200d6a6e1fade27fb9c90af83812-dot.n2-active, div#n2-ss-8 .n2-style-2a0a200d6a6e1fade27fb9c90af83812-dot:hover {
	background: #0B8CC3;
}

/* = main
------------------------------------------------------------------------*/
.tic-fixed-width {
	background-color: #FFF;
	width: 100%;
	margin: 0 auto;
}

body.blog .bottom-header h2 {
	color: #fff !important;
}

.blog-post-title {
	color: #0B8CC3 !important;
}

.firstchar {
	font-size: 36px;
}

.seo {
	display: none;
	visibility: hidden;
}

div.tic-school ul {
	list-style-type: none;
	padding-left: 20px;
}

div.tic-school ul li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 10px;
	list-style: none !important;
}

div.tic-school ul li:before {
	position: absolute;
	top: 0;
	left: 0;
	font-family: FontAwesome;
	content: "\f058";
	color: #4182AE !important;
}

/* = form mods
-----------------------------------*/
input, textarea {
	background: #FFF;
	border: 1px solid #AAA;
	color:#444;
}

/* application form */

.ufb-front-form .ufb-form-field-wrap label.ufb-control-label {
	color: #444;
}

.ufb-form-field input[type="checkbox"] {
	height: 13px !important;
	width: 13px !important;
	-webkit-appearance: checkbox !important;
}

.ufb-default-template .ufb-form-field-wrap >label .ufbl-default-template .ufbl-form-field-wrap >label {
	color: #444;
}

.ufb-default-template .ufb-sub-field-wrap, .ufb-form-dropdown, .ufb-multiple-dropdown .ufbl-default-template .ufbl-sub-field-wrap, .ufbl-form-dropdown, .ufbl-multiple-dropdown {
	color: #333;
}

.ufb-default-template .ufb-sub-field-wrap label, .ufbl-default-template .ufbl-sub-field-wrap label {
	margin-left: 10px;
	display: inline-block !important;
}

input.ufb-sub-field-wrap input, input.ufbl-sub-field-wrap input {
	display: inline-block !important;
}

input.ufb-sub-field-wrap label, input.ufbl-sub-field-wrap label {
	display: inline-block !important;
}

input.ufb-form-checkbox, input.ufbl-form-checkbox {
	-webkit-appearance: checkbox;
	-moz-appearance: checkbox;
	width: 16px;
	padding: 5px 10px;
	border: 1px solid #d7d7d7;
	outline: 0;
	font-family: Lato, sans-serif;
	font-weight: 400;
	color: #8c9597;
	resize: none;
	font-size: 16px;
	line-height: 26px;
	background-color: transparent;
}

/* cv upload */
.qq-upload-button {
	background: #0B8CC3 !important;
}

.qq-upload-button:hover {
	background: #076b96 !important;
}

#tica12 label:before {
	position: absolute;
	margin-left: 200px;
	margin-top: 4px;
	display: block;
	content: "Hold Shift or Ctrl key to select multiple options" !important;
	font-size: 9px;
}

#tica13 label:before {
	position: absolute;
	margin-left: 200px;
	margin-top: 4px;
	display: block;
	content: "Hold Shift or Ctrl key to select multiple options" !important;
	font-size: 9px;
}

/* = buttons
-----------------------------------*/
a.button, a.blog-post-button {
	background: #FFA500 !important;
}

a.button:hover, a.blog-post-button:hover {
	background: #ff6600 !important;
}

.ufb-form-field input.ufb-form-submit, .ufbl-form-field input.ufbl-form-submit {
	background: #FFA500;
	color: #FFF;
}

.ufb-form-field input.ufb-form-submit:hover, .ufb-form-field input.ufb-form-submit:visited, .ufb-form-field input.ufb-form-reset:hover, .ufb-form-field input.ufb-form-reset:visited {
	background: #e59400;
}

.ufbl-form-field input.ufbl-form-submit:hover, .ufbl-form-field input.ufbl-form-submit:visited, .ufbl-form-field input.ufbl-form-reset:hover, .ufbl-form-field input.ufbl-form-reset:visited {
	background: #e59400;
}
 input:focus::-webkit-input-placeholder {
	color:transparent;
}
input:focus:-moz-placeholder {
	color:transparent;
}
textarea:focus::-webkit-input-placeholder {
	color:transparent;
}
textarea:focus:-moz-placeholder {
	color:transparent;
}

/* = navigation
------------------------------------------------------------------------*/

/* sub nav */
ul.sub-menu li a {
	color: #111 !important;
	line-height: 18px !important;
	text-decoration: none !important;
	background: #FFF;
}

ul.sub-menu li.current-menu-item a {
	border-left: 3px solid #ffA500 !important;
    color: #244963 !important; /* dk blue */
}

ul.sub-menu li a:hover {
	border-left: 3px solid #ffA500 !important;
    color: #244963 !important; /* dk blue */
}

/* = header
------------------------------------------------------------------------*/
#header .top-header {
	padding-bottom: 8px !important;
	padding-top: 8px !important;
	width: 100%;
}

#header .top-header .header-navigation ul li a {
	color: #0B8CC3 !important;
	font-size: 16px;
	line-height: 26px;
}

#header .top-header .header-navigation ul li ul li:hover a {
    color: #2A5572 !important; /* dk blue */
	text-decoration: none;
}

#header .top-header .header-navigation ul li.menu-item-has-children .sub-menu {
	width: 140px;
}

#header .top-header .header-navigation ul li.menu-item-has-children .sub-menu li {
	padding-bottom: 10px; /* apply to all sub li items */
}

#header .top-header .header-navigation ul li.menu-item-has-children .sub-menu li a {
	border-left: 3px solid #FFF;
	color: #0B8CC3 !important;
	/*color: #2A5572 !important; /* dk blue */
	font-weight: 700;
	line-height: 20px;
	margin-bottom : 4px;
	margin-bottom : 4px;
	text-align: center;
}

/* darken active sub menu */
#header .top-header .header-navigation ul li ul.sub-menu li.current-menu-item a {
	color: #2A5572 !important; /* dk blue */
}


#header .top-header .header-navigation ul li ul li.menu-item-has-children a {
	display: inline-block;
	margin-bottom: 20px;
	padding-right: 16px;
	position: relative;
}

#header .top-header .header-navigation ul li ul.sub-menu li:hover a {
    color: #2A5572 !important; /* dk blue */
	text-decoration: none;
}

/* custom top header */
div.top-header {
	background: #FFFFFF;
	border-bottom: 1px solid #0B8CC3;
	border-bottom: 1px solid #DDD;
	font-size: 4em !important;
	padding-bottom: 0.2em !important;
}

#header .top-header .header-navigation ul li a {
	color: #4182AE;
}

#header .top-header .header-navigation ul li:hover a {
    color: #2A5572 !important; /* dk blue */
	text-decoration: none;
}

#header .top-header .header-navigation ul li.current-menu-item a {
    color: #2A5572 !important; /* dk blue */
    text-decoration: none;
}

#header .top-header ul li.current-page-ancestor a {
    color: #2A5572 !important; /* dk blue */
    text-decoration: none;
}


/* = adj mobile nav
------------------------------------------------------------------------*/
@media only screen and (min-width: 768px) {
	.responsive-menu ul li a {
	 	border-bottom: 1px solid #e4e4e4;
	 	color: #0b8cc3;
	 	display: block;
	 	padding: 10px;
	 	text-align: center;
	 	width: 100%;
	}
	
	.section-description {
	 	font-size: 28px !important;
	 	margin-bottom: 2em !important;
	}
}

/* = common
------------------------------------------------------------------------*/
/* Center responsive images */
.img-center {
	margin: 0 auto;
}

figure .img-center {
	margin: 0 auto;
}

#ssb-btn-0, #ssb-btn-1 {
	font-size: 20px !important;
}

/* = typography 
---------------------------------------*/
.front-page-section p {
	text-align: justify;
}

ul li, ul li a, ol li, ol li a, p {
	color: #444;
	font-size: 16px;
}

ul li a:hover, ol li a:hover {
	color: #222;
}

h1 {
	font-size: 60px !important; /* 3/4 */
}

h1 span {font-size:30px !important;}

h2 {
	font-size: 42px !important;
}

h2 span {font-size:21px !important;}

h3 {
	font-size: 36px !important;
}

h5 {
	font-size: 30px !important;
}

h6 {
	font-size: 18px;
}

a:hover {
	text-decoration:underline;
	color: #08648c !important;
}

a.extern:after {
  content: "\f08e";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  text-decoration: none;
  padding-left: 3px;
}

/* = responsive 
------------------------------------------------------------------------*/
/* show abbr */
abbr[title]:after
{
   content: " (" attr(title) ")";
}

@media screen and (min-width: 768px)
{
   abbr[title]
   {
      border-bottom: 1px dashed #ADADAD;
      cursor:help;
   }

   abbr[title]:after
   {
      content: "";
   }
}

@media (min-width: 768px) {
  .row.table-row {
    display: flex;
    flex-wrap: wrap;
  }
}
    
/* add this for full height column content */
.table-row > div[class*='col-'] {  
  display: flex;
  flex-direction: column;
}



/* make equal height with table styles - method 1 */
@media (min-width: 768px) {
	.table-row {
		display: table;
		table-layout: fixed;
	}
	
	.table-row [class^="col-"] {
 		display: table-cell;
		/* float: none; */
	}
}

/* make rows same height - method 2 */
@media only screen and (min-width: 768px) {
 	.is-table-row {
 		display: table;
	}
 	.is-table-row [class*="col-"] {
 		display: table-cell;
 		float: none;
 		vertical-align: top;
	}
}

@media only screen and (max-width: 992px) {
 	h1 {
 		font-size: 50px !important;
 		line-height: 75px !important;
	}
	 
	h2 {
 		font-size: 40px !important;
 		line-height: 60px !important;
	}
	 
	h3 {
		font-size: 30px !important;
    	line-height: 45px !important;
	} 
	  
	.open-responsive-menu {
		background: 0 0;
		border: none;
		display: block;
		float: right;
		height: 100%;
		outline: 0;
		padding: 8px 0;
	}
 
	.open-responsive-menu .fa {
		color: #0B8CC3;
		font-size: 52px;
	}
 
	.section-description {
 		font-size: 20px !important;
 		margin-bottom: 0 !important;
	}
 
	.responsive-menu ul li a {
		color: #0B8CC3 !important;
		display: block;
		font-weight: 700; /* emph top level */
		padding: 15px;
 		text-align: center;
		width: 100%;
	}
	 
	.responsive-menu ul li.menu-item-has-children {
    	background: #e4e4e4;
	}
	
	/* page next/prev links - add a line break */
	.tic-br {
  		display: table;
	}
	
	
/* apply vert padding */
	.tic-schools .col-md-6 {
 	padding-bottom: 20px;
 	padding-top: 20px;
	}
}

/* /responsive */

/* padding
---------------------------------------*/
.nopadding {
	margin: 0 !important;
	padding: 0 !important;
}

.vstb {
	display: inline-block;
	padding: 0.8em 0 0.2em 0;
}

.stb {
	display: inline-block;
	padding: 1em 0 2em 0;
}

.mtb {
	display: inline-block;
	padding: 3em 0 2em 0;
}

.ltb {
	display: inline-block;
	padding: 3em 0 2em 0;
}

.vsmt {
	margin-top: 0.5em;
}

.vertical-center {
	min-height: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
}

/* = colour 
---------------------------------------*/

/* replace bootstrap styles */
h1, h2, h3, h4, h5, h6 {
	color: #4182AE; /* tic blue */
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: #4182AE !important;
	font-family: Lato, sans-serif !important;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
	color: #3d7aa4 !important; /* darken */
}

.blog-post p, .front-page-section p, #sidebar p, .notice {
	color: #444 !important;
}

.tic-blue, .tic-blue small {
	color: #4182AE !important;
}

.tic-orange, .tic-orange small {
	color: #FFA500 !important;
}

.tic-orange-blog {
	color: #ff6600 !important; /* dark */
}

.tic-green, .tic-green small {
	color: #BAE5CB !important;
}

.tic-grey, tic-grey small {
	color: #8c979e !important;
}

.lt-blue-bg, .tic-hunan, .tic-contact-bg {
	background: #e6f3f7;
}

.lt-green-bg, .tic-jiangsu {
	background: #edfae5;
}

.lt-salmon-bg, .tic-wuhan {
	background: #ffebeb;
}

.lt-lavender-bg, .tic-beijing {
	background: #faefff;
}

.lt-mauve-bg, .tic-other {
	background: #e4e4ff;
}

.tic-contact-form {
	background: #BAE5CB;
}

/* page specific styles */
/* hunan */
.page-id-6751 #sidebar {
	background: #e6f3f7 !important;
	margin-top: 50px;
}

.page-id-6345 #sidebar {
	background: #e6f3f7 !important;
	margin-top: 50px;
}

.tic-schools-hunan section.sec1, .tic-schools-hunan section.sec2, .tic-schools-hunan section.sec3, .tic-schools-hunan section.sec4, .tic-schools-hunan section.sec5, .tic-schools-hunan section.sec6 {
	background-color: #e6f3f7 !important;
}

/* jiangsu */
.page-id-6753 #sidebar {
	background: #edfae5 !important;
	/* lt-green */
	margin-top: 50px;
}

.page-id-6363 #sidebar {
	background: #edfae5 !important;
	/* lt-green */
	margin-top: 50px;
}

.tic-schools-jiangsu section.sec1, .tic-schools-jiangsu section.sec2, .tic-schools-jiangsu section.sec3, .tic-schools-jiangsu section.sec4, .tic-schools-jiangsu section.sec5, .tic-schools-jiangsu section.sec6 {
	background-color: #edfae5 !important;
}

/* wuhan */
.page-id-6746 #sidebar {
	background: #ffebeb !important;
	margin-top: 50px;
}

.page-id-6361 #sidebar {
	background: #ffebeb !important;
	margin-top: 50px;
}

.tic-schools-wuhan section.sec1, .tic-schools-wuhan section.sec2, .tic-schools-wuhan section.sec3, .tic-schools-wuhan section.sec4, .tic-schools-wuhan section.sec5, .tic-schools-wuhan section.sec6 {
	background-color: #ffebeb !important;
}

/* beijing */
.page-id-6756 #sidebar {
	background: #faefff !important;
	margin-top: 50px;
}

.page-id-6366 #sidebar {
	background: #faefff !important;
	margin-top: 50px;
}

.tic-schools-beijing section.sec1, .tic-schools-beijing section.sec2, .tic-schools-beijing section.sec3 {
	background-color: #faefff !important;
}

/* = spacing
---------------------------------------*/

.vs-one {
	margin-top: 1em;
}

.vsb-one {
	margin-bottom: 1em;
}

.vs-two {
	margin-top: 2em;
}

.vsb-two {
	margin-bottom: 2em;
}

.vs-three {
	margin-top: 3em;
}

.vs-six {
	margin-top: 6em;
}

.vs-twelve {
	margin-top: 12em;
}

/* demo */

.ht-six {
	height: 6em;
	max-height: 6em;
}

.ht-twelve {
	height: 12em;
	max-height: 12em;
}

.ht-twenty {
	height: 20em;
	max-height: 20em;
}

.markup-format p {
	margin-top: 12px !important;
}

.markup-format a {
	text-decoration: none !important;
}

.markup-format a:hover {
	text-decoration: underline;
}

.tic-schools p {
	margin-left: 12px !important;
	margin-right: 12px !important;
}

.section-header h3 {
	display: none !important;
}

/* show list of icons - not scrollable */

#ht150 {
	display: flex;
	justify-content: space-around;
	list-style-type: none;
}

#ht150 {
	margin: 0 0 0 3em !important;
}

.content-column img {
	border: 1px solid #EEE !important;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.fixed-tag {
	color: #fff;
	/* font-family: Poppins; */
	font-size: 30px;
	font-weight: 700;
	left: 50% !important;
	line-height: 84px;
	margin: 0 0 29px;
	position: absolute !important;
	top: 20%;
}

/* = regions page
------------------------------------------------------------------------*/
figcaption span {
	border: 1px solid #DDD;
	padding: 6px;
	display: block;
	height: 180px !important;
	margin-top: 24px;
}

/* = blog adjustment
------------------------------------------------------------------------*/

.tic-blog {
}

span.emph {
	color: #ff6600;
}

p span.emph {
	margin-left: 2em;
}

.tic-blog-sidebar h1 {
	font-size: 30px;
}

.tic-blog-sidebar h2 {
	font-size: 20px;
}

.tic-blog-sidebar h3 {
	font-size: 18px;
}

.tic-blog-sidebar h4 {
	font-size: 16px;
}

.tic-blog-sidebar h5 {
	font-size: 12px;
}

.tic-blog-sidebar h6 {
	font-size: 10px;
}

/* = sidebar
------------------------------------------------------------------------*/
/* customise the sidebar */
#sidebar-right, #sidebar {
	border: 0px solid #FFFFFF;
	margin: 90px 0 40px 0;
	padding-left: 0;
	width: 100%;
}

/* sidebar adjustment */
div.tic-hunan, div.tic-beijing, div.tic-wuhan, div.tic-jiangsu {
	padding: 20px 30px 20px 30px;
}

#sidebar div.textwidget {
	text-align: justify;
}

#sidebar .ctrthumb {
	margin-left: 24px !important;
}

#sidebar h5 {
	font-size: 26px;
	margin-top: 26px !important;
}

ul.tic-sidebar-list {
	list-style-type: none;
	margin: 0;
	max-width: 320px;
	padding: 0;
}

ul.tic-sidebar-list li a {
	background-color: #FFFFFF;
	color: #444 !important;
	display:block;
	line-height: 20px;
	margin-bottom: 15px;
	padding: 10px 5px 20px;
	text-decoration: none;
}

ul.tic-sidebar-list li a:visited {
	color: #0B8CC3;
}

ul.tic-sidebar-list li a:hover, ul.tic-sidebar-list li .current {
	color: #0B8CC3;
	background-color: #FFFFFF;
}

hr.stylea {
	background-image: linear-gradient(to right, rgba(65, 130, 174, 0), rgba(65, 130, 174, 0.75), rgba(65, 130, 174, 0));
	border : 0;
	height: 1px;
	margin-bottom: 40px !important;
	margin-top: 30px !important;
	margin-left: 10px !important;
	padding-left: 0 !important;
	text-align: center;
	width: 220px;
}

/* = front page section
------------------------------------------------------------------------*/
.front-page-section .section-header h3 {
	display: none !important;
}

/* = about page
------------------------------------------------------------------------*/
.about-page {
	display: inline-block;
	margin: 0 4em 0 4em;
}

/* = privacy policy
------------------------------------------------------------------------*/

/* #tic-privacy h2, #tic-privacy h3 {
    color: #4182AE !important;
}*/

#tic-privacy ul {
	list-style-position: outside !important;
}

#tic-privacy ul li {
	list-style: none !important;
	list-style-position: outside !important;
	list-style-type: none !important;
	text-indent: -0.8em;
}

#tic-privacy ul li:before {
	color: #F59A2C;
	content: "\f0da";
	font-family: 'FontAwesome';
	padding-right: 0.4em;
}

#tic-privacy ul li:before {
	left: -0.4;
	position: relative;
}

/* = application form page
------------------------------------------------------------------------*/

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
 -webkit-appearance: none;
 margin: 0;
}

.ufbl-template-1 .ufbl-form-field-wrap>label {
	width: 100% !important;
	font-size: 16px;
	color: #444;
	vertical-align: top;
}

.ufbl-form-reset {
	padding: 0px 12px 0 12px !important;
}

input[type=submit], input[type=reset] {
	width: auto;
	height: 36px;
	background-color: #ffa500;
	padding: 0 40px;
	display: inline-block;
	border: 0;
	font-family: Lato, sans-serif;
	font-weight: 700;
	color: #fff;
 	-webkit-transition: all .3s;
 	-moz-transition: all .3s;
 	-o-transition: all .3s;
 	transition: all .3s;
	border-radius: 3px !important;
}

/* = region pages
------------------------------------------------------------------------*/
.bottom-header h1 {
	color: #FFFFFF !important;
}

.tic-regions p {
	text-align: justify;
	margin: 0;
}

.col-sm-6 p {
/* margin: 0 1.5em 0 1.5em !important;*/
}

.tic-regions .col-md-12 h4 {
	margin-top: 1em;
	padding-top: 0;
	margin-bottom: 0.2em;
}

.sch5, .tic-lg-txt {
	display: inline-block;
	font-size: 20px !important;
	line-height: 40px;
	margin: 24px 0 24px 0 !important;
}

.blog-post p.tic-lg-txt {
	color: #4182AE !important;
}

/* figcaption */
.wp-caption-text {
	background: #FFF; /*#E6F3F7;*/
	color: #4182AE !important;
	font-size: 14px !important;
	text-align: center;
}

.wp-caption-text .md, .wp-caption-text .lg {
	background: #FFF;
	/*#E6F3F7;*/
	color: #4182AE;
	font-size: 18px !important;
	text-align: center;
}

.tic-regions, .tic-slider {
	padding: 1em;
}

.tic-regions figcaption, .tic-slider figcaption {
	background-color: #FFF;
	border-bottom: 1px solid #DDD;
	border-left: 1px solid #DDD;
	border-right: 1px solid #DDD;
}

section.sec1, section.sec2, section.sec3, section.sec4, section.sec5, section.sec6 {
	border: 1px solid #DDD !important;
	margin-bottom: 0;
	margin-top: 0;
	padding-left: 0.5em !important;
}

/* = school pages
------------------------------------------------------------------------*/

.under-construction {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/11/under-construction.jpg");
	content: "This page is under construction - please check back soon";
	background-position: center;
	background-repeat: no-repeat;
}

/* next/prev page navigation 
----------------------------------*/
.pnav { 

}

.align-rt { 
	text-align: right; 
	padding-right: 0; 
	margin-right: 0
}

.align-lt { 
	text-align: left; 
	padding-left: 0; 
	margin-left: 0
}

h6.tic-prev {
	/* left: 0;*/
	padding-left: 25px;
	position: relative;
}

h6.tic-next {
	padding-right: 25px;
	position: relative;
	/* right: 0;*/
}

/* 
----------------------------------*/

.tic-school div h2 {
	margin-bottom: 0.5em;
}

.tic-school h5 {
	padding-left: 1.5em;
}

ul.list-group {
	margin-bottom: 3em;
}

.titleadj { /* h1. adjustment */
	font-size: 50px;
}

.school-intro {
	margin: 0 !important;
}

.is-table-row p {
	display: inline-block !important;
	font-size: 14px !important;
	margin-bottom: 1em !important;
	padding-right: 8px;
	text-align: justify;
}

.school-meta {
	display: table !important;
	margin: auto !important;
	width: 50% !important;
	border: 1px solid #DDD !important;
}

table.school-meta tbody tr td:last-child {
	color: #222 !important;
}

.school-meta tr td {
	white-space: nowrap;
}

.school-meta tr td:first-child {
	color: #4182AE !important;
	font-weight: 700 !important;
}

/* prevent table overflow of containing column div school-meta */

td {
	word-wrap: break-word;
	word-break: break-word;
}

/* = teaching experience & locations section
------------------------------------------------------------------------ */

.whitediv {
	background-color: #FFF !important;
	display: block;
	height: 3em;
}

#custom_html-8 {
	color: #FFF !important;
	font-size: 1.4em;
}

#custom_html-8 div {
	color: #FFF !important;
	margin: 2em;
}

/* = contact page
------------------------------------------------------------------------ */

.wpforms-submit {
	background-color: #0B8CC3 !important;
	color: #FFF !important;
	font-size: 20px !important;
	font-weight: 700 !important;
}

.wpforms-confirmation-container-full {
	margin: 24px 0 24px 0;
}

/* = faq */
.tic-q, .tic-a {
	margin: 0 !important;
	padding-left: 1.5em; /* hanging indent */
	text-indent: -2.2em;
}

/* MS Edge 40 */
@supports (-ms-ime-align:auto) {
	.tic-q, .tic-a {
	padding-left: 1.5em; /* hanging indent */
	text-indent: -1.2em;
	}
}

.tic-def { /* default */
	margin: 0 !important;
	padding-left: 1.5em; /* hanging indent */
	text-indent: -1.2em;
}

.tic-a {
	display: inline-block !important;
	margin-bottom: 50px !important;
}

p.tic-def span {
	font-weight: 700;
	margin-right: 20px !important;
    vertical-align: top;
}

p.tic-q span {
	color: red !important;
	font-weight: 700;
	margin-right: 20px !important;
    vertical-align: top;
}

p.tic-a span {
	color: green !important;
	font-weight: 700;
	margin: 0 20px 0 0;
}

/* = latest news sections
------------------------------------------------------------------------ */

#latest-news .section-header h3 {
	display: inline-block;
	margin-bottom: 1em;
}

#latest-news .section-description {
	color: #FFF !important;
	display: inline-block;
	font-size: 1.4em;
	margin-bottom: 1em;
	display:none;
}

/* adjust front page blog excerpts */
#latest-news .section-content .post .post-entry {
	padding: 0 50px 0 50px;
}

#latest-news .section-content .post h5 {
	margin: 0 20px 0 0;
}

/* = services
----------------------------------------------------------------------------------------*/
.service-title {
	margin-bottom: 0px;
}

/* css overlay */
.img-con, .service-entry {
	position: relative;
	width: 200px;
}

.image, .service-entry .img-responsive {
	display: block;
	height: auto;
	width: 100%;
}

.overlay {
	position: absolute;
	color: #FFF;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(66, 139, 202, 0.75);
	overflow: hidden;
	width: 100%;
	height: 0;
	transition: .5s ease;
	text-align: center;
}

.img-con:hover .overlay {
	height: 20%;
}

.img-txt {
	white-space: nowrap;
	color: white;
	font-size: 20px;
	position: absolute;
	overflow: hidden;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}

#services .section-header h3 {
	display: inline-block;
	margin-bottom: 1em;
}

#services .section-description {
	color: #0B8CC3 !important;
	font-size: 1.4em;
	display: inline-block;
	margin-bottom: 1em;
}

#services .section-header .section-description {
	line-height: 35px;
}

/* = team
----------------------------------------------------------------------------------------*/

#team .section-content h5 {
	font-size: 30px;
}

#custom_html-24 {
	padding-bottom: 80px;
}

/* = ef slider panels
---------------------------------------*/

/* all ef slider panels */

.master-slider {
	background: #FFFFFF !important;
}

/* wuhan - ef slider */

.ms-parent-id-7>.master-slider {
	background: #FFFFFF !important;
}

.ms-parent-id-2>.master-slider {
	background: #4182AE;/* mid-blue */
}

.master-slider {
	background: #4182AE;/* mid-blue */
}

/* = header image
------------------------------------------------------------------------*/
/* default */
div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/cropped-bull-ring.jpg");
	background-position: center;
	background-repeat: no-repeat;
}

.blog div.bottom-header.blog, .single-post div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/11/writing-a-blog.jpg");
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-250 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/zhuzhou-hunan_1200.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

/* job board */
.page-id-5244 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/job-board-room_2000-1.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

/* panda */
.page-id-5510 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/panda-tree_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

/* temp images */
.page-id-6751 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/tianzishan_wulingyuan_zhangjiajie_2000.jpg");
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6756 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/11/beijing-forbidden-city_2000.jpg");
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-7297 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/cropped-ft-gtwall-more_2000.jpg");
	background-position: center;
	background-repeat: no-repeat;
}

/* default blog header */
.postid-7148 div.bottom-header.blog, .postid-7140 div.bottom-header.blog, .postid-7138 div.bottom-header.blog, .postid-7136 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/job-board-room_2000-1.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

/* schools */
.page-id-6345 div.bottom-header.blog, .page-id-7800 div.bottom-header.blog, .page-id-7801 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/hunan-changsho_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6354 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/hunan-dizhi-middle-school-2_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6361 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/hongshan-wuhan_2_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6363 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/11/jiangsu-monument_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6366 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/beijing_skyline_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6380 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/regal-school-building_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6383 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/peking-uni-preschool_1900t.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6385 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/shaodong-gate_1900.png") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6386 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/11/ef-school-blossom_2000.png") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6387 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/east-west-river-kindergarten_1900s.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6388 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/11/jiangsu-clong_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6389 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/sunflower-playground_1900.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6390 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/no-eight-school_1900.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

/* wuhan region */                     
.page-id-6746 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/11/wuhan-city_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6753 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/jiangsu_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6813 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/xiangxi-yasi_2000-3.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-6814 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/10/xian-voc-tech-college_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-7181 div.bottom-header.blog, .page-id-7174 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/11/yichang-in-hubei_2000.jpg");
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-7642 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/11/beijing-web-int-school_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

.page-id-7666 div.bottom-header.blog {
	background-attachment: fixed;
	background-image: url("http://teach-in-china.co.uk/wp-content/uploads/2017/11/careers-fair_2000.jpg") !important;
	background-position: center;
	background-repeat: no-repeat;
}

/* = previous site page workarounds 
------------------------------------------------------------------------*/
.wpcf7 p {
	color: #333 !important;
	display: inline-block;
	padding: 0 0 1.4em 0 !important;
	width: 100%;
}

.wpb_wrapper element.style, .wpb_wrapper>p>strong {
	color: #0073be !important;
	font-family: Lato, Sans-serif !important;
	font-size: 24px;
	font-weight: 400;
	text-align: left !important;
	font-style: normal;
}

#post-5510 p>strong:first-of-type {
	color: #4182AE !important;
	font-family: Poppins !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 34px !important;
}

.vc_column-inner p>strong:first-of-type {
	color: #4182AE !important;
	font-family: Poppins !important;
	font-size: 40px !important;
	font-weight: 700 !important;
	line-height: 64px !important;
}

a.vc_general, .vc_btn3 {
	color: #FFF !important;
}

.vc_btn3.vc_btn3-color-blue, .vc_btn3.vc_btn3-color-blue.vc_btn3-style-flat {
	background-color: #4182AE !important;
	color: #fff !important;
	font-size: 20px;
	font-weight: strong;
}

/* panda special - temp */
h2.vc_custom_heading.latest_title {
	color: #4182AE !important;
	font-family: Poppins !important;
	font-size: 60px !important;
	font-weight: 700 !important;
	line-height: 84px !important;
	margin-bottom: 60px !important;
}

.wpb_wrapper>p>strong {
	display: inline-block;
	margin-bottom: 30px !important;
	margin-top: 20px !important;
}

.wpb_wrapper>p {
	font-family: Lato, Sans-serif !important;
	text-align: justify !important;
	font-weight: 400;
	font-style: normal;
}


/* = footer
------------------------------------------------------------------------ */
footer#footer {
	color: #FFFFFF !important;
}

footer#footer ul li, footer#footer ul li a, footer#footer p {
    color: #AAA !important;
    font-size: 16px;
}

footer#footer .col-md-3 {
	margin-bottom: 2em;
}

#footer .widget .widget-title h5, #footer .widget .widget-title h5 a {
	color: #FFA500;
}

#footer ul li a:hover, ul li:before:hover {
	color: #FFA500 !important;
}

p.fn { 
	line-height: 10px;
	margin-top: 0; 
	margin-bottom: 0;
}

p.phone span {
	margin-left: 20px;
}

p.mail span, p.hour span {
	margin-left: 20px;
}

.addr, .phone, .mail, .hour {
	color: #AAA;
	font-size: 18px;
	left: 0;
	padding-right: 0.5em;
	position: relative;
	top: 10px;
}
 
p.addr:before {
	content: "\f015";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	position: absolute;
	text-decoration: inherit;
}

p.phone:before {
	content: "\f095";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	position: absolute;
	text-decoration: inherit;
}

p.mail:before {
	content: "\f003";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	position: absolute;
	text-decoration: inherit;
}

p.hour:before {
	content: "\f017";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	position: absolute;
	text-decoration: inherit;
}

a#cn-accept-cookie {
	height: 26px;
}

/* end
------------------------------------------------------------------------ */
