:root {
    --main-font-size: 16px
}

p, li, a, div, ul, ol {
    font-size: var(--main-font-size);
    margin: 0;
    padding: 0;
}

.main-setting-block {
    margin-top: 5vh;
    width: 87vw;
    height: 100vh;
    display: flex;
    justify-content: space-between;
}

.setting-form-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;
    height: 300px;
    border-radius: 10px;
    border: 1px solid grey;
    box-shadow: 1px 1px 1rem #958383;
}

.subdomain-form {
    display: flex;
    flex-direction: column;
    max-width: 400px;

    && input {
        width: 400px;
        margin-bottom: 10px;
        height: 50px;
        border: 1px solid grey;
        border-radius: 10px;
        font-size: var(--main-font-size)
    }

    && input[type="number"]::-webkit-inner-spin-button,
    && input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    && input[type="number"] {
        -moz-appearance: textfield;
    }

    && input[type="submit"]:hover {
        background: cornflowerblue;
        color: white;
        transition-duration: 0.5s;
        cursor: pointer;
    }

    && input[type="file"] {
        border: none;
        border-radius: 0;

    }
}

.cities-list-block {
    width: 30vw;
    height: 80vh;
    border: 1px solid grey;
    border-radius: 10px;
    padding: 1rem;
    overflow: auto;
    box-shadow: 1px 1px 1rem #958383;
}

.cities-list {
    border-radius: 10px;
}

.city-element-grey {
    height: 40px;
    background: #cce2ef;
    display: flex;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 1rem;
    flex-wrap: wrap;
    align-content: center !important;
}

.city-element-white {
    height: 40px;
    background: white;
    display: flex;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 1rem;
    flex-wrap: wrap;
    align-content: center !important;
}

.delete-button {
    &&:hover {
        background: cornflowerblue;
        color: white;
        transition-duration: 0.5s;
        cursor: pointer;
    }
}

#subdomain-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.subdomain-modal-content {
    max-width: 300px;
    max-height: 500px;
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    box-shadow: 0 0 5px grey;
}

.city-list {
    max-height: 300px;
    overflow: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#city-search {
    margin-bottom: 1rem;
}