/*--------------------------------
# Gutenberg
--------------------------------*/

.entry-content, .secondary-content {
    padding-top: 4rem;
}
.blocks-content, .wp-block-cover__inner-container, .wp-block-group__inner-container {
    margin: 0 auto;
    max-width: 840px;
    width: 100%;
}
.wp-block-group {
    margin: 4rem auto;
    margin-top: calc(4rem - 1.71rem);
}
.full-top {
    margin-top: 4rem;
}
@media only screen and (max-width: 600px) {
    .wp-block-group {
        margin: 2rem auto;
        margin-top: calc(2rem - 1.71rem);
    }
    .full-top {
        margin-top: 2rem;
    }
}
.alignwide {
    margin-left: -170px;
    margin-right: -170px;
    max-width: 100vw;
}
.alignwide.cards-block {
    margin-left: -185px;
    margin-right: -185px;
}
.alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: auto;
}
.alignfull .kt-row-column-wrap {
    padding-left: 20px;
    padding-right: 20px;
}
@media only screen and (min-width: 1800px) {
   /* .alignfull {
        margin-left: calc(-1800px / 2 + 100% / 2);
        margin-right: calc(-1800px / 2 + 100% / 2);
        /* max-width: 1800px; */
   /* } */
}
@media only screen and (max-width: 1220px) {
    .alignwide, .alignfull {
        padding-left: 20px;
        padding-right: 20px;
    }
    .alignwide.cards-block {
        padding-left: 5px;
        padding-right: 5px;
    }
    .alignwide, .alignwide.cards-block {
        margin-left: calc(-100vw / 2 + 100% / 2);
        margin-right: calc(-100vw / 2 + 100% / 2);
    }
    .wp-block-kadence-rowlayout.alignfull {
        padding-left: 0;
        padding-right: 0;
    }
}
@media only screen and (max-width: 880px) {
    .blocks-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.has-sidebar .alignwide, .has-sidebar .alignfull {
    margin-left: 0;
    margin-right: 0;
}

.wp-block-group.has-background, .wp-block-group.metal-bg {
    padding: 4rem 20px;
}
.wp-block-image, .wp-block-media-text, .wp-block-button {
    margin-bottom: 1.71rem;
}
.wp-block-cover__inner-container {
    margin: 0 auto;
    max-width: 940px;
    width: 100%;
}
.wp-block-cover-image .wp-block-cover-image-text, .wp-block-cover-image .wp-block-cover-text, .wp-block-cover-image h2, .wp-block-cover .wp-block-cover-image-text, .wp-block-cover .wp-block-cover-text, .wp-block-cover h2 {
    max-width: 100%;
}

.blocks-content > p:last-child, .blocks-content > ul:last-child, .blocks-content > ol:last-child {
    margin-bottom: 4rem;
}

@media only screen and (max-width: 600px) {
    .wp-block-group.has-background, .wp-block-group.metal-bg {
        padding: 2rem 20px;
    }
    .blocks-content > p:last-child, .blocks-content > ul:last-child, .blocks-content > ol:last-child {
        margin-bottom: 2rem;
    }
}

/* Items that should not have a bottom margin */

.wp-block-group .wp-block-column p:last-of-type, .wp-block-group.has-background .wp-block-columns:last-of-type, .no-bottom, .wp-block-columns, .wp-block-image figure {
    margin-bottom: 0;
}
.wp-block-column {
    margin-bottom: 2rem;
}
@media only screen and (min-width: 783px) {
    .wp-block-column {
        margin-bottom: 0;
    }
}
.blocks-content > .wp-block-group:first-child, .no-top {
    margin-top: 0;
}
.blocks-content > .wp-block-group.has-background:last-child {
    margin-bottom: 0;
}

.wp-block-button {
    color: #333;
}
.wp-block-button a:hover {
    color: #333;
}

/* Product Gallery */

.block-products {
    padding-bottom: 2rem;
}
.product-slide-inside {
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}
.product-slide-inside img {
    max-height: 460px;
    width: auto;
}
.block-products .slick-dots li {
    background: none !important;
    padding: 0 3px !important;
}

/* Team */

a.team-member-link {
    border: 0 !important;
    display: block;
    margin: 0 0 10px;
    position: relative;
    transition: all .4s ease;
}
a.team-member-link:hover {
    box-shadow: 0 5px 12px rgba(0, 0, 0, .15);
    transform: translateY(-5px);
}
a.team-member-link:before {
    background: #068ccb;
    background: linear-gradient(225deg, #068ccb 0%, #53c0d6 100%);
    bottom: 0;
    content: '';
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 100%;
    transition: all .4s ease;
    visibility: hidden;
}
a.team-member-link:hover:before {
    top: 0;
    visibility: visible;
}
.team-member-thumb {
    height: 310px;
    position: relative;
    width: 100%;
    z-index: 5;
}
.team-member-info {
    min-height: 120px;
    padding: 10px;
    position: relative;
    z-index: 6;
}
a.team-member-link h3 {
    margin: 0;
    transition: all .4s ease;
}
a.team-member-link:hover h3 {
    color: #fff;
}
.team-member-title {
    line-height: 1.1em;
}

/* Video Player */

a.yt-launch {
    border: 0 !important;
    position: relative;
}
a.yt-launch:hover {
    text-decoration: none;
}
.yt-play-icon {
    align-items: center;
    background: rgba(209, 41, 47, .5);
    bottom: 0;
    color: #fff;
    display: flex;
    font-size: 45px;
    height: 90px;
    justify-content: center;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    transition: all .4s ease;
    width: 90px;
    z-index: 10;
}
a.yt-launch:hover .yt-play-icon {
    background: rgba(209, 41, 47, .8);
}

/* Featured Service */

/* Icon Box */

.block-iconlink {
    text-align: center;
}
.entry-content a.icon-link {
    border: 2px solid #eee;
}
.icon-link {
    border: 2px solid #eee;
    display: block;
    position: relative;
    text-align: center;
    text-decoration: none;
}
.icon-link-overlay {
    background: #00B5C6;
}

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

    .icon-link:before {
        content: '';
        display: block;
        padding-top: 100%;
    }
    .icon-link-inside, .icon-link-overlay, .icon-link-overlay-inside {
        bottom: 0;
        display: block;
        left: 0;
        margin: auto;
        position: absolute;
        right: 0;
        top: 0;
    }
    .icon-link-inside {
        align-items: center;
        display: flex;
        justify-content: center;
    }
    .icon-link-overlay, .icon-link-overlay-inside {
        /* border-radius: 500px; */
        transition: all .4s ease;
    }
    .icon-link-overlay {
        opacity: 0;
        overflow: hidden;
        transform: scale(0);
        visibility: hidden;
        z-index: 10;
    }
    .icon-link:hover .icon-link-overlay {
        /* border-radius: 10px; */
        opacity: 1;
        transform: scale(1);
        visibility: visible;
        /* transition: all .4s ease, opacity .2s ease; */
    }
    .icon-link-overlay-inside {
        align-items: center;
        background: #fff;
        bottom: 3px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        left: 3px;
        right: 3px;
        padding: 1rem;
        top: 3px;
        z-index: 11;
    }
    /* .icon-link:hover .icon-link-overlay-inside {
        border-radius: 8px;
    } */

}

.icon-link img {
    margin: 0 0 20px;
}
.icon-link-title {
    color: #333;
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
	min-height:55px;
}

.icon-link-overlay-title {
    color: #00B5C6;
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}
.icon-link-excerpt {
    color: #333;
    display: block;
    font-size: 1rem;
	font-size: .95rem;
    font-weight: 500;
    line-height: 1.4em;
	line-height: 1.3em;
    margin: 10px 0;
    text-align: center;
}
.icon-link-lm {
    color: #00B5C6;
    display: block;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}
.icon-link-lm i {
    display: inline-block;
    font-size: .68em;
    margin-right: 2px;
    position: relative;
    top: -0.17em;
}
@media only screen and (max-width: 1024px) {
    .icon-link-inside {
        display: block;
        padding-top: 20px;
    }
    .icon-link img {
        height: 120px !important;
    }
}
@media only screen and (max-width: 640px) {
    .icon-link {
        margin-bottom: 1.71rem;
    }
    .icon-link-overlay-title {
        display: none;
    }
}
