/*----- BLOCKS -----*/
.custom-blocks .eael-grid-post {
    padding: 0 !important;
    position: relative !important;
    clear: none !important;
}

.custom-blocks .eael-grid-post:after {
    content: "";
    display: block;
    padding-top: 100% !important;
}
.custom-blocks .eael-grid-post:nth-child(4):after,
.custom-blocks .eael-grid-post:nth-child(5):after {
    padding-top: 50% !important;
}

.custom-blocks .eael-grid-post .eael-grid-post-holder {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    top: 0;
    left: 0;
    border-color: #fff !important;
    border-style: solid;
}

.custom-blocks .eael-grid-post .eael-grid-post-holder-inner {
    overflow: hidden;
}

.custom-blocks .eael-grid-post .eael-entry-media {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.custom-blocks .eael-grid-post .eael-entry-media .eael-entry-thumbnail img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.eael-entry-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all .3s ease;
}

.custom-blocks .eael-grid-post .eael-entry-wrapper {
    padding: 0 !important;
}

.custom-blocks .eael-grid-post .eael-entry-content {
    position: absolute;
    top: calc(-100% - 20px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.custom-blocks .eael-grid-post .eael-entry-content p {
    font-size: 17px !important;
    text-transform: uppercase;
    margin-left: 20px;
    padding: 0 10px;
}

.custom-blocks .eael-post-grid .eael-grid-post:first-child {
    width: 50% !important;
}
.custom-blocks .eael-post-grid .eael-grid-post:first-child .eael-grid-post-holder {
    border-width: 0 20px 20px 0 !important;
}

.custom-blocks .eael-post-grid .eael-grid-post:nth-child(2) {
    width: 25% !important;
}
.custom-blocks .eael-post-grid .eael-grid-post:nth-child(2) .eael-grid-post-holder {
    border-width: 0 10px 20px 20px !important;
}

.custom-blocks .eael-post-grid .eael-grid-post:nth-child(3) {
    width: 25% !important;
}
.custom-blocks .eael-post-grid .eael-grid-post:nth-child(3) .eael-grid-post-holder {
    border-width: 0 0 20px 30px !important;
}

.custom-blocks .eael-post-grid .eael-grid-post:nth-child(4) {
    width: 50% !important;
}
.custom-blocks .eael-post-grid .eael-grid-post:nth-child(4) .eael-grid-post-holder {
    border-width: 20px 0 20px 20px !important;
}

.custom-blocks .eael-post-grid .eael-grid-post:nth-child(5) {
    width: 50% !important;
}
.custom-blocks .eael-post-grid .eael-grid-post:nth-child(5) .eael-grid-post-holder {
    border-width: 20px 20px 0 0 !important;
}

.custom-blocks .eael-post-grid .eael-grid-post:nth-child(6) {
    width: 25% !important;
}
.custom-blocks .eael-post-grid .eael-grid-post:nth-child(6) .eael-grid-post-holder {
    border-width: 20px 10px 0 20px !important;
}

.custom-blocks .eael-post-grid .eael-grid-post:nth-child(7) {
    width: 25% !important;
}
.custom-blocks .eael-post-grid .eael-grid-post:nth-child(7) .eael-grid-post-holder {
    border-width: 20px 0 0 30px !important;
}

/*----- TITLES -----*/
.eael-entry-wrapper {
    height: 60px;
    margin: 0 0 0 -20px;
    position: relative;
    top: 100%;
    transform: translateY(calc(-100% - 50px));
}

.eael-entry-wrapper .eael-entry-header {
    overflow: hidden;
    height: 100%;
    z-index: 5;
}
.eael-entry-wrapper .eael-entry-header:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 11px;
    width: 90%;
    height: calc(100% - 10px);
    background: #ffffff;
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: skew(8deg);
    -ms-transform: skew(8deg);
    transform: skew(8deg);
    transition: all .3s ease;
    z-index: 1;
}

.eael-entry-wrapper .eael-entry-header .eael-entry-title {
    overflow: hidden;
    padding-right: 30px;
    height: calc(100% - 10px);
}
.eael-entry-wrapper .eael-entry-header .eael-entry-title:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: calc(100% - 10px);
    background: #0A246A;
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: skew(8deg);
    -ms-transform: skew(8deg);
    transform: skew(8deg);
    transition: all .3s ease;
    z-index: 2;
}

.eael-entry-wrapper .eael-entry-title a {
    position: absolute;
    left: 20px;
    padding-left: 20px;
    top: calc(50% - 5px);
    transform: translateY(-50%);
    z-index: 3;
    font-size: 25px !important;
    line-height: 50px;
    font-weight: 300 !important;
    width: 90%;
}

.eael-entry-wrapper .eael-entry-title a:after {
    content: url("../images/Arrow-Right-Navigation-Hover.svg");
    display: inline-block;
    width: 16px;
    margin-left: 15px;
    margin-top: -5px;
    vertical-align: middle;
    border: none;
}

/*----- HOVERS -----*/
.custom-blocks .eael-entry-wrapper {
    pointer-events: auto;
}

.custom-blocks .eael-grid-post {
    overflow: hidden;
}


.custom-blocks .eael-grid-post:hover .eael-entry-header:after,
.custom-blocks .eael-grid-post:hover .eael-entry-title:after {
    width: calc(100% + 30px) !important;
}

.custom-blocks .eael-grid-post > .eael-grid-post-holder:hover .eael-entry-thumbnail {
    width: 104%;
    height: 104%;
    left: -2%;
    top: -2%;
}

/*----- ALBUMS -----*/
.custom-blocks.custom-blocks-albums {
    margin: 0 -10px !important;
}

.custom-blocks.custom-blocks-albums .eael-post-grid .eael-grid-post {
    width: 25% !important;
}

.custom-blocks.custom-blocks-albums .eael-post-grid .eael-grid-post .eael-grid-post-holder {
    border-width: 20px 20px 20px 20px !important;
}

.custom-blocks.custom-blocks-albums .eael-grid-post:after {
    padding-top: 100% !important;
}

/*----- RESPONSIVE -----*/
@media (max-width: 1260px) {
    .custom-blocks .eael-entry-wrapper .eael-entry-title a {
        font-size: 22px !important;
    }
    .custom-blocks .eael-entry-wrapper .eael-entry-title a:after {
        transform: scale(.9);
    }
}

@media (max-width: 1100px) {
    .custom-blocks .eael-entry-wrapper .eael-entry-title a {
        font-size: 20px !important;
    }
    .custom-blocks .eael-entry-wrapper .eael-entry-title a:after {
        transform: scale(.85);
        margin-top: 0;
    }

    .custom-blocks .eael-grid-post .eael-entry-wrapper {
        transform: translateY(calc(-100% - 30px));
    }
}

@media (max-width: 1000px) {
    .custom-blocks .eael-entry-wrapper .eael-entry-title a {
        font-size: 18px !important;
    }
    .custom-blocks .eael-entry-wrapper .eael-entry-title a:after {
        transform: scale(.8);
        margin-left: 10px;
    }

    .custom-blocks .eael-grid-post .eael-entry-content p {
        font-size: 15px !important;
    }

    .custom-blocks .eael-post-grid .eael-grid-post:first-child .eael-grid-post-holder {
        border-width: 0 10px 10px 0 !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(2) .eael-grid-post-holder {
        border-width: 0 0px 10px 10px !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(3) .eael-grid-post-holder {
        border-width: 0 0 10px 20px !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(4) .eael-grid-post-holder {
        border-width: 10px 0 10px 10px !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(5) .eael-grid-post-holder {
        border-width: 10px 10px 0 0 !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(6) .eael-grid-post-holder {
        border-width: 10px 10px 0 10px !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(7) .eael-grid-post-holder {
        border-width: 10px 0 0 10px !important;
    }

    /* ALBUMS */
    .custom-blocks.custom-blocks-albums {
        margin: 0 0 !important;
    }

    .custom-blocks.custom-blocks-albums .eael-post-grid .eael-grid-post .eael-grid-post-holder,
    .custom-blocks.custom-blocks-albums .eael-post-grid .eael-grid-post:nth-child(1) .eael-grid-post-holder,
    .custom-blocks.custom-blocks-albums .eael-post-grid .eael-grid-post:nth-child(2) .eael-grid-post-holder,
    .custom-blocks.custom-blocks-albums .eael-post-grid .eael-grid-post:nth-child(3) .eael-grid-post-holder,
    .custom-blocks.custom-blocks-albums .eael-post-grid .eael-grid-post:nth-child(4) .eael-grid-post-holder,
    .custom-blocks.custom-blocks-albums .eael-post-grid .eael-grid-post:nth-child(5) .eael-grid-post-holder,
    .custom-blocks.custom-blocks-albums .eael-post-grid .eael-grid-post:nth-child(6) .eael-grid-post-holder,
    .custom-blocks.custom-blocks-albums .eael-post-grid .eael-grid-post:nth-child(7) .eael-grid-post-holder {
        border-width: 10px 10px 10px 10px !important;
    }
}

@media (max-width: 900px) {
    .custom-blocks .eael-entry-wrapper .eael-entry-title a {
        font-size: 16px !important;
    }
    .custom-blocks .eael-entry-wrapper .eael-entry-title a:after {
        transform: scale(.7);
        margin-left: 7px;
    }

    .custom-blocks .eael-grid-post .eael-entry-content {
        top: -100%;
    }
    .custom-blocks .eael-grid-post .eael-entry-content p {
        font-size: 14px !important;
    }
}

@media (max-width: 767px) {
    .custom-blocks-section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:first-child .eael-grid-post-holder {
        border-width: 0 10px 10px 0 !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(2) .eael-grid-post-holder {
        border-width: 0 0 10px 10px !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(3) .eael-grid-post-holder {
        border-width: 10px 10px 10px 0 !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(4) .eael-grid-post-holder {
        border-width: 10px 0 10px 10px !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(5) .eael-grid-post-holder {
        border-width: 10px 0 10px 0 !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(6) .eael-grid-post-holder {
        border-width: 10px 10px 0 0 !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(7) .eael-grid-post-holder {
        border-width: 10px 0 0 10px !important;
    }

    .custom-blocks .eael-post-grid > article.eael-grid-post.eael-post-grid-column {
        width: 50% !important;
    }
    .custom-blocks .eael-post-grid article.eael-grid-post.eael-post-grid-column:nth-child(5) {
        width: 100% !important;
    }

    .custom-blocks .eael-grid-post:nth-child(4):after {
        padding-top: 100% !important;
    }

    .custom-blocks .eael-grid-post .eael-entry-content {
        top: calc(-100% - 30px);
    }

    /* ALBUMS */
    .custom-blocks.custom-blocks-albums .eael-post-grid > article.eael-grid-post.eael-post-grid-column,
    .custom-blocks.custom-blocks-albums .eael-post-grid article.eael-grid-post.eael-post-grid-column:nth-child(5) {
        width: 50% !important;
    }
}

@media (max-width: 599px) {
    .custom-blocks .eael-grid-post .eael-entry-wrapper {
        transform: translateY(calc(-100% - 50px));
    }

    .custom-blocks .eael-post-grid .eael-grid-post:first-child .eael-grid-post-holder {
        border-width: 0 0 10px 0 !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(2) .eael-grid-post-holder {
        border-width: 10px 0 10px 0 !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(3) .eael-grid-post-holder {
        border-width: 10px 0 10px 0 !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(4) .eael-grid-post-holder {
        border-width: 10px 0 10px 0 !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(5) .eael-grid-post-holder {
        border-width: 10px 0 10px 0 !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(6) .eael-grid-post-holder {
        border-width: 10px 0 10px 0 !important;
    }
    .custom-blocks .eael-post-grid .eael-grid-post:nth-child(7) .eael-grid-post-holder {
        border-width: 10px 0 10px 0 !important;
    }

    .custom-blocks .eael-post-grid > article.eael-grid-post.eael-post-grid-column {
        width: 100% !important;
    }

    .custom-blocks .eael-grid-post:after {
        padding-top: 100% !important;
    }
    .custom-blocks .eael-grid-post:nth-child(5):after {
        padding-top: 100% !important;
    }

    .custom-blocks .eael-entry-wrapper .eael-entry-title a {
        font-size: 20px !important;
    }
    .custom-blocks .eael-entry-wrapper .eael-entry-title a:after {
        transform: scale(.85);
    }

    .custom-blocks .eael-grid-post .eael-entry-content p {
        font-size: 17px !important;
    }
    .custom-blocks .eael-grid-post .eael-entry-content {
        top: calc(-100% - 80px);
    }

    /* ALBUMS */
    .custom-blocks.custom-blocks-albums .eael-post-grid > article.eael-grid-post.eael-post-grid-column,
    .custom-blocks.custom-blocks-albums .eael-post-grid article.eael-grid-post.eael-post-grid-column:nth-child(5) {
        width: 100% !important;
    }
}

@media (max-width: 399px) {
    .custom-blocks .eael-entry-wrapper .eael-entry-title a {
        font-size: 16px !important;
    }
    .custom-blocks .eael-entry-wrapper .eael-entry-title a:after {
        transform: scale(.7);
        margin-left: 7px;
    }

    .custom-blocks .eael-grid-post .eael-entry-content p {
        font-size: 14px !important;
    }
    .custom-blocks .eael-grid-post .eael-entry-content {
        top: -100%;

    }
}

@media (max-width: 350px) {
    .custom-blocks .eael-entry-wrapper .eael-entry-title a {
        font-size: 15px !important;
    }
    .custom-blocks .eael-entry-wrapper .eael-entry-title a:after {
        display: none;
    }
}


/*----- OTHERS -----*/
.has-custom-block-title .elementor-column-wrap {
    overflow: hidden;
}

.has-custom-block-title .custom-block-title {
    width: 70% !important;
}

.has-custom-block-title .custom-block-title {
    position: absolute;
    bottom: 20px !important;
}

.has-custom-block-title.align-title-left > .elementor-element-populated > .elementor-widget-wrap {
    left: 0;
}

.has-custom-block-title.align-title-right > .elementor-element-populated > .elementor-widget-wrap {
    right: 0;
}

.has-custom-block-title.align-title-right > .elementor-element-populated > .elementor-widget-wrap .custom-block-title {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: right;
    margin: 0 -20px 0 0;
}

.has-custom-block-title.align-title-right > .elementor-element-populated > .elementor-widget-wrap .custom-block-title a {
    padding-left: 0;
    padding-right: 20px;
    right: 20px !important;
    left: unset;
}

.has-custom-block-title.align-title-right > .elementor-element-populated > .elementor-widget-wrap .custom-block-title .elementor-widget-container:after {
    left: -10px;
    -webkit-transform: skew(-8deg);
    -ms-transform: skew(-8deg);
    transform: skew(-8deg);
}

.has-custom-block-title.align-title-right > .elementor-element-populated > .elementor-widget-wrap .custom-block-title .elementor-widget-container .elementor-heading-title:after {
    -webkit-transform: skew(-8deg);
    -ms-transform: skew(-8deg);
    transform: skew(-8deg);
}

/*----- HOVER -----*/
.has-custom-block-title {
    overflow: hidden;
}

.has-custom-block-title:hover .custom-block-title {
    width: calc(100% + 30px) !important;
}

/*----- CUSTOM BLOCK TITLES -----*/
.custom-block-title {
    height: 60px;
    margin: 0 0 0 -20px;
    position: relative;
}

.custom-block-big-title {
    width: 85% !important;
}

.custom-block-title .elementor-widget-container {
    overflow: hidden;
}
.custom-block-title .elementor-widget-container:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 11px;
    width: 100%;
    height: calc(100% - 10px);
    background: #ffffff;
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: skew(8deg);
    -ms-transform: skew(8deg);
    transform: skew(8deg);
    z-index: 1;
}

.custom-block-title .elementor-widget-container .elementor-heading-title {
    overflow: hidden;
    padding-right: 30px;
}
.custom-block-title .elementor-widget-container .elementor-heading-title:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 10px);
    background: #0A246A;
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: skew(8deg);
    -ms-transform: skew(8deg);
    transform: skew(8deg);
    z-index: 2;
}

.custom-block-title .elementor-heading-title a {
    position: absolute;
    left: 20px;
    padding-left: 20px;
    top: calc(50% - 5px);
    transform: translateY(-50%);
    z-index: 3;
    font-size: 25px !important;
    line-height: 50px;
    font-weight: 300;
    width: 100%;
}

.custom-block-title .elementor-heading-title a:after {
    content: url("../images/Arrow-Right-Navigation-Hover.svg");
    display: inline-block;
    width: 16px;
    margin-left: 15px;
    margin-top: -5px;
    vertical-align: middle;
    border: none;
}

/*----- HOVERS -----*/
.custom-block-title {
    transition: all .3s ease;
    pointer-events: auto;
}

.custom-block {
    overflow: hidden;
}

.custom-block:hover .custom-block-title {
    width: calc(100% + 30px) !important;
}

.custom-block > .elementor-column-wrap:before {
    transition: all .6s ease !important;
}

.custom-block > .elementor-column-wrap:before {
    content: "";
    opacity: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(52, 73, 94, 0.5);
}

.custom-block:hover > .elementor-column-wrap:before {
    opacity: 1;
}

/*----- SLANTED ANGLE RIGHT -----*/
.slanted-angle {
    overflow: hidden;
}

.slanted-angle > .elementor-column-wrap {
    z-index: 1;
    margin-bottom: 10px !important;
}

.slanted-angle > .elementor-column-wrap > .elementor-widget-wrap {
    margin: 0 0 0 -25px;
    padding-top: calc(50% + 32px);
    -webkit-transform: skew(4deg);
    -moz-transform: skew(4deg);
    -o-transform: skew(4deg);
    background: #0A246A;
    overflow: hidden;
    position: relative;
}

.slanted-angle .slanted-angle-content {
    position:absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: calc(100% + 20px) !important;
    -webkit-transform: skew(-4deg);
    -moz-transform: skew(-4deg);
    -o-transform: skew(-4deg);
}

.slanted-angle .slanted-angle-content img {
    transform: translateY(-50%);
    padding-top: 50%;
}

.slanted-angle .custom-block-title {
    -webkit-transform: skew(-4deg);
    -moz-transform: skew(-4deg);
    -o-transform: skew(-4deg);
    z-index: 5;
}

.slanted-angle:after {
    content: '';
    position: absolute;
    top: 10px;
    left: -30px;
    width: calc(100% + 5px);
    height: 100%;
    background: #EA2D49;
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: skew(4deg);
    -ms-transform: skew(4deg);
    transform: skew(4deg);
    z-index: 0;
}

/*----- VIDEO PLAYER -----*/
.slanted-angle .slanted-angle-content iframe {
    width: calc(100% - 20px) !important;
    margin: -10px 0 0 20px !important;
}

.slanted-angle .slanted-angle-content video {
    padding-left: 20px !important;
}

@media (min-width: 1000px) {
    .slanted-angle-left {
        margin-right: 20px;
    }

    .slanted-angle-right {
        margin-left: 20px;
    }
}

@media (max-width: 1260px) {
    .slanted-angle .slanted-angle-content iframe {
        width: 95% !important;
        margin: 0 0 0 20px !important;
    }

    .has-custom-block-title .custom-block-title a {
        font-size: 22px !important;
    }
    .has-custom-block-title .custom-block-title a:after {
        transform: scale(.9);
    }
}

@media (max-width: 1100px) {
    .has-custom-block-title .custom-block-title a {
        font-size: 20px !important;
    }
    .has-custom-block-title .custom-block-title a:after {
        transform: scale(.85);
        margin-top: 0 !important;
    }
}

@media (max-width: 1000px) {
    .has-custom-block-title .custom-block-title a {
        font-size: 18px !important;
    }
    .has-custom-block-title .custom-block-title a:after {
        transform: scale(.8);
        margin-left: 10px !important;
    }
}

@media (max-width: 900px) {
    .has-custom-block-title .custom-block-title a {
        font-size: 16px !important;
    }
    .has-custom-block-title .custom-block-title a:after {
        transform: scale(.7);
        margin-left: 7px !important;
    }
}

@media (max-width: 767px) {
    .slanted-angle-left {
        margin-bottom: 40px;
    }

    .slanted-angle .slanted-angle-content iframe {
        width: calc(100% - 20px) !important;
        margin: -7px 0 0 20px !important;
    }
}

@media (max-width: 599px) {
    .has-custom-block-title .custom-block-title a {
        font-size: 20px !important;
    }
    .has-custom-block-title .custom-block-title a:after {
        transform: scale(.85);
    }
}

@media (max-width: 520px) {
    .slanted-angle > .elementor-column-wrap > .elementor-widget-wrap {
        padding-top: calc(50% + 22px);
    }
}

@media (max-width: 399px) {
    .has-custom-block-title .custom-block-title a {
        font-size: 16px !important;
    }
    .has-custom-block-title .custom-block-title a:after {
        transform: scale(.7);
        margin-left: 7px !important;
    }
}

@media (max-width: 350px) {
    .has-custom-block-title .custom-block-title a {
        font-size: 15px !important;
    }
}