/* Set all parents to full height */
/* Set all parents to full height */
html, body, 
.container,
.cbp-fbscroller,
.cbp-fbscroller div.panel { 
	position: relative;
	width: 100%;
}

/* The nav is fixed on the right side  and we center it by translating it 50% 
(we don't know it's height so we can't use the negative margin trick) */
.cbp-fbscroller > nav {
	position: fixed;
	z-index: 1000;
	right: 50px;
	top: 50%;
	width: 26px;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.cbp-fbscroller > nav a {
	display: block;
	position: relative;
	z-index: 100;
	color: transparent;
	width: 20px;
	height: 20px;
	outline: none;
	margin: 18px 0;
	border-radius: 50%;
	border: 2px solid #fff;
}

.no-touch .cbp-fbscroller > nav a:hover {
	background: #fff;
	background: rgba(255,255,255,0.6);
	filter: alpha(opacity=60);
}

.cbp-fbscroller > nav a.cbp-fbcurrent {
	background: #fff;
}

/* background-attachment does the trick */
.cbp-fbscroller div.panel {
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;

}

/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #33619d;
	background: rgba(51,97,157,0.97);
	z-index: 7000;
}

/* Menu style */
.overlay nav {
	text-align: center;
	position: relative;
	top: 65%;
	height: 60%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	width: 100%;
	position: relative;
}

.overlay ul li {
	display: block;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.overlay ul li a {
	font-size: 41px;
	line-height: 55px;
	font-family: 'Raleway', sans-serif;
	font-weight: 800;
	display: block;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	width: 100%;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	background:#3969a8;
	
}

.overlay ul li > ul {
	margin: 0.8em 0;
}

.overlay ul li > a.active {
	color: #8ed8f8
}

.overlay ul li > ul li a {
	font-family: 'Roboto Slab', serif;
	font-size: 20px;
	text-transform: none;
	line-height: 32px;
	font-weight: 200;
}

.overlay ul li > ul li a:hover {
	color: #8ed8f8;
	background: transparent;
}


/* Effects */
.overlay-corner {
	opacity: 0;
	filter: alpha(opacity=0);
	visibility: hidden;
	-webkit-transform: translateY(-50px) translateX(50px);
	transform: translateY(-50px) translateX(50px);
	-webkit-transition: opacity 0.5s, -webkit-transform 0.5s, visibility 0s 0.5s;
	transition: opacity 0.5s, transform 0.5s, visibility 0s 0.5s;
}

.overlay-corner.open {
	opacity: 1;
	filter: alpha(opacity=100);
	visibility: visible;
	-webkit-transform: translateY(0%);
	transform: translateY(0%);
	-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
	transition: opacity 0.5s, transform 0.5s;
}

.fbsection {
	position: relative
}


@media screen and (min-width : 1025px) {
	.cbp-fbscroller div.panel {
		background-attachment: fixed;
	}
}

@media screen and (max-height: 30.5em) {
	.overlay nav {
		height: 70%;
		font-size: 34px;
	}
	.overlay ul li {
		min-height: 34px;
	}
}

/* Tabs */

.tabs {
	margin: 20px 0;
}

.tabs-menu {
    margin: 0;
    list-style: none;
}

.tabs-menu li {
    line-height: 30px;
    display: inline-block;
    margin-right: 10px;
	background: transparent;
	border: 3px solid #b1b1b1;
	padding: 15px;
	vertical-align: top;
}

.tabs-menu li.last {
	margin: 0;
	border: none;
	padding: 0;
}

.tabs-menu li.current {
    position: relative;
    background: #fff;
    border: 3px solid #32609c;
    z-index: 5;
}

.tabs-menu li a {
    text-transform: uppercase;
    color: #b1b1b1;
    text-decoration: none; 
    font-size: 41px;
    font-family: "Raleway";
    font-weight: 800;
    display: block;
}

.tabs-menu .current a {
    color: #32609c;
}

.tab {
    border: 1px solid #d4d4d1;
    background-color: #fff;
    float: left;
    margin-bottom: 20px;
    width: auto;
}

.tab-content {
    display: none;
}

#tab-1 {
 display: block;   
}
