/**
Theme Name: LP National
Author: Andy Burns
Author URI: http://wpastra.com/about/
Description: Custom theme for National Libertarian Party
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-national
Template: astra
*/

/* match lporg site */

/* header spacing */
.ast-flex.main-header-container {
    padding-left: 1.618em;
	padding-right: 1.618em;
}

/* homepage no margin */
.page-id-17694 #primary {margin:0em 0em !important;}

.main-navigation {
	letter-spacing:1.5px !important;
 vertical-align:middle !important;
}

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

@media (min-width:900px) {
.joinbtn a {
   background: #f9d334 !important;
   color: #262626 !important;
	margin-right: 1.0em !important;
}

.joinbtn:hover a{
  background: #ffd00d !important;
  color: #262626 !important;
}

.donatebtn a {
  background: rgba(176,14,14,1) !important;
  color: #fff !important;
}

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

/* align submenu text */
.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;
	letter-spacing: 0px;
}

/* buttons */

.btn-yellow {
 -webkit-border-radius: 0;
  -moz-border-radius: 0;
  color: #262626;
  font-weight: 300;
  font-size: 18px;
  background-color: #f9d334;
  box-shadow: 0px 4px 0px  #C69400;
  padding: 10px 25px 10px 25px;
  text-decoration: none; 
}

.btn-yellow:hover {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  color: #404040;
  font-weight: 300;
  font-size: 18px;
  background-color: #ffd00d;
  box-shadow: 0px 4px 0px  #C69400;
  padding: 10px 25px 10px 25px;
  text-decoration: none; 
}

/* end match lporg site */

.site-header {z-index:9999;}

#ast-scroll-top {background-color:#ffd00d !important;}

.ast-advanced-headers-title {text-align:center;}

/*-----------------------------------------------------------------------------------*/
/* Effected CiviCRM Styles Astra Only from child theme */
/*-----------------------------------------------------------------------------------*/

/* profiles */
.messages.help p {font-size:12px;}

.crm-container.crm-public .select2-container .select2-choice {padding: 0px 10px !important;}

.crm-price-amount-label {padding:5px;}

fieldset legend {margin-bottom:0px;}

#crm-container .crm-title {display:none;}

.action-item.crm-hover-button:hover {
	background-image:none !important;
	color:#025b97 !important;
}

/* CiviCRM Directory */
 .map_infowindow p:first-of-type{display:none;}

/* CiviCRM search*/
.crm-container .crm-accordion-wrapper .crm-master-accordion-header {background-color:#262626;}

/*-----------------------------------------------------------------------------------*/
/* Misc */
/*-----------------------------------------------------------------------------------*/

/* Caldera Form */
.caldera-grid .form-control {height:45px !important;}
.caldera-grid textarea.form-control {height:100px !important;}

/* EO single event */
.single .entry-header .post-thumb img {display:none;}

.entry-content h2 a {font-weight:900;}

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

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

/* blockquote */
.blockquote {
    padding: 2%;
    position: relative;
	font-style:italic;
	line-height: 1.75em;
	box-shadow: 0px 0px 3px 1px rgba(39,68,114,0.3);
	border-radius:5px;
	margin:2em 0em;
	background:#fff;
}

.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%;
}

/* elementor */
.elementor-post__title a {font-size:22px;}

.elementor-post__title a:hover {color:#e6b800;}

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

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

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