/*
 Theme Name:   Cacapon Institute
 Theme URI:    http://www.cacaponinstitute.org
 Description:  A Flexible, Powerful & Beautiful WordPress Theme by HB-Themes. Mobile ready and optimized for best performance. With the powerful engine and user friendly interface it will allow you to build outstanding websites quick and easy... It comes with Premium Plugins integrated into the theme.
 Author:       The Downstream Project
 Author URI:   http://www.thedownstreamproject.org
 Template:     HighendWP
 Version:      1.0.1
 Tags:		   Responsive, Page-Builder, Drag&Drop, Clean, Modern, Corporate, Multi-Purpose, Multi-Color
 Text Domain:  hbthemes
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

#header-inner.nav-type-2 #fancy-search input[type=text], #header-inner.nav-type-2 li#nav-search::before {
    color: #fff;
}
#header-inner.nav-type-2 #main-nav>li>ul.sub-menu {
    top: 44px!important;
    line-height: 1.2;
}
.light-menu-dropdown #main-nav ul.sub-menu>li>a {
    border-left: 1px solid transparent;
    margin-left: -1px;
    line-height: 1.25 !important;
    padding: 12px 16px;
}
#main-wrapper #header-inner.nav-type-2 #fancy-search, 
#main-wrapper #header-inner.nav-type-2 #main-nav, 
#main-wrapper #header-inner.nav-type-2 .sticky-wrapper{
  height: auto !important; 
}

.archive .minor-meta.minor-meta--alt{
  margin-top: -6px;
  padding-left: 88px;
}

.ss-inline-share-wrapper.ss-left-inline-content.ss-small-icons.ss-with-spacing.ss-rectangle-icons {
    padding-top: 40px;
}

/* !Fancy Highend Page Titles */
#hb-page-title .light-text h1{
    font-family: "Merriweather", sans-serif;
    font-size: 26px;
    line-height: 36px;
    letter-spacing: 0px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.8);
    padding-left:15px;
    margin-left:-20px;
    border-left: 6px solid #de9353;
}
#main-wrapper #hb-page-title h2 {
    font-size: 22px;
    font-style: italic;
    margin-top: -10px;
    opacity: 1;
}

/* !Sidebar Navigation */
#main-wrapper .widget_nav_menu ul.menu li a {
    padding: 14px 25px 14px 14px;
    line-height: 1.3;
    font-size: 15px;
}

/* !Sidebar Submenu display for Project categories */
.single-tdp_projects ul.sub-menu,
.single-tdp_projects .menu-item-has-children.menu-item-374 {
    display: block;
}

/* !Sidebar Widget: Recent News */
.hb-sidebar .widget-item  h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
    color:#D97C30;
}
.hb-sidebar .widget-item.widget_recent_entries {
    font-size: 13px;
    line-height: 1.5;
}


/*! Realated Posts Styles */
.hb-related-posts h2.title.entry-title {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 400;
    margin-bottom:0;
}
.hb-related-posts .related-item .post-content{
  padding:18px 10px;
  box-shadow: none;
}
.related-item p.hb-post-excerpt {
    margin-top: .5em;
    font-size: 14px;
    line-height: 1.3;
}


/* !Project Detail Styles */
.post-meta-info__detail{
  display: inline-block;
  padding: 0 15px 0 0;
  color: #5A776E;
  font-size:  14px;
}
.post-meta-info__detail .hb-icon{
  margin-top:-5px;
  margin-right:2px;
}
.tdp-project-stats {
    color: #638278;
    text-transform: uppercase;
    padding: 25px 0 5px 0;
    font-family: 'Merriweather Sans';
    font-size: 14px;
    margin-top: 3px;
    border-top: 1px solid #c8dadb;
    border-bottom: 2px solid #c8dadb;
}
.tdp-project-stats .hb-icon{
  margin-bottom:10px;
  color:#de9253
}
.tdp-icon-info {
  line-height: 1.25;
  margin-top: 10px;
  max-width: 300px;
}
.single-blog-wrapper .type-tdp_projects .featured-image{
  padding-top:10px;
}

/* !Grid Item Flex Stretch */
.tdp-news-grid--project .vc_grid-item-mini{
  border:1px solid #e4e4e4
}
.tdp-news-grid .vc_pageable-slide-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: flex-stretch;
}
.tdp-news-grid .vc_pageable-slide-wrapper .vc_grid-item{
  background:#fff;
  margin-right: 20px;
  padding:0 !important;
}
.tdp-news-grid .vc_gitem-post-data-source-post_title > h4{
    height: 3.9em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.tdp-news-grid__projectmeta,
.tdp-news-grid .vc_gitem-post-category-name {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: -10px;
  font-size: 12px;
  color: #086a5e;
}
.tdp-news-grid .vc_gitem-post-data-source-post_title .vc_gitem-link{
    color: #7f4412 !important
}
.tdp-news-grid .vc_grid-filter.vc_grid-filter-center{
  margin-bottom: 8px;
}
.tdp-news-grid .vc_grid-filter .vc_gitem-post-category-name{
  padding: 0 4px;
  margin:0 2px;
}

/* !Project Grid */
.tdp-project-grid-top.vc_gitem-zone,
.tdp-project-grid-top--hover.vc_gitem-zone-b{
  overflow: visible !important;
  margin-top:30px;
  transition: opacity 0.15s ease-in-out;
}


/* !Feature Card */
.tdp-feature-cards>.vc_row>div{
  display:flex;
  align-items:stretch;
}
.tdp-feature-card .vc_grid-item-mini{
  height: 100%;
  box-shadow: 0 0 5px rgba(0,0,0,0.2)
}
.tdp-feature-card .vc_gitem-post-data-source-post_excerpt{
 color:#555555;
 font-size:15px;
 line-height: 1.35; 
}
.tdp-feature-card .vc_gitem-post-data-source-post_excerpt a{
   color:#555555 !important
}
.tdp-feature-card .vc_btn3-container{
  margin-bottom:0;
  font-family: 'Merriweather', 'Times New Roman', Times, serif;
  font-style: italic;
}
.tdp-feature-card__bottom.vc_gitem-zone{
  overflow: visible;
  z-index: 1000;
}
.tdp-feature-card__icon{
  margin-top: -60px;
  margin-bottom: 15px;
}
.tdp-feature-card__icon.vc_gitem-acf > i,
.tdp-feature-card__icon.vc_gitem-acf > i{
    background: #de9353;
    width: 2.25em;
    height: 2.25em;
    line-height: 2.25em;
    color: #fff;
    border-radius: 50%;
    font-size: 1.75em;
}
@media only screen and (max-width:1000px){
  .tdp-feature-cards{
    margin-left:-20px;
    margin-right:-20px;
  }
  .vc_grid-container.vc_clearfix.wpb_content_element.vc_basic_grid.tdp-feature-cards .vc_pageable-slide-wrapper {
    flex-wrap: wrap;
  }
  .vc_grid-container.vc_clearfix.wpb_content_element.vc_basic_grid.tdp-feature-cards .vc_pageable-slide-wrapper .vc_grid-item.vc_visible-item{
    width:50%;
  }
}

@media only screen and (max-width:500px){
  .vc_grid-container.vc_clearfix.wpb_content_element.vc_basic_grid.tdp-feature-cards .vc_pageable-slide-wrapper .vc_grid-item.vc_visible-item{
    width:100%;
  }
}


/* !Prefooter */
#pre-footer-area {
    background-color: #dc8842 !important;
    color: #fff;
    border-bottom: 0;
}
.pre-footer-text {
    font-size: 24px;
}

/* !Footer */
#footer .row.footer-row {
    margin: 0 -30px!important;
    font-size: 15px;
    line-height: 20px;
}
#footer.dark-style .widget-item h4, #hb-side-section .widget-item h4 {
    color: #a7a7a7!important;
    font-size: 20px;
    font-weight: 700;
    /* letter-spacing: 1px; */
    text-transform: none;
}
#footer.dark-style .footer-row a:hover{
  border-bottom:1px solid rgba(255,255,255,0.2);
  color:#fff !important
}


.widget_nav_menu .sub-menu{
  display:none;
}
.widget_nav_menu .current-menu-item .sub-menu,
.widget_nav_menu .current-page-ancestor .sub-menu{
  display:block;
}

#main-wrapper .right-sidebar .widget_nav_menu ul.menu li.current-menu-item > a, .hb-tabs-wrapper.tour-style.right-tabs > .nav-tabs > li.active a, .tribe-events-calendar thead th {
    border-right-color: #009385;
    background-color: #149a89;
    color: #fff;
    font-weight: 700;
}
.hb_latest_posts_simple_widget ul>li>.hb-spl-inner>a:before, .hb_latest_posts_simple_widget ul>li>a:before, .widget_archive ul>li a:before, .widget_categories ul>li a:before, .widget_meta ul>li a:before, .widget_nav_menu ul>li a:before, .widget_pages ul li a:before, .widget_product_categories ul>li a:before, .widget_recent_entries ul>li a:before {
    padding-left: 5px;
}
#main-wrapper .widget_nav_menu ul.menu ul li li a {
    padding-left: 55px;
}
#main-wrapper .widget_nav_menu ul.menu ul li li:before {
  left:38px;
}
#main-wrapper .widget_nav_menu ul.menu ul li:before {
    content: "\e26f";
    font-family: icomoon;
    font-weight: 400;
    font-style: normal;
    display: block;
    float: left;
    text-decoration: inherit;
    position: relative;
    top: 11px;
    left: 22px;
    font-size: 10px;
    z-index: 1;
    opacity: .2;
}
.widget_nav_menu ul>li a:before {
  display:none;
}
.widget_nav_menu li.menu-item-has-children> a:before {
    content: '+';
    display: block;
}


/* PrettyPhoto Gallery */
.pp_hoverContainer a.pp_next, 
.pp_hoverContainer a.pp_previous{
    background-color: transparent !important;
    height: 85% !important;
}
.highend-prettyphoto div.pp_default a.pp_next,
.highend-prettyphoto div.pp_default a.pp_next:hover{
    background: url('/wp-content/plugins/js_composer/assets/lib/prettyphoto/images/prettyPhoto/light_rounded/btnNext.png') center right no-repeat;
    cursor: pointer;
}
.highend-prettyphoto div.pp_default a.pp_previous,
.highend-prettyphoto div.pp_default a.pp_previous:hover {
    background-image: url('/wp-content/plugins/js_composer/assets/lib/prettyphoto/images/prettyPhoto/light_rounded/btnPrevious.png');
    background-position: center left;
    background-repeat: no-repeat;
    display: block;
    float: left;
    height: 100%;
    text-indent: -10000px;
    width: 49%;
}
.highend-prettyphoto div.pp_default .pp_close {
    background: url('/wp-content/plugins/js_composer/assets/lib/prettyphoto/images/prettyPhoto/default/sprite.png') 2px 1px no-repeat !important;
    cursor: pointer;
    height: 30px;
    width: 20px;
    display: block;
    line-height: 22px;
    position: absolute;
    right: 0;
    text-indent: -10000px;
    top: 0;
}
.highend-prettyphoto div.pp_default .pp_content_container .pp_details {
    margin: 4px 0 0;
}


/* !Media Library Assistant - custom styles for cacapon-pdf  shortcode */
.mla-gallery {
  display: flex;
  flex-wrap: wrap;
  padding:30px 0;
}
.mla-gallery-item {
    width: 25%;
}
.mla-gallery-icon {
    text-align: center;
}
.mla-gallery-icon >a {
    display: inline-block;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.25);
}
.mla-gallery-icon >a:hover {
    display: inline-block;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.25);
}
.mla-gallery-item-title {
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    padding: 10px;
}

/* !Team Member Styles */
.ci-custom-team-member-position{
    font-size: 14px;
    color: #757575;
    text-align: center;
    font-family: "Merriweather";
    font-weight: 400;
    font-style: italic;
    margin-top: -15px;
  }

@media only screen and (max-width:800px){
  #main-wrapper.nav-type-2 #hb-page-title.large-padding {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}


#hb-page-title .hb-image-bg-wrap{
  transform: matrix(1, 0, 0, 1, 0, 0) !important;
  margin-top: 0;
  padding-bottom: 40px;
}
#main-wrapper.nav-type-2 #hb-page-title.large-padding {
  padding-top: 155px;
}
