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

/** Remove footer widget bullet points **/
#footer-widgets .footer-widget li:before {
	display: none; 
} 

html #footer-widgets .footer-widget .et_pb_widget:not(.woocommerce) ul li {
	line-height: 26px; 
	padding-left: 0px; 
}

/** Add underline to footer menu links on hover **/
html #footer-widgets .footer-widget .et_pb_widget:not(.woocommerce) ul li a:hover {
	text-decoration: underline;
	color: #00d3ea !important;
}

/* Search results formatting */
.search #main-content .container::before {
    display: none;
}
.search #left-area {
    width: 100%;
    float: none;
    padding-right: 0;
}
.search #sidebar {
    display: none;
}

.search_title {
	font-weight: 700;
	font-size: 50px;
	color: #464839;
}
@media (max-width: 980px) {
	.search_title {
		font-size: 40px;
	}
}
@media (max-width: 767px) {
	.search_title {
		font-size: 30px;
	}
}
.noResult {
	padding-bottom: 1em !important;
}
hr.results_title_line {
	width: 100%;
	float: left;
	border: 0;
	height: 5px;
	background-color: #464839;
	margin-bottom: 60px;
}
.searchContact {
    width: 8em;
}
.search .et_pb_post {
	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.1)!important;
	padding: 20px;
	background-color: #fff;
}

.search .et_pb_post {
    width: 47.5%;
    float: left;
    margin-right: 5%;
}

.search .et_pb_post img {
	padding-bottom: 20px;
}

.search .et_pb_post h2 {
	font-size: 30px;
	font-weight: 700;
	text-decoration: underline;	
	color: #9fc131 !important;
	font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
}

/*Remove margin from every second post*/

.search .et_pb_post:nth-child(2n) {
    margin-right: 0;
}
/* Format the read more link */
.readmore-link, .searchContact {
	display: block;
    width: 6em;
    text-align: center;
    margin-top: 30px;
    font-family: Poppins,Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    font-weight: 600;
	padding: 8px 20px;
	background: transparent;
	border: 2px solid;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	position: relative;
}

a.readmore-link, .searchContact {
	background-color: #00216c;
	border: 2px solid #00216c; /* change border color here */
	color: #ffffff!important; /* change font color here */
    -webkit-appearance: none;
    background-color: #9fc131;
    background-position: center center;
    background-repeat: no-repeat no-repeat;
    background-size: cover;
    border: 5px solid #fff;
    border-radius: 15px;
    box-sizing: border-box;
	box-shadow: 0px 10px 40px -12px rgba(0,0,0,0.3);
}

a.readmore-link:hover, .searchContact:hover {
    background-color: #00d3ea;
    border-color: #009ab3;
  }
.searchContact {
    width: 9em;
}

/*Set to a single column on smaller screens*/

@media all and (max-width: 767px) {
    .archive .et_pb_post,
    .search .et_pb_post {
        width: 100%;
        margin-right: 0;
    }
}


/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {background: none;}
 
/*** Hide Sidebar ***/
#sidebar {display:none;}
 
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}

#page-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: column;
  flex-flow: column;
  min-height: 100vh;
}
#et-main-area {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-flow: column;
  flex-flow: column;
}
#et-main-area, #main-content  {
  -webkit-box-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

/*styles the wp-pagenavi pagination links*/
.wp-pagenavi a, .wp-pagenavi span {
  padding: 0.3em 0.8em !important;
  font-size: 1.3em !important;
  color: #464839;
  line-height: 1.5em;
  background: #464839;
  transition: all .5s;
}

.wp-pagenavi a, .wp-pagenavi span.current {
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
    background-color: #9fc131;
    background-position: center center;
    background-repeat: no-repeat no-repeat;
    background-size: cover;
    border: 5px solid #fff !important;
    border-radius: 15px;
    box-shadow: rgba(0,0,0,.3) 0 10px 40px -12px;
    box-sizing: border-box;
    color: #fff;
    font-family: Poppins,Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    font-weight: 600;
    outline: 0;
    padding: 8px 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-size-adjust: 100%;
    transition-delay: 0s;
    transition-duration: .2s;
    transition-property: all;
    transition-timing-function: ease;
    vertical-align: baseline;
}
/*styles the wp-pagenavi current page number*/
.wp-pagenavi span.current {
  color: #ffffff !important;
  background: #464839 !important;
}
 
/*styles the wp-pagenavi pagination links on hover*/
.wp-pagenavi a:hover {
  color: #ffffff !important;
  background-color: #00d3ea;
  border-color: #009ab3 !important;
}
 
/*styles the wp-pagenavi pages text*/
.wp-pagenavi .pages {
  background: none;
}
.wp-pagenavi .nextpostslink, .wp-pagenavi .previouspostslink {
    color: #ffffff !important;
}
@media only screen and (max-width: 767px) {
	.wp-pagenavi a, .wp-pagenavi span {
	    font-size: 0.8em !important;
	}
	.search #main-content .container {
		padding-top: 160px !important;
	}	
}

/*--------------------------------------------------------*/
/*-[ GQ CSS FOR INJECTED SEARCH HEADER AND SEARCH QUERY ]-*/
/*--------------------------------------------------------*/
 
    /* search header */
        #search-header {
            display: none;}
        .search #search-header {
            display:block;}
			
			
			
.wshs-post-simple-list ul {
	list-style-type: none;
	padding: 30px 0 0 0;
}
.wshs-post-simple-list ul li {
	margin-bottom: 30px !important;
	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.1)!important;
	padding: 20px !important;
	background-color: #fff;
    width: 47.5%;
    float: left;
    margin-right: 5%;
	margin-bottom: 60px !important;
}
/*Remove margin from every second post*/

.wshs-post-simple-list ul li:nth-child(2n) {
    margin-right: 0;
}

/*Set to a single column on smaller screens*/
@media all and (max-width: 767px) {
    .wshs-post-simple-list ul li {
        width: 100%;
        margin-right: 0;
    }
}
.wshs-post-simple-list li img {
	width: 100%;
	padding-bottom: 50px;
	margin-right: 0px !important;
}
.wshs-post-simple-list li a {
	font-family: Poppins,Helvetica,Arial,Lucida,sans-serif;
	font-size: 30px;
	font-weight: 700;
	text-decoration: underline;
}
.wshs-post-simple-list li p {
	padding-top: 25px;
	line-height: 1.7em !important;
}
