/*
Theme Name:     Swifton Genesis child theme 3.0 New
Description:    This is a child theme of Genesis
Author:         Golin Web Design
Template:       genesis

(optional values you can add: Theme URI, Author URI, Version)
*/

/* @import url("../genesis/style.css");  Use code below for genesis 3.x */
@import url("style-genesis-sample-3-2.css");


/* ## Headings and Fonts
--------------------------------------------- */

/* colors */
/**** colors ****/
:root {
--dark_blue: #1b317d;
--orange: #f26822;
--yellow: #faa71a;
--light_gray:#f6f6f6;

}

h2,
h3,
h4,
h5,
h6 {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 15px;
}

h1, h1.entry-title {
	font-family: 'Lato', sans-serif;
	font-size: 34px;
	font-weight: normal;
	color:var(--dark_blue);
}

h2, 
h2.entry-title,
h2.wp-block-heading   {
	font-size: 28px;
	line-height:40px;
	color:var(--orange);
}

h3,
.wp-block-column h3 {
	font-size: 18px;
	color:var(--dark_blue);
}

h4 {
	font-size: 16px;
}
body > div {
    font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: normal;
    color:var(--dark_blue);
    line-height:1.45em;
}
p,
.wp-block-column p {
	margin-bottom:1.2em;
  	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: normal;
	line-height:1.45em;
  	color:var(--dark_blue);
}

li  {
  	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: normal;
	line-height:1.45em;
  	color:var(--dark_gray);
}

a, a:visited, .entry-title a, a:hover {
	color:var(--orange);
}
a, a:visited, .entry-title a {
	text-decoration: none;
	/* -webkit-tap-highlight-color: transparent; use this if you don't want a tap color feedback */
}
a:hover, .entry-title a:hover {
	text-decoration:underline;
}
a:active {
    outline:none;
	/*-moz-outline-style: none; not sure if I need this too  */
}

/* image captions */
.wp-caption-text {
	font-weight: normal;
	font-size: 13px;
	font-family: "Lato", sans-seric; */
}
/* styles to use across wp blocks */
.alignfull {
    margin-left: calc( -100vw / 2 + 100% / 2 ) !important;
    margin-right: calc( -100vw / 2 + 100% / 2 ) !important;
    max-width: 100vw !important;
    width: 100vw;
}
.alignwide {
	max-width:1400px;
	margin-left:auto;
	margin-right:auto;
	padding-right:min(3%, 20px);
	padding-left:min(3%, 20px);
}

.nopaddings.wp-block-cover {
	margin-bottom:0;
	padding-top:0;
	padding-bottom:0
}
.nopaddings .wp-block-cover__inner-container p {
	margin-top:0 !important;
}
.wp-block-image.image-nomargin {
	margin-bottom:0;
}

/********** Page Layout **********/

/* set site width, header width and nav width*/
.content-sidebar-wrap, .site-header .wrap, .nav-primary .wrap, .site-inner, 
.site-footer .wrap, .footer-widgets .wrap {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto; 
}
.site-header, .site-inner, .site-footer, .footer-widgets {
    padding-left:50px;
    padding-right:50px;
    max-width:100%;
}
.footer-widgets {
    max-width:100%;
}
.site-inner {
	padding-top:0;
}

.site-inner .page  {
    margin-bottom:0 !important;
	padding-top:0;
}
/* don't display any page titles */
h2.entry-title {
	display:none;
}
.button-text a:hover {
	text-decoration:none;
	color:var(--orange) !important;
}
/********* header settings *************/
.site-header {
    	box-shadow:none;
		position:relative;
}
.site-header .wrap {
	margin-bottom:0px;
	display:flex;
	flex-wrap:wrap;
}
.site-header .site-title {
	display: none;
}

/**** for menu aligned to the right of logo */
.title-area {
	order:2;
    width:100%;
    display:flex;
	flex-wrap:wrap;
    align-items:center;
	max-width:100% !important;
	padding-bottom:10px;
}
.header-top-image img {
	min-height:27px;
}

/* reduce space bewteen content and footer */
.page .entry {
	margin-bottom:20px;
}
.content {
	float: none;
	width: 100%;
	}
/* don't display page titles */
h1.entry-title {
	display:none;
}

/********** navigation ****************/	
/* move main menu to right of logo */
.nav-primary {
    order:2;
    width:calc(100% - 300px);
}
.nav-primary .genesis-nav-menu {
	display:flex;
   justify-content:flex-end;
}
.nav-primary .wrap {
	margin-top:0;
	margin-bottom:0;
	padding-top:15px;
	padding-bottom:15px;
}

/* remove sub-menu arrow indicator */
.nav-primary .sf-sub-indicator {
    display:none;
}
.nav-primary .genesis-nav-menu a {
	 padding:15px;
}
.genesis-nav-menu li a {
	color:var(--dark_blue);
	text-decoration: none;
	font-family: "Lato", sans-serif;
    font-size:18px;
	font-weight: bold;
}
.genesis-nav-menu li a:hover {
	 color:var(--orange) !important;
	 text-decoration: none;
}

/* submenu width */
.genesis-nav-menu .sub-menu{
	position:absolute !important;
	width:180px;
}

.genesis-nav-menu ul.sub-menu li a, .genesis-nav-menu ul.sub-menu li a:hover {
	font-size: 18px !important;
	line-height:22px;
	padding-top:0px !important;
	padding-bottom: 10px;
	margin-bottom:10px;
	color:var(--orange) !important;
	border-bottom:1px solid #9bc8d4;
	font-weight:500;
	}
.genesis-nav-menu ul.sub-menu li a:hover {
	font-weight:400;
}
/* submenu background color */
.genesis-nav-menu ul.sub-menu, .genesis-nav-menu ul.sub-menu li a {
	background-color: #eff6f5;
	}
.genesis-nav-menu ul.sub-menu {
	border:none;
	padding-top:15px;
	padding-bottom:5px;
}
/* color of current menu item */
.genesis-nav-menu .current-menu-item a,  .genesis-nav-menu .current-menu-parent a {
	color:var(--orange);
}
.genesis-nav-menu .sub-menu .current-menu-item a {
	color:var(--dark_blue) !important;
}
.genesis-nav-menu li:not(.current-menu-item):not(.current-menu-parent) a, .genesis-nav-menu .sub-menu li:not(.current-menu-item) a {
	color:var(--dark_blue);
}


/********** homepage ***********/
/* don't display page title */
.home .site-inner {
	padding-top:0;
}
.home-separator {
    height:2px;
    margin-top:20px;
    margin-bottom:0;
}
.home-services-list li {
    font-size:20px;
}
.home-services-list li {
	list-style: none !important;
	margin-bottom:10px;
	position:relative;
	padding-left:20px;
	margin-left:-20px;
}
.home-services-list  li::before {
    content: "";
    background-color: var(--dark_blue);
    display: inline-block;
	width:8px;
	height:8px;
	left:0;
	top:11px;
	border-radius:50%;
	position:absolute;
}

/* testimonial slider */
.home-testimonial-slider p {
	font-family:"Lato", sans-serif;
	font-size:22px;
	line-height:35px;
	font-style: italic;
	padding-left:25px;
	padding-right:25px;
	text-align: center;
	color:var(--dark_blue);
}
.home-testimonial-slider {
    padding-top:3%;
    padding-bottom:3%;
}
.home-testimonial-slider .testimonial-signature {
    text-align:center !important;
    font-size:22px;
    font-style:italic;
  	color:#8c93b2;
}
.wpmtst-testimonial {
	border: none !important;
}
.wpmtst-testimonial-inner {
	border: none !important;
}
/**** subpages */

/**** contact page *****/
.wpforms-container-full {
	max-width:625px;
	float:left !important;
	width:100% !important;
	clear:both;
}
.wpforms-submit {
	width:100% !important;
}
.contact-page-image {
	clear:both;
}

/*** posts ****/
.single-post h1.entry-title {
	display:block;
	font-family:"Lato", sans-serif;
	font-size:24px;
	line-height:30px;
}
.single-post .entry-author {
	display: none;
}
/* size headers on archive pages */
body.archive h2.entry-title a, body.archive h2.entry-title {
	font-family: "Lato", sans-serif;
	font-size:24px;
	line-height: 34px;
	font-weight: bold;
	margin-bottom:15px;
	}
a.moretag, a:visited.moretag, a:hover.moretag {
	color:#6ebae4 !important;
	font-size:14px;
	font-family:"Lato", sans-serif;
}
/* hide "continue reading because we added readmore */
.post .post-more {
	display:none;
}

/**** cutsom post loop pagination *****/
/*** make pagination lineup horizontally **/
.pagination li {
	float:left;
	margin-left:5px;
}
/* set page nav color */
.pagination li a {
	color:#13acd3;
    background-color:#fff;
}
 
/* set achive page nav color */
.pagination li.active a, .pagination li a:hover {
	color:#0b6981; 
    background-color:#fff;
}
/* add flexbox to center pagination */
.pagination {
	padding-bottom:50px;
	display:flex;
	justify-content: center;
}
/******* footer ************/
/********** basic footer setting *********/
/* remove genesis gototop */
.site-footer .gototop {
	display:none;
}
.site-footer {
    border-top:0px;
	padding:0;
}
.footer-bottom-image {
	margin-top:5px;
	margin-bottom:20px;
}
.footer-bottom-image img {
	width:100%;
	min-height:27px;
}

.footer-widgets .wrap {
	padding-top:45px;
}

.footer-widgets {
	/* set background color and add paint splash images */
	background-image:url('/wp-content/uploads/footerBack-scaled.jpg');
	background-size:cover;
}
.footer-widget-area {
    padding-left:0;
    padding-right:0;
}
/* 3 Footer widgets */
.footer-widgets-1 {
	width:280px;
	float:left;
}
.footer-widgets-1 section {
	margin-bottom:25px;
}
.footer-widgets-2  {
	width:calc(100% - 280px);
	float:left;
}
.footer-widgets-3 {
	width:100%;
	float:left;
	margin-top:25px;
}
.footer-widgets-2 .menu li {
	float:left;
	margin-left:20px;
}
.footer-widgets-2 .menu li a {
	color:#fff;
	font-size:16px;
	font-family:"Lato", sans-serif;
}
.footer-widgets-2 .menu,
.footer-widgets-2 .wp-block-social-links {
	float:right;
}
.footer-widgets-2 .wp-block-social-links li a {
	padding:0;
	font-family:"Lato", sans-serif;
	font-size:32px;
}
.footer-widgets h2 a {
	color:#fff;
}
.footer-widgets h2 a:hover {
	text-decoration:none;
}
.footer-widgets p,
.footer-text a {
	font-family: "Lato", sans-serif;
	color:#fff;
	font-size:16px;
}
.footer-widgets-2 .widget_nav_menu {
	margin-bottom:25px;
}

@media only screen and (max-width:1100px) {
	.home-discovermore .wp-block-column {
		flex-basis:45% !important;
	}
	.home-discovermore {
		flex-wrap:wrap !important;
	}
	.books-page-columns .wp-block-column {
		flex-basis:100% !important;
	}
	.books-page-columns {
		flex-wrap:wrap !important;
	}

}/* 1100 */
@media only screen and (max-width:980px) {
    .footer-widgets-1, .footer-widgets-2 {
        margin-bottom:25px;
    }
	.footer-widgets-2 {
		width:100%;
	}
	.footer-widgets-2 .widget {
		float:left;
		clear:both;
	}
	.footer-widgets-2 .menu {
		margin-left:-20px;
		float:left;
	}
	.footer-widgets-3 {
        margin-top:0px;
    }
} /* 980 */
@media only screen and (max-width:930px) {
	.button-text a {
		font-size:2.3vw !important;
	}
}
@media only screen and (max-width:781px) {
	.button-text a {
		font-size:24px !important;
	}
	.button-text {
		max-width:330px;
		margin-left:auto;
		margin-right:auto;
	}
	.home-hero-book-column {
		order:1;
	}
	.home-hero-book-column figure {
		margin-top:0!important;
	}
	.home-hero-text-column {
		order:2;
	}
}

@media only screen and (max-width:781px) {

	.site-inner, 
	.site-header, 
	.site-footer, 
	.footer-widgets {
        padding-left:5%;
        padding-right:5%;
    }
/*
	.home-newsloop {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
*/
	/* move image to the left */
	.news-events-image .wp-block-post-featured-image {
		float:left;
	}
	.news-events-image {
		order:1
	}
	.news-events-content,
	.books-content {
		order:2;
	}
	.home-testimonial-slider p {
		font-size:20px;
		line-height:30px;
	}
}/* 781 */

@media only screen and (max-width:650px) {
	/* switch to mobile menu */
	.nav-primary  {
		display: none;
	}
	.site-header h1 {
		font-size:35px;
		line-height:40px;
		border-top:1px solid var(--dark_blue);
		border-bottom:1px solid var(--dark_blue);
		padding-top:10px;
		padding-bottom:10px;
	}
	.site-header .title-area {
		padding-top:75px;
	}
	.site-header .wrap {
		margin-top:15px;
	}
	/* search moves into mobile menu */
	.header-widget-area {
		display:none;
	}	
} /* 650 */

@media only screen and (max-width:500px) {
	.wpmslider-prev ,
		.wpmslider-next  {
		display:none !important;
	}
	.strong-view.wpmtst-default.controls-type-sides .wpmtst-testimonial-inner {
		padding-left:0 !important;
		padding-right:0 !important;
	}

} /* 500 */