.gallery-section button:focus,
.gallery-section input:focus,
.gallery-section textarea:focus,
.gallery-section select:focus {
    outline: none;
}

.gallery-section .tabs {
    display: block;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    overflow: hidden;
}
.gallery-section .tabs [class^="tab"] label,
.gallery-section .tabs [class*=" tab"] label {
    font-family:'Alegreya Sans',sans-serif;
    color: #2c2555;
    cursor: pointer;
    display: block;
    font-size: 25px;
    font-weight: 600;
    line-height: 1em;
    padding: 2rem 0;
    text-align: center;
}

@media screen and (max-width: 767px) {
.gallery-section .tabs [class^="tab"] label,
.gallery-section .tabs [class*=" tab"] label {
        font-size: 20px;
 }
}

.gallery-section .tabs [class^="tab"] [type="radio"],
.gallery-section .tabs [class*=" tab"] [type="radio"] {
    border-bottom: 1px solid rgba(215, 215, 215, 0.5);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.gallery-section .tabs [class^="tab"] [type="radio"]:hover,
.gallery-section .tabs [class^="tab"] [type="radio"]:focus,
.gallery-section .tabs [class*=" tab"] [type="radio"]:hover,
.gallery-section .tabs [class*=" tab"] [type="radio"]:focus {
    border-bottom: 3px solid #cdcdcd;
}
.gallery-section .tabs [class^="tab"] [type="radio"]:checked,
.gallery-section .tabs [class*=" tab"] [type="radio"]:checked {
    border-bottom: 3px solid #3eae77;
}
.gallery-section .tabs [class^="tab"] [type="radio"]:checked + div,
.gallery-section .tabs [class*=" tab"] [type="radio"]:checked + div {
    opacity: 1;
}
.gallery-section .tabs [class^="tab"] [type="radio"] + div,
.gallery-section .tabs [class*=" tab"] [type="radio"] + div {
    display: block;
    opacity: 0;
    padding: 2rem 0;
    width: 90%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.gallery-section .tabs .tab-2 {
    width: 50%;
}
.gallery-section .tabs .tab-2 [type="radio"] + div {
    width: 200%;
    margin-left: 200%;
}
.gallery-section .tabs .tab-2 [type="radio"]:checked + div {
    margin-left: 0;
}
.gallery-section .tabs .tab-2:last-child [type="radio"] + div {
    margin-left: 100%;
}
.gallery-section .tabs .tab-2:last-child [type="radio"]:checked + div {
    margin-left: -100%;
}


/*  Gallery Image Style
============================*/

.gallery_home{float:left;width:100%;margin:0;padding:40px 0;background:#eee}
.gallery_home p{color:#fff;text-align:center;max-width:80%;margin:0 auto;margin-bottom:30px}
.gallery_home .item .gallery_item{border-radius:2px;background-color:#fff;box-shadow:0 1px .98px .02px rgba(0,0,0,.1);padding:10px;}
.gallery_home .item .item .gallery_item img{display:block;width:100%;height:auto;border-radius:2px}
.gallery_item_info{text-align:center;padding:15px}
.gallery_item_info h4{font-size:18px;color:#333;margin:0;padding:0}
.gallery_item_info p{font-size:13px;margin:0;margin-top:4px;color:#333;max-width:100%}

.results_section .gallery_item{box-shadow:0 1px 5px #00000029;margin-bottom:20px;height:auto;}

@media (max-width: 1199px) {
  .results_section .gallery_item{box-shadow:0 1px 5px #00000029;margin-bottom:20px;height:auto;}
}
@media (max-width: 900px) {
  .results_section .gallery_item{box-shadow:0 1px 5px #00000029;margin-bottom:20px;height:auto;}
}
@media only screen and (max-width: 780px) and (min-width: 300px)  {
    .results_section .gallery_item{box-shadow:0 1px 5px #00000029;margin-bottom:20px;height:auto;}
}

.hover_effect{display:block;position:relative;background:0 0;overflow:hidden;-webkit-transition:all .3s ease-out;transition:all .3s ease-out}
.hover_effect:after{font-family:"FontAwesome";color:#fff;position:absolute;font-size:1.6em;text-align:center;line-height:40px;width:40px;height:40px;left:50%;top:50%;margin-left:-20px;margin-top:-20px;-webkit-transition:all .3s ease-out;transition:all .3s ease-out;-webkit-transform:scale(.1,.1);transform:scale(.1,.1);-moz-opacity:0;-khtml-opacity:0;opacity:0}
.hover_effect img{display:block;width:100%;position:relative;-webkit-transition:all .3s ease-out;transition:all .3s ease-out;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.hover_effect:hover:after{-webkit-transform:scale(1,1);transform:scale(1,1);-moz-opacity:.6;-khtml-opacity:.6;opacity:.6}
.hover_effect:hover img{-webkit-transform:scale(1.1);transform:scale(1.1);-moz-opacity:0.4;-khtml-opacity:0.4;opacity:.4}
.hover_effect:hover{background:#fff200}
.hover_effect:after{content:"\f00e"}


/*  Gallery Video Style
============================*/
.fancy-box{
  position: relative;
  margin: 0;
  padding: 0;
  display: block;
}
.video-banner{
    width: 100%;
    height: auto;
}
.video-box .video-btn-1 {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
}
.video-btn-1 {
  background-color: #fe9c16;
  border-radius: 50%;
  color: #fff;
  display: block;
  text-align: center;
  line-height: 30px;
  margin: 0 auto;
  position: relative;
  height: 60px;
  width: 60px;
  z-index: 1;
}
.video-btn-1 i {
  position: relative;
  z-index: 1;
  top: 17px;
  left: 2px;
  font-size: 24px;
}
.video-btn-1:hover{
  background-color: #fff;
  color: #4a9043;
}
.video-btn-1::after, .video-btn-1::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  bottom: 0;
  left: 0;
  border-radius: 0;
  border-radius: 50%;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  -webkit-animation: ripple 1.6s ease-out infinite;
          animation: ripple 1.6s ease-out infinite;
  background-color: rgba(254, 156, 22, 0.5);
}

@-webkit-keyframes ripple {
  0%, 35% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  50% {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(2);
            transform: scale(2);
  }
}

@keyframes ripple {
  0%, 35% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  50% {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(2);
            transform: scale(2);
  }
}

.video-tab h4{
   font-size: 20px;
   color: #51443b;
}



.feedback{float:left;width:100%;height:420px;margin:0 0 20px;padding:10px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.3);-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}
.feedback:hover{box-shadow:1px 1px 10px rgba(0,0,0,.5)}
.feedback_star{float:right;margin-bottom:5px}
.feedback i{line-height:inherit;color:#f90;font-size:20px}
.feedback iframe{width:100%;height:315px;margin-bottom:5px}
.feedback h3{font-size:18px;color:#333;padding:0;line-height:24px;font-weight:400;margin-bottom:10px}
.feedback h3 i{width:50px;height:50px;background:#eee;border:1px solid #ccc;border-radius:75%;text-align:center;line-height:45px;float:left;font-size:36px;color:#ccc;margin-right:15px}



/* Blog CSS */
==============
.blog {
  margin-right: 1px;
  margin-left: 1px;
}
.blog-img {
  width: 100%;
}
.font-w-700 {
  font-weight: 700;
}
.blog-category {
  font-size: 0.75rem;
  margin-top: 10px;
  font-weight: bold;
}
.blog-title {
  font-size: 1.5625rem;
  line-height: 1.4em;
  font-weight: 700;
  margin-bottom: 0.75rem;
  margin-top: 0.625rem;
}
.blog-description a {
  text-decoration: none;
}
.blog-author a {
  text-decoration: none;
  font-weight: bold;
}

.shadow-sm {
   box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}


.mt-5,
.my-5 {
  margin-top: 3rem !important;
}
.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}
.pb-2,
.py-2 {
  padding-bottom: 0.5rem !important;
}
.pt-3,
.py-3 {
  padding-top: 1rem !important;
}

.blog-desc {
    text-overflow: ellipsis;
    width: 100%;
    height: 150px;
    white-space: wrap;
    overflow:hidden;
}

.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}

.justify-content-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.blog-head {
  font-size: 2rem;
  line-height: 1.4em;
  font-weight: 700;
  margin-top: 0.625rem;
  margin-bottom: 0.75rem;
}
.video-title {
  margin: 0px 0px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
.post-title {
  margin: 10px 0px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
.post-date {
  font-size: 14px;
  font-weight: 500;
}

.post-meta ul{ 
    padding: 0 3px 10px 0;
    margin: 10px 0px 0px;
}
.post-meta ul li{
    display: inline-block;
    padding-right: 15px;
    position: relative;
    color: #7f7f7f;
}
.post-meta ul li i{
    padding-right: 7px;
}
