@import "style.css";
@import "STY-modal.css";

/* ------------------------------------------------------------- FORMS */
.nodisplay {
    display: none;
}
.form-100w {
    width: 100%;
    display: flex; flex-direction: column; align-items: center;
}
.form-300 {
    width: 300px;
    display: flex; flex-direction: column; align-items: center;
}
.input {
    width: 100%; height: 46px;
    background-color: var(--white);
    border: none;
    outline: none;
    color: var(--text-dark);
    font-family: 'Spinnaker', sans-serif;
    font-size: 14px;
    padding: 0px 10px;
    box-sizing: border-box;
    margin-top: 10px;
}

.input-with-label {
    width: 100%; height: 46px;
    background-color: var(--white);
    border: none;
    outline: none;
    color: var(--text-dark);
    font-family: 'Spinnaker', sans-serif;
    font-size: 14px;
    padding: 0px 10px;
    box-sizing: border-box;
    margin: 1px 0px 20px 0px;
}

.textarea {
    width: 100%; height: 100px;
    background-color: var(--white);
    border: none;
    outline: none;
    color: var(--text-dark);
    font-size: 14px;
    font-family: 'Spinnaker', sans-serif;
    margin: 10px 0px 40px 0px;
    padding: 10px;
    box-sizing: border-box;
}
.textarea-with-label {
    width: 100%; height: 100px;
    background-color: var(--white);
    border: none;
    outline: none;
    color: var(--text-dark);
    font-size: 14px;
    font-family: 'Spinnaker', sans-serif;
    margin: 1px 0px 20px 0px;
    padding: 10px;
    box-sizing: border-box;
}

.textarea-blog {
    width: 100%; height: 300px;
    background-color: var(--white);
    border: none;
    outline: none;
    color: var(--text-dark);
    font-size: 14px;
    font-family: 'Spinnaker', sans-serif;
    margin: 10px 0px 0px 0px;
    padding: 10px;
    box-sizing: border-box;
}

.input-number-with-label {
    width: 100px; height: 46px;
    background-color: var(--white);
    border: none;
    outline: none;
    color: var(--text-dark);
    font-family: 'Spinnaker', sans-serif;
    font-size: 14px;
    padding: 0px 10px;
    box-sizing: border-box;
    margin: 1px 0px 20px 0px;
}


.question {
    width: 100%;
    display: flex; flex-direction: column; align-items: center;
    margin-bottom: 20px;
}
.option {
    width: 100%;
    display: flex; flex-direction: row; align-items: center;
    margin-bottom: 5px;
} 
.option input {
    width: 20px; height: 20px;
    margin-right: 10px;
} 

.checkboxDiv {
    display: flex; flex-direction: column; justify-content: left;
}
.checkboxDiv-row {
    display: flex; flex-direction: row; justify-content: left; align-items: center;
}
.checkbox {width: 14px; height: 14px;} 
.checkbox-big {width: 24px; height: 24px;} 


/* -------------------------------------------- REGISTER */
.register-left {
    width: 60%;
    background-color: var(--green-300);
    display: flex; flex-direction: column; align-items: center;
    padding: 40px;
    box-sizing: border-box;
}
.register-right {
    width: 40%;
    background-color: var(--lilac-500);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 40px;
    box-sizing: border-box;
}

.form-register {
    width: 50%;
    display: flex; flex-direction: column; align-items: center;
    margin-top: 20px;
}


/* -------------------------------------------- LOGIN */
.login-left {
    width: 50%; min-height: 95vh;
    background-color: var(--green-300);
    display: flex; flex-direction: column; align-items: center;
    padding: 40px;
    box-sizing: border-box;
}
.login-right {
    width: 50%; min-height: 95vh;
    background-color: var(--lilac-500);
    display: flex; flex-direction: column; align-items: center;
    padding: 40px;
    box-sizing: border-box;
}

.form-login {
    width: 50%;
    display: flex; flex-direction: column; align-items: center;
    margin-top: 20px;
}
.login-alert {
    height: 12px;
    margin-bottom: 24px;
}

/* -------------------------------------------- SETTINGS */
.settings-left {
    width: 50%;
    background-color: var(--white);
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 40px;
    box-sizing: border-box;
}
.settings-right {
    width: 50%; min-height: 95vh;
    background-color: var(--green-300);
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 40px;
    box-sizing: border-box;
}
.form-settings {
    width: 70%;
    display: flex; flex-direction: column; align-items: center;
    margin-top: 20px;
}
.settings-alert {
    height: 12px;
    margin-bottom: 24px;
}
.setting-link {
    width: 70%;
    display: flex; flex-direction: row; align-items: flex-end;
    margin-bottom: 10px;
}

/* -------------------------------------------- ADD BLOG POST  */
.blog-list-item {
    width: 100%;
    display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center;
    padding: 10px 0px;
}
.blog-list-item:hover {background-color: var(--green-300);}

.blog-list-text {
    width: calc(100% - 90px);
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    margin: 0px 20px 0px 10px;
}
.icon-blog {
    width: 30px; height: 30px;
    fill: var(--text-dark);
    margin-right: 10px;
}
.icon-blog:hover {fill: var(--blue-700)}

.blog-left {
    width: 50%; min-height: 95vh;
    background-color: var(--white);
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 40px;
    box-sizing: border-box;
}
.blog-right {
    width: 50%; min-height: 95vh;
    background-color: var(--green-300);
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 40px;
    box-sizing: border-box;
}
.form-blog {
    width: 90%;
    display: flex; flex-direction: column; align-items: center;
    margin-top: 20px;
}
.add-sections-type {
    width: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.input-blog-sec-type {
    width: 40px; height: 40px;
    border-radius: var(--br-10);
    border: solid 1px var(--blue-700);
    outline: none;
    background-color: var(--white);
    padding: 10px;
    box-sizing: border-box;
    color: var(--blue-700);
    font-size: 20px;
    text-align: center;
    margin-left: 10px;
}

.add-blog-img-upload {
    height: 120px;
    margin-top: 10px;
    cursor: pointer;
}

/* -------------------------------------------- CONTENT  */
.form-content {
    width: 90%;
    display: flex; flex-direction: column;
    margin-top: 20px;
}
/* ------------------------------------------------------------- @media */
@media only screen and (max-width: 1000px) {
    .form-settings { width: 100%;}
}
@media only screen and (max-width: 800px) {
    .row-topC {flex-direction: column;}
    .login-left, .register-left, .blog-left {
        width: 100%; min-height: 70vh;
    }
    .login-right, .register-right, .settings-right, .blog-right {
        width: 100%; min-height: 70vh;
    }
    .settings-left {width: 100%;}
}

@media only screen and (max-width: 600px) {
    .form-login, .form-register {width: 70%;}
    .form-300 {width: 100%}
}

@media only screen and (max-width: 400px) {
    .form-login, .form-register, .form-settings {width: 90%;}
}