body {
    padding: 0;
    margin: 0;
    background-color: white;
}

main {
    padding-top: 70px;
    padding-bottom: 70px;
}

.navbar {
    background-color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    border-bottom: 1px;
    border-top: 1px solid gainsboro;
    box-shadow: 0 0 10px 5px rgb(0, 0, 0, .1);
    z-index: 1;
}

.nav-item {
    color: white;
    font-size: 36px;
    width: 20%;
    text-align: center;
}

.nav-item a {
    text-decoration: none;
    display: block;
}

.nav-item:hover {
    background-color: gainsboro;
}

.nav-item svg {
    width: 24px;
    height: 24px;
}

.nav-item-selected {
    background-color: gainsboro;
}

.profile-info,
.other-page-buttons,
.create-form,
.questions,
.questions-filter,
.questions-sort,
.users-filter,
.users,
.notifications,
.friends,
.settings,
.coins {
    padding: 10px;
}

select,
button {
    font-family: IRANYekanX
}

textarea {
    resize: none;
    box-sizing: border-box;
}

input[type='text'],
input[type='number'],
input[type='password'],
select,
textarea,
button {
    width: 100%;
    border-radius: 5px;
    border: 1px solid gray;
    color: black;
}

input[type='text'],
input[type='number'],
input[type='password'] {
    padding: 4px;
    box-sizing: border-box;
}

.half-width {
    width: 49%;
    display: inline-block;
}

.profile-section textarea {
    height: 200px;
}

.create-form textarea {
    height: 200px;
}

.question-card textarea {
    height: 50px;
}

.page-name {
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 150%;
    background-color: white;
    box-shadow: 0 0 10px 5px rgb(0, 0, 0, .1);
    z-index: 1;
}

input:disabled,
textarea:disabled,
select:disabled {
    background-color: whitesmoke;
    color: dimgray;
}

button {
    padding: 4px;
    border: none;
}

button:hover {
    background-color: gainsboro;
}

button svg {
    height: 17.6px;
    width: 17.6px;
    vertical-align: bottom;
}

.inline-svg {
    display: inline-block;
}

.profile-section,
.filter-section,
.create-section,
.questions-title {
    margin-bottom: 10px;
}

.questions-title,
.setting-section-title {
    text-align: center;
}

input[type='radio'] {
    accent-color: #ff4040;
}

.question-card label {
    width: 100%;
}

.question-card,
.user-section,
.notification-section,
.question-filter-section,
.friend-section,
.setting-section,
.coin-section,
.package-section {
    border-radius: 5px;
    border: 1px solid gray;
    margin-bottom: 10px;
    padding: 4px;
}

.question {
    margin: 0;
    margin-bottom: 5px;
}

.submit-answer,
.delete-answer,
.report-question,
.apply-as-filter {
    margin-bottom: 4px;
}

.nav-item a {
    width: 100%;
}

.other-page-buttons button {
    width: auto;
}

.other-page-buttons .float-left {
    margin-right: 5px;
}

.other-page-buttons .float-right {
    margin-left: 5px;
}

.hidden {
    display: none;
}

.user-section svg {
    width: 17.6px;
    height: 17.6px;
    vertical-align: bottom;
}

.friend-section svg {
    width: 17.6px;
    height: 17.6px;
    vertical-align: bottom;
}

.question-card svg {
    width: 17.6px;
    height: 17.6px;
    vertical-align: bottom;
}

.user-section {
    background-color: whitesmoke;
}

.unread {
    background-color: whitesmoke;
}

.accept-follow,
.cancel-delete-friend,
.view-profile,
.change-password,
.cancel-delete-account {
    background-color: white;
    color: #ff4040;
    border: 1px, solid, #ff4040;
}

.decline-follow,
.delete-friend,
.accept-delete-friend,
.delete-account,
.accept-delete-account {
    background-color: #ff4040;
    color: white;
    border: 1px, solid, #ff4040;
}

.accept-follow:hover,
.cancel-delete-friend:hover,
.view-profile:hover,
.change-password:hover,
.cancel-delete-account:hover {
    background-color: white;
    color: red;
    border: 1px, solid, red;
}

.decline-follow:hover,
.delete-friend:hover,
.accept-delete-friend:hover,
.delete-account:hover,
.accept-delete-account:hover {
    background-color: red;
    color: white;
    border: 1px, solid, red;
}

.accept-follow:active,
.cancel-delete-friend:active,
.view-profile:active,
.change-password:active,
.cancel-delete-account:active {
    background-color: white;
    color: red;
    border: 1px, solid, red;
}

.decline-follow:active,
.delete-friend:active,
.accept-delete-friend:active,
.delete-account:active,
.accept-delete-account:active {
    background-color: red;
    color: white;
    border: 1px, solid, red;
}

.user-section:hover {
    background-color: gainsboro;
}

.user-section:active {
    background-color: gainsboro;
}

.message {
    border-radius: 5px;
    border: 1px solid gray;
    padding: 4px;
    background-color: white;
    width: 100%;
    text-align: center;
}

.message-box {
    padding: 10px;
    position: fixed;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #00000080;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.option-input,
.add-option,
.change-password,
.delete-account {
    margin-top: 4px;
}

.buy-coins {
    background-color: gold;
    color: white;
    border: 1px, solid, gold;
}

.buy-coins:hover {
    background-color: #ccac00;
    color: white;
    border: 1px, solid, #ccac00;
}

.buy-coins:active {
    background-color: #ccac00;
    color: white;
    border: 1px, solid, #ccac00;
}

.coin-section {
    text-align: center;
}

.package-section {
    background-color: gold;
    color: white;
    border: 1px, solid, gold;
}

.package-section:hover {
    background-color: #ccac00;
    color: white;
    border: 1px, solid, #ccac00;
}

.package-section:active {
    background-color: #ccac00;
    color: white;
    border: 1px, solid, #ccac00;
}

input,
select,
button {
    height: 40px;
}

input[type='radio'] {
    height: auto;
    margin-top: 0;
    height: 30px;
    vertical-align: middle;
}

.float-left {
    float: left;
}