/* Stick Post / Slider */

.stick-container {
    position: relative;
    /* z-index: 2; */
}

.stick-container .swiper-container > .wrapper-larger {
    margin-top: -100px;
    /* position: relative; */
    height: 100px;
}

.stick-container .swiper-container > .wrapper-larger .swiper-pagination {
    text-align: left;
    position: relative;
}

.stick-container .entry-thumbnail .pattern {
    background: linear-gradient(45deg, #d91e6d, #2c398b);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    /* opacity: 0.8; */
}

.stick-container .entry-thumbnail .pattern::before {
    display: block;
    content:
    '';
    background: url('../img/pattern-home.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    opacity: 0.6;
    opacity: 1;
}

.stick-container .entry-thumbnail a.post-thumbnail {
    z-index: 3;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
} 

.stick-container .swiper-wrapper {
    width: 100%;
    height: 30vw;
}


.stick-container .swiper-button-prev,
.stick-container .swiper-button-next, 
.stick-container .swiper-scrollbar {
    display: none;
}


.stick-container .entry-thumbnail {
    
}

.stick-container .entry-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    display: flex;
    height: 100%;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    color: #fff;
}


.stick-container .entry-content .wrapper-larger > * {
    max-width: 520px;
    color: #fff;
}



.stick-container .entry-content .entry-title a {
    color:#fff;
    font-size: 1.9rem;
}

.stick-container .entry-content .post-subtitle {
    margin-bottom: 1.3em;
}


.stick-container .entry-content .entry-category {
    background: #ce4d8d;
    border: 1px solid #f2b5d3;
    margin-bottom: 1.3em;
}

.stick-container .entry-content p {
    font-size: 0.95rem;
    line-height: 1.4em;
}

@media ( max-width: 768px ) {

    .stick-container {
        order:0;
        margin-bottom: 4rem;
    }
    
    .stick-container .swiper-wrapper {
        height: 390px;
        /* height: 110vw; */
    }

    .stick-container .swiper-container > .wrapper-larger {
        margin-top: -50px;
        height: 50px;
    }

    .stick-container .entry-content .entry-title a {
        font-size: 1.1rem;
        line-height: 0.9em;
    }

    .stick-container .entry-thumbnail .pattern {
        /* background-position: center; */
    }

    .stick-container .entry-thumbnail .pattern::before {
        /* opacity: 1; */
        /* opacity: 0.9; */
        /* z-index: 64; */
        background-position: center;
    }

    .stick-container .entry-thumbnail a.post-thumbnail {
        /* right: 0; */
    }

    .stick-container .entry-thumbnail a.post-thumbnail img {
        height: 100%;
        width: auto!important;
        max-width: 9999px;
        position: absolute;
        right: 0;
    }
    
}

/* download-materials */

.download-materials .swiper-button-prev,
.download-materials .swiper-button-next {
    display:none!important;
}

.download-materials .swiper-container {
    /* height: 360px; */
    padding-bottom: 1.8rem;
}

.download-materials .swiper-container .swiper-wrapper {
    /* padding-bottom: 60px; */
}

.download-materials .swiper-container .swiper-slide {
    height: 100%;
    position: relative;
}


.download-materials .swiper-container .swiper-slide img {
    height: 100%;
    width: 100%;
    max-width: 344px;
}

.download-materials .swiper-container .swiper-slide:hover img:before,
.download-materials .swiper-container .swiper-slide:focus img:before {
    content:"";
    display: block;
    width: 100%;
    height: 100%;

}

.download-materials .swiper-container .swiper-pagination {
    position: relative;
    top: 5px;
}

.download-materials .swiper-container .swiper-pagination .swiper-pagination-bullet {
    background: #ED2378;
}



/* sidebar-content */

.sidebar-content {
    display: flex;
    /* align-items: center; */
}

.sidebar-content .sidebar-content-title {
    flex-basis: 300px;
    flex-grow: 0;
    flex-shrink: 0;
    padding-right: 80px;
    padding-top: 141px;
}

.sidebar-content.main .sidebar-content-title {
    padding-top: 70px;
    /* position: relative!important; */
    position: sticky!important;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    top: 36%;
    margin-bottom: 7%;
}

.sidebar-content .sidebar-content-title h2 span {
    display: inline-block;
    background: #ED2378;
    margin: 4px 0;
    padding: 17px 16px;
    color: #fff;
    letter-spacing: 0.6px;
}

.sidebar-content .sidebar-content-title h2 span:first-child {
    font-weight:normal;
    font-size: 86%;
}

@media (max-width: 1450px) {

    .sidebar-content .sidebar-content-title {
        flex-basis: 200px;
        padding-right: 40px;
    }

    .sidebar-content .sidebar-content-title h2 {
        font-size: 1.3em;
    }
}


@media (max-width: 1200px) {

    .sidebar-content .sidebar-content-title h2 {
        background: #ED2378;
        text-align: center;
        padding: 6px;
        width: auto;
        margin: 0 auto 28px auto;
        max-width: 260px;
    }

    .sidebar-content .sidebar-content-title h2 span {
        font-size: 1.2rem!important;
        padding: 0;
        /* margin: 0; */
    }
    
    .sidebar-content {
        flex-direction:column;
    }
    .sidebar-content .sidebar-content-title {
        flex-basis: 0;
        padding-right: 0;
        padding-top: 11px;
    }
    .sidebar-content.main .sidebar-content-title {
        flex-basis: 0;
        padding: 0;
        top: 0px;
        padding-top: 0;
        position: relative!important;
        margin-bottom: 2%;
    }

    .sidebar-content .sidebar-content-title a {
        display: none;
    }
}


.menu-grey {
    margin-top: -20px;
    z-index: 3;
    position: relative;
    margin-bottom: 5.5rem;
}


.menu-grey .menu-grey-inner {
    background: #dee1ed;
}

.menu-grey .menu {
    list-style: none;
    min-height: 65px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.menu-grey .menu li {
    /* display:inline-block; */
}

.menu-grey .menu li a::after {
    content:"|";
    display:
    inline-block;
    padding-left: 13px;
}

.menu-grey .menu li:last-child a::after {
    display:none!important;
}

.menu-grey .menu li a {
    display: block;
    padding: 5px 6px;
    white-space: nowrap;
}

.menu-grey .menu-grey-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    color: #273992;
}

.menu-grey .menu-grey-title {
    font-weight: bold;
    margin-right: 15px;
}

@media ( max-width: 768px ) {
    .menu-grey {
        margin: 70px 0 35px;
        order: 2;
    }
    .menu-grey .menu-grey-inner {
        flex-direction:
        column;
        margin-left: -15px;
        margin-right: -15px;
        padding-bottom: 21px;
    }
    
    .menu-grey .menu-grey-title {
        margin: 28px 0 -11px;
        font-size: 1.15rem;
    }
    
    .menu-grey .menu li a::before {
        display:none!important;
    }
   

    .menu-grey .menu li {
        display:
        block;
        text-align: center;
    }

    .menu-grey .menu li a {
        padding: 10px 5px;
    }

    .wrapper1 {
        order: 1;
    }
    
    .wrapper2 {
        order: 3;
    }
}


/* Global */

hr.wp-block-separator {
    margin: 4.5rem 0;
    border-top: 1.5px solid #FF006B;
    border-bottom: 1.5px solid #FF006B;
    background: #FF006B;
}

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

    hr.wp-block-separator {
      margin: 1.2rem 0;      
    }

    #primary .grid-posts {
        margin-top: 3rem;
    }

    .wp-block-spacer {
        height: 50px!important;
    }

    hr.wp-block-separator.separator-negative {
        background:transparent!important;
        border-color:transparent!important;
    }
}

/* Stick Posts */

#primary .stick-posts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 0 4.8em;
}

#primary .stick-posts article.article-excerpt {
    width: 100%;
    margin: 0;
    position: relative;
}

#primary .stick-posts .column1 {
    width: 48%;
    margin-right: 2.5%;
    height: 100%;
    /* flex: 1; */
    position: relative;
}



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

    

    #primary .stick-posts .column1 .post-link {
        display: block;
        width: 100%;
        height: 100%;
        z-index: 5;
        position: absolute;
        display: none;
    }
    
    #primary .stick-posts .column1 .entry-thumbnail {
        border-radius: 9px;
        overflow: hidden;
        position: relative;
    }
        
    #primary .stick-posts .column1 article:hover img {
        transform: scale(1.1);
        opacity: 0.8;
    }    
    #primary .stick-posts .column1 .entry-thumbnail a {
        z-index: 2;
    }
    
    #primary .stick-posts .column1 .entry-thumbnail::before {
        content:'';
        display:block;
        width:100%;
        height:100%;
        position: absolute;
        background: #000;
        background: linear-gradient(#7a7a7a, black);
        opacity: 0.5;
        z-index: 2;
    }
    
    #primary .stick-posts .column1:hover .entry-thumbnail img, 
    #primary .stick-posts .column1 .entry-thumbnail:focus img {
        transform: scale(1.1);
        opacity: 0.8;
    }

    #primary .stick-posts .column1 .entry-content {
        position: absolute;
        bottom: 0;
        padding: 41px 45px;
        z-index: 2;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        }

    #primary .stick-posts .column1 .entry-content,
    #primary .stick-posts .column1 .entry-content .entry-title a,
    #primary .stick-posts .column1 .entry-content .entry-meta {
        color:#fff;
    }
}

#primary .stick-posts .column2 {
    display: flex;
    flex-direction: column;
    width: 49.5%;
    justify-content: space-between;
}

#primary .stick-posts .column2 article {
    flex-direction: row;
    display: flex;
}

#primary .stick-posts .column2 article:last-child {    
    align-items: end;
}

#primary .stick-posts .column2 article .entry-thumbnail {
    width: 45%;
}

#primary .stick-posts .column2 article .entry-content {
    display:flex;
    justify-content: space-between;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 55%;
    margin: 0.2rem 0 0.6rem 2.2rem;
}

#primary .stick-posts .column2 article .entry-content .entry-category {
    margin: 0;
}

@media screen and (min-width:769px) and (max-width:1200px) {

    #primary .stick-posts .column1 {        
        width: 30.5%;
        margin-right: 6%;
    }
       
    #primary .stick-posts .column2 {        
        flex-direction: row;
        width: 69.5%;
        margin: 0 -3%;
    }

    #primary .stick-posts .column2 article {        
        flex-direction: column;
        margin: 0 3%;
    }
    
    #primary .stick-posts .column2 article .entry-thumbnail,
    #primary .stick-posts .column2 article .entry-content {
        width:100%;
        padding: 0;
    }
}


/* Widgets Home */

#primary .btn-all-posts {
    float: right;
    margin-top: -3.9em;
}

#primary .entry-content .entry-category {
    /* margin-top: 1.3rem; */
}

@media screen and ( max-width:768px ) {  
    
    #primary .stick-posts {
        flex-direction: column;
        margin: 0;
    }

    #primary .stick-posts .column1,
     #primary .stick-posts .column2 {
        width:100%;
        margin-bottom: 1rem;
        margin-right: 0;
     }

    #primary .stick-posts .column1 {
        width: 100vw;
        margin-left: -30px;
        margin-right: -30px;
        padding-left: 30px;
        padding-right: 30px;
        background: #eee;
        padding: 40px 30px;    
    }

    #primary .stick-posts .column2 article {
        width:100%;
        flex-direction: column;
        margin: 1.5rem 0 2rem;
    }

    #primary .stick-posts .column2 article .entry-thumbnail {
        width:100%;
    }

    #primary .stick-posts .column2 article .entry-content {
        width:100%;
        padding: 0;
        margin: 1.2rem 0 0;
    }
}

/* Home Icon List */

.home-icons-list {
    display: flex;
    height: 265px;
    height: 13vw;
    margin-left: -1.4%;
    margin-right: -1.4%;
}

.home-icons-list .home-icon {
    flex: 1;
    background: #ff1578;
    /* background: #a4647f; */height: 100%;
    margin: 0 1.4%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
}

.home-icons-list .home-icon img {
    height: 70px; /* Fallback */
    height: 3.7vw;
}


.home-icons-list .home-icon-label {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 17px;
    text-align: center;
    line-height: 1.25em;
}

/* Home Video Columns */
.home-video-columns {
    margin-top: 2.5rem;
}

.home-video-columns a {
    position: relative;
    display: block;
    line-height: 0;
    overflow: hidden;
    border-radius: 5px;
}

.home-video-columns a::after {
    display: block;
    content:'';
    background: url('../img/video-play.svg');
    width: 75px;
    height: 75px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -37px;
    margin-left: -37px;
}

.home-video-columns a::before {
    content:'';
    display:block;
    position: absolute;
    height: 100%;
    width: 100%;
    background: #000;
    top: 0;
    left: 0;
    opacity: 0.4;
}

.home-video-columns h3 {
    font-size: 1.5rem;
    margin: 1.4rem 0;
}

.home-video-columns p {
    font-size: 1.2rem;
}

@media screen and (max-width: 1048px) {
    .home-video-columns .wp-block-column {
        margin-bottom: 4rem;
    }
    
    .home-icons-list {
        height: auto;
        flex-wrap: wrap;
    }
    
    .home-icons-list .home-icon {
        min-width: 29.3%;
        min-height: 130px;
        min-height: 36vw;
        margin-bottom: 1rem;
        margin-left: 2%;
        margin-right: 2%;
    }

    .home-icons-list .home-icon img {
        width: 82px;
        height: 121px;
    }

    .home-icons-list .home-icon-label {
        font-size: 1.2rem;
    }
}

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

    .home-video-columns a::after {        
        width: 60px;
        height: 60px;
        margin-top: -30px;
        margin-left: -30px;
    }

    .home-icons-list .home-icon img {
        width: 62px;
        height: 51px;
    }

    .home-icons-list .home-icon-label {
        font-size: 12px;
    }
} 

/* Animations */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
  