/*                                            */
/* COPYRIGHT : SigmaITID; All Rights Reserved */
/*                Version 1.0.3               */
/*                                            */
/*                #region common              */
:root{
    --color-a11y-blue: #0d49c3;
    --color-a11y-main-lightest: #ebe9ff;
    --color-a11y-main-lighter-2: #93c5f3;
    --color-a11y-main-lighter: #3696f0;
    --color-a11y-main: #1c7cd3;
    --color-a11y-main-dark: #0564bc;

    --color-a11y-second: #006e99;
    --color-a11y-second-darker: #003e49;
    --color-a11y-second-lightest: #d1f7fd ;
    --color-a11y-second-lighter: #1e7698 ;

    --color-a11y-light-gray-darker: #cacaca;
    --color-a11y-light-gray: #eee;
    --color-a11y-light-gray-lighter: #f6f6f6;
    --color-a11y-white: #fff;
    --color-a11y-black: #000;
    --color-a11y-black-3: #333;
    --color-a11y-black-2: #222;
    --color-a11y-black-2-50: #22222280;
    --panel-distance : 15px;
    --toggler-distance : 30px;
    --panel-font-family: 'iransans';

    font-family: var(--panel-font-family);
}
.panel-stick-to-edge{
    --panel-distance : 0px;
}
.toggler-stick-to-edge{
    --toggler-distance : 0px;
}
/*              #endregion common             */
/*             #region panel toggler          */
#sipo-a11y-button[class*='bottom-']{
    bottom: var(--toggler-distance);
}
#sipo-a11y-button[class*='top-']{
    top: var(--toggler-distance);
}
#sipo-a11y-button[class*='center-']{
    bottom: unset;
    top: 50%;
    transform: translateY(-50%);
}
#sipo-a11y-button[class*='right']{
    right: var(--toggler-distance);
}
#sipo-a11y-button[class*='left']{
    left: var(--toggler-distance);
}
#sipo-a11y-button{
    border: none;
    background-color: transparent;
    cursor: pointer;
    fill: #333;
    position: fixed;
    z-index: 999999;
}
#sipo-a11y-button svg{
    width: 30px;
    height: 30px;
}
#sipo-a11y-button *{
    transition: 0.3s;
}
#sipo-a11y-button:hover svg{
    border-color: var(--color-a11y-main) !important;
}
/*           #endregion panel toggler         */
/*             #region panel header           */
.sipo-a11y-panel-header{
    z-index: 2;
    height: 30px;
    background: var(--color-a11y-main);
    color: var(--color-a11y-white);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    left: 0;
    padding: 25px 20px;
}
#sipo-a11y-panel .sipo-a11y-panel-header svg{
    fill: var(--color-a11y-white) !important;
}
.sipo-a11y-panel-title{
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-a11y-white);
    right: 0 !important;
}
.sipo-a11y-panel-close-btn{
    border: none;
    background-color: transparent;
    fill: #333;
    cursor: pointer;
}
.sipo-a11y-panel-close-btn svg{
    width: 15px;
    height: 15px;
    display: block;
}
.sipo-a11y-panel-close-btn *{
    transition: 0.3s;
}
/*            #endregion panel header         */
/*                #region panel               */
[class*='bottom-'] #sipo-a11y-panel{
    transform: translateY(30px);
    bottom: var(--panel-distance);
}
[class*='top-'] #sipo-a11y-panel{
    transform: translateY(-30px);
    top: var(--panel-distance);
}
[class*='right'] #sipo-a11y-panel{
    right: var(--panel-distance);
}
[class*='left'] #sipo-a11y-panel{
    left: var(--panel-distance);
}
.center-right #sipo-a11y-panel{
    transform: translateX(30px) translateY(-50%);
    top: 50%;
}
.center-left #sipo-a11y-panel{
    transform: translateX(-30px) translateY(-50%);
    top: 50%;
}
#sipo-a11y-panel{
    position: fixed;
    opacity: 0;
    visibility: hidden;
    height: auto;
    background-color: var(--color-a11y-light-gray);
    transition: .6s;
    pointer-events: none;
    font-size: 16px;
    overflow: auto;
    line-height: 1.14;
    box-sizing: border-box;
    z-index: 999999;
    box-shadow: 0 0 14px -4px var(--color-a11y-black-2-50);
    width: 550px;
    box-sizing: border-box;
    padding-bottom: 20px;
}
#sipo-a11y-panel.sipo-a11y-panel-condensed{
    width: 400px;
}
#sipo-a11y-panel *{
    box-sizing: border-box;
}
#sipo-a11y-panel svg{
    fill: var(--color-a11y-black-3) !important;
}
#sipo-a11y-panel.sipo-a11y-rtl{
    direction: rtl;
}
#sipo-a11y-panel.sipo-a11y-panel-show{
    pointer-events: all;
    opacity: 1;
    visibility: visible;
    transform: translate(0);
    overflow: hidden;
}
#sipo-a11y-panel .sipo-a11y-panel-body-nano-element.nano{
    height: 80vh;
}
#sipo-a11y-panel .nano-content{
    right: 0 !important;
}
#sipo-a11y-panel .nano > .nano-pane{
    right: unset;
    left: 15px;
    transform: scaleY(.9);
    background-color: var(--color-a11y-main-lighter-2);
}
#sipo-a11y-panel .nano > .nano-pane > .nano-slider{
    background: var(--color-a11y-main);
}
.center-left #sipo-a11y-panel.sipo-a11y-panel-show,
.center-right #sipo-a11y-panel.sipo-a11y-panel-show{
    transform: translate(0 , -50%);
}

.sipo-a11y-restore-all-button{
    border-radius: 6px;
    border: solid 1px var(--color-a11y-main);
    background-color: transparent;
    font-family: inherit;
    color: var(--color-a11y-main);
    transition: .6s;
    cursor: pointer;
    padding: 10px 16px;
    display: block;
    width: max-content;
    margin: 15px auto;
    margin-bottom: 0;
    background-color: #fff;
}
.sipo-a11y-restore-all-button:hover{
    background-color: var(--color-a11y-main);
    color: var(--color-a11y-white);
}
/*              #endregion panel              */
/*           #region panel category           */
#sipo-a11y-panel .sipo-a11y-panel-header+.sipo-a11y-panel-category{
    padding-top: 25px;
}
#sipo-a11y-panel .sipo-a11y-panel-category{
    transition: .6s;
    padding: 5px;
    color: var(--color-a11y-white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    border-radius: 0;
    position: relative;
    background: transparent;
    padding-right: 15px;
    padding-left: 15px;
    gap: 15px;
}
#sipo-a11y-panel .sipo-a11y-panel-category > h4{
    margin: 0;
    width: 100%;
    color: var(--color-a11y-black-3);
    padding-top: 10px;
    text-align: right;
    font-size: 1.2rem;
}
/*          #endregion panel category         */
/*             #region panel option           */
[id*='sipo-a11y-option'][type*='color']{
    width: 200px;
    height: 30px;
    padding: 0;
    border: solid 2px var(--color-a11y-white);
    border-radius: 10px;
}
.sipo-a11y-option{
    border: solid 1px transparent;
    background: var(--color-a11y-white);
    padding: 10px;
    border-radius: 3px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: relative;
    transition: 0.6s;
    color: var(--color-a11y-black-3);
    min-height: 130px;
    gap: 2px 12px;
}

.sipo-a11y-panel-category-one-col .sipo-a11y-option,
.sipo-a11y-panel-category-one-col .sipo-a11y-option-numeric{
    width: 95%;
}
.sipo-a11y-panel-category-two-col .sipo-a11y-option,
.sipo-a11y-panel-category-two-col .sipo-a11y-option-numeric{
    width: 45.5%;
}
.sipo-a11y-panel-category-three-col .sipo-a11y-option,
.sipo-a11y-panel-category-three-col .sipo-a11y-option-numeric{
    width: 29.5%;
}
.sipo-a11y-panel-category-four-col .sipo-a11y-option,
.sipo-a11y-panel-category-four-col .sipo-a11y-option-numeric{
    width: 21.5%;
}
.sipo-a11y-panel-category-four-col .sipo-a11y-option{
    min-height: 150px;
}
.sipo-a11y-option-toggleClass,
.sipo-a11y-option-related,
.sipo-a11y-option-font-family,
.sipo-a11y-option-filter,
.sipo-a11y-option-toggle{
    cursor: pointer;
}
.sipo-a11y-option.sipo-a11y-option-active{
    /* background: linear-gradient(145deg, var(--color-a11y-main-lightest), var(--color-a11y-main-lighter) ); */
    border: solid 1px var(--color-a11y-blue);
}
.sipo-a11y-option.sipo-a11y-option-active svg *,
.sipo-a11y-option.sipo-a11y-option-active svg{
    fill: black;
}
.sipo-a11y-option h4{
    font-size: 13px;
    font-weight: normal;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
    padding-top: 15px;

    pointer-events: none;
    /* disable user select on labels */
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    background: #fff;
            
}
.sipo-a11y-option-numeric.sipo-a11y-option h4{
    width: max-content;
}
.sipo-a11y-restore-button{
    font-family: inherit;
    background: transparent;
    color: var(--color-a11y-black-3);
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
    width: 100%;
    background-color: #fff;
}
.color-option{
    display: block;
    border-radius: 50px;
    cursor: pointer;
    border: solid 2px  var(--color-a11y-black-2);
    offset: solid 2px black;
    margin-top: 5px;
    margin-bottom: 10px;
    height: 30px;
    width: 70px;
}
.sipo-a11y-option-icon{
    width: 100%;
    text-align: center;
}
[type="color"]{
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    overflow: hidden;
    bottom: 0;
    left: 0;
    position: absolute;
}
.sipo-a11y-restore-color-prop{
    text-align: center;
}
.sipo-a11y-numeric-control-panel{
    display: flex;
    font-family: inherit;
    gap: 5px;
    width: 80%;
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px 0;
}
.sipo-a11y-option-numeric .sipo-a11y-option-icon {
    width: fit-content;
}
.sipo-a11y-numeric-control{
    order: 1;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    padding: 2px;
}
.sipo-a11y-numeric-control.sipo-a11y-restore-numeric{
    order: 2;
    width: 100%;
}
.sipo-a11y-numeric-control:not(.sipo-a11y-restore-button){
    padding: 10px 0 !important;
    transition: .6s;
    cursor: pointer;
    border: solid 1px var(--color-a11y-main);
    background: transparent;
    border-radius: 3px;
    color: var(--color-a11y-main);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 0;
}
#sipo-a11y-panel .sipo-a11y-numeric-control svg{
    fill: var(--color-a11y-main) !important;
}
.sipo-a11y-numeric-control:not(.sipo-a11y-restore-button):hover{
    filter: none;
    background-color: var(--color-a11y-main);
    color: var(--color-a11y-white);
}
#sipo-a11y-panel .sipo-a11y-numeric-control:hover svg{
    fill: var(--color-a11y-white) !important;
}
.sipo-a11y-numeric-control svg{
    width: 15px;
    height: 15px;
    display: block;
}
.font-option-markers-wrapper{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    padding-top: 10px;
}
.font-option-marker{
    width: 5px;
    height: 7px;
    border-radius: 2px;
    background-color: var(--color-a11y-black-2-50);
    transition: 0.6s;
}
.font-option-marker.font-active{
    background: #ffffffe3;
    height: 14px;
}
.font-option-markers-wrapper{
    height: 14px;
}
.sipo-a11y-option-active .font-option-marker{
    background-color: #000;
}
.sipo-a11y-option-active .font-option-marker.font-active{
    background-color: #0008;
}
/*            #endregion panel option         */
/*            #region left to right           */
#sipo-a11y-panel.panel-en{
    direction: ltr;
}
#sipo-a11y-panel.panel-en .sipo-a11y-panel-category > h4{
    text-align: left;
}
#sipo-a11y-panel.panel-en .nano > .nano-pane{
    left: unset;
    right: 15px;
}
/*           #endregion left to right          */
/*               #region media                */
@media only screen and (max-width: 575px){
    #sipo-a11y-panel{
        width: 80%;
    }
    .sipo-a11y-panel-title{
        font-size: 1rem;
    }
    .sipo-a11y-panel-category-two-col .sipo-a11y-option,
    .sipo-a11y-panel-category-two-col .sipo-a11y-option-numeric,
    .sipo-a11y-panel-category-three-col .sipo-a11y-option,
    .sipo-a11y-panel-category-three-col .sipo-a11y-option-numeric,
    .sipo-a11y-panel-category-four-col .sipo-a11y-option,
    .sipo-a11y-panel-category-four-col .sipo-a11y-option-numeric{
        width: 44%;
    }
    .sipo-a11y-panel-category-one-col .sipo-a11y-option,
    .sipo-a11y-panel-category-one-col .sipo-a11y-option-numeric{
        width: 91%;
    }
}
@media only screen and (max-width: 420px){
    #sipo-a11y-panel .sipo-a11y-panel-category{
        justify-content: center;
    }
    .sipo-a11y-panel-category-two-col .sipo-a11y-option,
    .sipo-a11y-panel-category-two-col .sipo-a11y-option-numeric,
    .sipo-a11y-panel-category-three-col .sipo-a11y-option,
    .sipo-a11y-panel-category-three-col .sipo-a11y-option-numeric,
    .sipo-a11y-panel-category-four-col .sipo-a11y-option,
    .sipo-a11y-panel-category-four-col .sipo-a11y-option-numeric,
    .sipo-a11y-panel-category-one-col .sipo-a11y-option,
    .sipo-a11y-panel-category-one-col .sipo-a11y-option-numeric{
        width: 70%;
    }
    .sipo-a11y-option h4{
        width: 100%;
        text-align: center;
    }
    #sipo-a11y-panel .sipo-a11y-panel-category > h4{
        margin: 4px 17%;
    }
}
@media only screen and (max-width: 350px){
    #sipo-a11y-panel.sipo-a11y-panel-show{
        transform: translateX(10px);
    }
    .sipo-a11y-panel-category-two-col .sipo-a11y-option,
    .sipo-a11y-panel-category-two-col .sipo-a11y-option-numeric,
    .sipo-a11y-panel-category-three-col .sipo-a11y-option,
    .sipo-a11y-panel-category-three-col .sipo-a11y-option-numeric,
    .sipo-a11y-panel-category-four-col .sipo-a11y-option,
    .sipo-a11y-panel-category-four-col .sipo-a11y-option-numeric,
    .sipo-a11y-panel-category-one-col .sipo-a11y-option,
    .sipo-a11y-panel-category-one-col .sipo-a11y-option-numeric{
        width: 78%;
    }
}
/*             #endregion media                */

@font-face {
    font-family: 'iranyekanV';
    src: url('../fonts/a11y/IRANYekanXVF.woff');
    font-display: 'swap';
}

@font-face {
    font-family: 'iransansV';
    src: url('../fonts/a11y/IRANSansXV.woff');
    font-display: 'swap';
    font-weight: 100 900;
}

@font-face {
    font-family: 'vazirV';
    src: url('../fonts/a11y/Vazirmatn[wght].ttf');
    font-display: 'swap';
    font-weight: 100 900;
}

body{
    font-feature-settings: 'ss02' , 'ss01'; /* for persian numbers in variable fonts */
}