/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */
a {
    color: unset;
    transition-property: unest;
    transition-duration: unset;
    transition-timing-function: unset;

    box-shadow: none!important;
    outline: unset!important;
}


.default_button{
    color: white;
    padding: 10px;
    border-radius: 4px;
    background: #2271b1;
    cursor: pointer;
    width: fit-content;
    margin-top: 20px;
}
.flex{
    display: flex;
}
.col-8{
    width: calc(100% / 12 * 8 - 20px);
    margin: 0 10px;
}
.col-4{
    width: calc(100% / 12 * 4 - 20px);
    margin: 0 10px;
}
.tool_bar{
    border-left:  3px solid #2271b1;
    padding: 10px 20px;
}
.misha-upl{
    display: block;
    margin-top: 20px;
    width: fit-content;
}
.misha-upl img{
    max-width: 100%;
}
.comics_picture_wrapper img{
    max-width: 100%;
    width: 100%;
}
.comics_picture_wrapper{
    width: fit-content;
    position: relative;
    margin: 10px auto;
    max-width: 764px;
    cursor: pointer;
}
.disabled{
    background: grey;
    pointer-events: none;
}
.new_picture_form,
.add_text_wrapper,
.image_text_wrapper{
    padding: 12px;
    margin-top: 20px;
    display: none;
    border: 4px double #2271b1; 
}
.image_text_wrapper:empty{
    display: none!important;
}
.turn_up{
    height: 32px;
    width: 32px;
    transform: rotate(-90deg);
    background-image: url("../../arrow.png");
    margin: 5px;
}
.turn_down{
    height: 32px;
    width: 32px;
    transform: rotate(90deg);
    background-image: url("../../arrow.png");
    margin: 5px;
}
.turn_left{
    height: 32px;
    width: 32px;
    background-image: url("../../arrow.png");
    margin: 5px;
}
.turn_right{
    height: 32px;
    width: 32px;
    transform: rotate(180deg);
    background-image: url("../../arrow.png");
    margin: 5px;
}



.width_up{
    height: 32px;
    width: 32px;
    background-image: url("../../text-width.png");
    margin: 5px;
}
.width_down{
    height: 32px;
    width: 32px;
    background-image: url("../../width.png");
    margin: 5px;
}
.font_up{
    height: 32px;
    width: 32px;
    background-image: url("../../font-size-up.png");
    margin: 5px;
}
.font_down{
    height: 32px;

/* Override theme's * { color: white } for language switcher */
.cr-lang-switch {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 0 !important;
    flex-wrap: wrap !important;
    max-width: 764px !important;
    margin: 0 auto !important;
}

.cr-lang-switch button {
    padding: 10px 24px !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.8) !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: sans-serif !important;
    transition: all 0.15s ease !important;
    touch-action: manipulation !important;
}

.cr-lang-switch button:hover {
    background: rgba(255,255,255,0.2) !important;
    border-color: rgba(255,255,255,0.6) !important;
    color: #ffffff !important;
}

.cr-lang-switch button.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}
