/*
 Theme Name:     CBCS
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

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

/*GENERAL*/

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/*Padding adjustment*/

/*.single #page-container, .page #page-container { 
  padding-top:10px !important; 
}  */

/*Vertical align*/

.vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 

.fullwidth-specialty> .et_pb_row {
  min-width: 90% !important;
}

/*Column mobile stacking order*/

@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
  .custom-row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  -webkit-flex-wrap: wrap; /* Safari 6.1+ */
  flex-wrap: wrap;
  }
   
  .first-on-mobile {
  -webkit-order: 1;
  order: 1;
  margin-bottom: 30px !important;
  }
   
  .second-on-mobile {
  -webkit-order: 2;
  order: 2;
  }
   
  .third-on-mobile {
  -webkit-order: 3;
  order: 3;
  }
   
  .fourth-on-mobile {
  -webkit-order: 4;
  order: 4;
  }
  /*** add margin to last column
  .custom-row:last-child .et_pb_column:last-child {
  margin-bottom: 30px;
  }***/
}

/*BUTTONS*/

.et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover {
  text-align: center;
  font-weight: 800 !important;
  padding: 10px 24px !important;
}

.text-button, .text-button a {
  font-weight: 600;
  line-height: 1.3em;
  text-decoration: none;
}

.text-button:after, .text-button a:after {
  content: "\24";
  font-family: 'ETmodules';
  font-weight: 300;
  font-size: 21px;
  position: relative;
  bottom: -6px;
  left: 3px;
  -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.text-button:hover::after, .text-button a:hover::after {
  left: 0.35em;
}

/*Buttons side by side*/

.inline-buttons .et_pb_button_module_wrapper, .inline-buttons-center .et_pb_button_module_wrapper  {
    display: inline-block;
}

.inline-buttons-center {
    text-align: center !important;
}

/*Back to top*/

.et_pb_scroll_top.et-pb-icon {
  background: rgba(0,0,0,0.25);
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}

/*Toggle open & close*/

.et_pb_toggle_title:before {
    content: "\4c";
}

.et_pb_toggle_open .et_pb_toggle_title:before {
  content: "\4b";
}

/*TYPOGRAPHY*/

body {
  font-weight: 300;
  font-style: normal;
}

blockquote {
    border-color: #72f0d4;
}

h1 {
}

h2 {
  font-size: 32px;
}

h3 {

}

h4 {

}

.intro-text {
  font-size: 24px;
}

/*Links*/

span > a, p > a {
  text-decoration: underline;
}

/*List spacing*/

.et_pb_text_inner ul {
  margin-top: 12px;
}

.et_pb_text_inner ul li {
  margin-bottom: 12px;
}

.et_pb_text_inner ul li:last-child {
  margin-bottom: 0;
}

/*Tick list green*/

.tick-list-green ul {
 list-style-type: none;
 padding-left: 32px;
}

.tick-list-green ul li {
  text-indent: 12px;
}

.tick-list-green ul li:before {
    font-family: 'ETmodules';
    content: "\e052";
    margin: 0px 12px 0 -45px;
    position: relative;
    top: 4px;
    color: #379577;
    font-size: 21px;
}

/*Tick list purple*/

.tick-list-purple ul {
 list-style-type: none;
 padding-left: 32px;
}

.tick-list-purple ul li {
  text-indent: 12px;
}

.tick-list-purple ul li:before {
    font-family: 'ETmodules';
    content: "\e052";
    margin: 0px 12px 0 -45px;
    position: relative;
    top: 4px;
    color: #bd4291;
    font-size: 21px;
}

/*Gallery*/

.et-pb-slider-arrows {
  color: #ffffff;
}

.et_pb_bg_layout_light .et-pb-controllers a {
  background-color: rgba(255,255,255,.8);
}

.et_pb_bg_layout_light .et-pb-controllers .et-pb-active-control {
  background-color: #ffffff;
}

/*NAVIGATION*/

/*Logo*/

/*Drop shadow*/

@media (min-width: 981px) {
  #main-header.et-fixed-header {
    box-shadow: 0 0 40px rgb(0 0 0 / 10%) !important;
}
  #logo {
    position: relative;
    top: -18px;
    z-index: 99999;
  }

  .et_fixed_nav #top-header {
    width: auto;
    left: auto;
    border-radius: 0 0 0 12px;
  }

  #main-header {
    padding-top: 38px;
    top: 0px !important;
  }

  .logged-in #main-header {
    top: 30px !important;
  }

  .et_header_style_left #et-top-navigation {
    padding-top: 14px !important;
  }
}
/*Active links*/

.current-menu-item a {
  text-decoration: underline !important;
  text-decoration-color: #53c09d !important;
  text-decoration-style: dotted !important;
  text-underline-offset: 3px;
}

/*Menu CTA*/
.menu-cta a, .et-fixed-header #top-menu .menu-cta a {
  border: #f94c66 solid 2px;
  background-color: #f94c66;
  padding: 12px 18px !important;
  border-radius: 30px;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.menu-cta a:hover {
  opacity: 0.9;
}

.menu-cta-2 {
  padding-right: 12px !important;
}

.menu-cta-2 a, .et-fixed-header #top-menu .menu-cta-2 a {
  border: #f94c66 solid 2px;
  padding: 12px 18px !important;
  border-radius: 30px;
  color: #f94c66 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.menu-cta-2 a:hover {
  opacity: 0.9;
}

/*Secondary menu*/

#top-header .et-social-icons {
  float:right !important;
  margin-left: 12px;
}

#top-header #et-info { width: 100%; }

#et-secondary-nav li {
  text-align: left;
}

#et-secondary-nav li>ul {
  width: 340px;
}

/*Hide / appear on scroll*/

/*#main-content{
margin-top: 7vw;
}*/
 
:not(.logged-in) .hide-header {
opacity: 0;
margin-top: -200px !important;
}
 
:not(.logged-in) .show-header {
opacity: 1;
margin-top: 0px !important;
}
 
#main-header {
-webkit-transition: all 0.5s ease !important;
-moz-transition: all 0.5s ease !important;
-o-transition: all 0.5s ease !important;
-ms-transition: all 0.5s ease !important;
transition: all 0.5s ease !important;
}

/*MOBILE MENU*/

/*Mobile menu background, color and sizing*/

.et_mobile_menu {
  border-top: none;
  background: #ffffff !important;
}

@media (max-width: 980px) {

  #main-header {
    drop-shadow: none;
  }

  .mobile_nav .mobile_menu_bar:before {
    font-size: 48px;
    color: #bd4291;
  }

  #et_search_icon:before {
    font-size: 24px;
  }

  .container {
    width: 100%;
  }
  .logo_container {
    margin-left: 5%;
  }
  #et-top-navigation {
    margin-right: 5%;
  }
  .et_header_style_left #et-top-navigation .mobile_menu_bar {
    padding-bottom: 16px;
  }

  /*CTA nav button on mobile*/
  .menu-cta {
    margin-bottom: 24px;
  }
  .menu-cta a {
    display: inline-block !important;
  }

}

/*Nested sub-menu*/

/*change hamburger icon to x when mobile menu is open*/

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
  content: '\4d';
}

/*adjust the new toggle element which is added via jQuery*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
  width: 100%;
  height: 100%;
  padding: 0px !important;
  max-height: 44px;
  border: none;
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 999;
  background-color: transparent;
}

/*some code to keep everyting positioned properly*/

ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
  position: relative;
}

/*remove default background color from menu items that have children*/

.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
  background-color: transparent;
}

/*hide the submenu by default*/

ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
  display: none !important;
  visibility: hidden !important;
}

/*show the submenu when toggled open*/

ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
  display: block !important;
  visibility: visible !important;
}

/*adjust the toggle icon position and transparency*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
  text-align: right;
  opacity: 1;
}

/*submenu toggle icon when closed*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
  font-size: 24px;
  top: 10px;
  position: relative;
  font-family: "ETModules";
  content: '\4c';
  color: #bd4291;
  padding: 3px;
}

/*submenu toggle icon when open*/

ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
  content: '\4b';
}

/*Borders editing*/

.et_mobile_menu li a {
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: none;
}

.et_mobile_menu li ul li a, .et_mobile_menu li:first-child>a {
  border-top: none;
}

/*Sub-menu font*/

.et_mobile_menu li ul li a {
  font-weight: normal;
}

/*BLOG / NEWS*/

/*NEWS / BLOG*/

/*Make full blog clickable*/

.blog-grid .et_pb_portfolio_item {
  position: relative;
}

.blog-grid .et_pb_portfolio_item .entry-title a:after {
position: absolute;
display: block;
content: "";
width: 100%;
height: 100%;
left: 0;
top: 0;
}

.blog-grid .et_pb_portfolio_item:hover {
cursor: pointer;
}

/*Heading formatting*/

.blog-grid h3 {
  font-family: 'Poppins', sans-serif;
}

/*Make all posts the same height + rounded*/

@media (min-width: 981px) {
  .blog-grid .et_pb_portfolio_item {
    min-height: 440px;
  }
}

@media (min-width: 480px) and (max-width: 980px) {
  .blog-grid .et_pb_portfolio_item {
    min-height: 460px;
  }
}

/*Content spacing*/

.blog-grid .et_pb_grid_item>*:not(a) {
  padding: 0 24px !important;
}

.blog-grid .post-meta {
  margin-top: 20px;
}

.blog-grid .entry-title {
  margin-top: 8px !important;
}

/*3 cloumn fix*/

.et_pb_portfolio_item:nth-child(4n+1) {
  clear: none !important;
}

/*3 posts per row in grid*/

@media (min-width: 981px) {
  .blog-grid .et_pb_portfolio_item.et_pb_grid_item {
    width: 30%;
    margin-right: 3% !important;
    margin-bottom: 32px;
  }

  #your-section-ID .et_pb_portfolio_item.et_pb_grid_item:nth-child(3n) {
    margin-right: 0;
  }
}

/*2 posts per column tablet*/

@media (max-width: 980px) and (min-width: 768px) {
  .blog-grid .et_pb_portfolio_item.et_pb_grid_item {
    width: 46%;
  }
}

/*Blog content order*/

.blog-grid .et_pb_portfolio_item {
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.blog-grid .et_pb_portfolio_item .post-meta {
  -webkit-box-ordinal-group: 1;
  -moz-box-ordinal-group: 1;
  -ms-flex-order: 1;
  -webkit-order: 1;
  order: 1;
}

.blog-grid .et_pb_portfolio_item .entry-title {
  -webkit-box-ordinal-group: 2;
  -moz-box-ordinal-group: 2;
  -ms-flex-order: 2;
  -webkit-order: 2;
  order: 2;
}

/*Filter styling*/

.blog-grid .et_pb_portfolio_filters {
  margin-bottom: 30px;
}

.blog-grid .et_pb_portfolio_filters ul {
  list-style: none;
  padding-left: 0;
}

.blog-grid .et_pb_portfolio_filters li {
  font-size: 14px;
  margin-right: 8px;
  display:inline;
}

.blog-grid .et_pb_portfolio_filters li a {
  background-color: transparent;
  color: #389583;
  border: 2px solid #389583;
  padding: 7px 24px;
  border-radius: 24px !important;
  transition: 0.5s ease;
  font-weight: bold;
  line-height: 1.5em;
}

.blog-grid .et_pb_portfolio_filters li a:hover, .blog-grid .et_pb_portfolio_filters li a.active {
  background-color: #389583;
  border-color: #389583;
  color: #ffffff !important;
}

@media (max-width: 767px) {
  .et_pb_column .et_pb_filterable_portfolio .et_pb_portfolio_filters li {
    width: auto;
    margin-bottom: 10px;
  }
}

/*Pagination*/

.blog-grid .et_pb_portofolio_pagination {
  border-top-width: 0px;
}

/*INDIVIDUAL BLOGS*/

/*Make all posts/pages full width without post title*/

.single #sidebar {
  display: none;
}

.single #left-area {
  width: 80%;
  padding: 0 10%;
  max-width: 1080px;
}

.single #main-content .container:before {width: 0;}
.single .et_post_meta_wrapper{display: none;}

.single .et_pb_post {
  margin-bottom: 0px;
}

.single .post {
  padding-bottom: 0px;
}

body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
    padding-top: 0px;
}

#main-content .container {
  width: 100%;
  max-width: 100%;
}

/*Content size mobile*/
  @media all and (max-width: 980px) {
  .post-content .et_pb_row {
    margin: 0 !important;
    width: 100%;
  }
}

/*Post text styling*/

.et_pb_post_content h2, .et_pb_post_content h3, .et_pb_post_content h4, .et_pb_post_content h5, .et_pb_post_content h6 {
  color: #389583 !important;
  margin-top: 8px;
}

.et_pb_post_content h3, .et_pb_post_content h4, .et_pb_post_content h5, .et_pb_post_content h6 {
  font-family: 'Poppins', sans-serif;
}

.et_pb_post_content h3 {
  font-size: 24px;
}

/*TESTIMONIALS*/

.strong-view.controls-style-buttons .wpmslider-next::before, .strong-view.controls-style-buttons .wpmslider-prev::before {
  background: #ffc54d !important;
}

.strong-view.wpmtst-simple .wpmtst-testimonial-inner {
  text-align: center;
}

.testimonial-content {
  font-size: 20px;
  line-height: 1.8em;
  margin-bottom: 24px;
  text-align: center;
}

.testimonial-name {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  color: #379577;
  text-align: center;
}

/*SETTINGS*/

/*Opening hours formatting*/

.opening-times {
  border-collapse: collapse;
  width: 100%;
  border: none;
  margin-top: 18px;
  font-size: 16px;
  border: none !important;
}

.opening-times td {
  width:  50%;
  padding: 6px 0 !important;
  border-top: none !important;
  border-bottom:  1px dotted #ffffff !important;
}

/*SCHEDULE*/

/*Table formatting*/

.schedule-table {
  table-layout: auto;
  width: 100%;
  border: none !important;
}

.schedule-table tr {
  border-bottom: 1px dotted #53bf9d !important;
}

.schedule-table tr td {
  border: none !important;
  padding: 16px 24px !important;
}

.schedule-table td:nth-child(3n+1) {
  color: #379577;
  font-weight: 800;
  font-size: 21px;
}

/*TEAM*/

/*Filters*/

.sptp-filter .button-group {
  margin-bottom: 62px !important;
}

/*Filter styling*/

#sptp-1112 .filters-button-group button {
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: bold !important;
  padding: 7px 24px;
  margin: 0px 8px 8px 0px;
  font-family: 'Poppins' !important;
  border-radius: 24px;
  transition: all .2s ease-in-out;
}

@media (max-width: 980px) {

  .sptp-filter .button-group {
    margin-bottom: 30px !important;
  }
}

/*Align items & styling*/

.sptp-member-name h2 {
  text-align: left !important;
  font-family: 'Plus Jakarta Sans' !important;
  color: #379577 !important;
  font-size: 26px !important;
  font-weight: 800 !important;
}

.sptp-member-profession h4 {
  text-align: left !important;
  font-family: Caveat !important;
  color: #262626 !important;
  font-size: 21px !important;
}

.sptp-member-avatar-img img {
  text-align: left !important;
}

.sptp-member {
  align-items: flex-start !important;
}

/*BOOK VISIT*/

/*Field bg*/

.everest-forms input, .everest-forms select, .everest-forms textarea {
  background-color: transparent !important;
}

/*Submit button*/

.form-submit-button {
  font-weight: 800 !important;
  color: #ffffff !important;
  background-color: #f94c66 !important;
  border-radius: 30px !important;
  border: none !important;
  transition: all .2s ease-in-out;
}

.form-submit-button:hover {
  opacity: 0.9;
}

/*Success message*/

.everest-forms .everest-forms-notice--success {
  background-color: #379577;
}
