/*General*/
body {
  direction: rtl;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "BYekan", "Open sans", Helvetica, Arial;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
  margin-top: 30px;
}

p,
a {
  font-family: "BYekan", "Open sans";
}

blockquote {
  font-style: italic;
  font-family: Georgia;
  color: #999;
  margin: 30px 0 30px;
}

label {
  color: #777;
}
.r-float {
  float: right;
}
.main-rows {
  display: flex;
  flex-direction: column;
  float: right;
  align-items: center;
}
/* Header */
#head {
  background: #181015 url(../images/portfolio/farm3.jpeg) no-repeat;
  background-size: cover;
  min-height: 520px;
  text-align: center;
  padding-top: 240px;
  color: white;
  font-family: "BYekan", "Open sans", Helvetica, Arial;
  font-weight: 300;
}

#head.slide-p {
    color: #3c763d;
}

#head.secondary {
  height: 100px;
  min-height: 100px;
  padding-top: 0px;
}

#head .lead {
  font-family: "BYekan", "Open sans", Helvetica, Arial;
  font-size: 44px;
  margin-bottom: 6px;
  color: white;
  line-height: 1.15em;
}

#head .tagline {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 25px;
}

#head .tagline a {
  color: #fff;
}

#head .btn {
  margin-bottom: 10px;
}

#head .btn-default {
  text-shadow: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  -webkit-box-shadow: inset 0px 0px 0px 3px rgba(255, 255, 255, 0.5);
  -moz-box-shadow: inset 0px 0px 0px 3px rgba(255, 255, 255, 0.5);
  box-shadow: inset 0px 0px 0px 3px rgba(255, 255, 255, 0.5);
  background: transparent;
}

#head .btn-default:hover,
#head .btn-default:focus {
  color: rgba(255, 255, 255, 0.8);
  -webkit-box-shadow: inset 0px 0px 0px 3px rgba(255, 255, 255, 0.8);
  -moz-box-shadow: inset 0px 0px 0px 3px rgba(255, 255, 255, 0.8);
  box-shadow: inset 0px 0px 0px 3px rgba(255, 255, 255, 0.8);
  background: transparent;
}

#head .btn-default:active,
#head .btn-default.active {
  color: #fff;
  -webkit-box-shadow: inset 0px 0px 0px 3px #fff;
  -moz-box-shadow: inset 0px 0px 0px 3px #fff;
  box-shadow: inset 0px 0px 0px 3px #fff;
  background: transparent;
}

.panel {
  margin-bottom: 0px;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.panel-body {
  padding: 0px;
}

.btn-action,
.btn-primary {
  color: #fcfaf8;
  background-image: -webkit-linear-gradient(top, #3f833f 0%, #234c23 100%);
  background-image: linear-gradient(to bottom, #3f833f 0%, #234c23 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0ecfec22', endColorstr='#09bed900', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border: 0 none;
}

.btn-action:hover,
.btn-primary:hover,
.btn-action:focus {
  background: #234c23;
}

.slideUp {
  top: -100px;
}
.headroom {
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}
/* Highlights*/
.highlight {
  margin-top: 40px;
}

.h-caption {
  text-align: center;
}

.h-caption i {
  display: block;
  font-size: 54px;
  color: #3c763d;
  margin-bottom: 36px;
}

.h-caption h4 {
  color: #382526;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}

.h-body {
}

.jumbotron {
  background-color: #e0e0e0;
}

.page-title {
  margin-top: 20px;
  font-weight: 300;
  color: #234c23;
}

.text-muted {
  color: #888;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin: 30px 0 0px 0;
}

ul.list-spaces li {
  margin-bottom: 10px;
}

/* Helpers */
.container-full {
  margin: 0 auto;
  width: 100%;
}

.top-space {
  margin-top: 60px;
}

.top-margin {
  margin-top: 20px;
}

img {
  max-width: 100%;
}

img.pull-right {
  margin-left: 10px;
}

img.pull-left {
  margin-right: 10px;
}

#map {
  width: 100%;
  height: 280px;
}

#social {
  margin-top: 50px;
  margin-bottom: 50px;
}

#social .wrapper {
  width: 340px;
  margin: 0 auto;
}

.sidebar {
  padding-top: 36px;
  padding-bottom: 30px;
}

.sidebar .panel {
  margin-bottom: 20px;
}

.sidebar h1,
.sidebar .h1,
.sidebar h2,
.sidebar .h2,
.sidebar h3,
.sidebar .h3 {
  margin-top: 20px;
}

/* Footer */
.footer1 {
  background: #3c763d96;
  padding: 30px 0 0 0;
  font-size: 12px;
  color: #fff;
}

.footer1 a {
  color: #ccc;
}

.footer1 a:hover {
  color: #fff;
}

.footer1 .panel {
  margin-bottom: 30px;
}

.footer1 .panel-title {
  font-size: 17px;
  font-weight: bold;
  color: #ccc;
  margin: 0 0 20px;
}

.footer1 .entry-meta {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin: 0 0 35px 0;
  padding: 2px 0;
  color: #888888;
  font-size: 12px;
  font-size: 0.75rem;
}

.footer1 .entry-meta a {
  color: #333333;
}

.footer1 .entry-meta .meta-in {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}

.follow-me-icons {
  font-size: 30px;
}

.follow-me-icons i {
  float: left;
  margin: 0 10px 0 0;
}

.footer2 {
  background: #191919;
  padding: 15px 0;
  color: #777;
  font-size: 12px;
}

.footer2 a {
  color: #aaa;
}

.footer2 a:hover {
  color: #fff;
}

.footer2 p {
  margin: 0;
}

.panel-simplenav {
  margin-left: -5px;
}

.panel-simplenav a {
  margin: 0 5px;
}

/* carousel */
#quote-carousel {
  padding: 0 10px 30px 10px;
  margin-top: 30px 0px 0px;
}

/* Control buttons  */
#quote-carousel .carousel-control {
  background: none;
  color: #222;
  font-size: 2.3em;
  text-shadow: none;
  margin-top: 30px;
}
/* Previous button  */
#quote-carousel .carousel-control.left {
  left: -12px;
}
/* Next button  */
#quote-carousel .carousel-control.right {
  right: -12px !important;
}
/* Changes the position of the indicators */
#quote-carousel .carousel-indicators {
  right: 50%;
  top: auto;
  bottom: 0px;
  margin-right: -19px;
}
/* Changes the color of the indicators */
#quote-carousel .carousel-indicators li {
  background: #c0c0c0;
}

#quote-carousel .carousel-indicators .active {
  background: #333333;
}

#quote-carousel img {
  width: 250px;
  height: 100px;
}
/* End carousel */

.item blockquote {
  border-left: none;
  margin: 0;
}

.item blockquote img {
  margin-bottom: 10px;
}

.item blockquote p:before {
  content: "\f10d";
  font-family: "Fontawesome";
  float: left;
  margin-right: 10px;
}
.contact ul {
  padding: 0px;
}
.contact ul li {
  margin-bottom: 10px;
  list-style: none;
}
footer ul li {
  list-style: none;
}
#map-canvas {
  height: 100%;
  margin: 0px;
  padding: 0px;
}

/* ------- */

.isotopeWrapper article {
  margin-bottom: 30px;
}

nav#filter {
  margin-bottom: 1.5em;
}

nav#filter li {
  display: inline-block;
  margin: 0 0 0 5px;
}

nav#filter a {
  padding: 4px 12px;
  line-height: 20px;
  border: 1px solid #00bfff;
  text-decoration: none;
  color: #00bfff;
}
nav#filter a.current {
  background: #00bfff;
  color: #fff;
}
.iconColor .fa {
  color: #3c763d;
}

/**
  MEDIA QUERIES
*/
@media (max-width: 767px) {
  #head {
    min-height: 420px;
    padding-top: 160px;
  }

  #head .lead {
    font-size: 34px;
  }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
  #quote-carousel {
    margin-bottom: 0;
    padding: 0 40px 30px 40px;
    margin-top: 30px;
  }
}
@media (max-width: 767px) {
  .navbar-collapse ul {
    text-align: right;
    margin-right: 0px;
  }
}
/* Small devices (tablets, up to 768px) */
@media (max-width: 768px) {
  /* Make the indicators larger for easier clicking with fingers/thumb on mobile */
  #quote-carousel .carousel-indicators {
    bottom: -20px !important;
  }

  #quote-carousel .carousel-indicators li {
    display: inline-block;
    margin: 0px 5px;
    width: 15px;
    height: 15px;
  }

  #quote-carousel .carousel-indicators li.active {
    margin: 0px 5px;
    width: 20px;
    height: 20px;
  }
}
.img-portfolio {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
#portfolio {
  padding: 100px 0;
  background: #ffffff;
  background: url("../images/portfolio/farm.jpeg");
  background-size: cover;
}
#portfolio .portfolio-filter {
  list-style: none;
  padding: 0;
  margin: 0 0 50px;
  display: inline-block;
}
#portfolio .portfolio-filter > li {
  float: left;
  display: block;
}
#portfolio .portfolio-filter > li a {
  display: block;
  padding: 7px 15px;
  margin: 0px 2px;
  color: #d7d7d7;
  position: relative;
  border-bottom: 2px solid transparent;
  background: rgba(229, 229, 229, 0.29);
}
#portfolio .portfolio-filter > li a:hover,
#portfolio .portfolio-filter > li a.active {
  background: #41dd43eb;
  color: #ffffff;
}
#portfolio .portfolio-items {
  margin: -15px;
}
#portfolio .portfolio-item {
  width: 24.9%;
  float: left;
  padding: 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
#portfolio .portfolio-item .portfolio-item-inner {
  position: relative;
  border-bottom: 4px solid #41dd43eb;
}
#portfolio .portfolio-item .portfolio-item-inner .portfolio-info {
  opacity: 0;
  transition: opacity 400ms;
  -webkit-transition: opacity 400ms;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 18px 0 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#portfolio .portfolio-item .portfolio-item-inner .portfolio-info h3 {
  font-size: 16px;
  line-height: 1;
  margin: 0;
  color: #fff;
}
#portfolio .portfolio-item .portfolio-item-inner .portfolio-info .preview {
  width: 60px;
  height: 60px;
  line-height: 36px;
  text-align: center;
  color: #41dd43eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border: 0;
  text-decoration: none;
  /* background: rgba(239, 239, 239, 1); */
  padding: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.53);
}
#portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
}
.section-header {
  margin-bottom: 50px;
}
.section-header p {
  text-align: center;
}
.section-header .section-title {
  color: #234c23;
  position: relative;
  padding-bottom: 20px;
  margin: 0 0 20px;

  display: block;
  text-align: center;
}
@media only screen and (max-width: 480px) {
  #portfolio .portfolio-filter {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
  }
  #portfolio .portfolio-filter > li a {
    display: block;
    padding: 7px 15px;
    margin: 5px 2px;
  }
  #portfolio .portfolio-item {
    width: 48.9%;
    padding: 8px;
  }
  #portfolio .portfolio-item .portfolio-item-inner .portfolio-info .preview {
    width: 28px;
    height: 24px;
    line-height: 24px;
  }
  #portfolio .portfolio-item .portfolio-item-inner .portfolio-info {
    padding: 7px 0 0;
  }
}
