/* 
 Theme Name:     Grace at Work
 Author:         Grace at Work
 Author URI:     https://graceatworkweb.com
 Template:       Divi
 Version:        1.0
 Description:    A child theme created for Grace at Work clients.
*/ 

/*----------Scroll bar ------------*/
::-webkit-scrollbar {
	width: 15px;
}
::-webkit-scrollbar-track {
	background-color: #E6E6E6;
	border-radius: 2px;
}
::-webkit-scrollbar-thumb {
	background-color: #1283a3;
	border-radius: 2px;
}

/* ---------  GRAVITY FORMS  --------- */

.gform_wrapper .gform_footer input.button {
 float: left;
    font-size: 19px;
    background-color: #1283a3;
    border-width: 0px!important;
    border-radius: 7px;
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
 cursor: pointer;
	padding: 3%;
	color: #fff!important;
}

.gform_wrapper .gform_footer input.button {
    padding: 10px 20px 10px 20px;
}

/*** BUTTON HOVER STYLING ***/
.gform_wrapper .gform_footer input.button:hover, .mailster-form .submit-button:hover {
 background: #ffffff;
 color: #1283a3!important;
 border: 2px solid #1283a3;
 box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .2);
}


/*** FIELD STYLING ***/
input[type=text],
textarea {
 background: #fafafa;
 border: none;
 border-radius: 0;
 color: #48484a !important;
 padding: 15px !important;
}


#gform_submit_button_9 {
	width: 95%!important;
}
#input_9_1 {
	text-align: center!important;
}

/*** PLACEHOLDER ***/
::-webkit-input-placeholder {
    /* Chrome */
    color: #48484a !important;
}
:-ms-input-placeholder {
    /* IE 10+ */
    color: #48484a !important;
}
::-moz-placeholder {
    /* Firefox 19+ */
    color: #48484a !important;
}
:-moz-placeholder {
    /* Firefox 4 - 18 */
    color: #48484a !important;
}

/*** FIELD FOCUS STYLING ***/
input[type=text]:focus,
input.text:focus,
input.title:focus,
textarea:focus {
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .2);
}
/*** MESSAGE BOX TRANSITION ***/
.gform_wrapper textarea.medium {
    margin-top: 6px;
    height: 10em;
    transition: height .3s ease-out;
}
/*** MESSAGE BOX FOCUS HEIGHT ***/
.gform_wrapper textarea.medium:focus {
    height: 18em;
}

@media only screen and (max-width: 641px) {
.gform_wrapper .ginput_container span:not(.ginput_price) {
    margin-bottom: 16px !important; }
}

@media only screen and (min-width: 641px) {
.gform_wrapper form {
    padding-left: 16px; }
}

/*** SUCCESS MESSAGE ***/
.gform_confirmation_wrapper {
 background: #fff;
 padding: 15px;
}

/*** FIX FIRST FIELD SPACE ISSUES ***/
#gform_wrapper_1 li.hidden_label input, #gform_wrapper_1 div.ginput_container_phone, #gform_wrapper_1 div.ginput_container_email {margin-top:0;}
#gform_wrapper_1 span.name_first input, #gform_wrapper_1 span.name_last input {margin-bottom:0;}

@media only screen and (min-width: 641px){
.gform_wrapper form {
    padding-left: 0px;
	}}

.gform_wrapper .top_label li.gfield.gf_left_half .ginput_container:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm):not(.ginput_container_date):not(.ginput_quantity):not(.datepicker), .gform_wrapper .top_label li.gfield.gf_right_half .ginput_container:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm):not(.ginput_container_date):not(.ginput_quantity):not(.datepicker) {
	margin:0;
}

/*** MISC CODE FROM LAUNCHBAY ***/
#et-main-area > div.et_pb_section.et_pb_section_1.et_section_regular {
	display:none!Important;
}

#main-footer {
	display: none!important;
}

/*Switch column order on mobile*/
@media only screen and ( max-width: 980px ) {
.flip {
display: -webkit-flex;
-webkit-flex-direction: column-reverse;
display: flex;
flex-direction: column-reverse !important;}
}

/*password protected page*/
.et_password_protected_form {
    min-height: initial;
    padding: 100px;
    max-width: 700px;
    margin: auto;
}
 
@media (max-width: 479px) {
.et_password_protected_form {
    padding: 40px;
}
}

.et-dropcap {
    display: block;
    float: left;
    margin: 0 7px 0 0;
    line-height: 1;
    font-size: 3.2em;
    color: #701500;
    font-weight: 700;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: normal;
}

/***THE EVENTS CALENDAR***/

#post.events-community-submit {
    padding:12px 19px!important;
	font-size: 19px!important;
    background-color: #1283a3 !important;
    border-width: 0px!important;
    border-radius: 7px;
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
	margin: 0px!important;
	min-width:0px!important;
	font-family: "Alegreya Sans"!important;
	width:inherit!important;
}

#post.events-community-submit:hover {
	background:#429cb6!important;
}

.tribe-community-events {
	background: #f5f5f5!important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
	padding-bottom: 0px!important;
	padding-top: 0px!important;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-b1 {
	display: none!important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-breadcrumbs {
	display: none!important;
}

/*** Series Engine ***/

/* Series Layout */
@media (min-width: 700px){
#seriesengine .enmse-related-area.card-view {
	padding: 0px 0 0 0 !important;}
}

.enmse-message-card {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	border-radius: 4px;
}

@media (min-width: 700px){
#seriesengine .enmse-message-card {
    display: flex;
    flex: 1;
    flex-basis: auto;
    justify-content: center;
    flex-direction: column;
    width: 42%;
    margin-bottom: 20px!important;
    margin: 0 15px 20px 15px;
    box-sizing: border-box!important;
    background-color: #f4f4f4;
    max-width: 470px;}

#seriesengine .enmse-message-card.enmse-middlecard {
    margin: 0 15px 20px 15px;}
}

@media (max-width: 699px){
#seriesengine .enmse-message-card {
    display: table;
    width: 100%;
    padding: 0;
    margin-bottom: 20px !important;
    margin: 20px 15px 20px 15px;
    margin: auto;
	margin-top: 20px !important;
    box-sizing: border-box!important;
    background-color: #f4f4f4;}

#seriesengine .enmse-message-card.enmse-oddcard,#seriesengine .enmse-message-card.enmse-evencard,#seriesengine .enmse-message-card.enmse-middlecard {
    margin: 20px 0 20px 0 !important;}
}

#seriesengine .enmse-message-card img {
    padding: 12px !important;
    margin: 0 !important;
    width: -webkit-fill-available !IMPORTANT;
    height: auto !important;
    border: 0 !important;
    box-shadow: none !important;
}

#seriesengine h3.enmse-more-title {
    display: none !important;
}

#seriesengine .enmse-message-card:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

#seriesengine .enmse-media-container.modern {
    padding: 10px;
    border-radius: 4px;
}

/* Filter Dropdowns */
@media (max-width: 700px){
#seriesengine .enmse-selector.four select, #seriesengine .enmse-selector.three select, #seriesengine .enmse-selector.two select {
	margin: 10px 0 10px 0 !important;}
}

@media (min-width: 700px){
#seriesengine .enmse-selector.three select {
    border: 1px solid #222 !important;
    background-color: #ffffff !important;
    color: #222 !important;
    font-size: 17px !important;
    vertical-align: middle;
    height: 40px !important;
    display: inline;
    background-image: none !important;
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
	margin: 0px 10px !important;}
}

@media (max-width: 699px){
#seriesengine .enmse-selector.three select {
    border: 1px solid #222 !important;
    background-color: #ffffff !important;
    color: #222 !important;
    font-size: 17px !important;
    vertical-align: middle;
    height: 40px !important;
    display: inline;
    background-image: none !important;
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
	margin: 10px 0px !important;}
}

#seriesengine .enmse-selector {
    background-color: transparent !important;
}

#seriesengine select {
	text-align:center !important;
}

/* Listen / Watch Buttons */
@media (min-width: 700px){
#seriesengine .enmse-message-card .enmse-card-links a {
    height: auto;
    line-height: 22px;
    font-size: 13px !important;
    text-transform: uppercase;
    color: #FFF;
    cursor: pointer;
    width: 45%;
    display: inline-block;
    text-align: center;
    font-weight: 600;
    letter-spacing: 3px;
    background: #1283a3 !important;
    transition: all 0.2s ease 0s;
    border-radius: 2px;
    padding: 15px 5px;
	margin: 5px 4px;}
}

@media (max-width: 699px){
#seriesengine .enmse-message-card .enmse-card-links a {
    height: auto;
    line-height: 40px !important;
    font-size: 13px !important;
    text-transform: uppercase;
    color: #FFF;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-weight: 600;
    letter-spacing: 3px;
    background: #1283a3 !important;
    transition: all 0.2s ease 0s;
    border-radius: 2px;
	width:80%;
	margin: 15px 0px;}
}

#seriesengine .enmse-message-card .enmse-card-links a:hover {
    opacity: 0.9;
}

#seriesengine .enmse-message-card p.enmse-card-links {
    margin: 0px 0 5px 0;
}

/* Navigation */
#seriesengine a.next.page-numbers, #seriesengine a.previous.page-numbers {
    background-color: #1283a3 !important;
}

#seriesengine a.page-numbers {
    color: #222;
}

#seriesengine .page-numbers.current {
    background-color: #928983;
    color: #FFF;
}

@media (max-width: 700px){
#seriesengine a.next.page-numbers, #seriesengine a.previous.page-numbers {
    display: inline-block;
    width: auto;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    border-radius: 3px;
    padding: 3px 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px !important;
	font-weight: bold !important;}
}

/* Date */
#seriesengine .enmse-message-card h6 {
    text-align: center !important;
    font-size: 15px !important;
    padding: 0 10px 10px 10px;
    color: #1283a3 !important;
    font-family: 'Alegreya Sans',Helvetica,Arial,Lucida,sans-serif !important;
}

/* Title */
#seriesengine .enmse-message-card h5 {
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    padding: 0 20px 0px 20px;
    color: #222;
    font-family: 'Josefin Sans',Helvetica,Arial,Lucida,sans-serif!important;
    letter-spacing: 1px;
    line-height: 1.3;
    width: 80%;
    display: table;
    margin: auto;
}

@media (max-width: 699px){
#seriesengine h2.enmse-modern-message-title {
    color: #222;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 5px 0;
    text-align: center;
	font-family: 'Josefin Sans',Helvetica,Arial,Lucida,sans-serif!important;}


#seriesengine h3.enmse-modern-message-meta {
    color: #1283a3;
    font-size: 16px !important;
    font-style: normal;}
}

@media (min-width: 700px){
#seriesengine h2.enmse-modern-message-title {
    color: #701500;
    font-size: 28px !important;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 5px 0;
    text-align: center;
	font-family: 'Playfair Display SC',Georgia,"Times New Roman",serif!important;}

#seriesengine h3.enmse-modern-message-meta {
    color: #1283a3;
    font-size: 18px !important;
    font-style: normal;}
}

#seriesengine .enmse-player .enmse-modern-player-details h3 {
	display: none!important;
}

/* Scripture */
#seriesengine .enmse-message-card p.enmse-scripture-info {
    display:none !important;
    text-align: center;
    font-size: 15px !important;
    padding: 8px 15px 0 15px !important;
    color: #1283a3;
    font-family: 'Alegreya Sans',Helvetica,Arial,Lucida,sans-serif!important;
    letter-spacing: 1px;
}

#seriesengine .enmse-player .enmse-modern-player-details p.enmse-modern-scripture {
    text-align: center;
    font-size: 15px !important;
    padding: 8px 15px 0 15px !important;
    color: #1283a3!important;
    font-family: 'Alegreya Sans',Helvetica,Arial,Lucida,sans-serif!important;
    letter-spacing: 1px;
}

#seriesengine .enmse-message-card p.enmse-hero-extra a:link, #seriesengine .enmse-message-card p.enmse-hero-extra a:visited, #seriesengine .enmse-message-card p.enmse-hero-extra a:hover, #seriesengine .enmse-message-card p.enmse-hero-extra a:active {
	color: #1283a3!important;
    font-family: 'Alegreya Sans',Helvetica,Arial,Lucida,sans-serif!important;

}

/* Name */
#seriesengine .enmse-message-card p.enmse-speaker-name {
    display:none !important;
	text-align: center !important;
    font-size: 16px !important;
    padding: 0 10px 4px 10px;
    font-style: normal;
    color: #222;
    font-family: 'Alegreya Sans',Helvetica,Arial,Lucida,sans-serif!important;
    letter-spacing: 1px;
}

/* Downloads */
#seriesengine .enmse-player .enmse-modern-player-details p.enmse-downloads {
    background-color: transparent;
}

@media (min-width: 700px){
#seriesengine .enmse-player .enmse-modern-player-details p.enmse-downloads a {
    height: auto;
    line-height: 16px;
    text-transform: uppercase;
    color: #FFF;
    cursor: pointer;
    width: 20%;
    display: inline-block;
    text-align: center;
    font-weight: 600;
    letter-spacing: 3px;
    background: #1283a3 !important;
    transition: all 0.2s ease 0s;
    border-radius: 2px;
    padding: 15px 5px;
	margin: 5px 4px;}
}

#seriesengine .enmse-player .enmse-modern-player-details p.enmse-downloads a.enmse-pdf:before {
    opacity: 1;
}

#seriesengine .enmse-player .enmse-modern-player-details p.enmse-downloads a:hover {
    opacity: 0.9;
}

p.enmse-related-topics {
    display: none;
}

#seriesengine .enmse-player .enmse-player-details p.enmse-related-topics a, #seriesengine .enmse-player .enmse-modern-player-details p.enmse-related-topics a, #seriesengine .enmse-player .enmse-modern-player-details p.enmse-modern-scripture a {
    color: #928983;
    text-decoration: none;
}

/* Player */
#seriesengine .enmse-player {
    background-color: transparent;
    padding: 0 0 8px 0;
    margin: 0 0 15px 0;
    line-height: 0 !important;
    clear: both;
}

@media (min-width: 700px){
#seriesengine .enmse-media-container {
    background-color: #f4f4f4;
    width: 80%;
    display: table;
    padding: 4px;
    line-height: 0 !important;
    margin: auto;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);}
}

@media (max-width: 699px){
#seriesengine .enmse-media-container {
    background-color: #f4f4f4;
    width: 100%;
    display: table;
    padding: 4px;
    line-height: 0 !important;
    margin: auto;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);}
}

/* Social Icons */
#seriesengine .enmse-share-details.modern ul li a {
    background-color: #1283a3 !important;
    border-radius: 3px;
    font-size: 27px;
}

#seriesengine .enmse-share-details.modern ul li a:hover {
    opacity:0.9;
}

#seriesengine .enmse-share-details.modern ul li.enmse-facebook a:before,#seriesengine .enmse-share-details.modern ul li.enmse-twitter a:before, #seriesengine .enmse-share-details.modern ul li.enmse-email a:before, #seriesengine .enmse-share-details.modern ul li.enmse-share-link a:before {
    opacity: 1;
    color: #FFF;
}

/* Correct Hidden Tabs */
ul.enmse-modern-player-tabs.hidden.hidden {
    display: none;
}

/*** End Series Engine ***/