﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 4px;
}
/* Track */
::-webkit-scrollbar-track {
    border-radius: 10px;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #7A7FFF!important;
    border-radius: 10px;
}
    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #4A4FBA;
    }

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow: overlay;
    color: #212121;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }



.truncate_question {
    overflow: scroll;
    max-height: 5.5rem;
}
.vote_div {
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
}
.buttons {
    border: none;
    background: none;
}
.buttons:focus {
    outline: 0;
}
.like_icon {
    width: 20px;
    height: 22px;
}
.sort_buttons {
    font-size: 14px !important;
    border-radius: 20px !important;
    /*font-weight: 600 !important;*/
}
    .sort_buttons:focus {
        outline: none !important;
        box-shadow: none !important;
    }
.sort_buttons_div {
    background-color: #ebebeb;
    border-radius: 25px;
    padding: 4px;
    margin-bottom: 15px;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
}

.refresh_button {
    width: 36px;
    background-color: transparent !important;
    font-size: 14px !important;
    border-radius: 100% !important;
    color: #9d9d9d !important;
}
.container {
    max-width: 650px;
}

#scrollButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 14px;
    border: none;
    outline: none;
    background-color: #8b4749;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 28px;
}
    #scrollButton:hover {
        background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
        background-size: auto;
        box-shadow: inset 0 -3px 0 0 rgb(255 255 255 / 20%);
    }

@media screen and (max-width: 576px) {
    .truncate_question {
        overflow: scroll;
        max-height: 5.5rem;
        padding-bottom: 5px !important;
    }
    .vote_div {
        text-align: center;
        display: flex;
        justify-content: flex-end;
        align-content: center;
        padding-top: 0 !important;
    }
    .likebutton {
        border: none;
        background: none;
        padding-top: 0 !important;
    }
    .sort_buttons {
        background-color: #8b4749;
        font-size: 14px;
        border-radius: 20px;
        padding: 0 !important;
        width: 7rem;
        margin-top: 10px;
    }
    .sort_buttons_div {
        margin-bottom: 15px;
        text-align: center;
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
        margin-top: 1rem;
    }
    .refresh_div {
        width: 100%;
        margin-top: 0.7rem;
    }
}
@media (max-width: 436px) {
    .sort_buttons {
        background-color: #8b4749;
        font-size: 14px;
        border-radius: 20px;
        padding: 0 !important;
        width: 6rem;
        margin-top: 10px;
    }
}
@media (max-width: 768px) {
    .container {
        width: 100%;
    }
    .sort_buttons_div {
        display: flex;
        justify-content: space-evenly;
        margin-bottom: 15px;
        text-align: center;
    }
}


.div_login_banner {
    width: 100%;
    height: 15rem;
    border-radius: 0 0 80px 80px;
    background: url(/imgs/milad-fakurian-CWcVHTxP0IM-unsplash.jpg);
    background-size: cover;
}
.login_banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15rem;
    flex-direction: column;
}
.img_logo {
    width: 45px;
}
.title {
    color: white;
    margin: 20px 0 0 0;
    max-width: 300px;
    width: 85%;
    text-align: center;
    font-size: 20px;
}

.div_guide {
    text-align: center;
    margin-bottom: 45px;
}
#guide_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}
.guide_text {
    font-size: 15px;
}
.form_labels {
    font-size: 11px;
    font-weight: 600;
    margin: 0 0 6px 10px !important;
}
.form_input {
    width: 100% !important;
    padding: 0 15px !important;
    border-radius: 17px !important;
    font-size: 14px !important;
}
@media (max-width: 500px) {
    #guide_title {
        font-size: 15px;
    }
    .guide_text {
        font-size: 13px;
    }
    .img_logo {
        width: 35px;
    }
    .title {
        font-size: 18px;
    }
}

@media (max-width: 446px) {
    .div_login_banner {
        height: 18rem;
    }
    .login_banner {
        height: 17rem;
    }
}



/* QUESTIONS TAB */

.but_tab_opt {
    font-size: 14px;
    border-radius: 16px;
}
.div_likes {
    display: flex;
    align-items: flex-end;
}
.div_likes_count {
    width: 22px;
    padding: 0 4px;
    border-radius: 3px;
    background-color: #F1F1F1;
    margin-right: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.likes_text {
    font-size: 13px;
    margin: 0;
    color: #494949;
}