/*==================================
 * PCC Wordpress Website
 * Custom CSS
 * Last Update: 08/12/2023
 * Made By: 		MDS
 * =================================/

/*UTILITY CLASSES*/
/*custom spacing (used on the home page above the columns)*/
.no-top-margin {margin-top:0px !important; }
.top-margin-10 {margin-top:10px;}

/*HEADER*/
@media screen and (min-width:680px) and (max-width:820px){
	/*hide the tag line, only when screen > 680px and < 785px*/
	div.support-text{ display:none !important;}
}
div.hgroup { padding:20px !important; margin-left:30px !important;  margin-right:30px !important; }
div.support-text{margin-top:8px !important;}

/*MENU BAR*/
/*customise the menu bar to navy*/
nav.site-navigation{background-color: #000050 !important;}
#search-icon-icon{background-color:#000050 !important;}

/*FOOTER*/
/*remove the theme attribution ha! */
#theme-attribution{display:none !important;}

/*POSTS & PAGES*/
/*turn off entry tag and category line below posts*/
div.entry-categories {display:none;}
/*remove menu colour from post browse buttons bar*/
#nav-below{background-color:transparent !important;}
/*hide the page image for posts*/
div.entry-thumbnail >img {display:none !important; }
/*browse buttons customisation*/
div.nav-previous>a::before {content: "\003C";}
div.nav-previous>a>span.meta-nav {display:none !important;}
div.nav-next>a::after {content: "\003E";}
div.nav-next>a>span.meta-nav {display:none !important;}

/*CONTENT VIEW*/
/*hide the list heading in a content view*/
div.pt-cv-wrapper h3.pt-cv-heading-container{display:none !important;}
/*add a line to the right, only when screen > 785px */
@media screen and (min-width:785px){
	#pt-cv-view-ba274a50lv { border-right: 1px solid #555;} /*TO DO - this doesnt work when Tim replaces the CV!*/
}
/*add pcc button style to read more button*/
div.pt-cv-rmwrap > a
{
		border-radius:5px !important;
		background-color: #0375FF;
}

/*TEAM*/
/*custom align team member descriptions*/
div.single-team-area {text-align:center;}
/*fix the css bug for images*/
div.single-team img{max-width:150px !important; display:inline-block !important;}

/*PAID MEMBERSHIP SUBSCRIPTIONS*/
/*format tables*/
table.pms-table, table.pms-account-subscription-details-table {
   border-color: #333; 
   color: #222;
}
table.pms-account-subscription-details-table td {
   border: 1px solid #111;
   padding: 3px 8px;
}
table.pms-table td, table.pms-table th {
   border-color: #111;
   padding: 3px 8px;
}
table.pms-table thead {background-color:#ddddff;}

/*no links on this view*/
nav.pms-account-navigation{display:none;}

/*renew message box*/
div.pms_success-messages-wrapper { border-radius: 5px !important;}

/*Admin Reports PCC format*/
textarea.pcc-report-csv {font-family:"Courier New";}

/*Use primary PCC button in these locations*/
#wppb-edit-user input[name="pms_redirect_back"],
#pms-renew-subscription-form input[name="pms_redirect_back"],
#pms-cancel-subscription-form input[name="pms_redirect_back"],
div.nav-previous>a, div.nav-previous>a:hover,
div.nav-next>a, div.nav-next>a:hover
{
		min-width:160px ;		
		display: inline-block;
		background:#0375FF; /*PCC Blue*/
		color: #fff;
		border-radius:5px !important;
		text-align:center;
		text-decoration:none;
		font-size: 16px;
		font-weight: normal;
}

/*Use 'alert' PCC buttons in these locations*/
#pms-renew-subscription-form input[name="pms_renew_subscription"],
#pms-cancel-subscription-form input[name="pms_confirm_cancel_subscription"],
a.pms-account-subscription-action-link,
#pms_edit-profile-form input[type=submit], 
#pms_login input[type=submit],
#wppb-register-user input[type=submit], 
#pms_edit-profile-form input[type=submit],
#wppb-edit-user input[type=submit], 
#pms_edit-profile-form input[type=submit],
#pms_recover_password_form input[type=submit],
#pms_new_subscription-form input[type=submit],
#pms_new_password_form input[type=submit],
#edit_profile
{
		min-width:160px ;		
		font-size: 16px;
		font-weight: normal;
		background:#C52628; /*PCC Red*/
		color: #fff;
		border-radius:5px !important;
		text-align:center;
		text-decoration:none;
		display:inline-block;
}

/*Custom PCC buttons */
a.pcc-button {
		min-width:160px ;		
		display: inline-block;
		border-radius:5px;
		padding: 8px 0px;
		background-color:#0375FF; /*PCC Blue*/
		color: #fff;
		text-decoration:none;
		text-align:center;
}
a.pcc-button:hover {color: #ddd;}

/*Sign Out Page*/
/* move the logout button onto its own line*/
p.pms-front-end-logout span
{
		margin-bottom:10px;
		display: block;
}
p.pms-front-end-logout span::after
{
		content: '';
    display: block;
}
/*and format as a PCC button*/
a.pms-logout-url
{
		min-width:160px ;	
		padding: 8px 0px;
		border-radius:5px;
		display: inline-block;
		background-color:#C52628; /*PCC Red*/
		color: #fff;
		text-decoration:none;
		font-weight:normal;
		text-align:center;
}
a.pms-logout-url:hover {color: #ddd;}

/*Sign In Form*/
/*hide extra links*/
p.login-extra {display:none;}

/*do not show the Actions row on the member edit profile form*/
#wppb-edit-user-member-edit-profile table.pms-account-subscription-details-table tr.pms-account-subscription-details-table__actions
{display:none;}

/*RENEW FORM*/
#pms-renew-subscription-form #pms-subscription-plans-discount
{
		display:none !important;;
}

/*Application Form*/
/*format these added messages to the appliction form*/
#wppb-register-user li:nth-child(1) span, 
#wppb-register-user li:nth-child(2) span
{
		font-size: 16px !important;
		font-style: normal !important;
}

/*remove this checkbox */
li.wppb-send-credentials-checkbox {display:none;}

/*do not show these Billing fields*/
ul.pms-billing-details li.pms-billing-company {display: none;}
ul.pms-billing-details li.pms-billing-state {display: none;}

/*hide the approval radio and its label*/
#wppb-register-user label[for="is_application_approved"] {margin-left:-2000px;}

#wppb-register-user input[name="is_application_approved"][value="Waiting"],
#wppb-register-user label[for="waiting_26"] {margin-left:-2000px;}
#wppb-register-user input[name="is_application_approved"][value="Yes"],
#wppb-register-user label[for="yes_26"] 
{display:none;}

/*PCC Button - must override .so-widget-sow-contact-form-default class*/
button.sow-submit
{
		margin-left:5px;
		background:blue !important;
		color:#fff !important;
		border-radius:5px !important;
		font-size:16px !important;
		font-weight: normal;
		box-shadow: none !important;
}

/*MOORING FORM*/
/*extra spacing above submit button*/
#mooring_form_submit
{
		margin-top:10px !important;
}

div.pcc-alert
{
		border: 2px solid orange;
		border-radius: 10px;
		background-color: #F6B26B;
		padding:8px;
}

/* PCC alert box */
p.pcc-alert {
		border-radius:5px;
		padding: 8px 16px;
}
p.pcc-alert-danger {
		background-color: #C52628; /*PCC Red*/
		color:#fff;
}
p.pcc-alert-info {
		background-color: #eee;
		color:#444;
		border: 1px solid #ddd;
}
p.pcc-alert-success {
		background-color: #E7F7D3;
		color:#444;
		border: 1px solid #66CC33;
}
p.pcc-alert-danger a {color:#fff;}
p.pcc-alert-danger a:hover {color:#ddd;}
p.pcc-alert-info a:hover {color:#333;}
p.pcc-alert-success a:hover {color:#333;}

/*Matching PMS and PB alerts to PCC alert style*/
p.alert.wppb-success {border-radius:5px !important;}

/*Image Caption*/
figcaption{font-style:italic;  margin-bottom:0px !important;}
/*Hide the lightbox button*/
button.lightbox-trigger{display:none;}

/*WOO COMMERCE*/
/*use blue buttons*/
a.button.add_to_cart_button, button.single_add_to_cart_button,
button.wc-block-components-button, a.wc-block-cart__submit-button,
div.wc-block-components-totals-coupon a.wc-block-components-totals-coupon-link
{
		background:#0375FF !important; /*PCC blue*/
		color: #fff !important;
		border-radius:5px !important;
		text-align:center;
		text-decoration:none;
		font-size: 16px;
		font-weight: normal;
}
div.wc-block-components-totals-coupon a.wc-block-components-totals-coupon-link
{
	display: inline-block;
		padding: 3px 8px;
}