/**
Theme Name: EAZ
Author: Michael Chishala (michael@zambia.co.zm)
Author URI: https://michaelchishala.com
Description: EAZ Custom theme
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: eaz
Template: astra
*/

/* Custom styles */

@charset "UTF-8";

/* wpDataTables */
.wpDataTablesWrapper .wpDataTableFilterSection {
    padding: 10px !important;
}

.wpDataTablesFilter .wpDataTableFilterSection:not(#wdt-clear-filters-button-block):not(#wdt-pf-search-filters-button-block) {
    width: 167px !important;
}

td.wdt-sum-cell, td.wdt-avg-cell {
    text-align: left !important;
}

button.wdt-clear-filters-button, button.wdt-clear-filters-button:hover {
    color: #ffffff !important;
}

td.wdt-sum-cell {
    text-align: center !important;
}

.wpdt-c.wdt-skin-light {
    float: left;
    width: 100%;
}

.wpdt-c .wpDataTablesWrapper {
    font-size: 16px !important;
}

table.wpDataTable tbody tr td {
    vertical-align: top !important;
}

@media (max-width: 767px) {
    .wpdt-c .wpDataTablesWrapper {
        font-size: 12px !important;
    }
}

.winner-name {
    font-size: 16px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

.winner-position {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 10px;
}

.candidate-name {
    font-size: 16px !important;
    font-weight: bold !important;
}

.board-table {
    max-width: 272px !important;
}

/* Member Details */
.member-table {
    max-width: 900px;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(0,0,0,0.1);
}
   
.member-cell {
    /*border-right: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1); */
    padding: 5px 5px 5px 7px;
    margin: 0;
    float: left;
    text-align: left;
}

.member-cell-small {
    padding-left: 7px;
    margin: 0;
    float: left;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.member-cell-container {
    float: left;
}
   
.member-table-display {
    width: 100%;
    display: table;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: #fafafa;
    margin-top: 15px;
}
   
.member-table h1 a, .member-table h2 a, .member-table h3 a, .member-table h4 a, .member-table h5 a, .member-table h6 a {
    color: #1e73be;
}

.member-heading {
    background-color: #c1e8c4; /* original #a8c1aa */
}

.member-small-text {
    font-size: 85%;
}

.member-photo {
    border: 1px solid rgba(0,0,0,0.12);
    max-width: 450px;
}

.bio {
    padding: 10px 15px 10px 15px;
    clear: both;
}

.key {
    padding: 10px;
    clear: both;
}

.messages-table-display {
    max-width: 700px;
    width: 100%;
    display: table;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: #fafafa;
    margin-top: 15px;
}

.conferences-table-display {
    max-width: unset;
}

/* Misc. custom styles */
html, body {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-size: 100% !important;
}

#center, .center {
    text-align: center !important; 
    padding: 0;
    margin: 0;
}

.left {
    text-align: left !important; 
}

.right {
    text-align: right !important; 
}

.center-content {
    text-align: center !important;
}

.invisible {
    display: none !important;
}

.bold {
    font-weight: bold !important;
}

img.admin-icons {
    width: 22px;
    padding: 5px 0 5px 0;
}

img.status-icons {
    width: 25px;
    padding: 0 5px 0 0;
}

.header-main-layout-2 .site-branding {
    padding-bottom: 0;
}

.main-header-bar {
    line-height: unset;
}

.site-logo-img {
    float: left;
    margin: 0 10px 0 0;
    max-width: 80px;
    vertical-align: middle;
}

.display-logo {
     width: 200px;
}

.login-form {
    width: 330px;
    padding: 
}

@media (max-width: 767px) {
    .login-form {
        width: 100%;
    }
}

.page-title, .page-title a {
    font-size: 30px;
    font-weight: 700;
    border-bottom: 1px solid #cccccc;
    margin: 10px 10px 0 0;
    padding-bottom: 10px;
    color: #54595F;
}

@media (max-width: 767px) {
    .page-title, .page-title a  {
        font-size: 24px;
    }
}

.float-left {
    float: left;
}

.fifth-width {
    width: 20%;
}

.quarter-width {
    width: 25%;
}

.third-width {
    width: 33.3333333333%;
}

.half-width {
    width: 50%;
}

@media (max-width: 767px) {
    .half-width {
        width: 100%;
    }
}

.three-quarters-width {
    width: 75%;
}

.full-width {
    width: 100%;
}

.table-wrap {
    overflow: hidden;
}

.small-caps {
    font-variant: small-caps;
}

.padding {
    padding: 15px;
}

.padding-top {
    padding-top: 15px;
}

.padding-bottom {
    padding-bottom: 15px;
}

.padding-top-bottom {
    padding: 15px 0 15px 0;
}

.padding-left {
    padding-left: 15px;
}

.padding-right {
    padding-right: 15px;
}

.padding-left-right {
    padding: 0 15px 0 15px;
}

.margin-top {
    margin-top: 10px;
}
   
.margin-bottom {
    margin-bottom: 10px;
}
   
.margin-left {
    margin-left: 10px;
}
   
.margin-right {
    margin-right: 10px;
}

.user-photo {
    max-width: 450px;
    width: 100%;
    height: auto;
}

.site-content {
    background-color: #f5f5f5 !important;
}

#primary {
    padding: 20px 30px 30px 0 !important;
}
    
#secondary {
    text-align: center;
}

#main {
    padding-right: 0px;
    padding-left: 20px;
}

.ast-single-post .entry-title {
    font-size: 2.0rem;
    border-bottom: 1px solid #cccccc;
    padding: 10px 0 15px 0;
}

.ast-archive-description {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    padding: 0 10px 0 10px !important;
}

.ast-container {
    padding: 0;
}

@media (min-width: 769px) {
    .ast-container {
        display: inherit;
    }
    
    #secondary {
        display: inherit;
    }
    
    #main {
        width: 100%;
    }
}

.ast-page-builder-template .entry-header {
    margin-top: 0;
}

.entry-content {
    padding-left: 20px;
    text-align: justify;
}

.page .entry-header {
    margin-bottom: 0;
}

.entry-header {
    padding-right: 0 !important;
}

.maroon, h1.maroon, h2.maroon, h3.maroon, h4.maroon, h5.maroon, h6.maroon {
    color: #990000;
}

.border-right {
    border-right: 1px solid rgba(0,0,0,.1);
}

.border-left {
    border-left: 1px solid rgba(0,0,0,.1);
}

.border-top {
    border-top: 1px solid rgba(0,0,0,.1);
}
   
.border-bottom {
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.border {
    border: 1px solid rgba(0,0,0,.1);
}

/* Theme My Login forms */
.tml-forms {
    width: 300px;
}

.tml-label {
    font-weight: 700;
    text-transform: uppercase;
}

.tml-indicator-wrap {
    display: none;
}

.tml-login-link, .tml-lostpassword-link {
    list-style: none;
    margin-left: -40px;
}

/* Woo Commerce */
button.single_add_to_cart_button.button.alt {
    background-color: #17a14a;
}

.woocommerce a.button, .woocommerce button.button, .woocommerce button.button.alt, .woocommerce .woocommerce-message a.button, .woocommerce a.button, .woocommerce a.button.alt {
    background: #17a14a;
}

.woocommerce-message, .woocommerce-info {
    border-top-color: #17a14a;
}

.woocommerce-message::before {
    content: '\e015';
    color: #17a14a !important;
}

input[name='update_cart'] {
    display: none !important;
}

button[name='update_cart'] {
    display: none !important;
}

/* Articles */
.article-text {
    font-size: 18px;
    text-align: justify;
}

.article-image {
    float: left;
    width: 60%;
    height: auto;
    margin: 5px 20px 7px 0;
    border: 1px solid #dddddd;
}

.article-caption {
    font-size: 15px;
    text-align: justify;
    color: #444444;
    background-color: #dedede;
    padding: 10px;
    line-height: 1.5;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .article-text {
        font-size: 18px;
    }

    .article-image {
        margin: 3px 15px 5px 0;
    }
}

@media (max-width: 767px) {    
    .article-text {
        font-size: 14px;
    }

    .article-image {
        width: 100%;
        margin: 0 0 5px 0;
    }
}

/* WP Forms */
.wpforms-field-description {
    color: #b233e5;
}

.wpforms-container ::-webkit-input-placeholder { /* Chrome and Safari */
    color: #bbbbbb;
 }
  
 .wpforms-container :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #bbbbbb;
    opacity: 1;
 }
  
 .wpforms-container ::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #bbbbbb;
    opacity: 1;
 }
  
 .wpforms-container :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #bbbbbb;
 }
  
 .wpforms-container ::-ms-input-placeholder { /* Microsoft Edge */
    color: #bbbbbb;
 }

 .wpforms-form input[type=submit], .wpforms-form button[type=submit] {
    background-color: #17a14a !important;
    color: #fafafa !important;
}

 /* Member fees and categories */
 #fees-table {
    border-left: 1px solid #666;
    border-bottom: 1px solid #666;
    margin-top: 15px; 
    width: 100%;
 }

 #fees-heading {
    background-color: #92d050;
    font-weight: bold;
}

#fees-sub-heading {
    background-color: #d9d9d9;
    font-weight: bold;
}

#fees-cell {
    padding: 7px;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    line-height: 1.2;
}

#fees-data {
    background-color: #fafafa;
}

#logged-in {
    font-size: 13px;
    color: #3A3A3A;
    text-align: right;
    padding-right: 8px;
}

#member-categories {
    line-height: 1.5;
}

.pay-half {
    width: 50%;
    float: left;
    padding: 10px 20px 10px 0;
}

@media (max-width: 767px) {
    .pay-half {
        width: 100%;
        padding: 0;
    }
}

.message {
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #cccccc;
}

.invoice-link {
    padding: 0 0 5px 0;
    width: 100%;
}

.green-menu > ul {
    background-color: #17a14a /!important;
    padding: 0 10px;
}

ul#menu-1-802d7f7, ul#menu-1-4ce4a17 {
    background-color: #17a14a; /* #198900 */
    padding: 0 10px;
}

.members-menu-title {
    color: #990000;
    display: block;
    padding: 11px 5px 0 0;
}

@media (max-width: 767px) {
    .members-menu-title {
        padding: 0;
    }
}

.product-remove a.remove {
    border-color: #dd0000;
    color: #dd0000;
}

/* Misc */
.user-data-wrapper {
    float: right;
    background-color: #ffffff;
    border: 0px solid #dedede;
    padding: 5px 7px 5px 7px;
}

.user-details {
    display: inline;
    vertical-align: middle;
    padding: 3px 3px 3px 10px;
    font-size: 11px;
}

.user-org-logo {
    float: left;
}

.user-org-logo img {
    max-height: 30px;
}

.logo-forms {
    max-height: 100px;
}

.field-title {
    padding: 0 0 7px 0;
}

.icon-legend {
    padding: 5px 0 0 0;
    text-align: left;
}

.ast-sticky-active {
    min-width: 100%;
}

.sidebar-main {
   padding: 30px 20px 20px 20px;
   width: 100%;
}

.breadcrumbs, .site-tagline {
    font-size: 14px;
    color: #538dd5;
}

.site-tagline {
    font-style: italic;
}

.site-title-wrapper {
    float: left;
}

.site-title {
    width: 190px;
}

.page-footer, .page-footer a {
    color: #3A3A3A;
    font-size: 15px;
    padding-top: 10px;
}

.edit-icon {
    width: 20px;
    float: right;
    padding-top: 15px;
}

.ast-right-sidebar #secondary {
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ast-site-title-wrap {
    float: left;
    width: 100px;
    height: auto;
    display: flex;
}

.bullet {
    display: list-item;
    list-style-type: disc;
    list-style-position: inside;
}

.wp-caption-text {
    padding: 5px 0 5px 0;

}

.article-pic {
	height: 420px;
	width: 600px;
}

.photo-icon {
    max-width: 200px;
    max-height: 200px;
    border: 1px solid #aaa !important;
}

.resume-icon {
    max-width: 120px;
    max-height: 180px;
}

hr {
    background-color: #cccccc !important;
    margin: 20px 0 20px 0 !important;
}

.justify {
    text-align: justify;
}

.fa-sign-in-alt, .fa-sign-out-alt {
    margin-top: 2px;
}

.radio-button-selector input[type="radio"]{
    /*display: inline-block;*/
    margin: 10px 20px 0 0;
    float: left;
}

.underline {
    border-bottom: 1px solid #cccccc;
}

.big-indent {
    padding-left: 73px;
}

.rotate-90-left {
    transform: rotate(-90deg);
    padding: 0;
}

.conference-photo {
    max-width: 400px;
    float: left;
    margin: 0 0 10px 10px;
    border: 1px solid #c1e8c4;
}

.top-border {
    border-top: solid 1px #c1e8c4;
    float: left;
}

@media (max-width: 1024px) {
    .rotate-90-left {
        transform: rotate(-90deg);
        padding: 10px 0 0 0;
    }
}

@media (max-width: 767px) {
    .laptop {
        display: none;
    }

    .rotate-90-left {
        transform: rotate(-90deg);
        padding: 40px 0 0 0;
    }
}

@media (min-width: 768px) {
    .mobile {
        display: none;
    }
}

/* Elections */
.wpforms-image-choices-image img {
    width: 235px !important;
    object-fit: cover;
    object-position: center;
}

.wpforms-container.wpforms-inline-labels .wpforms-field-container .wpforms-field-label {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #990000;
    padding-bottom: 20px;
}

div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-modern .wpforms-selected label {
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.5) !important;
}

div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-modern .wpforms-selected .wpforms-image-choices-image:after {
    width: 40px !important;
    height: 40px !important;
    padding: 3px !important;
    top: 210px !important;
}

text.highcharts-subtitle {
    text-transform: uppercase !important;
    font-size: 18px !important;
    font-weight: bold !important;
}

.election-results {
    max-height: 490px;
    min-height: 230px;
    text-align: center !important;
    border: 1px solid #cccccc;
    background-color: #fafafa;
    padding-top: 20px;
    margin-bottom: 20px;
    float: left;
    width: 100%;  
}

.election-results-area {
    margin-top: -150px;
    margin-bottom: -150px;
}

.election-heading {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #990000 !important;
    border-bottom: 1px solid #cccccc !important;
    display: inline !important;
    margin-bottom: 15px !important;
    padding-bottom: 3px !important;
}

.election-title {
    font-size: 30px;
    font-weight: bold;
    clear: both;
}

.election-sub-title {
    font-size: 25px;
    font-weight: bold;
}

.election-select {
    border: 1px solid #cccccc;
    background-color: #fafafa;
    padding: 10px 20px 0 20px;
    margin-bottom: 20px;
    float: left;
    min-width: 410px;
    position: relative;
    z-index: 10;
}

.year-select {
    min-width: 150px;
}

img.candidate-icon {
    width: 100px;
    padding: 5px 10px 5px 0;
}

img.candidate-icon-small {
    width: 70px;
    padding: 3px 10px 3px 0;
}

.vote-text {
    font-size: 20px;
    font-weight: bold;
}

.election-buttons {
    margin-bottom: 20px;
    float: left;
    width: 100%;
    font-size: 17px;
    padding-bottom: 20px;
    border-bottom: 1px solid #cccccc;
}

.buttons {
    float: left;
    margin-right: 20px;
}

.small-buttons {
    float: left;
    margin-right: 15px;
    font-size: 17px;
    padding: 15px;
}

.candidate-wrapper {
    width: 100% !important;
    float: left !important;
    padding: 10px 0 15px 0 !important;
    border-bottom: 0px solid #dddddd !important;
}

.candidate-data {
    width: 100% !important;
    float: left !important;
    font-size: 14px !important;
}

.candidate-data-half {
    width: 50% !important;
    float: left !important;
    display: block !important;
    padding-right: 50px !important;
    border: 0px solid #333 !important;
}

.candidate-photo-full {
    max-width: 370px !important;
    width: 100% !important;
    border: 1px solid #ccc !important;
    margin: 10px 0;
    padding: 0;
}

.candidate-photo {
    height: 235px !important;
}

.subs-info {
    font-size: 14px !important;
}

/* Smartphone and tablet */
@media (max-width: 1024px) {
    .small-buttons {
        margin: 0 15px 15px 0;
    }
}

/* Smartphone */
@media (max-width: 767px) {
    img.candidate-icon {
        display: block;
    }

    .election-results {
        max-height: 350px;
    }

    .election-results-area {
        margin-top: -220px;
    }

    .election-title {
    font-size: 22px;
    }

    .election-sub-title {
    font-size: 18px;
    }

    .election-select {
        min-width: 100%;
    }

    .candidate-data-half {
        width: 100% !important;
        padding-right: 0 !important;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 768px) {
    .election-results-area {
        margin-top: -160px;
    }
}

/* Election Menus */ 
div.election-menu ul {
    background-color: #17a14a;
    margin: 0 0 20px 0;
    list-style-type: none;
    list-style: none;
    list-style-image: none;
    display: inline-block;
    width: 100%;
    font-size: 0;
}

div.election-menu li {
    display: inline-block;
    font-size: 14px;
} 

div.election-menu a {
    color:#ffffff;
    font-weight: bold;
    padding: 13px 10px 14px 10px;
}

div.election-menu a:hover {
    background-color:#3a3a3a;
}

button.election-menu {
    padding: 15px 0;
}

button.election-menu a:hover {
    background-color:#3a3a3a;
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 768px) {
    div.election-menu li {
        font-size: 13px;
    }

    div.election-menu a {
        padding: 13px 7px 13px 7px;
    }
}

/* Mobile */
.mobile-elections {
    display: none; /* Initially hide the mobile menu */
}

/* CSS media query for mobile devices */
@media (max-width: 767px) {
    .main-elections {
        display: none; /* Hide the main menu on smaller screens */
    }

    .mobile-elections {
        display: block; /* Show the mobile menu on smaller screens */
    }
}

/* Styling for hamburger icon */
.hamburger-icon {
    display: inline-block;
    width: 25px;
    height: 3px;
    background-color: #17a14a; /* Adjust color as needed */
    position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #17a14a; /* Adjust color as needed */
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    bottom: -8px;
}

/* CSS media query for mobile devices */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none !important; /* Hide toggle button on larger screens */
    }
}
