.d-flex {
    display: flex;
}

.centerX {
    display: flex;
    justify-content: center;
}

.centerY {
    display: flex;
    align-items: center;
}

.centerXY {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spreadX {
    width: 100%;
}

.spreadY {
    height: 100%;
}

.spreadXY {
    width: 100%;
    height: 100%;
}

.screenXY {
    width: 100vw;
    height: 100vh;
}

.lift-1 {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.border-1 {
    border: 1px solid #EDEDF2;
}

.tm-spin {
    animation: tm-spin 2s infinite linear;;
}

/*CSS for switch with text*/
.switch-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-text>input[type=checkbox]{
    height: 0;
    width: 0;
    visibility: hidden;
}

.switch-text>label {
    cursor: pointer;
    width: 50px;
    height: 22px;
    background: #96ADD0;
    display: block;
    border-radius: 4px;
    position: relative;
    line-height: 20px;
}

.switch-text>label:before {
    content: 'OFF';
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    margin-left: 23px;
}

.switch-text>label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

.switch-text>input:checked + label:before {
    content: 'ON';
    margin-left: 6px;
}

.switch-text>input:checked + label {
    background: #66BB6A;
}

.switch-text>input:checked + label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.switch-text>label:active:after {
    width: 22px;
}

@keyframes tm-spin {
    0% {
        transform: rotate(0);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
