﻿* {
    scrollbar-color: #d5d5d5 #eee;
    scrollbar-width: thin;
    scrollbar-height: thin;
    -webkit-overflow-scrolling: touch;
    scrollbar-arrow-color: #1e1e1e;
    scrollbar-3dlight-color: #d5d5d5;
    scrollbar-face-color: #1e1e1e;
    scrollbar-shadow-color: #eee;
    scrollbar-darkshadow-color: #000;
    scrollbar-track-color: #eee;
    -ms-scrollbar-arrow-color: #1e1e1e;
    -ms-scrollbar-3dlight-color: #d5d5d5;
    -ms-scrollbar-face-color: #1e1e1e;
    -ms-scrollbar-shadow-color: #eee;
    -ms-scrollbar-highlight-color: #eee;
    -ms-scrollbar-track-color: #eee;
}
*::-webkit-scrollbar {
  width: 0.5rem !important;
  height: 0.5rem !important;
}

*::-webkit-scrollbar-track {
/*  background: #1e1f22 !important;*/
}

*::-webkit-scrollbar-thumb {
/*  background-color: #65676a !important;*/
  border-radius: 2rem !important;
/*  border: 0.3rem solid #1e1f22 !important;*/
}

*::-webkit-scrollbar-corner {
/*  background: #1e1f22 !important;*/
}

.font-05rem{
    /*font-size: 8px !important;*/
    /*moadelan 1rem=16px*/
    font-size: 0.5rem !important;
}
.font-10{
    font-size: 10px !important;
}
.font-11{
    font-size: 11px !important;
}
.font-12{
    font-size: 12px !important;
}
.font-13{
    font-size: 13px !important;
}
.font-14{
    font-size: 14px !important;
}
.font-15{
    font-size: 15px !important;
}
.font-16{
    font-size: 16px !important;
}
.font-1rem{
    /*moadelan 1rem=16px*/
    font-size: 1rem !important;
}
.font-17{
    font-size: 17px !important;
}
.font-18{
    font-size: 18px !important;
}
.font-24{
    /*moadelan 1rem=16px*/
    font-size: 24px !important;
}
.font-32{
    /*moadelan 1rem=16px*/
    font-size: 32px !important;
}
.font-15rem{
    /*moadelan 1rem=16px*/
    font-size: 1.5rem !important;
}
.font-2rem{
    /*moadelan 1rem=16px*/
    font-size: 2rem !important;
}
.font-25rem{
    /*moadelan 1rem=16px*/
    font-size: 2.5rem !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
    display: none;
}
input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
}
input[type="number"]:hover,
input[type="number"]:focus {
    -moz-appearance: number-input;
}


/**default style**/
@font-face {
    font-family: 'BYekan';
    src: url('/fonts/BYekan_0.ttf');
    src: local('?'),url('fonts/BYekan_0.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'IranNastaliq';
    src: url('/fonts/IranNastaliq_0.ttf');
    src: local('?'),url('fonts/IranNastaliq_0.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'iransans';
    src: url('/fonts/sans.ttf');
    src: local('?'),url('fonts/sans.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}
/**persian**/

.cke_wysiwyg_frame,.cke_wysiwyg_frame *,.cke_reset,.cke_reset *,cke_reset_all,.cke_reset_all *{
    direction: rtl;
    text-align: right;
    font-family: iransans;
}
*{
    direction: rtl;
    text-align: right;
    font-family: iransans;
}
.pwt-btn-calendar{
    display: none;
}
.input-group,.btn-group,.pagination{
    direction: ltr;
}
.pagination{
    overflow-y: auto;
    padding-bottom: 1em;
}
.modal-header .close{
    position: absolute;
    left: 0em;
}
.bg-light-35{
    background: rgba(247, 247, 247,0.35);
}
.rtl{
    direction: rtl;
}
.ltr{
    direction: ltr;
}

body{
    font-family: iransans;
    font-size: 14px !important;
}
body *{
    font-family: iransans;
    font-size: 14px !important;
}
.modal-dialog{
    right: 0px;
}
.modal-dialog:not(.smallsize,.modal-bottom) .modal-body{
    min-height: calc(100vh - 50px - 56px - 9rem);
    max-height: calc(100vh - 50px - 56px - 9rem);
    height: calc(100vh - 50px - 56px - 9rem);
    overflow-y: auto;
}
*{
    word-wrap: break-word;
}

.datepicker-container,.datepicker-container *{
    direction: ltr;
    text-align: center;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  border-radius:99px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius:99px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #8889; 
  border-radius:99px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #5559; 
  border-radius:99px;
}

.custom-file-label{
    vertical-align: middle;
    white-space: nowrap !important;
    text-overflow: ellipsis;
    overflow: hidden;
    position: unset;
    box-sizing: border-box;
    min-width: 100%;
}

.img-xsm,.img-8{
    /*height: 8px;
    width: 8px;*/
    /*moadelan 1rem=16px*/
    height: 0.5rem;
    width: 0.5rem;
}
.img-xmsm,.img-12{
    /*height: 12px;
    width: 12px;*/
    /*moadelan 1rem=16px*/
    height: 0.75rem;
    width: 0.75rem;
}
.img-sm,.img-16{
    /*height: 16px;
    width: 16px;*/
    /*moadelan 1rem=16px*/
    height: 1rem;
    width: 1rem;
}
.img-msm,.img-24{
    /*height: 24px;
    width: 24px;*/
    height: 1.5rem;
    width: 1.5rem;
}
.img-md,.img-32{
    /*height: 32px;
    width: 32px;*/
    /*moadelan 1rem=16px*/
    height: 2rem;
    width: 2rem;
}
.img-lg,.img-40{
    /*height: 40px;
    width: 40px;*/
    /*moadelan 1rem=16px*/
    height: 2.5rem;
    width: 2.5rem;
}
.img-xl,.img-48{
    /*width: 48px;
    height: 48px;*/
    /*moadelan 1rem=16px*/
    width: 3rem;
    height: 3rem;
}
.img-xxl,.img-56{
    /*width: 56px;
    height: 56px;*/
    /*moadelan 1rem=16px*/
    width: 3.5rem;
    height: 3.5rem;
}
.img-xxxl,.img-64{
    /*width: 64px;
    height: 64px;*/
    /*moadelan 1rem=16px*/
    width: 4rem;
    height: 4rem;
}
.img-128{
    /*width: 64px;
    height: 64px;*/
    /*moadelan 1rem=16px*/
    width: 8rem;
    height: 8rem;
}


.body .pagebody .added .card-header, .body .pagebody .listed .card-header{
    cursor: pointer;
}




.modal-dialog:not(.smallsize,.modal-bottom){
    margin: calc(56px + 1.75rem) auto;
    max-width: calc(100vw - 51px - 52px - 2rem) !important;
}

.loadingpage{
    text-align: center;
    left: 0px;
    top:0px;
    vertical-align: middle;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 9999999999 !important;
    background: rgba(255,255,255,0.5);
}
.loadingpage>img{
    height: 30vh;
    text-align: center;
    vertical-align: middle;
    margin-top: calc(50vh - 15vh);
}

.select2-container{
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1% !important;
    margin-bottom: 0;
}

/*.select2-container {
    z-index:10050;
}*/

.select2-selection,.select2-selection__rendered,.select2-selection__arrow{
    height: 100% !important;
}

.select2-container--default .select2-selection--single {
    
    border: 0px solid transparent !important;
    border-radius: 0px !important;
}
.select2-results__option{
    font-family: iransans;
}


.clockpicker-popover .popover-title {
    direction: ltr !important;
}
.datepicker-plot-area .datepicker-day-view .table-days{
    direction: rtl !important;
}

.modal .card-body,.modal .card-header{
    padding-left: 5px !important;
    padding-right: 5px !important;
}



.hideappendtext{
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: right;
}

.hideappendtextfull{
    -ms-flex-wrap: nowrap;
    white-space: nowrap;
    flex-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: right;
}


.collap p.collapse {
  transition: 0.2;
  -o-transition: 0.2;
  -ms-transition: 0.2;
  -moz-transition: 0.2;
  -webkit-transition: 0.2;
}
.collap p.collapse:not(.show).text-gray {
  color: rgba(0,0,0,0.75) !important;
}
.collap p.collapse.show.text-gray,.item.active .collap p.collapse.text-gray{
    color: rgba(255,255,255,1) !important;
}
.item[data-op="mtn"] p.collapse.show.text-gray,.item[data-op="mtn"].active p.collapse.show.text-gray{
    color: rgba(0,0,0,1) !important;
}
.collap p.collapse:not(.show) {
  height: 4rem;
  min-height: 4rem;
  overflow-y: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.collap {
  position: relative;
}

.max-w-110-px{
    max-width: 110px !important;
}

.header .navbar-brand{
    font-size: 1rem;
}

.input-group > .form-control:not(:last-child),
.input-group > .custom-select:not(:last-child) {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group > .form-control:not(:first-child),
.input-group > .custom-select:not(:first-child) {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}
.input-group > .custom-file:not(:last-child) .custom-file-label,
.input-group > .custom-file:not(:last-child) .custom-file-label::after {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group > .custom-file:not(:first-child) .custom-file-label {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}



h1, .h1 {
  font-size: 2.5rem !important;
}

h2, .h2 {
  font-size: 2rem !important;
}

h3, .h3 {
  font-size: 1.75rem !important;
}

h4, .h4 {
  font-size: 1.5rem !important;
}

h5, .h5 {
  font-size: 1.25rem !important;
}

h6, .h6 {
  font-size: 1rem !important;
}

#endPageRelaod{
    height: 10px; width: 100%;
}

.modal-dialog.modal-bottom{
    margin-right: 0px !important;
    margin-left: 0px !important;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: end;
    max-width: 100vw !important;
    width: 100vw !important;
    min-width: 100vw;
    margin: 0px !important;
}
.modal-dialog.modal-bottom .modal-content{
    bottom: -1.75em;
    position: absolute;
}

.modal-dialog.modal-bottom:before{
    display: block;
    height: calc(100vh - 1rem) !important;
    content: "";
}

/*scroll*/
.modal-dialog.modal-bottom {
  display: -ms-flexbox;
  display: flex;
  max-height: 100% !important;
}

.modal-dialog.modal-bottom .modal-content {
  max-height: 100vh  !important;
  overflow: hidden;
}

.modal-dialog.modal-bottom .modal-header,
.modal-dialog.modal-bottom .modal-footer {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.modal-dialog.modal-bottom .modal-body {
  overflow-y: auto;
}
/*end scroll*/

.modal.mw-100{
    padding: 0px !important;
}

.textboxvip,.textbox,.text-box{
    text-align: justify;
}

.textboxvip{
    line-height: 2.5rem;
}

small,
.small {
  font-size: 80% !important;
  font-weight: 400 !important;
}

.onetimecode{
    max-width: 220px;
}


/**END default style**/



/*APPEND*/
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
  padding-right: 1rem;
  padding-left: 1rem;
}
/*END APPEND*/


body{
    background-color: rgba(253,253,253,1);
/*    background-image: url('../images/bg-pattern.png');*/
    background-attachment: fixed;
}

header{
    top: 0px;
    box-shadow: 0px 0px 1rem 0.25rem #00000030;
    background-image: url('../images/bg-pattern.png');
    background-attachment: fixed;
    background-color: #fff;
    z-index: 99;
}

header+*{
    margin-top: 4rem;
}

.banners .carousel .carousel-item img{
    max-height: 120px;
    min-height: unset;
    height: unset;
    max-width: calc(100vw - 2rem);
    min-width: unset;
    width: unset;
    
    border-radius: 0.5rem;
/*    background-color: rgb(0, 120, 255);*/
}

.banners .carousel .carousel-indicators{
    max-width: 120px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    border-radius: 25px;
    padding: 8px;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: -0.5rem;
    direction: ltr !important;
}
.banners .carousel .carousel-indicators li{
    width: 20px;
    height: 10px;
    border-radius: 0.5rem;
    background: #e0e0e0;
    opacity: 1;
    border: 0;
}
.banners .carousel .carousel-indicators li.active {
/*    background-color: rgb(0, 120, 255);*/
}

.ratioform .item .bg,.category .item .bg{
    cursor: pointer;

    background-color: #e9e9e9;
    border-radius: 0.5rem;

    transition-duration: 200ms;
    -o-transition-duration: 200ms;
    -moz-transition-duration: 200ms;
    -webkit-transition-duration: 200ms;
}
.ratioform .item .bg:hover,.ratioform .item.active .bg , .category .item .bg:hover,.category .item.active .bg{
    background-color: rgba(0, 120, 255,1) !important;
/*    background: linear-gradient(135deg, rgba(0,120,255,1) 0%, rgba(63,153,255,1) 85%) !important;*/
/*    background: linear-gradient(135deg, rgba(0,125,255,1) 0%, rgba(109,213,237,1) 100%) !important;*/

}
.ratioform .item .bg:hover,.ratioform .item.active .bg{
    color: #fff;
}
.category .item .bg:hover *,.category .item.active *{
    color: rgba(255, 255, 255,1) !important;
}

.main .menu{
    box-shadow: unset;
    position: relative;
    height: unset;
    background: unset;
    top: unset;
/*    max-width: unset;*/
    padding-top: unset;
}

footer{
    width: 100%;
    bottom: 0px;
    box-shadow: 0px 0px 1rem 0.25rem #00000030;
    background-image: url('../images/bg-pattern.png');
    background-attachment: fixed;
    background-color: #fff;
    z-index: 99;
}
footer .item h6{
    color: #999999;
}

footer .item .bg{
    cursor: pointer;
}
footer .item.active img{
    height: 1.75rem !important;
    width: 1.75rem !important;
    padding: 0.25rem !important;
    background: rgba(0,120,255,1);
    border-radius: 0.5rem;

    margin-bottom: 0.25rem !important;
}
footer .item.active h6{
    color: rgba(0,120,255,1);
}

footer .item h6,footer .item img{
    transition-duration: 200ms;
    -o-transition-duration: 200ms;
    -moz-transition-duration: 200ms;
    -webkit-transition-duration: 200ms;
    font-size: 0.85rem !important;
}

footer .item .img-act{
    display: none;
}
footer .item .img-deact{
    display: flex;
}

footer .item:hover .img-act,footer .item.active .img-act{
    display: flex;
}
footer .item:hover .img-deact,footer .item.active .img-deact{
    display: none;
}
footer .item:hover img{
    height: 1.75rem !important;
    width: 1.75rem !important;
    padding: 0.25rem !important;
    background: rgba(0,120,255,0.5);
    border-radius: 0.5rem;
    margin-bottom: 0.25rem !important;
}
footer .item:hover h6{
    color: rgba(0,120,255,0.5);
}
.support .datas,.history .datas{
    padding-top: 1rem;
}

.history .datas .item .bg{
    background-color: #e7e7e7;
    border-radius: 0.5rem;
}
.support .datas .item .bg{
    position: pointer;
}
.support .datas .item .bg{
    border-radius: 0.5rem;

    transition-duration: 200ms;
    -o-transition-duration: 200ms;
    -moz-transition-duration: 200ms;
    -webkit-transition-duration: 200ms;
}
.support .datas .item .bg:hover{
    background-color: rgba(0,125,255,0.2);
}

.main .datas{
    overflow-y: auto;
}

.flaot-img-bottom-left{
    position: absolute;
    bottom: 0.15rem;
    left: 1.15rem;
}

.package .item .bg .bg-self,.package .item .bg .color-self{
    transition-duration: 200ms;
    -o-transition-duration: 200ms;
    -moz-transition-duration: 200ms;
    -webkit-transition-duration: 200ms;
}

.package .item .bg{
    border-radius: 0.5rem;
}
.package .item[data-op="mci"] .bg .color-self{
    color: #21ced1;
}
.package .item[data-op="mtn"] .bg .color-self{
    color: #fdcc04;
}
.package .item[data-op="rightel"] .bg .color-self{
    color: #9d2a78;
}
.package .item[data-op="mci"] .bg .bg-self{
    background-color: #21ced1;
    color: #fff !important;
}
.package .item[data-op="mtn"] .bg .bg-self{
    background-color: #fdcc04;
}
.package .item[data-op="rightel"] .bg .bg-self{
    background-color: #9d2a78;
    color: #fff !important;
}
.package .item[data-op="mci"].active .bg .bg-self,.package .item[data-op="mci"] .bg:hover .bg-self{
    color: #21ced1 !important;
    background-color: #fff !important;
}
.package .item[data-op="mtn"].active .bg .bg-self,.package .item[data-op="mtn"] .bg:hover .bg-self{
    color: #fdcc04 !important;
    background-color: #fff !important;
}
.package .item[data-op="rightel"].active .bg .bg-self,.package .item[data-op="rightel"] .bg:hover .bg-self{
    color: #9d2a78 !important;
    background-color: #fff !important;
}
.package .item[data-op="mci"].active .bg,.package .item[data-op="mci"] .bg:hover{
    background-color: #21ced1 !important;
    color: #fff !important;
}
.package .item[data-op="mtn"].active .bg,.package .item[data-op="mtn"] .bg:hover{
    background-color: #fdcc04 !important;
    color: #000 !important;
}
.package .item[data-op="rightel"].active .bg,.package .item[data-op="rightel"] .bg:hover{
    background-color: #9d2a78 !important;
    color: #fff !important;
}

.list{
    max-width: 100%;
    overflow-x: auto;
    overflow-scrolling: touch;
    webkit-overflow-scrolling: touch;
    moz-overflow-scrolling: touch;
    ms-overflow-scrolling: touch;
    o-overflow-scrolling: touch;
    -webkit-overflow-scrolling: touch;
    -moz-overflow-scrolling: touch;
    -ms-overflow-scrolling: touch;
    -o-overflow-scrolling: touch;
    overflow-style: none;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    -moz-overflow-style: none;
    -o-overflow-style: none;
    -webkit-overflow-style: none;

    scrollbar-width: none;  /* Firefox */

    position: relative;
}
.list::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

.list .item .bg{
    height: 100%;
}
.package .item{
    min-width: 10rem;
    width: 10rem;
}
.internet .item{
    min-width: 14rem;
    width: 14rem;
}

.next,.previous {
  background-image: url('img/slideright');
  width: 3rem;
  min-width: 3rem;
  background-size: 50% auto;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
  transition: 0.2s;
  -o-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
  -webkit-transition: 0.2s;
  filter: grayscale(100%);
  opacity: 0.5;
  z-index: 9;

  height: 100%;
  position:absolute;
  right: -1rem;
}
.next:hover,.previous:hover{
    filter: grayscale(0%);
    opacity: 1;
}
.previous{
    background-image: url('img/slideleft');
    right: unset;
    left: -1rem;
}

.alert-dismissible .close {
  padding: 1rem 0.75rem;
}
.alert-dismissible {
  padding-right: 2rem;
}

@media (min-width: 0px) {/*xsm*/
    .main-container{
        box-shadow: unset;
        min-height: unset;
    }
    
    .main .menu{
/*        min-height: calc(100vh - 280px - 4rem - 95px - 1rem);*/
    }
    .main .datas{
        max-height: calc(100vh - 64px - 80px - 50px - 1.5rem);
        padding-bottom: calc(47px);
    }
    .index .datas{
        min-height: calc(100vh - 4rem - 1rem);
        max-height: calc(100vh - 4rem - 1rem);
    }

}

@media (min-width: 768px) {/*md*/
    /**default style**/
    .modal-dialog.modal-bottom:before{
        display: block;
        height: calc(100vh - 1rem) !important;
        content: "";
    }
    .modal-dialog.modal-bottom .modal-content{
        bottom: -1.5rem;
        position: absolute;
    }
    /**END default style**/


    footer{
        width: 40%;
        margin-left: auto;
        margin-right: auto;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
    }

    footer.by-menu{
        margin-right: calc(30% + calc(720PX / 3 / 2));
    }

    footer .item h6{
        font-size: 14px !important;
    }

    .container .main .menu,.container .main .menu-space{
/*        max-width: calc(720px / 3);*/
    }
    .main-container{
        box-shadow: 0px 0px 5px 1px rgba(0,120,255,1);
/*        min-height: 100vh;*/
    }

    .main .menu>article{
        position: sticky;
        top: 5rem;
    }
    .main .menu{
        min-height: calc(100vh - 4rem);
    }

    .main .datas{

        max-height: calc(100vh - 4rem);
        padding-bottom: 2.5rem;
    }
    .index .datas{
        min-height: calc(100vh - 4rem);
        max-height: calc(100vh - 4rem);
        padding-bottom: 0px;
    }
    .main .menu{
        padding-top: 1rem;
        box-shadow: -5px 0px 5px 1px rgba(0,0,0,0.1);
/*        position: fixed;*/

/*        min-height: calc(100vh - 4rem);*/
        background: rgba(250,250,250,1);
        top: 0rem;
    }

    .banners .carousel .carousel-item img{
        max-height: 150px;
        min-height: 150px;
        height: 150px;
        max-width: 100%;
        min-width: unset;
        width: unset;
    }
    
}

@media (min-width: 992px) {

    footer{
        width: 500px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
    }
    
    footer.by-menu{
        margin-right: calc((100% - 500px + calc(920px / 3)) / 2);
    }

    .container .main .menu,.container .main .menu-space{
/*        max-width: calc(960px / 3);*/
    }

    /**default style**/
    .modal-dialog:not(.smallsize,.modal-bottom){
        margin: calc(56px + 1.75rem) auto;
        max-width: calc(100vw - 180px - 160px - 2rem) !important;
    }
    /**END default style**/

}
@media (min-width: 1200px) {
    footer.by-menu{
        margin-right: calc((100% - 500px + calc(1140px / 3)) / 2);
    }

    .container .main .menu,.container .main .menu-space{
/*        max-width: calc(1140px / 3);*/
    }
}