﻿/*
CTC Separate Stylesheet
Updated: 2023-08-18 12:27:23
*/

/* Header Css */

.wp-site-blocks {
    padding:0px !important;
}
header.wp-block-template-part {
    padding: 30px 0 0;
    background: rgba(26,26,26,0.96);
    position: sticky;
    top: 0;
    z-index: 10;
}
header .wp-block-button__link {
    text-decoration: none;
    padding: 8px 22px !important;
    border: none;
    outline: none;
    color: rgb(0, 0, 0);
    background: rgb(253, 154, 5);
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: all 0.3s;
}
header .wp-block-button__link::before {
    content: "";
    background: linear-gradient( 45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000 );
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing-button-85 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}
header .wp-block-button__link:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(253, 154, 5);
    left: 0;
    top: 0;
    border-radius: 10px;
}
@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

header .current-menu-item {
    color: var(--e-global-color-primary);
    border-bottom: 1px solid var(--e-global-color-primary);
}
main.wp-block-group,
main .entry-content {
    margin: 0 !important;
}
.sticky-main .elementor-widget-wrap {
    display: block!important;
}
.sticky-column {
    position: sticky;
    top: 7rem;
}
.container-wrap-con a {
    color: var(--e-global-color-primary);
}


/* Footer Css */

footer.wp-block-template-part {
    border-top: 1px solid #eeeeee21;
    padding: 40px 0 0;
    margin: 0 0 0 !important;
}
footer ul {
    color: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
}
footer ul li {
    margin: 15px 0;
    font-size: 16px;
}
footer ul li a {
    color: #fff;
    transition: all 0.3s;
}
footer ul li a:hover {
    color: var( --e-global-color-primary );
    transition: all 0.3s;
    text-decoration: underline;
}

/* Blog Post Css */

.single-post main.wp-block-group {
    max-width: 1024px;
    margin: 40px auto 50px !important;
}
.single-post .wp-block-post-featured-image {
    border-radius: 10px;
    overflow: hidden;
    margin: 0 0 24px !important;
}
.wp-block-post-title {
    color: #F8D787;
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0 15px !important;
    line-height: 34px !important;
}
.wp-block-post-content p {
    color: #eee;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.wp-block-post-featured-image__overlay {
    display: none !important;
}
.aligned_boxes .elementor-widget-wrap {
    align-items: unset !important;
    align-content: unset !important;
}
.aligned_boxes .elementor-widget-icon-box {
    display: flex;
}
/* Responsive Css */
@media only screen and (max-width: 840px)  {
    .has-global-padding {
    	padding: 0 10px;
    }
    header.wp-block-template-part .wp-block-navigation__responsive-container-open:not(.always-shown) {
    	display: block;
    }
    header.wp-block-template-part .wp-block-navigation__responsive-container,
   .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        bottom: 0;
        display: none;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
    }
    header.wp-block-template-part nav.wp-block-navigation-is-layout-flex {
        order: 2;
    }
    header.wp-block-template-part .wp-block-navigation__responsive-dialog {
        margin: 0 !important;
    }
    header.wp-block-template-part .wp-block-navigation__responsive-container, .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        bottom: 0;
        display: none;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
        width: 100%;
        max-width: 240px;
        background-color: #000 !important;
        color: #fff !important;
        padding: 20px 20px !important;
    }
    .wp-block-navigation__responsive-container.is-menu-open {
        display: block !important;
    }
    header.wp-block-template-part .wp-block-navigation__responsive-container-content {
        padding: 0 !important;
    }
    header.wp-block-template-part ul.wp-block-navigation__container {
        width: 100%;
        align-items: start !important;
    }
    header.wp-block-template-part ul.wp-block-navigation__container li a:hover {
        text-decoration: none;
    }
    html.has-modal-open .wp-block-navigation__responsive-container-open {
        display: none !important;
    }
    html.has-modal-open header.wp-block-template-part nav.wp-block-navigation-is-layout-flex {
        order: unset;
    }
}

@media only screen and (max-width: 424px)  {
    header .wp-block-button__link {
    	padding: 8px 8px !important;
    }
    header .wp-block-image img {
        width: 100%;
        height: 100% !important;
        max-width: 128px;
    }
}