/*
Theme Name: CAMDR Custom
Description: Child theme for Avada theme
Author: WDK
Author URI: https://websitedesignkingston.com/
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* -- Custom CSS by Pam - WDK -- */

/* Global Styles */

.leaf-corner.cta-bg, .leaf-corner.sm-bg > div, .sponsor-title > div, .leaf-corner .fusion-column-inner-bg-image { background-size: 40%!important;}

.sponsor-title .fusion-title h2 img { margin-right: 20px;}

.leaf-corner.full-bg > div {background-size: contain!important;}

.cta-boxes {display:flex;}
.cta-boxes .content-container p, .cta-boxes .content-container {margin: 0!important;}

.red-bg {background: #be1e2d;}

.inner-padding { padding: 20px 40px;}

.nested-cta .fusion-builder-row-inner {
    align-items: center!important;
    margin-top: 30px;
    background-color: #be1e2d;
    color: #fff;
	width: 100% !important;
    max-width: 100% !important;
    margin-left: 0;
     margin-right: 0;
}

.leaf-bg .fusion-builder-row-inner, .sponsor-nested-cta .fusion-builder-row-inner {
    background-image: url(https://www.camdr.ca/wp-content/uploads/2021/06/maple-leaf-corner.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 30%;
}

/*copy boxes*/

.copy-line-wrap {
    background: #f0f1f3;
    padding: 2px 5px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    max-width: 350px;
    margin-bottom: 15px;
}

.copy-line-wrap .copy-the-code-wrap {
    display: inline-block;
    position: relative;
    flex-grow: 1;
}

.copy-line-wrap .copy-box {
    height: 40px;
    line-height: 40px;
    padding: 0 50px 0 20px;
    margin-bottom: 0;
    width: 100%;
    display: inline-block;
    vertical-align: middle;
}

.copy-line-wrap .copy-the-code-wrap.copy-the-code-style-svg-icon .copy-box .copy-the-code-button:hover svg {transition: 0.3s;}

.copy-line-wrap .copy-the-code-wrap.copy-the-code-style-svg-icon .copy-box .copy-the-code-button:hover svg {fill: #3d3d3d;}

/* Header */

.fusion-top-header .fusion-header, .fusion-secondary-main-menu {border-bottom: 2px solid #be1e2d!important;}

.fusion-header-v5 .fusion-sticky-header-wrapper { height: auto!important;}

	/* Top Bar */

ul#menu-header-top-menu { display: flex; }

li.translate-box { padding: 6px 0;}

li.menu-item.menu-item-gtranslate { margin-top: 3px;}

select#gtranslate_selector { height: 35px;}

.fusion-page-title-bar .swpm-post-not-logged-in-msg {display: none!important;}

/* logged-in user menu*/

.loggedin-menu span.menu-text .avatar {
	margin-right: 10px!important;
    height: 24px;
    width: auto;
    vertical-align: middle;
}

/* Footer*/

.fusion-footer-widget-area .widget-title {
	font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
    background: #2f2f2f;
    padding: 0 0 5px 10px;
}

.fusion-footer-widget-area h4.widget-title:before {
    display: inline-block;
    height: 30px;
    width: 30px;
    content: '';
    background: url(/wp-content/uploads/2021/12/camdr-leaf-sm-alpha-150x150.png) center center no-repeat;
    background-size: contain;
    margin-right: 10px;
    position: relative;
    bottom: -5px;
}

footer.fusion-footer-widget-area.fusion-widget-area {
    background-image: url(/wp-content/uploads/2021/06/maple-leaf-corner.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
}

footer a:not(li a) {
    text-decoration: underline;
    transition: 0.3s!important;
}

footer a:not(li a):hover {text-decoration: none;}

footer .widget_recent_entries .post-date {color: rgba(249, 249, 251, .7);}

/*home page news*/

div#hp-news .fusion-date-and-formats .fusion-format-box .awb-icon-pen:before {
    content: "\f1ea";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
}

/* Sidebars */

.sidebar .widget .widget-title { 
	font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
	display: flex; 
	margin-top:0; 
	font-weight: 800;
    margin-bottom: .85em;
}

#sidebar h4.widget-title:after {
    width: auto;
    height: auto;
    display: inline-block;
    content: "";
    margin: 8px 0 8px 10px;
    background: url(https://www.camdr.ca/wp-content/uploads/2021/06/maple-leaf-corner.png) bottom right no-repeat, #BE1E2E;
    background-size: 70px;
    flex-grow: 1;
}

#sidebar .ld-section-heading h4 {
    font-size: 20px;
    margin-top: -20px;
    margin-bottom: 10px;
}

/* Registration Form */

.pmpro_checkout:before, .pmpro_checkout:after {
     content:"";
     display:table;    
}

.pmpro_checkout:after {
     clear:both;
}

div.half-box {width: 50%;}

div.sm-box {width: 200px;}

div.box-float {float: left;}

div.clear-floats {clear: both;}

div.pmp-title {
    margin-bottom: 0!important;
    padding-top: 15px;
}

div.pmp-title h4 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 10px;
}

div.stack-radios div.pmpro_checkout-field-radio-item {
    display: flex;
    column-gap: 5px;
    margin-left: 15px!important;
    margin-bottom: 5px;
}

input#other_discount_code_button, input#discount_code_button, .pmpro_btn.pmpro_btn-submit-checkout {
    display: block;
    height: 42px;
    min-width: 110px;
    padding: 2px 50px!important;
    background-color: #be1e2d!important;
    color: #fff!important;
    font-weight: 700!important;
    text-decoration: none!important;
    border-radius: 6px;
	outline: none;
	border: none;
	transition: 0.3s;
}

input#other_discount_code_button:hover, input#discount_code_button:hover, .pmpro_btn.pmpro_btn-submit-checkout:hover {background-color: #000000!important;}

input[type="button"] {border-radius: inherit; line-height: inherit; letter-spacing: inherit;}

.pmpro_btn.pmpro_btn-submit-checkout:active, .pmpro_btn.pmpro_btn-submit-checkout:focus {background-color:#3d3d3d!important;}

/* Video Post (Webinars) */

.aiovg_videos-template-default .single-navigation {
    display: none!important;
}

.aiovg-single-video .aiovg-player-container, .aiovg-single-video .aiovg-meta {
    margin-bottom: 30px;
}

.aiovg .aiovg-description {
    margin-bottom: 20px;
}

.aiovg-meta {border-top: 1px solid #e2e2e2;}

	/* video post - sidebar */

#sidebar .aiovg .aiovg-responsive-container {display: none;}

#sidebar .aiovg .aiovg-thumbnail { margin: 0 15px 8px;}

#sidebar .aiovg .aiovg-caption { 
    margin: 0;
    padding: 7px 0 7px 10px;
	border-bottom: 1px solid #e2e2e2;
}	

#sidebar .aiovg-title:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f03d';
    margin-right: 4px;
    color: #666666;
    font-size: 15px;
    vertical-align: text-bottom;
    text-decoration: none!important;
}

#sidebar .aiovg .aiovg-title { font-weight: 600;}

#sidebar .aiovg-category {
    display: inline;
    margin-right: 10px;
}

#sidebar .aiovg-tag {
    display: inline;
}

/*logged out content*/

body.single-aiovg_videos article.aiovg_videos:has(.pmpro_content_message) .aiovg-player-container, body.single-aiovg_videos article.aiovg_videos:has(.pmpro_content_message) .post-content .aiovg-section-videos.aiovg-grid.aiovg-row {position: relative;}

body.single-aiovg_videos article.aiovg_videos:has(.pmpro_content_message) .aiovg-player-container:before, body.single-aiovg_videos article.aiovg_videos:has(.pmpro_content_message) .post-content .aiovg-section-videos.aiovg-grid.aiovg-row:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: rgb(255 255 255 / 55%);
    backdrop-filter: blur(3px);
    z-index: 5;
}

body.single-aiovg_videos article.aiovg_videos .pmpro_content_message {
    padding: 30px;
    background-color: #fbfbfb;
    background-image: url(https://www.camdr.ca/wp-content/uploads/2021/06/maple-leaf-corner.png.webp);
    background-position: center right;
    background-size: 500px;
    background-repeat: no-repeat;
    border-left: 4px solid #bf1e2d;
}

body.single-aiovg_videos article.aiovg_videos .pmpro_content_message a[href="https://www.camdr.ca/login/"] {
    background: #272727;
    border-color: #272727;
    color: #fff;
}

body.single-aiovg_videos article.aiovg_videos .pmpro_content_message a[href="https://www.camdr.ca/login/"]:hover {
    background: #bf1e2d;
    border-color: #bf1e2d;
}

body.single-aiovg_videos article.aiovg_videos .pmpro_content_message a[href="https://www.camdr.ca/membership/"] {
    background: #bf1e2d;
    border-color: #bf1e2d;
    color: #fff;
}

body.single-aiovg_videos article.aiovg_videos .pmpro_content_message a[href="https://www.camdr.ca/membership/"]:hover {
    background: #272727;
    border-color: #272727;
}

/*learn dash grids*/

.ld-course-list-items .ld_course_grid .thumbnail.course {
    border-top: 3px solid #be1e2d;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-bottom: 2px solid #dddddd;
	border-radius: 0;
}

.ld-course-list-items .ld_course_grid {
    margin-bottom: 30px;
    height: auto;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ld_course_grid_price.ribbon-enrolled {
    background: #fff;
    border: 1px solid #be1e2d;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ld_course_grid_price {
    background: #fff;
    box-shadow: 0 1px rgb(0 0 0 / 20%);
    -moz-box-shadow: 0 1px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 1px rgb(0 0 0 / 20%);
    color: #be1e2d;
    text-shadow: none;
    position: absolute;
    font-size: 14px;
    left: -10px;
    top: 10px;
    padding: 2px 9px;
    z-index: 2;
    font-weight: bold;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ld_course_grid_price.ribbon-enrolled:before {
    border-top: 4px solid #be1e2d;
    border-right: 5px solid #be1e2d;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ld_course_grid_price:before {
    left: -1px;
    bottom: -9px;
}

.ld-course-list-items .ld_course_grid > article {
    display: grid!important;
	grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: 100%!important;
}

.ld-course-list-items .ld_course_grid > article .caption {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
}	

.ld-course-list-items .ld_course_grid .caption .entry-title {
	color: #272727;
    font-size: 20px;
}

	/* button */

.ld-course-list-items .ld_course_grid .btn-primary {
    color: #ffffff;
    background-color: #be1e2d;
    border-color: #be1e2d;
}

.ld-course-list-items .ld_course_grid .btn {
	padding: 8px 12px;
	font-family: "Open Sans";
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0px;
    border-width: 0px;
    border-style: solid;
    border-radius: 4px;
    text-transform: none;
    transition: all .2s;
}

.ld-course-list-items .ld_course_grid .btn-primary:hover {
    color: #ffffff;
    background-color: #000;
    border-color: #000;
}

.ld-course-list-items .ld_course_grid .btn-primary:focus, .ld-course-list-items .ld_course_grid .btn-primary:active, .ld-course-list-items .ld_course_grid .btn-primary.active, .ld-course-list-items .ld_course_grid .open .dropdown-toggle.btn-primary {
	background-color: #3d3d3d;
    border-color: #3d3d3d;
}

/* Sponsor Post*/

.avada_portfolio h2, .avada_portfolio h3:not(.fusion-title h3) {color: #272727!important;}

.avada_portfolio .fusion-video {margin: 0 auto;}

.fusion-body .brand-links blockquote {
	padding: 40px;
	font-style: normal;
}

a.sponsor-modules-button:not([href]) {	display: none;}

li.list-title {
    display: block;
    Font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    margin-left: -20px;
}

.sponsor-brochure-box ul:not(:only-child) {
    width: 50%;
    padding-right: 20px;
    float: left;
}

.sponsor-brochure-box ul:last-child {clear:right;}

.sponsor-brochure-box ul:nth-child(odd) {
    clear: left;
}

.sponsor-brochure-box h2,
.sponsor-brochure-box h3,
.sponsor-brochure-box h4,
.sponsor-brochure-box h5,
.sponsor-brochure-box h6 {
    clear: both;
}

/* Executive Committee Post */

.ec-title-block {
	margin-left: 2%;
	margin-right: 2%;
    background: #be1e2c;
    background-image: url(https://www.camdr.ca/wp-content/uploads/2021/06/maple-leaf-corner.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 50%;
}

/*online pdf preview*/

.pdf-pymt-details p span.phone-unl {
    border-bottom: 1px dotted #aaaaaa;
}
.pdf-pymt-details p {
    margin: 10px 0 0;
}
.HideForNow{
	display:none !important;
}

/*events notice css*/

.wrap-notice p {
    margin-bottom: 0;
    padding: 10px 20px;
    display: inline-block;
    background: rgb(0 0 0 / 40%);
    border-radius: 4px;
    margin-right: 1px;
}

.wrap-notice p .info-note {
    color: inherit;
    font-weight: 600;
}

.wrap-notice p .info-note:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f05a";
    font-size: 14px;
    margin-right: 2px;
    color: #be1e2d;
    display: inline-block;
    top: -5px;
    position: relative;
}