@font-face {
    font-family: KZDecor;
    src: url(fonts/KZDECOR.ttf);
}



body, html {
	font-family: 'KZDecor';
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin: 0;
	height: 100%;
}


hr {
	margin: 0;
	width: 100%;  
	border: 0; 
  	height: 1px; 
  	background-color: #fff;
}


.nav {
	background-color: #082938 !important;
	height: 120px;
}


nav {
	z-index: 1000;
}

.logo-div {
	line-height: 28px;
	max-width: 240px;
	display: inline-block;
	position: relative;
	top: 50%;
	transform: translateY(-50%); 
	text-align: center;
}


.menu-item-link {
	-webkit-transition: all 0.5s ease; /* Safari */
    transition: all 0.5s ease;
}


.menu-item-link:hover {
	text-shadow: 0 0 10px white, 0 0 1em white;
}


video { 
	position: absolute;	
    top: 30%;
    left: 35%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-35%) translateY(-30%);
	background: url('../images/back.jpg') no-repeat;
  	background-size: cover;
  	transition: 1s opacity;
}

#textvid { 
	font-weight:100; 
	background: rgba(0,0,0,0);
	color: white;
	padding: 2rem;
	width: 33%;
	min-width: 300px;
	margin:2rem;
	float: right;
	font-size: 1.2rem;
	text-shadow: 0 0 5px black, 0 0 1em black;	
}

.demo {
    /* The image used */
    background-image: url(../images/back.jpg);

    /* Full height */
    height: calc(100% - 110px);

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    position: relative;
}


.block-title {
    /* The image used */
    background-image: url(../images/orn.jpg);

    /* Full height */
    height: 120px;
    font-size: 56px;
    font-weight: bold;
    color: #0c445b;
    /* Center and scale the image nicely */
    background-position: right;
    background-repeat-x: repeat;    
    background-repeat-y: no-repeat;
    background-size: auto;
}

.block-subtitle {
    /* Full height */
    height: 60px;
    font-size: 36px;
    font-weight: bold;
    color: #666;
 }




.demo a {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  font : normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
.demo a:hover {
  opacity: .5;
}


#section10 a {
  padding-top: 60px;
}
#section10 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 2px solid #fff;
  border-radius: 50px;
  box-sizing: border-box;
}
#section10 a span::before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: '';
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: #fff;
  border-radius: 100%;
  -webkit-animation: sdb10 2s infinite;
  animation: sdb10 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb10 {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb10 {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}


.welcome-text {
	padding: 20px;
    position: absolute;
    left: 50%;
    top: 20%;
    width: 50%;
    text-align: center;
	font-size: 30px;
	text-shadow: 0px 0px 85px black, 0px 0px 45px black,0 0 3em black, 0 0 1em black, 0 0 0.5em black, 0 0 0.2em black;
	
}


@media screen and (max-width: 900px) {
	.welcome-text {
		position: absolute;
		font-size: 19px;
    	left: 0;	
    	top: 5%;
    	width: 100%;
    	text-shadow: 0px 0px 85px black, 0px 0px 45px black,0 0 3em black, 0 0 1em black, 0 0 0.5em black, 0 0 0.2em black;
	}
}


@media screen and (max-width: 488px) {
	#block2 > .block-title {
		font-size: 56px;
		height: 180px;
		line-height: 66px;
	}
}


.tabs .tab a:focus, .tabs .tab a:focus.active {
	background-color: #fff;
}

.container-fluid .row {
  padding: 0 0 0 0;
}

.row {
	margin-bottom: 0;
}

.container-fluid .row:nth-child(even) {
  background: #0c445b;
}



/*==================================
    TIMELINE
==================================*/
/*-- GENERAL STYLES
------------------------------*/
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}


/*----- TIMELINE ITEM -----*/
.timeline-item {
  padding-left: 40px;
  position: relative;
}
.timeline-item:last-child {
  padding-bottom: 0;
}

/*----- TIMELINE INFO -----*/
.timeline-info {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0 0 .5em 0;
  text-transform: uppercase;
  white-space: nowrap;
}

/*----- TIMELINE MARKER -----*/
.timeline-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15px;
}
.timeline-marker:before {
  background: #0c445b;
  border: 3px solid transparent;
  border-radius: 100%;
  content: "";
  display: block;
  height: 15px;
  position: absolute;
  top: 4px;
  left: 0;
  width: 15px;
  transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}
.timeline-marker:after {
  content: "";
  width: 3px;
  background: #CCD5DB;
  display: block;
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 6px;
}
.timeline-item:last-child .timeline-marker:after {
  content: none;
}

.timeline-item:not(.period):hover .timeline-marker:before {
  background: transparent;
  border: 3px solid #0c445b;
}

/*----- TIMELINE CONTENT -----*/
.timeline-title {
  padding-bottom: 40px;
}
.timeline-title p:last-child {
  margin-bottom: 0;
}

/*----- TIMELINE PERIOD -----*/
.period {
  padding: 0;
}
.period .timeline-info {
  display: none;
}
.period .timeline-marker:before {
  background: transparent;
  content: "";
  width: 15px;
  height: auto;
  border: none;
  border-radius: 0;
  top: 0;
  bottom: 30px;
  position: absolute;
  border-top: 3px solid #CCD5DB;
  border-bottom: 3px solid #CCD5DB;
}
.period .timeline-marker:after {
  content: "";
  height: 32px;
  top: auto;
}
.period .timeline-content {
  padding: 40px 0 70px;
}
.period .timeline-title {
  margin: 0;
}

/*----------------------------------------------
    MOD: TIMELINE SPLIT
----------------------------------------------*/
@media (min-width: 768px) {
  .timeline-split .timeline, .timeline-centered .timeline {
    display: table;
  }
  .timeline-split .timeline-item, .timeline-centered .timeline-item {
    display: table-row;
    padding: 0;
  }
  .timeline-split .timeline-info, .timeline-centered .timeline-info,
  .timeline-split .timeline-marker,
  .timeline-centered .timeline-marker,
  .timeline-split .timeline-content,
  .timeline-centered .timeline-content,
  .timeline-split .period .timeline-info,
  .timeline-centered .period .timeline-info {
    display: table-cell;
    vertical-align: top;
  }
  .timeline-split .timeline-marker, .timeline-centered .timeline-marker {
    position: relative;
  }
  .timeline-split .timeline-content, .timeline-centered .timeline-content {
    padding-left: 30px;
  }
  .timeline-split .timeline-info, .timeline-centered .timeline-info {
    padding-right: 30px;
  }
  .timeline-split .period .timeline-title, .timeline-centered .period .timeline-title {
    position: relative;
    left: -45px;
  }
}

/*----------------------------------------------
    MOD: TIMELINE CENTERED
----------------------------------------------*/
@media (min-width: 992px) {
  .timeline-centered,
  .timeline-centered .timeline-item,
  .timeline-centered .timeline-info,
  .timeline-centered .timeline-marker,
  .timeline-centered .timeline-content {
    display: block;
    margin: 0;
    padding: 0;
  }
  .timeline-centered .timeline-item {
    padding-bottom: 60px;
    overflow: hidden;
  }
  .timeline-centered .timeline-marker {
    position: absolute;
    left: 50%;
    margin-left: -7.5px;
  }
  .timeline-centered .timeline-info,
  .timeline-centered .timeline-content {
    width: 50%;
  }
  .timeline-centered > .timeline-item:nth-child(odd) .timeline-info {
    float: left;
    text-align: right;
    padding-right: 30px;
  }
  .timeline-centered > .timeline-item:nth-child(odd) .timeline-content {
    float: right;
    text-align: left;
    padding-left: 30px;
  }
  .timeline-centered > .timeline-item:nth-child(even) .timeline-info {
    float: right;
    text-align: left;
    padding-left: 30px;
  }
  .timeline-centered > .timeline-item:nth-child(even) .timeline-content {
    float: left;
    text-align: right;
    padding-right: 30px;
  }
  .timeline-centered > .timeline-item.period .timeline-content {
    float: none;
    padding: 0;
    width: 100%;
    text-align: center;
  }
  .timeline-centered .timeline-item.period {
    padding: 50px 0 90px;
  }
  .timeline-centered .period .timeline-marker:after {
    height: 30px;
    bottom: 0;
    top: auto;
  }
  .timeline-centered .period .timeline-title {
    left: auto;
  }
}

/*----------------------------------------------
    MOD: MARKER OUTLINE
----------------------------------------------*/
.marker-outline .timeline-marker:before {
  background: transparent;
  border-color: #0c445b;
}
.marker-outline .timeline-item:hover .timeline-marker:before {
  background: #0c445b;
}


h1, h2, h3, h4, h5, h6 {
	color: #3D4351 !important;
	margin-top: 0px !important;
	font-size: 28px !important;
	font-weight: bold;
}

p {
	font-size: 26px !important;
	color: #777 !important;
	margin-top: -25px;
}


.bg {
	height: 480px;
	width: 100%;
	max-width: 300px;
	margin: 10px 20px;
	display: block; 	
	background: url('../images/orn2.jpg') center no-repeat;
	-moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
}

.block {
	margin-top: 10px;
	text-align: center;
	vertical-align: middle;
}

.carousel .carousel-item {
	width: 300px !important;

}

.carousel { 
	height: 660px;
	margin-top: -200px;
}


@media screen and (max-width: 600px) {
	.carousel .carousel-item {
		width: 200px !important;

	}

	.carousel { 
		height: 400px;
		margin-top: -100px;
	}

	.nav {
		height: 60px;
	}

	.block0 {
		height: 0px !important;
	}

	.demo {
	    height: calc(100% - 40px);
	}

	.menu-item-link {
		height: 70px !important;
		line-height: 30px !important;
	}

	.logo-image {
		height: 40px;
	}

	#start {
		height: 0px !important;
	}
}


.layout {
    box-shadow: 0px 0px 0px  rgba(0,0,0,0.5);
    display: none;
    width: 450px;
    height: auto;
    background:#FFFFFF;
    z-index:2002;
    position:fixed;
    top:50%;
    left:50%;
    margin-left:0px;
}

.content {
    display: inline-block;
    vertical-align: top;
    position: relative;
}
.content:hover {
    cursor: pointer;
}

.caption {
    box-sizing: border-box;
    width: 100%;
    padding: 2px;
    position: absolute;
    z-index: 2;
    left: 0;
    top: 80px;
    text-align: center;
    color: #fff;
    font: 11px/16px Tahoma, sans-serif;
    white-space: nowrap;
    display: none;
}

.black-overlay {
    position: fixed;
    margin: auto auto;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index:2001;
    -moz-opacity: 0;
    opacity:.60;
    filter: alpha(opacity=0);
    display: none;
}
