/*  copied back into style.css - can remove once confirmed */
.page-template-member-directory .site {background:#f5f5f4;}
.page-template-member-directory .site header {background:#fff;}

.container.memberDirectory {border-top:solid 1px #dedede;}
.mdSearch {padding:24px;background:white;border-radius:16px;margin-bottom:64px;margin-top:40px;}
#mdSearchButton {width:100%;}

.memberOuter > .row {margin-bottom:24px;}
.memberOuter > .row:last-child, .memberOuter .row.mdMyCars {margin-bottom:0;}
.memberOuter p {margin:0;line-height:1em;}
.memberOuter .longtext p {line-height:1.2em;}
.memberOuter p.label {font-weight:bold;color:#606266;}
/*.member_avatar {margin-bottom:16px;width:86px;height:86px;background-position:center center;background-size:cover;background-image:url('/wp-content/themes/gccg/images/icons/avatar-default.svg');}*/
.member_avatar {margin-bottom:16px;width:100%;aspect-ratio:1;background-image:none;border-radius: 16px;overflow:hidden;max-width:64px;}

.memberRow {border-top:solid 1px #dedede;padding-top:32px;padding-bottom:32px;}
.memberRow:last-of-type {padding-bottom:0px;}
.memberRow h4 {margin-bottom:8px;line-height:1em;}
.memberRow .memberRegion {font-weight:bold;color:#0068B1;margin:0;text-transform: capitalize;}
.md-email {display:block;width:100%;text-overflow:ellipsis;overflow:hidden;}
.carrow {background:white;padding:16px;border-radius:16px;overflow:hidden;margin-bottom:24px;}
.carrow .img {border-radius:16px;float:left;width:64px;height:64px;background-position:center center;background-size:cover;background-image:url('/wp-content/themes/gccg/images/icons/avatar-car-default.svg');}
.carrow .info {float:left;margin-left:12px;overflow:hidden;width:calc(100% - 76px);}
.carrow .info p {margin:0;line-height:1em;}
.carrow .info p strong {margin-bottom:12px;display:block;}
.singleCar {display:none;}
.singleCar.showAll {display:block;}
.singleCar:nth-child(1), .singleCar:nth-child(2), .singleCar:nth-child(3) {display:block;} 
@media (min-width: 768px) {
    .singleCar:nth-child(1),.singleCar:nth-child(4),.singleCar:nth-child(7),.singleCar:nth-child(10) {
        padding-left: 0px !important;
    }
}
p.viewMore {margin-bottom:24px;color:#0068B1;cursor:pointer;display:none;}
p.viewMore:hover {text-decoration:underline;}
.memberRow .messagebutton {background:#0068B1;color:white;position:absolute;right:0;top:32px;}
.memberRow .messagebutton:hover {background:#00538F;}
.memberRow {position:relative;}

/** 13/01/25 - to be added to main stylesheet **/
.hubItem .fl-rich-text {background:#C2E5FF;border-radius:32px;}
.hubItem .fl-rich-text a {padding:32px;display:block;color:#0068B1;}
.hubItem .fl-rich-text:hover {background:#0068B1;}
.hubItem .fl-rich-text:hover a, .hubItem .fl-rich-text a:hover {color:#fff !important;text-decoration:none !important;}
@media (max-width:768px)
{
	.hubItem {display:block !important;}
	.hubItem .fl-rich-text {width:100%;margin-bottom:16px;}
	.hubItem .fl-rich-text a {padding:16px;}
	.traderRow .memberOuter {margin-top:24px;}
}

/** 20/01/25 */
/*
#contactresults, #regionresults {    padding: 32px;border: solid 1px #B7B4B4;border-radius: 16px;}
#contactresults .memberRow {border-top:none;padding-bottom:0;}
#contactresults select, #regionresults select {max-width:100%;}
#contactresults .memberOuter {margin-left:8%;}
@media (max-width:991px)
{
	#contactresults .memberOuter {margin-left:0;}
}
*/

/* append to style.css */
body.page-template-big-end-journal #page > .wrapper#page-wrapper #main {
    background-color: #ffffff;
    padding: 64px 30px;
    border-radius: 16px;
}
article footer.entry-footer {display:none;}

.fl-accordion-item {border-radius:16px;}
.fl-accordion-button .fl-accordion-button-icon:focus, .fl-accordion-button .fl-accordion-button-icon:active {outline:none !important;}

/* append to "body.login.FormsTemplate #login form label:not([for="rememberme"]), .mp_wrapper .mp-form-row label" */
.gform_wrapper.gravity-theme .gfield_label {font-size:20px;font-weight:bold;margin-bottom:13px;color:#101011;}
.gform_wrapper.gravity-theme .gfield_required {color:red;font-size:20px;}
.gform_wrapper.gravity-theme .gform_fields {grid-row-gap:30px;}
.gform_required_legend, .gform_validation_errors {display:none;}
.gform_wrapper.gravity-theme .gform_validation_errors>h2 {font-size:1em !important;line-height:1.2;}
.gform_wrapper.gravity-theme .gfield_error label, .gform_wrapper.gravity-theme .gfield_error legend {color:inherit;}
.gform_wrapper.gravity-theme .validation_above .gfield_validation_message, .gform_wrapper.gravity-theme .validation_above .validation_message{
	background: #ffe6e6;
    color: #cc2727;
    border: none;
    border-left: solid 3px #d12626;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.5;
    margin: 0.5em 0;
}
.mp_wrapper .mp-form-row {margin-bottom:32px;}
.mp_wrapper .mp-form-row:last-of-type {margin-bottom:0;}

.page-template-big-end-journal #page > .wrapper#page-wrapper .entry-header h1 {margin-bottom:64px;}

.mediasummary {text-align:center;}
.gccg-gallery-item-outer .gallery-name {   position: absolute;top: 30px;left: 30px;color: white;}

.page-back-link {text-align:center;margin-top:-40px;margin-bottom:64px !important;}
.page-template-ao-myevents-list .page-back-link,
.page-template-ao-edit-my-area .page-back-link {margin-top:-20px;margin-bottom:24px !important;}

.item-cars {position:relative;}
.removecar {position: absolute;
    top: 0;
    right: 0;
    color: #BC0B0B;
    cursor: pointer;}
.removecar:hover {text-decoration:underline;}	

/*.profileMenuSection.regionSection, .profileMenuSection.managementSection {
	padding-top:20px;border-top: solid 1px #a9a9a9;
}*/

.profileMenuSection.memberSection, .profileMenuSection.regionSection, .profileMenuSection.managementSection {
	margin-bottom:20px;border-bottom: solid 1px #a9a9a9;
}

.profileMenuSection.managementSection:not(.aoManagementSection) {
	border-bottom-width: 0px;
}


.wppb-form-field .wppb-radios label {line-height:50px;}
.wppb-form-field .wppb-radios input {float:left;}

.ao-edit-icon {display:inline-block;margin-right: 10px;margin-bottom:10px;}
.events-table-data-item.eventstatusdraft a.Name, 
.events-table-data-item.eventstatusdraft .Action .ao-edit-icon:first-child {color:#606266;cursor:not-allowed;}
.notification {display:block;border-radius:16px;background:rgba(0,255,0,0.5);color:black;text-align:center;padding:10px 20px;}
body.page-template-ao-dashboard .events-table .Address, 
body.page-template-ao-myevents-list .events-table .Address {display:none;}

body.page-template-ao-dashboard .events-table .Name span, 
body.page-template-ao-myevents-list .events-table .Name span {display:block;font-size:0.8em;}

body.page-template-ao-dashboard .events-table .Action, 
body.page-template-ao-myevents-list .events-table .Action {width:40%;}

.eventtypeswitch {width:100%;text-align:right;margin-bottom:32px;}
.eventtypeswitch span {padding:8px 16px;text-transform:capitalize;cursor:pointer;border:solid 1px #dedede;}
.eventtypeswitch span.active {background:#dedede;color:#000;}
.eventtypeswitch span:first-child {border-radius: 8px 0 0 8px;}
.eventtypeswitch span:last-child {border-radius: 0 8px 8px 0;}
