﻿#style-configurator {
    width: 255px;
    position: fixed;
    top: 10%;
    left: -255px;
    z-index: 999;
    box-shadow: 0px 0px 10px -3px rgb(0 0 0 / 51%);
    background: #fff;
    border-radius: 10px;
    transition: left 0.5s ease-in-out;
}

#style-configurator .style-content {
    padding: 0;
    margin: 0px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    border-radius: 10px;
}

#style-configurator .style-content::-webkit-scrollbar {
    width: .2em;
}

#style-configurator .style-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

#style-configurator .style-content::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}

#style-configurator h2 {
    text-transform: uppercase;
    width: 100%;
    padding: 22px 10px 18px;
    margin-bottom: 0 !important;
    background: #fff;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#eaeaea', GradientType=0);
}

.clr_localStorage {
    width: 100%;
    padding: 0;
    line-height: 35px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    display: block;
    text-align: center;
    cursor: pointer;
}

#style-configurator h4 {
    letter-spacing: .5px;
    padding: 0;
    border: 0px;
    margin: 15px auto !important;
    display: table;
    white-space: nowrap;
    margin: auto;
}

#style-configurator h4:before,
#style-configurator h4:after {
    border-top: 1px solid #848484;
    content: '';
    display: table-cell;
    position: relative;
    top: 8px;
    width: 15%;
}

#style-configurator h4:before {
    right: 4.5%;
}

#style-configurator h4:after {
    left: 5.5%;
}

#style-configurator h2,
#style-configurator h4 {
    font-size: 13px !important;
    text-align: center;
    color: #848484;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 991px) {}

#style-configurator>a {
    position: absolute;
    right: -60px;
    top: 213px;
    color: #333333;
    cursor: pointer;
    width: 60px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: #fff;
    border-radius: 0px 25px 25px 0px;
    box-shadow: 3px 0px 5px -2px rgba(0, 0, 0, 0.14);
    /* border: 1px solid rgba(180 180 180 / 50%); */
}

.three-cogs {
    position: relative;
    font-size: 1.95em;
    display: table;
    margin: 1px auto 0px 3px;
    color: var(--sp-primary);
}

.three-cogs>.fa:nth-child(1) {
    animation-duration: 4s;
    color: var(--secondary-color);
}

.three-cogs>.fa:nth-child(2),
.three-cogs>.fa:nth-child(3) {
    position: absolute;
    top: -0.2em;
    right: -0.45em;
    animation-direction: reverse;
    animation-duration: 2s;
    color: var(--secondary-color);
}

.three-cogs>.fa:nth-child(3) {
    top: auto;
    bottom: -0.2em;
    color: var(--secondary-color);
}

@keyframes color {
    0% {
        color: red;
    }

    50% {
        color: blue;
    }

    100% {
        color: red;
    }
}

.colors1 {
    list-style: none outside none;
    margin: 0 0 10px;
    border-bottom: 1px solid #d2d2d2;
    overflow: hidden;
    padding: 0 0 20px;
}

.colors1 li {
    float: left;
    margin: 0px 2px 0;
}

.colors1 li a {
    border-radius: 1px;
    color: #ffffff;
    cursor: pointer;
    display: block;
    font-size: 13px;
    height: 30px;
    padding: 5px;
    text-align: center;
    width: 80px;
}

.style-palette,
.style-palette-bg,
.style-palette-bx,
.style-header-type {
    list-style: none outside none;
    margin: 0 0 20px;
    padding: 0 12px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.style-palette-bx {
    justify-content: center;
}

.style-palette-bx li a img {
    border: 1px solid #ddd;
    /* width: 85px; */
}

.style-palette li a,
.style-palette-bg li a,
.style-palette-bx li a {
    position: relative;
    display: block;
    cursor: pointer;
    background: #fff;
    border: 1px solid #fff;
    padding: 2px;
    -webkit-transition: .3s;
    transition: .3s;
    border-radius: 50%;
}

.style-palette:last-child,
.style-palette-bg:last-child {
    border-bottom: 0 none;
    margin-right: 0;
}

.style-palette li,
.style-palette-bg li {
    margin: 2px 2px 0 0;
}

.style-palette li:nth-child(7n+7),
.style-palette-bg li:nth-child(7n+7) {
    margin-right: 0;
}

.style-palette li:nth-child(n+6) {}

.style-palette li {}

.layout-style select,
.header-style select,
.footer-style select,
.header-color input {
    width: 164px;
    padding: 7px 5px;
    color: #363636;
    cursor: pointer;
    border-radius: 0px;
    height: 35px;
    font-size: 14px;
    margin: 2px 0 2px 2px;
    border: 1px solid #ccc;
}

.header-color .sp-replacer {
    padding: 4px 6px !important;
}

.header-color .sp-replacer .sp-dd,
.header-color .sp-replacer .sp-preview,
div.header-color {
    padding: 0px 1px !important;
}

.layout-style,
.header-style,
.header-color .footer-style {
    padding: 0 !important;
}

a#wide,
a#boxed {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

a#wide {
    display: block;
    margin-right: 10px;
}

.style-palette .color-changer [class*="color"] {
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
}

.style-palette-bg .pattern-changer [class*="pattern"] {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
}

.color-default {
    background: #003366;
}

.color-one {
    background: #333333;
}

.color-two {
    background: #000000;
}

.color-three {
    background: #004225;
}

.color-four {
    background: #B22222;
}

.color-five {
    background: #4169E1;
}

.color-six {
    background: #8B4513;
}

.color-seven {
    background: #6A5ACD;
}

.style-palette li a.active,
.style-palette-bg li a.active,
.web-btn.active,
.style-palette li a:hover,
.style-palette-bg li a:hover,
.web-btn:hover {
    border: 1px solid #d7d7d7;
}

#bg {
    -webkit-transition: opacity 2s ease-in;
    -moz-transition: opacity 2s ease-in;
    -o-transition: opacity 2s ease-in;
    -ms-transition: opacity 2s ease-in;
    transition: opacity 2s ease-in;
}

.style-palette li a.active::before {
    content: "\f00c";
    font-family: 'FontAwesome';
    font-size: small;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    color: #fff;
    margin: auto;
    z-index: 1;
}

.style-palette li a.active::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #00000047;
}

.jscolors-bg {
    padding: 0 15px 16px;
}

.jscolors-bg label {
    display: block;
    font-size: 13px !important;
    text-align: left;
    color: #848484;
    font-weight: 500;
}

.jscolors-bg .jscolor,
.jscolors-bg #resetColor {
    color: #fff;
    font-size: 12px;
    border: 1px solid transparent;
    line-height: 2;
    padding: 0px 20px;
    border-radius: 0;
    display: inline-block;
    width: 100%;
    max-width: 110px;
}

.jscolors-bg #resetColor {
    color: #ffffff !important;
    background: #003366 !important;
}

.jscolors-bg #resetColor:hover,
.jscolors-bg #resetColor:focus {
    background: #CC0000 !important;
}

.jscolors-bg .jscolor {
    background-color: #ffffff !important;
    color: #333 !important;
    border-color: #333;
}

.jsco-t:hover:after {
    content: "Clear custom color first";
    position: absolute;
    ;
    left: 0;
    font-size: 12px;
    white-space: nowrap;
    padding: 10px 15px;
    color: #fff;
    background: #f24259;
    z-index: 99999999;
}

.header-layout-styles .header_type {
    display: none;
}

.header-layout-styles {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.header-layout-styles label {
    flex-basis: 45%;
}

.header-layout-styles .header_option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3rem;
    line-height: 1.625;
    cursor: pointer;
    font-size: 0.77rem;
    padding: 0 8px;
    border-width: 1px;
    border-style: solid;
    border-color: #e2e8f0;
    -webkit-transition: .3s;
    transition: .3s;
}

.header-layout-styles label:nth-child(2) .header_option,
.header-layout-styles label:nth-child(4) .header_option {
    border-left-width: 0;
}

.header-layout-styles label:nth-child(3) .header_option,
.header-layout-styles label:nth-child(4) .header_option {
    border-top-width: 0;
}

.header-layout-styles input[type="checkbox"]:checked+span,
.clr_localStorage {
    color: #fff !important;
    background: #CC0000;
}

.boxed .header-single-slider .container.inner-content.text-center {
    margin-left: 160px;
    margin-right: auto;
}

.boxed .header-single-slider .container.inner-content.text-right {
    margin-right: auto;
}

.alertify-notifier .ajs-message.ajs-error {
    background-color: #f2436c;
}

@media only screen and (max-width: 1023px) {
    #style-palette {
        display: none;
    }
}


/* This media query for layout resize with boxed layout */

@media(min-width: 1200px) {
    body.boxed {
        width: 1170px;
        -webkit-box-shadow: 0 0 10px 0 rgba(48, 48, 48, 0.5);
        box-shadow: 0 0 10px 0 rgba(48, 48, 48, 0.5);
        margin: 0 auto;
        position: relative;
        background-image: url(../../../assets/images/bg-pattern/pattern-1.png) repeat fixed;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    body.boxed {
        width: 100%;
    }
}

@media (max-width: 767px) {
    body.boxed {
        width: 100%;
        /* padding: 0px 20px !important; */
    }

    body {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

@media (min-width: 980px) and (max-width: 1199px) {
    body.boxed {
        width: 100%;
    }
}

.style-overflow {
    overflow-y: auto;
    height: 100%;
    max-height: 535px;
}

.style-overflow::-webkit-scrollbar {
    width: 4px;
}

.jscolors-bg .jscolor {
    max-width: 225px;
    border-radius: 4px;
}

.jscolors-bg #resetColor {
    max-width: 100%;
    margin-top: 8px;
    padding: 4px;
    border-radius: 4px;
    border: 0;
}

.style-palette li a.color-changer {
    display: flex;
    flex-wrap: wrap;
    width: 42px;
    height: 42px;
    padding: 0;
    overflow: hidden;
    border: 1px solid gray;
}

.style-palette li a.color-changer span {
    width: 20px;
    height: 20px;
}

.jscolors-bg {
    display: grid;
    grid-template-columns: 44% auto;
    gap: 5px;
}

.jscolors-bg label {}

.jscolors-bg .jscolor {
    max-width: 115px;
    padding-right: 2px;
}

@media (max-width: 700px) {
    .style-overflow {
        max-height: 295px;
    }

    #style-configurator h2 {
        padding: 16px 10px 12px;
    }

    .style-palette li a.color-changer {
        width: 30px;
        height: 30px;
    }

    .style-palette li a.color-changer span {
        width: 14px;
        height: 14px;
    }
}


:root {
    --sqrt3: 1.830;/* Square root of 3 */
    --time: 5;/* Duration of animation  */
    --gap: 0.2;/* Horizontal gap between hexagons */
    --radius: 1.2;/* Radius of inscribed circle */
    --Gap: var(--gap) / 2 * var(--sqrt3);/* Vertical gap between hexagons */
    --Radius: 2 / var(--sqrt3) * var(--radius);/* Radius of circumcircle */
}

@keyframes odd-animation {
    0% {
        transform: translate(calc(0.5 * var(--offset-x)), calc(0.5 * var(--offset-y))) scale(0)
    }

    33% {
        transform: translate(calc(1 * var(--offset-x)), calc(1 * var(--offset-y))) scale(1)
    }

    66% {
        transform: translate(calc(2 * var(--offset-x)), calc(2 * var(--offset-y))) scale(1)
    }

    100% {
        transform: translate(calc(3 * var(--offset-x)), calc(3 * var(--offset-y))) scale(0)
    }
}

@keyframes even-animation {
    50% {
        transform: translate(calc(1 * var(--offset-x)), calc(1 * var(--offset-y))) scale(1)
    }

    100% {
        transform: translate(calc(2 * var(--offset-x)), calc(2 * var(--offset-y))) scale(0)
    }
}

.hex {
    display: flex;
    font-size: 4px;
    height: calc(2em * var(--Radius));
    width: calc(2em * var(--radius));
}

.hex::before {
    border: calc(0.5em * var(--Radius)) solid transparent;
    border-left: 0;
    border-right: calc(1em * var(--radius)) solid currentColor;
    content: "";
    height: var(--Radius);
}

.hex::after {
    border: calc(0.5em * var(--Radius)) solid transparent;
    border-left: calc(1em * var(--radius)) solid currentColor;
    border-right: 0;
    content: "";
    height: var(--Radius);
}

.center {
    position: relative;
}

.odd,
.even {
    --global-offset-x: calc(0.5em * var(--gap) + var(--radius) * 1em);
    --global-offset-y: calc(1.5em * var(--Radius) + var(--Gap) * 1em);
    animation: infinite cubic-bezier(.21, .61, .01, .89);
    position: absolute;
    /* transform: translate(0, 0) scale(0); */
}

.odd {
    animation-duration: 11s;
}

.even {
    animation-duration: 7.333333333s;
}

.hex.first {
    color: #ffd700;
    animation-delay: -6.2857142857s;
}

.hex.second {
    color: red;
    animation-delay: -2.619047619s;
}

.hex.third {
    color: green;
    animation-delay: 1.0476190476s;
}

@supports (animation-delay: calc(1 * 1s)) and (animation-duration: calc(1 * 1s)) {
    .odd {
        animation-duration: calc(var(--time) * 1s);
    }

    .even {
        animation-duration: calc(var(--time) * 2 / 3 * 1s);
    }

    .hex.first {
        animation-delay: calc(var(--time) / -1.75 * 1s);
    }

    .hex.second {
        animation-delay: calc(var(--time) * 1.25 / -5.25 * 1s);
    }

    .hex.third {
        animation-delay: calc(var(--time) * -0.25 / -2.625 * 1s);
    }
}

.hex.one {
    --offset-x: calc(var(--global-offset-x) * 1);
    --offset-y: calc(var(--global-offset-y) * -1);
    animation-name: odd-animation;
    bottom: 0;
    left: 0;
}

.hex.two {
    --offset-x: calc(var(--global-offset-x) * 1.5);
    --offset-y: calc(var(--global-offset-y) * -0.5);
    animation-name: even-animation;
    bottom: calc(var(--global-offset-y) * 0.5);
    left: calc(var(--global-offset-x) * 1.5);
}

.hex.three {
    --offset-x: calc(var(--global-offset-x) * 2);
    --offset-y: calc(var(--global-offset-y) * 0);
    animation-name: odd-animation;
    bottom: 0;
    right: 0;
}

.hex.four {
    --offset-x: calc(var(--global-offset-x) * 1.5);
    --offset-y: calc(var(--global-offset-y) * 0.5);
    animation-name: even-animation;
    top: calc(var(--global-offset-y) * 0.5);
    left: calc(var(--global-offset-x) * 1.5);
}

.hex.five {
    --offset-x: calc(var(--global-offset-x) * 1);
    --offset-y: calc(var(--global-offset-y) * 1);
    animation-name: odd-animation;
    top: 0;
    left: 0;
}

.hex.six {
    --offset-x: calc(var(--global-offset-x) * 0);
    --offset-y: calc(var(--global-offset-y) * 1);
    animation-name: even-animation;
    top: calc(var(--global-offset-y) * 1);
    left: 0;
}

.hex.seven {
    --offset-x: calc(var(--global-offset-x) * -1);
    --offset-y: calc(var(--global-offset-y) * 1);
    animation-name: odd-animation;
    top: 0;
    right: 0;
}

.hex.eight {
    --offset-x: calc(var(--global-offset-x) * -1.5);
    --offset-y: calc(var(--global-offset-y) * 0.5);
    animation-name: even-animation;
    top: calc(var(--global-offset-y) * 0.5);
    right: calc(var(--global-offset-x) * 1.5);
}

.hex.nine {
    --offset-x: calc(var(--global-offset-x) * -2);
    --offset-y: calc(var(--global-offset-y) * 0);
    animation-name: odd-animation;
    top: 0;
    right: 0;
}

.hex.ten {
    --offset-x: calc(var(--global-offset-x) * -1.5);
    --offset-y: calc(var(--global-offset-y) * -0.5);
    animation-name: even-animation;
    bottom: calc(var(--global-offset-y) * 0.5);
    right: calc(var(--global-offset-x) * 1.5);
}

.hex.eleven {
    --offset-x: calc(var(--global-offset-x) * -1);
    --offset-y: calc(var(--global-offset-y) * -1);
    animation-name: odd-animation;
    bottom: 0;
    right: 0;
}

.hex.twelve {
    --offset-x: calc(var(--global-offset-x) * 0);
    --offset-y: calc(var(--global-offset-y) * -1);
    animation-name: even-animation;
    bottom: calc(var(--global-offset-y) * 1);
    left: 0;
}