/*
 * jQuery FlexSlider v1.8
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {width: 100%; margin: 0; padding: 0;}
.flexslider .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {max-width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {
	background: #888888;
	position: relative;
	zoom: 1;
	
	-webkit-box-shadow: 0px 0px 4px rgba(0,0,0,.5); 
	-moz-box-shadow: 0px 0px 4px rgba(0,0,0,.5); 
	box-shadow: 0px 0px 4px rgba(0,0,0,.5); 
}



.flexslider .slides {zoom: 1;}
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {
	background:none; 
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); 
	zoom: 1;
}

.flex-caption {
    position: absolute;
	left: 81%;
    bottom: -1% !important;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,.3);
    font-size: 15px;
    line-height: 18px;
}




.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

.flex-control-nav {
    margin: 0;
    padding: 0;
    list-style: none;
	display:none;
}

/* shadow */

.shadow-slider{
	height: 11px;
	background: url(../img/shadow-main.png) no-repeat top center;
	margin-bottom: 70px;
}


/* Project slider*/

.project-slider{
	margin-left: 24px;
	margin-right: 24px;
	margin-bottom: 60px;
	position: relative;
}


.project-slider .flex-direction-nav{
	display: none;
}

.project-slider .flex-control-nav{
	left: 0px;
	right: auto;
	bottom: -30px;
	text-align: left;
}


.text-box {
    width: auto;
    display: inline-block;
    padding: 2rem 2rem;
    text-align: center;
	max-width:300px;
}

.address {
    padding: 8rem 0rem 3rem 0rem;
    position: relative;
    margin: 0;
}

a{
color:#FFF;
text-decoration:none;
}

a:hover{
color:#FFF;
transition: ease all 0.5s;
cursor:pointer;
text-decoration:none;
}

.text-capital{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size:20px;
}

.box1 {
  margin: 0 auto;
  padding: 17px;
  background-clip: padding-box;
  text-align: center;
}

.button1 {
  font-size: 1.1em;
  padding: 10px;
  color: #FFF !important;
  border: 2px solid #FFF;
  background:#C3A05C;
  cursor: pointer;
  transition: all 0.3s ease-out;
  text-transform:uppercase;
  text-decoration:none !important;
  z-index: 50;
  font-family: Montserrat, sans-serif;
}

.button1 a{
	color: #000 !important;
}
.button1 a:visited{
	color: #000 !important;
}
.button1:hover {
  background: rgba(255,255,255,0);
  color:#040D1E !important;
  border:2px solid #FFF;
}

.button2 {
  font-size: 1.1em;
  padding: 10px;
  color: #FFF !important;
  background:#040D1E;
  cursor: pointer;
  transition: all 0.3s ease-out;
  text-transform:uppercase;
  text-decoration:none !important;
  z-index: 50;
  font-family: Montserrat, sans-serif;
  text-align:center;
}

.button2 a{
	color: #000 !important;
}
.button2 a:visited{
	color: #000 !important;
}
.button2:hover {
  background: #040D1E;
  color:#FFF !important;
}


.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(25, 25, 32, 0.8);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 7% auto;
  padding: 20px;
  background: rgba(255,255,255,0);
  border-radius: 5px;
  width: 45%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #C3A05C;
  font-family: 'Gilda Display', serif;
  font-size:2.5em;
}
.popup .close {
  position: absolute;
  top: 0px;
  right: 20px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #FFF;
}
.popup .close:hover {
  color: #C3A05C;
}
.popup .content {
  max-height: 40%;
  overflow: none;
  color:#FFF;
  text-align:left;
}

@media screen and (max-width: 700px){
  .box1{
    width: 70%;
  }
  .popup{
    width: 70%;
  }

}

h3{
	margin: 5px 0 5px 0;
	color:#C3A05C;
}

@media (max-width:1200px){
	.width{
		max-width:100% !important;
		background:none !Important;
		    font-size: 25px !important;
	}
}

@media (max-width:1024px){
.popup .content {
    max-height: 30%;
    overflow: none;
    color: #FFF;
    text-align: left;
    font-size: 12px;
}
h3 {
    margin: 5px 0 5px 0;
    color: #C3A05C;
	font-size:12px;
}
}