/*
Theme Name:    YFC 2023
Author:        Digitally Transform Me
Author URI:    https://digitallytransform.me
Description:   Digitlly Transform Me Theme
Version:       0.4259
Template:      page-builder-framework
Text Domain:   page-builder-framework-child
Copyright: Digitally Transform Me
*/

/*
.wpbf-page-header {
  border-bottom: solid 3px #262262;

}*/

:root :where(a:where(:not(.wp-element-button))) {
  text-decoration: inherit;
}

.searchform input {
color: #000000;
}

@media screen and (max-width: 768px) {
 
 .slick-arrow {
     display: none !important;
 }
    
}

body.post-type-archive-module, body.single-module, body.post-type-archive-plan, body.single-plan, body.post-type-archive-session, body.single-session {

background-color: #eaeff2;

}

#navigation {
    position: relative;
}

.wpbf-menu-right .wpbf-menu {
    float: none;
    display: flex;
    justify-content: space-between;
}

.wp-block-button__link {
text-transform: uppercase;
}


.wp-block-columns .wp-block-column:last-of-type.has-background {
clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%, 0 80%);
}

.wp-block-columns .wp-block-column:last-of-type.has-background:before {
content: '';
height: 100%;
width: 100%;
float: left;
shape-outside: polygon(0 90%, 0% 100%, 10% 100%);
}

.wp-block-columns .wp-block-column:first-of-type.has-background {
clip-path: polygon(80% 0, 100% 20%, 100% 100%, 0 100%, 0 0);
}

.wp-block-columns .wp-block-column:first-of-type.has-background:before {
shape-outside: polygon(90% 0, 100% 10%, 100% 0);
}

@media screen and (max-width: 1024px) {
    
.wp-block-columns .wp-block-column:last-of-type.has-background {
clip-path: polygon(80% 0, 100% 20%, 100% 100%, 0 100%, 0 0);
}

.wp-block-columns .wp-block-column:last-of-type.has-background:before {
/*shape-outside: polygon(80% 0, 100% 20%, 100% 0);*/
}
    
    
}

.module-display {
    overflow: hidden;
}

.module .article-footer, .session .article-footer, .plan .article-footer {
display: none;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
}

.nav-links a, .nav-links .current {
    margin-left: 10px;
    border-radius: 5px;
}

.nav-links a {
    color: #ffffff;
    background-color: #304149 !important;
    
}

.wpbf-navigation {
position: fixed;
height: 101px;
}

#header {
    height: 101px;
}

.wpbf-custom-section-active-session {
height: 20px;
}

@media screen and (max-width: 1024px) {

.wpbf-custom-section-active-session {
height: 40px;
}


}

.wpbf-custom-section-active-session .dh-row {
    position: fixed;
    width: 100%;
    left: 0;
    z-index: 100;
}

.wpbf-archive-content .wpbf-post-style-plain:last-child {
    padding-bottom: 20px !important;
    }

/* Resources */

#plan-modules {
    margin-top: 20px;
}

.single-module .module-content, .single-plan .module-content {
    clear: none;
}

.module, .archive .session, .search .plan, .archive .plan {
padding: 20px;
background-color: #ffffff !important;
box-shadow: 0px 3px 6px #00000029;
border-radius: 5px;
position: relative;
border: 0 !important;
margin-bottom: 20px;
}

.module .series, .archive .plan .series {
position: absolute;
top: 10px;
right: 10px;
max-width: 40%;
overflow: hidden;
}

.module .for, .module .series, .plan .for, .single-plan .plan .series {
display: inline-flex;
}

.module .area span, .module .time span, .plan .time span {
    background-color: #ffffff !important;
    color: #304149 !important;
}

@media screen and (max-width: 1024px) {

    .module .area, .plan .area {
        max-width: 100%;
    }
    
    

}

.module-thumbnail {
    float: right;
    width: 25%;
    padding-top: 25%;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    margin-left: 20px;
    background-size: cover;
}

@media screen and (max-width: 1024px) {

.module-thumbnail {
    float: none;
    width: 100%;
    padding-top: 66%;
    margin: 0 0 20px 0;
}

}

.module a.add-to-session, .module .button, .plan .button {
color: #304149;
text-transform: lowercase;
}

.button:hover {

pointer: hand;

}

#menu-main {
padding-right: 50px;
}

.editicon .thebutton {

position: relative;

}

.editicon .count {
font-size: 14px;
position: absolute;
text-align: center;
right: -2px;
top: -2px;
border-radius: 50%;
height: 20px;
width: 20px;
line-height: 20px;
background: #00b3b3;
color: #ffffff !important;
}

.editicon .thebutton:before {
font-family: "page-builder-framework" !important;
color: #ffffff;
position: absolute;
right: 0;
margin-top: 7px;
content: "";
padding: 1px 6px 0px 6px;
}

@media screen and (max-width: 1024px) {

.editicon {
display: block;
margin-right: 50px;
font-size: 32px;
}
.editicon .thebutton:before {
margin-top: -8px;

}

.editicon .count {
    top: -18px;
    right: 0px;
}

}

.button:before {
font-family: "page-builder-framework" !important;
color: #ffffff;
line-height: 1.7;
border-radius: 50%;
background: #304149;
display: inline-block;

margin-right: 5px;
}

.editbuttons {
margin-bottom: 20px;
}

.editbuttons a {
display: inline-block;
margin-right: 20px;
}

@media screen and (max-width: 1024px) {

.editbuttons a {
display: block;
margin-bottom: 20px;
}


}

.button.edit:before, .button.new:before {
content: "";
padding: 1px 6px 0px 6px;
line-height: 1.7;
}

.button.browse:before {
content: "";
padding: 1px 6px 0px 6px;
line-height: 1.7;
}

.button.share:before {
content: "";
padding: 1px 6px 0px 6px;
line-height: 1.7;
}

.button.view:before {
content: "";
padding: 1px 7px 0px 7px;
line-height: 1.7;
}

.button.delete-session:before {
content: "";
padding: 1px 7px 0px 7px;
line-height: 1.7;
}

.button.add-custom:before {
content: "+";
padding: 0px 10px 0px 10px;
line-height: 1.7;
}

.module a.add-to-session:before {
content: "+";
color: #ffffff;
border-radius: 50%;
background: #304149;
display: inline-block;
padding: 1px 9px 0px 9px;
margin-right: 5px;
line-height: 1.7;
}

.module a.add-to-session[data-intent="remove"]:before {
content: "-";
padding: 1px 11px 0px 11px;
line-height: 1.7;
}


.module-content{
clear: both;
margin-top: 20px;
}

.module-content.open {
border-top: solid 1px #304149;
padding-top: 20px;

}

.module h3.entry-title, .module h3.entry-title a, .session h3.entry-title, .session h3.entry-title a, .plan h3.entry-title, .plan h3.entry-title a {
    color: #304149;
    font-family: gotham-book;
    padding-top: 0;
    padding-bottom: 0px;
    max-width: 60%;
}

@media screen and (max-width: 1024px) {

.module h3.entry-title, .module h3.entry-title a, .session h3.entry-title, .session h3.entry-title a, .plan h3.entry-title, .plan h3.entry-title a {
    padding-top: 30px;
    max-width: 100%;
    }
}

.module-search #modulesearch {
box-shadow: 0px 3px 6px #00000029;
border-radius: 5px 0 0 5px;
border: 0;
}

.module-search #search-apply {
    border-radius: 0 5px 5px 0;
}

.module-widget {
border: 0;
background-color: #ffffff !important;
box-shadow: 0px 3px 6px #00000029;
border-radius: 5px;
}

.seemore {
margin-bottom: 20px;
}

.seemorelink, .seemorelink:hover, .viewsession a, viewsession a:hover {
    color: #0068B3;
}

.taxonomies {
    display: inline-flex;
}

.taxonomies span {
color: #ffffff;
padding: 2px 5px;
border-radius: 3px;
margin-right: 10px;
margin-bottom: 5px;
}

.taxonomies * {
display: flex;
justify-content: flex-start;
}


/* End resources */

.wpbf-search-content .page-title {

    display: none;
}

.nopad > * {
    padding: 0 !important;
    margin: 0 !important;
}

.nopad p {
    margin: 0 !important;
}

@media print {
  body {
    visibility: hidden;
  }
  #main {
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
  }
  .noprint {
    display: none;
  }
  
  .module {
  box-shadow: none !important;
  border-bottom: solid 1px #000000 !important;
  border-radius: 0 !important;
  }

/*  .is-type-video:before {
    content: "Video Item";
    display: block;
    padding: 10px;
    border: solid 1px black;
  }

  .wp-block-embed__wrapper, .note-video-clip {
    display: none;
  }*/
}

.notes {
    background: lightgray;
    font-style: italic;
    padding: 20px;
    margin-bottom: 20px;
}

.equipment-list {
    padding: 10px;
    list-style: inside;
    border: solid 1px #000000;
}

.module.o .notes {
    background: none;
    font-style: normal;
    padding: 0;
}

/*Rank Math */
.rank-math-list {
    padding-top: 20px;
    border-top: solid 1px #FAF8F5;
}
.rank-math-list-item {
    border-bottom: solid 1px #FAF8F5;
    margin-bottom: 20px;
}

.rank-math-question {
    padding: 0 50px;
    font-size: 22px;
    justify-content: left;
    align-items: center;
    display: flex;
    cursor: pointer;
    padding-right: 5px;
    color: #FAF8F5;
}

.rank-math-question.active {
    color: #FAF8F5;
}

.rank-math-question::before {
    content: '+';
    position: absolute;
    margin-left: -30px;
    margin-top: -2px;
    font-family: page-builder-framework !important;
    transition: all 0.3s ease-in-out;
}

.active.rank-math-question::before {
  content: '-';
  margin-top: 2px;
  margin-left: -28px;
  transform: rotate(180deg);
  transition: all 0.3s ease-in-out;
}

.rank-math-answer {
    max-height: 0;
    padding: 0 50px;
    color: #FAF8F5;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.rank-math-answer.active {
    max-height: 20rem;
    padding: 10px 50px;
}

.rank-math-breadcrumb {
    font-size: 19px;
}

@media screen and (min-width: 1024px) {
.rank-math-answer.active, .rank-math-answer, .rank-math-question {
    padding: 0 100px;
}
}


/*------------*/


.wpbf-navigation-transparent {
    transition: all 1s ease;
}

.menuclosed .wpbf-navigation-transparent {
    background-color: rgba(0,0,0,0);
}

.menuclosed .wpbf-logo .normal_logo img {
    display: none;
}

.menuclosed .wpbf-logo img {
    display: block;
}

.wpbf-logo .normal_logo img {
    display: block;
}

.wpbf-logo img {
    display: none;
}



.menuclosed .wpbf-navigation-transparent a {
    color: #ffffff;
}


.wp-block-buttons.aligncenter {
    justify-content: center;
}

p:empty:before {
    content:none;
}

.gform_wrapper.gf_browser_chrome .gfield_checkbox li input, .gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox], .gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio] {
    margin-top: 0px !important;
}

@media screen and (max-width: 1024px) {


	figure.alignleft, img.alignleft, figure.alignright, img.alignright, .wp-block-image img {
	float:none;
	display:block;
	margin-left:auto;
	margin-right:auto;
    }

    .wp-block-columns {
        flex-wrap: wrap !important;
    }

    .wp-block-column, .wp-block-column:not(:only-child) {
        flex-basis: 100% !important;
        margin-left: 0 !important;
    }

    .wp-block-media-text {
        display: block !important;
    }

    .wp-block-media-text .wp-block-media-text__media {
        margin-bottom: 20px;
    }
}


@media screen and (min-width: 1024px) {

.post-number-1 .wpbf-post-grid .wpbf-article-wrapper {
    width: 100%;
    float: left;
}

.post-number-1 .wpbf-post-grid .wpbf-article-wrapper {
    margin-left: 0;
    margin-right: 0;
    padding: 0 !important;
}

.post-number-1 .wpbf-post-grid .wpbf-post-image-wrapper {
    width: 40%;
    float: left;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.post-number-1 .wpbf-post-grid .entry-title, .post-number-1 .wpbf-post-grid .article-meta, .post-number-1 .wpbf-post-grid .article-content

{
    width: 60%;
    padding-left: 20px;
    position:static !important;
    float: left;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.post-number-2 .wpbf-post-grid .wpbf-article-wrapper:nth-child(2n+1), .post-number-2 .wpbf-post-grid .wpbf-article-wrapper:nth-child(2n+2),
.post-number-4 .wpbf-post-grid .wpbf-article-wrapper:nth-child(2n+1), .post-number-4 .wpbf-post-grid .wpbf-article-wrapper:nth-child(2n+2),
.post-number-5 .wpbf-post-grid .wpbf-article-wrapper:nth-child(5n+1), .post-number-5 .wpbf-post-grid .wpbf-article-wrapper:nth-child(5n+2),
.post-number-7 .wpbf-post-grid .wpbf-article-wrapper:nth-child(7n+1), .post-number-7 .wpbf-post-grid .wpbf-article-wrapper:nth-child(7n+2),
.post-number-7 .wpbf-post-grid .wpbf-article-wrapper:nth-child(7n+6), .post-number-7 .wpbf-post-grid .wpbf-article-wrapper:nth-child(7n+7),
.post-number-8 .wpbf-post-grid .wpbf-article-wrapper:nth-child(8n+1), .post-number-8 .wpbf-post-grid .wpbf-article-wrapper:nth-child(8n+2),
.post-number-10 .wpbf-post-grid .wpbf-article-wrapper:nth-child(5n+1), .post-number-10 .wpbf-post-grid .wpbf-article-wrapper:nth-child(5n+2),
.post-number-11 .wpbf-post-grid .wpbf-article-wrapper:nth-child(11n+1), .post-number-11 .wpbf-post-grid .wpbf-article-wrapper:nth-child(11n+2),
.post-number-13 .wpbf-post-grid .wpbf-article-wrapper:nth-child(13n+1), .post-number-13 .wpbf-post-grid .wpbf-article-wrapper:nth-child(13n+2),
.post-number-13 .wpbf-post-grid .wpbf-article-wrapper:nth-child(13n+6), .post-number-13 .wpbf-post-grid .wpbf-article-wrapper:nth-child(13n+7),
.post-number-14 .wpbf-post-grid .wpbf-article-wrapper:nth-child(7n+1), .post-number-14 .wpbf-post-grid .wpbf-article-wrapper:nth-child(7n+2),
.post-number-14 .wpbf-post-grid .wpbf-article-wrapper:nth-child(7n+6), .post-number-14 .wpbf-post-grid .wpbf-article-wrapper:nth-child(7n+7),
.post-number-16 .wpbf-post-grid .wpbf-article-wrapper:nth-child(8n+1), .post-number-16 .wpbf-post-grid .wpbf-article-wrapper:nth-child(8n+2),
.post-number-17 .wpbf-post-grid .wpbf-article-wrapper:nth-child(17n+1), .post-number-17 .wpbf-post-grid .wpbf-article-wrapper:nth-child(17n+2),
.post-number-19 .wpbf-post-grid .wpbf-article-wrapper:nth-child(19n+1), .post-number-19 .wpbf-post-grid .wpbf-article-wrapper:nth-child(19n+2),
.post-number-19 .wpbf-post-grid .wpbf-article-wrapper:nth-child(19n+9), .post-number-19 .wpbf-post-grid .wpbf-article-wrapper:nth-child(19n+10),
.post-number-20 .wpbf-post-grid .wpbf-article-wrapper:nth-child(20n+1), .post-number-20 .wpbf-post-grid .wpbf-article-wrapper:nth-child(20n+2)

{
    width: 50%;
}

}

#breadcrumbs {
    margin-top: 10px;
}

.widget.dtd_latest_news .newsitem .image {
    padding-bottom: 60%;
    background-size: cover;
}

.widget.dtd_latest_news .newsitem .text {
    padding: 20px;
}
/*
input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], select, .field, input[type="submit"], input[type="button"] {
    height: 44px;
    padding: 0 12px !important;
    border-radius: 5;
}

textarea {
    padding: 12px !important;
    border-radius: 5px;
}
*/
.gform_wrapper li.hidden_label input {
    margin-top: 0 !important;
}

@media screen and (max-width: 768px) {

.wp-block-jetpack-instagram-gallery {
    display: flex !important;
    flex-wrap: wrap;
}


.wp-block-jetpack-instagram-gallery a {
    flex: 0 50%;
}

}

.wp-block-button__link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 0;
    margin-right: 20px;
}
.wp-block-button__link:hover, .wp-block-button__link:visited {
    background-color: var(--accent-color-alt);
}


/* Animation */

@keyframes fadeInUp {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both
}

.animatedFadeInUp {
    opacity: 0
}

.fadeInUp {
    opacity: 0;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
}

p.small {
    margin-bottom: 10px;
}

.page #inner-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.entry-title, #sidebar {
    padding-top: 20px;
}

.wp-block-columns {
    margin-bottom: 0;
}

/*.wp-block-group > *, .wp-block-columns > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}*/

.entry-content > .wp-block-group, .entry-content > .wp-block-columns {
    padding-top: 20px;
    padding-bottom: 20px;
}
