/**
Theme Name: LP States
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: lp-states
Template: astra
*/

.caldera-grid .form-control {
height:45px;
}

/*-----------------------------------------------------------------------------------*/
/* Layout */
/*-----------------------------------------------------------------------------------*/
#primary {margin: 2em 0em;}

/*-----------------------------------------------------------------------------------*/
/* Typography */
/*-----------------------------------------------------------------------------------*/
/* Roboto Font */
* {font-family:"Roboto",sans-serif;}

/* Order list style */
.entry-content ol.ast-content-ol-list {
  counter-reset: my-ol-counter;
  margin-left:1.4em;
}
.entry-content ol.ast-content-ol-list li {
  position: relative;
  padding-left: 30px;
  list-style: none;
}
.entry-content ol.ast-content-ol-list li:before {
  position: absolute;
  top:50%;
  left: 0;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  color: #262626;
  text-align:center;
  background-color: #0274be;
  content: counter(my-ol-counter,decimal);
  counter-increment: my-ol-counter;
  font-size: 11px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
 
/* Unordered list style */
.entry-content ul.ast-content-ul-list {
  margin-left:1.4em;
}
.entry-content ul.ast-content-ul-list li {
  position: relative;
  padding-left: 30px;
  list-style: none;
}
.entry-content ul.ast-content-ul-list li:after{
  position: absolute;
  top: -webkit-calc( 50% - -1px);
  top: calc( 50% - -1px);
  left: 0;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  padding-top: 2px;
  color: #333;
  text-align:center;
  background-color: #ffcd00;
  content: "\e900";
  font-size: 10px;
  font-family: 'Astra';
  -webkit-border-radius: 50%;
  border-radius: 50%;
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

/*-----------------------------------------------------------------------------------*/
/* Header */
/*-----------------------------------------------------------------------------------*/
.site-header {z-index:9999;}

/* header and submenu backward compatibility CSS */
.main-header-menu > .menu-item > a {height:auto;}

.header-main-layout-1 .ast-main-header-bar-alignment {
	margin-left:auto;
	margin-top:auto;
	margin-bottom:auto;
}

/* logo hover */
.ast-site-identity:hover {opacity: 0.8;}

/* standardize top nav */
.main-navigation {
    vertical-align:middle !important;
	font-weight:400;
	font-size: .95em;
	line-height:250%;
}

/* comment out until done for all selectors in nav 
.main-header-menu a {color:#4d4d4d;}
*/

/* sub nav */
.sub-menu {
	text-transform:capitalize;
	font-weight:400;
	font-size:14px;
}

.main-navigation ul ul {
	border-radius:3px;
}

.header-main-layout-1 .main-header-bar-navigation .children, .header-main-layout-1 .main-header-bar-navigation .sub-menu {
	text-align:center;
}

/* Sub menu width */
.main-header-menu .sub-menu {
	width: 180px;
}

/* back to top button */
#ast-scroll-top {background:#ffcd00 !important;}

/* mobile toggle */
.ast-header-break-point .ast-mobile-menu-buttons-fill.menu-toggle {
	background-color:#ffcd00;
	color:#262626;
}

.ast-header-break-point .main-navigation ul li a {border-style:none;}

/*-----------------------------------------------------------------------------------*/
/* Buttons */
/*-----------------------------------------------------------------------------------*/
.ast-button, .button, .caldera-forms-modal {
	font-weight:700;
	border-radius: 2px;
    padding: 10px 40px;
    color: #262626;
    border:none;
    background-color: #ffcd00;
}

.ast-button:hover, .button:hover {
	color:#fff;
	background-color:#e6b800;
}

@media (min-width:920px) {
.yellowbtn a {
	background: #ffcd00;
	margin-right: 1.0em;
	border-radius:2px;
	color: #262626 !important;
}

.yellowbtn:hover a {
	background: #e6b800;
	color:#fff !important;
	}
	
.blackbtn a {
	background: #000;
	color:#fff !important;
	margin-right: 1.0em;
	border-radius:2px;
}

.blackbtn:hover a {
	background: #262626;
	color:#fff !important;
	}

.redbtn a {
	background: #b00e0e;
	color: #fff !important;
	margin-right: 1.0em;
	border-radius:2px;
}

.redbtn:hover a {
	background: rgb(154, 11, 11);
	color: #fff;
}

.bluebtn a {
	background: #002855;
	color: #fff !important;
	margin-right: 1.0em;
	border-radius:2px;
}

.bluebtn:hover a {
	background: #004799;
	color: #fff !important;
	border-radius:2px;
	margin-right: 1.0em;
}
}

/* button text color on sticky nav */
.main-header-bar.ast-sticky-active .main-header-menu > li.redbtn > a, .main-header-bar.ast-sticky-active .main-header-menu > li.yellowbtn > a, .main-header-bar.ast-sticky-active .main-header-menu > li.bluebtn > a, 
.main-header-bar.ast-sticky-active .main-header-menu > li.blackbtn > a { color: #fff;}

/* yellow button text color */
.main-header-menu .current-menu-item > a, .main-header-bar.ast-sticky-active .main-header-menu > li.yellowbtn > a,.yellowbtn a {color:inherit;}

/*-----------------------------------------------------------------------------------*/
/* Sidebar */
/*-----------------------------------------------------------------------------------*/
/* Widget link and title color */
.secondary .widget-title, .secondary a {
	color:#262626;
	font-weight:700;
}

/*-----------------------------------------------------------------------------------*/
/* Blog*/
/*-----------------------------------------------------------------------------------*/
/* temp fix for unwanted white space in top of blog image *
@media(min-width:544px) {
.ast-separate-container .ast-article-single {
  padding: 3em 6.67em;
}
}
*/

.attachment-astra-post-size.size-astra-post-size.wp-post-image {
  width: 100%;
}

h1.entry-title, h2.entry-title, .entry-title a {font-weight:900;}

h1.entry-title {font-size:48px;}

/* content blog padding top *
.ast-separate-container .ast-article-single {padding-top:3em;}

/* entry info on blog */
.entry-meta {font-size:15px;}

.ast-related-posts-wrapper .ast-related-post {padding:10px 30px;}

/*-----------------------------------------------------------------------------------*/
/* Content */
/*-----------------------------------------------------------------------------------*/

/* paragraph */
p {
	line-height:170% ;
	}

body {color:#262626;}

@media(max-width:544px) { 
	body {font-size:16px;}
}

/* headings */
h1, h2, h3, h4, h5, h6 {
    font-weight:900 !important;
	text-transform:capitalize !important;
	color:#262626;
}

h1, .entry-content h1 {font-size:62px;}

h2 {font-size:42px;}

h3 {font-size: 34px;}

h4 {font-size:26px;}

h5 {font-size:22px;}

h6 {font-size:18px;}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    margin-bottom: 0px;
}

/* advanced headers title */
.ast-advanced-headers-title {
	font-size: 60px;
	text-align: center;
	font-weight:900;
}

@media (max-width:420px) {
	.ast-advanced-headers-title {font-size: 32px;}
}

/* style boxed containers with box shadow */
.ast-separate-container .ast-article-single, .single.ast-separate-container .ast-single-author-box {
box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.5);
}

/*-----------------------------------------------------------------------------------*/
/* Footer */
/*-----------------------------------------------------------------------------------*/
.ast-footer-overlay {font-size:12px;}

/*-----------------------------------------------------------------------------------*/
/* Elementor */
/*-----------------------------------------------------------------------------------*
.elementor-button {
	font-weight:700;
	border-radius: 2px;
    padding: 10px 40px;
    color: #262626;
    border:none;
    background-color: #ffcd00;
}

.elementor-button:hover {
	color:#fff !important;
	background-color:#e6b800;
}

/* lightbox close */
.elementor-lightbox .dialog-lightbox-close-button, .elementor-lightbox .elementor-swiper-button {color:black;}

.elementor-button-text {
	text-transform:capitalize;
}

/* elementor footer full width on boxed single posts */
.ast-separate-container .ast-article-single.elementor.post {
    padding: 0;
}

/* blockquote */
.blockquote {
    padding: 2%;
    position: relative;
	font-style:italic;
}

.blockquote:before {
  position: relative;
  font-family: 'FontAwesome';
  top: 0;
  content:'\f10d';
  font-size: 30px;
  color: rgba(0,0,0,0.5); 
  padding:.25em;
  margin-right:.25em;
}

.blockquote:after {
  position: relative;
  font-family: 'FontAwesome';
  top: 0;
  content:'\f10e';
  font-size: 30px;
  color: rgba(0,0,0,0.5); 
  padding:.25em;
}

/* avatar round */
.avatar {
    border-radius: 100%;
}


/* remove civicrm country field */
#editrow-country-Primary {
    display: none !important;
}

/* remove state field on candidate directory listing */
afsearch-candidate-listing.ng-isolate-scope div div.af-container.af-layout-inline af-field.ng-isolate-scope.af-field-type-chain-select {display:none;}

/* Event Organiser */
.fc-day-grid-event {
    background: #ffcd00 !important;
	color:#666 !important;
	border:none !important;
}

.fc-title {
    font-size: 14px !important;
}

/* 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);
}