@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

.main-container {
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
    font-size: 15px;
    margin: 20px auto 0;
    background-color: #242424;
    border-radius: 20px;
    box-shadow: 5px 5px 15px 5px #000000;

    font-family: 'Open Sans', sans-serif;
    color: #000000;
}

.main-container .row {
    margin: 6px 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main-container .col {
    border-style: solid;
    border-width: 0.5px;
    border-color: #e3e3e3;
    font-size: 13px;
    text-align: center;
    border-radius: 6px;
    margin: 6px;
    width: 48px;
    min-height: 42px;
    max-height: 42px;
    /*display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;*/
}

.main-option {
    width: calc(60% - 2px);
    height: calc(35% - 2px);


}

.sub-option {
    width: calc(35% - 2px);
    height: calc(35% - 2px);

}

.sub-option-bis {
    width: calc(35% - 2px);
    height: calc(35% - 2px);

}

.col.space .sub-option {
    width: calc(45% - 2px)
}

.empty {
    background-color: #242424 !important;
    border-color: #242424 !important;
    /*background-color: #b20bb8 !important;*/


}

.col {
    color: white;
}

.medium-empty {
    background-color: #242424 !important;
    border-color: #242424 !important;
    /*background-color: #0b5f12 !important;*/
    width: 24px !important;
    margin: 0px !important;
}

.small-empty {
    /*background-color: #c50d0d !important;*/
    background-color: #242424 !important;
    border-color: #242424 !important;
    width: 14px !important;
    margin: 0px !important;
}

.very-small-empty {
    /*background-color: #c50d0d !important;*/
    background-color: #242424 !important;
    border-color: #242424 !important;
    width: 8px !important;
    margin: 0px !important;
}

.tiny-empty {
    /*background-color: #c50d0d !important;*/
    background-color: #242424 !important;
    border-color: #242424 !important;
    width: 4px !important;
    margin: 0px !important;
}


.main-container .col.backspace {
    width: 100px;
    text-align: left;
}

/*.col-key {
    background-color: purple;
}*/

.col.capsloack {
    width: 110px;
    text-align: left;
    margin-left: 26px;
}


.main-container .col.slace {
    width: 100px;
}

.main-container .col.tab {
    width: 100px !important;
}

.ctrl {
    width: 100px !important;
}

.col.shift {
    width: 80px;
}

.col.enter {
    width: 60px;
    text-align: left;
    background-color: rgba(255, 0, 0, 0);


}

.col.slace {
    width: 70px !important;
    background-color: rgba(255, 0, 0, 0);
}

.col.space {
    width: 300px;
}

.square {
    margin-left: 30px !important;
}

.col input,
[id='51'] input,
[id='37'] input,
[id='71'] input,
[id='102'] input {
    cursor: pointer;
    border-color: #242424;
    border-radius: 6px;
    text-align: center;
    color: #fff;
    font-family: Ubuntu;
    font-weight: bolder;
}

[id='37'],
[id='71'],
[id='102'] {
    background-color: #242424 !important;
    border-style: solid;
    border-width: 0.5px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    /*background-color: green;*/
    /*width: 45px;
    height: 95%;*/
    width: 100%;
    height: 100%;

    box-sizing: border-box;
    text-align: center;
    color: #555;
    border-color: #f2f2f2;
    border-style: solid;
    text-shadow: 0 0.5px 1px #777, 0 2px 6px #f2f2f2;
    border-width: 1px;
    border-radius: 2px;
    background: -webkit-linear-gradient(top, #f9f9f9 0%, #D2D2D2 80%, #c0c0c0 100%);
    transition: box-shadow 0.3s ease, transform 0.15s ease;
    box-shadow: 0 0 1px #888, 0 1px 0 #fff, 0 6px 0 #C0C0C0, 0 8px 17px rgba(#444, 0.4), 2px 1px 4px rgba(#444, 0.25), -2px 1px 4px rgba(#444, 0.25), 0 9px 16px rgba(#444, 0.1);
}

#top-rect {
    /*background-color: green !important;*/
    box-sizing: border-box;
    text-align: center;
    color: #555;
    border-color: #f2f2f2;
    border-style: solid;
    text-shadow: 0 0.5px 1px #777, 0 2px 6px #f2f2f2;
    border-width: 2px 2px 0px 2px;
    border-radius: 2px;
    /*background: -webkit-linear-gradient(top, #f9f9f9 0%, #D2D2D2 100%, #c0c0c0 100%);*/
    background-color: #f9f9f9;
    transition: box-shadow 0.3s ease, transform 0.15s ease;
    box-shadow: 0 0 1px #888, 0 1px 0 #fff, 0 6px 0 #C0C0C0, 0 8px 17px rgba(#444, 0.4), 2px 1px 4px rgba(#444, 0.25), -2px 1px 4px rgba(#444, 0.25), 0 9px 16px rgba(#444, 0.1);
    width: 100%;
    height: 50%;
    border-radius: 6px 6px 0px 6px;
    display: flex;
}

#top-rect p {
    margin-left: auto;
    margin-right: auto;
}



#top-rect:hover,
#bottom-rect:hover,
[id='37']:hover,
[id='71']:hover,
[id='102']:hover {
    cursor: grab;

}

#bottom-rect {
    /*background-color: green !important;*/
    border-style: solid;
    border-width: 0.5px;
    border-color: transparent #e3e3e3 #e3e3e3 #e3e3e3;

    font-size: 10px;

    box-sizing: border-box;
    text-align: center;
    color: #555;
    border-color: #f2f2f2;
    border-style: solid;
    text-shadow: 0 0.5px 1px #777, 0 2px 6px #f2f2f2;
    border-width: 0px 1px 1px 1px;
    border-radius: 2px;
    background: -webkit-linear-gradient(top, #f9f9f9 0%, #D2D2D2 80%, #c0c0c0 100%);
    transition: box-shadow 0.3s ease, transform 0.15s ease;
    box-shadow: 0 0 1px #888, 0 1px 0 #fff, 0 6px 0 #C0C0C0, 0 8px 17px rgba(#444, 0.4), 2px 1px 4px rgba(#444, 0.25), -2px 1px 4px rgba(#444, 0.25), 0 9px 16px rgba(#444, 0.1);

    display: flex;
    width: 100%;
    height: 50%;
    border-radius: 0px 0px 6px 6px;
    margin-left: 20%;
}



.col input:focus,
[id='51'] input:focus,
[id='37'] input:focus,
[id='71'] input:focus,
[id='102']:focus {
    outline: none;

}

.col .main-option,
[id='51'] .main-option,
[id='37'] .main-option,
[id='71'] .main-option,
[id='102'] .main-option {
    background-color: #747575;

}

.col .sub-option,
[id='51'] .sub-option,
[id='37'] .sub-option,
[id='71'] .sub-option,
[id='102'] .sub-option {
    background-color: #747575;
}

.rightclickopt {
    width: 14px;
    height: 18px;
    border: 2px solid #000000;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.main-container .col .rightclickopt span {
    width: 100%;
    height: 1px;
    background-color: #000000;
    margin: 2px 0;
}

.main-container .col.tab,
.main-container .col.slace {
    width: 84px;
    text-align: left;
}

.input-wrapper #input {
    padding: 13px;
    display: block;
    width: 30%;
    margin: 0 auto;
    background-color: #f1f1f1;
    border: 2px solid #ddd;
    border-radius: 4px;
    height: 20px;
}


/*#enter-key {
    visibility: hidden;
}*/

[id='51'] {
    position: absolute;
    display: flex;
    background-color: rgba(255, 0, 0, 0);
    width: 65px !important;
    height: 40px;
    flex-wrap: wrap;
}

#top-rect input {
    margin: auto;
    cursor: pointer;
}

#bottom-rect input {
    margin-top: auto !important;
    margin-bottom: auto !important;
    margin: 1px;
    cursor: pointer;
}

[id='37'],
[id='71'],
[id='102'] {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    border-radius: 6px;
    border-color: #e3e3e3;
}

[id='37'] input {
    cursor: pointer;
}

[id='71'] input {
    cursor: pointer;
}

[id='102'] input {
    cursor: pointer;
}

#minus-top,
#minus-bottom,
#plus-top,
#plus-bottom,
#num-enter {
    background-color: #0b5f1200;
}


.to-conceal {
    /*border-color: #0b5f1200 !important;*/
    border-color: #f2f2f2;
}

.unit-div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    background-color: green;
    /*width: 45px;
    height: 95%;*/
    width: 100%;
    height: 100%;

    box-sizing: border-box;
    text-align: center;
    color: #555;
    border-color: #f2f2f2;
    border-style: solid;
    text-shadow: 0 0.5px 1px #777, 0 2px 6px #f2f2f2;
    border-width: 1px;
    border-radius: 2px;
    /*background: -webkit-linear-gradient(top, #f9f9f9 0%, #D2D2D2 80%, #c0c0c0 100%);*/
    transition: box-shadow 0.3s ease, transform 0.15s ease;
    box-shadow: 0 0 1px #888, 0 1px 0 #fff, 0 6px 0 #C0C0C0, 0 8px 17px rgba(#444, 0.4), 2px 1px 4px rgba(#444, 0.25), -2px 1px 4px rgba(#444, 0.25), 0 9px 16px rgba(#444, 0.1);
}


.unit-div-empty {
    background-color: green !important;
}

.unit-div:hover {
    cursor: grab;
}


.unit-not-used {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    /*background-color: green;*/
    /*width: 45px;
    height: 95%;*/
    width: 42px;
    min-height: 36px;
    max-height: 36px;

    margin-left: 5px;
    margin-right: 5px;

    font-size: 10px;

    box-sizing: border-box;
    text-align: center;
    color: #555;
    border-color: #f2f2f2;
    border-style: solid;
    text-shadow: 0 0.5px 1px #777, 0 2px 6px #f2f2f2;
    border-width: 1px;
    border-radius: 2px;
    background: -webkit-linear-gradient(top, #f9f9f9 0%, #D2D2D2 80%, #c0c0c0 100%);
    transition: box-shadow 0.3s ease, transform 0.15s ease;
    box-shadow: 0 0 1px #888, 0 1px 0 #fff, 0 6px 0 #C0C0C0, 0 8px 17px rgba(#444, 0.4), 2px 1px 4px rgba(#444, 0.25), -2px 1px 4px rgba(#444, 0.25), 0 9px 16px rgba(#444, 0.1);
}

.unit-not-used:hover {
    cursor: grab;
}


.unit-not-used {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    /*background-color: green;*/
    /*width: 45px;
    height: 95%;*/
    width: 42px;
    min-height: 36px;
    max-height: 36px;

    margin-left: 5px;
    margin-right: 5px;

    font-size: 10px;

    box-sizing: border-box;
    text-align: center;
    color: #555;
    border-color: #f2f2f2;
    border-style: solid;
    text-shadow: 0 0.5px 1px #777, 0 2px 6px #f2f2f2;
    border-width: 1px;
    border-radius: 2px;
    background: -webkit-linear-gradient(top, #f9f9f9 0%, #D2D2D2 80%, #c0c0c0 100%);
    transition: box-shadow 0.3s ease, transform 0.15s ease;
    box-shadow: 0 0 1px #888, 0 1px 0 #fff, 0 6px 0 #C0C0C0, 0 8px 17px rgba(#444, 0.4), 2px 1px 4px rgba(#444, 0.25), -2px 1px 4px rgba(#444, 0.25), 0 9px 16px rgba(#444, 0.1);
}

.unit-not-used:hover {
    cursor: grab;
}

.unit-in-search {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    /*background-color: green;*/
    /*width: 45px;
    height: 95%;*/
    width: 50px;
    min-height: 46px;
    max-height: 46px;

    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;

    font-size: 10px;

    box-sizing: border-box;
    text-align: center;
    color: #555;
    border-color: #f2f2f2;
    border-style: solid;
    text-shadow: 0 0.5px 1px #777, 0 2px 6px #f2f2f2;
    border-width: 1px;
    border-radius: 4px;
    background: -webkit-linear-gradient(top, #f9f9f9 0%, #D2D2D2 80%, #c0c0c0 100%);
    transition: box-shadow 0.3s ease, transform 0.15s ease;
    box-shadow: 0 0 1px #888, 0 1px 0 #fff, 0 6px 0 #C0C0C0, 0 8px 17px rgba(#444, 0.4), 2px 1px 4px rgba(#444, 0.25), -2px 1px 4px rgba(#444, 0.25), 0 9px 16px rgba(#444, 0.1);
}

.unit-in-search:hover {
    cursor: pointer;
    border-color: #444;
    border-width: 2px;
    box-shadow: 0 0 10px #078CB4;

}

.main-key-option {
    width: calc(100% - 2px);
    height: calc(60% - 2px);
    margin-left: auto;
    margin-right: auto;
    pointer-events: fill;

}

.other-key-option {
    width: calc(45% - 2px);
    height: calc(40% - 2px);
    margin-bottom: 10px;
    pointer-events: none;
}


.main-key-not-used {
    width: calc(100% - 4px);
    height: calc(60% - 2px);
    margin-left: auto;
    margin-right: auto;
    pointer-events: fill;
    text-align: center;

}

.other-key-not-used {
    width: calc(45% - 2px);
    height: calc(40% - 2px);
    margin-bottom: 10px;
    pointer-events: none;
}


.col-plus {
    background: url('/plus-icon.svg') center no-repeat;
}

.col-plus:hover {
    cursor: pointer;
}

.top-empty {
    background: url('./plus-icon.svg') center no-repeat !important;
    border-width: 1px 1px 0px 1px !important;
}

.top-empty:hover {
    cursor: pointer !important;

}

.bottom-empty {
    background: transparent !important;

}

.bottom-empty:hover {
    cursor: pointer !important;

}