/**
Theme Name: CCCSQC
Author: Martin Guindon
Author URI: https://www.hurakan.ca/
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: cccsqc
Template: astra
*/

p + p {
	margin-top: 1em !important;	
}

/* Elements */

.uabb-creative-button-text {
	padding-bottom: 4px;
}

/* Header */

.header-main-layout-1 .main-navigation {
    padding-left: 15px;
    vertical-align: middle;
}

.ast-above-header-navigation .sub-menu a, .ast-above-header-navigation .sub-menu a:hover {
    color: #000;
}

/* Home */
.uabb-post-meta {
    margin-bottom: 0;
}

.uabb-blog-post-section {
    margin-bottom: 8px !important;
}

.uabb-meta-date {
	font-weight: 100 !important;
}

.uabb-blog-post-content .uabb-button-wrap {
    padding-top: 26px;
    display: block;
}


.featured-container {
    padding: 20px;
    background-size: cover !important;

}

.featured-container .read-more {
    display:none;
 }

.featured-container, .featured-container h3 a, .featured-container h5 {
    color: #fff !important;
}

.uabb-post-wrapper .uabb-blog-post-content {
    min-height: 186px;
}

.news-box-left {
    background-size: cover !important;
}
.news-box-right, .news-box-left {
    width: 100%;
}



@media (min-width: 921px) {
    .news-box-right, .news-box-left {
        width: 50%;
    }
    .cccsqc-news-box .fl-row-fixed-width {
    max-width: 100%;
    width: 100%;
    }
    .cccsqc-news-box .fl-module-content {
        margin: 0;
    }

    .cccsqc-news-box .fl-row-content-wrap {
        padding: 0;
    }
    .news-box-container {
        display: flex;
        flex-direction: row;
    }
    .featured-container {
        padding: 80px;
        width: 50%;
    }
    .fl-node-6049147ef2478 .fl-rich-text p {
    display: none;
}
}

/* News Page */
.ast-article-single .widget-title {
	font-size: 25px;
}

.widget_categories a,
.widget_archive a {
	font-size: 18px;
}

/* About */

.uabb-team-content {
	padding: 15px 0 !important;
}

.cccsqc-directory-page .h3.pmpro_member_directory_display-name, .cccsqc-directory-page p.pmpro_member_directory_first_name, .cccsqc-directory-page p.pmpro_member_directory_company, .cccsqc-directory-page p.pmpro_member_directory_last_name, .cccsqc-directory-page p.pmpro_member_directory_link a, .cccsqc-directory-page p.pmpro_member_directory_link {
	font-size: 16px !important;
	margin: 9px 0 !important;
}

p.pmpro_member_directory_company {
	width: 40%;
}

p.pmpro_member_directory_first_name {
	width: 30%;
}

p.pmpro_member_directory_last_name {
	width: 20%;
}
p.pmpro_member_directory_link {
	width: 10%;
	text-align: right !important;
}

.pmpro_member_directory.pmpro_member_directory-div {
    padding: 0px 15px !important;
    background-color: white;
}

.pmpro_pagination {
	font-size: 16px !important;
	margin-top: 10px !important;
}


h3#pmpro_member_directory_subheading, .search-field {
    font-size: 16px !important;
    margin-bottom: 18px !important;
}

.cccsqc-directory-page .pmpro_member_directory_company strong, .cccsqc-directory-page h3.pmpro_member_directory_display-name,.cccsqc-directory-page .pmpro_member_directory_last_name strong, .cccsqc-directory-page .pmpro_member_directory_first_name strong {
	display: none !important
}
/* Members Page */

#pmpro_member_directory_subheading {
	font-size: 18px;
    font-family: Rubik, sans-serif;
    font-weight: 100;
}

#pmpro_member_directory_subheading small {
	display: block;
}

.pmpro_member_directory.pmpro_member_directory-div {
	padding: 1.5em;
	background-color: white;
}

.pmpro_member_directory-item {
	display: flex;
	justify-content: space-between;
	border-bottom: #eaeaea 1px solid;
	margin-bottom: .5em;
}

.pmpro_member_directory-item:last-child {
	border-bottom: 0;
	margin-bottom: 0;
}
#pmpro_billing_address_fields .pmpro_checkout-fields {
    display: flex;
    flex-wrap: wrap;
}



@media (min-width: 921px) {
form.pmpro_form #pmpro_billing_address_fields .pmpro_checkout-fields div, #loginform p {
    margin: 0 0 10px;
    width: 50%;
}

    }

form.pmpro_form .input, form.pmpro_form textarea, form.pmpro_form select, #loginform input[type=text], #loginform input[type=password] {
    display: inline-block;
    max-width: 100%;
    width: 90%;
}

.pmpro_payment-expiration select {
    width: 40% !important;
}

#hide_directory {
    margin-right: 10px;
}

.pmpro_checkout_box-checkout_boxes {
    margin-top: 20px;
}
.pmpro_checkout_box-checkout_boxes .pmpro_member_profile_edit-fields {
    display: flex;
    flex-wrap: wrap;
}

.pmpro_checkout-field {
    width: 100%;
}
#city_div, #postcode_div, #province_div, #firstname_div, #lastname_div, #salutations_div {
    width: 31.1%;
}

#language_div {
    margin-top: 50px;
}

#phone_div {
    margin-bottom: 60px;
}

#pmpro_checkout_box-checkout_boxes .pmpro_checkout-fields {
    display: flex;
    flex-wrap: wrap;
}

form.pmpro_form input[type=checkbox] {
    cursor: pointer;
    display: inline-block;
    width: auto;
    margin-right: 10px;
}

form.pmpro_form .pmpro_checkout-field-checkbox label {
    cursor: pointer;
    display: inline;
    width: auto;
}

.pmpro_checkout h3 span.pmpro_checkout-h3-msg a {
    font-size: 11px !important;
    font-style: italic;
    font-weight: normal;
    letter-spacing: normal;
    background: #d14d45;
    color: white;
    padding: 5px 10px;
    display: inline-block !important;
    vertical-align: middle !important;
    text-transform: capitalize;
    margin-left: 10px !important;
}

#pmpro_pricing_fields h3 span.pmpro_checkout-h3-name {
    margin: 0;
    display: inline-block;
}

.uabb-pricing-table {
    min-height: 364px;
}

h3 span.pmpro_checkout-h3-msg {
    display: inline-block;
    vertical-align: middle;
    
}

.pmpro_checkout h3 span.pmpro_checkout-h3-name, .pmpro_member_profile_edit_wrap .pmpro_checkout_box-checkout_boxes h3 {
    display: none;
}

#page-title_div {
    width: 100%;
}

#page-title_div label {
    display: none;
}

#page-title_div h3 span, #pmpro_payment_method h3 span, #pmpro_payment_information_fields h3 span, #page-title_div h3 {
    display: inline-block !important;
}

#page-title_div h3 {
    margin-top: 35px;
}

.pmpro_member_directory_avatar {
    display: none;
}

form.pmpro_member_directory_search {
    float: none;
    margin-bottom: 1rem;
    clear: both;
}

.pmpro_actions_nav {
    margin-bottom: 30px !important;
}

#consent_div #consent {
    float:  left;
}

#consent_div .pmpro_asterisk {
    display:  none;
}


/* MailChimp */

.yikes-easy-mc-email {
	font-size: 16px;
}

.yikes-easy-mc-submit-button {
	font-size: 18px;
}

.yikes-easy-mc-submit-button:hover,
.yikes-easy-mc-submit-button:active, 
.yikes-easy-mc-submit-button:focus {
	background-color: #fff;
	color: #d14d45;
	border-color: #fff;
}

/* Footer */
footer a:hover,
footer a:active,
footer a:focus,
footer .link-text:hover,
footer .link-text:active,
footer .link-text:focus {
	color: #d14d45 !important;
}

/* Latest News */
.fl-post-grid-empty {color: white;}
.fl-module-blog-posts input {font-size: 16px;}
.fl-module-blog-posts input[type="submit"] {
	display: block;
	margin-top: 1em;
}

.fl-module-blog-posts input[type="submit"]:focus,
.fl-module-blog-posts input[type="submit"]:active,
.fl-module-blog-posts input[type="submit"]:cover {
	background-color: white;
	border-color: white;
	color: #d14d45;
}

/* Events */

.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn {
    color: #fff;
    font-family: 'Rubik',sans-serif
    font-size: 18px !important;
    line-height: 1;
    font-weight: 400;
    border: 0;
    cursor: pointer;
    display: inline-block;
    height: auto;
    padding: 0;
    text-decoration: none;
    width: auto;
    color: #fff;
    text-align: center;
    transition: background-color .2s ease;
    background-color: #d14d45;
    padding: 13px 30px;
    width: 100%;
    border: 2px solid #d14d45;
    border-radius: 50px;
}

.tribe-common .tribe-common-c-btn:focus, .tribe-common .tribe-common-c-btn:hover, .tribe-common a.tribe-common-c-btn:focus, .tribe-common a.tribe-common-c-btn:hover {
    background-color: #fff;
    color: #d14d45;
}


.tribe-events .tribe-events-c-ical__link {
	background-color: #d14d45;
	border-color: #d14d45;
	color: #fff;
}
.tribe-common .tribe-common-c-svgicon {
	color: #fff;
}

.tribe-events .tribe-events-c-ical__link:hover {
	background-color: #fff;
    color: #d14d45;
}

 .tribe-events .tribe-events-c-ical__link:hover .tribe-common-c-svgicon {
 	color: #d14d45 !important;
 }

 .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event {
    flex-direction: row-reverse;
    justify-content: flex-end;
    width: 100%;
}

.event-shortcode h3 a, .event-shortcode .uabb-blog-posts-description, .event-shortcode .uabb-meta-date {
	color: #fff !important;
}

.event-shortcode .uabb-button  {
	    border-style: solid !important;
    border-width: 0 !important;
    background-clip: border-box;
    background-color: #d14d45 !important;
    border-color: #d14d45 !important;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    color: #fff !important;
    font-size: 18px !important;
        padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 30px;
    padding-right: 30px;
    transition: all 0.3s;
}

.event-shortcode .uabb-button:hover  {
        border-style: solid !important;
    border-width: 0 !important;
    background-clip: border-box;
    background-color: #fff !important;
    color: #d14d45 !Important;
}

.event-shortcode .read-more {
	display: none !important;
}

.tribe-events-calendar-latest-past {
    display: none;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text {
    color: #d14d45;
}

.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after {
    background-color: #d14d45;
}

/* Archives Info-Suisse */

.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px !important;
}

.magazine-grid .magazine-item {
    width: 32%;
    position: relative;
    margin-bottom: 20px;
}

.magazine-grid .magazine-item .magazine-title {
    position: absolute;
    background: #d14d45;
    width: 100%;
    padding: 10px;
    bottom: 0;
    text-align: center;
    left: 0;
    color: #fff;
}

.suisse-bouton a {
    background-color: #d14d45 !important;
        font-size: 18px !important;
    border: 1px solid #c54139 !important;
    border-color: #d14d45 !important;
    border-top-width: 2px !important;
    border-right-width: 2px !important;
    border-bottom-width: 2px !important;
    border-left-width: 2px !important;
    border-top-left-radius: 50px !important;
    border-top-right-radius: 50px !important;
    border-bottom-left-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
    transition: all 0.3s;
    color: #fff !important;
}
.suisse-bouton a span {
    color: #fff !important;
}

.suisse-bouton a:hover span {
    color: #d14d45 !important;
}


.suisse-bouton a:hover {
    background: #fff !important;
}


/* Become a member */

.couple .uabb-button-wrap {
    margin-top:  105px !important;
}
.couple-en .uabb-button-wrap {
    margin-top:  88px !important;
}

/* Ad rotate */

.inserted-image {
    padding: 1.5em;
    text-align: center;
    background: #fff;
    width: 100%;
    border-bottom: 1px solid #dddddd;
}

#fzvczmyttt-2 {
    text-align: center;
}

@media (min-width: 921px) {
    .inserted-image {
        width: 50%;
    }

    #fzvczmyttt-2 {
        text-align: left;
    }
}

/* Your message block */
.your-message {
    display: none;
    margin-top: 1em !important;
}

.pmpro_billing_wrap p {
    display: none;
}