/*
	Theme Name: Envision - Child
	Description: Child Theme
	Author: Orkun Gursel
	Template: envision
	Version: 1.2
*/
/** Add your custom css */

.ui--content-box-image {
	height: auto !important;
}

/*Rescue*/
.single-rescue #main {
  padding-top: 2px !important;
}
.single-rescue #sliders-container {
	max-height: 500px;
	overflow: hidden;
}
#rsc p {
  margin: 0 0 20px !important;
}
#rsc h2 {
	margin-bottom: .6em !important;
}
#rsc #rsc_ctnt {
	display: table;
  margin-bottom: 2em;
}
#rsc #rsc_ctnt div {
	vertical-align: top;
}
#rsc #rsc_ctnt #rsc_ov {
	display: table-cell;
	padding: 20px 77px 20px 0;
	font-size: 112.5% !important;
}
#rsc #rsc_ctnt #rsc_fm {
	display: table-cell;
	padding: 20px 0 20px 0;
	width: 300px;
	background: #a86d27;
}
#rsc #rsc_ctnt #rsc_fm .rsc_fg {
  border-bottom: 4px solid #ffd400;
  color: #ffd400;
  font-size: 125%;
  line-height: 25px;
  margin-left: 38px;
  width: 158px;
}
#rsc #rsc_ctnt #rsc_fm .rsc_fm {
	background: url(images/bg_fundrmeter.png) no-repeat top center;
	width: 250px;
	height: 361px;
	margin: auto;
}
#rsc #rsc_ctnt #rsc_fm h2 {
	color: #f6f3ee;
	text-align: center;
	font-size: 150%;
}
#rsc #rsc_ctnt #rsc_fm .rsc_fc {
  border-top: 2px solid #fff;
  color: #f6f3ee;
  float: right;
  font-size: 125%;
  line-height: 0.9em;
  margin-right: 6px;
  padding-left: 104px;
  width: 165px;
  padding-top: 6px;
}
#rsc #rsc_ctnt #rsc_fm .rsc_fc span {
	display: block;
	font-size: 85%;
}
#rsc #rsc_tm {
	background: #d5ccba;
}
/** Timeline */
/* -------------------------------- 

Main Components 

-------------------------------- */

.cd-horizontal-timeline {
  opacity: 0;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
  background-color: #D5CCBB;
  font-size: 16px;
  margin: 2px auto;
  padding-bottom: 1em;
}

.cd-horizontal-timeline * {
  box-sizing: border-box;
}

.cd-horizontal-timeline *::after {
  box-sizing: border-box;
}

.cd-horizontal-timeline *::before {
  box-sizing: border-box;
}

.cd-horizontal-timeline ol {
  list-style: none;
  margin-top: 1em;
}

.cd-horizontal-timeline ul {
  list-style: none;
}

.cd-horizontal-timeline::before {
  content: 'mobile';
  display: none;
}

.cd-horizontal-timeline .timeline {
  position: relative;
  height: 150px;
  margin: 0 auto 2em auto;
  width: 100%;
}

.cd-horizontal-timeline .events-wrapper {
  border-top: 1px solid white;
}

.cd-horizontal-timeline .events {
  top: 98%;
  height: 4px;
  background: #ffffff;
}

.cd-horizontal-timeline .events li {
  position: relative;  
}
.cd-horizontal-timeline .events a {
  text-decoration: none;
  display: block;
  height: 148px;
  align-items: baseline;
  padding: 0 1em;
  max-width: 150px;
  font-weight: bold; 
  color: #5e3200;
}
.cd-horizontal-timeline .events a span{
  top: 30px;
  display: block;
  position: relative;
}

.cd-horizontal-timeline .events a::after {
  /*content: '';*/
  bottom: 29px;
  height: 30px;
  width: 30px;
  border: 2px solid #55606e;
  background-color: #c2c2c2;
}

.cd-horizontal-timeline .events a::before {
/*  content: attr(data-index);
  position: absolute;
  left: 50%;
  right: auto;*/
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  /*bottom: 21px;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  z-index: 3;
  color: #fff;*/
}

.cd-horizontal-timeline .events a.active {
  pointer-events: none;
  background-color: #CBB495;

}

.cd-horizontal-timeline .events a.active::after {
  background-color: #0091d9;
  border-color: #55606e;
}

.cd-horizontal-timeline .events a.complete.active::after {
  background-color: #0091d9;
  border-color: #55606e;
}

.cd-horizontal-timeline .events a.complete::after {
  background-color: #89ad45;
  border-color: #55606e;
}

.cd-horizontal-timeline .events a.older-event::after {
  border-color: #55606e;
}

.cd-horizontal-timeline .filling-line {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #9B6524;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -ms-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}

.cd-horizontal-timeline.loaded {
  opacity: 1;
}

.no-touch .cd-horizontal-timeline .events a:hover::after {
  background-color: #0091d9;
  border-color: #55606e;
}

.no-touch .cd-timeline-navigation a:hover {
  border-color: #55606e;
}

.no-touch .cd-timeline-navigation a.inactive:hover {
  border-color: #dfdfdf;
}
.cd-timeline-navigation a {
  /*font-family: 'FontAwesome';*/
  /*border-radius: 50%;*/
  /*border: 2px solid #dfdfdf;*/
  overflow: hidden;
  /*text-indent: 100%;*/
  color: #7b9d6f;
  text-decoration: none;
  text-align: center;
}

/*.cd-timeline-navigation a::after {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  
}*/

.cd-timeline-navigation a:before{
  font-family: 'IcoMoon';
  font-size: 50px;  
  vertical-align: middle;
}

.cd-timeline-navigation a.prev:before{
  content: '\f104';
}

.cd-timeline-navigation a.prev {
  left: 0;
}

.cd-timeline-navigation a.next:before {
  content: '\f105';
}

.cd-timeline-navigation a.next {
  right: 0;
}

.cd-timeline-navigation a.inactive {
  cursor: not-allowed;
}

.cd-timeline-navigation a.inactive::after {
  background-position: 0 -16px;
}

.cd-horizontal-timeline .events-content{
  width: 90%;
  margin: 0 auto;
}

.cd-horizontal-timeline .events-content .event-content {
  display: none;
}

.cd-horizontal-timeline .events-content .event-content.active{
  display: block;
}

.cd-horizontal-timeline .marker{
  width: 2px;
  height: 40px;
  background-color: #9D6624;
  z-index: 4;
  position: absolute;
  top: 108px;
  left: 48.5%;
}

.mfp-wrap {
  z-index: 104300 !important;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 640px){
	#rsc #rsc_ctnt, #rsc #rsc_ctnt #rsc_ov, #rsc #rsc_ctnt #rsc_fm {
		display: block;
		margin: auto;
	}
	#rsc #rsc_ctnt #rsc_ov {
		padding-right: 0;
	}
	.rd-tabs li label {
		font-size: 0.75em !important;
		padding: 6px 8px !important;
	}
	.single-rescue #sliders-container {
		height: auto;
		max-height: 500px;
		overflow: hidden;
	}
	.alignleft, .alignright {
		display: block;
		float: none;
		margin: 0 auto;
	}
}

header #logo img {
  height: auto!important;
}