/*
Theme Name: Churchly for Divi
Description: Churchly, powered by Divi and Church Theme Content.
Author:  Churchly
Author URI:  http://getchurchly.com
Template: Divi
Version:  1.2.0
*/

@import url("../Divi/style.css");

.et_pb_testimonial {
    background:#fafafa !important;
    margin-bottom:0 !important;
}

.et_pb_column_4_4 {
    width:100%;
}

img.aligncenter {
    width:100%;
}

/* SERMONS */

.sermon-description-meta-item {
    padding:0 10px;
}

#sermon-navigation {
    background-color: #eee;
    padding:0px;
}

#sermon-navigation select {
    font-size:1.3em;
    border:none;
    background:none;
    width:100%;
}

/* SERMON PLAYER */


.churchly-sermon-media .et_pb_all_tabs {
    padding:0;
    background:none;
	border-top:none;
}

.churchly-featured-sermon {
    border:none;
}

.churchly-sermon-media-controls {
    background:none !important;
    border:none !important;
}

@media (min-width: 981px) {
    .churchly-sermon-media-controls {
        float:right;
    }
}


.churchly-sermon-media-controls li {
    border:none;
    margin: 0 5px 10px;
    text-align:center;
    padding: 0 !important;
    text-transform: uppercase;
    background:none !important;
}

.churchly-sermon-media-controls li a {
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    display:block;
}

.churchly-sermon-media-controls .et_pb_tab_active {
    bottom:0 !important;
}

.et_pb_bg_layout_light .churchly-sermon-media-controls li a {
    background-color: rgba(255,255,255,0.65);
    color: #777 !important;
    padding:10px 20px;
}

.churchly-sermon-media-controls li:not(.et_pb_tab_active) a {
  opacity:0.8;
}

.et_pb_bg_layout_light .churchly-sermon-media-controls li.et_pb_tab_active a,
.et_pb_bg_layout_light .churchly-sermon-media-controls li a:hover,
.et_pb_bg_layout_light .churchly-sermon-media-controls li.et_pb_tab_active a:hover {
    color: #000 !important;
}

.et_pb_bg_layout_dark .churchly-sermon-media-controls li a {
    background-color: rgba(0,0,0,0.75);
    color: #ddd !important;
    padding:10px 20px;
}

.et_pb_bg_layout_dark .churchly-sermon-media-controls li.et_pb_tab_active a,
.et_pb_bg_layout_dark .churchly-sermon-media-controls li a:hover,
.et_pb_bg_layout_dark .churchly-sermon-media-controls li.et_pb_tab_active a:hover {
    color: #fff !important;
}

.churchly-sermon-download-link {
    display:block;
    width:100%;
    padding: 19px 25%;
    max-height:130px;
    color: #ddd !important;
    background: #333;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.churchly-sermon-download-link:hover {
    color: #fff !important;
}

.churchly-sermon-download-icon {
    display:block;
    text-align:center;
    font-size: 72px;
}

.churchly-sermon-download-text {
    display:block;
    text-align:center;
    text-transform: uppercase;
    font-weight:bold;
}

/* SERMON ARCHIVE */

.sermon-placeholder {
    display:block;
    background: #eee;
    text-align:center;
    padding: 50px;
    font-size: 72px;
    color: #ccc;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.sermon-placeholder:hover {
    color: #bbb;

}

.all-sermons {
    color:#fff !important;
}

/* SERMON WIDGET */

.widget_widget_churchlysermon .et_pb_section {
    padding:0;
    background:none !important;
    border:none;
}

.widget_widget_churchlysermon .churchly-sermon-media {
    margin:0 0 0 0 !important;
    margin-right: 0 !important;
    padding:0;
    width:100%;
}

.widget_widget_churchlysermon .churchly-sermon-controls {
    padding: 20px;
    margin:0;
    width:100%;
    background: #f7f7f7;
    border: 1px solid #eee;
}

.widget_widget_churchlysermon .et_pb_audio_cover_art {
    height: 300px;
}

.churchly-featured-sermon-widget {
    background: none !important;
    border:none;
    padding-top:0 !important;
}

.churchly-featured-sermon-widget .churchly-sermon-media,
.churchly-featured-sermon-widget .churchly-sermon-controls {
    margin:0;
    width:100%;
}

.churchly-featured-sermon-widget .churchly-sermon-media-controls {
    padding-bottom:20px !important;
}

.churchly-featured-sermon-widget .sermon-meta {
    list-style-type:none;
    padding-left: 0;
}

.sermon-meta li {
    display:inline-block;
    margin-right: 15px;
}

.sermon-description-meta-item i {
    padding: 0 3px;
}

@media (min-width: 981px) {
    .sermon-layout-wide .churchly-sermon-media-controls {
        float: left;
    }
    .sermon-layout-wide .churchly-sermon-media-controls li:first-of-type {
        margin-left:0;
    }
}

@media (max-width: 766px) {
    .churchly-sermon-media-controls li {
        margin:0 0 10px;
    }
    .churchly-featured-sermon-widget .et_pb_button_alignment_left {
        text-align:center;
    }
}


/* CUSTOM POST TYPE NAVIGATION */

.churchly-post-nav {
    text-align:right;
	padding-bottom:0 !important;


}

.churchly-post-nav-elements > li {
    display:inline-block;
    padding: 5px 5px;
}

.churchly-post-nav li i {
    padding:0 5px;
}

.churchly-post-nav .churchly-dropdown {
    position: relative;
    display: inline-block;
}

.churchly-post-nav.et_pb_bg_layout_dark .churchly-dropdown li a {
  color: #fff !important;
}

.churchly-post-nav.et_pb_bg_layout_light .churchly-dropdown li a {
  color: #000 !important;
}

.churchly-post-nav .churchly-dropdown .churchly-dropdown-content {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    padding: 12px 16px;
    z-index:99999999999;
    text-align:left;
    min-width:170px;

}

.churchly-post-nav .churchly-dropdown .churchly-dropdown-content li a {
    display:block;
    padding:3px 0;

}

.churchly-post-nav .churchly-dropdown:hover .churchly-dropdown-content {
    display: block !important;
}

/* UTILITY */

@media (min-width: 701px) {
    .hide-desktop { display:none; }
}
@media (max-width: 700px) {
    .hide-mobile { display:none; }
    .churchly-post-nav-elements { text-align:center; }
    .churchly-current-month-name {font-size:0.8em;}
}


@media (MAX-width: 981px) {
    #sidebar { padding-top:30px; }
}

/* EVENTS */

.post-type-archive-ctc_event .et_pb_section:not(.churchly-post-nav) {
    padding:0 !important;
}

.churchly-layout .churchly-post-nav {
    padding:0;
}

/* EVENT HEADER */

.churchly-current-month-navigation {
    float:right;
    font-size:0.57em;
}

.calendar-next-arrow,
.calendar-prev-arrow {
    color: #ccc;
    padding:0 5px;
}

/* EVENT CALENDAR VIEW */

.churchly-other-month {
    background-color: #eee;
    color: #aaa;
}

.churchly-earlier-month {
    background-color: #f7f7f7;
    color: #aaa;
}

.churchly-today {
    background-color: rgba(133,130,63,0.2);
}

.churchly-event-calendar {
    width:100%;
    border: 1px solid #ccc;
    margin-bottom: 50px;
}

.churchly-event-calendar th {
    background: #555;
    color: #fff;
    padding: 5px 10px;
    text-transform:uppercase;
    width: 14%;
    border-right: 1px solid #777;
    border-bottom: 1px solid #777;
}

.churchly-event-calendar td {
    width: 14%;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    vertical-align:top;
}

.churchly-event-calendar .date-content-container {
    min-height:120px;
    padding:5px;
    font-size: 0.9em;
}

.date-content-header {
    text-align:right;
    text-transform:uppercase;
}

/* EVENT LIST VIEW */

.event-list-day-column {
    text-align:center;
    background:#353535;
    padding:30px 20px;
    border-right: 10px solid #85823F;
}

.event-list-day-column h3 {
    color: #fff;
}

@media (min-width: 701px) {
    .hide-desktop { display:none; }
}
@media (max-width: 700px) {
    .churchly-event-calendar .date-content-container {
    min-height:10px;
    padding:3px;
    font-size:0.8em;
    }
    .date-content-header {
    text-align:center;
    }
    .churchly-event-calendar th {
    padding: 5px;
    font-size: 0.8em !important;
    }

}


/* EVENTS WIDGET */

.churchly-events-grid-row {
    width:100% !important;
}

.churchly-events-grid-row .post-meta p {
    padding-bottom:5px;
}

.churchly-events-grid-row .post-meta p i {
    padding-right: 5px;
}

.churchly-events-grid-section {
	padding: 54px 0 !important;
}

/* EVENTS LIST */

/* EVENTS WIDGET */

.churchly-events-list {

}

.churchly-events-list-row {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    background-color: #f7f7f7;
    min-height:75px;
    position:relative;

}
.churchly-events-list-date {
    float:left;
    background: #222;
    padding: 20px 10px;
    border-right: 5px solid #222222;
    min-height:75px;

}
.churchly-events-list-month {
    display:block;
    text-align:center;
    font-size:1em;
    text-transform:uppercase;
    font-weight:bold;
    line-height:1;
    color: #eee;
}
.churchly-events-list-day {
    display:block;
    text-align:center;
    font-size:2em;
    text-transform:uppercase;
    font-weight:bold;
    line-height:1;
    color: #fff;
}
.churchly-events-list-data {
    float:left;
    padding: 20px;
}

.churchly-events-list-data h5 {
    padding-bottom:0;
    line-height:1.1;
    font-size: 1.2em;
}

.churchly-events-list-meta-time {
    margin-right:10px;
}
.churchly-events-list-meta-location {
    font-weight:bold;
}

.churchly-events-list-arrow {
    position:absolute;
    top:50%;
    transform: translate(-100%, -50%);
    left:100%;
    color: #ccc;
    font-size:1.5em;
    padding:0 20px;
    min-height:75px;
    line-height: 75px;
}

.churchly-events-list-footer {
    text-align:right;
}

.churchly-events-list-footer a {
    font-style:italic;
}

.et_pb_widget {
    min-width: 100% !important;
}

@media (max-width: 500px) {
    .churchly-events-list-date {
        width: 100%;
        border-right:none;
        border-bottom: 5px solid #222222;
    }
    .churchly-events-list-data {
        padding:20px;
    }
    .churchly-events-list-arrow {
        display:none;
    }
}


#footer-info {
	padding-right: 10px;
}

.churchly-credit {
	color: #d8d8d8;
	font-size:12px;
	position:relative;
	top:-1px;
}

/* PEOPLE ARCHIVE */

.churchly-staff-bio-headshot {
    margin-bottom:30px;
}

.churchly-staff-title {
    font-size: 4em;
}

.churchly-staff-position {
    font-size: 2em;
    font-style: italic;
}

.staff-meta .fa {
    padding-right:5px;
}

.churchly-staff-image {
    width: 15rem;
    height: 15rem;
    font-size: 6rem;
    line-height: 15rem !important;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    display: block;
    margin: auto;
    font: 700 3rem/10rem, sans-serif;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    -webkit-transition: .15s;
    transition: .15s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.churchly-staff-image[style*=background-image] {
    color: transparent !important;
}

.churchly-staff-item .et_pb_team_member_description {
    text-align: center;
}

.post-type-archive-ctc_person .et_pb_member_social_links li:last-of-type {
    margin:0;
}

.churchly-series-item {
    text-align:center;
}

.churchly-series-image {
    width:100%;
}