/*
Theme Name: 	Betheme Child
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		Muffin group
Author URI: 	http://muffingroup.com
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
Version: 		1.6.1
*/

/* Theme customization starts here
-------------------------------------------------------------- */
/*-- BODY --*/
p {
  font-size: 16px;
  line-height: 1.5em;
}

/*-- HEADER --*/
body:not(.template-slider) #Header {
  min-height: auto;
}
#Header {
  background-color: #10618d;
}

/*-- MAIN MENU --*/
#Top_bar {
  border-bottom: 3px solid #80b5d2;
}
.menuo-right #Top_bar .menu_wrapper {
  float: none !important;
}
#Top_bar .menu > li ul {
  font-size: 14px;
}
/* Client Login */
#Top_bar .menu > li:last-child {
  float: right;
  background-color: #f2f3f5;
  opacity: 0.95;
}

#Top_bar .menu > li:last-child.hover {
  opacity: 1;
}

#Top_bar .menu > li:last-child.hover a {
  color: #10618d !important;
}

/* Search */
#Top_bar .search_wrapper {
  border-top: 3px solid #80b5d2;
}
#Top_bar .search_wrapper .icon_search,
#Top_bar .search_wrapper .icon_close {
  color: #80b5d2;
  opacity: 1;
}
#Top_bar .search_wrapper input[type="text"] {
  border-color: #80b5d2 !important;
}
/* Not working for some reason... */
#Top_bar .search_wrapper input[type="text"].field::-webkit-input-placeholder,
#Top_bar .search_wrapper input[type="text"].field::-moz-placeholder,
#Top_bar .search_wrapper input[type="text"].field:-ms-input-placeholder {
 color: #fff;
}

/*-- MAIN FOOTER --*/
#Footer a:hover {
  text-decoration: none;
}
#Footer .widgets_wrapper {
  padding: 45px 45px 30px !important;
}
#Footer .widget_nav_menu ul {
  list-style: none;
  color: #80b5d2 !important;
  padding: 0 20px 0 0;
  background: transparent;
}
#Footer .widget_archive ul li:after, 
#Footer .widget_nav_menu ul li:after {
  width: 100%;
  left: 0;
}
#Footer .footer_copy .social li a {
  font-size: 20px;
}

/*-- LAYER SLIDER --*/
#layerslider_20 .ls-slide-backgrounds {
  background-color: rgba(15, 94, 140, 0.58);
}

.mfn-main-slider video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

/*----------- BETHEME COMPONENTS -----------*/

/*-- TEAM --*/

/* Popup Shortcode */
.popup-inner {
  padding: 30px 30px 10px;
  line-height: 1.5em;
}
.popup-inner hr {
  height: 10px;
}

/*-- FANCY HEADING --*/
.fancy_heading {
  padding: 30px 0 10px;
  text-align: left;   	
}
.fancy-heading-no-bottom-space .fancy_heading {
  padding-bottom: 0;
} 
.fancy-heading-no-bottom-space,
.fancy-heading-no-bottom-space h2 {
  margin-bottom: 0;
}
.fancy_heading h2 {
  color: #10618d;
}
.blue .fancy_heading h2 {
  color: #10618d;
}
.fancy_heading .title {
  font-size: 40px;
  line-height: 45px;
}
.fancy_heading p {
  color: #626262;
}

/*-- IMAGE --*/
.responsive-tablet,
.responsive-mobile {
  display: none;
}

/*-- VIDEO --*/ 
.column_video .content_video.iframe {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.column_video .content_video.iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*-- MAP --*/
.google-map-contact-wrapper {
  right: 10px;
  top: 10px;
}
.google-map-wrapper .get_in_touch {
  background-color: #10618d;
  padding: 10px 20px
}
.google-map-wrapper .get_in_touch ul li {
  padding: 0 0 13px 40px;
}
.google-map-wrapper .google-map-contact-wrapper .get_in_touch:after {
  border-top-color: #10618d;
}

/*-- LIST --*/
ul.list_mixed li:after, 
ul.list_check li:after, 
ul.list_star li:after, 
ul.list_idea li:after {
  width: 0px;
}

/*-- LISTS --*/
.green-icon.column_list .list_item.lists_3 .list_left {
 color: #256954;
}

.olive-icon.column_list .list_item.lists_3 .list_left {
  color: #a59e35;
}

.brown-icon.column_list .list_item.lists_3 .list_left {
  color: #b4832c;
}

.orange-icon.column_list .list_item.lists_3 .list_left {
  color: #f6851f;
}

.blue-icon.column_list .list_item.lists_3 .list_left {
  color: #00619A;
}

.column_list .list_item.lists_3 .list_left {
  font-size: 80px;
}
.column_list:first-child .list_item.lists_3 .list_left {
  //color: #256954;
}
.column_list:nth-child(2) .list_item.lists_3 .list_left {
  //color: #a59e35;
}
.column_list:nth-child(3) .list_item.lists_3 .list_left {
  //color: #b4832c;
}
.column_list:nth-child(4) .list_item.lists_3 .list_left {
  //color: #f6851f;
}
.column_list:nth-child(5) .list_item.lists_3 .list_left {
  //color: #00619A;
}
.column_list .list_item .list_left {
  overflow: inherit;
}

.column_list .list_item.lists_3 .list_left {
  margin-bottom: 16px;
}

/*-- BLOG TEASER - FIX --*/
.teaser-wrapper li:first-child img {
  width: 960px;
  height: 750px;
}

/*-- TIMELINE --*/
.style-simple .timeline_items .desc a {
  font-size: 20px;
}
.style-simple .timeline_items li h3 span {
  font-size: 40px;
  font-style: normal;
  top: 50%;
}

.style-simple .timeline_items li:nth-child(even) .logo {
  text-align: right;
}

.style-simple .timeline_items li:nth-child(odd) .logo {
  text-align: left;
}

.style-simple .timeline_items .logo img,
.style-simple .timeline_items h3 img {
  height: 100px !important;
}

.style-simple .timeline_items li .desc h3 {
  //border: 0;
}

/*-- SLIDING BOX --*/
.sliding_box .desc_wrapper {
  text-align: left;
}

/*-- ICON BOX --*/
.icon-box img {
  max-width: 126px;
}

/*-- FLAT BOX --*/
.flat_box .desc_wrapper {
  margin-left: 0;
}

.flat_box .photo_wrapper .icon {
  background-color: #991a41;
}

/*-- QUICK FACT --*/
.quick_fact {
  font-size: 13px;
  line-height: 1.75em;
}

/*-- PROMO BOX --*/
.promo_box .desc_wrapper {
 margin-left: 0px;
 width: 70%;
}

/*-- FEATURE BOX --*/
.feature_box {
 font-size: 13px;
}

/*-- INFO BOX COMPONENT --*/
.style-simple .infobox ul li {
  font-size: 14px;
  border-bottom: none;
  padding: 10px 0 5px 0px;
}

.style-simple .infobox ul li:before {
  background: none;
}

/*-- CALL TO ACTION --*/
.dark .call_to_action .call_left h3 {
  color: #fff;
  font-weight: bold;
}

/*----------- CUSTOM POST TYPES -----------*/

/* Masonry & Grid Style */
.masonry .isotope-item,
.grid .isotope-item {
  border: 2px solid #eee;
}

.posts_group.grid.col-3 .post-item,
.posts_group.masonry.col-3 .post-item,
.grid.col-3 .post-item,
.masonry.col-3 .post-item {
  width: 30%;
}

.masonry .image_frame .image_wrapper .mask, .edd_download_image:after,
.grid .image_frame .image_wrapper .mask, .edd_download_image:after {
  box-shadow: none;
  -webkit-box-shadow: none;
}

/* Single Style */
.single .meta-categories,
.single .mata-tags {
  display: none;
}

.single #Content {
  padding-top: 0px;
}

.post-nav.minimal {
  margin-top: 20px;
  background-color: #f2f3f5;
}

.post-nav.minimal a {
  color: #10618d;
}

.post-nav.minimal a .label {
  font-size: 20px !important;
}

.post-nav.minimal a i {
  color: #10618d !important;
  font-size: 20px !important;
}

.post-nav.minimal a:hover {
  text-decoration: none;
}

.post-nav.minimal a svg {
  fill: #10618d !important;
}

.single-photo-wrapper.image .image_frame img {
  margin-top: -25%;
}

.single-photo-wrapper.image .image_frame .image_wrapper > div {
  -webkit-transform: translateY(25%);
  -ms-transform: translateY(25%);
  transform: translateY(25%);
}

/* H2 Alternative */
.blog_wrapper h2,
.press_wrapper h2,
.isotope_wrapper h2,
.partners_wrapper h2,
.reports_wrapper h2 {
  font-size: 24px;
  line-height: 28px;
}

/* Hide Image Hover Links */
.image_links {
  display: none;
}

/* Hide Breadcrumbs */
.post-template-default #Subheader ul.breadcrumbs,
.webinars-template-default #Subheader ul.breadcrumbs,
.reports-template-default #Subheader ul.breadcrumbs,
.partners-template-default #Subheader ul.breadcrumbs,
.press-template-default #Subheader ul.breadcrumbs {
  display: none;
}

.webinars-template-default .post-header,
.reports-template-default .post-header {
  margin-bottom: 0;
  margin-left: 0;
}

.press-template-default .post-header {
  margin-left: 0;
}

.press_group.timeline .date_label {
  background-color: transparent;
  background-image: none;
  font-size: 13px;
}

/*-- WEBINARS SINGLE --*/
.webinars-template-default .video .image_frame {
  max-width: 800px;
}

/*-- PARTNERS SINGLE --*/

.partners-template-default .image_frame .image_wrapper {
  max-width: 200px;
}

/*-- PARTNERS CONTENT --*/
.partners_wrapper .col-3 .image_wrapper {
  height: 360px;
}

.partners_wrapper .col-4 .image_wrapper {
  height: 275px;
}

.partners_wrapper .col-5 .image_wrapper {
  height: 200px;
}

.partners_wrapper .masonry:not(.tiles) .post-item,
.partners_wrapper .grid .post-item {
  margin: 0 3px 6px;
}

.partners_wrapper .posts_group.masonry.col-5 .post-item {
  width: 18%;
}

.partners_wrapper .post-item .image_wrapper img {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 80%;
  margin: 0 10%;
}

/*----------- TEMPLATES -----------*/

/*-- SITEMAP --*/
.sitemap-tpl h2 {
  color: #4e0e28;
}

/*-- WEBINAR OVERVIEW --*/
.webinars_group.list .post-photo-wrapper,
.webinars-list-tpl .post-photo-wrapper {
  width: 32%;
}

/*-- WEBINAR DETAIL --*/
.webinar-detail-tpl .webinar-main-wrapper {
  padding-right: 20px;
  padding-left: 5px;
}

.webinar-detail-tpl .column_video {
  margin-bottom: 10px;
}

/* Share Box */
.webinar-detail-tpl .share_wrapper {
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0;
}

/*-- INDUSTRY DETAIL --*/

/* Tabs */
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li a {
  font-size: 22px;
}
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li:first-of-type a,
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li.ui-state-active:first-of-type a {
  color: #10618d;
}
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li.ui-state-active:first-of-type a:after {
  background: #10618d;
}
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li:nth-of-type(2) a,
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li.ui-state-active:nth-of-type(2) a {
  color: #80b5d2;
}
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li.ui-state-active:nth-of-type(2) a:after {
  background: #80b5d2;
}
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li:nth-of-type(3) a,
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li.ui-state-active:nth-of-type(3) a {
  color: #991a41;
}
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li.ui-state-active:nth-of-type(3) a:after {
  background: #991a41;
}
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li:nth-of-type(4) a,
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li.ui-state-active:nth-of-type(4) a {
  color: #f6851f;
}
.industry-workflow-detail-tpl .ui-tabs .ui-tabs-nav li.ui-state-active:nth-of-type(4) a:after {
  background: #f6851f;
}
.industry-workflow-detail-tpl .ui-tabs .feature_box .feature_box_wrapper .photo_wrapper {
 width: 10%;
}

/* Feature Box */
.industry-workflow-detail-tpl .feature_box {
 font-size: 16px;
 line-height: 1.5em;
}

.industry-workflow-detail-tpl .feature_box img {
  width: 100%;
}

/*-- PRODUCT DETAIL --*/
.product-detail-tpl .column.one-second .list_item,
.product-methodology-detail-tpl .column.one-second .list_item {
  padding-right: 25px;
}

/*-- REPORTS & WHITE PAPER DETAIL --*/
.report-detail-tpl .image_item img.scale-with-grid {
  width: inherit;
  max-height: 270px;
}

/*-- PARTNERS DETAIL --*/
  .partner-detail-tpl .download-cta-tpl{
  background-color: #f2f3f5;
  padding: 40px 0 25px;
  margin-bottom: 40px;
}

/*-- DATA WORKFLOW SECTION --*/
.data-workflow-section-tpl .ui-tabs-panel {
  max-width: 618px;
}
.data-workflow-section-tpl .ui-tabs .ui-tabs-nav li.ui-state-active a {
  color: #80b5d2;
}
.data-workflow-section-tpl .ui-tabs .ui-tabs-nav li.ui-state-active a:after {
  background: #80b5d2;
}

/*-- BRAND ASSETS --*/
.brand-assets-tpl #Content img,
.brand-assets-tpl img.scale-with-grid{
  max-width: 330px !important;
}

/*-- PARDOT FORM POPUP--*/
.pardot-form-popup-tpl a.button {
  background-color: #10618d;
  color: #fff;
}

.pardot-form-popup-tpl {
  padding: 40px 25px 0px;
  margin-bottom: 40px;
}

.pardot-form-popup-tpl .column_image {
  margin-bottom: 25px;
}

/* Fixed popup width across site after betheme update - caused issues with pardot form layout */
.mfp-content {
  width: 100%;
}

/*-- FEATURED POSTS SECTION--*/
.featured-posts-overview-tpl .grid .post-item {
  width: 100%;
}

.featured-posts-overview-tpl .post-excerpt {
  display: none;
  margin-bottom: 0;
}

.featured-posts-overview-tpl .post-footer {
  display: none;
  padding: 0;
}

/*-- CLIENT SLIDER SECTION --*/
.client-slider-section-tpl a.button {
  background-color: #10618d;
  color: #fff;
}

.client-slider-section-tpl ul.clients .client_wrapper,
.client-slider-section-tpl ul.clients .client_wrapper:hover {
  background: transparent;
}

/*-- CTA BANNER SECTION --*/
.cta-banner-section-tpl {
 background-color: #f2f3f5;
 padding: 50px 0 !important;
}

.cta-banner-section-tpl.white {
  background-color: #fff;
}

.cta-banner-section-tpl h2 {
  color: rgba(16, 97, 141, 1);
}
.cta-banner-section-tpl .column_button {
  margin-top: 10px;
}
.cta-banner-section-tpl .button {
  background-color: #991a41;
  color: #fff;
}

/*----------- MEDIA STYLES -----------*/

@media only screen and (max-width: 1239px){
  .partners_wrapper .col-4 .image_wrapper {
    height: 215px;
  }
}

@media only screen and (min-width: 960px){
 .one-fourth .flat_box .desc_wrapper {
    margin-left: 0;
  }
}

@media only screen and (min-width: 768px) and (max-width: 959px){
  .contact-us-tpl .contact-form iframe {
    height: 600px;
  }

.partners_wrapper .posts_group.masonry.col-5 .post-item {
    width: 22% !important;
  }
}

@media only screen and (min-width: 768px){
  #Hero-Content p {
    width: 400px;
  }
}

@media only screen and (max-width: 767px){
  body:not(.template-slider):not(.header-simple) #Header {
    min-height: auto;
  }

  .grid.classic .post-desc-wrapper .post-desc {
    padding: 20px 20px 0;
  }
  
  .webinars_group.list .post-photo-wrapper,
  .webinars-list-tpl .post-photo-wrapper {
    width: 100%;
  }

  .webinars_group.list .post-desc-wrapper {
    width: 100%;
  }

  .webinars_group.list .post-desc {
    padding: 15px 0 0 0;
  }

  .partner-detail-tpl .image_frame .image_wrapper {
    margin: 40px 0;
  }

  .partners_wrapper .col-4 .image_wrapper {
    height: 145px;
  }

  .partners_wrapper .posts_group.masonry.col-4 .post-item,
  .partners_wrapper .posts_group.masonry.col-5 .post-item {
    width: 30% !important;
    margin: 0 3px 6px !important;
  }

  .section {
    padding: 0 25px;
  }

  .section_wrapper {
    padding-right: 0px !important;
    padding-left: 0px !important;
  }

  .section_wrapper .mcb-wrap.pardot-form-popup-tpl {
    margin-bottom: 40px;
  }

  /*-- Image --*/
  .responsive-full {
    display: none;
  }
  .responsive-tablet {
    display: block;
  }

}

@media only screen and (min-width: 480px){
  /* Home LayerSlider */
  .home .mfn-main-slider {
    height: 500px !important; 
  }
}

@media only screen and (max-width: 479px){
  /* Home LayerSlider */
  .home .mfn-main-slider {
    height: 395px !important;
    overflow: hidden;
  }
 
  .home .mfn-main-slider .ls-wrapper h1 {
    margin-top: -60px !important;
  }

  #Subheader .title {
    font-size: 36px !important;
    line-height: 40px !important;
  }

  .contact-us-tpl .contact-form iframe {
    height: 600px;
  }

  #Content .fancy_heading .title {
    font-size: 30px;
    line-height: 35px;
  }

  #Content h3 {
    font-size: 20px;
    line-height: 22px;
  }

  .partners_wrapper .posts_group.masonry.col-4 .post-item,
  .partners_wrapper .posts_group.masonry.col-5 .post-item {
    width: 100% !important;
  }

  .partners_wrapper .col-4 .image_wrapper {
    height: 170px;
    margin: 0 auto;
    width: 80%;
  }

  /*-- Image --*/
  .responsive-full,
  .responsive-tablet {
    display: none;
  }
  .responsive-mobile {
    display: block;
  }

  .responsive-mobile .image_wrapper {
    text-align: center;
  }
  
  .responsive-mobile img {
    max-width: 200px !important;
    margin: 15px auto;
  }
}
