/*
Theme Name: SouthStar Capital - Kaya child theme
Author: Anphira, LLC
Template: kaya
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kaya
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# SouthStar Specific Constants
# Elements
# Header
# Footer
# Home Page
# Imported from previous theme Fruitful Child
--------------------------------------------------------------*/

/*******************
 * SouthStar Specific Constants
 *******************/
:root {
	--southstar-dark-orange: #CF4800; /* for use with white */
	--southstar-orange: #F36C21; /* brand color - 3:1 ratio with white */
	--southstar-navy: #003050;
	--southstar-gray: #979799; /* contrast too low with white */
	--southstar-gray-text: #636363; /* enough contrast with light gray */
	--southstar-light-gray: #E4E5E6;
	--southstar-white: #fff;
}




/*******************
 * 
 * Load fonts locally
 * 
 *******************/
@font-face {
	font-family: 'Lato';
	src:  url('/wp-content/themes/kaya-child/fonts/Lato-Thin.ttf') format('truetype');
	font-weight: 200;
	font-display: swap;
}
@font-face {
	font-family: 'Lato';
	src:  url('/wp-content/themes/kaya-child/fonts/Lato-ThinItalic.ttf') format('truetype');
	font-weight: 200;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Lato';
	src:  url('/wp-content/themes/kaya-child/fonts/Lato-Light.ttf') format('truetype');
	font-weight: 300;
	font-display: swap;
}
@font-face {
	font-family: 'Lato';
	src:  url('/wp-content/themes/kaya-child/fonts/Lato-LightItalic.ttf') format('truetype');
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Lato';
	src:  url('/wp-content/themes/kaya-child/fonts/Lato-Regular.ttf') format('truetype');
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: 'Lato';
	src:  url('/wp-content/themes/kaya-child/fonts/Lato-Italic.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Lato';
	src:  url('/wp-content/themes/kaya-child/fonts/Lato-Bold.ttf') format('truetype');
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: 'Lato';
	src:  url('/wp-content/themes/kaya-child/fonts/Lato-BoldItalic.ttf') format('truetype');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Lato';
	src:  url('/wp-content/themes/kaya-child/fonts/Lato-Black.ttf') format('truetype');
	font-weight: 800;
	font-display: swap;
}
@font-face {
	font-family: 'Lato';
	src:  url('/wp-content/themes/kaya-child/fonts/Lato-BlackItalic.ttf') format('truetype');
	font-weight: 800;
	font-style: italic;
	font-display: swap;
}







/**
 * 
 * Elements
 * 
 */

/* add padding on block rows for full-width */
.full-width .entry-content > .gb-container {
	padding-left: 15px;
	padding-right: 15px;
}

/* orange underline for headings */
.orange-underline {
	margin-bottom: 80px;
	position: relative;
}
.orange-underline:after {
	position: absolute;
	left: calc(50% - 150px);
	bottom: -20px;
	content: '';
	background: var(--southstar-orange);
	height: 3px;
	width: 300px;
}
.navy-text {
	color: var(--southstar-navy);
}
.orange-text {
	color: var(--southstar-dark-orange);
}

/* clickable sections */
.gb-container-link {
	border: 2px solid white;
}
.gb-container-link:hover {
	border: 2px solid var(--southstar-navy);
}

/* checkmark list */
.check-list,
.question-list {
	list-style: none;
}
.check-list li,
.question-list li {
	position: relative;
}
.check-list li:before,
.question-list li:before {
	position: absolute;
	content: "\f00c";
	left: -1.6em;
	top: 0;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color: var(--southstar-dark-orange);
}

/* questionmark list */
.question-list li:before {
	content: "\f059";
}






/**
 * 
 * Header 
 * 
 */
#masthead #site-navigation {
	padding-top: 18px;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.orange-menu > a.mega-menu-link {
	background: var(--southstar-navy);
	color: var(--southstar-white);
	padding: 0px 15px;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.orange-menu > a.mega-menu-link:hover {
	background-color: var(--southstar-dark-orange);
}







/**
 * 
 * Footer 
 * 
 */
#colophon .footer-columns{
	padding-top: 100px;
	padding-bottom: 80px;
}

/**
 * Top Footer 
 */
.top-footer {
	background: var(--southstar-dark-orange);
	padding: 30px 0;
}
body #colophon h3.white-text {
	color: var(--southstar-white);
	border-color: var(--southstar-white);
}

/* white buttons for footer */
body #colophon a.white-button {
	background: transparent;
	color: var(--southstar-white);
	border-color: var(--southstar-white);
}
body #colophon a.white-button:hover {
	background: var(--southstar-white);
	color: var(--southstar-dark-orange);
}





/**
 * 
 * Home Page
 * 
 */

/* blog posts query loop */
body .gb-grid-wrapper > .gb-grid-column {
	background: var(--southstar-light-gray);
	padding: 15px;
	margin-bottom: 30px;
}
@media (min-width: 768px) {
	body .gb-grid-wrapper {
		display: flex;
		gap: 30px;
	}
	body .gb-grid-wrapper > .gb-grid-column {
		width: calc(33% - 20px);
	}
}
body .gb-grid-wrapper .wp-block-read-more {
	border-color: var(--southstar-navy);
	color: var(--southstar-navy);
	background: var(--southstar-light-gray);
}
body .gb-grid-wrapper .wp-block-read-more:after {
	content: '\f061';
	padding-left: 12px;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}







/*******************
 * Imported from previous theme Fruitful Child
 *******************/

.blue-text, .blue-text h1, .blue-text h2, .blue-text h3, .blue-text h4, .blue-text h5, .blue-text h6, .blue-text a {
	color: #003057;
}

body .page-container .container {
  background-color:transparent;
}

body .wpb_single_image .vc_box_outline.vc_box_border_blue, body .wpb_single_image .vc_box_outline_circle.vc_box_border_blue {
	border-color: #003057;
}
body .wpb_single_image .vc_box_border.vc_box_border_blue, body .wpb_single_image .vc_box_border_circle.vc_box_border_blue {
	background-color: #003057;
}

/**
 * Minimum Height sections
 */
 @media (min-width: 768px) {
    .position-absolute-bottom {
        position: absolute;
        bottom: 0;
        right: 0;
    }
    .padding-bottom-absolute-buttons .vc_column_container {
        padding-bottom: 70px;
    }
}


/* Fixed amounts */
.min-height-25 {
	min-height: 70px;
}
.min-height-50 {
	min-height: 111px;
}
.min-height-75 {
	min-height: 105px;
}
.min-height-100 {
	min-height: 100px;
}
.vc_gitem-post-data.min-height-100 {
	max-height: 100px;
	overflow: hidden;
}
.min-height-125 {
	min-height: 12em;
}
.min-height-150 {
	min-height: 10em;
}
.min-height-200 {
	min-height: 200px;
}
.min-height-250 {
	min-height: 250px;
}
@media screen and (max-width: 767px) {
	.min-height-50, .min-height-75, .min-height-100, .min-height-125, .min-height-150, .min-height-200, .min-height-250 {
		min-height: 0;
	}
}

/**
 * Orange Button
 */
body .vc_btn3.vc_btn3-size-lg {
	font-size: 30px;
	padding: 15px 40px;
}
body .vc_btn3.vc_btn3-size-lg.vc_btn3-icon-left:not(.vc_btn3-o-empty) {
	padding-left: 90px;
}
body .vc_btn3.vc_btn3-size-lg.vc_btn3-icon-left:not(.vc_btn3-o-empty) .vc_btn3-icon {
	left: 40px;
}
body .vc_btn3.vc_btn3-size-lg .vc_btn3-icon {
	font-size: 40px;
}
@media screen and (max-width: 767px) {
	body .vc_btn3.vc_btn3-size-lg .vc_btn3-icon, body .vc_btn3.vc_btn3-size-lg {
		font-size: 20px;
	}
}
body .vc_btn3.vc_btn3-color-orange, body .vc_btn3.vc_btn3-color-orange.vc_btn3-style-flat {
	background-color: #f15522;
}
body .vc_btn3.vc_btn3-color-orange:hover, body .vc_btn3.vc_btn3-color-orange.vc_btn3-style-flat:hover, body .vc_btn3.vc_btn3-color-orange.active, body .vc_btn3.vc_btn3-color-orange.vc_btn3-style-flat.active, body .vc_btn3.vc_btn3-color-orange.vc_btn3-style-flat:active, body .vc_btn3.vc_btn3-color-orange:active {
	background-color: #5db0dc;
}

/**
 * Blue Button
 */
body .vc_btn3.vc_btn3-color-sky.vc_btn3-style-flat:focus, body .vc_btn3.vc_btn3-color-sky.vc_btn3-style-flat:hover, body .vc_btn3.vc_btn3-color-sky:focus, body .vc_btn3.vc_btn3-color-sky:hover {
	background-color: #f15522;
}
body .vc_btn3.vc_btn3-color-sky, body .vc_btn3.vc_btn3-color-sky.vc_btn3-style-flat {
	background-color: #5db0dc;
	font-size:18px;
	padding: 12px 35px;
}





/***** Blog ******/

/* Blog */
.single-post .entry-title {
	font-size: 28px;
	border-bottom: 2px solid #4ca4d6;
	padding-bottom: 10px;
}
.read-more {
	display: inline-block;
	padding: 5px 10px;
	background: #f15522;
  color: #fff;
  font-weight: 700;
    border-radius: 5px;
}
.read-more:hover {
	background-color: #5db0dc;
	color: white;
}
.more-link {
  display:block;
  padding-top:15px;
  font-size: 16px;
}
.blog_post .date_of_post {
  border-right: 1px solid #d6d6d6;
}
.blog_post .post-content {
	border: none;
}
header.post-header .post-title {
	line-height: 1.4em;
	float: none;
	padding: 0 0 13px;
	margin: 0;
}
.blog_post .post-content .entry-content, .blog_post .post-content .entry-summary {
	padding: 10px 0;
}
.header-post-meta {
  padding:0px;
  margin-bottom: 0;
}
.header-post-meta .meta-date {
  background: url('/wp-content/uploads/2016/07/calendar-icon.png') no-repeat 0 3px;
  padding-left: 26px;
  padding-bottom: 2px;
  margin-right: 10px;
}
.header-post-meta .author-link {
  background:url('/wp-content/themes/fruitful/images/user.png') no-repeat 0 0 transparent;
  padding-left: 26px;
  padding-bottom: 2px;
  margin-right: 10px;
}
.header-post-meta .cat-links {
  background:url('/wp-content/themes/fruitful/images/category.png') no-repeat 0 3px transparent;
  padding-left: 26px;
  padding-bottom: 2px;
  display:block;
}
.vc_grid-item-mini .min-height-75 {
	max-height: 75px;
}
.single .entry-content {
	border-bottom: 2px solid #4ca4d6;
}



/**
 * Get Funding Page
 */
@media screen and (max-width: 767px) {
	.long-iframe {
		height: 3200px;
	}
}
body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-tab>a, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-tab.vc_active>a, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-panel.vc_active .vc_tta-panel-heading, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-panel.vc_active .vc_tta-panel-title>a, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-panel .vc_tta-panel-title>a, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-panel .vc_tta-panel-heading, body .wpb-js-composer .vc_tta-color-blue.vc_tta-style-outline .vc_tta-tab.vc_active>a {
	border-color: #003057 !important;
	color: #003057 !important;
	font-size: 24px;
}
body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-tab.vc_active>a {
	border-bottom-color: white !important;
}
body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-tab>a:focus, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-tab>a:hover, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-panel .vc_tta-panel-heading:focus, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-panel .vc_tta-panel-heading:hover, body .wpb-js-composer .vc_tta-color-blue.vc_tta-style-outline .vc_tta-tab.vc_active>a:hover {
	background-color: #003057 !important;
	color: white !important;
}
body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-controls-icon::after, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-controls-icon::before, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-panel .vc_tta-panel-body, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-panel .vc_tta-panel-body::after, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-panel .vc_tta-panel-body::before, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-controls-icon::after, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-controls-icon::before, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-panel .vc_tta-panel-body, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-panel .vc_tta-panel-body::after, body .vc_tta-color-blue.vc_tta-style-outline .vc_tta-panel .vc_tta-panel-body::before {
	border-color: #003057 !important;
}


/**
 * Make Toggles Orange
 */
body .vc_toggle_default .vc_toggle_icon::after, body .vc_toggle_default .vc_toggle_icon::before, body .vc_toggle_default .vc_toggle_icon {
	background: #f36c21;
}
body .vc_toggle_default .vc_toggle_icon::before, body .vc_toggle_default .vc_toggle_icon {
	border: 1px solid #f36c21;
}

/**
 * Headings on pages
 */
.blue-background-heading h1 {
	margin: 90px 0 !important;
	padding: 15px 0;
	color: white;
	font-size: 45px;
	text-shadow: 4px 4px 4px #000000;
	text-align: center;
}
@media screen and (max-width: 1199px) {
	.blue-background-heading h1 {
		margin: 70px 0 !important;
		font-size: 44px;
	}
}

@media screen and (max-width: 979px) {
	.blue-background-heading h1 {
		margin: 50px 0 !important;
		font-size: 35px;
	}
}
@media screen and (max-width: 767px) {
	.blue-background-heading h1 {
		margin: 50px 0 !important;
		font-size: 30px;
	}
}


/**
 * Application for Funding Page
 */
@media screen and (max-width: 1199px) {
	.application-page-iframe iframe {
		max-width: 699px;
		margin: auto;
		display: block;
	}
}







/***** Overall *****/
body .vc_col-has-fill>.vc_column-inner, body .vc_row-has-fill+.vc_row-full-width+.vc_row>.vc_column_container>.vc_column-inner, body .vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner, body .vc_row-has-fill+.vc_vc_row>.vc_row>.vc_vc_column>.vc_column_container>.vc_column-inner, body .vc_row-has-fill+.vc_vc_row_inner>.vc_row>.vc_vc_column_inner>.vc_column_container>.vc_column-inner, body .vc_row-has-fill>.vc_column_container>.vc_column-inner, body .vc_row-has-fill>.vc_row>.vc_vc_column>.vc_column_container>.vc_column-inner, body .vc_row-has-fill>.vc_vc_column_inner>.vc_column_container>.vc_column-inner {
  padding-top:0;
}
body .vc_grid-item.zoomIn {
  animation-name: none;
} 
body .wpb_content_element, body .vc_btn3-container, body .vc_icon_element {
  margin-bottom: 0;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6, .comment-content h1, .comment-content h2, .comment-content h3, .comment-content h4, .comment-content h5, .comment-content h6 {
  line-height: 1.2em;
}
.home .page-container {
  margin-bottom: 0;
}
.page-container .hentry {
  margin: 0;
}
.ffs-two-one, .ffs-three-one, .ffs-three-two, .ffs-four-one, .ffs-four-two, .ffs-four-three, .ffs-five-one, .ffs-five-two, .ffs-five-three, .ffs-five-four, .ffs-six-one, .ffs-six-two, .ffs-six-three, .ffs-six-four, .ffs-six-five {
  margin-bottom: 0 !important;
}
body .btn.btn-small { 
  border-radius:3px;
  padding:9px 45px;
  font-size: 16px;
}
.home .entry-content {
  margin:0;
}
.home .page-container {
  padding-top: 0;
}
#home-page-container {
  width: 100%;
}

/***** Custom sizes *****/
.width-50 {
  width: 48%;
  margin-right: 4%;
  float: left;
}
.width-50.last {
  margin-right: 0;
}

/***** 1140px width *****/
@media screen and (min-width: 1200px) {
  .container .sixteen.columns, .container {
    width: 1140px;
  }
  .container .eleven.columns {
    width: 810px;
  }
  .eleven.columns .blog_post .post-content {
    width:754px;
  }
}
.width-960, .width-960.owl-ca-carousel {
  width: 1140px;
  margin:auto;
}

@media screen and (max-width: 1199px) {
  .width-960, .width-960.owl-ca-carousel {
    width: 960px;
    margin:auto;
  }
}

@media screen and (max-width: 980px) {
  .width-960, .width-960.owl-ca-carousel, .container .sixteen.columns, .container .column {
    width: 730px;
    margin:auto;
    float: none;
    display: block;
  }
  .container {
	width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .width-960, .width-960.owl-ca-carousel, .container .sixteen.columns, .container .column {
    width: 95%;
    margin:auto;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) and (min-width: 768px) {
	#info-box-22 .infobox-text {
		margin-top: 30px;
	}
}
@media screen and (max-width: 1199px) and (min-width: 980px) {
	#info-box-22 .infobox-text .vc_btn3-size-lg {
		padding-left: 45px !important;
	}
}
@media screen and (max-width: 979px) and (min-width: 769px) {
	#info-box-22 .infobox-text .vc_btn3-size-lg {
		padding-left: 35px !important;
		font-size: 18px !important;
	}
}