:root
{
    --mm_padding_inner_element: 2px;
    --mm_border_inner_element: 1px solid rgba(0,0,0,0.3); 

    /* COLORS OF WINDOW */
    --mm_fillar_color: #fff;
    --mm_rame_color: #fff;
    --mm_top_color: #fff;
    --mm_inner_rame_color: #fff;

    /*Background panels */
    --mm_horizontal_panels: none;

    --mm_border_radius_top: 0px;    /* change for 9999px */
    --mm_top_of_the_top_color: green;
    --mm_background_top: none; /*linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 50%), 
            linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent 40%);*/

    --mm_width_sel_step_three: 100%;
    --mm_display_sel_step_three: inline-block;
}

.mm_step_three_changing_width
{
    width: var(--mm_width_sel_step_three);
}

.mm_step_three_display
{
    display: var(--mm_display_sel_step_three) !important;
}

.mm_window_builder_main 
{
    width: 100%;
    height: auto;
    position: relative;
    box-sizing: border-box;
    float: left;
}


.mm_window_builder_preview
{
    width: 75%;
    float: left;
    position: sticky;
    height: 100vh;
    top: 0;
    box-sizing: border-box;
    padding: 2.5rem 10rem 2.5rem 10rem;
    display: flex;
    z-index: 500;
}

@media screen and (max-width: 1444px) and (min-width: 1000px)
{
    .mm_window_builder_preview
    {
        width: 100% !important;
        position: relative;
        height: 100vh;
        padding: 4rem !important;
        
    }
    
    .mm_window_builder_options
    {
        width: 100% !important;
    }
}

@media screen and (max-width: 1000px) and (min-width: 750px)
{
    .mm_window_builder_preview
    {
        height: 70vh !important;
        padding: 1.5rem !important;
        width: 100% !important;
        position: sticky !important; 
    }

    .mm_window_builder_options
    {
        width: 100% !important;
    }
    
}

@media screen and (max-width: 750px) and (min-width: 500px)
{
    .mm_window_builder_preview
    {
        height: 55vh !important;
        padding: 1rem !important;
        width: 100% !important;
        position: sticky !important; 
    }

    .mm_window_builder_options
    {
        width: 100% !important;
    }
    
}

@media screen and (max-width: 500px)
{
    .mm_window_builder_preview
    {
        height: 45vh !important;
        padding: 5px !important;
        width: 100% !important;
        position: sticky !important; 
    }

    .mm_window_builder_options
    {
        width: 100% !important;
    }

    .mm_element_outer
    {
        padding: 5px !important;
    }
    
}

@media screen and (max-width: 1444px) and (min-width: 767px)
{
  .mm_window_builder_options
    {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 40px;
        gap: 40px
    }  
}

.mm_window_builder_inner
{
    width: 100%;
    position: relative;
    height: 100%;
}

.mm_window_builder_options 
{
    padding-left: 10px;
    float: left;
    width: 25%;
    box-sizing: border-box;
}

.mm_clearer 
{

    clear: both;
}

.mm_options_custom_input
{
    display: inline-block;
    box-sizing: border-box;
    margin-top: 0px;
    vertical-align: top;
}

.mm_width_49
{
    width: 49%;
}

.mm_custom_input_body
{
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0.5rem 0.75rem 0.5rem 0.75rem;
     background-color: #f5f4f4;
    border-radius: 20px;

}

.mm_small_margin_left
{
    margin-left: 2%;
}

.mm_custom_input_buttom
{
   font-size: 1.875rem; 
   color: #6fbe48;
   user-select: none;
   cursor: pointer;
}

.mm_options_step 
{
    width: 100%;
    padding-bottom: 40px;
}

.mm_error_box
{
    position: fixed;
    bottom: 20px;
    left: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    opacity: 0;
    min-width: 15%;
    min-height: 100px;
    color: black;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 9999;
    display: flex;
    align-items: stretch;
    gap: 0px;
    justify-content: space-between;
    pointer-events: none;
    overflow: hidden;
    height: auto;
}

.mm_error_box.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.mm_error_left
{
    width: 10%;
    height: auto;
    min-height: 10px;
    background-color: #d32f2f;
}

.mm_error_right
{
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;
    background-color: white;
}

.mm_options_step_header
{
    font-size: 1.25rem;
    font-weight: bolder;
    margin-right: 1rem;
    color: #193e90;
    text-transform: uppercase;
}

p.mm_custom_input_header,
.mm_custom_input_header
{
    font-size: .875rem;
    font-weight: 700;
    margin-top: 1em;
    margin-bottom: 1em;
}


input[type='number'].mm_custom_input_value,
.mm_custom_input_value
{
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
    font-size: .875rem;
    background-color: #00000000;
    outline: none;
    cursor: pointer;
    border: none;
    width: 50%;
    box-shadow: none;
    height: auto !important;
}


.mm_canvas_absolute
{
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.mm_canvas_top_panel
{
    position: absolute;
    top: 0;
    width: 100%;
    background-color: var(--mm_top_of_the_top_color);
    border-radius: var(--mm_border_radius_top);
    background-image: var(--mm_background_top);
}

.mm_canvas_second_top_panel
{
    position: absolute;
    background-color: var(--mm_top_color);
}


.mm_panels
{
    position: absolute;
    display: flex;
}

.mm_panels img
{
    user-select: none;
}

.mm_img_not_res img
{
    height: 100%;
    width: 100%;
}

.mm_filars
{
    position: absolute;
    background-color: var(--mm_fillar_color);
    border-left: 1px solid black;
    border-right: 1px solid black;

    background-image: var(--mm_horizontal_panels);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.mm_small_panel
{
    box-sizing: border-box;
    background-color: antiquewhite;
    border-bottom: 1px solid black;
    position: absolute;
}

.mm_shadow
{
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    z-index: 1000;
}

.mm_shadow_sec
{
    z-index: -1;
    position: absolute;
}

.mm_window_part
{
    position: absolute;
    display: flex;
    background-color: var(--mm_rame_color);
    box-sizing: border-box;
}

.mm_small_space
{
    width: 100%;
    height: 40px;
}

.mm_num_of_elelemts
{
    grid-template-columns: repeat(7, minmax(0, 1fr));
    display: grid;
    box-sizing: border-box;
    border: 0 solid #e0e0e0;
}

.mm_num_of_elelemts span
{
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: .75rem;
    padding-right: .75rem;
    border: 2px solid #ffffff;
    display: block;
    text-align: center;
    background-color: #f5f4f4;
    border-radius: 20px;

}

.mm_num_of_elelemts span:hover
{
    border-color:#e53b25;
}

.mm_num_of_elelemts span:focus
{
    border-color:#193e90;
    outline: none;
}

.mm_num_of_elelemts span.mm_active
{
    border-color: #193e90;;
    background-color: #fff;

}

.mm_flex_j
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.mm_step_2_select
{
    text-align: center;
    background-color: #f5f4f4;
    padding: .25rem;
    font-size: .875rem;
    height: 2rem;
    outline: none;
    border: none;
    box-shadow: none;
    height: auto !important;
}

.mm_step_2_select option
{
    background-color: #f5f4f4;
}

.mm_fixed_height
{
    min-height: 62.5px;
}

.mm_element_outer
{
    position: absolute;
    padding: 15px 5px 15px 5px;
    display: flex;
    background-color: var(--mm_rame_color);
    box-sizing: border-box;
}

.mm_element_inner
{
    width: 100%;
    box-sizing: border-box;
    display: flex;
    height: 100%;
    background-color: var(--mm_inner_rame_color);
}

.mm_pannel_element .mm_element_inner
{
    background-color: #00000000 !important;
}


img.mm_widow_image
{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    
}

img.mm_widow_image_one
{
    border: var(--mm_border_inner_element);
}

img.mm_widow_image_two
{
    border: 3px solid rgba(0, 0, 0, 0);
}

.mm_preview_type_two
{
    box-sizing: border-box;
    padding: var(--mm_padding_inner_element);
    border: var(--mm_border_inner_element);
}

.mm_display_none
{
    display: none;
}

.mm_pannel_element
{
    background-image: var(--mm_horizontal_panels);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--mm_fillar_color) !important;
}

.mm_pallete
{
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.mm_color_option
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 10px 10px 10px;
    box-sizing: border-box;
    border: 2px solid #ffffff;
    transition: transform 0.3s ease-in-out;
    border-radius: 20px;
}

.mm_color_option.mm_active
{
    border: 2px solid #6fbe48;
}

.mm_color_option:hover
{
    transform: scale(1.07);
}

.small_margin
{
    margin-bottom: 5px !important;
}

.mm_color_option span
{
    font-size: 0.8rem;
    font-weight: 400;
}

.mm_color_option strong
{
    font-size: 0.8rem;
}

.extra_options_all_selects
{
    display: grid;
    width: 100%;
    box-sizing: border-box;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mm_open_form_button
{
    display: block;
    cursor: pointer;
    width: 100%;
    padding: 1rem;
    color: white;
    text-align: center;
    background-color: #6fbe48;
    transition: all 0.3s ease-in-out;
    margin-bottom: 40px;
    border-radius: 20px;
}

.mm_open_form_button:hover
{
     background-color: #63a742;
}

.mm_form_body
{
    width: min(800px, 90%);
}

.mm_form, .mm_popup
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mm_form.mm_show, .mm_popup.mm_show
{
    z-index: 999;
    opacity: 1;
    visibility: visible;
}

.mm_form_body, .popup_body
{
    background-color: white;
    border: 1px solid #eee;
    padding: 20px 50px 20px 50px;
    border-radius: 5px;
    min-width: 300px;
    transform: translateY(50px);
    opacity: 0;
    max-height: 100%;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mm_form.mm_show .mm_form_body
{
    transform: translateY(0);
    opacity: 1;
    overflow-y: auto;
}

.mm_popup.mm_show .popup_body
{
    transform: translateY(0);
    opacity: 1;
    overflow-y: auto;
}

.mm_form_row_one
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

.mm_form_row_second
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box; 
}

.mm_form_row_third
{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box; 
}

@media screen and (max-width: 767px)
{
    .mm_form_row_one, .mm_form_row_second
    {
        grid-template-columns: 1fr !important;
    }
    .mm_form_body, .popup_body
    {
        padding: 15px !important;
    }
    
}

.mm_form_row_one label, .mm_form_row_second label, .mm_form_row_third label
{
    width: 100%;
}

.mm_form_row_one input, .mm_form_row_second input, .mm_form_row_third input
{
    width: 100%;
    border-width: 1px;
    border-style: solid;
    background-color: #fff;
    border-color: #e0e0e0;
    padding: .75rem 1rem;
    line-height: 1;
    font-size: 0.875rem;
    margin-top: .25rem;

}

.mm_input_label:has(input[required]) label::after {
  content: " *";
  margin-left: 4px;
  font-size: .875rem;
}

.mm_input_label label
{
    color: #616161;
    font-weight: 500;
    font-size: .875rem;
    box-sizing: border-box;
    border: 0 solid #e0e0e0;
}

.mm_form_header
{
    color: #212121;
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
}
.mm_form_desc
{
    margin-bottom: 1.5rem;
    display: block;
}
#mm_close_form, .mm_close_form, .mm_close_popup
{
    position: absolute;
    color: #9e9e9e;
    margin: 0.5rem 1rem 0.5rem 1rem;
    font-size: .6rem;
    top: 0;
    right: 0;
    cursor: pointer;
    user-select: none;
    z-index: 1000;
}

.mm_settings_errors
{
    display: none;
    color: red !important;
}

.mm_settings_errors h4
{
    margin-bottom: 5px;
    font-weight: 700;
    color: red;
}

.mm_settings_errors p
{
    color: red;
    margin-top: 0;
    margin-bottom: 5px;
}

.mm_popup_opener_outer
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mm_popup_opener
{
    display: flex;
    max-width: 18px;
    max-height: 18px;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

.mm_popup_opener img
{
    width: 100%;
    height: auto;
    user-select: none;
    cursor: pointer;
}

#mm_options_first_part
{
    margin-top: 10px;
}

.popup_body
{
    width: min(1200px, 90%);
}

#mm_popup_text
{
    overflow-y: auto;
}

.mm_checkbox a
{
    color: #4299e1;
}

.mm_checkbox
{
    font-weight: 500;
}

.mm_checkbox:has(input[required]) label::after {
  content: " *";
  margin-left: 4px;
  font-size: .875rem;
}

.mm_form_row_last
{
    margin-bottom: 40px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.mm_form_row_last .mm_submit_button
{
    width: 50%;
    padding: 1rem;
    color: white;
    text-align: center;
    background-color: #6fbe48;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border: none;
    font-size: 1.05rem;
}

.mm_form_row_last .mm_submit_button:hover
{
      background-color: #63a742;
}

.mm_add_panel_first
{   
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.mm_add_panel
{    
    padding: 10px;
    text-align: center;
}

.mm_add_panel_second
{
    right: 0;
    position: sticky;
    top: 0;
    width: 25%;
    margin-left: 75%;
    z-index: 500;
}

.mm_full_width
{
    width: 100%;
}


.mm_scale
{
    position: absolute;
    width: 150px;
    display: flex;
    text-align: center;
    vertical-align: middle;
    align-content: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}


.mm_custom_arrow
{
    height: 100%;
    width: 2px;
    position: relative;
    background-color: black;
}

.mm_arrow_up
{
    position: absolute;
    top: 4px;
    transform: translate(-50%, -50%);
    width: 23px;
    height: auto;
    left: 1px;
     max-width: none !important;
     filter: brightness(0) saturate(100%) invert(0%) sepia(6%) saturate(7475%) hue-rotate(288deg) brightness(115%) contrast(105%);
}

.mm_arrow_down
{
    position: absolute;
    bottom: -20px;
    transform: translate(-50%, -50%);
    width: 23px;
    height: auto;
    left: 1px;
    max-width: none !important;
    filter: brightness(0) saturate(100%) invert(0%) sepia(6%) saturate(7475%) hue-rotate(288deg) brightness(115%) contrast(105%);
}

.mm_scale span
{
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px;
}

.mm_scale_one
{
    left: 101%;
}

.mm_scale_second
{
    left: 99%;
}


@media screen and (max-width: 1444px)
{
    .mm_scale_one
    {
        left: 94%;
    }

    .mm_scale_second
    {
        left: 92%;
    }
}

@media screen and (max-width: 799px)
{
    .mm_scale_one
    {
        display: none;
    }

    .mm_scale_second
    {
        display: none;
    }
}
