/* 
 Theme Name:     covenant-mercies
 Author:         Grace at Work
 Author URI:     https://www.graceat.work
 Template:       Divi
 Version:        1.0
 Description:    A child theme created for use for Grace at Work clients.
*/ 

#logo {
-webkit-transform: none;
}

@font-face {
	font-family: 'Futura';
	src: url('https://covenantmercies.org/wp-content/themes/covenant-mercies/font/Futura-Medium.eot');
	src: url('https://covenantmercies.org/wp-content/themes/covenant-mercies/font/Futura-Medium.eot?#iefix') format('embedded-opentype'),
		url('https://covenantmercies.org/wp-content/themes/covenant-mercies/font/Futura-Medium.woff') format('woff'),
		url('https://covenantmercies.org/wp-content/themes/covenant-mercies/font/Futura-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

body {
	font-family: 'Georgia';
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Futura';
}

ol li {
    list-style-position: inside;
    text-indent: -1em;
    padding-left: 1em;
}

#top-menu li li a {
	width:225px;
	line-height: 20px;
}

.et_pb_button {
	font-family: 'Futura' !important;
}

#main-header, #et-top-navigation {
	font-family: 'Futura' !important;

}

/* style the get started cta button */
            .get-started {border-radius: 0px;}
            .get-started a {color: #fff!important;}
            li.get-started {
                background-color:#e1a014; 
                font-weight: 700; 
                text-transform: uppercase; 
                text-align: center; 
                padding: 10px 13px 10px 10px!important;
            border-radius: 0px;
                -moz-transition: all 0.5s; 
                -webkit-transition: all 0.5s;
                transition: all 0.5s;}
            li.get-started:hover {background-color:#000000;}
 
/* fixed header button text color */
                 .et-fixed-header #top-menu .get-started a {
                        color: #fff!important;}
        .get-started li.current-menu-ancestor > a, .get-started li.current-menu-item > a {
                    color: #fff !important;}
 

    @media only screen and (min-width : 981px) {
            li.get-started {height: 33px;}}

ul.et_pb_social_media_follow { 
	width:100%; 
	text-align:center; 
	margin: 0 0 0 0 ; 

}

.et_pb_social_media_follow li { 
	float:none; 
	display:inline-block; 
}

/*----------GRAVITY FORMS----------*/
.gform_required_legend {
    display: none;
}

.gform_footer input[type=submit] {
	padding: 0.3em 1em;
	font-size: 20px;
	font-weight: bold !important;;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	color: #e1a014 !important;
	position: relative;
	display: inline-block;
	background-color: transparent;
    border: 4px solid #e1a014 !important;
    font-family: 'Futura', sans-serif !important;

}

.gform_footer input[type=submit]:hover {
	background-color: #e1a014 !important;
	color: #fff !important;
    border: 4px solid #e1a014 !important;

}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {

	width: 100%;
    padding: 16px !important;
    border: 1px solid;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #999;
    background-color: #eee;
    font-size: 14px !important;
}

.gform_wrapper textarea.medium {
	width: 100%;
    padding: 16px !important;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #999;
    background-color: #eee;
    font-size: 14px !important;
}

#field_2_3 {
	margin-top: 0px;
}

.gform_wrapper {
	margin: 0 !important;
}

.ginput_container .ginput_container_text {
	margin-top: 0px !important;
}

.gform_wrapper ul li.gfield {
	margin-top: 0px !important;
}

.gform_wrapper ul.gform_fields li.gfield {
	padding-top:20px;
}


/*Blog Post Styling*/

.post-header .et_pb_fullwidth_header_overlay {
    background-color: rgba(0,0,0,0.5);
}

.post-header {
    background: #333333;
}

.post-header .et_parallax_bg {
    filter: blur(0px);
}

.post-header {
    padding: 15% 0 7.5%;
}

.post-header h1 {
    margin-bottom: 20px;
}

.category-separator,
.meta-separator{
    padding: 0 10px;
}

.meta-separator {
    opacity:0.5;
}

.author-bio {
    background-color: #f7f7f7 !important;
}

.social-sharing h6 {
    color: #dddddd;
    text-transform: uppercase;
}

.social-sharing a {
    display:inline-block; 
    padding: 0 20px;
    color: #dddddd;
    font-size: 1.5rem;
}

@media screen and (min-width: 782px) {

    .post-header h1 {
        font-size: 3rem;
    }
}

#et-main-area { overflow: hidden;} /* Hides all the items that float over the right margin */
 
.triangle:after,.triangle:before {
    content:'';
    position:absolute;
    bottom:0;
    width:50%;
    z-index:100;
    -moz-transform:rotate(0.000001deg);
    -webkit-transform:rotate(0.000001deg);
    -o-transform:rotate(0.000001deg);
    -ms-transform:rotate(0.000001deg);
    transform:rotate(.000001deg);}
 
.triangle:before{
    right:50%;
    border-right:1000px solid transparent;
    border-left:1000px solid;}
 
.triangle:after{
    left:50%;
    border-left:1000px solid transparent;
    border-right:1000px solid;}
	
.triangle-white:after,.triangle-white:before {
	border-bottom:50px solid #ffffff;
}

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

/* FOOTER LAYOUT */

#main-footer .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
}

#main-footer #footer-widgets {
    padding: 0 !important;
}

#footer-widgets li:before {
    display:none;
}

.footer-widget {
    margin-bottom:0 !important;
	color: #2f2f2f;
}

.footer-widget > .fwidget {
    width: 100%;
}

#footer-bottom {
    display:none;
}

#footer-widgets .et_pb_widget a  {
	color: #ffffff !important;
}

/* DONOR LOGIN PAGE */

input[type=text], input[type=password], input[type=tel], input[type=email], input.text, input.title, textarea, select {
    font-size: 16px;
    line-height: normal;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 12px	
}

#give_login_submit, #give_profile_editor_submit {
    background: #EDEDED;
    border: 1px solid #ccc;
    color: #333;
    padding: 8px 10px;
    cursor: pointer;
    line-height: 1.2em;
    font-size: 1em;
}

#give_login_submit:hover, #give_profile_editor_submit:hover {
	background: #dbdbdb;
}

/*******************Advent Calendar 2017 - 7 & 13********************/
/*******Custom Single Post Layout & Styling for Archive Pages********/
/***************************By Divi Soup*****************************/


/***Post Content***/


/*Add margin below the featured image on single posts*/

.single .et_pb_post .et_post_meta_wrapper img {
    margin-bottom: 20px;
}


/*Reduce the post meta font size on archive pages*/

.archive .post-meta,
.search .post-meta {
    font-size: 12px !important;
    padding-bottom: 5px !important;
}


/*Add margin to the post meta elements and prevent breaking*/

.single .author,
.archive .author,
.search .author,
.single .published,
.archive .published,
.search .published,
.single .post-meta a[rel~="category"],
.archive .post-meta a[rel~="category"],
.search .post-meta a[rel~="category"],
.single .comments-number,
.archive .comments-number,
.search .comments-number {
    display: inline-block;
    margin: 0 15px 0 20px;
}


/*Style the post meta icons*/

.single .author a:before,
.archive .author a:before,
.search .author a:before,
.single .published:before,
.archive .published:before,
.search .published:before,
.single .post-meta a[rel~="category"]:before,
.archive .post-meta a[rel~="category"]:before,
.search .post-meta a[rel~="category"]:before,
.single .comments-number a:before,
.archive .comments-number a:before,
.search .comments-number a:before {
    font-family: 'ETModules';
    color: #e1a015;
    margin-right: 5px;
    margin-left: -20px;
}


/*Add the post meta icons*/

.single .author a:before,
.archive .author a:before,
.search .author a:before {
    content: '\e08a';
}

.single .published:before,
.archive .published:before,
.search .published:before {
    content: '\e023';
}

.single .post-meta a[rel~="category"]:before,
.archive .post-meta a[rel~="category"]:before,
.search .post-meta a[rel~="category"]:before {
    content: '\e07c';
}

.single .comments-number a:before,
.archive .comments-number a:before,
.search .comments-number a:before {
    content: '\77';
}


/*Make the first letter a drop cap*/

.single .et_pb_post .entry-content:first-letter {
    color: #e1a015;
    float: left;
    font-size: 3.75em;
    margin: .2em .05em 0 -.06em;
}


/***Sidebar***/


/*Remove the dividing line*/

@media all and (min-width: 981px) {
    .single #main-content .container:before,
    .archive #main-content .container:before,
    .search #main-content .container:before {
        display: none;
    }
}


/*Style the sidebar links*/

#sidebar .et_pb_widget a {
    color: #333;
    font-weight: 300;
    border-left: 5px solid #f5f5f5;
    padding-left: 10px;
    display: block;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}


/*Style the sidebar links on hover*/

#sidebar .et_pb_widget a:hover {
    border-color: #e1a015;
    background: #f5f5f5;
    margin-left: 10px;
}


/*Style the search box*/

#sidebar .widget_search input#s,
#sidebar .widget_search input#searchsubmit {
    border-radius: 0;
}

#sidebar .widget_search input#s {
    border: 5px solid #f5f5f5;
}


/*Hide the search button*/

#sidebar .widget_search input#searchsubmit {
    background: transparent;
    color: transparent;
    border: none;
    z-index: 1;
}


/*Add the magnifying glass icon*/

#sidebar .widget_search #searchform:after {
    content: '\55';
    font-family: 'ETModules';
    position: absolute;
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #e1a015;
    right: 10px;
    top: 10px;
}


/***Author Box***/


/*Set the border and spacing*/

.single .ds-author-bio-section {
    border: 5px solid #f5f5f5;
    padding: 15px;
    margin-top: 20px;
}


/*Style the author name*/

.single .ds-author-name {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
}


/*Add padding for the author description*/

.single p.ds-author-details {
    padding-bottom: 1.2em;
}


/*Position the author avatar*/

.single .ds-author-details img {
    float: left;
    margin: 7px 10px 10px 0;
}


/*Style the links*/

.single .ds-author-links a {
    color: #e1a015;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
}


/***Single Post navigation***/


/*Next/previous post nav*/


/*Navigation sizing*/

.single #ds-single-post-nav {
    margin: 40px 0;
    display: inline-block;
    width: 100%;
}


/*Post title styling*/

.single #ds-single-post-nav h2 {
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.2em;
}


/*Align the prev post nav*/

.single span.ds-single-nav-previous {
    width: 47.5%;
    margin-right: 5%;
    float: left;
}


/*Align the next post nav*/

.single span.ds-single-nav-next {
    display: block;
    text-align: right;
}


/*Prev/next post nav button styling*/

.single span.ds-single-nav-previous a[rel~="prev"],
.single span.ds-single-nav-next a[rel~="next"] {
    color: #fff;
    background: #e1a015;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    padding: .7em 1em !important;
    border: 2px solid #e1a015;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}


/*Prev/next post nav button hover styling*/

.single span.ds-single-nav-previous a[rel~="prev"]:hover,
.single span.ds-single-nav-next a[rel~="next"]:hover {
    color: #e1a015;
    background: #fff;
}


/*Prev/next arrows size*/

.single .ds-meta-nav {
    font-size: 18px;
}


/*Reduce post nav button size on mobile*/

@media all and (max-width: 479px) {
    .single span.ds-single-nav-previous a[rel~="prev"],
    .single span.ds-single-nav-next a[rel~="next"] {
        font-size: 10px;
        padding: .7em .75em !important;
    }
}


/***Related posts***/


/*Hide the default title and meta*/

.single .ds-related-posts .post-meta,
.single .ds-related-posts .entry-title {
    display: none;
}


/*Set the display and margin*/

.single .ds-related-posts {
    display: inline-block;
    margin-top: 30px;
}


/*Remove padding*/

.single #left-area .ds-related-posts ul {
    padding-left: 0;
}


/*Style the post title*/

.single .ds-related-content h4 {
    line-height: 1.2em;
    text-transform: uppercase;
    font-size: 18px;
}


/*Set post width and margin*/

.single .ds-related-list {
    list-style-type: none;
    width: 30%;
    float: left;
    margin-right: 5%;
}


/*Remove margin from last post*/

.single .ds-related-list:last-child {
    margin-right: 0;
}

@media all and (max-width: 600px) {
    .single .ds-related-list {
        width: 100%;
    }
    .single .ds-related-content h4 {
        margin-bottom: 20px;
    }
}


/***Comments***/


/*Add the comment border*/

.single .comment-body {
    border: 5px solid #f5f5f5;
}


/*Position the text*/

.single .comment-body {
    position: relative;
    padding: 20px;
    margin-bottom: 30px;
}


/*Position the avatar container*/

.single .comment_avatar {
    position: relative;
    top: 0;
}


/*Position the avatar image*/

.single .comment_avatar img {
    display: inline-block;
    float: left;
    margin-right: 20px;
    height: auto;
}


/*Adjust the indent for replies*/

.single .comment .children {
    margin-left: 30px;
}


/*Style the comment form input text*/

.single #commentform textarea,
.single #commentform input:not(.et_pb_button) {
    font-family: "Open Sans", Arial, sans-serif;
    background-color: transparent;
    font-size: 14px;
    margin-bottom: 20px;
    color: #333;
    border: 5px solid #f5f5f5;
}


/*Style the reply and submit buttons*/

.single a.comment-reply-link.et_pb_button,
.single .form-submit .et_pb_button {
    border-radius: 0;
    color: #fff;
    background: #e1a015;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid #e1a015;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}


/*Styling for the reply link button only*/

.single a.comment-reply-link.et_pb_button {
    font-size: 14px;
    margin-right: 20px;
    top: 20px;
    padding: .1em .5em;
}


/*Move the submit button to the left*/

.single #commentform .form-submit {
    float: left;
}


/*Style the reply and submit buttons on hover*/

.single a.comment-reply-link.et_pb_button:hover,
.single .form-submit .et_pb_button:hover {
    background: transparent;
    color: #e1a015;
    font-weight: bold;
}


/*Hide the reply link button arrow*/

.single a.comment-reply-link.et_pb_button:hover:after {
    display: none;
}


/*Style the edit comment link*/

.single .comment-edit-link {
    color: #e1a015;
}


/*Comment Form*/


/*Style the logged in as link*/

.single p.logged-in-as a {
    color: #e1a015;
    text-transform: uppercase;
    font-size: 12px;
}


/*Remove excess padding from the form fields*/

.single p.comment-form-author,
.single p.comment-form-comment,
.single p.comment-form-email,
.single p.comment-form-url {
    padding-bottom: 0;
}


/*Align the form fields on larger screens*/

@media all and (min-width: 768px) {
    .single #commentform input#author {
        width: 48.5%;
        float: left;
    }
    .single #commentform input#email {
        width: 48.5%;
        float: right;
    }
    .single #commentform input#url {
        width: 100%;
    }
}


/*Purple bars*/


/*Style the titles*/

.single h4.ds-related-posts-header,
.single #respond h3,
.single h1#comments,
#sidebar h4.widgettitle {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    z-index: 1;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}


/*Add the left and right bars*/

.single h4.ds-related-posts-header:before,
.single h4.ds-related-posts-header:after,
.single #respond h3 span:before,
.single #respond h3 span:after,
.single h1#comments:before,
.single h1#comments:after,
#sidebar h4.widgettitle:before,
#sidebar h4.widgettitle:after {
    position: absolute;
    top: 30%;
    overflow: hidden;
    width: 50%;
    height: 5px;
    content: '\a0';
    background-color: #e1a015;
}

.single h4.ds-related-posts-header:before,
.single #respond h3 span:before,
.single h1#comments:before,
#sidebar h4.widgettitle:before {
    margin-left: -52%;
}

.single h4.ds-related-posts-header:after,
.single #respond h3 span:after,
.single h1#comments:after,
#sidebar h4.widgettitle:after {
    margin-left: 2%;
}


/***Archive pages***/


/***Two columns for posts***/


/*Set the post width and margin for two columns and add the border*/

.archive .et_pb_post,
.search .et_pb_post {
    width: 47.5%;
    float: left;
    margin-right: 5%;
    border: 5px solid #f5f5f5;
}


/*Remove margin from every second post*/

.archive .et_pb_post:nth-child(2n),
.search .et_pb_post:nth-child(2n) {
    margin-right: 0;
}


/*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;
    }
}


/*Add padding to the posts*/

.archive .et_pb_post,
.search .et_pb_post {
    padding-left: 15px;
    padding-right: 15px;
}


/*Remove padding on featured image with negative margin*/

.archive .et_pb_post .ds-archive-featured,
.search .et_pb_post .ds-archive-featured {
    margin: 0 -15px 15px -15px;
}


/*Style the read more link and post nav*/

.archive a.more-link,
.search a.more-link {
    display: block;
/*    width: 7.2em;*/
}

.archive a.more-link,
.search a.more-link,
.archive .pagination a,
.search .pagination a {
    color: #fff;
    background: #e1a015;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 15px;
    padding:0.3em 1em !important;
    border: 2px solid #e1a015;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.archive a.more-link:hover,
.search a.more-link:hover,
.archive .pagination a:hover,
.search .pagination a:hover {
    color: #e1a015;
    background: #fff;
}


/*Add bottom margin to the pagination*/

.archive .pagination,
.search .pagination {
    margin-bottom: 40px;
}


/*Add padding to the post title on mobile*/

@media all and (max-width: 479px) {
    .archive .et_pb_post .entry-title,
    .search .et_pb_post .entry-title {
        padding-bottom: 10px;
    }
}


.archive .container {
	position: relative;
    width: 80%;

    margin: auto;
}

.archive #content-area {
	padding-top: 50px;
}

.give-donation-total-label {line-height: 11px !important;}