
.auth .modal-dialog {
    width: 400px;
}

.auth .modal-title {
    display: table;
    font-weight: 300;
}

.auth .modal-header {
    border-bottom: 0;
}

.auth .modal-body {
    padding: 0 50px;
    padding-bottom: 30px;
}

@media (max-width: 767px) {
  .auth .modal-dialog {
    width: inherit;
  }
}

html, body {
    min-height: 100%;
    /* padding: 0 15px; */
}

body {
    font-family: 'Exo 2', sans-serif;
    color: #282d30;
    /* padding-top: 60px; */
    padding-top: 80px;
}

html {
    scroll-behavior: smooth;
}

.btn {
    /*font-size: 18px;*/
    /*height: 40px;*/
    /*line-height: 25px;*/
}

.btn-primary {
    border: 0;
    background-color: #3CA6FF;
}


  #ref-description {background-color: inherit;}

    #questionaries_lifetime_chart { height: 250px }

.spline-chart {
    height: 250px;
}

#download > a {
    color: #282d30;
    text-decoration: none;
}

#dictionary-toolbar > li {
    cursor: pointer;
}

#modal .modal-dialog {
    max-width: 960px;
}

  .guide-base-info-line {
    font-size: 2.7ex;
    font-weight: 500;
  }
  .guide-info-line {
    font-size: 2.2ex;
  }

  .guide-section-descr-holder tr:not(:last-child) {
    border-bottom: 1px solid #eee;
  }
  .guide-section-descr a {
    text-decoration: none;
  }
  .guide-section-descr td {
    vertical-align: middle !important;
  }

    .left-menu {
        display: block;
        position: absolute;
        width: 100%;
        overflow-y: auto;
    }
    .left-menu a {
        border: 0;
        font-size: 17px;
        font-weight: 600;
    }
    .left-menu div {
        padding-left: 10px;
    }

    .left-menu a.active,
    .list-group-item.active:hover,
    .left-menu a:hover {
        background-color: #ffffff;
        color: #3CA6FF;
    }

    .list-group-item.accent-gold {
        color: #C69D00;
    }
    .list-group-item.accent-gold.active,
    .list-group-item.accent-gold:hover {
        background-color: #ffffff;
        color: #E36414;
    }

    .left-menu-subitems-holder {
        border-left: 1px solid lightgray;
    }
    .left-menu-subitems-holder a {
        word-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        font-size: 2.3ex;
        width: 110%;
        padding-top: 7px;
        padding-bottom: 7px;
      }

    .left-menu .list-group-item {
        vertical-align: bottom;
        display: inline-flex;
    }
    .left-menu .list-group-item i {
        margin: 5px 5px 0 0;
    }

    @media (max-width: 767px) {
        .left-menu {
            display: none;
            width: 15em;
            z-index: 9999;
            background-color: white;
            border-right: 1px #e7e7e7 solid;
            border-bottom: 1px #e7e7e7 solid;
            border-bottom-right-radius: 4px;
            -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
            -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
            box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
        }
    }


  .scan_preview { height: 100%;  width: 100%; }
  object.scan_preview { min-height: 80vh;}

    .licenses table > tbody > tr > td:first-child {
        white-space: nowrap;
    }

    #input-caret {
        float: right;
        font-size: 3ex;
        position: relative;
        right: 0.5em;
        text-align: right;
        top: -1.2em;
        cursor: pointer;
    }


  .loading-file-widget {
    margin-top:30px;
  }

  .files-holder {cursor: pointer;}

  .flex-widget {
    display: flex;
    align-items: center;
  }

  .flex-widget .buttons-pannel{
    margin-left: 10px;
  }

  .flex-widget .take-photo-button {
    padding: 10px;
  }

  .flex-widget .panel {
    border-radius: 15px;
    margin: unset;
  }

  .files-holder .filename {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }


  .stepper {
    margin-top: 30px;
  }

  .stepper .steps .step .title {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
  }

  .stepper .steps .step .content {
    margin-left: 2%;
  }

  .stepper .steps .step .title::before {
    content: attr(data-step);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    background: #F4F4FC;
    border: 1px solid #727272;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    color: #727272;
    cursor: default;
    margin-right: 10px;
  }
  .stepper .steps .step {
    position: relative;
    padding-bottom: 39px;
    font-size: 16px;
    line-height: 19px;
  }
  #progress-holder {
    text-align: center;
  }
  #progress-bar {
    width: 100%;
  }
  #result-buttons-holder {
    display: flex;
  }
  #result-buttons-holder button {
    flex-basis: 100%;
    margin: 1em;
  }

  #loading-form-clipboard-block {
    padding: 1em;
    text-align: center;
  }
  #loading-form-clipboard-block button {
    margin-top: 1em;
  }

  @media (max-width: 767px) {
    .loading-option {
      width: 100%;
      text-align: start;
      white-space: inherit;
    }
  }

  .loading-option {
    margin: 5px;
  }


  .loading-doc-single-form {
    border: 1px solid;
    margin: 1em 0;
    padding: 1em 1em;
    border-color: #e7eaec;
  }

  #loading-page-holder {
    display: flex;
  }
  #loading-block-form,
  #loading-block-results {
    max-height: 100%;
    margin: 1em;
    padding: 15px 20px;
    border-radius: 2px;
    border-color: #e7eaec;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    background-color: #ffffff;
  }

  .loading-page-accent-block {
    padding: 15px 25px;
    background: #F4F4FC;
    border-radius: 8px;
    margin: 35px 0;
  }
  @media (max-width: 1100px) {
    #loading-page-holder {
      display: block;
    }
    #loading-block-form,
    #loading-block-results {
      margin: 1em 0;
      width: 100%;
    }
    #loading-block-results {
      margin-bottom: 10em;
    }
  }


        .notification-block .notification-body {
            display: inline-block;
            width: calc(100% - 15px);
            padding: 15px 5px 15px 5px;
            justify-content: space-between;
            align-items: center;
            background-color: #F4F4FC;
            border-bottom-right-radius: 15px;
            border-top-right-radius: 15px;
        }

        .notification-block .notification-status {
            display: inline-block;
            width: 15px;
            border-top-left-radius: 15px;
            border-bottom-left-radius: 15px;
            align-items: stretch;
        }

        .notification-block {
            display: flex;
            margin-top: 15px;
            margin-bottom: 15px;
        }

        .notifications-holder {
            margin-top: 15px;
        }

        .notification-info {
            background-color: #1D9649;
        }

        .notification-warning {
            background-color: #FDB913;
        }

        .notification-error {
            background-color: #BF2236;
        }

  .sections-info-one {
    margin-top: 2em;
  }
  .section-info-content {
    margin-left: 1em;
  }

  #md-text table {
    border-collapse: collapse;
    border: 1px solid #b6b6b6
  }

  #md-text table td{
    padding: 5px;
    border: 1px solid #b6b6b6
  }

  #md-text table th{
    padding: 5px;
    border: 1px solid #b6b6b6
  }

  #md-text {
    padding-top: 1%;
    padding-bottom: 7%;
    padding-left: 7%;
    padding-right: 7%;
  }

  @media (max-width: 767px) {
    #md-text {
      padding-top: 70px;
    }

    #md-text img{
      max-width: 100%;
    }
  }


  #form-info-block p {
    min-height: 0.5ex;
  }
  .bill-form-create-btn {
    min-width: 64px;
    height: 48px;
    color: #fff;
    font-size: 14px;
    line-height: 17px;
    font-weight: 600;
    transition: all .3s ease;
    letter-spacing: 1.25px;
    background-color: #0070f0;

    box-sizing: border-box;
    position: relative;
    user-select: none;
    cursor: pointer;
    outline: none;
    border: none;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    padding: 0 16px;
    border-radius: 4px;
    overflow: visible;
  }


  #rates-scroll {
    scroll-margin-top: 200px;
  }

  .external-content {
    width: 100%;
    height: 100%;
    border: unset;
  }

  .rate-select-period {
    display: flex;
    justify-content: center;
    padding: 5px;
    align-items: center;
  }

  .sale-title {
    margin: 0px;
    margin-left: 2.5px;
    margin-right: 2.5px;
    padding-left: 2.5px;
    padding-right: 2.5px;
    background-color: #1D9649;
    color: white;
    border-radius: 5px;
  }

  .select-rate-period-buttons {
    display: flex;
    justify-content: center;
    width: 50%;
  }

  .select-rate-period-buttons .rate-period-title {
    font-size: 1vw;
    margin: 2.5px;
    padding: 5px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    width: max-content;
  }

  .select-rate-period-buttons input[type="radio"]:checked + .rate-period-title {
    background-color:#f5f5f5;
  }

  .select-rate-period-buttons .rate-period-title:hover {
    background:#f5f5f5;
  }

  .rate-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-radius: 15px;
    background-color: #f5f5f5;
    align-items: center;
  }

  .rate-header p {
    margin: 0px;
  }

  .rate-header .rate-title {
    font-size: 1.3vw;
    color: #595959;
  }

  .rate-header .rate-cost {
    font-size: 1.4vw;
    white-space: nowrap;
    font-weight: normal;
    color: #595959;
    text-align: right;
  }

  .rate-header .rate-subcost {
    font-size: 0.8vw;
    white-space: nowrap;
    font-weight: normal;
    color: #8c8c8c;
    text-align: right;
  }

  .rate-header .rate-period {
    font-size: 1.1vw;
    color: #8b8b8b;
    text-align: right;
  }

  .rate-bottom-text {
    display: flex;
    justify-content: center;
    padding: 10px 10px 0px 10px;
    font-size: 1.1vw;
    color: #595959;
  }

  .rate-bottom-text-holder {
    text-align: justify;
    width: 90%;
  }

  .rate-bottom-text p{
    padding: 0px;
    margin: 0px;
  }

  .rate-body {
    display: flex;
    justify-content: center;
    padding: 10px;
    height: 80%;
  }

  .rate-body .rate-body-left-column {
    padding: 0px;
    margin: 5px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    width: 45%;
  }

  .rate-body .rate-body-left-column-big {
    padding: 10px;
    margin: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    width: 100%;
  }

  .rate-body .rate-body-left-column, .rate-body-left-column-big p {
    margin: 5px;
    justify-content: left;
    text-align: left;
    font-size: 1.1vw;
    line-height: 1.3;
    color: #595959;
  }

  .rate-body .rate-body-right-column {
    padding: 0px;
    margin: 5px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    width: 45%;
  }

  .rate-body .rate-body-right-column p {
    margin: 5px;
    justify-content: left;
    text-align: left;
    font-size: 1.1vw;
    line-height: 1.3;
    color: #595959;
  }

  .rate-body .vl {
    width: 0.01vw;
    height: 100%;
    background-color: #bdbdbd;
  }

  .rates-wrapper {
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content: center;
    height: 100%;
  }
  .col {
    border: 1px solid;
  }

  .rate_block:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  }
  .rate_block {
    padding: 10px;
    margin: 5px;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 15px;
    transition: all 0.2s linear;
    display: flex;
    flex-direction: column;
    cursor: default;
    max-width: 30%;
  }

  .button {
    border: 0px;
    color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    font-size: 1vw;
    text-align: center;
    text-decoration: none;
  }

  .button:hover {
    text-decoration: none;
    color: #ffffff;
  }

  .rate_block .rate-btns {
    display: flex;
    justify-content: center;
  }

  .button-select, .disabled-rate-btn {
    display: inline-block;
    background: #bf2236 !important;
  }

  .button-action {
    display: inline-block;
    background: #0060df !important;
  }

  .button-info {
    display: inline-block;
    background: #cac8c8 !important;
  }

  .button-1 {
    width: 10%;
  }

  .button-2 {
    width: 20%;
  }

  .button-3 {
    width: 30%;
  }

  .button-4 {
    width: 40%;
  }

  .button-5 {
    width: 50%;
  }

  .button-6 {
    width: 60%;
  }

  .button-7 {
    width: 70%;
  }

  .button-8 {
    width: 80%;
  }

  .button-9 {
    width: 90%;
  }

  .button-10 {
    width: 100%;
  }

  .button-action-disabled {
    background: lightgray !important;
  }

  #payment-form-variants {
    text-align: center;
  }
  .rate-bill-form {
    margin: 0 3em 5em 5em;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  }
  #form-info-block p {
    min-height: 0.5ex;
  }
  .rate-box-ending-lines-block strong {
    font-size: 1.8ex;
    font-weight: 600;
  }

  .rate-bill-form, .rate-yookassa-form {
    margin: 10px;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  }

  .rates-help-info-block {
    margin: 10px;
    font-size: 18px;
  }

  .rates-external-html {
    margin: 10px;
    max-width: 80%;
  }

  @media (max-width: 992px) {
    .rate-bill-form {
      margin: 1em;
    }

    .rates-help-info-block {
      margin: 1em;
    }

    .rate_block {
      max-width: unset;
      width: 100%;
    }

    .button {
      font-size: 4vw;
    }

    .rate-body .rate-body-right-column p {
      font-size: 4vw;
    }

    .rate-body .rate-body-left-column, .rate-body-left-column-big p {
      font-size: 4vw;
    }

    .rate-header .rate-title {
      font-size: 4.5vw;
    }
  
    .rate-header .rate-cost {
      font-size: 5vw;
    }

    .rate-header .rate-subcost {
      font-size: 3vw;
    }

    .select-rate-period-buttons .rate-period-title {
      font-size: 3vw;
    }
  
  
  }



    #reports #remove_shop_button {
        position: absolute;
        right: 15px;
        top: 15px;
        cursor: pointer;
    }

    .widget {
        border-radius: 5px;
        padding: 10px 15px;
        margin: 1ex auto;
        height: 100px;
        max-width: 45em;
        -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        background: #fff;
    }

    .widget.style1 h2 {
        font-size: 30px;
    }

    .widget h2,
    .widget h3 {
        margin-top: 5px;
        margin-bottom: 0;
    }

    .widget-text-box {
        padding: 20px;
        border: 1px solid #e7eaec;
        background: #ffffff;
    }

    .widget-head-color-box {
        border-radius: 5px 5px 0px 0px;
        margin-top: 10px;
    }

    .col-left {
        min-width: 100px;
    }

    .uploaded-late {
        background-color: #ed5565;
    }

    .ibox-content {
        clear: both;
    }

     .uploaded-late {
        background-color: #f2e048;
        /*color: white !important;*/
    }

    .report-info{
        background-color:#d9edf7;
    }

    .report-success{
        background-color:#dff0d8;
    }

    .report-warning{
        background-color:#fcf8e3;
    }
    .report-danger{
        background-color: #ed5565;
        color: white !important;
    }

    #datatable tbody td, #datatable thead th {
        white-space: nowrap;
    }

    .dataTables_wrapper > .row:first-child {
        display: none;
    }

    .tooltip {
        z-index: 1000;
        position: absolute;
    }

    tr.report-:hover {
        background-color: rgba(243, 243, 244, 0.6);
    }
    tr.report-info:hover {
        background-color: rgba(28, 132, 198, 0.25);
    }
    tr.report-success:hover {
        background-color: rgba(57, 220, 70, 0.35);
    }
    tr.report-warning:hover {
        background-color: rgba(255, 235, 59, 0.4);
    }
    tr.report-danger:hover {
        background-color: rgba(237, 85, 85, 0.9);
    }
    .table-center {
        word-wrap: break-word;
        word-break: keep-all;
        text-align: center;
    }
    table.dataTable thead .sorting::after,
    table.dataTable thead .sorting_asc::after,
    table.dataTable thead .sorting_desc::after,
    table.dataTable thead .sorting_asc_disabled::after,
    table.dataTable thead .sorting_desc_disabled::after {
        position: relative;
        bottom: 25px;
        right: -10px;
        padding: 0;
        float: right;
    }
    .text-header {
        display: table-cell;
        height: 34px;
        vertical-align: middle;
    }

    .table-tooltip {
        cursor: help;
    }

    .table-tooltip::after {
        content: attr(data-tooltip);
        background: rgba(0, 0, 0, 0.8);
        border-radius: 4px;
        color: #FFF;
        margin-top: -15px;
        opacity: 0;
        padding: 2px;
        width: 10em;
        position: absolute;
        right: 0;
        visibility: hidden;
        z-index: 1000;
        transition: all 0.2s ease-in-out;
        visibility: hidden;
        float: right;
    }
            
    .table-tooltip:hover::after {
        opacity: 1;
        visibility: visible;
    }

    .legend_badge {
        width: 50px;
        margin-right: 1em;
    }

    .ds-legend .list-group-item {
        padding-top: 5px;
        padding-bottom: 5px;
    }

  .scan_preview { height: 100%;  width: 100%; }
  .editable-value-edit {background-color: lightyellow;}
  #notification .alert {z-index: 999999 !important;}
  .result-details-view .bottom_action_buttons {
    display: flex;
    flex-direction: row-reverse;
    position: relative;
    top: 1em;
    transform: rotate(-90deg);
    margin-left: -2em;
    margin-right: -1.5em;
    padding: 0em 1em 0em 1em !important;
  }
  .result-details-view {
    -webkit-box-shadow: 0 0 !important;
    -moz-box-shadow: 0 0 !important;
    box-shadow: 0 0 !important;
  }
  .result-details-view > div {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  #clipboard-full-block {
    padding: 1em;
    margin-top: 1em;
    border-radius: 2px;
    border-color: #e7eaec;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    background: #F4F4FC;
    text-align: center;
  }
  #clipboard-full-block p {
    padding: 0.5ex;
  }

  .search-field {margin-left:2px;margin-right:2px;}
  #search-form-holder button i {color: #3ca6ff;}
  #custom-search-form {display: none;margin: 1em;}
  #custom-search-form .form-group { margin-bottom: 0; }
  .show_custom_search_btn { margin-left: 0.5em; }
  .invalid-input {box-shadow:  0.5px 0.5px 2px 0.5px red inset;}
  .otooltip {cursor: help;}
  .otooltip::after {
    content: attr(data-tooltip);
    opacity: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    padding: 5px;
    z-index: 1000;
    color: #FFF;
    position: absolute;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    visibility: hidden;
    white-space: pre-line;
    line-height: 1.5;
    transition: all 0.2s ease-in-out;
    opacity: 1;
  }
  .otooltip:hover::after {
    opacity: 1;
    visibility: visible;
  }
  @media (max-width: 767px) {
    .search_btn {
      display: inline-block;
      width: 50%;
    }
    .form-action-btn {
      display: inline-block;
      width: 23%;
    }
  }

  .campaign-dl dt { display: inline; text-align: left; width: 100px; padding: 6px 1em; }
  .campaign-dl dd { display: inline-block !important; margin-left: 10px; margin-top: 10px; }

  #search-form { margin: 1em; }
  #search-form .form-group { margin-bottom: 0; }
  #search_results_container { display: none; margin: 2em 0 1em 0; }
  #questionary_scan_container { display: none; }
  #questionary_scan_container img { width: 100%; }
  #search_clients .form-control { margin-bottom: 5px !important; }
  .bottom_action_buttons { margin-top: 1em;  margin-bottom: 1em; }

  #no_results_block { width: 100%; }
  #no_results_block i {color: orange;}

  .result-view {
    border-radius: 5px;
    padding: 5px;
    margin: 0;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    background: #fff;
  }

  .multi-edit-row {margin: 5px;}

  .settings-box-header {margin: 1em 0; cursor: pointer;}
  .settings-box-header small {font-size: 50%; float: right;}
  .selected-fields-group h4 small {font-size: 50%; float: right;}
  .selected-fields-group h4 {cursor: pointer;}
  .selected-fields-group hr {margin: 0;}
  .settings-box, .selected-fields-group {
    padding-left: 1em;
    padding-right: 1em;
    margin: 0;
    margin-top: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
  }
  .selected-fields-group {
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  .selected-fields-checkboxes {margin: 0; padding: 0;}
  .save-settings-fixed {
    display: none;
    position: fixed;
    margin: 1em;
    top: 0;
    right: 0;
    z-index: 10;
  }
  .ui-sortable div {cursor: move;}

  .switch {position: relative; display: inline-block; width: 50px; height: 24px; font-size: 10px;}
  .switch input {display:none;}
  .slider {position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; -webkit-transition: .4s; transition: .4s;}
  .slider:before {position: absolute; content: "выкл"; height: 15px; width: 15px; left: 4px; bottom: 4px; background-color: white; -webkit-transition: .4s; transition: .4s; }
  input:checked + .slider {background-color: #1c84c6;}
  input:focus + .slider {box-shadow: 0 0 1px #1c84c6;}
  input:checked + .slider:before {-webkit-transform: translateX(24px); -ms-transform: translateX(24px); transform: translateX(24px); content: "вкл";}
  .slider.round {border-radius: 34px;}
  .slider.round:before {border-radius: 50%;}

  .settings-list-button {margin: 1em;}

/*
table td:first-child {
    width: 18px;
}

table th {
    border-bottom: 0;
}

.shop-list button {
    font-size: 14px !important;
    font-weight: 400;
    height: 30px;
    line-height: 10px;
}
*/


  .table-noborders > tbody > tr > td,
  .table-noborders > tbody > tr > th,
  .table-noborders > tfoot > tr > td,
  .table-noborders > tfoot > tr > th,
  .table-noborders > thead > tr > td,
  .table-noborders > thead > tr > th {border: 0;}

#chart2 {
    height: 250px;
}

    
    .superuser-block {
        margin: 0 auto;
        padding: 3em;
        text-align: center;
        max-width: 30em;
    }

    .superuser-block .btn {
        margin-top: 5px;
        margin-bottom: 5px;
    }


    
    .superuser-block {
        margin: 0 auto;
        padding: 3em;
        text-align: center;
        max-width: 30em;
    }

    .superuser-block .btn {
        margin-top: 5px;
        margin-bottom: 5px;
    }


  .customer-settings-box {
    margin: 1em 0;
  }
  .settings-section {
    padding: 0.5em;
    margin: 1em 0;
    border-radius: 10px;
    background: white;
  }

  #pa-all-settings-holder {
    margin: 1em;
  }

    #menu_items ul.list-inline {
        line-height: 33px;
        margin: auto;
        text-align: center;
    }
    #menu_items span {
        line-height: 33px;
    }
    #menu_items .selection-state {
        text-align: center;
    }
    .table-header-centered th {
      text-align: center;
    }

    
    .dialog-block {
        margin: 0.5em 2em 1em;
        padding: 3em;
        text-align: center;
        border-radius: 6px;
    }

    .dialog-block .btn {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .dialog-block img {
        font-size: 15ex;
    }


    .create-template-dialog {
        max-width: 55em;
        min-height: 7em;
        padding: 5em;
        margin: 5em auto 0;
        text-align: center;
        border-radius: 6px;
        background-color: #f1f1f1;
    }

    .create-template-dialog > div {
        margin-top: 1em;
    }

    #templates-selector {
        display: none;
        position: absolute;
        border : 1px solid #c8c8c8;
        border-radius : 5px;
        box-shadow : 0 0 2px #c8c8c8;
        background-color : #ffffff;
        text-align: left;
    }

    #templates-selector span {
        display: block;
        padding: 2px;
        margin: 1px 5px;
        cursor: pointer;
    }

    #templates-selector span:hover {
        background-color: #edeff0;
    }


    .test-container {
        padding: 0.1em;
        margin: 2em;
        background-color : #ffffff;
    }

    .test-container-img {
        height: 10em;
        margin-bottom: 10px;
        border : 1px solid #c8c8c8;
        border-radius : 5px;
        box-shadow : 0 0 2px #c8c8c8;
        background-color : #ffffff;
        text-align: center;
        cursor: pointer;
    }
    .test-container-img i {
        position: absolute;
        width: 100%;
        top: 20%;
        left: 0;
    }
    .test-container-img img {
        width: 100%;
        height: 100%;
        display: none;
    }
    .img-selected {
        border-radius : 0;
        box-shadow : 0 0 10px rgba(60, 160, 255, 1);
    }
    #test-resutls-block {
        display: none;
        width: 99%;
        margin: 1em;
        box-shadow : 0 0 2px #c8c8c8;
    }

    #templates-toolbar .btn {
        margin-left: 2px;
        margin-right: 2px;
    }


    
    .result-block-row {
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        border-bottom: 1px solid #c8c8c8;
        width: 100%;
    }
    
    .result-block-row span {
        margin-top: 0.5em;
    }
    section[data-template-name="cabinet.templates.test_result_block"] {
        margin: 1em;
    }

    .result-block-row img {
        max-width: 100%;
        max-height: 10em;
    }


    
    #scanning-in-progress {
        width: 40%;
    }


  .alerts-block {
    margin-top: 1em;
  }
  .alerts-block .alert {
    padding: 10px;
    margin-bottom: 10px;
  }
  .alerts-block .alert-dismissible .close {
    right: 0;
  }

  .table-hover-line { background-color: #eee; }
  .table-line-highlight { background-color: lightgreen; }
  .common-table {
    height: 100%;
    overflow-y: auto;
    display: block;
    width: 100%;
    min-width: 100%;
  }
  .common-table td:hover { background-color: #dadada; }
  .common-table th {
    position: -webkit-sticky;
    position: sticky;
    left:0;
    top:0;
    color: black;
    background: #F4F4FC;
  }

  .common-table-long-text {
      max-width: 15em;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
  }
  .common-tooltip::after {
    content: attr(data-tooltip);
    opacity: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    padding: 5px;
    z-index: 1000;
    color: #FFF;
    position: absolute;
    transition: all 0.2s ease-in-out;
    visibility: hidden;
    white-space: pre-line;
    line-height: 1.5;
    transition: all 0.2s ease-in-out;
  }
  .common-table-tooltip::after {
      margin-top: -1em;
      padding: 5px;
      font-size: 12px;
      white-space: pre-wrap;
      word-break: break-all;
  }
  .common-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
  }

  .common-table-selected-row {background-color: darkseagreen;}
  .common-table-selected-row:hover {background-color: rgb(119, 158, 119) !important;}
  .common-table-pagination { text-align: center; }
  .common-table-pagination li { cursor: pointer; }

  .table-center {
    word-wrap: break-word;
    word-break: keep-all;
    text-align: center;
  }
  .table-header-cell {
    min-width: 1em;
    text-align: center;
    border: 1px solid rgba(0,0,0,.075);
   }
  .table-header-cell input { width: inherit !important; }
  .table-header-align::after { bottom: 30px !important; }
  .pd-broken { background-color: rgba(255, 0, 0, 0.1) !important; }
  .pd-deleted { background-color: rgba(160, 125, 30, .5) !important; }

  .double-scroll-area {overflow:auto;}

  .JColResizer {
    opacity:1 !important;
    width:5px !important;
    background-color: rgba(255, 255, 255, 1) !important;
  }


    #range_submit_parent { width: inherit; }
    #range_submit {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }
    #range_submit_block {
        display: none;
        border-radius: 0 0 4px 4px;
    }
    #range_title {display: inline-block; margin-right: 1em; }
    .addon-disabled {background: #eee; }

    @media (max-width: 600px) {
        #range_submit_parent {
            display: none;
        }

        #range_submit_block {
            display: block;
        }
        
        .datepicker span:first-child {
            border-bottom-left-radius: 0;
        }
        #c2 {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 0;
        }
    }


    #notification .jumbotron { position: fixed; width: 33%; left: 33%; top: -5px; z-index: 2000; text-align: center; }
    #notification .jumbotron p { font-size: 14px !important; }
    @media (max-width: 767px) {
      #notification .jumbotron {
        width: 70%;
        left: 15%;
      }
    }

  .checkbox-prefs input {margin-top: 0.1em;margin-bottom: 0.1em;}
  .thin-label {font-weight: 500;}
  .popover {white-space: pre-wrap;}
  .settings-box-padding {padding: 1em;}

    #update_progressbar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0.8;
        height: 100%;
        z-index: 99998;
        background: #3E495F;
    }
    #update_progressbar > .progress {
        position: absolute;
        margin-left: 5%;
        top: 50vh;
        width: 90%;
    }
    #update_progressbar .progress-bar { width: 100%; }
    #update_progressbar #progress_label {
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        font-weight: 700;
        color: white;
    }


    #rightside_panel { position: fixed; top: 0; bottom: 0; right: 0; width: 0; background-color: #343434; z-index: 10000; padding: 0; overflow-y: scroll; }
    #rightside_panel_inner { padding: 20px; color: white; }
    #rightside_panel .close_btn { position: absolute; right: 10px; font-size: 24px; cursor: pointer; display: none; color: white; }
    #rightside_panel .ibox {color: #676A6C}

    .sort-icon {
        cursor: pointer;
    }

    .table_view > thead > tr > th {
        border-bottom: 0;
    }

    .table_view tbody td:first-child {
        width: 24px;
        border-right: 1px solid #ddd;
    }

    .table_view tbody tr { cursor: pointer; }
    .table_view tbody tr:hover { background-color: lightgrey;}
    @media (max-width: 600px) {
      .btn-edit span {
          display: none;
      }
    }

  .table-filter-selector-multi {
    max-height: 15em;
    padding: 0 1em;
    overflow: scroll;
  }

  .table-filter-selector-multi-holder {
    border: 1px solid lightgray;
  }

  .images-container {padding: 0.1em;background-color : #ffffff;}
  .images-container-header div {text-align: center;}
  .images-container-img, .images-container-img-empty {
    margin-bottom: 10px;
    border : 1px solid #c8c8c8;
    border-radius : 5px;
    box-shadow : 0 0 2px #c8c8c8;
    background-color : #ffffff;
    text-align: center;
    cursor: pointer;
  }
  .images-container-img-empty {padding: 3em;}
  .images-container-img i {width: 100%;left: 0;}
  .images-container-img img {width: 100%;height: 100%;}


    .error-block {
        margin: 0 auto;
        padding: 3em;
        text-align: center;
        max-width: 60em;
    }

    .error-block .btn {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .error-block .icon {
        font-size: 15ex;
    }

    .navbar-brand {
        background: url('/static/design/logo.png') no-repeat scroll 0px 20px;
        background-size: contain;
        width: 8em;
        height: 80px;
        line-height: 36px;
        padding: 12px 0;
        margin-right: 40px;
    }

    .container-fluid > .navbar-header,
    .container > .navbar-header {
        margin-left: 20px;
    }

    .navbar-default {
        margin: 0;
        padding: 0;
        font-weight: 300;
        text-transform: uppercase;
        height: 80px;
        right: 15px;
        left: 15px;
        background: #F4F4FC;
        box-shadow: 0 1px 12px #0000001f,0 4px 8px #00000005,0 1px 4px #00000003;
    }
    .panel-info > .panel-heading {
      background-color: #F4F4FC;
    }
    .navbar .navbar-nav {
        margin: 0;
    }

    .navbar .nav > li > a {
        color: #282d30;
    }

    .navbar .nav > li > a:hover{
        color: #008aff;
    }

    .navbar .phone {
        font-weight: 700;
    }

    .navbar-nav li a {
        line-height: 80px;
        padding: 0 20px;
        display: table-cell;
    }

    nav {
        margin: 0;
        border-bottom: 1px solid #dddddd;
    }

    .entrance > li > a {
        font-weight: 600;
    }

    .navbar-collapse {
        padding: 0;
    }

    .navbar .container {
        width: 980px;
    }

    .navbar-menu-toggle {
        display: none;
        float: left;
    }

    @media (max-width: 767px) {
        .navbar-brand {
            width: 6em;
            height: 60px;
            line-height: 30px;
            padding: 10px 0;
            margin-right: 30px;
        }
        .navbar-default {
            height: 65px;
            right: 0px;
            left: 0px;
        }

        .navbar-collapse.in {
            display: inline-table;
        }

        .navbar-collapse {
            position: fixed;
            right: 1em;
            background-color: white;
            border-left: 1px #e7e7e7 solid;
            border-bottom: 1px #e7e7e7 solid;
            border-bottom-left-radius: 4px;
            -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
            -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
            box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
        }
        .navbar-menu-toggle {
            display: inline-table;
            float: left;
        }
        .navbar-toggle {
            padding: 6px 10px;
            margin-top: 15px;
        }
        .container-fluid > .navbar-header, .container > .navbar-header {
            margin-left: 10px;
        }
    }

    @media (max-width: 350px) {
        .navbar-brand {
            width: 7em;
            height: 55px;
            padding: 5px 0;
            margin-right: 10px;
        }
        .navbar-default {
            height: 60px;
        }
    }

  #logo-div {
    top: 20px;
    left: 20px;
    position: absolute;
  }
  #logo-div .sign-login-logo {
    width: 146px;
    height: 40px;
    transition: all 0.3s ease-out;
  }
  #logo-div .sign-login-logo img {
    max-width: 146px;
    width: 100%;
    height: auto;
  }
  #sign-page-sales-top #reference-self-sign {
    padding: 0.75em;
    color: #ffffff;
    background-color: #43A047;
    border-radius: 4px;
  }

  #sign-page-sales-top #reference-self-sign:hover {
    background-color: #2E7D32;
  }

  #sign-page-sales-top #reference-self-sign:active {
    outline: 5px auto;
    outline-offset: 2px;
  }

  .sections-info-one {
    margin-top: 2em;
  }
  .sections-info-holder .sections-info-one:not(:last-child) {
    border-bottom: 1px solid #eee;
  }
  .section-info-content {
    margin-left: 1em;
  }

  .mkdown-section-block h3 { color: black; }
  .mkdown-section-block .CodeMirror {
      overflow: visible;
      padding: 15px 20px 20px 20px;
      border-color: #e7eaec;
      border-style: solid solid none;
      border-width: 0px 1px;
      margin-left: 5%;
      margin-right: 5%;
  }

  #markdown_doc legend {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }

  .mkdown-section-block .CodeMirror-code,
  .mkdown-section-block .CodeMirror-scroll,
  .mkdown-section-block .CodeMirror-vscrollbar {
      display: none !important;
  }
  .mkdown-section-block .editor-preview {
      background: white;
      height: initial;
      word-wrap: break-word;
      padding-bottom: 4em;
  }

  #markdown_doc table {
    border-collapse: collapse;
    border: 1px solid #b6b6b6
  }

  #markdown_doc table td{
    padding: 5px;
    border: 1px solid #b6b6b6
  }

  #markdown_doc table th{
    padding: 5px;
    border: 1px solid #b6b6b6
  }

  #md-text {
    padding-top: 1%;
    padding-bottom: 7%;
    padding-left: 7%;
    padding-right: 7%;
  }

  @media (max-width: 767px) {
    #markdown_doc {
      padding-top: 70px;
    }

    #markdown_doc img{
      max-width: 100%;
    }
  }


  .sign-login-container {
    display: flex;
    flex-direction: column;
    max-width: 1470px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }
  .sign-login-logo {
    width: 146px;
    height: 40px;
    transition: all 0.3s ease-out;
  }

  .login__grid-container {
    display: grid;
    grid-template-columns: minmax(0,850px) minmax(0,450px);
    grid-gap: 45px;
    position: relative;
    align-items: center;
  }

  .login__grid-container::after {
    content: "";
    position: absolute;
    top: 50%;
    z-index: -1;
    background: url(/static/img/login-background-line.png) no-repeat;
    width: 100%;
    height: 51%;
  }

  .login__grid-container .intro .sign-login-logo img {
    max-width: 280px;
    width: 100%;
    height: auto;
  }

  .login__grid-container .intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .login__grid-container .form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 450px;
    padding: 1em;
    background: #ffffff;
    box-shadow: 0 0 15px #0003;
    border-radius: 15px;
    min-height: 250px;
    position: relative;
    top: -250px;
  }
  .login__grid-container .intro .description {
    font-size: 25px;
    line-height: 35px;
    text-align: center;
    color: #222;
    margin: 0 0 100px;
      margin-bottom: 100px;
  }

  .sign-login-btn {
    max-width: 350px;
    min-width: 64px;
    width: 100%;
    height: 48px;
    color: #fff;
    font-size: 14px;
    line-height: 17px;
    font-weight: 600;
    transition: all .3s ease;
    text-transform: uppercase;
    letter-spacing: 1.25px;

    box-sizing: border-box;
    position: relative;
    user-select: none;
    cursor: pointer;
    outline: none;
    border: none;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    padding: 0 16px;
    border-radius: 15px;
    overflow: visible;
  }

  #self_login {
    background-color: #1976D2;
  }
  #self_login:hover {
    color: white;
    text-decoration: none;
    background-color: #0D47A1;
  }
  #self_sign {
    background-color: #43A047;
  }
  #self_sign:hover {
    color: white;
    text-decoration: none;
    background-color: #2E7D32;
  }

  .or {
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #979797;
    margin: 25px 0;
  }

  #sign-page-sales-top {
    position: absolute;
    top: 2%;
    right: 5%;
  }
  #sign-page-sales-top a {
    padding: 1em;
    height: 35px;
    font-size: 2.5ex;
    font-weight: 400;
    line-height: 35px;
    color: #bf2236;
    text-decoration: none;
    transition: all 0.2s linear;
  }

  #sign-page-sales-top #reference-public-dev {
    padding: 15px;
    color: #ffffff;
    background-color: #bf2236;
    border-radius: 15px;
  }

  #sign-page-sales-top #reference-public-dev:hover {
    background-color: #871c2b;
  }

  #sign-page-sales-top #reference-public-dev:active {
    outline: 5px auto;
    outline-offset: 2px;
  }

  .site-promo-text {
    margin-bottom: 7em;
    margin-top: 2em;
  }

  .sign-page-info-title {
    text-align: left;
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 25px;
    font-weight: 600;
  }

  .sign-page-wrapper {
    width:100%;
    max-width: 1470px;
    margin:0 auto;
    padding:0 5%;
  }

  .license_wrapper {
    display:flex;
    align-items:center;
    justify-content:space-around;
  }
  .license_wrapper>div:first-of-type {
    width:35%;
    margin:0;
    margin-right:5%;
  }
  .license_wrapper ul {
    margin-left:0;
    list-style-type:none;
  }
  .license_wrapper ul li {
    font-size:20px;
    line-height:1.3;
    margin-bottom:15px;
    padding-left:15px;
    text-align:left;
    position:relative;
  }
  .license_wrapper ul li:before {
    content:"";
    position:absolute;
    top:12px;
    left:0;
    width:4px;
    height:4px;
    border-radius: 15px;
    background:#454fa1;
  }
  .license_wrapper .licenses {
    width:55%;
  }
  .license_wrapper .licenses * {
    outline:0 !important;
  }
  .license_wrapper .licenses .slick-list {
    overflow-y:visible;
  }
  .license_wrapper .licenses .licenses_item {
    padding:20px 0;
  }
  .license_wrapper .licenses img {
    max-height:250px;
    box-shadow:0 0 10px rgba(0, 0, 0, 0.4);
    transition:all 0.2s linear;
    margin:0 auto;
  }
  .license_wrapper .licenses img:hover {
    box-shadow:0 6px 30px rgba(0, 0, 0, 0.1);
  }
  .license_wrapper.license_wrapper_inlicense {
    justify-content:flex-start;
  }
  .license_wrapper.license_wrapper_inlicense .licenses {
    width:100%;
    margin:0 0 25px;
    display:flex;
    flex-wrap:wrap;
  }
  .license_wrapper.license_wrapper_inlicense .licenses .licenses_item {
    margin-right:25px;
    margin-bottom:25px;
  }

  @media (max-width: 767px) {
    #sign-page-sales-top a {
      text-align: center;
      height: 50px;
      line-height: 25px;
      display: block;
    }
    .login__grid-container {
      display: block;
  
    }
    .login__grid-item.picture {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      opacity: 0.5;
    }
    .login__grid-item.form {
      max-width: 100%;
      position: inherit;
      top: unset;
    }
    .site-promo-text {
      margin-bottom: 1em;
      padding-top: 70px;
    }

    #logo {
      left: 0;
      position: absolute;
    }
  }


  #form-info-block p {
    min-height: 0.5ex;
  }


#canvas {
    background-color: lightgray;
    background-repeat: no-repeat;
    background-size: contain;
}

div[data-template-name="template.rect"] {
    position: absolute;
    cursor: move;
    background-color: rgba(60, 166, 255, 0.5);
}

.rect-toolbar {
    display: block;
    position: relative;
}

.rect-toolbar button {
    padding: 0px 6px;
}

.rect-toolbar-title {
    position: absolute;
    display: block;
    width: 100%;
}

.phone-verify-dialog .modal-dialog {
    width: 400px;
}

.phone-verify-dialog .modal-content {
    box-shadow: none;
}


@media (max-width: 767px) {
    .phone-verify-dialog .modal-dialog {
        width: inherit;
    }
}



#sms-verify-dialog .modal-header{
    display: flex;
    justify-content: center;
}

#sms-verify-dialog .modal-content {
    box-shadow: none;
}

#sms-verify-dialog .modal-header {
    border-bottom: 0;
}

#sms-verify-dialog .modal-title {
    width: 98%;
    font-weight: 300;
}

#sms-verify-dialog .modal-body{
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#sms-verify-dialog .modal-header label {
    font-weight: 300;
    border-radius: 15px;
    background-color: #F6F7F9;
    padding: 5px 15px 5px 15px;
}

#sms-verify-dialog .modal-body label {
    font-weight: unset;
}

#sms-verify-dialog .custom-input{
    display: flex;
    justify-content: center;
}

#sms-verify-dialog .custom-input input {
    width: 15%;
    margin: 0.5%;
    aspect-ratio: 1;
    caret-color: transparent;
    border-radius: 15px;
    border: 2px solid #7e7e7e;
    font-size: 200%;
    line-height: 90%;
    font-weight: bold;
    color: #7e7e7e;
    text-align: center;
}

#sms-verify-dialog .custom-input input:focus {
    outline: none !important;
    border: 3px solid #7e7e7e;
}
#sms-verify-dialog .sms-buttons-pannel {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

#sms-verify-dialog .sms-button {
    font-size: 12px;
    margin: 15px;
}

#sms-verify-dialog .sms-button {
    font-size: 11px;
    margin: 10px;
}

#sms-verify-dialog .sms-button.active:hover {
    cursor: pointer;
    color: #23527c;
}

#sms-verify-dialog .sms-message {
    text-align: center;
}

#sms-verify-dialog .change-phone-form .modal-body{
    padding: 15px;
    align-items: center;
    flex-direction: column;
}

#sms-verify-dialog .change-phone-form {
    display: none;
    align-items: center;
    flex-direction: unset;
    text-align: center;
}

#sms-verify-dialog .sms-button-confirm{
    margin: 15px;
    padding: 10px;
    border-radius: 15px;
    background: #bf2236 !important;
    border: 0px;
    color: #ffffff;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
}

#sms-verify-dialog .sms-button-confirm:hover {
    cursor: pointer;
}

