/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
 .new-window-icon {
    margin-left: 6px;
}
table.tablepress tr th {
background-color: var(--theme-palette-color-4, #008099) !important;
color:#ffffff;
}

/* Curriculum table */
table.curriculum-table thead tr th {
    background-color: var(--theme-palette-color-4);
    border: 1px solid var(--theme-palette-color-4);
    color: #fff;
    text-align: left;
}

table.curriculum-table td {
    align-content: flex-start;
    font-size: 13px;
    line-height: 1.5em;
    border-color: var(--theme-palette-color-2);
}

/* Gallery images and post featured image rounded brders */
figure.wp-block-gallery.has-nested-images img {
    border-radius: 20px;
}
body.post-template-default.single.single-post .ct-featured-image img {
    border-radius: 20px;
}

body.post-type-archive-policy h1.entry-title { margin: 30px; text-align: center; font-size: 35px;}
div#policylist { max-width: 960px; margin: 30px 0 30px 0;}
div#policylist h3 { font-size:15px; font-weight: normal;}
div#policylist svg { height: 22px;padding-top: 3px;}
div#policylist td { border: 0; padding: 3px 20px;height: 22px;}
div#policylist a { color:#2B4B5A;}
div#policylist table { border:0;}
div#policylist tr:nth-child(odd) { background-color: #f0f0f0;}
.policybtn, .policypdf  {width: 102px;}
td.policytitle { border-top-left-radius: 15px;border-bottom-left-radius: 15px;}
.policypdf {border-top-right-radius: 15px;border-bottom-right-radius: 15px;}
form.policyfilter { max-width: 480px; margin: auto;}
form.policyfilter label, form.policyfilter input { display: inline-block;max-width:300px}
form.policyfilter a { padding: 10px 20px;}

/* for animations */
.background-tint {
    background-color: #2b4b5a;
    background-blend-mode: soft-light;
    background-size: 110%;
}

.word {
    display: inline-block;
}

.letter {
    display: inline-block;
    line-height: 1em;
    opacity: 0;
    /* Set initial opacity in CSS */
    transform: translate(1em, -1em);
    /* Set initial translateX and translateY */
}

@media print {
    header#header {
    display: none;
    }
    footer#footer {
        display: none;
    }
    a.ct-back-to-top.ct-hidden-sm.ct-show {
        display: none;
    }
    .stk-container.stk-3f49cda-container.stk-hover-parent {
        box-shadow: none;
    }
    .wp-block-stackable-button-group.stk-block-button-group.stk-block.stk-ebcafcb {
        display: none;
    }
    p.stk-block-text__text {
        font-size: 13px;
        line-height: 18px;
    }
    h1.stk-block-heading__text.has-text-color {
        font-size: 36px;
        line-height: 40px;
    }
    h2.stk-block-heading__text.has-text-color {
        font-size: 24px;
        line-height: 28px;
    }
    h3.stk-block-heading__text.has-text-color {
        font-size: 22px;
        line-height: 25px;
    }
    h4.stk-block-heading__text.has-text-color {
        font-size: 20px;
        line-height: 23px;
    }
    h5.stk-block-heading__text.has-text-color {
        font-size: 18px;
        line-height: 21px;
    }
    .wp-block-stackable-column.stk-block-column.stk-column.stk-block.stk-block-background {
        padding: 20px !important;
    }
    .wp-block-stackable-button-group.stk-block-button-group.stk-block.stk-07ee3e9 {
        display: none;
    }
    .stk-block-hero__content.stk-content-align.stk-container.stk--no-background.stk--no-padding {
        min-height: auto !important;
        padding: 0px 0 40px 0 !important;
        margin-top: -140px;
    }
    .wp-block-stackable-button-group.stk-block-button-group.stk-block {
        display: none;
    }
}

/* Animated Text block styling */
.animateText {
    font-size: 36px;
font-weight:bold;
line-height:1.1em;
    font-family: sans-serif;
    text-align: center;
    background-size: 130%;
    background-position: center;
    max-width: 900px;
    margin: 400px auto;
    border-radius: 25px;
}

.animateWhite {
    color: #ffff;
}

.word {
    display: inline-block;
    white-space: nowrap; /* Prevent word wrapping */
}

.letter {
    display: inline-block;
    line-height: 1em;
    opacity: 0; /* Set initial opacity in CSS */
}

/* Brand dots on dotted line corners */

.key-points :nth-child(2) > div:nth-child(1) {
  /* padding: 20px 30px; */
  list-style-type: none;
  position: relative;
}

/* 
ul.sub-menu a.ct-menu-link {
    padding-left: 20px !important;
} */

.key-points > :nth-child(2) > div::before,
.key-points > :nth-child(2) > div::after {
  content: "";
  position: absolute;
  top: -10px; /* Adjust as needed for vertical positioning */
  width: 20px;
  height: 20px;
  background-size: cover;
  pointer-events: none;
}

.key-points > :nth-child(2) > div:nth-child(odd) {
  border-left: 4px dotted #5F7782 !important;
  border-bottom: 4px dotted #5F7782 !important;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  margin-right: 20px;
}

.key-points > :nth-child(2) > div:nth-child(even) {
  border-right: 4px dotted #5F7782 !important;
  border-bottom: 4px dotted #5F7782 !important;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-left: 20px;
}

.key-points > :nth-child(2) > div:nth-child(4n + 1)::before {
  left: 0;
  background-image: url('/wp-content/themes/blocksy-child/img/svg-green.svg');
}

.key-points > :nth-child(2) > div:nth-child(4n + 2)::after {
  right: 5px;
  background-image: url('/wp-content/themes/blocksy-child/img/svg-orange.svg');
}

.key-points > :nth-child(2) > div:nth-child(4n + 3)::before {
  left: 0;
  background-image: url('/wp-content/themes/blocksy-child/img/svg-magenta.svg');
}

.key-points > :nth-child(2) > div:nth-child(4n + 4)::after {
  right: 5px;
  background-image: url('/wp-content/themes/blocksy-child/img/svg-blues.svg');
}


ul.key-points {
	padding-left:0;
}
ul.key-points li {
  padding: 20px 30px;
  list-style-type: none;
  position: relative;
}
ul.sub-menu a.ct-menu-link {
    padding-left: 20px !important;
}

ul.key-points li::before,
ul.key-points li::after {
  content: "";
  position: absolute;
  top: -10px; /* Adjust as needed for vertical positioning */
  width: 20px;
  height: 20px;
  background-size: cover;
  pointer-events: none;
}

ul.key-points li:nth-child(odd) {
  border-left: 1px dashed #5F7782 !important;
  border-bottom: 1px dashed #5F7782 !important;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  margin-right: 20px;
}

ul.key-points li:nth-child(even) {
  border-right: 1px dashed #5F7782 !important;
  border-bottom: 1px dashed #5F7782 !important;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-left: 20px;
}

ul.key-points li:nth-child(4n + 1)::before {
  left: 0;
  background-image: url('/wp-content/uploads/2023/11/svg-green.svg');
}

ul.key-points li:nth-child(4n + 2)::after {
  right: 5px;
  background-image: url('/wp-content/uploads/2023/11/svg-orange.svg');
}

ul.key-points li:nth-child(4n + 3)::before {
  left: 0;
  background-image: url('/wp-content/uploads/2023/11/svg-magenta.svg');
}

ul.key-points li:nth-child(4n + 4)::after {
  right: 5px;
  background-image: url('/wp-content/uploads/2023/11/svg-blues.svg');
}

/* document page listing styling */
.document-list {
    display: flex;
    flex-direction: column;
    margin: auto;
}
.document-item {
    display: flex;
    margin-bottom: 10px;
    margin-top: 10px;
    align-items: center;
    border-bottom: 1px dashed var(--theme-link-initial-color);
}
.document-thumbnail-container {
    width: 90px;
    height: 90px;
    overflow: hidden;
    margin-right: 20px;
}
.document-details {
    flex: 2;
}
.document-title {
    margin: 0 0 10px;
}
.document-date {
    color: #888;
    display: inline-block;
    width: 150px;
    font-size:14px;
}
.document-link-container {
    flex: 1;
    display: flex;
    align-items: flex-start; /* Align items to the top */
    margin-top: 10px; /* Optional: Add margin for better spacing */
}
.document-link,.document-link:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: var(--theme-link-initial-color);
    padding: 4px 10px;
    border-radius: 6px;
}

.document-link::after {
    content: " »";
    display: inline-block;
    font-size: 1em;
    margin-left: 5px;
}
.document-link:hover {
    text-decoration: underline;
}
h3.document-title {
    font-size: 20px;
    margin-bottom: 5px;
}

/* Policy and job page styling fixes */

form.policyfilter {    max-width: 480px;    margin: auto;}
form.policyfilter label, form.policyfilter input {    display: inline-block;max-width:300px}
form.policyfilter a { padding: 10px 20px;}

.trusthometitlemobile {
    display: none;
}
.trusthometitledesktop {
    display: block;
}

.every-input {padding:6px 12px !important;}
.every-search-btn {min-height:40px !important;}

select#everyItemsPerPageInput {
    margin-bottom: 13px;
}

@media all and (max-width: 768px){
.trusthometitlemobile {
    display: block;
}.trusthometitledesktop {
    display: none;
}
}