/*=======  Common Style  =======*/
body {
    font-family: $ops;
    font-weight: 400;
    font-style: normal;
    color: $secondary-color;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
    word-wrap: break-word;
}

* {
    margin: 0;
    padding: 0;
    @include box-sizing(border-box);
}

img {
    max-width: 100%;
    height: auto;
}

a:focus,
input:focus,
textarea:focus,
button:focus,
.slick-initialized .slick-slide:focus,
.btn:focus,
select:focus {
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

input,
textarea,
button,
select {
    border: none;
}

input,
textarea,
select {
    width: 100%;
    background-color: #f3f3f3;
    padding: 0 30px;
    height: 60px;
    font-weight: 600;
    font-size: 16px;
    color: $secondary-color;
}

textarea {
    height: 200px;
    padding-top: 20px;
    resize: none;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #a5a5a5;

    &::-ms-expand {
        display: none;
    }
}

select option {
    color: #333;
}

::placeholder {
    opacity: 1;
    color: #a5a5a5;
}

::-webkit-scrollbar {
    background-color: #ccc;
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: $secondary-color;
}

.input-group {
    position: relative;
    display: block;

    input,
    textarea,
    select {
        padding-right: 45px;
        padding-left: 25px;
    }

    .icon {
        position: absolute;
        right: 25px;
        font-size: 14px;
        color: $primary-color;
        top: 50%;
        transform: translateY(-50%);
    }

    &.textarea {
        .icon {
            top: 20px;
            transform: translateY(0);
        }
    }
}

.slick-slide img {
    display: inline-block;
}

a:focus,
a:hover {
    text-decoration: none;
}

i,
span,
a {
    display: inline-block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: $raj;
    font-weight: 700;
    margin-bottom: 20px;

    &,
    a {
        color: $secondary-color;
    }
}

ul,
ol {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

p {
    margin: 0 0 20px;
}

a {
    @include transition(0.3s);

    &,
    &:hover {
        color: $primary-color;
    }
}

.fal,
.far {
    font-family: "Font Awesome 5 Pro" !important;
}

/*=======  Common Classes  =======*/
.container-1500 {
    @include respond-above(c1600) {
        max-width: 1530px;
    }

    @include respond-between(c1350, c1600) {
        max-width: 1330px;
    }
}

.container-1320 {
    @include respond-above(c1350) {
        max-width: 1350px;
    }
}

.container {
    @include respond-below(lg) {
        max-width: 100%;
    }
}

.elementor {
    .elementor-section {
        &.elementor-section-boxed > .elementor-container {
            max-width: 1200px;
            flex-grow: 1;
        }
    }
}

.elementor-container {
    .elementor-column {
        .elementor-widget-wrap.elementor-element-populated {
            padding: 0;
        }
    }
}

.elementor-text-editor p:last-child {
    margin-bottom: 0;
}

.elementor-widget-text-editor p:last-child {
    margin: 0;
}

.content-gap {
    padding-top: 120px;
    padding-bottom: 120px;

    @include respond-below(sm) {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}

.section-gap-bottom {
    padding-bottom: 120px;

    @include respond-below(sm) {
        padding-bottom: 90px;
    }
}

.section-gap-top {
    padding-top: 120px;

    @include respond-below(sm) {
        padding-top: 90px;
    }
}

.no-sidebar .container-fluid > .row,
.no-sidebar .container > .row {
    margin-left: 0;
    margin-right: 0;
}

.no-sidebar .container-fluid > .row > .col-12,
.no-sidebar .container > .row > .col-12 {
    padding-left: 0;
    padding-right: 0;
}

.body-clippy-shape {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    background-color: $primary-color;
    clip-path: polygon(65% 0, 0 0, 0 100%);
    height: 2025px;

    @include respond-below(c1600) {
        clip-path: polygon(70% 0, 0 0, 0 100%);
        height: 1600px;
    }

    @include respond-below(sm) {
        clip-path: polygon(60% 0, 0 0, 0 100%);
        height: 1500px;
    }
}

/*=======  Wp Deafut Reset  =======*/
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

.sticky {
    display: block;
}

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

.infinity-end.neverending .site-footer {
    display: block;
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

embed,
iframe,
object {
    max-width: 100%;
}

.custom-logo-link {
    display: inline-block;
}

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
    font-size: 14px;
    padding: 0.5em 0;
}

.blocks-gallery-caption,
.wp-block-embed figcaption,
.wp-block-image figcaption {
    text-align: center;
    font-size: 14px;
}

.wp-block-button {
    margin-bottom: 15px;
}

.wp-block-cover {
    margin-bottom: 1.5em;
}

.wp-block-cover p:not(.has-text-color) {
    color: #fff;
}

.gallery-caption {
    display: block;
}

.gallery {
    margin-bottom: 1.5em;
    margin-left: -7px;
    margin-right: -7px;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
    margin: 0;
    padding: 7px;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}

.blocks-gallery-caption {
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
    font-size: 14px;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    line-height: 1.7142857143;
    margin-bottom: 20px;
    max-width: 100%;
    overflow: auto;
    padding: 30px;
    color: #606060;
    white-space: pre-wrap;
    margin: 20px 0;
}

pre code,
code,
kbd {
    font-size: 87.5%;
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
}

table {
    margin: 0 0 20px;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

table,
th,
td {
    border: 1px solid #eee;
}

th,
td {
    padding: 12px;
    font-size: 15px;
}

blockquote p {
    margin-bottom: 0;
}

.wp-block-separator:not(.is-style-dots) {
    background-color: #767676;
    border: 0;
    height: 2px;
    margin-bottom: 40px;
    margin-top: 40px;
    text-align: left;
    border-color: transparent;
    max-width: 100%;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-separator.is-style-dots:before {
    content: "\00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7";
    color: #767676;
    font-size: 1.6875em;
    letter-spacing: calc(1.5 * 1rem);
    padding-left: calc(1.5 * 1rem);
}

/* blockquote */
blockquote {
    position: relative;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.8;
    padding: 5px 25px;
    border-left: 3px solid $primary-color;
    margin: 0 0 30px;
    color: #1e1e1e;
}

.wp-block-quote cite,
.blockquote cite,
.wp-block-pullquote cite {
    font-size: 14px;
    margin-top: 10px;
    display: block;
    line-height: 1;
}

.wp-block-quote.has-text-align-right {
    border-left: none;
    border-right: 3px solid$primary-color;
}

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
    margin: 0 0 30px;
    padding: 5px 30px;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
    font-style: normal;
    font-size: 24px;
    line-height: 1.6;
}

.wp-block-quote.is-large cite,
.wp-block-quote.is-large footer,
.wp-block-quote.is-style-large cite,
.wp-block-quote.is-style-large footer {
    text-align: left;
    text-align: left;
    font-size: 16px;
    margin-top: 10px;
}

.wp-block-pullquote {
    margin: 0 0 30px;
    border-top: 3px solid$primary-color;
    border-bottom: 3px solid $primary-color;
    color: #1e1e1e;
    padding: 0;
}

.wp-block-pullquote blockquote {
    margin: 0;
    border: none;
    padding: 35px 25px;
}

.wp-block-pullquote p,
.wp-block-pullquote.is-style-solid-color blockquote p {
    font-size: 20px;
}

.wp-block-pullquote.is-style-solid-color blockquote {
    width: 100%;
    text-align: center;
}

.wp-caption-text,
.sticky,
.gallery-caption,
.bypostauthor,
.screen-reader-text {
    visibility: visible;
}

#wp-admin-bar-elementor_edit_page .elementor-edit-link-title {
    display: initial;
}

.wp-block-group.has-background {
    padding: 15px 15px 1px;
    margin-bottom: 30px;
}

.editor-styles-wrapper .has-large-font-size,
.has-large-font-size {
    font-size: 18px;
}

.wp-block-media-text {
    margin-bottom: 30px;
}

a.wp-block-button__link {
    font-size: 14px;
}

.is-style-squared a.wp-block-button__link {
    border-radius: 0;
}

#wp-calendar caption {
    caption-side: top;
}

.main-btn {
    font-family: $raj;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0 45px;
    background-color: $primary-color;
    color: $secondary-color;
    line-height: 60px;
    @include transition(0.3s);

    @include respond-below(xs) {
        padding: 0 40px;
        line-height: 55px;
        height: 55px;
        font-size: 15px;
    }

    &:hover {
        color: $white;
        background-color: $secondary-color;
    }
}

/*=======  Page Layout  =======*/
.entry-page-padding {
    padding-top: 120px;
    padding-bottom: 120px;
    padding-left: 15px;
    padding-right: 15px;
}

.section-padding {
    padding-top: 120px;
    padding-bottom: 120px;
}

.section-padding-top {
    padding-top: 120px;
}

.section-padding-bottom {
    padding-bottom: 120px;
}

.page-inner {
    ul,
    ol {
        margin-top: 20px;
        margin-bottom: 20px;
        list-style: disc;
        list-style-position: inside;

        ul,
        ol {
            padding-left: 20px;
        }
    }

    ol {
        list-style: decimal;
        list-style-position: inside;
    }
    .post-password-form {
        label {
            width: 100%;
            margin: 0;
        }

        p {
            position: relative;

            &:last-child {
                margin-bottom: 0;
            }
        }

        input {
            margin-top: 10px;
        }

        input[type="submit"] {
            position: absolute;
            width: auto;
            height: 60px;
            bottom: 0;
            right: 0;
            padding: 0 45px;
            background-color: $primary-color;
            @include transition(0.3s);

            &:hover {
                background-color: $secondary-color;
                color: $white;
            }
        }

        input[type="password"] {
            padding-right: 140px;
        }
    }
}

.elementor-widget {
    ul,
    ol {
        margin: 0;
        list-style: none;

        ul,
        ol {
            padding: 0;
        }
    }

    ol {
        list-style: none;
    }
}

#preloader {
    margin: auto;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: $secondary-color;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;

    .loader {
        width: 40px;
        height: 30px;
        position: relative;

        span,
        &::before,
        &::after {
            position: absolute;
            display: block;
            width: 6px;
            height: 100%;
            background: $primary-color;
        }

        span {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation: wave 1.2s linear infinite 0.3s;
        }

        &::before,
        &::after {
            content: "";
        }

        &::before {
            top: 50%;
            left: 0;
            transform: translate(0, -50%);
            animation: wave 1.2s linear infinite;
        }

        &::after {
            top: 50%;
            right: 0;
            transform: translate(0, -50%);
            animation: wave 1.2s linear infinite 0.6s;
        }
    }
}

@keyframes headerSlideDown {
    0% {
        transform: translateY(-200px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes wave {
    0% {
        height: 100%;
    }
    40% {
        height: 10%;
    }
    80% {
        height: 100%;
    }
    100% {
        height: 100%;
    }
}
