body.color{
    background-color:#f7f7fc;
}
body.bg_image{
    background: url('/images/background_image.jpg');
    background-size: cover;
}

label{
    cursor: pointer;
}

.is_hidden{
    display: none!important;
}

.clearfix{
    display: block;
    width: 100%;
    clear:both;
}

.btn{
    cursor: pointer;
}
.btn i{
    pointer-events: none;
}

a.link{
    text-decoration: none;
    cursor: pointer;
}
a.link i{
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
a.link span{
    display: inline-block;
    vertical-align: middle;
    border-bottom: 1px dashed;
}
a.link:hover{
    color: #766df4;
}
a.link.color{
    color: #766df4;
}
a.link.color:hover{
    color: #666;
}

.has_success{
    color: #48cca4;
}
.has_error{
    color: #ff7f50;
}

.color_text{
    color: #ff7f50;
}

table.td-center th,
table.td-center td{
    vertical-align: middle;
}

.input_help_btn{
    cursor:pointer;
}
.input_help_btn i{
    margin-right: 5px;
}
@media(max-width: 460px){

    .input_help_btn i{
        margin-right: 0;
    }
    .input_help_btn span{
        display: none;
    }

}

/* UI Dialog */
.ui-widget.ui-widget-content {
    border: 0;
}
.ui-dialog .ui-dialog-titlebar {
    background: #FFF;
    border: 0;
    border-bottom: 1px solid #e9e9f2;
    border-radius: 0;
    padding: 10px 15px;
}
.ui-dialog .ui-dialog-title {
    color: #4a4b65;
}
.ui-dialog .ui-dialog-titlebar-close {
    background: #FFF;
    border: 0;
}
.ui-dialog .ui-dialog-titlebar-close::after{
    content: '×';
    display: inline-block;
    width: 24px;
    height: 24px;
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    text-indent: initial;
    font-size: 24px;
    line-height: 1;
    color: #5a5b75;
    opacity: 0.5;
}
.ui-dialog .ui-dialog-titlebar-close:hover,
.ui-dialog .ui-dialog-titlebar-close:active{
    background: #FFF;
    border: 0;
}
.ui-dialog .ui-dialog-titlebar-close:hover:after,
.ui-dialog .ui-dialog-titlebar-close:active:after{
    opacity: 1;
}
.ui-dialog .ui-dialog-titlebar-close > span{
    display: none;
}
.ui-dialog .ui-dialog-content {
    padding: 20px 15px;
}
.ui-dialog .ui-dialog-buttonpane {
    border: 0;
    border-top: 1px solid #e9e9f2;
}

/* Меню личного кабинета */
.mobile_menu_space{
    display: none;
    padding-bottom: .25rem;
}
@media(max-width: 991px){

    .mobile_menu_space{
        display: block;
    }

}

/* Область загрузки изображений DND */
.dnd_area{
    position: relative;
    padding: 2.5rem 1rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 2px dashed #dfdfeb;
    border-radius: 1rem;
    background-color: #fff;
    text-align: center;
    cursor: pointer;
}
.dnd_area:hover {
    border-color: #c9c9dd;
}
.dnd_area .text{
    
}
.dnd_area .text i{
    display: block;
    margin-bottom: 1rem;
    color: #9e9fb4;
    font-size: 1.625rem;
}
.dnd_area .text span{
    display: block;
    font-size: .875rem;
    margin-bottom: 1.25rem;
}
.dnd_area .manual_button{
    position: relative;
}
.dnd_area, .dnd_area *{
    cursor: pointer;
}
.dnd_area input[type="file"]{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
}
.dnd_area button{
    
}

/* Таблица с загруженными изображениями */
.images_table{
    /*table-layout: fixed;*/
}
.images_table tr.has_error{
    background-color: #fff4f4;
}
.images_table th,
.images_table td{
    vertical-align: middle;
    white-space: nowrap;
}
.images_table .image_td{
    width: 100px;
}
.images_table .image_td img{
    display: block;
    max-width: 64px;
    margin: 0px auto;
}
.images_table .image_td div{
    text-align: center;
    margin: 15px 0 0 0;
}
.images_table .name_td{
    position: relative;
    max-width: 270px!important;
    min-width: 100px!important;
    overflow: hidden;
    word-break: break-all;
    text-overflow: ellipsis;
    white-space: inherit;
}
.images_table .name_td div{
    display: none;
    margin: 15px 0 0 0;
    color: #F00;
}
.images_table .prop_td{
    text-align: center;
    width: 140px;
}
.images_table .price_td{
    text-align: center;
    width: 110px;
}
.images_table .button_td{
    width: 80px;
    text-align: center;
}
/*.images_table .error_td{
    color: #F00;
}*/

/* Кнопка показа расширенных настроек */
.advanced_settings_btn{

}
.advanced_settings_btn.active i:before{
    content: "\e917";
}

.custom-switch .custom-control-label::before,
.custom-switch .custom-control-label::after{
    cursor: pointer;
}

.prop-group{
    border: 1px solid #ffffff;
    padding: 20px 0;
    border-radius: 20px;
}
.prop-group.active{
    border-color: #dfdfeb;
    padding: 20px;
    margin-bottom: 20px;
}

.prop-group .prop-options{
    display: none;
    margin-top: 20px;
}
.prop-group.active .prop-options{
    display: flex;
}

/* Noty */
.floating-container {
    max-width: 550px;
}
.floating-container .close{
    font-size: 20px;
    margin-top: -5px;
    margin-right: -5px;
}
.floating-container .close:after{
    content: "\ea21";
    display: inline-block;
    font-family: 'feather' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #FFF;
}
.floating-container .media{
    display: flex;
    align-items: center;
    margin: 0px;
    padding: 0px;
}
.floating-container .alert{
    margin: 10px 0px 10px 0px;
}
.floating-container .alert-wrap .alert-title{
    color: #FFF;
    text-align: left;
    margin: 0px;
    font-size: 15px;
}
.floating-container .alert-wrap .alert-icon{
    margin: 0 10px 0 0;
    font-size: 20px;
}
.floating-container .alert-wrap .alert-message{
    text-align: left;
    margin: 0px;
    color: #FFF;
}
.floating-container .alert-info{
    background-color: #37aee3;
    border-color: transparent;
    /*border-left: 3px solid #116f99;*/
    color: #fff;
}
.floating-container .alert-success{
    background-color: #9cc56c;
    border-color: transparent;
    /*border-left: 3px solid #648e33;*/
    color: #fff;
}
.floating-container .alert-danger{
    background-color: #f0685e;
    border-color: transparent;
    /*border-left: 3px solid #cf1c0f;*/
    color: #fff;
}
@media (max-width: 360px){

    .floating-container {
        max-width: 350px;
    }

}

/* CSS прелоадер */
.loader {
    width: 48px;
    height: 48px;
    border: 3px solid #766df4;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
.loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid;
    border-color: #48cca4 transparent;
}
@keyframes rotation {

    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }

} 

/* Таблица кредитов */
.credits_table{

}
.credits_table td{
    vertical-align: middle;
}
.credits_table .td_date{
    width: 240px;
    min-width: 150px;
}
.credits_table .td_value{
    width: 110px;
    min-width: 110px;
}
.credits_table .td_value.inc{
    background: #ebfbeb;
}
.credits_table .td_value.dec{
    background: #fbebeb;
}
.credits_table .td_value.pending{
    background: #fff9e6;
}
.credits_table .td_reason{

}

.exif_list_table{

}
.exif_list_table th,
.exif_list_table td{
    vertical-align: middle;
}
.exif_list_table .td_id{
    width: 60px;
}
.exif_list_table .td_image{
    width: 100px;
    min-width: 100px;
}
.exif_list_table .td_name{
    word-break: break-all;
    min-width: 400px;
}
.exif_list_table .td_btn{
    width: 110px;
    text-align: center;
}
@media(max-width: 380px){

    .exif_list_table .td_name{

    } 

}

.template_info_block{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.template_info_block > div:nth-child(1){
    width:100px;
}
.template_info_block > div:nth-child(1) img{
    display: block;
    max-width: 100%;
    margin: 0px auto;
}
.template_info_block > div:nth-child(2){
    width:calc(100% - 100px - 15px);
    font-size:15px;
    margin-left:15px;
    word-break: break-all;
}
.template_info_block > div:nth-child(2) > div.edit_btn{
    margin-top: 5px;
    color:#9e9fb4;
}
@media(max-width:680px){

    .template_info_block > div:nth-child(1),
    .template_info_block > div:nth-child(2){
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }

}

/* История загрузок */
@media(min-width: 576px){

    .history_image_name{
        overflow-wrap: break-word;
        max-width: 160px;
    }

}

/* Страница задачи */
.task_progress{
    text-align: center;
    margin: 20px 0 0 0;
}

/* Тема */
.cs-signin-form::before,
.cs-signin-form::after{
    content: none;
    background-image: none;
}
.cs-signin-form .cs-signin-form-inner {
    padding: 40px 20px;
    border-radius: 1rem;
    box-shadow: 0 0 0.625rem -0.1875rem rgba(0, 0, 0, 0.13);
}
.nav-link-style.active {
    cursor: pointer;
    pointer-events: initial;
}
/*pre{
    padding: 0;
}*/

/* Bootstap */
.alert{
    width: 100%;
}
.alert ul:last-child,
.alert ul li:last-child,
.alert p:last-child{
    margin-bottom: 0;
}
.alert .title{
    margin-bottom: 5px;
}

.css_rotation {
    animation: 2s linear 0s normal none infinite running css_rotation;
    -webkit-animation: 2s linear 0s normal none infinite running css_rotation;
}
@keyframes css_rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Таблица API */
.api_table td,
.api_table th{
    vertical-align: middle;
}
.api_table ul{
    margin: 10px 0;
    padding: 0 0 0 20px;
}
.api_table ul li{
    list-style: none;
}
.api_table ul li.api_default_value{
    color: #766df4;
    font-weight: bold;
}
.api_table ul li.api_default_value span{
    border-bottom: 1px dashed;
    cursor: pointer;
}
.api_table ul li.api_default_value span:after{
    content: "\e987";
    font-family: 'feather' !important;
    margin-left: 5px;
    font-size: 13px;
}
.api_table .api_hint{
    margin: 0;
}