/**
Theme Name: LPO
Author: Andy Burns
Description: Custom theming for Libertarian Party States
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lpo
Template: astra
*/

/* menu */
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
	line-height: 200%;
}

.ast-builder-menu-1 .menu-item:hover > .menu-link, .ast-builder-menu-2 .menu-item:hover > .menu-link {border-radius:5px;}
.ast-hfb-header .ast-builder-menu-1 .main-header-menu .sub-menu .menu-link {border-radius:0;} 

#primary {
  margin: 2em 0;
}

/* page header */
.ast-title-bar-wrap.ast-advanced-headers-vertical-center {
  border-top: 1px solid #ffcd00;
  border-bottom: 1px solid #ffcd00;
  box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.5);
}

/* breadcrumbs */
.ast-breadcrumbs-wrapper .trail-items .trail-end {font-weight:600;}


hr {
  background-color: var(--ast-global-color-1);
}
/* full width on image, events */
.event .entry-content img {
  width: 100%;
}

.legal-disclaimer {
	border: 1px solid #fff;
	display: inline-block;
	padding: 5px;
	margin-right:5%;
	margin-left:5%;
}

/* footer */
.site-footer-section > * {
  margin-bottom: 20px;
}

/*-----------------------------------------------------------------------------------*/
/* CiviCRM */
/*-----------------------------------------------------------------------------------*/
/* CPT contribute nav */
.navigation.post-navigation {
    display: none;
}

/* Form Builder */
.crm-search-display-grid-container {
  grid-gap: 3em !important;
  justify-items:left !important;
}

@media (max-width:600px) {
.crm-search-display-grid-layout-2 {
  grid-template-columns: repeat(1,1fr) !important;
}
}

.crm-inline-block {
  display: inline-block;
}

.lp-pointer:hover
{
  transform: scale(1.1) !important;
  transition: all .2s linear;
}

.candidate-image {
	vertical-align:top;
	margin-bottom: 0.5em;
}

.candidate-name {
    font-weight: bold;
    font-size: 20px;
}

.candidate-elected span {
	font-size:16x;
}

.candidate-office {

}

.icon-wrapper {
  padding-right: 10px;
	
}

#bootstrap-theme .form-control {
  height: 30px;
  padding: 4px 8px;
  font-size: 14px;
  color: #555;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
	background: #f2f2f2 !important;
	border:none !important;
	height:50px !important;
}

#bootstrap-theme .form-control:focus {
	border-color:none;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3) !important;
}

/*-----------------------------------------------------------------------------------*/
/* Caldera Forms */
/*-----------------------------------------------------------------------------------*/
/* Caldera Submit Buttons */
.caldera-grid input[type=submit], .btn.btn-default.cf-page-btn.cf-page-btn-prev, .btn.btn-default.cf-page-btn.cf-page-btn-next, .caldera-forms-modal {
	background: #fed000 !important;
	text-shadow:none !important;
	border-radius:5px !important;
	padding: 15px 40px !important;
	font-weight:700 !important;
	text-transform:uppercase !important;
}

/* Caldera Submit button hover */
.caldera-grid input[type=submit]:hover, .caldera-forms-modal:hover, .btn.btn-default.cf-page-btn.cf-page-btn-prev:hover, .btn.btn-default.cf-page-btn.cf-page-btn-next:hover {
	background: #E87200 !important;
	color:white !important;
	transition: all .5s ease !important;
}
	
/* mobile start */
	@media screen and (max-width:767px) {
		.caldera-grid input[type=submit] {
	width:100%;
		}
	}
	
/* mobile end */
	
/* breadcrumb */
.caldera-grid .breadcrumb {background-color:#262626;}

.caldera-grid .breadcrumb > .active > a {
  color: #F4C55C;
}

.caldera-grid .breadcrumb > li + li::before {
  color: #fff;
}
	
.caldera-grid label {
	font-weight:inherit !important;
	font-size:16px !important;
}

.caldera-grid .form-control:not(textarea) {
	height:50px !important;
}

.caldera-grid .form-control {
	transition:none !important;
	background: #f2f2f2 !important;
	border:none !important;
}

.caldera-grid .form-control:focus {
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3) !important;
	border: transparent;
}

.note .caldera-grid .form-control {
	height:100px !important;
}
	
.caldera-grid .form-control::placeholder {
  color: #333 !important;
  opacity: 1 !important;
}

.caldera-grid input[type=submit] {
  background: #fed000 !important;
  border:none;
  border-radius: 5px !important;
}

.caldera-grid input[type=submit]:hover {
  background: #f1c40f !important;
  border: transparent;
	color:#fff !important;
}

.caldera-grid .alert-success {
	background-color:#F4C55C4D !important;
	color:inherit !important;
	text-shadow:none !important;
}

.trumbowyg-box {background:white;}

.caldera-grid .help-block {font-size:14px;}

 /* remove debug log after error on form */
.alert.alert-error pre {display: none;}
	
.caldera-grid hr {border-top: 1px solid #fed000 !important;}
/*
.alert.alert-warning {display: none;}
*/
.caldera-grid .form-control[disabled], .lp-readonly {
	opacity:0.3;
}

/* formats checkbox for issues better */
.caldera-grid .checkbox-inline + .checkbox-inline, .caldera-grid .radio-inline + .radio-inline {
margin-left: 0px !important;
}

.caldera-grid .checkbox-inline {vertical-align:top;}
	

@media only screen and (min-width:600px) {
.checkbox-inline {
    width: 18%;
}
	}
	
@media only screen and (max-width:599px) {
.checkbox-inline {
    width: 100%;
}
	}

/*-----------------------------------------------------------------------------------*/
/* Event Organiser */
/*-----------------------------------------------------------------------------------*/
/* eo map */
.single-event #eo_venue_map-1, #eo_venue_map-2, #eo_venue_map-3 {
    height: 400px !important;
	z-index:1;
}

/*make map full width */
.single-event .eo-event-venue-map {width:100% !important;}

/* event meta 100% width */
.single-event .eo-event-meta {width:100% !important;}

/* remove bullet from civicrm register button */
.single-event .civicrm-event-register-link {
    list-style: none;
}

/* register link change to button */
.single-event a.civicrm-event-organiser-register-link {
	padding:10px 20px;
	border-radius: 3px;
    background: var(--ast-global-color-1);
	color: #333;
	font-weight: 700;
	text-decoration:none;
	margin-top:10px;
}

.single-event .civicrm-event-register-link {
    margin-top: 10px;
}

.single-event a.civicrm-event-organiser-register-link:hover {
	background: var(--ast-global-color-3);
	color: white;
}

.single-event .eo-event-meta {
    margin: 0px 0px 30px 0px !important;
}

/* meta top margin */
.single-event .eventorganiser-event-meta {margin-top: 3%;}

/* event search filters */
.eo-event-search-filters {padding-bottom: 5%;}
.eo-event-search-filters li {width:30% !important;}

@media (max-width:768px) {
.event-entry-meta {clear:both !important;}
}

/* search desktop only */
@media (min-width:768px) {
.ui-button {
  margin-left: 20px !important;
}
	
.eo-event-search-filters {
	padding-bottom:7% !important;
}
}
/ *mobile eo search */
@media (max-width:768px) {
 .eo-event-search {
         margin-bottom:30px !important;
 }  
 .eo-event-search ul {
         float:none!important;
         margin-bottom:20px !important;
 }
.eo-event-search li {
         width: 100% !important;
 }
.ui-button {margin-bottom:8% !important;}
	
a.civicrm-event-organiser-register-link {
	display:block !important;
	text-align:center;
	}
}

/* search button */
.ui-button-text-only .ui-button-text {padding:0px !important;}

.eo-event-search.search {margin-bottom:2em;}

/*events sidebar */
.eo-events.eo-events-widget a {font-weight:700;}
.eo-events.eo-events-widget a:hover {color:var(--ast-global-color-1);}


.eo-tc-event .eo-event-meta {
    display: block !important;
	box-shadow:none;
	background:transparent;
}

.entry-meta { color: inherit;}
/* blog archive liunk color wrong
.entry-meta a {color: var(--ast-global-color-1);}
*/
.ui-button-text-only .ui-button-text {
  padding: 0 !important;
}

/*category archive */
@media (min-width:400px) {
	.eo-tc-event {
    background: white;
    padding: 30px;
	box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.5);
}
}

/*-----------------------------------------------------------------------------------*/
/* Misc */
/*-----------------------------------------------------------------------------------*/
.lp-img-round {
	width: 200px;
	height: 200px;
}

.lp-img-round img {
    width: 200px;
    height: 200px;
}

/* scroll for NDA */
.lp-scroll {
	background-color: #eee;
    width: auto;
    height: 500px;
    overflow: auto;
    text-align: justify;
    padding: 20px;
}

#wpadminbar, .menupop .ab-sub-wrapper {background:black !important;}

/* civicrm dashboard */
#cdashtabsButtons button.cdashtabs-is-active, button:active {
  background-color: #fed000 !important;
}
#cdashtabsButtons button {
  border: none !important;
  background-color: #d9d9d9;
}
#wpadminbar .quicklinks .menupop ul li a:hover, .ab-item:hover {color: white !important;}

#crm-container td, th {
  border: none;
}

