.custom-font-size-1 {
    font-size: 0.6em;
}

@media (min-width: 1200px) {
    .custom-big-font-size-1 {
        font-size: 6.9rem !important;
    }
}

@media (min-width: 1600px) {
    .custom-big-font-size-1 {
        font-size: 8.5rem !important;
    }
}

.custom-blockquote-style-1 {
    border-left-width: 12px;
    border-left-color: #f3f3f3;
}

.custom-bg-color-grey-1 {
    background-color: #5a6267;
}

.custom-border-color-grey-1 {
    border-color: #404040 !important;
}

@media (max-width: 991px) {
    .custom-ws-mobile-wrap {
        white-space: normal !important;
    }
}

.custom-box-shadow-1 {
    box-shadow: 0 0px 40px 0px rgba(187, 187, 187, 0.3);
}

/*
* Text Background
*/
@media (min-width: 992px) {
    .custom-text-background {
        background-repeat: no-repeat;
        background-size: 255%;
        background-position: 20% 30%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

@media (max-width: 991px) {
    .custom-text-background {
        background-image: none !important;
    }
}

/*
* Text Highlight
*/
.custom-highlight-text-1 {
    position: relative;
}

.custom-highlight-text-1:before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    border-bottom: 7px solid #d20d0d;
    opacity: 0.2;
    z-index: 0;
}

/*
* Buttons
*/
.custom-btn-style-1 {
    position: relative;
    transition: ease transform 300ms;
}

.custom-btn-style-1 > span {
    position: relative;
    z-index: 1;
}

.custom-btn-style-1:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    opacity: 0.7;
    border-radius: inherit;
    transform: translate3d(5px, 5px, 0);
    transition: ease transform 300ms;
    z-index: 0;
}

.custom-btn-style-1:hover {
    transform: translate3d(2.5px, 2.5px, 0);
}

.custom-btn-style-1:hover:before {
    transform: translate3d(0, 0, 0);
}

/*
* Crooked Line
*/
.custom-crooked-line {
    display: inline-block;
    width: 77px;
    overflow: hidden;
}

/*
* Custom Link Effects
*/
@keyframes crookedLineAnim {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-48%, 0, 0);
    }
}

.custom-link-hover-effects .custom-view-more svg {
    transition: ease transform 300ms;
}

.custom-link-hover-effects:hover .custom-crooked-line svg {
    animation-name: crookedLineAnim;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.custom-link-hover-effects:hover .custom-view-more svg {
    transform: translate3d(7px, 0, 0);
}

.custom-link-hover-effects:hover .custom-date-style-1 {
    transform: translate3d(2.5px, 2.5px, 0);
}

.custom-link-hover-effects:hover .custom-date-style-1:before {
    transform: translate3d(0, 0, 0);
}

/*
* Header
*/
.custom-header-top-nav-background {
    position: relative;
}

.custom-header-top-nav-background:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100%;
    background: var(--grey-500);
    transform: skewX(-25deg);
    z-index: 1;
}

.custom-header-top-nav-background:after {
    content: '';
    position: absolute;
    top: 7px;
    right: -7px;
    width: 100vw;
    height: 100%;
    background: var(--grey-500);
    transform: skewX(-25deg);
    z-index: 0;
}

/* cc */
@media (min-width: 992px) {
    #header .header-nav-main nav > ul > li > a {
       /* padding: 0px 10px !important; */
        font-size: 16px;
    }
}

/*
* Carousel
*/
.custom-carousel-box-shadow-1 {
    position: relative;
}

.custom-carousel-box-shadow-1:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 65%;
    height: 0px;
    box-shadow: 0 40px 40px 120px rgba(0, 0, 0, 0.03);
    transform: translate3d(-50%, -50%, 0);
    z-index: 0;
}

.custom-dots-style-1 .owl-dots,
.custom-dots-style-2 .owl-dots {
    margin-top: 30px !important;
}

.custom-dots-style-1 .owl-dots .owl-dot > span,
.custom-dots-style-2 .owl-dots .owl-dot > span {
    background: #9e9e9e !important;
    transition: ease all 300ms;
}

.custom-dots-style-1 .owl-dots .owl-dot.active > span,
.custom-dots-style-2 .owl-dots .owl-dot.active > span {
    background: #3e3e3e !important;
    width: 18px;
}

@media (max-width: 991px) {
    .custom-dots-style-2 .owl-dots {
        transform: translate3d(0, -50px, 0);
    }
}

.custom-carousel-vertical-center-items .owl-stage {
    display: flex;
    align-items: center;
}

.custom-nav-style-1 .owl-nav {
    left: 50%;
    width: 105%;
    transform: translate3d(-50%, -50%, 0);
}

.owl-carousel.carousel-center-active-item .owl-item {
    opacity: 0.4;
}

/*
* Tabs
*/
.custom-tabs-style-1 .nav-tabs {
    border-bottom: 1px solid #f1f1f1 !important;
    margin-bottom: 35px !important;
}

.custom-tabs-style-1 .nav-tabs > li {
    margin-bottom: 0 !important;
}

.custom-tabs-style-1 .nav-tabs > li .nav-link {
    border-bottom-width: 1px !important;
}

.custom-tabs-style-1 .nav-tabs > li .nav-link.active {
    border-bottom-width: 2px !important;
}

/*
* Accordion
*/
.custom-accordion-style-1 > .card {
    border: 1px solid transparent !important;
    transition: ease border-color 300ms;
}

.custom-accordion-style-1 > .card .card-header a {
    position: relative;
    padding: 23px 30px;
    background-color: #f4f4f4;
    transition: ease background-color 300ms, ease color 300ms;
}

.custom-accordion-style-1 > .card .card-header a:after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 25px;
    font-size: inherit;
    font-weight: inherit;
    transform: translate3d(0, -50%, 0) rotate(45deg);
    transform-origin: 50% 50%;
    transition: ease transform 300ms;
}

.custom-accordion-style-1 > .card .card-header a.collapsed:after {
    transform: translate3d(0, -50%, 0) rotate(0deg);
}

.custom-accordion-style-1 > .card .card-header + .collapse.show,
.custom-accordion-style-1 > .card .card-header + .collapsing {
    border: 1px solid #efefef;
    border-top: 0;
}

.custom-accordion-style-1 > .card + .card {
    margin-top: 17px;
}

/*
* Read More
*/
.custom-read-more-style-1 .readmore-overlay {
    background: linear-gradient(rgba(2, 0, 36, 0) 0%, white 60%) !important;
}

/*
* Blog Post Date
*/
.custom-date-style-1 {
    position: relative;
    transition: ease transform 300ms;
}

.custom-date-style-1:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    opacity: 0.7;
    transform: translate3d(5px, 5px, 0);
    transition: ease transform 300ms;
    z-index: 0;
}

/*
* Footer
*/
#footer p, #footer li, #footer a:not(.btn):not(.no-footer-css) {
    color: #000 !important;
    font-size: 15px;
}

#footer .footer-copyright p {
    color: #999;
}

/* Skin */
/*
* Text Highlight
*/
.custom-highlight-text-1:before {
    border-bottom-color: var(--primary);
}

/*
* Header
*/
.custom-header-top-nav-background {
    position: relative;
}

.custom-header-top-nav-background:before {
    background: var(--primary);
}

.custom-header-top-nav-background:after {
    background: var(--primary--300);
}

/*
* Accordion
*/
.custom-accordion-style-1 > .card .card-header a:not(.collapsed) {
    background-color: var(--primary);
    color: var(--primary-inverse) !important;
}

.custom-accordion-style-1 > .card:hover .card-header a.collapsed {
    color: var(--primary) !important;
}


/* for the service blocks  */

/* Custom Grid */
.custom-grid-1 {
    margin-top: -70px;
    position: relative;
}

.custom-grid-1 .container1 {
    margin: 0 auto;
}

.custom-grid-1 .container1 .row {
    margin: 0;
}

.custom-grid-1 .container1 .row > * {
    padding: 0;
    background-color: var(--light);
    min-height: 220px;
    align-items: center;
    overflow: hidden;
}

@media (max-width: 991px) {
    .custom-grid-1 .container1 .row > * {
        border: 1px solid var(--grey-100);
    }
}

@media (min-width: 992px) {
    .custom-grid-1 .container1 .row > *:nth-child(1),
    .custom-grid-1 .container1 .row > *:nth-child(3),
    .custom-grid-1 .container1 .row > *:nth-child(6),
    .custom-grid-1 .container1 .row > *:nth-child(8),
    .custom-grid-1 .container1 .row > *:nth-child(10) {
        background-color: var(--grey-100);
    }
}

.custom-grid-1 .custom-grid-1-item {
    position: relative;
}

.custom-grid-1 .custom-grid-1-item .custom-grid-1-img {
    transition: opacity 300ms;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-grid-1 .custom-grid-1-item .custom-grid-1-img img {
    transition: transform 2s;
    will-change: transform;
    transform: scale(0.75);
}

.custom-grid-1 .custom-grid-1-item .custom-grid-1-img:after {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    opacity: 0.7;
    background-color: var(--dark);
}

.custom-grid-1 .custom-grid-1-item .custom-grid-1-text {
    position: relative;
    z-index: 1;
}

.custom-grid-1 .custom-grid-1-item:hover .custom-grid-1-img {
    opacity: 1;
}

.custom-grid-1 .custom-grid-1-item:hover .custom-grid-1-img img {
    transform: scale(1);
}

.custom-grid-1 .custom-grid-1-item:hover h3 {
    color: var(--light) !important;
}


/* gallery page  */

.custom-thumb-info-4 {
    border: none;
    padding-bottom: 30px;
    overflow: visible;
}

.custom-thumb-info-4:hover .thumb-info-wrapper:before {
    background: rgba(0, 0, 0, 0.55);
}

.custom-thumb-info-4:hover .thumb-info-wrapper:after {
    top: 50%;
    opacity: 1;
}

.custom-thumb-info-4 a {
    cursor: pointer;
}

.custom-thumb-info-4 .thumb-info-wrapper:before {
    transition: background 0.2s;
    background: rgba(0, 0, 0, 0);
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.custom-thumb-info-4 .thumb-info-wrapper:after {
    transition: top 0.2s, opacity 0.2s;
    background: transparent;
    color: var(--light);
    content: "\e090";
    font-family: simple-line-icons;
    font-size: 30px;
    height: 30px;
    position: absolute;
    top: 30%;
    margin-top: -15px;
    display: block;
    text-align: center;
    width: 100%;
    opacity: 0;
    z-index: 3;
}

.custom-thumb-info-4 .thumb-info-wrapper.active {
    box-shadow: 0px 0px 60px -3px #8b8b8b;
}

.custom-thumb-info-4 .thumb-info-caption {
    position: relative;
    display: block;
    width: 80%;
    margin: -37px auto 0;
    padding: 15px;
    background: var(--light);
    z-index: 1;
}

.custom-thumb-info-4 .thumb-info-caption .thumb-info-caption-text {
    padding: 0;
}

.custom-thumb-info-4 .thumb-info-caption h2 {
    margin: 0;
    line-height: 1.5;
}
