/*
 Theme Name:   ODtheme
 Description:  Ondisplay.ca 2017
 Author:       Ondisplay.ca - Colin Erskine
 Version:      1.0.0
*/

/* custom CSS */
/* -------------------------------- */

/*
body.admin-bar #navtoggles  {margin-top: 32px;}

*/

html {
	overflow-y: scroll;
}
body, h1, h2, h3, h4, h5, p {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 20px;
	background: white;
	background: transparent;
	letter-spacing: .01mm;
}
input{
	color: #555;
}
img{
	max-width: 100%;
	height:auto;
}
a{
	text-decoration: none;
	color: #cf5e4e; /*pink*/
}
a:focus, a:hover{
	color: #815168; /*purple*/
	text-decoration: none;
	/*text-shadow: 1px 1px 4px rgba(187,26,3,0.7);*/
}
ul{
	list-style: none;
	padding:0;
}

h1, h2{
	font-weight:normal;
	font-size: 55px;
	letter-spacing: .01em;
	margin-top:50px;
}
h3{
	font-size: 35px;
	padding-bottom:1em;
}
h1::after, h2::after{
	color:white;
	display: block;
    content: "\002014\002014\002014";
    letter-spacing: -.08em;
}

	@media (max-width:500px){
		h1,h2{
			font-size:40px;
		}
		h3{
			font-size: 30px;
		}
	}
select{
	color: #333;
}
.list-title{
	color: #cf5e4e;
}
.blog .list-title{
	color: #815168;
}


button:hover, .button:hover {
	background: transparent;
}

#primary-navigation .admin_nav a{
	font-size: 12px;
	color: #CF5E4E;
	background: #ffc236;
	padding:5px 10px;

}
.expanded-nav #siteheader{
	padding: 0;
}
.expanded-nav{
	overflow:hidden;
	height:100vh !important;
}
.expanded-nav #primary-navigation{
	border-radius: 0;
	background: #cf5e4e;
	width: 100%;
    right:0;
    height:100vh;
    overflow: auto;
}
#primary-navigation {
	z-index: 9999;
	border-radius: 0 0px 12px 12px;
	background: #fff;
	position: absolute;
	right: 40px;
	margin:0;
	height:auto;
}
	#primary-navigation a{
		font-size: 35px;
		font-weight:normal;
		letter-spacing: .2mm;
	}
	#primary-navigation a:focus, #primary-navigation a:hover{
		font-weight: bold;
		text-decoration:none;
		letter-spacing: .15mm;
		text-shadow: none;
	}
	#primary-navigation .language-toggle ul a{
		color: #7f7f7f;
	}
	#primary-navigation li.wpml-ls-current-language a{
		color: #801517;
	}

	#primary-navigation .logo{
    width: 245px;
    height: 147px;
    padding-right: 20px;
		margin-right: 40px;
		margin-bottom: 25px;
	}
	.expanded-nav #primary-navigation .logo{
		max-width: 245px;
		margin-right:0;
	}

#navigation{
	position: absolute;
	z-index: 9998;
	min-height: 100%;
	text-align: center;
	background: white
}

#main-lang-toggle{
	padding:0;
	margin:0;
	position: absolute;
    right: 0;
    top: 55px;
}
.expanded-nav #main-lang-toggle{
	display:none;
}
#primary-navigation #main-lang-toggle a span{
	font-size: 15px;
}

.expanded-nav #primary-navigation div{
	margin-bottom:10px;
}
#primary-navigation .social-media img{
	box-sizing: content-box;
	padding: 10px 10px;
	margin: auto 10px;
}
section.odlayouts > .row:first-child, #footer, #header-image{
	padding-top:70px;
}
section.odlayouts > .row:last-child, #footer, #header-image{
	padding-bottom:70px;
}
.home #header-image{
	padding-top:0;
	padding-bottom:0;
}
.home #header-image::before{
	display: none !important;
}

.ms-membership-form-wrapper legend,
.ms-membership-form-wrapper #wpwrap .wpmui-field-label, body .wpmui-field-label{
	color: white;
}
.ms-account-wrapper h2 a,
.wpmui-checkbox-caption a,
a.wpmui-link {
	color:#ffc236;
	text-decoration:underline;

}
#header-image{
	position:relative;
    color:white !important;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

	body .wpmui-field-input.button, body .wpmui-field-input.button-primary,
	div#header-image a.login_button{
		background: white;
		padding: 5px 15px;
		border-radius: 5px;
		color: black;
	}


	.blog #header-image, .single #header-image{
		min-height:75vh;
	}
	#header-image::before{
		content: "";
	    display: block;
	    height: 100%;
	    position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	    background-color: rgba(187,26,3,.7);
	}
	#header-content{

	}
.home #header-image{
	min-height: 0;
}




@media (max-width: 900px){
	#primary-navigation{
		position: relative;
	    width: 100%;
	    display: block;
	    left: 0;
	    top: 0;
	    border-radius: 0;
	}
	#primary-navigation .logo{
		padding-right: 40px;
		margin:0 0 25px 0;
	}
	.expanded-nav #nav-toggle {
	    right: 5px;
	}
}


#keystone-sponsor .row:first-child{
    padding-top: 0;
}
.half-right-content, .half-left-content{
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: cover;
}
.half-left-content{
	background-position: bottom left;
}
.odlayouts.half-right-content .row:first-child, .odlayouts.half-right-content .row:last-child,
.odlayouts.half-left-content .row:first-child, .odlayouts.half-left-content .row:last-child{
	padding: 0 0;
}

#keystone-sponsor .logo{
	background:white;
	padding: 20px 15% 20px 20px;
	display: block;
	box-shadow: -10px 10px 20px rgba(0,0,0,.5);
}

#keystone-sponsor #sponsor-message h2, #keystone-sponsor #sponsor-message h2 + p{
	padding-left: 20px;
}
#sponsor-message h2 ~ p{
	max-width: 560px;
	padding-right:40px;
}


#menu-item-683{display:none;}
.featurelist {
	list-style: none;
	counter-reset: imagecount;
	counter-reset: contentcount;
}

	.featurelist li{
		margin-bottom:90px;
	}
		.featurelist li:first-child{
		}
		.featurelist.numberedlist li:first-child, .featurelist.numberedlist li{
		}
		@media (min-width: 992px){ /* on large screens */
			.featurelist.numberedlist .imageholder+div::before{ /* same as above without */
				display:block;
				content: counter(featurelist);
				counter-increment: featurelist;
			    position: absolute;
			    z-index:1000;
			    background: rgba(255,255,255,.95);
			    top: 0;
				width: 85px;
				height: 85px;
				font-size: 50px;
				text-align: center;
				padding-top: 5px;
			    border-radius: 50%;
			    border: 1px solid #ffcc4f;
			    color: #ffcc4f;
			    /* behavior: url(PIE.htc); */
			}
			.featurelist.numberedlist .contentbox{
				margin-top: 100px;
			}
		}

	.featurelist li img{
	}
		.featurelist h2{
			margin-top:0;
		}
			.featurelist h2::after{
				font-size:50%;
			}
		.featurelist li:nth-child(even){
			float:right;
		}
			.featurelist li:nth-child(odd) img{
				/*position: absolute;
    			right: -124%;*/
				box-shadow: 40px 40px 0 #cf5e4e;
			}
			.blog .featurelist li:nth-child(odd) img{
				box-shadow: 40px 40px 0 #815168;
			}
		.featurelist li:nth-child(odd){
			float:left;
		}
			.featurelist li:nth-child(even) img{
				/*position: absolute;
    			left: -124%;*/
				box-shadow: -40px 40px 0 #cf5e4e;
			}
			.blog .featurelist li:nth-child(even) img{
				box-shadow: -40px 40px 0 #815168;
			}
	.featurelist .contentbox{
	}
		.featurelist li:nth-child(odd) .contentbox{

		}
		.featurelist li:nth-child(even) .contentbox{

		}


@media (max-width: 600px){
	.featurelist li:nth-child(even), .featurelist li:nth-child(odd){
		float:none;
		width: 100%;
		padding: 10px 10px;
	}
	.featurelist li:nth-child(even) img, .featurelist li:nth-child(odd) img{
		position: relative;
	    left: 0;
	    right: 0;
		box-shadow: 27px 25px 0 #cf5e4e;
		padding: 0;
		max-width: 100%;
	}
	.blog .featurelist li:nth-child(even) img, .blog .featurelist li:nth-child(odd) img{
		box-shadow: 27px 25px 0 #815168;
	}
}

#menu-item-683{display:none;}
.featurelist {
	list-style: none;
	counter-reset: featurelist
}

	.featurelist li{
	}
		.featurelist li:first-child{
			padding-top:0;
		}
		.featurelist.numberedlist li:first-child, .featurelist.numberedlist li{
		}
		@media (max-width: 991px){ /* small screens */
			.featurelist.numberedlist .imageholder::before{
				content: counter(featurelist);
			    counter-increment: featurelist;
			    position: absolute;
			    z-index:1000;
			    background: rgba(255,255,255,.95);
			    top: 0;
			    left: 0;
			    width: 85px;
				height: 85px;
				font-size: 50px;
				text-align: center;
				padding-top: 5px;
			    border-radius: 50%;
			    border: 1px solid #ffcc4f;
			    color: #ffcc4f;
			    behavior: url(PIE.htc);
			}
			.featurelist.numberedlist .imageholder img {
			    margin-top: 30px;
			    margin-bottom: 30px;
			}
			.featurelist .imageholder img {
			    margin-bottom: 30px;
			}
			.featurelist li{
				margin-bottom:20px;
			}

		}
			}
	.featurelist li img{
		margin-bottom:50px;
	}
		.featurelist h2{
			margin-top:0;
		}
			.featurelist h2::after{
				font-size:50%;
			}
		.featurelist li:nth-child(even){
			float:right;
		}
			.featurelist li:nth-child(odd) img{
				/*position: absolute;
    			right: -124%;*/
				box-shadow: 40px 40px 0 #cf5e4e;
			}
			.blog .featurelist li:nth-child(odd) img{
				box-shadow: 40px 40px 0 #815168;
			}
		.featurelist li:nth-child(odd){
			float:left;
		}
			.featurelist li:nth-child(even) img{
				/*position: absolute;
    			left: -124%;*/
				box-shadow: -40px 40px 0 #cf5e4e;
			}
			.blog .featurelist li:nth-child(even) img{
				box-shadow: -40px 40px 0 #815168;
			}
	.featurelist .contentbox{
	}
		.featurelist li:nth-child(odd) .contentbox{

		}
		.featurelist li:nth-child(even) .contentbox{

		}
@media (max-width: 600px){
	.featurelist li:nth-child(even), .featurelist li:nth-child(odd){
		float:none;
		width: 100%;
		padding: 10px 10px;
	}
	.featurelist li:nth-child(even) img, .featurelist li:nth-child(odd) img{
		position: relative;
	    left: 0;
	    right: 0;
		box-shadow: 27px 25px 0 #cf5e4e;
		padding: 0;
		max-width: 100%;
	}
		.featurelist.numberedlist .imageholder img{
			margin-top:30px;
			margin-bottom:30px;
		}
	.blog .featurelist li:nth-child(even) img, .blog .featurelist li:nth-child(odd) img{
		box-shadow: 27px 25px 0 #815168;
	}
}

/* single post */
.post_nav_items{
	margin-top:30px;
	margin-bottom: 30px;
}
.entry-header{
	padding-bottom:10px;
}
	.entry-header p{
		font-style: italic;
		color: #ccc;
	}
.post-header{
	margin-bottom:30px;
}
.post-header .img-container{
	max-height: 55vh;
	overflow:hidden;
}
.title-deck{
	background: #815168;

}
.single h1{
	font-size:35px;
	color:white;
	margin-top:20px;
}
	.single h1::after{
		content:"";
	}


#sponsor-message{
	background: rgba(129,81,104,0.97);
	padding: 60px 0 70px 30px;
}
#hp-ourstudents .half-left{
	background: rgba(207,94,78,.9);
	padding: 60px 30px 70px 10%;
}
#hp-ourstudents #quotearea{
	min-height:675px;
}

#intro-to-mb h2::after{
	color: #DA4453;
}

.container{
	padding-right: 20px;
	padding-left: 20px;
	max-width:1920px;
	width: 100% !important; /* repalce in sass */
}
.half-left  img,
.half-right img {
  height: auto;
  width: 100%;
}
.half-right{

}
.half-left{

}
section#executives .row {
    padding-top: 0;
    padding-bottom: 0;
}
#quoterotator{
	color:white;
	font-size:24px;
}


.hp-schools-section {
	background-image: url('images/schools-bg3.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: bottom center;
}
	.hp-schools-box-container a:hover{
		color: #b9969a;
	}

.hp-provinces-section {
	background-color: #fff;
}


.hp-socialmedia-section img {
	max-width: 70px;
	max-height: 70px;
	margin-right: 20px;
}

.hp-socialmedia-section img:nth-child(3) {
	margin-right: 0px;
}

.hp-students-section {
	/* background-image: url('images/students-bg.jpg'); */
	background-size: cover;
	background-repeat: no-repeat;
	background-position: bottom center;
}

.hp-gibralter-img {
	width: 100%;
}




.pagemainheader{
	min-height: 100%;
	height:100%;
	background-size: contain;
	background-repeat: no-repeat;
}
.pagemainheader .row{
	    padding-top: 0;
    padding-bottom: 0;
}
.hp-province-icon {
	margin-top: 40px;
	margin-bottom: 20px;
	width: 90px;
}

.half_and_half{} /* section divided in 2 */
	.odlayouts .half_and_half .row{
		padding-top:0;
		padding-bottom:0;
	}

	.half_and_half .half-image{
		min-height: 100vh;
		background-repeat: no-repeat;
		background-position: 50% 50%;
		background-size: cover;
	}
	.half_and_half .half-content{
		padding-top:0;
		padding-bottom:0;
	}
	.half_and_half .content_box{
		padding-top:70px;
		padding-bottom:70px;
	}

	.left-half-image, .right-half-image{

	}
	.left-half-content, .right-half-content{

	}

#goals-and-objectives .row div h2:first-child img{
	margin: 30px 0;
}
#goals-and-objectives .row div:nth-child(odd) h2:first-child img{
	box-shadow: 40px 40px 0 #cf5e4e;
}
#goals-and-objectives .row div:nth-child(even) h2:first-child img{
	box-shadow: -40px -40px 0 #cf5e4e;
}/*
#goals-and-objectives .row div h2:first-child img{
	box-shadow: 40px -40px 0 #cf5e4e;
}
#goals-and-objectives .row div h2:first-child img{
	box-shadow: -40px 40px 0 #cf5e4e;
}
#goals-and-objectives .row div h2:first-child img{
	box-shadow: 40px 40px 0 #cf5e4e;
}*/


/*Contact page */
div#sociallinks a img {
    margin-right: 15px;
}
.btn-group-lg>.btn, .btn-lg{
	color: #815168;
	font-weight:bold;
	padding: 20px 30px;
	background-color: white;
	border-radius: 10px;
	border-color:white;
	margin-top:15px;

}
input[type=submit]:hover {
     background-position: 0px;
}

.home-section {
	/* padding: 50px 0px 50px 0px; /* replace this padding for all rows */
}

#footer, .hp-socialmedia-section{
	background-color: #ffb604;
	background: #FF8008;  /* fallback for old browsers */
	background: -webkit-linear-gradient(to bottom, #FFC837, #ffb133);  /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to bottom, #FFC837, #ffb133); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.footer-section h3 {
	margin-top: 0px;
	padding-bottom: 10px;
}
.footer-section h3,
.footer-section a,
.footer-section p {
	font-size:24px;
	color: #292b2b;
}
.footer-section a,
.footer-section p{
	font-size:16px;
}

.footer-section ul {
	list-style: none;
	padding-left: 0px;
}


.footer-logo {
	max-width: 200px;
}

.footer-social-icons-container {
	margin-top: 25px;
	margin-left: 35px;
}
@media (max-width: 767px){
	.footer-social-icons-container {
		margin-left: 5px;
		margin-bottom: 20px;
	}
}

.footer-social-icon {
	width: 30px;
	margin-right: 10px;
}

.hp-videosection-overlay {
	position: absolute;
    top: 300px;
	left: 50%;
    transform: translate(-50%, 0);
	width: 100%;
	z-index: 1000;

	text-align: center;
	padding: 0px 15px 0px 15px;
}

.hp-students-text-container {
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: rgba(76,7,40,.8);
}


.logo {
}

#bgvid-container {
	position: relative;
	padding:0;
}

.hp-schools-section-text {
	text-align: right;
	padding-right: 30px;
}
h1.hp-schools-section-text {
    margin-top: 55px;
}

#school-facts h2{
	color: rgba(76,7,40,0.7);
	text-align: center;
}
#school-facts p{
	text-align: center;
	color: #292b2b;
	/*text-shadow: 0px 1px rgba(255,255,255,.7);*/
	float: right;
}
#school-facts h2::after{
	color: rgba(76,7,40,0.7);
}

.adminonly{
	position:absolute;
	z-index: 1000;
	top:0; left:0;
	font-variant: small-caps;
}

@media (min-width:990px){
	.left-titled, .right-titled{
		display: flex;
	    align-items: center;
	}

	.left-title h2::after, .right-title h2::after{
		content:"";
		margin-bottom: 50px;
	}
	.right-title{
		border-left: 2px solid white;
	}
	.left-title{
		border-right: 2px solid white;
	}

	.left-title{
		margin-right:30px;
		padding-right: 40px;
		text-align: right;
	}
}

div#quoterotator span {
    display: inline-block;
    margin-bottom: 20px;
}

#membership-browser{
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: contain;
	padding-bottom: 35vh;
}
	ul.archive-list{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;

	}
	.archive-list li{
	    text-align:center;
	    padding: 10px;
	    height: 275px;
	    display:flex;
	    flex-direction: column;
	    justify-content: center;
	}
	.archive-list h4{
		margin-top: 30px;
    	margin-bottom: 30px;
    	color: #999;
	}
	.archive-list .logobox{
		min-height: 175px;
		height: 175px;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
	}
	.archive-list img {
		width: auto;
		height: auto;
		max-height: 100%;
		max-width: 100%;
	}


.hp-header-img {
	background-color: rgba(255,255,255,0.0);
	padding: 20px;
	max-width: 210px;
}

.hp-head-h1-first, .hp-head-h1-second, .hp-head-p {
	color: #fff;
}

.hp-head-h1-first {
	font-size: 75px;
	letter-spacing: 3px;
	font-weight: normal;
	margin-top: 60px;
	margin-bottom: 0px;
}

.hp-head-h1-second {
	font-size: 75px;
	margin-top: 0px;
	margin-bottom: 30px;
}

.hp-head-p {
	font-size: 25px;
	display: inline-block;
}

.hp-head-p {
	margin-right: 30px;
	animation: blur 1.75s ease-out 1;
	-webkit-animation-delay: 2s; /* Safari 4.0 - 8.0 */
    animation-delay: 2s;
}

p.hp-head-p-second {
	margin-right: 0px;
	animation: blur 1.75s ease-out 1;
	-webkit-animation-delay: 2.5s; /* Safari 4.0 - 8.0 */
    animation-delay: 2.5s;
}

.hp-head-p:hover{
	text-shadow:0px 0px 10px #fff,
      0px 0px 10px #fff,
      0px 0px 25px #fff,
      0px 0px 50px #fff,
      0px 10px 50px #7B96B8,
      0px -10px 50px #7B96B8;
}

@keyframes blur {
  from {
    text-shadow:0px 0px 10px #fff,
      0px 0px 10px #fff,
      0px 0px 25px #fff,
      0px 0px 25px #fff,
      0px 0px 25px #fff,
      0px 0px 50px #fff,
      0px 0px 50px #fff,
      0px 0px 50px #fff,
      0px 10px 50px #7B96B8,
      0px 10px 50px #7B96B8,
      0px -10px 50px #7B96B8,
      0px -10px 50px #7B96B8;
  }
}

div#fancybox-content {
    border: none;
}

.bgvid-trans-foreground-111 {
	position: absolute;
	display: block;
    top: 0;
	left: 0;
	height: 100%;
	width: 100%;
    background-color: rgba(0,0,0,0.3);
}

.hp-paragraph {
	font-size: 24px;
}

.text-white {
	color: #fff;
}

.hp-schools-box {
	text-align: center;
	height: 200px;
	color: black;
	position: relative;
}


div.pad-bottom {
	padding-bottom: 70px;
}

.hp-gibraltar-section {
	height: 700px;
	background-position: bottom center;
}

/* PURPLE */
.hp-schools-box-one, .hp-schools-box-four, .hp-schools-box-five,
.hp-schools-box:nth-child(1), .hp-schools-box:nth-child(4), .hp-schools-box:nth-child(5) {
	color: #fff;
    background-color: rgba(76,7,40,0.7);
}

/* RED */
.hp-schools-box-two, .hp-schools-box-three, .hp-schools-box-six,
.hp-schools-box:nth-child(2), .hp-schools-box:nth-child(3), .hp-schools-box:nth-child(6) {
	color: #fff;
    background-color: rgba(187,26,3,0.7);
}

@media (max-width: 991px){

	/* PURPLE */
	.hp-schools-box-one, .hp-schools-box-three, .hp-schools-box-five,
	.hp-schools-box:nth-child(1), .hp-schools-box:nth-child(4), .hp-schools-box:nth-child(5) {
		color: #fff;
	    background-color: rgba(76,7,40,0.7);
	}

	/* RED */
	.hp-schools-box-two, .hp-schools-box-four, .hp-schools-box-six,
	.hp-schools-box:nth-child(2), .hp-schools-box:nth-child(3), .hp-schools-box:nth-child(6) {
		color: #fff;
	    background-color: rgba(187,26,3,0.7);
	}

}

@media (max-width: 767px) {
	/* PURPLE */
	.hp-schools-box-one, .hp-schools-box-four, .hp-schools-box-five,
	.hp-schools-box:nth-child(1), .hp-schools-box:nth-child(4), .hp-schools-box:nth-child(5) {
		color: #fff;
	    background-color: rgba(76,7,40,0.7);
	}

	/* RED */
	.hp-schools-box-two, .hp-schools-box-three, .hp-schools-box-six,
	.hp-schools-box:nth-child(2), .hp-schools-box:nth-child(3), .hp-schools-box:nth-child(6){
		color: #fff;
	    background-color: rgba(187,26,3,0.7);
	}
}
@media (min-width: 992px)
{
	.hp-students-text-container p {
		margin-left: 50px;
		margin-right: 50px;
	}

	.hp-students-text-container {
		padding-top: 60px;
		padding-bottom: 60px;
	}
}

.hp-schools-box-container {
	padding: 0px;
}

.hp-schools-box p {
	position: relative;
	top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* START VIDEO SECTION */
video#bgvid {
	position: relative;

    width: 100%;
    height: auto;

	z-index: -1000;

    background: url(images/header-bg.jpg) no-repeat;
    background-size: cover;
}

video#bgvid { display: block; }

@media screen and (max-device-width: 800px) {
    video#bgvid {
         background: url(images/header-bg.jpg) #000 no-repeat center center fixed;
    }
    #bgvid {
        display: none;
    }
}
/* END VIDEO SECTION */

@media (max-width: 1400px){
	.hp-videosection-overlay {
		top: 180px;
	}
}

@media (max-width: 1200px){
	.logo-hide-mobile {
		display: none;
	}

	.hp-videosection-overlay {
		top: 180px;
	}
}

@media (max-width: 1000px)
{
	.hp-videosection-overlay {
		top: 180px;
	}
}

@media (max-width: 991px)
{
	h1.hp-schools-section-text{
		margin-top:0;
	}
	.hp-schools-section-text {
		text-align: center;
		max-width: none !important;
		float: none !important;
		padding-right: 0 !important;
	}

	.hp-schools-box-container {
		margin-top: 20px;
	}
}

@media (max-width: 900px)
{
	.hp-videosection-overlay {
		top: 50px;
	}
}

@media (max-width: 650px)
{
	h1.hp-head-h1-first {
		margin-top: 0px;
	}
	.hp-videosection-overlay {
		top: 100px;
	}
}

@media (max-width: 550px)
{
	h1.hp-head-h1-first {
		font-size: 25px;
	}

	h1.hp-head-h1-second {
		font-size: 32px;
	}
}

@media (max-width: 440px)
{
	.hp-social-icon {
		width: 45px;
	}
}

@media (max-width: 767px)
{
	.footer-column {
		text-align: center;
	}
}

@media (min-width: 1201px)
{
	.mobile-logo-section {
		display: none;
	}
}

@media (min-width: 768px) and (max-width: 991px)
{
	.footer-social-icon {
		width: 25px;
	}
}

@media (max-width: 385px) {
	p.hp-head-p-second {
		display: none;
	}
}


.wpml-ls-statics-shortcode_actions, .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu, .wpml-ls-statics-shortcode_actions a,
.wpml-ls-statics-shortcode_actions a, .wpml-ls-statics-shortcode_actions .wpml-ls-current-language>a,
.wpml-ls-statics-shortcode_actions .wpml-ls-current-language:hover>a, .wpml-ls-statics-shortcode_actions .wpml-ls-current-language>a:focus,
.wpml-ls-statics-shortcode_actions a:hover, .wpml-ls-statics-shortcode_actions a:focus{
	background: transparent !important;
	border: 0;
}

.wpml-ls-legacy-list-horizontal a{
	padding-left:0;
	padding-right:0;
}

li.icl-en::after{


}

/* ANIMATED X */
.navbar-toggle.x .icon-bar:nth-of-type(1) {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transform-origin: 10% 10%;
	-ms-transform-origin: 10% 10%;
	transform-origin: 10% 10%;
}

.navbar-toggle.x .icon-bar:nth-of-type(2) {
	opacity: 0;
	filter: alpha(opacity=0);
}

.navbar-toggle.x .icon-bar:nth-of-type(3) {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-transform-origin: 10% 90%;
	-ms-transform-origin: 10% 90%;
	transform-origin: 10% 90%;
}

/* ANIMATED X COLLAPSED */
.navbar-toggle.x.collapsed .icon-bar:nth-of-type(1) {
	-webkit-transform: rotate(0);
	-ms-transform: rotate(0);
	transform: rotate(0);
}

.navbar-toggle.x.collapsed .icon-bar:nth-of-type(2) {
	opacity: 1;
	filter: alpha(opacity=100);
}

.navbar-toggle.x.collapsed .icon-bar:nth-of-type(3) {
	-webkit-transform: rotate(0);
	-ms-transform: rotate(0);
	transform: rotate(0);
}
/* END ANIMATED X */



/* FORCE NAVBAR-TOGGLE */

.navbar-header {
	float: none;
}

.navbar-toggle {
	display: block;
}

.navbar-collapse {
	box-shadow: none;
}

.navbar-collapse.collapse {
	display: none !important;
}

.navbar-nav {
	float: none !important;
	margin: 7.5px -15px;
}

.navbar-nav > li {
	float: none;
}

.navbar-nav > li > a {
	padding-top: 10px;
	padding-bottom: 10px;
}

.navbar-collapse.collapse.in {
	display: block !important;
}

.navbar-brand {
  font-size:14px;
  float:none;
}
#primary-navigation .navbar-brand>img{
	display:inline;
}
#primary-navigation .navbar{
	border-radius: 0;
	margin-bottom: 0px;
	padding-top:20px;
	max-width: 100%;
}

.navbar-default{
	background: none;
	border: 0;
	text-align: center;
	padding-top:20px;
}

#primary-navigation .navbar a{
	color:white;
}
#nav-toggle{
	position:absolute;
	margin:0;
    right: 0;
    top: 30px;
}
.expanded-nav #nav-toggle{
	right: 30px;
}
@media (max-width: 900px){
	.expanded-nav #nav-toggle{
		right: 5px;
	}
}
.expanded-nav .navbar-default .navbar-toggle .icon-bar{
	background-color: #fff;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover{
	background-color: transparent;
}
.navbar-default .navbar-toggle, .navbar-default .navbar-collapse, .navbar-default .navbar-form{border: 0;}



/* Calendars */
/* simple calendar */
.simcal-default-calendar-grid>table thead th{
	color: rgba(187,26,3,1) !important;
}
.simcal-default-calendar-grid>table tbody td{
	border-right: 1px solid white;
    border-left: 1px solid white;
    border-bottom: 1px solid white;
}

.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-void, .simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-void:hover{
	background-color: transparent !important;
}

/* Member Management */
/* begin DEBUG - DELETE * /
#header-image{display: none;}
/* end DEBUG - DELETE */

.switcher {
    text-align: center;
    background: #ffc236;
    padding: 20px 40px;
	margin-bottom: 20px;
}
	.switcher h3{
		padding-bottom:0;
	}
	.switcher select{
		margin-bottom:10px;
	}
.warn {
	font-size: 16px;
	color: #ffc236; /* yellow/gold */
	font-weight:bold;
	text-decoration: none !important;
}
.popper button::before{
	content: " + ";
}
.switcher .warn{
	color: white;
}

.user_browser{
	background: #eef;
	padding:5px;
}
	.user_browser td, .user_browser th{
		padding: 3px 5px;
	}

.user_info{
	text-align:center;
}

.institute_thumb{
	max-width:300px;
	max-height:140px;
	width:auto;
	height: auto;
	margin: 0 auto;
	display: block;
}
#memeber_editor select{
}
#member_editor select option:checked{
	display:none;
}

#member_editor select.warn{
	background: #ffdddd;
	border: 2px solid red;
}
#member_editor select.warn option{
	background: white;
}

.submission-area{
	background: rgba(255,194,54,.4);
	padding: 10px 15px;

}
.user_notes textarea{
	margin-bottom:10px;
}
	.submission-area h4{
		text-align: center;
		font-weight:bold;
	}
	.submit-container{
		text-align:right;
		padding:20px 0;
	}

.the-comment-list{
	padding-left: 15px;
}
.comment .comment-content{
	font-size: 12pt;
    margin-bottom: 0;
    margin-top: 5px;
}
.comment{
    font-size: 12pt;
    border-bottom: 1px solid #ddd;
    margin-bottom: 5px;
}
	.comment ol.change-log{
		list-style: none;
	    margin-left: 0;
	    padding-left: 0;
	}
	.comment-date{
		font-size: 12pt;
	    font-style: italic;
	    font-weight: bold;
	}

/* tables */
.table-responsive{
	border:0;
}
table.tablesorter {
	background-color: transparent;
	margin:10px 0pt 15px;
	width: 100%;
	text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	border: 0;
	padding: 4px;
}

table.tablesorter thead tr th {
	background-color: #cf5e4e;
	color:white;
	padding: 3px;
	text-align: center;
	min-width:170px;
}
table.tablesorter tr th:first-child, table.tablesorter tr td:first-child {
    border-radius: 4px 0 0 4px;
}
table.tablesorter tr th:last-child, table.tablesorter tr td:last-child {
    border-radius: 0 4px 4px 0;
}
table.tablesorter thead tr .header {
	background-image: url(images/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter tbody td {
	color: #333;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}
table.tablesorter tbody tr.odd td {
	background-color: transparent;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(images/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(images/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
	background-color: rgba(207, 94, 78, .8);
	max-width: 33%;
}
table.tablesorter tbody tr td{
	background-color: rgba(207, 94, 78, .1);
	vertical-align: middle;
    padding: 3px 10px;
}
table.tablesorter tbody tr:nth-child(odd) td{
	background-color: transparent;
}

/* ==========================
 Member List Page
========================== */

#members-list-search {
  padding: 5px;
  font-size: 1.75rem;
  font-weight: normal;
}

.tabulator {
	background-color: #fff;
}

.tabulator-row.tabulator-group.tabulator-group-level-0 {
  background-color: #c85444;
  color: #fff;
  border-color: #b35042;
}
.tabulator-row.tabulator-group.tabulator-group-level-0 span {
  color: #fff;
}
.tabulator-row.tabulator-group .tabulator-arrow {
  border-left-color: #000;
}
.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow {
  border-top-color: #000;
}

.tabulator,
.tabulator .tabulator-header .tabulator-col,
.tabulator .tabulator-header,
.tabulator-row .tabulator-cell {
	border-color: #b35042;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable {
  color: #000;
	background-color: #ffb133;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {
  cursor: pointer;
  background-color: #ffb133;
  color: #000;
}
div.tabulator-row.tabulator-selectable:hover {
	cursor: unset;
}
.tabulator-cell a {
	color: rgba(214, 0, 0, 1);
	text-decoration: underline;
}
.tabulator-cell a:hover {
	color:#000;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="none"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {
	border-bottom-color: #000;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="asc"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow,
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="asc"]:hover .tabulator-col-content .tabulator-col-sorter .tabulator-arrow
{
	border-bottom-color: #000;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="desc"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow,
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="desc"]:hover .tabulator-col-content .tabulator-col-sorter .tabulator-arrow
{
	border-top-color: #000;
}

.tabulator .tabulator-header .tabulator-col {
	background-color: #cf5e4e;
}
.tabulator-row.tabulator-row-even {
	background-color: #fdefd7;
}
.tabulator-row.tabulator-selectable:hover {
  background-color: #f9cd84;
  cursor: pointer;
}
@media (min-width: 880px) {
	body:not(.home) #header-image {
			min-height: 0;
			padding-top: 200px;
	}
}
