@charset "UTF-8";
/* CSS Document */

.main{
	display:flex;
	margin: auto;
}

.main-left, .main-right{
	width: 50%;
	display: inline;
	float: left;
	flex-direction: row;
}


.main-right{
	margin: auto;
}

.main-left ul{
	list-style: none;
	font-size: 24px;
	width: 40%;
	float: left;
	margin: 0;
}

.main-left ul li{
	padding: 5% 10%;
}

.active-slider{
	background-color: #FAF3DF;
}


* {
  box-sizing: border-box;
}

img {
  vertical-align: middle;
}

/* Container for image text */
.caption-container {
  text-align: center;
  /* background-color: #FAF3DF; */
  color: #315315;
  width: 90%;
	margin: 10% 5%;
  float: left;
	display: inline;
	
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  	position: relative;
	width: 50%;
	margin: 0 auto;
	display: hidden;
}

/* Hide the images by default */
.mySlides {
  	display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  	cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
	  cursor: pointer;
	  width: auto;
	  padding: 16px;
	  color: #4d6d32;
	  font-weight: bold;
	  font-size: 20px;
	  border-radius: 0 3px 3px 0;
	  user-select: none;
	  -webkit-user-select: none;
	 margin: auto;
	 transition: all .5s ease;
	}

.prev-slide,
.next-slide {
	  cursor: pointer;
	  position: absolute;
	  top: 40%;
	  width: auto;
	  padding: 16px;
	  color: black;
	  font-weight: bold;
	  font-size: 20px;
	  border-radius: 0 3px 3px 0;
	  user-select: none;
	  -webkit-user-select: none;
	 transition: all .5s ease;
	}

/* Position the "next button" to the right */
.next, .next-slide {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  opacity: .5;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.portfolio-preview{
	width: 60%;
	background-color: #FAF3DF;
	height: auto;
	padding: 2%;
	line-height: 110%;
	float: left;
	
}


.caption-container .row{
	width: 50%;
}

.caption-info{
	text-align: left;
	font-size: 18px;
}

#caption{
	text-align: left;
	
}

.row{
	display: flex;
	float: left;
	width: 50%;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 10%;
  margin: auto;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}


#gallery-banners{

}


@media only screen and (max-width: 800px) {
	
	.main{
		flex-direction: column;
	}
	
	.main-left, .main-right{
		width: 100%;
	}
	
	
	.main-left ul{
		display: flex;
		width: 100%;
		padding-left: 0;
	}
	
	.main-left ul li{
		margin: auto;
		font-size: .4em;
	}
	
	.main-right{
		flex-direction: column;
	}
	
	.portfolio-preview{
		order: 2;
		width: 80%;
		margin: 0% auto 4% auto;
		text-align: center;
	}
	
	
	.caption-info, #caption{
		text-align: center;
	}
	
	.caption-info{
		margin-top: 2%;
	}
	
	.container{
		order: 1;
		width: 80%;
		margin: auto;
	}
	
}