/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


#top-bar {
 background-color: #333;
 color: white;
}

.top-links-item > a {
  color:white;
}

.top-links-sub-menu .top-links-item > a
{
	color:#333;
}

.top-links-item .active a {
	font-weight:bold;
}
.top-links-item .active {
	background-color: #dee2e6;
}

/*EXPANDING SLIDER*/
.flex-section {

	height: 75vh;

	@media screen and (max-width: 768px) {
		height: 100vh;

	}
}


.flex-container {
	font-family: 'Fira Sans Condensed';
	font-weight:400;
	position: absolute;
	text-transform:uppercase;
	height: 100vh;
	width: 100%;
	display: -webkit-flex; /* Safari */
	display: flex;
	overflow: hidden;
	@media screen and (max-width: 768px) {
		flex-direction: column;
		/*height:20%;*/

	}
}
.flex-title {
	color: #f1f1f1;
	position: relative;
	font-size: 5em;
	font-size: 3.5vw;

	margin: auto;
	text-align: center;
	opacity:0;
	top: 10%;
	word-break: break-word; 
	hyphens: auto;
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
	@media screen and (max-width: 768px) {
		transform: rotate(0deg) !important;
		top: 20%;
		font-size: 1.5em;
	}
}
.flex-about {
	opacity: 0;
	color: #f1f1f1;
	position: relative;
	width: 30%;
	font-size: 1em;
	padding: 3%;
	top: 20%;
	
	/*border: 2px solid #f1f1f1;*/
	border-radius: 10px;
	line-height: 1.5;
	margin: auto;
	text-align: center;
	transform: rotate(0deg);
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
	@media screen and (max-width: 768px) {
		padding: 0%;
		border: 0px solid #f1f1f1;
		font-size:0.5em;
		width:60%
	}
}

.flex-about a {
color:white;

}
.flex-about p {

	font-style: italic;
}

.flex-slide {
	background-size: cover !important;
	background-position: center center;
	background-attachment: fixed;	
	-webkit-flex: 1;  /* Safari 6.1+ */
	-ms-flex: 1;  /* IE 10 */    
	flex: 1;
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
	@media screen and (max-width: 768px) {
		overflow: auto;
		overflow-x: hidden;
	}
}
.flex-slide p {
	@media screen and (max-width: 768px) {
		font-size: 2em;
	}
} 
.flex-slide ul li {
	@media screen and (max-width: 768px) {
		font-size: 2em;
	}
} 
.flex-slide:hover {
	-webkit-flex-grow: 3;
	flex-grow: 3;
}


@keyframes aboutFlexSlide {
	0% {
		-webkit-flex-grow: 1;
		flex-grow: 1;
	}
	50% {
		-webkit-flex-grow: 3;
		flex-grow: 3;
	}
	100% {
		-webkit-flex-grow: 1;
		flex-grow: 1;
	}
}

.flex-title-home {
	@media screen and (min-width: 768px) {
				
		animation: aboutFlexSlide $defaultSeconds 1;
		animation-delay: 0s;
	}
}



@keyframes homeFlextitle {
	0% {
		transform: rotate(90deg);
		top: 15%;
	}
	50% {
		transform: rotate(0deg);
		top: 15%;
	}
	100% {
		transform: rotate(90deg);
		top: 15%;
	}
}

.flex-about-home {
	opacity: 0;
	@media screen and (min-width: 768px) {
		animation: aboutFlexSlide $defaultSeconds 1;
		animation-delay: 0s;
	}
}

@keyframes flexAboutHome {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}




// Preloader
.spinner {
	position: fixed;
	top: 0;
	left: 0;
	background: #222;
	height: 100%;
	width: 100%;
	z-index: 11;
	margin-top: 0;
	color: #fff;
	font-size: 1em;
}

.cube1, .cube2 {
  background-color: #fff;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  left: 0;
  
  -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
  animation: sk-cubemove 1.8s infinite ease-in-out;
}

.cube2 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

@-webkit-keyframes sk-cubemove {
  25% { -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5) }
  50% { -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg) }
  75% { -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5) }
  100% { -webkit-transform: rotate(-360deg) }
}

@keyframes sk-cubemove {
  25% { 
    transform: translateX(42px) rotate(-90deg) scale(0.5);
    -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
  } 50% { 
    transform: translateX(42px) translateY(42px) rotate(-179deg);
    -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
  } 50.1% { 
    transform: translateX(42px) translateY(42px) rotate(-180deg);
    -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
  } 75% { 
    transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
  } 100% { 
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
  }
}



/***************************/

.page-title-content h1 {
	text-shadow: 3px 3px 10px rgba(38, 0, 0, 1);
}
.breadcrumb a {
	color:white;
	text-shadow: 3px 3px 10px rgba(38, 0, 0, 1);
}

.red {color:red !important; }
.green {color: green !important;}

.wood-bg {
	background-image:url('/images/bg-wood.jpg');background-repeat:repeat;background-size:cover;
}
.wood-bg h2 {
  color: white;
  text-shadow: 2px 2px #666;
}
#instagram-photos img:hover	{
	transform: scale(1.5);transition: transform 20s linear;
		}


/**** contact form ****/

#contact-form .success-contact,
#contact-form .loading {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
}
#contact-form .loading:after {
    content: "";
    background: url(/images/AjaxLoader.gif) no-repeat center center;
    min-height: 32px;
    min-width: 32px;
    position: absolute;
    left: -webkit-calc(50% - (32px / 2));
    left: -moz-calc(50% - (32px / 2));
    left: calc(50% - (32px / 2));
    top: -webkit-calc(50% - (32px / 2));
    top: -moz-calc(50% - (32px / 2));
    top: calc(50% - (32px / 2));
}
#contact-form .success-contact .alert {
    display: inline-block;
    margin: 0;
    position: absolute;
    left: -webkit-calc(50% - (234px / 2));
    left: -moz-calc(50% - (234px / 2));
    left: calc(50% - (234px / 2));
    top: -webkit-calc(50% - (54px / 2));
    top: -moz-calc(50% - (54px / 2));
    top: calc(50% - (54px / 2));
}
.has-danger .form-control {
border-color: #d9534f;
}
/****************************************/

.section-cms a {
	font-weight:600;
  }