p, a {font-family: 'Karla', sans-serif;}
h1, h2, h3 {font-family: 'Raleway', sans-serif;}
a {color: #000;}


html {background: #a1c6ea;}

body {
	padding: 0px;
	margin: 0;
}

.ba-lang-switch {
	position: absolute;
    top: 40px;
    right: 109px;
    width: 100px;
    height: 30px;
}

.ba-lang {
	font-family: 'Raleway';
    color: #222;
    font-size: 18px;
    line-height: 24px;
    text-decoration: none;
    width: 50px;
    display: block;
    float: left;
    text-align: center;
    background: #fff;
    border: solid 1px #507dbc;
    box-sizing: border-box;
    height: 100%;
}

.ba-lang:hover {
	background: #507DBC;
	color: #fff;
}

.ba-lang.active {
	background: #507DBC;
	color: #fff;
}

.ba-lang-text {
	vertical-align: middle;
}

.ba-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 50px 100px;
}

.ba-title {
	text-align: center;
    width: 58%;
    margin: 0 auto 40px auto;
    border: 8px solid #507DBC;
    padding: 20px;
    background: #fff;
    position: relative;
    box-sizing: border-box;
}

.ba-logo-link {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.ba-title h1 {
	text-transform: uppercase;
}

.ba-title p {
	font-size: 21px;
}

.ba-text p {
	line-height: 1.4;
	text-align: center;
}

.ba-text a:hover {opacity: 0.8;}

.ba-switch {
	margin-top: 50px;
}

.ba-lab {
	height: 400px;
    width: 35%;
    display: block;
    margin-left: 10%;
    margin-right: 10%;
    float: left;
    position: relative;
}

.ba-lab:last-child {
	margin-right: 0;
	margin-left: 0;
}

.ba-lab a {
	position: absolute;
	width: 100%;
	height: 100%;
}

.ba-lab h2 {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    margin: 0;
    color: #fff;
}

.ba-overlay {
	position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.2;
    transition: opacity 0.5s ease-in-out;
}

.ba-logo {
	width: 70%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform:translate(-50%,-50%);
}

.ba-lab:hover .ba-overlay {
	opacity: 0.8;
}

.ba-clear {
	clear: both;
}

#socket {
	background: #282B2E;
    height: 60px;
    color: #fff;
    padding-left: 30px;
}

.ba-socket {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%)
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#socket p {
	margin: 0;
	font-size: 15px;
}

#socket a {
	color: #fff;
	text-decoration: none;
}

#socket a:hover {
	text-decoration: underline;
}

@media screen and (max-width:950px) {
	.ba-lang-switch {
		right: 40px;
	}
	.ba-title h1 {
		font-size: 1.8em;
	}
	.ba-lab {
		width: 45%;
		margin-left: 0;
	}

}

@media screen and (max-width:880px) {
	.ba-title h1 {
		font-size: 1.5em;
	}
}

@media screen and (max-width:767px) {
	.ba-content {
		padding: 50px;
	}
}

@media screen and (max-width:650px) {
	.ba-lang-switch {
		top: 20px;
	}
	.ba-content {
		padding-top: 80px;
	}
	.ba-title h1 {
		font-size: 1.1em;
	}
	.ba-title p {
		font-size: 18px;
	}
	.ba-lab {
	width: 80%;
    margin: 0 auto 50px auto !important;
    float: none;
}

@media screen and (max-width:520px) {
	.ba-content {
		padding-left: 30px;
		padding-right: 30px;
	}
	.ba-title {
		width: 80%;
	}
	.ba-lab {
		width: 90%;
		height: 300px;
	}
	.ba-switch {
		margin-top: 30px;
	}
}

@media screen and (max-width:380px) {
	.ba-title {
		width: 100%;
	}
	.ba-lab {
		height: 200px;
	}
}