/* ================================= 
  Flexbox
==================================== */
.panel-body {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-around;
}
.panel-body p,
.panel ul {
	margin: 1em 0;
}

/*
.panel-body:nth-child(2) {
	flex-direction: column;
	background-color: red;
}
*/
.panel-body img {
	border: 1px solid #8DC555;
	width:100%;
	margin: 1em auto;
}

.aside-container {
	display: -webkit-box;    /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;       /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;    /* TWEENER - IE 10 */
	display: -webkit-flex;   /* NEW - Chrome */
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	flex-flow: row wrap;
	justify-content: center;
}
.item {
	min-height: 25vh;
	-webkit-flex-wrap: wrap;
	margin: 5px;
	min-width: 200px;
}
.flex-container {
	display: flex;
	flex-flow: row wrap;
	height: 700px;
	justify-content: space-around;
	align-items: center;
	background-image: url("../img/hero-default-aerial.jpg");
	background-repeat: no-repeat;
	background-color: rgba(59,74,25,100);
    background-size: cover;
}
.fc-interchanges {
	display: flex;
	flex-flow: row wrap;
	background-image: url("../img/head-img-4.jpg");
	background-repeat: no-repeat;
	background-color: #FFFFFF;
	height: 300px;
	background-size: cover;

}
.fc-photos {
	display: flex;
	flex-flow: row wrap;
	background-image: url("../img/head-img-2.jpg");
	background-repeat: no-repeat;
	background-color: #FFFFFF;
	height: 300px;
	background-size: cover;

}
.fc-faq {
	display: flex;
	flex-flow: row wrap;
	background-image: url("../img/head-img-1.jpg");
	background-repeat: no-repeat;
	background-color: #FFFFFF;
	height: 300px;
	background-size: cover;

}
.fc-news {
	display: flex;
	flex-flow: row wrap;
	background-image: url("../img/head-img-3.jpg");
	background-repeat: no-repeat;
	background-color: #FFFFFF;
	height: 300px;
	background-size: cover;

}
.fc-contact {
	display: flex;
	flex-flow: row wrap;
	background-image: url("../img/head_news.jpg");
	background-repeat: no-repeat;
	background-color: #FFFFFF;
	height: 300px;
	background-size: cover;

}
.flex-item {
	background-color: none;
	margin: 10px;
	order: 1;
	
}
.flex-item-2 {
	width: 500px;
	text-align: left;
	color: #FFFFFF;
	background-color:rgba(49,49,49,.70);
    padding:20px;
    border-radius:15px;
}
.flex-btn {
	display: flex;
	margin: 10px;
}

.down-arrow {
	color: rgba(255,255,255,0.25)!important;
	
}

/* Flexbox Cards */

/**,
*::before,
*::after {
  box-sizing: border-box;
}*/
html {
  background-color: #f0f0f0;
}
body {
  color: #999999;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  padding: 1rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga" on;
}
img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}
.btn-wht {
  background-color: white;
  border: 1px solid #cccccc;
  color: #696969;
  padding: 0.5rem;
  text-transform: lowercase;
}
.btn--block {
  display: block;
  width: 100%;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cards__item {
  display: flex;
  padding: 1rem;
}
@media (min-width: 40rem) {
  .cards__item {
    width: 50%;
  }
}
@media (min-width: 56rem) {
  .cards__item {
    width: 33.3333%;
  }
}
.card {
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card:hover .card__image {
  filter: contrast(100%);
}
.card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
}
.card__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  filter: contrast(70%);
  overflow: hidden;
  position: relative;
  transition: filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
}
.card__image::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
@media (min-width: 40rem) {
  .card__image::before {
    padding-top: 66.6%;
  }
}
.card__image--flowers {
  background-image: url(https://unsplash.it/800/600?image=82);
}
.card__image--river {
  background-image: url(https://unsplash.it/800/600?image=11);
}
.card__image--record {
  background-image: url(https://unsplash.it/800/600?image=39);
}
.card__image--fence {
  background-image: url(https://unsplash.it/800/600?image=59);
}
.card__title {
  color: #696969;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.card__text {
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}


@media (max-width: 767px) {

	.flex-item,
	.flex-item-2,
	.flex-btn{
		margin: 0 auto;
		text-align: center;
	}	
	
.flex-container-news {
	display: flex;
	flex-flow: row wrap;
	background-image: url("../img/head_news_768.jpg");
	background-repeat: no-repeat;
	background-color: #FFFFFF;
	height: 300px;
	background-size: cover;

}	
}