/*
 Theme Name:   CMA 2016
 Description:  Child theme created for the Cornwall Mining Alliance
 Author:       Seadog IT
 Author URI:   http://seadogit.com/
 Template:     Divi
 Version:      1.0.0
*/


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

ul.et_pb_social_media_follow { padding-left: 0 !important; }

.et_pb_team_member_image { width: 50% !important; }

.et_pb_image.member-profile { text-align: center; }

.member-profile#main-content .container { width: 100%; max-width: none; }

#main-footer .container { max-width: 1080px !important; margin: auto; }

.member-profile#main-content .container { padding-top: 0 !important; }

.member-profile#main-content .et_pb_title_container { font-size: 22px; text-align: center !important; width: 100%; }

.member-directory#main-content ul { list-style-type: none; padding-left: 0; }

.lcp_catlist { padding-left: 0 !important; }
.lcp_catlist li { list-style-type: none; }

#uwpqsf_id { border: none; }

.uwpqsf_class select
{
    height: 47px;
    width: 100%;
    padding: 14px 4% !important;
    border: none !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
    color: #666;
    background-color: rgba(158,31,99,0.13);
    font-size: 14px;
    font-size: 16px;
    font-weight: 400;
}

input#uwpqsf_id_key
{
	width: 100%;
    padding: 14px 4% !important;
    border: none !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
    color: #666;
    background-color: rgba(158,31,99,0.13);
    font-size: 14px;
    font-size: 16px;
    font-weight: 400;
}

.uwpqsf_class
{
	padding-left: 5px;
}

.search-results article header h1
{
	color: #276b82;
	font-size: 100%;
	font-weight: normal;
}

.search-results h1
{
	color: #666;
	font-size: 100%;
	font-weight: bold;
}

div[id*="ajaxsearchlite"] .probox .proinput input,
#ajaxsearchlite1 .probox .proinput input
{
	color: #333 !important;
	font-size: 15px !important;
}

#ajaxsearchlite1 .probox,
#ajaxsearchlite1 .probox .proinput input,
div[id*="ajaxsearchlite"] .probox,
div[id*="ajaxsearchlite"] .probox .promagnifier,
div[id*="ajaxsearchlite"] .probox div.prosettings,
div[id*="ajaxsearchlite"] .probox .proinput input,
div[id*="ajaxsearchlite"] .probox .proclose,
div[id*="ajaxsearchlite"] .probox .promagnifier,
div[id*="ajaxsearchlite"] .probox .prosettings
{
	height: 51px;
}

div[id*="ajaxsearchlite"] .probox .proloading
{
	height: 51px;
	width: 51px;
}


.post-password-required { width: 33%; margin: 0 auto; }



.tribe-event-schedule-details h3,
.tribe-event-schedule-details h4,
.tribe-events-list-event-details h3,
.tribe-events-single-event-title
{
	font-weight: bold;
}

.tribe-events-event-image
{
	width: 100% !important;
}

.tribe-events-list .time-details,
.tribe-events-list .tribe-event-schedule-details
{
	padding: 0;
}

.single-event-main-details
{
	margin-top: 20px;
}

.tribe-events-abbr,
.tribe-country-name
{
	display: block;
}

#tribe-events-content
{
	margin-top: 30px;
}

.event-venue-list-title
{
	color: #276b82;
	font-size: 16px;
	font-weight: bold;
}

.et_pb_gutters3 .et_pb_column_1_2 .et_pb_widget
{
	width: 100%;
}

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

	.tribe-events-back
	{
		float: right;
	}

	.tribe-event-schedule-details
	{
		display: block;
		float: left;
		width: 20%;
	}
	
	.events-list-featured-image
	{
		display: block;
		float: left;
		width: 30%
	}
	
	.tribe-events-event-image
	{
		width: 87% !important;
	}
	
	.tribe-events-list-event-details
	{
		display: block;
		float: left;
		width: 50%;
	}
	
	.type-tribe_events
	{
		padding-bottom: 3rem !important;
		margin-bottom: 3rem !important;
		border-bottom: 1px solid rgba(93, 144, 161, 0.3) !important;
	}

	.single-event-main-details
	{
		display: block;
		float: left;
		padding-left: 4%;
		width: 50%;
	}
	.tribe-events-event-meta .tribe-events-meta-group
	{
		width: 25%;
	}
	.single-event-main-details .tribe-events-event-image
	{
		width: 100% !important;
	}

}

#tribe-events { padding: 3%; }

#homePageTicker .et_pb_post .entry-featured-image-url
{
	display: inline;
}

@media only screen and (min-width: 981px) {
	#homePageTicker .et_pb_posts .et_pb_post img,
	#homePageTicker.et_pb_posts .et_overlay {
		height: 80px !important;
		width: auto;
		float: left;
		left: 0;
		margin-right: 25px;
	}
}

.tribe-mini-calendar-event
{
	border-bottom: none !important;
}

.tribe-mini-calendar-event .list-date
{
	background-color: #5d90a1 !important;
}






/*** password protected page ***/
.post-password-required .et_password_protected_form h1
{
	display: block;
}

.post-password-required { /* Our parent item */
    border: 1px solid #f1f1f1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.10); /* material style drop shadow */
    padding: 50px 20px;
    border-radius: 3px; /* rounded edges */
    background-image: url('https://cornwallminingalliance.org/wp-content/uploads/2019/02/background-image.jpg'); /* upload your own image and copy path here */
    background-size: cover;
    background-position: center;
}

.post-password-required .et_pb_section {
    background-color: transparent; /* it's white by default */
}

.post-password-required .et_pb_button {
    background-color: #5d90a1;
    border: none;
    color: #fff !important;
    text-transform: uppercase;
    font-size: 16px;
    width: 110px;
    margin-top: -14px;
    margin-right: 14px;
    height: 50px;
    border-radius: 3px; /* rounded buttons */
    transition: .6s ease all; /* color change speed on hover */
}

.post-password-required .et_pb_button:hover {
    background-color: #d16c22 !important;
}

.post-password-required .et_pb_button:after {
    display: none;
}

.post-password-required .et_password_protected_form p input {
    width: calc(100% - 120px);
    float: left;
    border-radius: 32px;
    background-color: #fff;
    border: 2px solid #f1f1f1;
    transition: .6s ease all;
}

.post-password-required .et_password_protected_form p input:focus {
    border: 2px solid #481D24; /* thick outline when typing */
}

.single-post .post-password-required .et_post_meta_wrapper:last-child {
    display: none; /* remove weird comments text */
}

.post-password-required .entry-title:before {
    content: "\7e"; /* set padlock icon */
    font-family: 'etModules'; /* set icon font */
    margin-right: 10px;
}

.et_password_protected_form > p {
    margin-bottom: 20px;
}

.page #main-content .post-password-required, .post #main-content .post-password-required {
    max-width: 980px;
    width: 90%;
    margin: 13vw auto;
}	


.single-tribe_events #et-main-area { background-color: #fff; }

.et_pb_social_icon a span { display: none; }