* {
  box-sizing: border-box;
}
#A_{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 30px;
}
#A_analog{
    float: right;
}

.accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    text-decoration:none;
    text-transform:uppercase;

    padding: 14px 20px;
    background: #F9F9F9;
    border-radius: 14px;
    cursor: pointer;
    transition: .3s;
}
.accordion a {
    margin: 0;

    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #1D1D1D;
}
.accordion-open {
    border-radius: 14px 14px 0 0;
}
.accordion-open span {
    display:block;
    background:url("../img/minus.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.accordion-close span {
    display:block;
    background:url("../img/plus.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.analog_panel{
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center !important;
    gap: 5px;
}
.analog_panel_main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}
.count_conf {
    position: absolute;
    left: -30px;
}

.analog_panel1{
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center !important;
    gap: 5px;
}
.nc_panel_flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.nc_panel_main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ajax{
    text-decoration: none;
}

.ajax_analog{
    text-decoration: none;
}

.ajax_client{
    text-decoration: none;
}


/*display text from devline website config/price
*/


body {
    margin: 0;
    padding: 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

#cboxLoadedContent {
    overflow: visible !important;
}
/*  COLUMN SETUP  */
.section_group {
    display: flex;
    align-items: center;
    gap: 20px;
}
.col_span_0 {
    display: inline-block;
}

.col_span_1 {
    display: inline-block;
    margin-top: 0px;
}

.col_span_2 {
    display: inline-block;
    margin-top: 0px;
}
.col_span_3 {
    display: inline-block;
    margin-top: 0px;
}

.ajax2 {
    display: flex;
    align-items: center;
    flex-direction: column;
    max-width: 220px;
    gap: 5px;
}
.ajax2_main {
    display: flex;
    align-items: center;
    gap: 15px;
}
.compA{
    height: 130px;
    width: 170px;
}

.compB{
    height: 130px;
    width: 170px;
}
.compC{
    height: 130px;
    width: 170px;
}

.conf{
    color:#000000;
    font-size: 13px;
    margin-left: 15px;
}


.conf2{
    color: #000000;
    font-size: 13px;
    margin-left: 6px;
}
#cpu_text {
    margin: 0 auto;
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    color: #1D1D1D;
}
.conf2 {
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    color: #1D1D1D;  
}
.conf_clients {
    margin: 0 auto;
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    color: #1D1D1D;  
}


.Camera{
    width: 75px;
    height: 75px;
    margin-left: 50px;
    background: url("../img/kam_2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    transition: .3s;
}
.Camera:hover {
    background-image: url("../img/kam_1.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.cams{
    font-weight: 600;
    font-size: 36px;
    line-height: 20px;
    color: #1D1D1D;
}
  
.container {
    padding:0;
    margin:0;
    border-radius: 0 0 14px 14px;
}

.content {
    background: #F9F9F9;
    padding: 20px 20px 40px;
}

.client_out{
    float: right;
    max-height: 240px;
    height: 100%;
    overflow: hidden;
    width: 330px;
    padding: 14px 20px;
    background: #F9F9F9;
    border-radius: 14px;
}


.delete_conf{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    text-decoration: none;

    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 18L12 12M12 12L6 6M12 12L18 6M12 12L6 18' stroke='%23BFBFBF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e ");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    cursor: pointer;

}

.main_out {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 640px;
    width: 100%;
    max-height: 240px;
    height: 100%;

    padding: 14px 20px;
    background: #F9F9F9;
    border-radius: 14px;
}

.main_out_analog{
    display: none;
    border: solid 1px lightgray;
    -webkit-border-radius: 10px 0px 10px 0px;
    -moz-border-radius: 10px 0px 10px 0px;
    border-radius: 10px 0px 10px 0px;
    background-color: #FAFAFA;
    -webkit-box-shadow: #B3B3B3 3px 3px 3px;
    -moz-box-shadow: #B3B3B3 3px 3px 3px;
    box-shadow: #B3B3B3 3px 3px 3px;
    height: 147px;
    overflow: hidden;
    width: 419px;

}

.nc_panel {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 170px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-size: 10px;
    height: 100%;
    text-align: center !important;
    width: 100%;
}

.OR {
    color: green;
    /**margin-top: 30px;
    margin-left: 27px;
    **/
    margin-left: 23px;
    margin-top: 37px;
}
#OR {
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    color: #005D28;
}
.plus {
    color: green;
    margin-left: 23px;
    margin-top: 37px;
}

.panel {
    text-align: center !important;
}
.panel1 {
    text-align: center !important;
}
#set .panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.row_c{
    max-width: 100%;
    padding: 0;
    margin: auto;
    margin-top: 20px;
}

.row {
    width: 115px;
    text-align: center;
}
.row_res {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 140px;
    text-align: center;
}

.r_container {
    width: 295px;
    height: 229px;
    font-size: 14px;
    text-align: center;
    padding: 10px 20px;
    background: #FFFFFF;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
}

.r_container:active{
    color: #000;
    background: #b4e391; /* Old browsers */
    background: -moz-linear-gradient(top,  #b4e391 0%, #61c419 50%, #b4e391 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b4e391), color-stop(50%,#61c419), color-stop(100%,#b4e391)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #b4e391 0%,#61c419 50%,#b4e391 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #b4e391 0%,#61c419 50%,#b4e391 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #b4e391 0%,#61c419 50%,#b4e391 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #b4e391 0%,#61c419 50%,#b4e391 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4e391', endColorstr='#b4e391',GradientType=0 ); /* IE6-9 */


}

.r_container:hover {
    cursor: pointer;
}



#set{
    position: relative;
    padding-left: 30px;
    margin-top: 0;
}

#save2 {
    width: 200px;
    margin-top: 15px;
    margin-right: auto;
    display: block;
}

.second{
    position: absolute;
    top: 15px;
    left: 15px;
    width: 32px;
    height: 32px;
}
.analog_type{
    height: 15px;
    margin-left: -52px;
    margin-top: -20px;
    position: absolute;
    width: 20px;
}

.slider {
    width: 100%;
    height: 41px;
    background:url('../img/beg_1.png') no-repeat;
    background-position: center;
    background-size: 100%;
    position:relative;
    margin-top:8px;
}

.slider2 {
    width: 100%;
    height: 41px;
    background:url('../img/beg_2.png') no-repeat;
    background-position: center;
    background-size: 100%;
    position:relative;
    margin-top:8px;
}

/*����� ������ ��������*/
.ui-slider-handle {
    width:16px;
    height:16px;
    position:absolute;
    top:8px;
    margin-left:-5px;
    z-index:200;
    background-image:url('../img/treugolniik_6.png');
    background-repeat: no-repeat;
    border: none;
    outline: none;
    cursor: pointer;
}
.range_values {
    margin-top: 0;
}
.range_value {
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #676767;
}
.range_value_week {
    margin-left: 50px;
}
.range_value_mounth {
    margin-left: 50px;
}
.range_value_cvartal {
    margin-left: 60px;
}
.range_value_year {
    margin-left: 50px;
}
.range_value_twenty {
    margin-left: 160px;
}
.range_value_end {
    margin-left: 160px;
}
.ui-slider-handle:active {

}

/*������� ����������� ��������*/
.ui-widget-header {
    background:url("../img/fill.png") no-repeat left;
    height:12px;
    left:1px;
    top:6px;
    position:absolute;
    border-radius: 30px;
}

.wrapper {
    margin: auto;
    max-width: 1140px;
    width: 100%;
    margin: 20px auto;
}

/*display text from price*/
.borderBlock{
    font: 11px/1.5 'Tahoma', Arial, sans-serif;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}
.borderBlock a{
    color: green;
}




body {
    font-family: "Manrope", sans-serif;

}


.main_title {
    display: block;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: #005D28;
}

.camera_text {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    margin-left: 50px;
}
.camera_values {
    display: flex;
    flex-direction: column;
    align-items: start;

    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1D1D1D;
}
.camera_values p {
    margin: 2px 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1D1D1D;
}


.btn {
    height: 50px;
    line-height: 44px;
    font-weight: 500 !important;
    font-size: 14px;
    border-radius: 40px;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    padding: 0 30px;
    border: 2px solid transparent;
    transition: .3s;
    cursor: pointer;
    text-decoration: none;
}
.btn_result {
    background: #005D28;
    color: #F9F9F9 !important;
    margin-left: auto;
}
.btn_result:hover {
    background: #D3E4C7;
    color: #005D28 !important;
}
.row_c_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.btn_rec {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border: 2px solid #005D28;
    color: #005D28 !important;
}
.btn_rec:hover {
    color: #FFFFFF !important;
    background: #005D28;
}

.select_date {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.check_item {
    display: flex;
    align-items: center;
}
.check_item:first-child {
    margin-right: 30px;
}
.check_item input {
    margin: 0 10px 0 0;
    width: 16px;
    height: 16px;
}
/* Скрываем стандартный чекбокс */
.css-checkbox,
#second_stream2 {
    display: none;
}
.labels[for="second_stream2"] {
    display: flex;
    align-items: center;
    gap: 10px;
}
.css-label {
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: #676767;
}
/* Стилизация label как кастомного чекбокса */
.css-label,
.labels[for="second_stream2"] {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
}
.labels[for="second_stream2"] {
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: #676767 !important;
}

/* Кастомный чекбокс (неактивный) */
.css-label::before,
.labels[for="second_stream2"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    background-image: url('../img/checkbox_noactive.svg');
    background-size: 100%;
}
.labels[for="second_stream2"]::before {
    position: relative;
    top: 0;
}

/* Кастомный чекбокс (активный) */
.css-checkbox:checked + .css-label::before,
#second_stream2:checked + .labels[for="second_stream2"]::before {
    background-image: url('../img/checkbox_active.svg');
}
.NH {
    position: relative;
}
.NH > label,
#NC_traff > label {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1D1D1D;
}
.NH > span,
#net_NC {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: rgba(0, 93, 40, 1);
}


.main_out_label {
    margin: 0 auto;
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    color: #005D28;
}
.disp1_x_ip1,
.disp1_x_ip,
.disp1_x_client {
    display: block;
    min-width: 21px;
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    color: #005D28;
}
.disp1_x_ip1 {
    position: absolute;
    left: 0px;
}
.ajax_client .count_conf {
    position: absolute;
    left: -30px;
}
#sliders td label {
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    color: #005D28;
}
#sliders td input {
    margin: 0 30px;
    padding: 10px;
    width: 60px;
    height: 40px;
    background: #FFFFFF;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #1D1D1D;
    border: none;
    outline: none;
}

.result {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    min-width: 140px;
}
.result_img {
    width: 24px;
    height: 24px;
}
.result_text {
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #005D28;
}


.modal_title {
    margin: 0 0 30px;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #005D28;
}
#camera_type {
    padding: 14px 20px;
    width: 275px;
    height: 46px;
    background: #F9F9F9;
    border-radius: 14px;
    border: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #005D28;
    outline: none;
    cursor: pointer;
}
.modal_settings {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.row {
    display: flex;
    align-items: start;
    flex-direction: column;
}
.row .labels,
.row_res .labels {
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    color: #676767 !important;
}
.row input,
.row select,
.row_res select {
    width: 100%;
    padding: 14px 20px;
    background: #F9F9F9;
    border-radius: 14px;

    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    text-align: left;
    color: #1D1D1D;
    border: none;
    outline: none;
}
.row select,
.row_res select {
    color: #005D28;
}

.main_wrapper {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 15px;
}
#print2, #save_res2 {
    margin-bottom: 20px;
}

.save_wrapper .btn {
    width: 240px;
    background: #005D28;
    color: #F9F9F9 !important;
    margin: 25px auto 0 0;
    display: block;
}
.save_wrapper .btn:hover {
    background: #D3E4C7;
    color: #005D28 !important;
}
#sliders table {
    max-width: 966px;
    width: 100%;
}
#sliders table tbody tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
#sliders table tbody tr td {
    max-width: 420px;
    width: 100%;
}

.display_conf_item {
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(191, 191, 191, 1);
}
.display_conf_item:not(:last-child) {
    margin-bottom: 20px;
}
.display_conf_item b {
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    color: #005D28;
}
.display_conf_item span {
    max-width: 300px;
    width: 100%;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #676767;
}


@media(max-width: 1170px) {
    .wrapper {
        padding: 0 20px;
    }
    .select_date {
        flex-wrap: wrap;
    }
    .check_item {
        width: 50%;
    }
    .check_item:first-child {
        margin: 0;
        padding-right: 20px;
        justify-content: end;
    }
    .btn_result {
        margin: 20px auto 0;
    }
    .main_title {
        font-size: 20px;
        line-height: 24px;
    }
    .accordion a {
        font-size: 16px;
        line-height: 24px;
    }
    #sliders table tbody tr {
        flex-direction: column;
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }
    .content {
        padding: 10px 20px 30px;
    }
    .main_wrapper {
        flex-direction: column;
        align-items: start;
    }
    #A_ {
        gap: 20px;
    }
}
@media(max-width: 767px) {
    .main_title {
        margin-bottom: 20px;
        font-size: 18px;
        line-height: 20px;
    }
    .r_container {
        width: 100%;
    }
    .check_item {
        width: 100%;
        padding: 0;
        justify-content: start !important;
    }
    .check_item:first-child {
        margin-bottom: 20px;
    }
    .content {
        padding: 10px 20px;
        border-radius: 0 0 14px 14px;
    }
    .range_value {
        font-size: 10px;
        line-height: 12px;
    }
    .range_value_week {
        margin-left: 12.5%;
    }
    .range_value_mounth {
        margin-left: 12.5%;
    }
    .range_value_cvartal {
        margin-left: 12.5%;
    }
    .range_value_year {
        margin-left: 11.5%;
    }
    .range_value_twenty {
        margin-left: 38%;
    }
    .range_value_end {
        margin-left: 38%;
    }
    #sliders {
        max-width: 450px;
        width: 100%;
    }
    #sliders td label {
        font-size: 10px;
        line-height: 16px; 
    }
    #sliders td input {
        width: 34px;
        height: 23px;
        margin: 0 20px;
        padding: 6px;
        font-size: 10px;
        line-height: 12px;
    }
    #sliders table tbody tr {
        align-items: start;
        gap: 20px;
    }
    #sliders table tbody tr td {
        width: 100%;
    }
    #sliders table tbody tr td:last-child .range_values {
        margin-top: 7px;
    }
    .row_c_item {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }
    .btn_rec {
        max-width: 450px;
        width: 100%;
    }
    .btn_result {
        max-width: 450px;
        width: 100%;
    }
    .main_out {
        flex-direction: column;
        max-height: 100%;
        gap: 20px;
    }
    .client_out {
        width: 100%;
    }
    .result {
        min-width: 50%;
    }
    #A_,
    #set {
        margin-left: -30px;
    }
    .ui-widget-header {
        height: 7px;
        left: 0;
        top: 12px;
    }
    .ui-slider-handle {
        display: none;
    }
    .modal_title {
        margin: 0px 0 20px;
        font-size: 16px;
        line-height: 24px;
    }
    .modal_settings {
        flex-direction: column;
        align-items: start;
    }
    #camera_type {
        width: 100%;
    }
    .labels[for="second_stream2"] {
        padding: 0;
    }
    .section_group {
        flex-wrap: wrap;
        gap: 10px;
        max-width: 450px;
    }
    .section_group > div {
        max-width: calc(50% - 5px);
        width: 100%;
    }
    .row_res {
        width: 100%;
    }
    .save_wrapper .btn {
        max-width: 450px;
        width: 100%;
        margin: 20px auto 0;
    }
    .display_conf_item {
        flex-direction: column;
        gap: 10px;
    }
    .display_conf_item:not(:last-child) {
        margin-bottom: 15px;
    }
    .display_conf_item b {
        font-weight: 700;
        font-size: 14px;
        line-height: 18px;
        color: #005D28;
    }
    .display_conf_item span {
        max-width: 300px;
        width: 100%;
        font-weight: 500;
        font-size: 14px;
        line-height: 18px;
        color: #676767;
    }
}
@media(max-width: 395px) {
    .wrapper {
        padding: 0 5px;
    }
}