﻿* {
    box-sizing: border-box
}

/*#region Dim*/

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}


.w100 {
    width: 100%;
}

.w95 {
    width: 95%;
}

.w90 {
    width: 90%;
}

.w85 {
    width: 85%;
}

.w80 {
    width: 80%;
}

.w75 {
    width: 75%;
}

.w70 {
    width: 70%;
}

.w65 {
    width: 65%;
}

.w60 {
    width: 60%;
}

.w55 {
    width: 55%;
}

.w50 {
    width: 50%;
}

.w45 {
    width: 45%;
}

.w40 {
    width: 40%;
}

.w35 {
    width: 35%;
}

.w33 {
    width: 33.66666%;
}

.w30 {
    width: 30%;
}

.w25 {
    width: 25%;
}

.w20 {
    width: 20%;
}

.w16 {
    width: 16.6666%;
}

.w15 {
    width: 15%;
}

.w14 {
    width: 14.28571%;
}

.w12 {
    width: 12.5%;
}

.w10 {
    width: 10%;
}

.w5 {
    width: 5%;
}


.h100 {
    height: 100%;
}

.h95 {
    height: 95%;
}

.h90 {
    height: 90%;
}

.h85 {
    height: 85%;
}

.h80 {
    height: 80%;
}

.h75 {
    height: 75%;
}

.h70 {
    height: 70%;
}

.h65 {
    height: 65%;
}

.h60 {
    height: 60%;
}

.h55 {
    height: 55%;
}

.h50 {
    height: 50%;
}

.h45 {
    height: 45%;
}

.h40 {
    height: 40%;
}

.h35 {
    height: 35%;
}

.h30 {
    height: 30%;
}

.h25 {
    height: 25%;
}

.h20 {
    height: 20%;
}

.h15 {
    height: 15%;
}

.h10 {
    height: 10%;
}

.h5 {
    height: 5%;
}



/*#endregion classes*/

/*#region Classes*/

.crsl-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    /*height: fit-content;*/
    display: flex;
}

    .crsl-container.hor {
        display: flex;
    }

.crsl-container-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 2;
    text-align: center;
}

    .crsl-container-cover p {
        /*animation-name: takbeer;*/
        animation-duration: 1s;
        font-size: 100px;
        /*animation-timing-function:linear*/
        animation-play-state: running;
        animation-fill-mode: forwards;
        width: 100vw;
        margin: auto;
        white-space: nowrap;
    }

.crsl-item {
    position: relative;
    animation-delay: 0;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-play-state: paused;
    animation-timing-function: ease-out;
    background-color: white;
    flex-shrink: 0;
    /*    display:flex;
    flex-wrap: nowrap;
*/
}

.inner-hor {
    display: flex;
    flex-wrap: nowrap !important;
}

    .inner-hor .crsl-item {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        flex-shrink: 0;
        width: 100%;
    }

        .inner-hor .crsl-item.shrink {
            flex-shrink: 0;
        }


.inner-virt {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
}

    .inner-virt .crsl-item {
        width: 100%;
        height: auto;
    }






.inner-overlap {
    position: relative;
    width: 100%;
    height: 100%;
}

    .inner-overlap .crsl-item {
        position: absolute;
        width: 100%;
        top: 0px;
        left: 0px;
    }



.crsl-controls {
    position: absolute;
    top: 0px;
    z-index: 1;
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: space-between;
    height: 35px;
    margin: auto;
    min-height: 30px;
    padding-right: 5px;
    padding-left: 5px;
    background-color: rgba(38, 38, 38, 0.9);
}


    .crsl-controls .btn {
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        border-radius: 12px;
        font-family: Arial;
        color: #ffffff;
        font-size: 12px;
        background: #3498db;
        text-decoration: none;
    }

        .crsl-controls .btn:hover {
            background: #3cb0fd;
            background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
            background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
            background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
            background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
            text-decoration: none;
        }

.crsl-controls-play-pause {
    display: flex;
    gap: 5px;
    position: absolute;
    top: 2px;
    right: 2px;
    width: auto;
    z-index: 6;
    opacity: 0.3;
}

    .crsl-controls-play-pause:hover {
        opacity: 1;
    }

    .crsl-controls-play-pause .container {
        height: 28px;
        width: 28px;
        border: solid 1px #ccc;
        border-radius: 50%;
        text-align: center;
        padding-left: 7px;
        padding-top: 6px;
    }

        .crsl-controls-play-pause .container:hover {
            background-color: #f5e5e5;
            cursor: pointer;
        }

    .crsl-controls-play-pause .play {
        box-sizing: border-box;
        width: 0px;
        height: 16px;
        border-style: solid;
        border-width: 8px 0 8px 12px;
        border-color: transparent transparent transparent #202020;
        margin-left: 2px;
    }

    .crsl-controls-play-pause .paused {
        box-sizing: border-box;
        width: 0;
        height: 14px;
        border-color: transparent transparent transparent #202020;
        border-style: double;
        border-width: 0px 0 0px 14px;
        margin-left: -1px;
    }

.crsl-controls-np-right,
.crsl-controls-np-left {
    position: absolute;
    height: 40px;
    width: 40px;
    top: calc(50% - 20px);
    border: solid 1px #fdfdfd;
    border-radius: 50%;
    z-index: 6;
    opacity: 0.5;
    margin: auto;
    padding: 1px;
    background-color: #fbfbfb;
    cursor: pointer;
}

    .crsl-controls-np-right:hover,
    .crsl-controls-np-left:hover {
        opacity: 1;
    }

.crsl-controls-np-left {
    left: 10px;
    margin: auto;
}

.crsl-controls-np-right {
    right: 10px;
    margin: auto;
}

    .crsl-controls-np-right p,
    .crsl-controls-np-left p {
        color: gray;
        opacity: inherit;
        line-height: 30px;
        font-weight: 900;
        font-size: 20px;
        text-align: center;
        user-select: none;
    }

.crls-index-container {
    position: absolute;
    display: flex;
    height: auto;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    gap: 4px;
    z-index: 6;
}

    .crls-index-container div {
        /*opacity:0.4;*/
        background-color: rgb(237, 227, 227, 0.36);
        height: 12px;
        width: 12px;
        border: solid 1px #ccc;
        border-radius: 50%;
        z-index: 2;
    }

        .crls-index-container div.active {
            background-color: white;
            outline: dotted 1px blue;
        }
/*#endregion classes*/
/*#region shslider*/
.shslider {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: fit-content;
}

    .shslider .inner {
        display: flex;
        flex-wrap: nowrap;
    }

        .shslider .inner .item {
            flex-shrink: 0;
            position: relative;
        }


/*#endregion classes*/


/*#region Card View*/


.start-group-main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.start-group-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.card-view-start-group-item-container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    width: 100%;
    gap: 20px;
}



.card-view-main {
    display: flex;
    flex-direction: column;
}

.card-view-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.card-view {
    display: flex;
    flex-direction: column;
    position: relative;
}

/*#endregion Card View*/
.special-custom {
    gap: 30px;
    background-color: yellow;
    justify-content: space-evenly;
}


.df-outer {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
}

.df-inner {
    display: flex;
    position: relative;
}

.df-item {
    position: relative;
    flex-shrink: 0;
}

.shcarousel-prev,
.shcarousel-next {
    position: absolute;
    font-size: 24px;
    width: 50px;
    height: 50px;
    line-height: 52px;
    background-color: white;
    display: inline-block;
    text-align: center;
    transform: translate(0,-50%);
    top: 50%;
    border-radius: 50%;
    opacity: 0.4;
    cursor: pointer;
    box-sizing: border-box;
    border: dotted 3px transparent;
    z-index: 6;
}

.shcarousel-prev {
    right: 0px;
}

.shcarousel-next {
    left: 0px;
}

    .shcarousel-next svg,
    .shcarousel-prev svg {
        vertical-align: 2%;
        color: #111111;
    }

    .shcarousel-prev:hover,
    .shcarousel-next:hover {
        /*opacity:1;*/
        border: dotted 3px gray;
    }



.car-test {
    width: 100%;
    height: 300px;
    border: solid;
    margin: auto;
    text-align: center;
}

    .car-test p {
        font-size: 100px;
        line-height: 100px;
        vertical-align: 10%;
    }



.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.pagination span {
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
    font-size: inherit;
}

    .page-link:hover {
        color: #0056b3;
        text-decoration: none;
        background-color: #e9ecef;
        border-color: #dee2e6;
    }

    .page-link:focus {
        z-index: 2;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

    .page-link:not(:disabled):not(.disabled) {
        cursor: pointer;
    }


.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

.pagination-lg .page-link {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    line-height: 1.5;
}

.pagination-lg .page-item:first-child .page-link {
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

.pagination-lg .page-item:last-child .page-link {
    border-top-right-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
}

.pagination-sm .page-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.pagination-sm .page-item:first-child .page-link {
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}

.pagination-sm .page-item:last-child .page-link {
    border-top-right-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}


/*#region product View*/
.product-view-main {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-view-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.product-view {
    display: flex;
    flex-direction: column;
    position: relative;
}

/*#endregion product View*/


/*#region ShTree*/

.shtree {
    position: relative;
    height: 100%;
    overflow-block: visible;
}

    .shtree ul {
        list-style: none;
    }

    .shtree .hidden {
        /*display: none;*/
    }

    .shtree .node {
        cursor: pointer;
        width: fit-content;
        padding-left: 20px;
        padding-top: 1px;
        padding-bottom: 1px;
        border: dotted 1px transparent;
    }

.active-node {
    background-color: darkblue;
    color: gray;
}

.expand-node {
    border: solid 1px #ccc;
    margin-right: 5px;
    padding-inline: 6px;
    vertical-align: top;
    width: 12px;
    height: 12px;
}

    .expand-node.open {
        /*background-color: lightblue;*/
        color: #2ea6f5;
    }
/*#endregion ShTree*/


.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                      supported by Chrome and Opera */
}


.edit-product-list-container {
    position: absolute;
    top: 0px;
    width: 40px;
    background-color: transparent;
    z-index: 6;
}

    .edit-product-list-container img {
        cursor: pointer;
        /*background-image: url('_content\shcontrolpanel\wwwroot\images\actions\insert_i_32x32.png');*/
    }

        .edit-product-list-container img:hover {
            border: solid 1px #ccc;
        }


.test-custom-container {
    background-color: blue;
    gap: 60px;
    justify-content: flex-end;
}



/*#region ShGallary*/


.shgallary {
    width: 100%;
    position: relative;
    display: flex;
    height: 100%;
    border-radius: 8px;
}

    .shgallary.outer-left {
        flex-direction: row-reverse;
    }

    .shgallary.outer-right {
        flex-direction: row;
    }

    .shgallary.outer-top {
        flex-direction: column-reverse;
    }

    .shgallary.outer-bottom {
        flex-direction: column;
    }


    .shgallary.outer-right {
        flex-direction: row;
    }


    .shgallary .shgl-view-container {
        position: relative;
    }

        .shgallary .shgl-view-container > div {
            padding: 0;
            width: 100%;
            height: 100%;
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            border-radius: 8px;
        }


    .shgallary .shgl-sample-container {
        display: flex;
        position: relative;
        justify-content: flex-start;
        gap: 3px;
        background-color: #f2f1f2;
        overflow-y: scroll
        /*    scrollbar-width: thin;
        scrollbar-color: black white;*/
    }


        .shgallary .shgl-sample-container::-webkit-scrollbar {
            width: 4px;
            background-color: white;
        }

        .shgallary .shgl-sample-container::-webkit-scrollbar-thumb {
            background-color: #444;
        }



        .shgallary .shgl-sample-container .glimg-horizantally {
            width: 100%;
        }

        .shgallary .shgl-sample-container .glimg-vertically {
            width: 100%;
        }







.shgallary-viewer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.shgallary-sliderh {
    width: 100%;
    overflow: hidden;
    scrollbar-width: none;
    position: relative;
}

    .shgallary-sliderh .inner {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .shgallary-sliderh .item {
        flex-shrink: 1;
        width: 100%;
        min-width: 100%;
    }

        .shgallary-sliderh .item * {
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -o-user-select: none;
            user-select: none;
            pointer-events: none;
        }

.shgallary-sliderv {
    width: 100%;
    height: 70vh;
    max-height: 70vh;
    overflow: hidden;
    scrollbar-width: none;
    position: relative;
}

    .shgallary-sliderv .inner {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        overflow: scroll;
        /*        
        scrollbar-width: thin;
        scrollbar-color: white white;
*/
        height: 100%;
    }

        .shgallary-sliderv .inner::-webkit-scrollbar {
            width: 1px;
            background-color: white;
        }

        .shgallary-sliderv .inner::-webkit-scrollbar-thumb {
            background-color: #444;
        }


    .shgallary-sliderv .item {
        flex-shrink: 1;
        width: 100%;
        min-width: 100%;
    }

        .shgallary-sliderv .item * {
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -o-user-select: none;
            user-select: none;
            pointer-events: none;
        }

/*#endregion ShGallary*/






@media(max-width:768px) {


    .shgallary .sample-container {
        overflow: visible;
        overflow-y: visible;
    }

    .shgallary .shgl-view-container {
        display: none;
    }


    .shgallary .w100 {
        width: 100%;
    }

    .shgallary .w95 {
        width: 100%;
    }

    .shgallary .w90 {
        width: 100%;
    }

    .shgallary .w85 {
        width: 100%;
    }

    .shgallary .w80 {
        width: 100%;
    }

    .shgallary .w75 {
        width: 100%;
    }

    .shgallary .w70 {
        width: 100%;
    }

    .shgallary .w65 {
        width: 100%;
    }

    .shgallary .w60 {
        width: 100%;
    }

    .shgallary .w55 {
        width: 100%;
    }

    .shgallary .w50 {
        width: 100%;
    }

    .shgallary .w45 {
        width: 100%;
    }

    .shgallary .w40 {
        width: 100%;
    }

    .shgallary .w35 {
        width: 100%;
    }

    .shgallary .w30 {
        width: 100%;
    }

    .shgallary .w25 {
        width: 100%;
    }

    .shgallary .w20 {
        width: 100%;
    }

    .shgallary .w15 {
        width: 100%;
    }

    .shgallary .w10 {
        width: 100%;
    }

    .shgallary .w5 {
        width: 100%;
    }
}


/*#region WebPageEditOptions*/
.flex_column {
    flex-direction: column;
}

.page-unit-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 16px;
    padding: 12px;
    overflow: auto;
    flex-basis:calc(100% - 50px);

}

    .page-unit-form .group {
        display: flex;
        padding: 9px;
        border: solid 1px #ccc;
        border-radius: 8px;
        min-width: 300px;
    }

        .page-unit-form .group .err-text {
            width: 100%;
            background-color: white;
            color: white;
            height: 1.5rem;
            min-height: 1.5rem;
            font-size: 1rem;
        }

        .page-unit-form .group .field {
            display: flex;
            flex-wrap: nowrap;
            border: solid 1px #ccc;
            border-radius: .25rem;
            margin-block: 0px;
            width: 100%;
            max-width: 100%;
            padding: 2px;
        }

            .page-unit-form .group .field .caption {
                flex-basis: 33%;
                max-width: 33%;
                display: table-cell;
            }

            .page-unit-form .group .field .control {
                border: dotted 0.5px #ccc;
                border-radius: .25rem;
                transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
            }

.page-unit-form-controls {
    display: flex;
    width: 100%;
    height: 50px;
    gap:5px;
}

.page-unit-control-h-size {
    flex-basis: 67%;
    max-width: 67%;
    width: 67%;
}

.page-unit-control-v-size {
    flex-basis: 100%;
    max-width: 100%;
    width: 100%;
}

.page-unit-group-gap {
    gap: 0px;
}

.page-unit-group1 {
    flex-basis: 100%;
    width: 100%;
}

.page-unit-group2 {
    flex-basis: calc(50% - 16px);
    width: calc(50% - 16px);
}

.page-unit-group3 {
    flex-basis: calc(33.333334% - 16px);
    width: calc(33.333334% - 16px);
}

.page-unit-group4 {
    flex-basis: calc(25% - 16px);
    width: calc(25% - 16px);
}

.page-unit-group5 {
    flex-basis: calc(20% - 16px);
    width: calc(20% - 16px);
}

.time-display {
    display: flex;
}

    .time-display input::-webkit-outer-spin-button, .time-display input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .time-display input[type=number] {
        -moz-appearance: textfield;
    }

    .time-display > input {
        width: 20px;
        height: 100%;
        border: none;
        text-align: center;
    }

        .time-display > input:focus {
            outline: dotted 1px #ccc;
        }
/*#endregion WebPageEditOptions*/
