.btn_component {
    background: #f17000;
    color: #fff;
    border: 1px solid #f17000;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    display: block;
}
.btn_component:hover {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1)) brightness(0.9) !important;
}

/*----------------------------------------------form-group---------------------------------------------------------------------*/
.form-group {
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 10px;
    text-align: left!important;
}
.form-group .open_library {
    margin-left: -35px;
}
.form-group .input_dop_info_field {
    position: absolute;
    right: 6px;
    background: #5C696C;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

/*----------------------------------------------input---------------------------------------------------------------------*/
.form-group input {
    font-family: "Roboto", sans-serif;
    width: 100%;
    padding: 10px 12px;
    padding-top: 21px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    background: white;
}
.form-group input.err {
    border: 1px solid #f49a9a;
}

.form-group input:disabled {
    background-color: #eee;
    color: #000;
}

/* При фокусе подсвечиваем */
.form-group input:focus {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.form-group label {
    position: absolute;
    top: 26px;
    left: 12px;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.25s ease; /* плавность */
    padding: 0 4px;
}
.form-group label.label_for_select {
    top: 13px;
    left: 9px;
    font-size: 12px;
    color: #758892;
}
/* Когда поле в фокусе или есть текст */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: 13px;
    left: 9px;
    font-size: 12px;
    color: #758892;
}

/*----------------------------------------------textarea---------------------------------------------------------------------*/
.form-group textarea {
    font-family: "Roboto", sans-serif;
    width: 100%;
    resize: none;
    padding: 10px 12px;
    padding-top: 20px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    background: white;
    height: 70px;
}
.form-group textarea.err {
    border: 1px solid red;
}
/* При фокусе подсвечиваем */
.form-group textarea:focus {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.form-group label {
    position: absolute;
    top: 26px;
    left: 12px;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.25s ease; /* плавность */
    padding: 0 4px;
}
.form-group label.label_for_select {
    top: 13px;
    left: 9px;
    font-size: 12px;
    color: #758892;
}
/* Когда поле в фокусе или есть текст */
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 13px;
    left: 9px;
    font-size: 12px;
    color: #758892;
}

/*---------------------------- select2 ----------------------------*/
.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.select2-container--default .select2-selection--multiple:focus,
.select2-container--default.select2-container--open .select2-selection--multiple {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    outline: 0;
    padding:10px;
}
.select2-container--default .select2-selection--single {
    border-radius: 6px!important;
    border: 1px solid #ccc!important;
}
.select2-container--default .select2-selection--multiple {
    border-radius: 6px!important;
    border: 1px solid #ccc!important;
    padding-left: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: block!important;
    margin: 0px!important;
    padding-top: 10px !important;
}
.select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #999;
}
.select2-container--default .select2-results__group {
    color:#000;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #5C696C!important;
    display: block!important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    top: -2px!important;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-top: 10px!important;
}
.select2-container .select2-search--inline .select2-search__field {
    margin-left: 6px!important;
    line-height: 20px!important;
    height: 20px!important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: #000!important;
    color: #fff!important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color:#000!important;
}
.select2-container .select2-selection--single {
    height: 50px!important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 60px!important;
    padding-left: 12px!important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top:2px!important;
}
.select2, .select2_with_clear, select2_fancybox {
    width: 100%!important;
}
.select2 .select2_option_green {
    color: green;
}
.select2 .select2_option_red {
    color: red;
}

/*---------------------------- daterangepicker ----------------------------*/

.daterangepicker {
    z-index: 999999 !important;
}

.drp-buttons {
    text-align: center!important;
}

.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect {
    padding: 5px 10px!important;
}

/*---------------------------- fontawesome ----------------------------*/

.my-fa {
    font-size: 16px!important;
    background: #fff;
    border-radius: 5px!important;
}
.my-fa:hover {
    cursor: pointer;
    background: #f17000;
    border:1px solid #f17000;
    color: #fff;
}
.fa_button {
    border: 1px solid #fff;
    border-radius: 5px;
    padding:5px;
    color: #888;
    font-size: 13px;
}
.fa_button i {
    margin: 0px 5px;
}
.fa_button:hover {
    cursor: pointer;
    background: #f17000;
    border:1px solid #f17000!important;
    color: #fff;
}


/*-------------------------------- DataTables-------------------------------- */
table.dataTable {
    width: 100%!important;
}
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate, .paginate_button {
    font-weight: 300!important;
    font-size: 13px!important;
    color: #758892!important;
}
.dt-button.buttons-excel {
    top: -6px;
    margin-left: 30px!important;
}
.dataTable  {
    font-size: 13px!important;
    font-weight: 300!important;
}
.dataTable .dt-relative {
    position: relative;
}
.dataTables_wrapper .dt-buttons {
    display: flex!important;
    align-items: center!important;
}
.dataTables_wrapper .buttons-colvis {
    margin-top: -12px;
    margin-left: 15px!important;
}

/*-------------------------------- fancybox-------------------------------- */
.fancybox-content {
    border-radius: 12px;
}
.fancybox-content {
    min-width: 500px;
}


/*-------------------------------------radio-------------------------------------------*/

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 10px;
    height: 10px;
    background: #f17000;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

/*-------------------------------------checkbox-------------------------------------------*/

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="checkbox"]:checked + label,
[type="checkbox"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
}
[type="checkbox"]:checked + label:before,
[type="checkbox"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background: #fff;
}
[type="checkbox"]:checked + label:after,
[type="checkbox"]:not(:checked) + label:after {
    content: '';
    width: 10px;
    height: 10px;
    background: #f17000;
    position: absolute;
    top: 4px;
    left: 4px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="checkbox"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
