/* ========================= */    
/*   DOMESTIC BLOCK STYLES   */    
/* ========================= */    

* { 
    margin: 0px; 
    padding: 0px;
    text-decoration: none;
    font-family: 'segoe ui', system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Noto Sans, Liberation Sans, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /*font-size: 12px; */
    font-size: 1rem; /* 0.875rem; */
    font-weight: 400;
    font-style: normal; 
    color: var(--basic-text-color); 
}

#response{
    margin-top: 20px;
}
#main_cont{
    display: grid;
    grid-template-rows: 1fr auto 1fr;

    height: 100vh; /* fill entire viewport height */
    width: 100%;
    /*justify-content: center; 
    align-items: center; */
    /*background-color: white;*/
    background-color: var(--mainGround);
}
#myForm{
    display: grid;
    /*justify-content: center; 
    align-items: center; */
    width: 100%;
    max-width: 350px;
    row-gap: 2px;
    margin: auto;
}
#main_cont_{
    display: grid;
    /*justify-content: center; 
    align-items: center; */
    width: 100%;
    max-width: 350px;
    row-gap: 2px;
    margin: auto;
}
#measurements{
    display: grid;
    /*justify-content: center; 
    align-items: center; */
    width: 100%;
    max-width: 350px;
    row-gap: 2px;
    margin: auto;
    margin-top: 20px;
}
.basic_row{
    display: grid;
    /*grid-template-columns: 1fr auto;*/
    column-gap: 8px;

        grid-template-rows: 1fr;
        grid-template-columns: none;
        width: 100%;
        margin-bottom: 10px;
    }
label{
    overflow-x: hidden;
    user-select: none;
}

    input, select{
        /*padding-left: 6px;*/
        outline: 0 !important;
        overflow-x: hidden;
        height: 30px;
    }
    select{
        height: 32px;
    }
    button{
        padding-right: 8px;
        padding-left: 8px;
        min-width: 70px;
        margin-top: 6px;
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        height: 46px;
    }
    input, button, select{
        border-radius: 0.3rem 0.3rem 0.3rem 0.3rem;
        border: var(--basic-border-thickness) solid var(--basic-border-color);
    }
    a.register{
        display: grid;
        align-items: center;
        white-space: nowrap; padding-right: var(--commonPaddingSides); padding-top: 2px;
        text-decoration: underline;
        color: blue;
    }

.password-control {
    position: absolute;
    top: 0px;
    right: 6px;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../pics/view.svg");
}
.password-control.view {
    background-image: url("../pics/no-view.svg"); /* 0 0 no-repeat */
}

/* TAB-BUTTONS ===================================================================================================== */
.tab_button{ 
    background-color: white;
    border-bottom: var(--borderWidth) solid var(--tabBorderColor);
    border-left: var(--borderWidth) solid white;
    border-right: var(--borderWidth) solid white;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
    vertical-align: middle;
    border-bottom: none;
}
.tab_filters{
    background-color: var(--mainGround);
    border-left: var(--borderWidth) solid var(--tabBorderColor);
    border-right: var(--borderWidth) solid var(--tabBorderColor);
    border-bottom: var(--borderWidth) solid var(--mainGround);
}
.tab_active{
    z-index: 12;
    background-color: var(--mainGround);
    border-left: var(--borderWidth) solid var(--tabBorderColor);
    border-right: var(--borderWidth) solid var(--tabBorderColor);
    border-bottom: var(--borderWidth) solid var(--mainGround);
}
.tab_button_vert{ 
    display:none;
    background-color: var(--mainGround);
    border-left: var(--borderWidth) solid var(--tabBorderColor);
}
.tab_active_vert{
    background-color: white;    
    border-top: var(--borderWidth) solid var(--tabBorderColor); 
    border-bottom: var(--borderWidth) solid var(--tabBorderColor);
    border-left: var(--borderWidth) solid white; 
}
.tab_active_vert:first-child{border-top: none;}
.tab_dummy{
    display:flex;
    /*width:100%; */ flex: 12;
}
.tab_button:hover{
    background-color: var(--elementHover);
    cursor: pointer;
}
.tab_active:hover{
    background-color: var(--mainGround);
    cursor: pointer;
}
.tab_dummy:hover{
    background-color: white;
    cursor: default;    
}

/* ============== */
/*      MEDIA     */
/* ============== */

@media screen and (max-width: 767px) {
    *{
        /*font-size: 1.03em; /* 14px/16=0.875em */
    }
    .basic_row{
        grid-template-rows: 1fr;
        grid-template-columns: none;
        width: 100%;
        margin-bottom: 10px;
    }
    input, select{
        width: 100%;
        height: 46px;
        /*padding-top: 5px;
        padding-bottom: 5px;*/
    }
    select{
        height: 48px;
    }
    button{
        width: 50%;
        height: 46px;
        padding-top: 5px;
        padding-bottom: 5px;
        margin-left: auto;
        margin-right: auto;
    }
    #myForm{
        max-width: 100%;
        width: 90%;
    }
    #main_cont_{
        max-width: 100%;
        width: 90%;
    }
    .register{
        margin-bottom: 15px;
    }
    .basic_3_fix_col_cont{
        grid-template-columns: 1fr 100% 1fr;
    } 
    .basic_container_of_rows{
        max-width: 90%;
    }

}
@media screen and (min-width: 601px) {
    .big-label-field{
        /*max-width: 250px;*/
    }
}










/* ============================== */
/*           GRID STYLES          */
/* ============================== */

.single_row{
    grid-template-columns: 1fr 110px auto; 
    padding-bottom: 5px; 
    margin-bottom: 0px; 
    
    border-width: var(--basic-border-thickness);
    border-style: solid; 
    /*border-image: linear-gradient(to right, var(--basic-border-color) 50%, var(--mainGround) 70%, var(--basic-border-color) 90%) 1;*/
    border-color: var(--basic-border-color);
    border-top: none; 
    border-left: none; 
    border-right: none;
}

.column_1, .column_2, .column_3{
    display: grid; 
    align-content: space-evenly;
}
.column_1_name{
    font-weight: 700;
}
.column_1_vessel{
    overflow: hidden; text-wrap: nowrap;
}

.checkbox_field{
    display: grid; 
    grid-template-columns: 90px 85px 100px 1fr 62px 95px; 
    align-items: center;
    column-gap: 5px;
}
.checkbox_field_2{
    display: grid; 
    grid-template-columns: 90px 85px 65px 1fr 62px 95px; 
    align-items: center;
    column-gap: 5px;
}
.checkbox_field_3{
    display: grid; 
    grid-template-columns: 65px 85px 100px; 
    align-items: center;
    column-gap: 5px;
}
.lower_input{
    margin-top: 1px; 
    margin-bottom: -1px;
    border-bottom: none;
}

/* for LOAD DATA */

.row_style{
    grid-template-columns: 100px 1fr; 
    column-gap: 25px; 
    overflow: hidden; 
    margin-bottom: 0px; 
    padding-bottom: 5px; 
    border-bottom: var(--basic-border-thickness) solid var(--basic-border-color);
}
.row_2_style{
    display: grid; 
    grid-template-columns: 10px 1fr; 
}
.row_part_style{
    border-radius: 50%; 
    height: 10px; 
    width: 10px; 
    margin: auto; 
    border: var(--basic-border-thickness) solid var(--basic-border-color);
}