input, button {
    outline: none !important;
}

input:focus, button:focus, textarea:focus {
    outline: none !important;
}

input:active, button:active, textarea:focus {
    outline: none !important;
}

a, a:hover {
    text-decoration: none !important;
}

p {
    margin-bottom: 0 !important;
}

body {
    font-size: 16px;
    min-width: 1200px;
}

.d-none {
    display: none !important;
}

.left-container {
    width: 249px;
    background-color: #fafafa;
    border-right: 1px solid #e3e3e3;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.left-container .logo {
    width: 100%;
    background-color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
}

.left-container a {
    display: block;
    padding: 15px 30px;
    color: #2b2b2b;
}

.left-container a:last-child {
    margin-top: 50px;
}

.left-container a:hover,
.left-container a.active {
    background-color: #e3e3e3;
    color: #307BC4;
}

.right-container {
    width: calc(100% - 250px);
    position: relative;
    left: 250px;
    padding: 15px 25px 50px;
}

nav {
    display: flex !important;
    margin-bottom: 40px;
}

nav > a {
    display: block;
    margin-right: 25px;
    color: #2b2b2b;
    border-bottom: solid 1px transparent;
    text-decoration: none !important;
}

nav > a:hover {
    border-color: #2b2b2b;
    color: #2b2b2b;
}

nav > a.active {
    border-color: #307BC4;
    font-weight: 600;
    color: #307BC4;
}

.auth {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.auth > form {
    background-color: #fff;
    border: solid 1px #e3e3e3;
    width: 500px;
    padding: 25px;
}

.auth > form h1 {
    font-size: 24px;
    color: #000000;
    margin-bottom: 50px;
    text-align: center;
}

.auth > form p {
    color: #DC2F2F;
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.auth > form div {
    margin-bottom: 30px;
}

.auth > form .logo {
    display: flex;
    justify-content: center;
}

.auth > form div small {
    margin-bottom: 5px;
    display: block;
}

.auth > form div input {
    border: 1px solid #E5E5E5;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.07em;
    text-align: center;
    color: rgba(0, 0, 0, 0.3);
    width: 100%;
    padding: 0 20px;
    height: 60px;
}

.auth > form button {
    cursor: pointer;
    height: 60px;
    width: 100%;
    background: #FFE402;
    border: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.07em;
    color: #333333;
}

.pagination {
    width: 100%;
    margin-top: 50px;
    justify-content: center;
    display: flex;
}

.pagination > span {
    display: flex;
}

.pagination > span > a {
    display: block;
    margin-top: 12px;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #307BC4;
    opacity: 0.99;
}

.pagination > span > a img {
    margin: 0 10px;
    position: relative;
    top: 3px;
}

.pagination > span ul {
    margin: 0 15px;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    color: #7E8297;
    opacity: 0.99;
    display: flex;
    list-style-type: none;
}

.pagination > span ul a {
    color: #7E8297;
    opacity: 0.99;
    display: block;
    padding: 13px 15px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.pagination > span ul span {
    padding: 13px 20px;
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.pagination > span ul li.active,
.pagination > span ul li a:hover {
    background: #FFFFFF;
    color: #307BC4;
    opacity: 0.99;
}

.right-container .search {
    width: 100%;
    margin-bottom: 40px;
}

.right-container .search input {
    width: 400px;
    height: 40px;
    padding: 0 25px;
}

.right-container .search select {
    width: 350px;
    height: 40px;
    padding: 0 25px;
    margin-right: 20px;
}

.right-container .search button {
    cursor: pointer;
    height: 40px;
    width: auto;
    padding: 0 30px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin-left: 20px;
    border: solid 1px rgb(133, 133, 133);
    border-radius: 3px;
}

.right-container .table {
    width: 100%;
}

.right-container .table .elem {
    border: solid 1px #e3e3e3;
    border-radius: 3px;
    width: auto;
    display: flex;
    margin-bottom: 15px;
    padding: 15px 20px;
    align-items: center;
    flex-wrap: wrap;
}

.right-container .table .elem div.input input {
    width: 400px;
}

.right-container .table .elem div.info-for {
    width: 200px;
    margin-left: auto;
    margin-right: 100px;
}

.right-container .table .elem div.info span:first-child,
.right-container .table .elem div.info-for span:first-child {
    width: 100%;
    display: block;
    color: #2b2b2b;
    font-size: 17px;
}

.right-container .table .elem div.info span:first-child a {
    color: #2b2b2b;
    font-size: 17px;
}

.right-container .table .elem div.input span,
.right-container .table .elem div.info span:last-child,
.right-container .table .elem div.info-for span:last-child {
    display: block;
    color: #7E8297;
    font-size: 15px;
}

.right-container .table .elem div.info span.cancelled {
    color: #c50000;
    font-weight: 600;
    font-size: 16px;
}

.right-container .table .elem div.info span.paid {
    color: #219653;
    font-weight: 600;
    font-size: 16px;
}

.right-container .table .elem div.delay {
    margin-left: auto;
}

.delivery-methods .table .elem div.delay,
.payment-methods .table .elem div.delay {
    margin-left: 0;
}

.right-container .table .elem div.delay span {
    color: #2b2b2b;
    font-size: 17px;
    border-bottom: solid 1px #2b2b2b;
    cursor: pointer;
    margin-left: 25px;
}

.right-container .table .elem div.delay span.delete {
    color: #f90101;
    border-color: #f90101;
}

.right-container .table .elem div.content {
    width: 100%;
    margin-top: 25px;
}

.right-container .table .elem div.content p {
    margin-bottom: 5px !important;
    display: flex;
}

.right-container .table .elem div.content p span {
    width: 20%;
    display: block;
}

.right-container .table .elem div.content p span:first-child {
    width: 60%;
}

.modal .modal-body .d-flex > div:first-of-type {
    width: calc(100% - 100px);
}

.modal .modal-body .d-flex > div:last-of-type {
    width: 80px;
    margin-left: auto;
}

.modal .modal-body .d-flex > div button {
    margin-top: 38px;
}

.modal .modal-body .elems > div {
    margin-top: 15px;
    display: flex;
    border: solid 1px #e3e3e3;
    border-radius: 6px;
    padding: 5px 5px 5px 15px;
}

.modal .modal-body .elems span {
    align-self: center;
}

.modal .modal-body .elems button {
    align-self: center;
    margin-left: auto;
}

h1 {
    margin-bottom: 60px !important;
}

.info-group,
.label-group,
.input-group {
    display: block !important;
    margin-bottom: 30px;
}

.info-group small,
.input-group small,
.bundles small,
.features small,
.provider-lots small,
.provider-categories small,
.related_products small,
.similar_products small,
.category-features small {
    font-size: 15px;
    color: #7E8297;
    margin-bottom: 5px;
    display: block;
    width: 100%;
}

.input-group .add-button {
    background: #fff;
    color: #505050;
    border: 1px solid #BDBDBD;
    height: 50px;
    border-radius: 3px;
    margin-left: 15px;
    cursor: pointer;
    padding: 0 15px;
}

.info-group > span {
    display: block;
    font-size: 16px;
    color: #1b1918;
}

.label-group small {
    font-size: 15px;
    color: #1b1918;
    cursor: pointer;
}

.input-group input,
.input-group textarea {
    color: #1b1918;
    font-size: 15px;
    padding: 0 15px;
    height: 50px;
    width: 500px;
}

.input-group textarea {
    height: 400px;
}

.input-group select {
    height: 50px;
    padding: 0 15px;
    width: 500px;
}

main.order .info-group > div span {
    display: flex;
    width: 100%;
    margin-top: -1px;
    padding: 5px 15px;
    border: solid 1px #e3e3e3;
}

main.order .info-group > div span a {
    color: #2b2b2b;
}

main.order .info-group > div span a:first-child {
    width: 120px;
}

main.order .info-group > div span a:nth-child(2) {
    width: 800px;
}

main.order .info-group > div span a:nth-child(3) {
    width: 100px;
}

main.order .info-group > div span a:nth-child(4) {
    width: 100px;
}

main .buttons {
    margin: 10px 0 25px;
    display: flex;
    align-items: end;
}

main .buttons .input-group {
    margin-bottom: 0;
}

main .buttons button {
    cursor: pointer;
    height: 50px;
    width: auto;
    padding: 0 30px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.07em;
    color: #333333;
    margin-right: 20px;
}

main .buttons .add-button {
    background: #fff;
    color: #505050;
    border: 1px solid #BDBDBD;
}

main .buttons .save-button {
    background: #FFE402;
}

main > .images .banner input,
main > .offers-items .offer input,
main > .files .banner input {
    display: block;
}

main > .images input[type="file"],
main > .offers-items input[type="file"],
main > .files input[type="file"] {
    display: none;
}

main > .images label,
main > .offers-items label,
main > .files label {
    width: 360px;
    height: 200px;
    border: solid 1px #e3e3e3;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

main > .images label span,
main > .offers-items label span,
main > .files label span {
    width: 100%;
    display: block;
    text-align: center;
    position: relative;
    top: 90px;
}

main > .images div img {
    width: 200px;
}

main > .offers-items .offer img {
    width: 320px;
}

main.offers-page .offer {
    display: block;
    width: 500px;
    margin-bottom: 30px;
    border: solid 1px #e3e3e3;
    padding: 20px;
    position: relative;
}

main.offers-page .offer .delete-offer {
    color: #f90101;
    position: absolute;
    right: -80px;
    top: 15px;
    font-size: 15px;
    cursor: pointer;
}

main.offers-page .offer img {
    width: 100%;
    margin-bottom: 15px;
    opacity: 1 !important;
    cursor: default !important;
}

main.offers-page .offer input {
    width: 100%;
    margin-bottom: 15px;
}

main.offers-page .offer small {
    display: block;
}

main.offers-page .offer .cities .city {
    display: flex;
    width: 100%;
    margin-bottom: 15px;
}

main.offers-page .offer .cities > small {
    margin-bottom: 10px;
    font-size: 16px;
}

main.offers-page .offer .cities .city small {
    font-size: 15px;
}

main.offers-page .offer .cities .city span {
    font-size: 15px;
    margin-left: auto;
    color: #f90101;
    cursor: pointer;
}

main.offers-page .offer .buttons {
    margin-top: 15px;
}

main.settings-main-banners .banner {
    display: block;
    width: 500px;
    margin-bottom: 30px;
    border: solid 1px #e3e3e3;
    padding: 20px;
    position: relative;
}

main.settings-main-banners .banner .delete {
    color: #f90101;
    position: absolute;
    right: -80px;
    top: 15px;
    font-size: 15px;
    cursor: pointer;
}

main.settings-main-banners .banner img {
    width: 100%;
    margin-bottom: 15px;
    opacity: 1 !important;
    cursor: default !important;
}

main.settings-main-banners .banner input {
    width: 100%;
    margin-bottom: 15px;
}

main.settings-main-banners .banner small {
    display: block;
}

main .preview small,
main .author-preview small {
    display: block;
}

main .preview input,
main .author-preview input {
    display: none;
}

main .preview label,
main .author-preview label {
    width: 360px;
    height: 200px;
    border: solid 1px #e3e3e3;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

main .preview label span,
main .author-preview label span {
    width: 100%;
    display: block;
    text-align: center;
    position: relative;
    top: 90px;
}

.two-group,
.three-group {
    display: flex;
    width: 515px;
}

.two-group > div {
    width: calc(50% - 15px);
    margin-right: 15px;
}

.three-group > div {
    width: calc(33.33% - 15px);
    margin-right: 15px;
}

.two-group > div input,
.three-group > div input {
    width: 100% !important;
}

.products-quantity-discount .elem .info,
.products-lot .elem .info {
    width: 400px !important;
    margin-right: auto;
}

.products-quantity-discount .elem .info-for {
    width: 110px !important;
    margin: 0 !important;
}

.products-lot .elem .info-for {
    width: 200px !important;
    margin: 0 !important;
}

.bundles,
.features,
.provider-lots,
.provider-categories,
.related_products,
.similar_products {
    margin-bottom: 30px !important;
}

.bundles > span,
.features > span,
.provider-lots > span,
.provider-categories > span,
.related_products > span,
.similar_products > span {
    font-weight: 600;
    color: #307BC4;
    display: block;
    cursor: pointer;
}

.features .two-group {
    position: relative;
}

.bundles .input-group > span {
    margin-left: 15px;
    color: #f90101;
    font-size: 15px;
    cursor: pointer;
}

.features .two-group > span {
    position: absolute;
    top: 13px;
    left: 805px;
    color: #f90101;
    font-size: 15px;
    cursor: pointer;
}

main.product .files div {
    margin-bottom: 15px;
}

main.product .files p {
    width: 100%;
    margin-bottom: 10px !important;
}

main.product .images div span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 360px;
    height: 200px;
    border: solid 1px #e3e3e3;
    margin-bottom: 15px;
}

main.product .images div img {
    max-width: 95%;
    max-height: 95%;
}

main.product .images div img:hover {
    opacity: 0.3;
    cursor: pointer;
}

main h4 {
    font-size: 16px;
    margin: 10px 0 20px;
}

.provider-categories .input-group,
.provider-lots .input-group {
    margin-bottom: 5px;
}

.content-blocks {
    width: calc(100% - 2px);
    border-radius: 3px;
    border: solid 1px rgba(118, 118, 118, 0.5);
    height: 600px;
}

.content-blocks .header {
    border-bottom: solid 1px rgba(118, 118, 118, 0.5);
    display: flex;
    position: relative;
    z-index: 2;
}

.content-blocks .header > div {
    color: #505050;
    position: relative;
}

.content-blocks .header > div > span {
    display: block;
    padding: 15px 25px;
    cursor: pointer;
}

.content-blocks .header > div > div {
    display: none;
}

.content-blocks .header > div:hover > span {
    background-color: rgba(118, 118, 118, 0.1);
}

.content-blocks .header > div:hover > div {
    display: block;
    position: absolute;
    top: 54px;
    left: -1px;
    width: 200px;
    box-shadow: 0 0 10px 0 rgba(118, 118, 118, 0.5);
    border: solid 1px rgba(118, 118, 118, 0.5);
    background-color: #ffffff;
}

.content-blocks .header > div:hover > div > a,
.content-blocks .header > div:hover > div > label {
    width: 100%;
    padding: 10px 25px;
    display: block;
    border-bottom: solid 1px rgba(118, 118, 118, 0.5);
    color: #505050;
    margin: 0;
    cursor: pointer;
}

.content-blocks .header > div:hover > div > a:last-child {
    border-bottom: none;
}

.content-blocks .header > div:hover > div > label:hover,
.content-blocks .header > div:hover > div > a:hover {
    background-color: rgba(118, 118, 118, 0.1);
}

.content-blocks .header > div:hover > div input {
    display: none;
}

.content-blocks .wrap {
    width: 100%;
    max-height: calc(100% - 105px);
    overflow: auto;
    padding-bottom: 20px;
}

.content-blocks .placeholder {
    color: #808080;
    padding: 15px 80px;
}

.content-blocks .wrap .block {
    width: 100%;
    padding: 15px 80px;
    color: #202020;
    font-size: 18px;
    line-height: 130%;
    position: relative;
}

.content-blocks .wrap .block.focus {
    background-color: rgba(118, 118, 118, 0.1);
}

.content-blocks .wrap .block[data-type="h2"] {
    font-size: 28px;
    font-weight: 600;
}

.content-blocks .wrap .block[data-type="h3"] {
    font-size: 24px;
    font-weight: 600;
}

.content-blocks .wrap .block li {
    position: relative;
    margin-bottom: 10px;
}

.content-blocks .wrap .block li:before {
    content: '—';
    position: absolute;
    left: -25px;
    top: 0;
    color: #202020;
}

.content-blocks .wrap .block .delete-image,
.content-blocks .wrap .block .delete-product {
    position: absolute;
    top: 20px;
    right: 40px;
    display: block;
    width: 30px;
    height: 30px;
    background-image: url('/static/img/delete.svg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.content-blocks .wrap .block .delete-product {
    top: 30px;
}

.content-blocks .wrap .block img {
    width: 100%;
}

.content-blocks .wrap .block .product {
    color: #202020;
    font-size: 18px;
    line-height: 130%;
    width: 100%;
    display: block;
    border: solid 1px rgba(118, 118, 118, 0.1);
    padding: 15px;
    border-radius: 3px;
}

main.redirects .table .info {
    width: calc(100% - 150px);
}

main.product .features .two-group {
    width: 800px;
}

main.product .features .two-group .select-group {
    position: relative;
}

main.product .features .two-group .select-group .selected {
    color: #1b1918;
    font-size: 15px;
    padding: 0 15px;
    height: 50px;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    border: solid 1px rgba(27, 25, 24, 0.5);
}

main.product .features .two-group .select-group .selected::after {
    content: '↓';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(27, 25, 24, 0.5);
}

main.product .features .two-group .select-group .block {
    width: 100%;
    border: solid 1px rgba(27, 25, 24, 0.9);
    position: absolute;
    top: 51px;
    left: 0;
    z-index: 5;
    border-radius: 3px;
    background-color: #ffffff;
}

main.product .features .two-group .select-group .block .options {
    max-height: 220px;
    overflow: auto;
}

main.product .features .two-group .select-group .block .options > div {
    cursor: pointer;
    padding: 7px 15px;
    display: flex;
    align-items: center;
    border-top: solid 1px rgba(27, 25, 24, 0.7);
}

main.product .features .two-group .select-group .block .options > div.active {
    background-color: rgba(48, 123, 196, 0.4);
}

main.product .features .two-group .select-group .block .options > div .name {
    width: calc(100% - 170px);
    font-size: 15px;
    margin-right: auto;
}

main.product .features .two-group .select-group .block .options > div .see,
main.product .features .two-group .select-group .block .options > div .delete {
    font-size: 12px;
    margin-left: 5px;
    color: rgba(27, 25, 24, 1);
    opacity: 0.6;
}

main.product .features .two-group .select-group .block .options > div .see:hover,
main.product .features .two-group .select-group .block .options > div .delete:hover {
    opacity: 0.9;
}

main.product .features .two-group .select-group .block .options > div .delete {
    color: #DC2F2F;
}

main.product .features .two-group .select-group .block .menu > div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
}

main.product .features .two-group .select-group .block .menu > div input {
    height: 28px;
    background-color: #f6f6f6;
    border: solid 1px rgba(27, 25, 24, 0.7);
    border-radius: 3px;
    font-size: 14px;
}

main.product .features .two-group .select-group .block .menu > div span,
main.product .features .two-group .select-group .block .menu > div a {
    display: block;
    margin-left: 15px;
    color: #307BC4;
    font-size: 15px;
    cursor: pointer;
}

main.product .features .two-group .select-group .block .menu > div a {
    color: rgba(27, 25, 24, 0.7);
}

main > p.error {
    color: #DC2F2F;
    margin-bottom: 20px !important;
    font-size: 18px;
}

.category-features {
    margin-bottom: 30px;
}

.category-features .feature-item {
    cursor: pointer;
    border: solid 1px rgba(27, 25, 24, 0.5);
    border-radius: 3px;
    padding: 10px 15px;
    display: flex;
    margin-bottom: 15px;
    width: 600px;
    align-items: center;
    background-color: #ffffff;
}

.category-features .feature-item > span {
    color: #1b1918;
    font-size: 15px;
    width: calc(100% - 250px);
    margin-right: auto;
}

.category-features .feature-item > label {
    margin: 0;
    display: flex !important;
    align-items: center;
}

.category-features .feature-item > label input {
    margin-right: 5px;
}

.category-features .feature-item > label small {
    margin: 0;
}