@import url('https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Arimo');
* {
  /*margin: 0;*/
}
html, body {
  height: 100%;
  position: relative;
}
body {
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-family: 'Arimo', sans-serif;
	color: #1E2022;
	position: relative;
}
#all {
	/*height: 100%;*/
  /* equal to footer height */
  /*margin-bottom: -30px; */
  position: relative;
}
.cleaner{
	clear: both;
	height: 0;
	visibility: hidden;
}
.container {
	width: 100%;
	max-width: 1300px;
	position: relative;
	margin: 0 auto;
}
.containerIn {
	padding: 0px 10px;
}
#menuIn {
	padding: 15px 20px 0px 20px;
}
a {
	color: #1E2022;
}
a:hover {
	text-decoration: none;
}

#top {
	
	font-family: 'Oswald', sans-serif;
	-webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.45);
	-moz-box-shadow:    0px 2px 5px 0px rgba(0, 0, 0, 0.45);
	box-shadow:         0px 2px 5px 0px rgba(0, 0, 0, 0.45);
	z-index: 100;
	color: white;
	position: fixed;
	width: 100%;
	/*overflow: hidden;*/
}
#slider {
	height: 100%;
	width: 100%;
	position: absolute;
	background-size: cover;
	background-position: 50% 50%;
	z-index: -1;
}
#home {
	height: 500px;
	position: relative;
	font-size: 0;
	background: #E8E8E8;
	background-position: 50% !important;
	background-size:  cover !important;
}
#menu {
	background: rgba(0,0,0,0.6);
	-webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.45);
	-moz-box-shadow:    0px 2px 5px 0px rgba(0, 0, 0, 0.45);
	box-shadow:         0px 2px 5px 0px rgba(0, 0, 0, 0.45);
}
#sliderSpacer {
	/*line-height: 250px;*/
	/*padding: 100px 0;*/
}
.sliderSpacerPage {
	/*line-height: 150px !important;*/
	padding: 20px 0 0 0 !important;
}
.sliderSpacerPage h1 {
	background: rgba(0,159,217,0.5);
}
	#logo {
		float: left;
	}
	/*#lang {
		text-align: right;
	}
		#lang a {
			text-decoration: none;
			font-weight: 200;
			padding: 0px 0px 0px 10px;
			-webkit-transition: all 0.2s;
		   transition: all 0.2s;
			color: white;
		}
		.langActive, #lang a:hover {
			color: #009FD9 !important;
		}*/
	#menuItems {
		float: right;
		margin: 0 0px 0 0;
	}
	#menuItems a {
		/*display: block;*/
		text-decoration: none;
		-webkit-transition: all 0.2s;
		transition: all 0.2s;
		color: white;
	}
	#menuItems a:hover, .menuItemActive {
		/*color: #009FD9 !important;*/
	}
	.topMail {
		margin: 0 20px 0 0;
	}
	#menuItemsLeft {
		text-align: right;
		float: left;
		padding: 0 10px 0 0;
		margin-right: 10px;
		border-right: 2px solid #009FD9;
	}
	#menuItemsRight {
		text-align: right;
		float: right;
	}
	#menuMain {
		text-align: right;
	}
	#menu-lang {
		/*float: right;*/
		/*margin: 0 50px 0 0;*/
		margin: 0 auto;
		display: inline-block;
	}
	#fb, .lang {
		display:inline-block !important;top:3px;position:relative;
		margin: 0 3px 0 0;
	}
	#nav {
		margin: 25px 10px 5px 0px;
		padding: 0;
		list-style: none;
		position: relative;
		float: right;
		clear: right;
	}
	#nav li {
		/*float: left;*/
		list-style: none;
		position: relative;
		text-align: right;
		display: inline;
	}
	#nav li a {
		display: inline-block;
		-webkit-transition: all 0.2s; 
    	transition: all 0.2s;
		position: relative;
		text-decoration: none;
		/*margin: 0 0 0 30px;*/
		color: #DDB100;
		/*border-bottom: 5px solid transparent;*/
		/*padding: 0 0 5px 0;*/
		text-transform: uppercase;
	}
	#nav li Xa:hover,.actMenuX {
		-webkit-transition: all 0.2s;
	   transition: all 0.2s;	
		color: #009FD9 !important;
		/*border-bottom: 5px solid #F70000 !important;*/
	}
	#nav ul {
    left: 15px;
    padding: 0;
    top: 100%;
    transition: all 0.3s ease 0s;
	 z-index: 100;
	 width: auto;
	 /*background: rgba(0,0,0,0.8) !important;*/
	 opacity: 0;
	 /*position: absolute;*/
	 visibility: hidden;
	 height: 0;
	 -webkit-transition: height 0.2s;
	transition: height 0.2s;
}
#nav ul li {
    width: 100%;
}
#nav ul li a {
    font-size: 16px;
	 font-weight: normal;
    text-transform: none;
	 border: none !important;
	 display: block;white-space: nowrap;
	 /*padding: 5px 10px;*/
	 margin: 0;
	 
}
/*#nav li:hover > ul,*/ .subMenu {
    opacity: 1 !important;
    visibility: visible !important;
	 height: auto !important;
}
#nav ul li a:hover {
	border: none !important;
}
	
	
	
	

#homeBox {
	position: relative;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	width: 100%;
	
	margin: -50px 0 0 0;
}
	.homeBox {
		width: calc(100% / 5 - 25px);
		height: 250px;
		background: gray;
		box-sizing: border-box;
		border: 1px solid #CDCDCD;
		position: relative;
		margin: 0 0 25px 0;
		min-width: 245px;
	}
	.homeBoxTitle {
		background: white;
		padding: 5px 0;
		font-size: 20px;
		text-align: center;
		text-transform: uppercase;
		font-family: 'Oswald', sans-serif;
		position: absolute;
		bottom: 0;
		width: 100%;
		display: border-box;
		color: #00A0E3;
		text-decoration: none;
	}
	.homeBox.ws {
		background: url(../images/home-ws2.jpg) no-repeat 50% / cover;
	}
	.homeBox.testcentrum {
		background: url(../images/home-testcentrum.jpg) no-repeat top center / cover;
	}
	.homeBox.rf {
		background: url(../images/home-rfOLD.jpg) no-repeat 50% / cover;
	}
	.homeBox.tb {
		background: url(../images/home-tb.jpg) no-repeat 50% / cover;
	}
	.homeBox.mk {
		background: url(../images/home-mk.jpg) no-repeat 50% / cover;
	}
	.homeBox.ml {
		background: url(../images/home-ml.jpg) no-repeat 50% / cover;
	}
	
	.homeBox.kapv {
		background: url(../images/home-kapv.jpg) no-repeat 50% / cover;
	}
	.homeBox.chor {
		background: url(../images/home-chor.jpg) no-repeat 50% / cover;
	}
.homeBoxMenu a {
	text-decoration: none;
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
	padding: 2px 0;
	display: inline-block;
	box-sizing: border-box;
	text-transform: uppercase;
	
}
.homeBoxMenu {
	position:absolute;
	bottom:45px;
	background: rgba(255,255,255,0.85);
	color:white;
	width:100%;
	text-align:center;
}
.submenuDivider {
	color: #00A0E3;
	padding: 0 2px 0 8px;
	font-weight: 600;
}
/*.homeBoxMenu a:after {
	content: '|';
	color: red;
	padding: 0 0 0 5px;
}
.homeBoxMenu a:last-child:after {
	content: '';
}*/
	
	


#home-ws, #home-rf, #home-sk {
	/*width: 50%;*/
	width: calc(100% / 3);
	display: inline-block;
	font-size: 16px;
	height: 100%;
	position: relative;
}
#home h1 {
	margin-top: 40%;
	font-weight: 700;
	transition: all 0.3s ease 0s;
	font-size: 60px;
	color: white;
}
#home a {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	text-decoration: none;
	transition: all 0.3s ease 0s;
	
}
#home a:hover h1 {
	/*color: red;*/
}
#home a:hover {
	-webkit-box-shadow: inset 2px 2px 100px 0px rgba(50, 50, 50, 0.9);
-moz-box-shadow:    inset 2px 2px 100px 0px rgba(50, 50, 50, 0.9);
box-shadow:         inset 2px 2px 100px 0px rgba(50, 50, 50, 0.9);
}
#home-ws {
	background: url(../images/home-ws.jpg) no-repeat 50% bottom / cover;
}
#home-rf {
	background: url(../images/home-rfUvod.jpg) no-repeat 60% bottom / cover;
}
#home-sk {
	background: url(../images/home-sk.jpg) no-repeat 50% bottom / cover;
}
#home-ws h1 {
     color: #DDB100;
}
#home-rf h1 {
     color: #00A0E3;
}
#home-sk h1 {
     color: red;
}

#boxes {
	text-align: center;
	width: 100%;
}
	#stredni {
		width: calc(100% / 3 - 30px) !important;
		margin: 0 15px;
	}
	#boxes a {
		text-decoration: none;
		color: white;
		font-weight: 300;
		display: block;
		height: 100%;
		width: 100%;
		margin: 0 auto;
		background-position: 50% 50%;
		background-size: cover;
		padding: 150px 0 0 0;
	}
	.box {
		width: calc(100% / 3);
		float: left;
		position: relative;
	}
	.boxTitle {
		background: rgba(0,0,0,0.8);/*rgba(0,159,217,0.6);*/
		color: #DDB100;
		font-family: 'Oswald', sans-serif;
		font-size: 23px;
		letter-spacing: 1px;
		padding: 8px 0;
		-webkit-transition: all 0.2s;
	   transition: all 0.2s;	
	}
	.box2x2img {
		background-size: cover;
		background-position: 50%;
	}
	/*#box1 {
		background-image: url(../images/box1.jpg);
	}
	#box2 {
		background-image: url(../images/box2.jpg);
	}
	#box3 {
		background-image: url(../images/box3.jpg);
	}
	#box4 {
		background-image: url(../images/box4.jpg);
	}*/
	#boxes a:hover > .boxTitle {
		background: rgba(0,159,217,1);
	}
	
	.boxes2x2 {
		font-size: 0;
	}
	.boxes2x2 div {
		font-size: 16px;
		text-align:center;
	}
	.box2x2in {
		margin: 20px 30px;
-webkit-box-shadow: 2px 2px 3px 0px rgba(50, 50, 50, 0.5);
-moz-box-shadow:    2px 2px 3px 0px rgba(50, 50, 50, 0.5);
box-shadow:         2px 2px 3px 0px rgba(50, 50, 50, 0.5);
	}
	.box2x2 {
		width: calc(100% / 2);
		display: inline-block;
		vertical-align: top;
		/*margin: -6px 0 0 0;*/
	}
	.box2x2 .boxTitle {
		font-size: 20px !important;
		background: #009FD9;
		color: white;
	}
	.box2x2img {
		width:100%;
		height: auto;
	}
	.box2x2img img {
		width:100% !important;
		height: auto !important;
	}
	.boxText {
		text-align: left !important;
		padding: 5px;
	}
	
	#windsurfing-kurzA {
		background: url(http://www.cvadventure.com/_admin/files/upload/server/php/14/medium/Windsurfing%20Kapverdy%20%2814%29.jpeg) no-repeat 50% / cover;
	}
	#windsurfing-kurzB {
		background: url(http://www.cvadventure.com/_admin/files/upload/server/php/14/medium/Windsurfing%20Kapverdy%2015.jpg) no-repeat 50% / cover;
	}
	#windsurfing-kurzC {
		background: url(http://www.cvadventure.com/_admin/files/upload/server/php/14/medium/Windsurfing%20Kapverdy%20%2812%29.jpeg) no-repeat 50% / cover;
	}
	#windsurfing-kurzD {
		background: url(http://www.cvadventure.com/_admin/files/upload/server/php/14/medium/Windsurfing%20kapverdy%20%287%29.jpeg) no-repeat 50% / cover;
	}
	
	
	
	

	
	h1 {
		font-weight: 300;
		font-size: 40px;
		text-align: center;
		color: #131313;
		text-decoration: none;
		padding: 0;
		font-family: 'Oswald', sans-serif;	
	}
	h2 {
		font-size: 23px;
		font-weight: 400;
		color: #009FD9;
		margin: 15px 0 10px 5px;
		font-family: 'Oswald', sans-serif;	
	}
	h3 {
		font-size: 20px;
		text-transform: uppercase;
		font-weight: 500;
		margin: 15px 0 10px 5px;
		font-family: 'Oswald', sans-serif;	
	}
	#text {
		line-height: 150%;
		font-size: 17px;
		text-align: justify;
		padding: 20px 0 0 0;
	}
	#text ul {
		list-style-image: url(../images/li.png);
	}
	.ef {
		-webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.45);
		-moz-box-shadow:    0px 2px 5px 0px rgba(0, 0, 0, 0.45);
		box-shadow:         0px 2px 5px 0px rgba(0, 0, 0, 0.45);
		margin: 15px;
		padding: 2px;
	}
	.perex {
		font-size: 25px;
		font-family: 'Oswald', sans-serif;
		font-weight: 200;
		line-height: 140%;
	}

#bottom {
	font-size: 13px;
	background: rgba(0,0,0,0.8);
	line-height: 30px;
	color:#daaa00;
	text-align: center;
	margin: 50px 0 0 0;
}
#bottom a {
     color:#daaa00;
     text-decoration: none;
}










#galerie {
    margin: 0 auto;
    padding-top: 5px;
    text-align: center;
    width: 100%;
}
.gal {
    display: inline-block;
    height: 180px;
    margin: 0 0 30px;
    text-align: center;
    width: 24%;
    position: relative;
}
.galItem {
    display: block;
    height: 100%;
    margin: 0 auto;
    width: 90%;
	 padding: 1px;
	 position: relative;
}
.galItem a {
    box-shadow: 0 0 3px 0 rgba(105, 105, 105, 0.9);
	padding: 1px;
    display: block;
    height: 100%;
    transition: all 0.2s ease 0s;
    width: 100%;
    text-decoration: none;
}
.galItem a:hover {
    background: rgba(255, 255, 255, 0.1) none repeat scroll 0 0;
    box-shadow: 0 0 3px 0 rgba(89, 89, 89, 1);
}
.galItem a img {
    display: none;
}
a .imgPopis {
     position: absolute;
     bottom: 0;
     width: 100%;
     background: rgba(255,255,255,0.8);
     color: ;
     font-size: 13px;
     left: 0;
}

.left,.right {
     width: 45%;
}
.left {
     float: left;
}
.right {
     float: right;
}



#poptavka {
	width: 90%;
	min-width: 200px;
	margin: 20px auto 0;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
}
#poptavka label {
    padding-right: 8px;
    padding-top: 0px;
    text-align: right;
    width: 50%;
	 font-weight: 300;
}
.formLine input, .formLine select, .formLine textarea, #odeslat {
	font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    width: 50%;
	 color: #434343;
	 padding: 5px;
	 margin: 0;
	 background: white;
	 border: 1px solid #595959;
	 -webkit-border-radius: 5px;
	 -moz-border-radius: 5px;
    border-radius: 5px;
	 transition: border 0.2s ease 0s;
}
.formLine input:focus, .formLine textarea:focus,
.formLine input:hover, .formLine textarea:hover {
	border: 1px solid #B5C3CA;
}
.formLine {
	margin-bottom: 8px;
	text-align: right;
}
.napiste {
	border-bottom: 1px solid #595959;
	padding: 0 0 5px 10px;
	display: block;
	margin-bottom: 7px;
	text-align: left;
}
#odeslat:hover {
	color: rgba(50,50,50,0.75);
	background: white;
	border: 1px solid red;
}
#odeslat {
	transition: background 0.2s ease 0s, color 0.2s ease 0s;
	border: 1px solid rgba(0,0,0,0.75);;
	width: 50%;
	cursor: pointer;
	display: block;
	margin: 10px auto;
	background: white;
	color: #322E2D;
	font-size: 15px;
}
.formLine textarea {
	height: 80px;
	font-size: 13px;
	width: calc(100% - 12px);
}
.formInfo {
	text-align: right;
	position: relative;
	top: 0px;
	right: 0px;
}


#fb-fix {
     position:fixed;
     bottom:0;
     width:100%;
     max-width:500px;
     right: 0;
     left: 0;
     margin-right: auto;
    margin-left: auto;
}
#fbPlugin {
     position: relative;
     z-index:100;
     max-width:500px;
     height:200px;
     width:100%;
     background:white;
     margin:0 auto;
     overflow:hidden;
}


.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%;margin:65px 0 0 0; }
.embed-container iframe,.embed-container object,.embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.menuItemResp {
		display: none !important;
	}
	.menuItemRespOn{
		display: block !important;
	}
	#menuResponsive {
		display: block !important;
	}
	#menuResponsive a {
		font-size: 23px !important;
	}
#menuResponsive {
	/*display: none !important;*/
}
#menuResponsive a img {
	vertical-align: middle;
}

@media screen and (max-width: 1000px) {
	#sliderSpacer {
		padding: 50px 0;
	}
	.box2x2 .boxTitle {
		font-size: 17px !important;
	}
	#home h1 {
          font-size: 30px;
     }
}

@media screen and (max-width: 800px) {
	#menuIn {
		text-align: center;
	}
	
	#logo {
		float: left;
		max-width: none;
	}

	.menuSpace {
		height: 5px;
	}
	#sliderSpacer {
		padding: 20px 0;
	}
	
	
	#mainMenu {
		text-align: center;
	}
	h1 {
		font-size: 30px;
	}
	#boxes a {
		padding: 50px 0 0 0;
	}
	.boxTitle {
		font-size: 18px;
	}
	
	.left,.right {
     width: 100%;
     float: none;
}
	
	.gal {
    	height: 170px;
    	width: 32%;
	}

	#logo {
          width: 100px;
          position: absolute;
          left: 0px;
     }
	#topTelMail {
		display: none;
	}
	ul#nav {
		margin: 5px 5px 2px 0;
	}
	#menuItems {

	}
	#menu-lang {
		float: none;
		margin: 0 auto;
		text-align: center;
		clear: both;
	}
	.spacer {
          display: none;
     }
	#logo {
          margin: 0 auto;
     }

	#top {
          position: relative;
     }
	#lang {
		text-align: center;
	}
	#text img {/*#text iframe {*/
		max-width: 50%;
		height: auto;
	}
	.perex {
		font-size: 20px;
	}
	#home h1 {
          font-size: 40px;
          margin: 0 !important;
     }
     #home {
          /*height: calc(100% - 100px);*/
			 height: 200px;
     }
	#home-ws, #home-rf, #home-sk {
          height: calc(100% / 3);
          width: 100%;
     }
     #home-ws {
          /*background-position: center -270px;*/
          background-position: 50%;
     }
     #home-rf {
          background: url(../images/home-rf.jpg) no-repeat 50% / cover;
     }
     #home-sk {
          background-position: center -220px;
     }
	  #tab-kontakt td {
			display: block;
			height: 300px;
			width: 100% !important;
			text-align: center;
			overflow: hidden;
	  }
	  #tab-kontakt  {
	  	width: 90%;
		margin: 0 auto;
	  }
	  #tab-kontakt iframe {
	  	max-width: 100% !important;

	  }
}

@media screen and (max-width: 600px) {
	.box2x2 {
		width: 100%;
	}
	#text {
		text-align: left;
	}
}
@media screen and (max-width: 500px) {
	
	.afb {
          margin:0 !important;
     }
     .afb img {
          display: inline !important;
     }
     .npi {
          padding: 0 !important;
     }
	#text img{
		max-width: 90%;
		height: auto;
		margin: 10px auto;
		display: block;
		float: none !important;
	}
	.galItem a img {
		display: none !important;
	}
	
     #fb-fix {
          position:relative;
          bottom:0;
          width:100%;
          max-width:500px;
          right: 0;
          left: 0;
          margin-right: auto;
         margin-left: auto;
     }
     #fbPlugin {
          position: relative;
          z-index:100;
          max-width:500px;
          height:500px;
          width:100%;
          background:white;
          margin:0 auto;
          overflow:hidden;
     }
}
@media screen and (max-width: 600px) {

	.gal {
    	height: 150px;
    	width: 49%;
	}
}
@media screen and (max-width: 450px) {
	#menuItems a {
		font-size: 15px;
	}
	.gal {
    	height: 250px;
    	width: 98%;
	}
	#boxes .box, #stredni {
		width: 100% !important;
	}
	#stredni {
		margin: 10px 0;
	}
	#boxes a {
          padding: 100px 0 0 0;
     }
	  #fb {
	  	margin: 0 3px 0 0;
	  }
	
}
@media screen and (max-width: 400px) {
	
}