/*
Theme Name: Country Living of Kansas
Theme URI: http://www.countrylivingofkansas.com
Template: Divi
Author: Rafi Hecht and Joseph Meckler
Author URI: http://www.countrylivingofkansas.com
Description: Child theme of Divi, customized for Country Living of Kansas.
Version: 4.27.4.1767059465
Updated: 2025-12-30 01:51:05

*/

/*
 * Main color: #1e3a8a - blue
 * Secondary color: #f5ede7 - tan
 * Tertiary color: #991b1b - red
 * */



/* Main Sections */
/* Header */

.et_pb_section_0_tb_header{
	background-image:none !important;
}

.header-section{
	
}
.header-section h1,
.darkbg h1{
	color:#ffffff !important;
	font-family:"Prata";
}

div.headerrow{
	padding-top:100px;
	padding-bottom:100px;
}
div.headerrowtwo{
	padding-top:50px;
	padding-bottom:50px;
}

/* End Header */

/* Header Menu */
ul.menu-main-menu,
ul.menu-main-menu li,
ul.menu-main-menu li ul.sub-menu{
	z-index:9999;
}

div#main-header div.et_pb_row,
div#main-header{
	padding:20px 0 !important;	
}

ul.menu-main-menu li a,
.et-menu a
{
	color: #1e3a8a !important;
}
ul.menu-main-menu li a:hover,
.et-menu a:hover,
.et-menu li.current_page_item a{
	color: #991b1b !important;
}
.et-menu li.current_page_item a{
	font-weight:bold;
}

/* End Header Menu */

/* General */

h1, h2, h3{
	font-family:"Prata", "Open Sans", Arial;
	color:#1e3a8a !important;
}

h1{
	font-size:44px;
	line-height:60px;
}
h2{
	font-size:38px;
	line-height:50px;
}

h3{
	font-size:26px;
	line-height:32px;
}

p, ul li{
	font-size:16px !important;
}

section.home-hero h1,
section.home-hero p,
div.darkbg h1,
div.darkbg h2,
div.darkbg p,
div.darkbg a,
section.darkbg h1,
section.darkbg h2,
section.darkbg p,
section.darkbg a
{
	color:#ffffff;
}

.blue-section, .red-section,
.blue-section h1, .red-section h1,
.blue-section h2, .red-section h2,
.blue-section h3, .red-section h3,
.blue-section div.et_pb_text_inner h3, .red-section div.et_pb_text_inner h3,
.blue-section h4, .red-section h4,
.blue-section .et_pb_module_heading, .red-section .et_pb_module_heading,
.blue-section p, .red-section p{
	color: #ffffff !important;
}


.blue-section .et_pb_divider_0:before, .red-section .et_pb_divider_0:before{
	border-top-color: #ffffff !important;
}



.blue-section{
	background-color: #1e3a8a !important;
}
.red-section{
	background-color:#991b1b !important;
}

.tan-section{
	background-color:#f5ede7 !important;
}

.blue-section .et_pb_button{
	background-color:#991b1b;
}

.tan-section,
.tan-section h1,
.tan-section h2,
.tan-section h3,
.tan-section h4,
.tan-section .et_pb_module_heading,
.tan-section p{
	color: #000000 !important;
}

/* reduce padding which default is 54px */

.et_pb_section{
	padding:0px !important;
}


/* End General */

/* Footer */

#footer-dark-section{}

#footer-dark-section .et_pb_module{
	text-decoration:none !important;
	
}
.et_pb_text_5_tb_footer{
	visibility:visible !important;
}

#footer-dark-section h1,
#footer-dark-section h2,
#footer-dark-section h3,
#footer-dark-section h4,
#footer-dark-section h5,
#footer-dark-section h6{
	color:#ffffff !important;
}

#mapTabs{
	
}

#mapTabs ul.et_pb_tabs_controls{
	background-color: #f5ede7 !important;
}

#mapTabs ul.et_pb_tabs_controls li{
	background-color:#1e3a8a;	
}

#mapTabs li.et_pb_tab_active{
	background-color:#991b1b !important;
}

#mapTabs li a{
	color:#ffffff !important;

}

#mapTabs div.et-pb-active-slide{
	background-color: #f5ede7 !important;
}

div.footer-map-right{
	color:#fff;
}

div.footer-map-right a{
	color:#991b1b;
	font-weight:bold;
	-webkit-text-stroke:1px #ffffff;
}

.et_pb_map,
.et_pb_map iframe {
    height: 400px !important;
}

/* Footer menu base */
.footer-menu-links {
  background: none !important;
  width: 100%;
}

/* Force Divi menu wrapper to center */
.footer-menu-links .et_pb_menu__wrap,
.footer-menu-links .et_pb_menu__menu,
.footer-menu-links nav {
  width: 100%;
  justify-content: center !important;
}

/* Footer menu UL */
.footer-menu-links ul,
.footer-menu-links .et-menu,
.footer-menu-links .nav {
  width: 100%;
  margin: 0 auto !important;
  padding-left: 0 !important;
  list-style: none;
  justify-content: center !important;
}

/* Footer menu LI */
.footer-menu-links ul li,
.footer-menu-links .et-menu li,
.footer-menu-links .nav li {
  width: 100%;
  display: block;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Footer menu links */
.footer-menu-links a,
.footer-menu-links ul li a,
.footer-menu-links .et-menu li a,
.footer-menu-links .nav li a {
  display: block;
  width: 100%;
  color: #ffffff !important;
  font-family: "Open Sans" !important;
  font-size: 16px !important;
  font-weight: 300;
  line-height: 28px;
}

/* Disable Divi mobile hamburger for footer menus */
@media (max-width: 980px) {

.footer-menu-links .et_pb_menu__wrap,
.footer-menu-links .et_pb_menu__menu,
.footer-menu-links nav.footer-menu-links ul,
.footer-menu-links .et-menu,
.footer-menu-links .nav,
.footer-menu-links a,
.footer-menu-links ul li a,
.footer-menu-links .et-menu li a,
.footer-menu-links .nav li a {
  text-align: center !important;

	}
	
  .footer-menu-links .et_pb_menu__menu {
    display: block !important;
  }

  .footer-menu-links .et_mobile_nav_menu {
    display: none !important;
  }

  footer .et_pb_column {
    width: 100% !important;
    text-align: center !important;
  }

  footer .et_pb_module,
  footer ul,
  footer ul li,
  footer a {
    text-align: center !important;
  }
	
	
.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4, .et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4, .et_pb_row_4col>.et_pb_column.et_pb_column_1_4{
	margin-right:0 !important;
	}
	
}

/* End Footer */
/* End Main Sections */

/* Home */

body.home .home-slider-section{
	height:473px !important;
	margin-top:-20px !important;
}

h1.n2-ss-item-content{
	color:#ffffff !important;
}


/* The two location columns become flip cards */
body.home .et_pb_row_1 .et_pb_column_1,
body.home .et_pb_row_1 .et_pb_column_2 {
  position: relative;
  min-height: 340px;
  perspective: 1000px;
  overflow: visible;
/*	
  background-image: none !important;
*/
}

/* Front and back background faces */
body.home .et_pb_row_1 .et_pb_column_1::before,
body.home .et_pb_row_1 .et_pb_column_1::after,
body.home .et_pb_row_1 .et_pb_column_2::before,
body.home .et_pb_row_1 .et_pb_column_2::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.7s ease;
  z-index: 1;
}

/* Home Testimonials */
/* Testimonial slider: make room for bottom bullets */
.testimonials-slider {
  position: relative !important;
  min-height: 180px !important;
  padding-bottom: 40px !important;
}

/* Override Divi's inline calculated slide height */
.testimonials-slider .et_pb_container {
  height: auto !important;
  min-height: 130px !important;
}

/* Keep slide content above the bullets */
.testimonials-slider .et_pb_slide_description {
  padding-bottom: 45px !important;
}

/* Pin bullets to bottom */
.testimonials-slider .et-pb-controllers {
  position: absolute !important;
  bottom: 10px !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  z-index: 20 !important;
}
/* End Home Testimonials */

/* Larned front */
body.home .et_pb_row_1 .et_pb_column_1::before {
  background-image: 
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("/wp-content/uploads/2026/01/view-larned-location.jpg");

	transform: rotateY(0deg);
}

/* Larned back */
body.home .et_pb_row_1 .et_pb_column_1::after {
/*	
  background-image: 
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("/wp-content/uploads/YOUR-LARNED-IMAGE.jpg");
*/
  background-image: none !important;
background-color: #f5ede7;
border:4px solid #991b1b;
  transform: rotateY(180deg);
}

/* Lyons front */
body.home .et_pb_row_1 .et_pb_column_2::before {
  background-image: 
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("/wp-content/uploads/2026/01/view-lyons-location.jpg");
  transform: rotateY(0deg);
}

/* Lyons back */
body.home .et_pb_row_1 .et_pb_column_2::after {
/*	
  background-image: 
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("/wp-content/uploads/YOUR-LYONS-IMAGE.jpg");
*/
	  background-image: none !important;
background-color: #f5ede7;
border:4px solid #991b1b;
	
  transform: rotateY(180deg);


}

/* Make the button modules behave like front/back faces */
body.home .et_pb_row_1 .et_pb_column_1 > .et_pb_button_module_wrapper,
body.home .et_pb_row_1 .et_pb_column_2 > .et_pb_button_module_wrapper {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0 !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.7s ease;
}

/* First button module = front */
body.home .et_pb_row_1 .et_pb_column_1 > .et_pb_button_module_wrapper:first-of-type,
body.home .et_pb_row_1 .et_pb_column_2 > .et_pb_button_module_wrapper:first-of-type {
  transform: rotateY(0deg);
}

/* Second button module = back */
body.home .et_pb_row_1 .et_pb_column_1 > .et_pb_button_module_wrapper:nth-of-type(2),
body.home .et_pb_row_1 .et_pb_column_2 > .et_pb_button_module_wrapper:nth-of-type(2) {
  transform: rotateY(180deg);
}

/* Flip backgrounds on hover */
body.home .et_pb_row_1 .et_pb_column_1:hover::before,
body.home .et_pb_row_1 .et_pb_column_2:hover::before {
  transform: rotateY(-180deg);
}

body.home .et_pb_row_1 .et_pb_column_1:hover::after,
body.home .et_pb_row_1 .et_pb_column_2:hover::after {
  transform: rotateY(0deg);
}

/* Flip buttons on hover */
body.home .et_pb_row_1 .et_pb_column_1:hover > .et_pb_button_module_wrapper:first-of-type,
body.home .et_pb_row_1 .et_pb_column_2:hover > .et_pb_button_module_wrapper:first-of-type {
  transform: rotateY(-180deg);
}

body.home .et_pb_row_1 .et_pb_column_1:hover > .et_pb_button_module_wrapper:nth-of-type(2),
body.home .et_pb_row_1 .et_pb_column_2:hover > .et_pb_button_module_wrapper:nth-of-type(2) {
  transform: rotateY(0deg);
}

/* End Home */

/* Larned and Lyons */

.klc-gallery{}

/** Desktop **/
@media (min-width: 981px){
.klc-gallery .et_pb_gallery_item {
/*
 * width: 16.66% !important; /*six columns
 * */
width: 28% !important; /* three columns*/
clear: none !important;
margin:12px 2.5% !important;
}
}
 
/** Tablet **/
@media (max-width: 980px){
	
h1, h2, h3{
	text-align:center !important;
}
	
h1{
	font-size:38px;
	line-height:50px;
}
h2{
	font-size:30px;
	line-height:40px;
}

h3{
	font-size:22px;
	line-height:26px;
}

	
h1.n2-ss-item-content{
	text-align:center !important;
}
	
p, ul li{
	font-size:16px !important;
	text-align:center !important;
}
	
/* divider */
	.et_pb_divider:before{
		left:128% !important;
	}
/* end divider */

	div.headerrow, div.headerrowtwo,
	div.headerrow h1, div.headerrowtwo h1
	{
		text-align:center !important;
	}

	.klc-gallery .et_pb_gallery_item {
	width: 45% !important; /*two column*/
	clear: none !important;
	margin:12px 2.5% !important;
	}

  .et_pb_button_0_wrapper {
    text-align: center !important;
  }

  .et_pb_button_0_wrapper .et_pb_button {
    display: inline-block !important;
  }
	
}
 
/** Small Tablet and Large Phone **/
@media (max-width: 767px){
.klc-gallery .et_pb_gallery_item {
width: 100% !important; /*one column*/
clear: none !important;
}
}
 
/** Phone **/
@media (max-width: 479px){
.klc-gallery .et_pb_gallery_item {
width: 100% !important; /*one column*/
clear: none !important;
}
}

/* Larned and Lyons submenus */

/*
div#larned-subsection,
div#lyons-subsection{
	z-index:1 !important;
}

div#larned-subsection div.et_pb_row,
div#larned-subsection div.et_pb_row{
	padding:0 0 !important;
}

ul#menu-larned li,
ul#menu-larned li a,
ul#menu-lyons li,
ul#menu-lyons li a{
	font-size:16px;
	line-height:32px;
}
*/

/* End Larned and Lyons */

/* Larned */

/* End Larned */
/* Lyons */

/* End Lyons */

/* Careers */
.careers-card{
	border: 1px solid #991b1b;
	background-color: #f5ede7;
	color: #1e3a8a;
	border-radius:10px;
}
.careers-card h1
.careers-card h2,
.careers-card h3,
.careers-card h4,
.careers-card p,
.careers-card a,
.careers-card span,
.careers-card h4 span,
div.et_pb_blurb_description p a{
	color: #1e3a8a !important;
}
div.et_pb_blurb_description p a:hover{
	text-decoration:underline;
}
div.et_pb_main_blurb_image span.et_pb_image_wrap span{
/*	
	color: #ffffff !important;
	background-color:#991b1b !important;	
*/
	color: #1e3a8a !important;
	background-color:#f5ede7 !important;	
	
}

div.et_pb_blurb a{
	text-decoration:underline;
}

div.submit-resume-text div.et_pb_text_inner p,
div.submit-resume-text div.et_pb_text_inner p span{
	font-size:22px !important;
}

/* End Careers */
/* Resources */
.resources-cards-row{
}

.resources-cards-row div.et_pb_column{
	border-radius: 10px;
	border: 1px solid #991b1b;
	transition: background-color 0.3s ease-in-out;
}
/*
.resources-cards-row div.et_pb_column h4,
.resources-cards-row div.et_pb_column p{
	color:#1e3a8a;
}
*/
.resources-cards-row div.et_pb_column:hover{
	border-radius: 10px;
	border: 1px solid #ffffff;
	background-color:#1e3a8a;
}
.resources-cards-row div.et_pb_column:hover h4,
.resources-cards-row div.et_pb_column:hover p,
.resources-cards-row div.et_pb_column:hover .et-pb-icon
{
	color:#ffffff;
}

/*=======================
 *  Resources flipbox
=======================*/

/* =========================================================
   Resources Flip Cards
   Front: icon + heading
   Back: description
   Color scheme:
   Main blue: #1e3a8a
   Secondary tan: #f5ede7
   Tertiary red: #991b1b
========================================================= */


/* Card container */
.resources-cards-row .et_pb_column {
  position: relative;
  min-height: 260px;
  padding: 35px 25px !important;
  perspective: 1000px;
  overflow: hidden;
  background: transparent !important;
  border: none !important;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* Front and back background faces */
.resources-cards-row .et_pb_column::before,
.resources-cards-row .et_pb_column::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.7s ease;
}


/* Front card face */
.resources-cards-row .et_pb_column::before {
  background: #f5ede7;
  border: 2px solid rgba(30, 58, 138, 0.15);
  transform: rotateY(0deg);
}


/* Back card face */
.resources-cards-row .et_pb_column::after {
  background: #1e3a8a;
  transform: rotateY(180deg);
}


/* All direct Divi modules inside the card */
.resources-cards-row .et_pb_column > .et_pb_module {
  position: relative;
  z-index: 2;
  margin-bottom: 0 !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.7s ease, opacity 0.3s ease;
}


/* Front icon */
.resources-cards-row .et_pb_column > .et_pb_icon {
  transform: rotateY(0deg);
  margin-bottom: 18px !important;
}


/* Icon color */
.resources-cards-row .et_pb_column > .et_pb_icon .et-pb-icon {
  color: #991b1b !important;
  font-size: 44px;
}


/* Front heading */
.resources-cards-row .et_pb_column > .heading {
  transform: rotateY(0deg);
  text-align: center;
}


/* Heading text */
.resources-cards-row .et_pb_column > .heading h4 {
  color: #1e3a8a;
  text-align: center;
  line-height: 1.3;
  margin: 0;
  padding: 0;
}


/* Back description */
.resources-cards-row .et_pb_column > .description {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 35px 28px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  transform: rotateY(180deg);
  opacity: 0;
  color: #ffffff;
}


/* Back description text */
.resources-cards-row .et_pb_column > .description p {
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}


/* Flip away the front background */
.resources-cards-row .et_pb_column:hover::before {
  transform: rotateY(-180deg);
}


/* Flip in the back background */
.resources-cards-row .et_pb_column:hover::after {
  transform: rotateY(0deg);
}


/* Flip away icon and heading */
.resources-cards-row .et_pb_column:hover > .et_pb_icon,
.resources-cards-row .et_pb_column:hover > .heading {
  transform: rotateY(-180deg);
  opacity: 0;
}


/* Flip in description */
.resources-cards-row .et_pb_column:hover > .description {
  transform: rotateY(0deg);
  opacity: 1;
}

/* keyboard focus */

.resources-cards-row .et_pb_column:focus-within::before {
  transform: rotateY(-180deg);
}

.resources-cards-row .et_pb_column:focus-within::after {
  transform: rotateY(0deg);
}

.resources-cards-row .et_pb_column:focus-within > .et_pb_icon,
.resources-cards-row .et_pb_column:focus-within > .heading {
  transform: rotateY(-180deg);
  opacity: 0;
}

.resources-cards-row .et_pb_column:focus-within > .description {
  transform: rotateY(0deg);
  opacity: 1;
}

/* mobile fallback */

@media (max-width: 767px) {
	
  .resources-cards-row .et_pb_column {
    min-height: auto;
    display: block;
    padding: 30px 24px !important;
  }

  .resources-cards-row .et_pb_column::before,
  .resources-cards-row .et_pb_column::after {
    transform: none !important;
  }

  .resources-cards-row .et_pb_column::after {
    display: none;
  }

  .resources-cards-row .et_pb_column > .et_pb_icon,
  .resources-cards-row .et_pb_column > .heading,
  .resources-cards-row .et_pb_column > .description {
    position: relative;
    inset: auto;
    transform: none !important;
    opacity: 1 !important;
    color: inherit;
    padding: 0;
    display: block;
  }

  .resources-cards-row .et_pb_column > .description {
    margin-top: 14px !important;
  }

  .resources-cards-row .et_pb_column > .description p {
    color: #333333;
  }
}

/*=======================
 * End Resources flipbox
=======================*/

/* End Resources */

/* Contact */

div.contact-locations{}

div.contact-locations div.et_pb_column{
	background-color: #f5ede7;
}


div.contact-locations h1,
div.contact-locations h2,
div.contact-locations h3,
div.contact-locations h4,
div.contact-locations h5,
div.contact-locations h6,
div.contact-locations .et_pb_module_heading,
div.contact-locations p,
div.contact-locations span,
div.contact-locations a
{
	color: #1e3a8a !important;
	font-weight:700;
	
}

div.contact-locations h1,
div.contact-locations h2,
div.contact-locations h3,
div.contact-locations h4,
div.contact-locations h5,
div.contact-locations h6,
div.contact-locations .et_pb_module_heading{
/*	
	color: #ffffff !important;
*/
	
	text-align:center !important;
}
/*
.et_pb_module_header{
	line-height:0 !important;
}
*/

.et_pb_blurb_0.et_pb_blurb p,
.et_pb_blurb_1.et_pb_blurb p,
.et_pb_blurb_2.et_pb_blurb p,
.et_pb_blurb_3.et_pb_blurb p,
.et_pb_blurb_4.et_pb_blurb p,
.et_pb_blurb_5.et_pb_blurb p{
	line-height:3.2em !important;
}

/* End Contact */
/* Misc */
