* {
    margin: 0;
    font-family: Arial !important;
    letter-spacing: 1px !important;
    font-size: 14px !important;
    /*border: none !important;*/
}

hr {
    height: 1px;
    border: 1px solid black;
    width: 100%;
    border-left: 0;
    border-right: 0;
}

a {
    text-decoration: none;
}

table {
    width: 100%;
    border-spacing: 0;
}

button {
    cursor: pointer;
}

.red {
    color: red;
}

.green {
    color: green;
}

.success {
    margin: 25px 0;
}

.hidden {
    display: none;
}

.header {
    background: #000;
    height: 25px;
    padding: 20px;
}

.header a {
    color: #fff;
}

.header > div {
    float: left;
    width: 15%;
    height: 100%;
}

.header .logo {
    width: 70%;
    text-align: center;
}

.header .to_main {
    background-image: url(/img/newhome.png);
    background-size: cover;
    display: inline-block;
    width: 25px;
    height: 25px;
}

.header .toggle_menu span {
    padding: 14px;
    position: relative;
    display: block;
    height: 18px;
    background: #000000a3;
}

.header .toggle_menu span:hover, .header .toggle_menu span:active {
    color: red;
}

.header .menu span > .child {
    display: none;
    position: absolute;
    bottom: -55px;
    width: 150px;
    padding: 10px;
}

.header .menu span:hover > .child {
    display: block;
}

.header .profile {
    color: #fff;
}

.header .profile .login_action {
    text-decoration: underline;
}

.header .mobile_nav_btn {
    float: none;
    width: 32px;
    height: 32px;
    background: transparent;
    padding: 0 4px 9px;
    border: none;
    border-radius: 6px;
    margin: 0 5px 0 0;
    box-sizing: border-box;
    outline: none;
}

.header .hamburger {
    display: inline-block;
    width: 20px;
    height: 2px;
    padding: 5px 0;
    border-top: 2px solid #FFF !important;
    border-bottom: 2px solid #FFF !important;
}

.header .mobile_nav_btn .hamburger:before {
    display: block;
    height: 4px;
    background-color: #2b2b2b;
    content: '';
}

.header .mobile_nav_btn .hamburger:before {
    display: block;
    height: 2px;
    background-color: #FFF;
    content: '';
    WIDTH: 20PX;
}

.toggle_menu {
    display: none;
    position: absolute;
    right: 40px;
}

.no-desktop {
    display: none;
}

.body {
    margin: 0 30px;
    position: relative;
}

.breadcrumb {
    margin: 20px 30px 0;
}

.main_area {
    text-align: center;
    margin: 0 auto;
}

.projects {
    margin: 15px 30px;
    text-align: left;
    padding: 10px 0;
}

.projects .item {
    display: inline-block;
    position: relative;
    width: 19%;
    height: 180px;
    padding: 0;
    margin-bottom: 5px;
    /*border:1px solid;*/
    /*border-radius: 3px;*/
    text-align: center;
    color: #000;
    vertical-align: top;
}

.projects .item .manageProj {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    display: none;
}

.projects .item .delProj button {
    font-size: 12px;
    width: 18px;
    height: 18px;
    color: red;
    padding: 0px;
    background: none;
    border: 1px solid #e6e6e6;
    border-radius: 5px;

}

.projects .item .delProj button span {
    position: relative;
    top: -1px;
}

.projects .item .manageProj .editProj {
    float: right;
    margin-top: 5px;
    background: none;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
}

.projects .item a {
    display: block;
}

.projects .item a.title_href {
    margin-top: 15px;
}

.projects .item .title {
    max-width: 80%;
}

.projects .item .pic {
    max-width: 100%;
    max-height: 120px;
}

/*========????????? ??????? ===========*/
.project_detail .title {
    text-align: center;
    display: block;
    margin-bottom: 5px;
}

.project_detail .title h1 {
    display: inline-block;
    margin-right: 15px;
}

.project_detail .detail_menu {
}

.project_detail .item_tpl {
    display: none;
}

.project_detail .detail_menu a {
    color: #ccc;
}

.project_detail .detail_menu .active {
    border: 1px solid;
}

.project_detail .detail_menu .active a {
    color: #000;
}

.project_detail .item_form {
    margin: 10px 0;
    padding: 0;
}

.project_detail .item_form .form_body {
    margin: 15px 0 5px;
}

.project_detail .item_form .form_body input {
    margin: 10px 0;
}

.project_detail .item_form button {
    width: 200px;
    height: 50px;
    background: none;
    border-radius: 7px;
    background: #ff0000;
    color: #fff;
}

.project_detail .item_form .add_newfiles {
    position: absolute;
    bottom: -1px;
    left: 135px;
    border: 1px solid rgb(169, 169, 169);
    background: #fff;
    padding-bottom: 10px;
    text-align: center;
}

.project_detail .item_form .add_newfiles .item {
    padding: 0 10px;
}

.project_detail .item_form .add_newfiles .button {
    background: red;
    color: #fff;
    border-radius: 7px;
    padding: 5px 8px;
    cursor: pointer;
    -webkit-box-shadow: -4px 4px 8px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: -4px 4px 8px 0px rgba(50, 50, 50, 0.75);
    box-shadow: -4px 4px 8px 0px rgba(50, 50, 50, 0.75);
}

.project_detail [name="add_project_lenta"] {
    width: 500px;
    height: 54px;
    float: left;
    border-right: none;
    outline: none;
    border-bottom: 1px solid !important;
    padding: 5px;
}

#cke_add_project_lenta {
    width: 510px;
    float: left;
    height: 60px;
    border: none;
}

.project_detail #file_to_upload {
    display: none;
    margin-top: 70px;
}

.project_detail #file_to_upload .files {
    display: inline-block;
}

.project_detail .add_lenta_post {
    background: none;
    border: 1px solid rgb(169, 169, 169);
    font-size: 30px !important;
    height: 66px;
    width: 70px;
    outline: none;
    padding: 8px;
    line-height: 10px;
    cursor: pointer;
    float: right;
}

.project_detail .add_lenta_form {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    margin-bottom: 0;
    padding-bottom: 0;
    max-width: 100%;
    width: 644px;
    background: #fff;
    box-shadow: 0px 0px 13px 2px #000000ab;
}

.project_detail .add_lenta_form #add_item {
    color: #000;
    float: left;
    outline: none;
    border: 1px solid rgb(169, 169, 169);
    font-size: 50px !important;
    height: 20px;
    padding: 22px 15px;
    line-height: 10px;
    cursor: pointer;
}

.project_detail .add_lenta_form #add_item:hover, .project_detail .add_lenta_form .add_lenta_post:hover {
    background: #fafafa;
}

.project_detail .add_lenta_form #get_files {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
}

.project_detail .add_lenta_form #add_file_form {
    display: none;
    position: absolute;
    bottom: 80px;
    left: 0;
}

.project_detail .add_lenta_form #add_file_form ul {
    list-style: none;
    padding: 0;
    background: #fff;
}

.project_detail .add_lenta_form #add_file_form ul li {
    cursor: pointer;
    padding: 5px 15px;
}

.project_detail .add_lenta_form #add_file_form ul li:hover, .project_detail .add_lenta_form #add_file_form ul li.vis {
    background: #ff00000a;
}

.project_detail .add_lenta_form #add_file_form .item_form {
    position: absolute;
    right: 100%;
}

.project_detail #project_pictures a img {
    max-width: 50%;
    margin: 15px auto;
}

.project_detail .item {
    margin: 5px 0;
}

.project_detail .delete {
    border: 1px solid !important;
    display: inline-block;
    padding: 0 8px 3px;
    line-height: 20px;
    border-radius: 15px;
    cursor: pointer;
    background: red;
    color: white;
}

.project_detail .message_container .delete {
    position: absolute;
    right: 3px;
    top: 3px;
}

.project_detail #file_to_upload .delete {
    padding: 0 6px 1px;
    margin: 10px;
    vertical-align: top;
}

/*========????????? ??????? END===========*/

#add_proj {
    display: inline-block;
    padding: 5px 10px;
    cursor: pointer;
}

.popup_window {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 10000;
    overflow-y: scroll;
}

.popup_window .container {
    width: 55%;
    background: #fff;
    position: relative;
    top: 50px;
    left: 0;
    right: 0;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
}

.popup_window .container .message pre{

    white-space: normal;
    word-break: break-all;

}

.popup_window .container h3 {
    margin-bottom: 20px;
    font-size: 19px !important;
}

.popup_window .container .form_item label {
    width: 40%;
    margin: 7px 5px;
    display: inline-block;
    vertical-align: top;
}

.popup_window .container .form_item input,
.popup_window .container .form_item textarea,
.popup_window .container .form_item select {
    width: 45%;
    margin-bottom: 10px;
    padding: 5px;
}

.popup_window .close_modal {
    font-size: 26px;
    position: absolute;
    top: 10px;
    right: 10px;
    text-decoration: none;
    color: red;
}

.popup_window .container button {
    margin: 0 auto;
    display: block;
    margin-top: 15px;
    padding: 10px 25px;
}

#proj_description {
    margin-top: 15px;
    width: 75%;
    font-size: 15px !important;
}

.view_types {
    text-align: center;
    margin-bottom: 20px;
}

.view_type, .show_proj_edit {
    text-decoration: underline;
}

.view_type.active, .show_proj_edit.active {
    color: #ccc;
    text-decoration: none;
    cursor: default;
}

.project_tab, .tab_preview {
    display: none;
}

.project_tab.active, .tab_preview.active {
    display: block;
}

#tab_preview_0 {
    margin: 20px 30px 0;
}

.edit_public_view {
    text-align: center;
}

.edit_public_view [type="submit"]{
    height: 40px;
    background: none;
    z-index: 1;
    cursor: pointer;
    margin-bottom: 15px;
}

.edit_public_view textarea {
    width: 700px;
    height: 250px;
    padding: 15px;
}

.detail_menu td {
    border-right: 1px solid;
    text-align: center;
}

.detail_menu table td:last-child {
    border-right: none;
}

.detail_menu_items {
    margin-bottom: 75px;
}

.detail_menu_items > div {
    display: none;
}

.detail_menu_items > div.show {
    display: block;
}

.message_container {
    padding: 10px;
    margin: 0 auto 10px;
    font-size: 17px;
    border: 1px solid #ccc;
    max-width: 650px;
    position: relative;
}

.message_container .post_file img {
    max-width: 100%;
}

.message_container .date {
    opacity: 0.5;
}

.sort .selected {
    text-decoration: underline;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    background: #0000008c;
}

.auth_window .container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 300px;
    height: 270px;
    text-align: center;
    background: #fff;
    -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.75);
    z-index: 10000;
}

.auth_window h2 {
    font-size: 30px !important;
    font-weight: normal;
    -webkit-margin-before: 0.83em;
    -webkit-margin-after: 0.83em;
}

.auth_window input {
    width: 80%;
    margin-bottom: 10px;
    padding: 5px;
}

.auth_window button {
    color: #fff;
    background-color: #48377a;
    border: 1px solid #48377a;
    transition: all ease 2s;
}

.auth_window button {
    height: 34px;
}

.login_action {
    cursor: pointer;
}

.close_modal {
    z-index: 9;
    background: #ffffffd1;
    position: absolute;
    top: 5px;
    right: 5px;
    color: #606d6e;
    border: 1px solid #606d6e !important;
    border-radius: 100%;
    height: 24px;
    width: 23px;
    text-align: center;
    line-height: 22px;
    padding-left: 1px;
    font-size: 18px !important;
    -webkit-transition: all 1s;
    transition: all 1s;
}

.username {
    color: #fff;
}

.zolando_attributes{
    background: #d5eada;
    border-radius: 5px;
    padding: 10px;
    margin: 30px 0;
}

.zolando_attributes .loader{
    display: block; margin: auto;
}

.zolando_attributes .size_table{
    width: 100%;
    overflow-x: scroll;
    display: none;

}

.zolando_attributes .size_table td{
    border: 1px solid !important;
    background-color: #fffbe3;
    padding: 3px;
}

.zolando_attributes .size_codes{
    display: none;
}


@media (max-width: 1000px) {
    .projects .item {
        width: 29%;
        margin: 5px 10px;
    }
}

@media (max-width: 780px) {
    .no-mobile {
        display: none;
    }

    .no-desktop {
        display: block;
    }

    .projects {
        margin: 0;
    }

    .projects .item {
        width: 40%;
        padding: 0;

    }

    .project_detail .add_lenta_form {
        width: 100%;
        text-align: center;
    }

    .project_detail [name="add_project_lenta"], #cke_add_project_lenta {
        width: 75%;
        height: 50px;
    }

    .project_detail .add_lenta_post {
        width: 11%;
        height: 56px;
        float: right;
        padding: 0px;
    }

    .project_detail .add_lenta_form #add_item {
        height: 34px;
        width: 10%;
        padding: 20px 5px 0;
        line-height: 10px;
        cursor: pointer;
    }

    .project_detail .title h1 {
        font-size: 24px;
    }

    .header {
        height: 35px;
    }

    .header > div {
        float: left;
        width: 9.5%;
    }

    .header .logo {
        width: 80%;
    }

    /*.project_detail .message_container {*/
    /*width: auto;*/
    /*}*/
    .popup_window .container {
        width: 90%;
    }
}

@media (max-width: 300px) {
    .projects .item {
        width: 90%;
    }
}

/*-------------MENU----------------*/

.top_ribbon {
    /*background: #000;*/
    /*text-align: center;*/
}

.top_ribbon ul {
    display: block;
    flex-direction: row;
    justify-content: space-around;
    margin: 9px 0 9px 0;
    /* text-align: right; */
    padding-left: 10px;
}

.top_ribbon ul div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 9px 0 9px 0;
    width: 100%;
}

.top_ribbon ul div.sort {
    display: inline;
    /* color: inherit; */
    color: #ccc;
}

.top_ribbon ul li a {
    color: #ccc;
    font-size: 13px;
}

.top_ribbon .phones {
    margin: 0 31px 0 0;
    padding: 0;
}

.top_ribbon .phones a {
    color: #fff;
}

.top_ribbon .login_icon {
    margin-right: 30px;
}

.hidden-menu-ticker {
    display: none;
}

.hidden-menu {
    display: block;
    position: fixed !important;
    list-style: none;
    padding: 10px;
    margin: 0 !important;
    box-sizing: border-box;
    width: 80%;
    background-color: #000;
    height: 100%;
    top: 0;
    left: -80%;
    transition: left .2s;
    z-index: 11;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}

.btn-menu {
    color: #fff;
    display: inline-block;
    /* background-color: #000; */
    cursor: pointer;
    transition: left .23s;
    z-index: 12;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}

.btn-menu span {
    display: block;
    height: 3px;
    width: 30px;
    background-color: #fff;
    margin: 5px 0 0;
    transition: all .1s linear .23s;
    position: relative;
}

.btn-menu span.first {
    margin-top: 0;
}

.hidden-menu-ticker:checked ~ .btn-menu {
    /* left: 160px; */
    right: inherit;
    position: fixed;
    right: 21%;
}

.hidden-menu-ticker:checked ~ .hidden-menu {
    left: 0;
}

.hidden-menu-ticker:checked ~ .btn-menu span.first {
    -webkit-transform: rotate(45deg);
    top: 9px;
    width: 33px;
    height: 5px;
}

.hidden-menu-ticker:checked ~ .btn-menu span.second {
    opacity: 0;
}

.hidden-menu-ticker:checked ~ .btn-menu span.third {
    -webkit-transform: rotate(-45deg);
    top: -10px;
    width: 33px;
    height: 5px;
}

.top_ribbon ul li {
    display: block;
    margin: 0px 35px 0 10px;
    padding: 5px 0;
    /*border-bottom: 1px solid #fff;*/
}

.fixed_header .header {
    top: 0;
}

.top_ribbon ul li a {
    font-size: 18px !important;
}

.header .phone a {
    color: #ffffff;
    font-weight: bold;
}

.header .phone {
    text-align: right;
}

.fixed_header .header .phone a {
    color: #515151;
}

.top_ribbon ul li.menu_separator {
    width: 25%;
    /* display: inline-block; */
}

.top_ribbon ul li.menu_separator span {
    display: block;
    background-color: #fff;
    height: 2px;
    width: 100%;
    margin: 6px 0;
}

.top_ribbon ul div.guess_block {
    position: absolute;
    display: block;
    border: 1px solid !important;
    background-color: #fff;
    padding: 5px 10px;
    width: auto !important;
    right: 0;
    text-align: left;
}

.top_ribbon ul div.guess_block .guess_item {
    display: block;
    cursor: pointer;
    margin: 5px 0;
}

#context {
    position: absolute;
    display: none;
    z-index: 20;
    background: #fff;
    padding: 5px;
    border: 1px solid;
}

#context ul {
    list-style: none;
    padding: 0;
}

#context ul li {
    cursor: pointer;
}

#file_drop_zone {
    display: none;
    position: absolute;
    z-index: 100;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #e3e3e3;
    opacity: 1;
    text-align: center;
    text-transform: uppercase;
}

#file_drop_zone .download_text {
    position: relative;
    width: 80%;
    height: 15px;
    border: 1px dotted #000;
    top: 9px;
    margin: 0 auto;
    padding: 17px;
}

#file_drop_zone .files_progress {
    display: none;
    padding: 15px;
    max-height: 85%;
}

#file_drop_zone .files_progress .percent_div {
    margin-top: 5px;
}

#url_preview_waiting {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 69px;
}

#link_preview {
    float: left;
    padding: 10px 30px 10px 20px;
    position: relative;
}

#link_preview #preview-img {
    max-width: 100px;
    max-height: 100px;
    float: left;
    margin-right: 15px;
}

#link_preview .del {
    font-size: 29px !important;
    color: red;
    position: absolute;
    right: 5px;
    top: 0;
}

.table th {
    padding: 20px;
    border: 1px solid;
}
.preview_picture{
    max-width: 100px;
    max-height: 100px;
}


.preview_picture.hidden{
    display: none;
}

.product-item td{
    padding: 4px 16px;
}

.product-item.error{
    background: red;
    opacity: 0.7;
}
.product-item.success{
    background: green;
    color: white;
    opacity: 0.7;
}

.form_new_model, .form_new_config, .modelConfigs{display: none;}

.error_container{margin-top: 10px;margin-bottom: 10px; color:red;}

.button{
    padding: 5px;
    border: 1px solid;
    color: #000;
    border-radius: 3px;
    background: #ccc;
}

.button:hover{
    background-color: #fff;
}

.pagination-item{
    margin: 3px;
    padding: 2px;
    display: inline-block;
    min-width: 22px;
    border: 1px solid;
    border-radius: 3px;
    color: #000;
}

.pagination-item:hover{
    background-color: #e6e6e6;
}
.pagination-item.selected{
    background-color: #000;
    color: #fff;
}