/* =========================================================================
GENERAL
========================================================================== */

	/* COLOR THEME
		LIGHT BLUE - #2199e8 / 519DD5
		DARK BLUE - #0F4584
		YELLOW - #ECB237
		DARK GRAY - #0B0B0B
		Middle gray - #757575;
		Light gray - #f5f5f5;
	*/
	/* font-family: 'Muli', sans-serif;	
	   font-family: 'Montserrat', sans-serif;
	*/

* {
	outline:none;
}	

.wrap {
	width:90%;
	max-width: 11000px;
	margin: 0 auto;
}

/* PADDINGS */
.padding-tb {
	padding-top: 5%;
	padding-bottom: 5%;
}
.padding-b {
	padding-bottom: 5%;
}
.bt-1 {
  border-top:1px solid rgba(14, 85, 162, .5);
}
/* TYPO */
.uppercase {
	text-transform: uppercase;
}


/* BUTTONS */
.blue-button, .yellow-button, .white-button, #search-button {
	font-family: 'Muli', sans-serif;	
} 
.blue-button {
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #2199e8;
	color:#2199e8;
}
.blue-button:hover {
	background-color: rgba(81, 157, 213, 0.5);
	color:#fff;
	transition: 0.3s background-color ease-in-out;
    -webkit-transition: 0.3s background-color ease-in-out;
    -moz-transition: 0.3s background-color ease-in-out;
    -o-transition: 0.3s background-color ease-in-out;
}
.yellow-button {
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #ECB237;
	color:#fff;
}
.yellow-button:hover {
	background-color: rgba(236, 178, 55, 0.5);
	color:#fff;
	transition: 0.3s background-color ease-in-out;
    -webkit-transition: 0.3s background-color ease-in-out;
    -moz-transition: 0.3s background-color ease-in-out;
    -o-transition: 0.3s background-color ease-in-out;
}
.white-button {
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #fff;
	color:#fff;
}

#search-button {    
	border: 1px solid #fff;
    border-top: 0;
	color:#fff;
	font-size: 12px;
	line-height:38px;
	padding:0 10px;
}

.view-all {
    clear: both;
    padding-top: 35px;
} 
.view-all .blue-button {
		padding: 20px;
		font-size: 20px;
}

/* TRANSPARENT LAYER */
.layer-b {
	background-color: rgba(0,0,0,0.5);
}

a {
	color:#519DD5;
}
a:hover {
	transition: 0.3s color ease-in-out;
    -webkit-transition: 0.3s color ease-in-out;
    -moz-transition: 0.3s color ease-in-out;
    -o-transition: 0.3s color ease-in-out;
}
ul,li{
	list-style-type:none;
}
p {
	color: rgba(130, 130, 130, 1);
	font-size: 17px;
}

p, button {
	font-family: 'Muli', sans-serif;
}
h1,h2,h3,h4,h5,h6, li, a {
	font-family: 'Montserrat', sans-serif;
}
blockquote  {
    padding: 0 0 0 20px !important; 
}
.last {
	border: none !important;
}
.fa-facebook:hover, .fa-twitter:hover, .fa-instagram:hover {
	color: #2199e8;
}

/* COLOR */

.gray-section{
	background-color: #f2f2f2;
	padding: 30px 0;
}
.white-section {
	background-color: #fff;
	padding: 30px 0;
}

/* Border */

.border-b {
	border-bottom: 2px solid #f5f5f5;
}

/* =========================================================================
MOBILE NAV
========================================================================== */
.logo {
	color:#fff;
}
.title-bar {
	background-color: #0E55A2;
	position: fixed;
    z-index: 10;
    width: 100%;
}
.off-canvas-wrapper {
	background-color: #0a0a0a;
}
.off-canvas.position-left {
	padding-top: 20px;
	background: transparent;
}
.off-canvas a {
	padding: 20px 10px;
	color: rgba(255,255,255, 0.8);
}
.off-canvas .title-bar-title {
	color:#fff;
}
#mobile-menu li {
	padding-bottom: 10px;
}
.js-off-canvas-exit {
	background: rgba(0, 0, 0, 0.5);
}
/* =========================================================================
DESKTOP NAV
========================================================================== */
.nav-desktop{
	background: -moz-linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0, rgba(0, 0, 0, 0.02) 100%);
	background: -webkit-linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0, rgba(0, 0, 0, 0.02) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0, rgba(0, 0, 0, 0.02) 100%);
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.nav-desktop {
	position: fixed;
	width: 100%;
	z-index: 11;
	border-bottom: 1px solid #fff;
}
.nav-desktop.yellow {
	background: #0E55A2;
}

.top-bar ul li a{
	color: rgba(255, 255, 255, 1);
	font-family: 'Montserrat', sans-serif;
}
.top-bar ul li a:hover {
	color: rgba(33, 153, 232, 1);
	transition: 0.3s color ease-in-out;
    -webkit-transition: 0.3s color ease-in-out;
    -moz-transition: 0.3s color ease-in-out;
    -o-transition: 0.3s color ease-in-out;
}
.top-bar-left .logo a{
	font-size:0;
	height: 90px;
 	cursor: pointer;
 	padding:0;
}

	/* Small & Medium only */
	@media screen and (max-width: 63.9375em) {
		.top-bar {
			display: none !important;
		}
	}
	@media screen and (max-width: 1200px){
		.top-bar-left .logo a {
			width: 160px;
			background: url(../img/logo.svg) left center / 140px no-repeat;
		}
	}
	@media screen and (min-width: 1201px){
		.top-bar-left .logo a {
			width: 210px;
			background: url(../img/logo.svg) left center / 140px no-repeat;
		}
	}
.top-bar ul {
	background: transparent;
}
.top-bar-right {
  position:relative;
  flex:1;
}
.top-bar-right .menu-1 {
	float:right;
}
.top-bar-right input {
	display: none;
}


/* Dropdown menu */
.dropdown.menu > li.is-dropdown-submenu-parent > a::after { 
	border-color: #fff transparent transparent;
}
.nav-scrolldown {display: none;}

/* WHEN SCROLL DOWN */
.nav-scrolldown{
	background-color: #ECB237;
	position: fixed;
	width: 100%;
	z-index: 11;
	border-bottom: 1px solid #fff;
}

.top-bar {
  padding:0;
}
#menu-main-menu {
  position: absolute;
  bottom:0;
  right:0;
}
#menu-main-menu .sub-menu {
  display: none;
  position: absolute;
  right:0;
  top: 38.38px;
  width: 200px;
  z-index: 1;
	border: 1px solid #fff;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: rgba(0, 0, 0, 0.5);
}
#menu-main-menu .sub-menu li a {
  display: block;
  padding: 0.7rem 1rem;
  line-height: 1;
}
#menu-main-menu > li {
  position: relative;
}
#menu-main-menu > li:hover .sub-menu {
  display: block;
}

#menu-main-menu li.menu-item-has-children > a::after {
    border-color: #fff transparent transparent;
}
#menu-main-menu li.menu-item-has-children > a::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border: inset 5px;
    border-color: white transparent transparent;
    border-top-style: solid;
    border-bottom-width: 0;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: 0;
}
/* =========================================================================
Search box
========================================================================== */
#search-window #searchsubmit {
  width:0;
  height:0;
  padding: 0;
  border: 0;
}
	@media screen and (min-width: 40em) {
		#search-window {
			position: fixed;
		    z-index: 200;
		    width: 100%;
		    height: 10%;
		    top: 105px;
		    display: none;
		}
		#search-window input {
			height: 100%;
			padding: 30px;
		    color: black;
		    font-size: 30px;
		    background: rgba(255,255,255,0.9);
		}
	}
	@media screen and (max-width: 1023px){
		#search-window, #search-window input {
			display: none;
		}
	}
/* =========================================================================
HERO
========================================================================== */
.hero .orbit-caption{
	background: rgba(10, 10, 10, 0.3);
}

.hero .orbit-caption:hover {
	background: rgba(10, 10, 10, 0.5);
	transition: 0.3s background-color ease-in-out;
    -webkit-transition: 0.3s background-color ease-in-out;
    -moz-transition: 0.3s background-color ease-in-out;
    -o-transition: 0.3s background-color ease-in-out;
}

.hero .orbit-caption .hero-content {
	width: 70%;
	color: rgba(255, 255, 255, 1);
}

.hero .orbit-caption .hero-content > h3 {
  font-family: 'Satisfy', cursive;
}

.hero .orbit-caption .hero-content p {
	color: #fff;
	margin-bottom:5px !important;
}
.hero .orbit-bullets {
	display: none;
}

.hero .orbit-previous, .hero .orbit-next {
	top:50%;
}

.orbit-slide {
	height:100% !important;
}
.orbit-container { /* auto looks at the child; inherit looks at the parent */
	height:auto!important;
}
.orbit-image img:focus {
	outline:none;
}
.home .hero .orbit-slide {
  max-height:890px;
  text-align:center;
}
/* =========================================================================
MAIN
========================================================================== */
.main {
  background: #f3f3f3;
}

	/* Main Categories */
		.events h5,
		.three-boxes h5,
		.spotlight h5,
		.resources h5,
		.gallery h5,
		.chess-box h6,
		.footer h4 {
			font-size: 18px;
			text-transform: uppercase;
		}

	/* Main Titles */
		.events h3,
		.spotlight h3,
		.resources h6,
		.gallery h3,
		.events h3 a,
		.spotlight h3 a,
		.resources h6 a,
		.gallery h3 a{
			color: rgba(92, 92, 92, 1);
		}

		.events h3 a:hover,
		.spotlight h3 a:hover,
		.resources h6 a:hover,
		.gallery h3 a:hover{
			color: rgba(0, 0, 0, 0.8);
		}

/* MAIN EVENT / LATEST NEWS */
@media (min-width:640px) and (max-width:1023px){
  .latest-news {
    padding-top: 40px;
  }
}
.events .event-box {
	padding:20px;
	width:90px;
	height:90px;
	border: 1px solid #2199e8;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	text-align: center;
}
.events .event-content h3 {
	font-family: 'Muli', sans-serif;
}
.events .event-content h6 {
	color: rgba(92, 92, 92, 0.5);
	font-family: 'Muli', sans-serif;
}
.event-box span {
	display: block;
	color:#519DD5;
	font-weight: bold;
    line-height: 20px;
}
.event-date {
	font-size: 23px;
}
.events .event-content{
	padding-top: 5px;
}
.events .media-object-section:first-child {
  padding-bottom:1rem;
}
@media (max-width:1023px) {
  .events {
    margin-top:30px;
  }
}

/* MAIN THREE BOXES*/
.box {position: relative;}
.box img {
	width: 100%;
    height: inherit;
}
.box-content {
	position: absolute;
	width: 100%;
    height: 100%;
	padding-top: 25%;
    padding-bottom: 25%;
    background: rgba(0,0,0,0.4);
    color: #fff;
}
.box-content:hover {
	background: rgba(0,0,0,0.6);
	transition: 0.3s background-color ease-in-out;
    -webkit-transition: 0.3s background-color ease-in-out;
    -moz-transition: 0.3s background-color ease-in-out;
    -o-transition: 0.3s background-color ease-in-out;
}

.box-content h6 {
	padding:10px;
	font-fmaily: 'Montserrat', sans-serif;
	font-weight: 700;
}

/* MAIN 3RD ROW SPOTLIGHT */
.spotlight {
	background: #f3f3f3;
}
.spotlight-img {
	background-position: center;
	background-size: cover;
	background-repeat:no-repeat;
  height:400px;
}
.spotlight-img a {
  display:block;
  height:100%;
}
.spotlight-content {
    padding: 30px;
  }
@media (min-width:640px) {
  .spotlight-content {
    padding: 0 30px;
  }
}
.spotlight-content p {
	font-size: 19px;
	padding-bottom: 15px;
}
@media (min-width:640px) {
  .spotlight {
    display:flex;
  }
  .spotlight-img {
    width:50%;
    height:auto;
  }
  .spotlight-content {
    width:50%;
  }
}

/* MAIN 4TH ROW TESTIMONIES */
.testimony {
	background:  url('../img/testimony.jpg') no-repeat fixed ;
	background-position: center;
    background-size: cover;
}
.testimony h4, .testimony h6 {
	text-align: center;
	color: rgba(255, 255, 255, 0.8);
}
.testimony h4 {
	padding: 0 10%;
	font-size: 20px;
}
.testimony h4 p {
  color: rgba(255, 255, 255, 0.8);
}
.testimony h4 a:hover p {
  color:white;
}
.testimony-img {
  border-radius: 50%;
  width:80px;
  height:80px;
  overflow: hidden;
  margin-left:auto;
  margin-right:auto;
}
.testimony img {
	margin: 0 auto;
	margin-bottom: 10px;
}

/* MAIN 5TH ROW RESOURCES */
.resources {}
.resources h6 {
	padding-top:10px;
	color:#000; 
}
.resources h6:hover {
	color: #2199e8;
}
.resources .resources-box a img{
	width: 100%;
}

/* MAIN 6TH ROW CHESS BOARD*/ 
.chess-box {
	color: #fff;
}
.chess-box .chess-img {
	background-position: center;
	background-size: cover;
	background-repeat:no-repeat;
	padding-bottom:50%;
}
.chess-box .chess-img a {
  display: block;
  height:100%;
}
.chess-box img:hover {
	opacity: 0.7;
	transition: 0.3s opacity ease-in-out;
  -webkit-transition: 0.3s opacity ease-in-out;
  -moz-transition: 0.3s opacity ease-in-out;
  -o-transition: 0.3s opacity ease-in-out;
}
.chess-box .chess-content {
	padding:30px;
}
.chess-box .chess-content > p {
	color: #fff;
	font-size: 16px;
	line-height:20px;
}
@media (min-width:1024px) {
  .chess-box .chess-content > p {
    max-height:80px;
    overflow:hidden;
  }
  .chess-box.flip .chess-content {
    -webkit-order: 1;
    order: 1;
  }
  .chess-box.flip .chess-img {
    -webkit-order: 2;
    order: 2;
  }
}
.chess-box .white-button {
  display:inline-block;
  margin-top:10px;
}

.chess-board {
  background-color:#0E55A2;
}
.flex-xs {
  display: -webkit-flex;
  display: flex;
}
.flex-wrap {
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.flex-xs-6 {
  width:50%;
}
@media (min-width:768px) {  
  .flex-sm {
    display: -webkit-flex;
    display: flex;
  }
  .flex-sm-6 {
    width:50%;
  }
}
@media (min-width:1024px) {
  .flex-md {
    display: -webkit-flex;
    display: flex;
  }
  .flex-md-6 {
    width:50%;
  }
}
/* MAIN 7TH ROW GALLERY */
.gallery {
	background: #f3f3f3;
}
.gallery-img {
  position:relative;
	background-position: center;
	background-size: cover;
	background-repeat:no-repeat;
	padding-bottom:50%;
}
.gallery-content {
	padding: 30px;
}

@media (min-width:768px) {
  .gallery-img {
    flex:1.16;
  }
  .gallery-content {
    flex:1;
  	padding: 0 30px;
  }
}
.gallery .orbit-previous, .gallery .orbit-next {
	background: #2199e8;
}
@media (min-width:1024px) {
  .gallery-img {
    padding-bottom:30%;
    flex:1.12;
  }
}
/* =========================================================================
FOOTER
========================================================================== */
.footer {
	padding: 30px 0;
	background: #555;
}
.footer h4 {
	color:#fff;
}
.footer a {
	display: block;
	color: rgba(255, 255, 255, 0.8);
	font-family: 'Muli', sans-serif;
}
.footer a:hover {
	color: #2199e8;
}

.footer a span {
	font-weight: bold;
}
.footer hr {
	border-color: rgba(255, 255, 255, 0.5);
	margin: 10px 0;
}
	@media screen and (max-width: 39.9375em) {
		.footer-col {
			padding-bottom: 30px ;
		}
	}
	@media screen and (min-width: 40em) {
		.footer {
			padding: 40px 0;
		}
	}
#menu-footer-menu-1 > li,
#menu-footer-menu > li {
  display: block;
}
@media (min-width:768px) {
  
  .footer .menu > li {
    float:left;
    width:50%;
  }
  .footer .menu > li:nth-child(odd) {
    clear:left;
  }
}

.copyright {
  background:black;
  padding: 30px 0;
  color:#f3f3f3;
}
/* =========================================================================
Media Queries
========================================================================== */

/* Small only */
@media screen and (max-width: 39.9375em) {
	.hero .orbit-caption .hero-content {
		width: 80%;
	}
	.hero .orbit-caption .hero-content p {
		font-size: 10px;
	}
	.chess-2{ 
		display: none;
	}
	.spotlight-img {
		height: 400px;
	}

}

/* Small & Medium only */
@media screen and (max-width: 63.9375em) {
	
	.hero .orbit-previous, .hero .orbit-next {
		top: 60%;
	}
	.events {
		padding: 0 20px !important;
	}

	.three-boxes .box {
		margin-bottom: 20px;
	}	
	.testimony h6 { 
		padding-bottom:20px;
	} 
	.chess-box .chess-content > p {
		color: #fff;
		font-size: 25px;
		line-height:1.4;
	} 

}

@media screen and (min-width: 640px) and (max-width: 800px){
	.spotlight .spotlight-content h3, .gallery-content h3 {
		font-size: 23px;
		line-height:1.5;
	}

	.chess-box .chess-content > p {
		font-size: 15px;
	}
	.spotlight-content p, .gallery-content p {
	    font-size: 15px;
	}

}

/* Medium and up */
@media screen and (min-width: 40em) {
	.events .event-content > h3 {
		font-size: 17px;
		line-height: 1.1;
	}
	.three-boxes .box  {
		margin-left: 1px;
	}

	.spotlight .spotlight-content h3 {
		font-size: 25px;
		line-height:1.5;
	}


}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	.events .event-content > h3 {
		font-size: 26px;
    	line-height: 1.2;
	}
	.hero .orbit-caption .hero-content > h3 {
		font-size: 20px !important;
		line-height: 18px;
	}
	.hero .orbit-caption .hero-content > p {
		font-size: 15px !important;
		line-height: 18px;
	}
}

/* Large and up */
@media screen and (min-width: 64em) {
	.row-1 {
		padding:50px 0;
	}
	.title-bar {
		display: none !important;
	}
	.hero .orbit-caption .hero-content > h3 {
		font-size: 36px; 
		line-height: 36px;
	}
	.hero .orbit-caption .hero-content {
  	padding:16px 0;
	}
	.hero .orbit-caption .hero-content > p {
		font-size: 18px !important; 
		line-height: 20px;
	}

	.events {
		padding-left: 20px !important; 
	}
	.resources .resources-box {
		padding-left: 2px;
	}
	.hero .orbit-previous, .hero .orbit-next {
		top:55%;
	}

}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {


}