#modalbuilder {
    display: none;
    position: fixed;
    z-index: 99;
    width: 500px;
    background-color: #fefefe;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

.modalbuilder-top-left {
    top: 10px;
    left: 10px;
}

.modalbuilder-top-right {
    top: 10px;
    right: 10px;
}

.modalbuilder-bottom-left {
    bottom: 10px;
    left: 10px;
}

.modalbuilder-bottom-right {
    bottom: 10px;
    right: 10px;
}

.modalbuilder-bottom-center {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.modalbuilder-top-center {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.modalbuilder-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modalbuilder-left-center {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.modalbuilder-right-center {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.modalbuilder-header {
    height: 45px;
    padding: 5px;
    background-color: #4CAF50;
    color: white;
}
.modalbuilder-header h2 {
    margin: 0;
    float: left;
    line-height: 30px;
    font-size: 22px;
    padding-left: 10px;
}
.modalbuilder-header .closemodal {
    float: right;
    color: white;
    font-size: 28px;
    font-weight: bold;
    line-height: 30px;
}
.modalbuilder-header .closemodal:hover,
.modalbuilder-header .closemodal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.modalbuilder-content {
    padding: 30px 20px;
    text-align: center;
}
.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.checkbox-container label {
    margin-left: 10px;
    position: relative;
    top: 3px;
}
.checkbox-container input[type="checkbox"] {
    position: relative;
    width: 40px;
    height: 20px;
    -webkit-appearance: none;
    background: #c6c6c6;
    outline: none;
    border-radius: 20px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}

.checkbox-container-success input:checked[type="checkbox"] {
    background: #4CAF50;
}

.checkbox-container-primary input:checked[type="checkbox"] {
    background: #3867D6;
}

.checkbox-container-secondary input:checked[type="checkbox"] {
    background: #888888;
}

.checkbox-container-danger input:checked[type="checkbox"] {
    background: #E66767;
}

.checkbox-container-warning input:checked[type="checkbox"] {
    background: #F5CD79;
}

.checkbox-container-info input:checked[type="checkbox"] {
    background: #0ABDE3;
}

.checkbox-container-light input:checked[type="checkbox"] {
    background: #272727;
}

.checkbox-container-dark input:checked[type="checkbox"] {
    background: #1E2224;
}

.checkbox-container input[type="checkbox"]:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    top: 0;
    left: 0;
    background: #fefefe;
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}
.checkbox-container input:checked[type="checkbox"]:before {
    left: 20px;
}
.modalbuilder-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f5f5f5;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

@media screen and (max-width: 600px) {
    #modalbuilder {
        width: 100%;
        max-width: none;
    }
    .modalbuilder-content {
        padding: 10px;
    }
    .modalbuilder-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .modalbuilder-footer button {
        margin-top: 10px;
    }
}

.fontsize24 {
    font-size: 24px;
}

.fontsize32 {
    font-size: 32px;
}

.fontsize46 {
    font-size: 46px;
}