/*
Theme Name: Connect Assignment
Theme URI: 
Author: Iconica Communications
Author URI: https://iconica.ca
Description: For Ryan Coyle's Connect Assignments website. 
Tags: full-site-editing
Version: 2024-8-23.1727130016
Text Domain: connectassignments
Tags: 
*/

:root {
    font-size: 18px;
    --disclaimer-text-size: 0.8rem;
}
a {
    transition: all 0.5s;
}

.wp-block-social-link a {
}

.entry-content .wp-block-columns:not(.entry-content > .alignfull) {
}
.wp-block-template-part {
}
body :where(.wp-site-blocks) > * {
    margin-block-start: 0;
}

/* ============================== Header ============================== */
header nav {
    margin-top: 5px !important;
}
header nav .wp-block-navigation__container {
    gap: 18px;
}
.home .slider-main-buttons .inner-column > div {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 20px;
}
.home .slider-main-buttons .inner-column a {
    width: 11rem;
}
header .right-column > div {
    width: 100%;
}

/* ============================== Footer ============================== */
footer .is-vertically-aligned-stretch {
    flex-direction: column;
    justify-content: space-between;
    display: flex;
}
footer .wp-block-social-links {
    padding-bottom: 10px;
}
footer a {
    text-decoration: none;
}
footer .wp-block-epico-dynamic-year-block p {
    font-size: 0.75rem;
    margin: 18px 0 50px;
}

/* ============================== .post-blocks items ============================== */
body .post-blocks {
    color: var(--wp--preset--color--custom-violet);
    gap:16px;
    display:flex;
    flex-wrap: wrap;
}
body .post-blocks .post-block {
    margin-bottom: 55px;
    flex-basis: calc(25% - 19px);
    display: flex;
    flex-wrap: wrap;
    flex-direction: inherit;
    align-content: space-between;
}
.post-block .listing_status {
  position: absolute;
  background: rgba(64,50,84,0.9);
  width: 65px;
  height: 65px;
  border-radius: 33px;
  font-size: 12px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  box-sizing: border-box;
  line-height: 1em;
  color: #fff;
  top: 8px;
  left: -8px;
  z-index: 999;
}
body .post-blocks figure {
    aspect-ratio: 4/3;
    height: auto;
    margin-bottom:18px;
    position: relative;
}
.post-block figure a {
    background-size: cover;
    height: 100%;
    width: 100%;
    display: block;
}
.post-blocks .post-block > div {
    width: 100%;
    position: relative;
}
.post-block .wp-block-post-title {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: solid 1px #79cad1;
    margin-bottom: 8px;
}
body .post-blocks .price {
    display: block;
}
body .post-blocks a.moreinfo_link:hover {
    background-color: var(--wp--preset--color--custom-violet);
  }
body .post-blocks .divider {
    color: var(--wp--preset--color--custom-aqua);
  }

/* Classes to set different widths */
body .post-blocks .post-block.one-half {
    flex-basis: calc(50% - 8px);
}
body .post-blocks .post-block.one-third {
    flex-basis: calc(33% - 10.5px);
}
body .post-blocks .post-block.one-quarter {
    flex-basis: calc(25% - 12px);
}
body .post-blocks .post-block.one-fifth {
    flex-basis: calc(20% - 12.5px);
}

/* Pagination */
.post-blocks .wp-block-query-pagination {
    width: 100%;
}
.post-blocks .is-content-justification-center {
    justify-content: center;
}

/* ============================== Block: Listing List Block ============================== */
.listing-list-block .post-block > div > span {
    display: block;
    line-height: 1.4rem;
}

/* ============================== Block: Post Query ============================== */
body .wp-block-query a.wp-block-post-excerpt__more-link,
body .wp-block-query .wp-block-read-more,
body .post-blocks a.moreinfo_link {
    padding: 8px 26px;
    background-color: var(--wp--preset--color--custom-canary);
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 15px;
    font-size: 0.8rem;
}
body .wp-block-query .wp-block-post .preview_part1 {
    min-height: 28em;
}

/* ====================== Contact Form Elements ====================== */
label {
    color: #1e323d;
  }
input, textarea {
    background-color: #fff;
    border: solid 1px #939598;
    font-family: var(--wp--preset--font-family--lato);
    width: 100%;
    color: #403254;
    font-weight: lighter;
    font-size: 1rem;
    padding: 12px;
    border-width: 1px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.wpcf7-form label {
    line-height: 1.3rem;
  }
.subscription-form input {
    border: none;
}
.subscription-form span {
    color: #000;
}
.subscription-form label {
    color: #000;
}
::placeholder {
    color: #1e323d;
    opacity: 1; /* Firefox */
}
textarea::placeholder {
    color: #1e323d;
    opacity: 1; /* Firefox */
    font-family: inherit;
}
  
::-ms-input-placeholder { /* Edge 12 -18 */
    color: #1e323d;
}
input[type="checkbox"] {
    width: auto;
    margin-left:0;
  }
.wpcf7-list-item {
    margin: 0;
  }
input[type="submit"] {
    width: auto;
    background-color: #403254;
    color:#fff;
    border-radius: 0px;
    padding-top: 20px;
    padding-right: 35px;
    padding-bottom: 20px;
    padding-left: 35px;
    margin-top:35px;
    line-height: 1.3rem;
    font-weight: normal;
}

.wpcf7-acceptance {
    font-size: var(--disclaimer-text-size);
}
span[data-name="newsletter-consent"] {
    font-size: 16px;
    line-height: 1.3em;
}
.wpcf7-checkbox .wpcf7-list-item, .wpcf7-acceptance .wpcf7-list-item > label, .newsletter-consent .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    color: #939598;
  }

/* ====================== Complianz Items ====================== */
#cmplz-document {
    max-width: var(--wp--style--global--content-size);
}
#cmplz-document p, 
.editor-styles-wrapper .cmplz-unlinked-mode p, 
#cmplz-document li, 
.editor-styles-wrapper .cmplz-unlinked-mode li, 
#cmplz-document td, 
.editor-styles-wrapper .cmplz-unlinked-mode td {
    font-size: 1rem;
}

/* ====================== Other ====================== */

/* Special modifier classes */
.hide-on-desktop {
    display:none !important;
}
.hide-on-mobile {
    display:flex;
} 
.fineprint {
    font-size: var(--disclaimer-text-size);
}

/* .nopad-left : Used for Two-col layout (nested in a cover block) with image on the left with no padding */
/* .nopad-left .wp-block-column:first-child {
    padding-right: 35px;
} */
.nopad-left .wp-block-column:last-child {
    padding-left: 35px;
  }

/* .nopad-right : Used for Two-col layout (nested in a cover block) with image on the right with no padding */
.nopad-right .wp-block-column:first-child {
    padding-right: 35px;
}
/* .nopad-right .wp-block-column:last-child {
    padding-left: 35px;
}  */

/* .section-style1 : Used for section style 1 */
.section_style1 .wp-block-column:first-child {
    padding-right: 35px;
}
.section_style1 .wp-block-column:last-child {
    padding-left: 35px;
    background-color: rgba(160,220,220,0.55);
  }

/* Block: Social media block */
.wp-block-social-link-anchor {
    background-color: #79c9d1;
    padding:0.1em;
    font-size: 20px;
}

/* Block: Spacer */
.wp-block-spacer {
    margin:0;
    margin-right: 0px;
}

/* Block: Details */
.wp-block-details summary {
    padding: 15px;
    background-color: #eee;
}


/* ====================== For Mobile ====================== */

@media screen and (max-width:1024px) {
    :root {
        --wp--style--global--content-size: min(90%, 1440px);
    }
}

@media screen and (max-width:870px) {
    .hide-on-desktop {
        display:flex;
    }
    .hide-on-mobile {
        display:none !important;
    }
    header .header-columns {
        gap: 0px;
      }
    header .left-column {
        justify-content: space-between;
        display: flex;
    }
    .home .slider-main-buttons .inner-column > div {
        max-width: 100vw;
        flex-wrap: wrap;
    }
    body .post-blocks .post-block {
        flex-basis: calc(50% - 0.8rem);
    }
}

@media screen and (max-width:576px) {
    header .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 48% !important;
    }
    header .header-columns {
        padding: 20px 0 !important;
    }
    header .left-column {
        display: block;
        max-width: 80%;
    }
    header .left-column > div {
        text-align: center;
        justify-content: center;
    }
    header .wp-block-site-logo {
        margin-bottom: 0 !important;
    }
    header nav {
        justify-content: right !important;
        padding-bottom: 0;
        margin: 0 !important;
    }
    header nav.main-menu > button {
        position: relative;
        top: -50px;
    }
}

@media screen and (max-width:450px) {
    body .post-blocks .post-block {
        flex-basis: 100%;
      }
}