

.menuhoriz .header {
    background-color: #333;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.menuhoriz .header__inner {
    padding: 0 10rem;
}

.menuhoriz .header__inner--items {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.menuhoriz .header__inner--items li {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menuhoriz .header__inner--items a {
    font-size: 1.3rem;
    padding: 1.5rem 0;
    flex: 1;
    display: flex;
    justify-content: center;
    color: #fff;
    transition: all .2s ease-in-out;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    transition-property: color;
    transition-duration: .8s;
}

.menuhoriz .header__inner--items a i {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.menuhoriz .header__inner--items li:not(:last-of-type) {
    margin-left: 1rem;
}

.menuhoriz .header__inner--items a:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: crimson;
    transform: scaleX(0);
    transform-origin: 100% 50%;
    transition-property: transform;
    transition-duration: .8s;
    transition-timing-function: ease-out;
}

.menuhoriz .header__inner--items a:hover:before,.menuhoriz .header__inner--items a:focus:before,.menuhoriz .header__inner--items a:active:before {
    transform: scaleX(1);
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.menuhoriz .active {
    background-color: crimson;
}

.main__step {
    margin-top: 2rem;
    background-color: #333;
    border-radius: 7px;
    padding: 1rem 0;
}

.main__step span {
    position: relative;
}

.main__step--menu li > a {
    color: #aca4a4;
}

.main__step--menu li {
    margin-right: 2rem;
    font-size: 1.3rem;
    font-family: 'IRANYekanWeb';
}

.main__step--menu {
    display: flex;
}

.main__step--menu li:last-of-type {
    margin-right: 2.5rem;
    color: #fff;
}

.main__step--menu li:not(:last-of-type):after {
    content: '\003e';
    position: absolute;
    margin-right: .8rem;
    font-size: 1.5rem;
    color: #aca4a4;
}

.main__content {
    display: flex;
}

.main__content--right {
    flex: 0 0 75%;
    border-radius: 7px;
    margin-top: 5rem;
    background-color: #f3ecec;
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, .1);
    overflow: hidden;
}

.main__right--top {
    display: flex;
    background-color: #333;
    border-top-right-radius: 7px;
    border-top-left-radius: 7px;
    justify-content: space-between;
    padding: 1.8rem 2rem;
    align-items: center;
    color: #eee;
}

.main__author {
    font-size: 1.5rem;
}

.main__time, .main__date {
    font-size: 1.2rem;
}

.main__time, .main__author, .main__date {
    display: flex;
    align-items: center;
}

.main__time i, .main__author i, .main__date i {
    display: flex;
    margin-left: .8rem;
    font-size: 1.5rem;
}

.main__time span, .main__author span, .main__date span {
    margin-right: .5rem;
}

.main__bookmarks {
    display: flex;
    align-items: center;
}

.main__bookmarks label {
    margin-left: 1.5rem;
    font-size: 1.5rem;
}

.main__bookmarks i {
    display: flex;
    font-size: 2.1rem;
    transition: all .2s ease-in-out;
    color: #eee;
}

.btn__bookmarks {
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.btn__bookmarks:hover i {
    color: crimson;
}

.main__right--middle {
}

.main__right--header {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.main__right--header h1 {
    font-size: 1.8rem;
}

.main__right--img {
    display: flex;
    justify-content: center;
    margin-top: 3rem;

}

.main__right--img img {
    width: 70%;
    height: auto;
}

.main__right--text {
    padding: 3rem 5rem;
}

.main__right--text h3 {
    font-size: 1.6rem;
    margin-top: 2rem;
}

.main__right--text p {
    text-align: justify;
    margin-top: 2rem;
    font-size: 1.5rem;
    font-family: IRANYekanWeb;
}

.main__bottom--first {
    padding: 3rem 5rem;
    display: flex;
    justify-content: space-between;
}

.main__source {
    display: flex;
    font-size: 1.5rem;
}

.main__source span a {
    color: deepskyblue;
    margin-right: .8rem;
}

.main__score--rate {
    display: flex;
    align-items: center;
    font-size: 2.5rem;
}

.main__score--rate label {
    margin-left: 1rem;
}

.main__score--stars {
    display: flex;
    margin-top: .5rem;
}

.main__score--stars i {
    color: goldenrod;
}

.main__score--number {
    font-size: 1.2rem;
    color: grey;
    display: flex;
    justify-content: flex-end;
}

.main__bottom--second {
    background-color: #333;
}

.main__bottom--second, .main__bottom--third {
    padding: 3rem 5rem;
}

.main__view {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 1.3rem;
}

.main__view label {
    font-size: 1.7rem;
}

.main__view span {
}

.main__view a {
    color: deepskyblue;
}

.form__view {
    display: flex;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.form__content {
    display: flex;
    flex: 48%;
    align-items: center;
}

.form__content:nth-child(even) {
    justify-content: flex-end;
}

.form__content label, .form__content2 label {
    color: #fff;
    margin-left: 1rem;
    font-size: 1.3rem;
}

.form__content input, .form__content2 textarea {
    font-family: inherit;
    font-size: 1.3rem;
    border: none;
    padding: .6rem 1.5rem;
    border-radius: 7px;
    flex: 0 0 60%;
}

.form__content input:focus, .form__content2 textarea:focus, .btn__view input {
    outline: none;
}

.form__content2 {
    margin-top: 2rem;
    display: flex;
    flex: 0 0 100%;
}

.form__content2 textarea {
    flex: 1;
    height: 10rem;
}

.btn__view {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.btn__view input {
    border: none;
    margin-top: 3rem;
    padding: 1rem 4rem;
    border-radius: 7px;
    color: #fff;
    background-color: crimson;
    font-size: 1.5rem;
    transition: all .2s ease-in-out;
}

.btn__view input:hover {
    cursor: pointer;
    background-color: #bf1436;
}

.views {
    border-bottom: 2px solid grey;
    padding-bottom: .5rem;
    width: 50%;
}

.views label {
    font-size: 1.6rem;
}

.view__container {
    margin-top: 2rem;
    border-bottom: 2px solid grey;
    padding-bottom: 2rem;
}

.view__content1 {
    display: flex;
    align-items: center;
}

.person__info {
    display: flex;
    margin-left: auto;
    align-items: center;
}

.person__info span {
    font-size: 1.3rem;
    margin-right: 1rem;
}

.person__info img {
    border-radius: 50%;
    width: 4rem;
    height: auto;
}

.person__date {
    display: flex;
    font-size: 1.3rem;
}

.person__calendar, .person__time {
    display: flex;
    margin-left: 2rem;
}

.person__calendar i, .person__time i {
    display: flex;
    align-items: center;
    margin-left: .5rem;
}

.person__calendar label, .person__time label {
    margin-left: .5rem;
}

.view__content2 {
    margin-top: 2rem;
    margin-right: 4rem;
}

.view__content2 p {
    font-size: 1.4rem;
}

.view__content3 {
    display: flex;
    justify-content: flex-end;
    font-size: 1.8rem;
    margin-top: 2rem;
}

.view__content3 a {
    color: #fff;
}

.view__reply, .view__like, .view__dislike {
    margin-left: 3rem;
    background-color: #333;
    border-radius: 50%;
    padding: .7rem;
}


.view__content3 i {
}

.view__content3 i {
    display: flex;
    align-items: center;
}

.view__dislike {
}

.main__content--left {
    flex: 0 0 23%;
    margin-top: 5rem;
    border-radius: 7px;
    background-color: #f3ecec;
    margin-right: 2.5rem;
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, .1);
    overflow: hidden;
    height: 50%;
}

.relation__header {
    display: flex;
    justify-content: center;
    background-color: #333;
    padding: 1.8rem 0;
}

.relation__header h2 {
    color: #fff;
    font-weight: normal;
}

.relation__article--container {
    display: flex;
    border-bottom: 2px solid lightgray;
    padding: 2rem 1rem;
}

.relation__container--info {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 75%;
}

.relation__img {
    flex: 0 0 25%;
    height: 100%;
    display: flex;
}

.relation__img img {
    width: 100%;
    height: 100%;
}

.relation__article--header, .relation__calendar {
    flex: 0 0 85%;
    display: flex;
    justify-content: center;
}

.relation__article--header h4 {
    font-size: 1.5rem;
    font-weight: normal;
    color: #333;
}

.relation__calendar {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.relation__calendar i {
    margin-left: 1rem;
}


.footer {
    background-color: #333;
    margin-top: 5rem;
}

.footer__inner {
    padding: 3rem 0;
}

.footer__inner--top {
    display: flex;
    align-items: center;
    padding-bottom: 1.5rem;
    justify-content: space-between;
    border-bottom: 1px solid grey;
}

.footer__info {
    flex: 0 0 50%;
    padding : 0 10vw;
}

.footer__info--items {
    display: flex;
    justify-content: space-between;
}

.footer__info--items a {
    color: #eee;
    font-size: 1.3rem;

    transition: all .2s ease-in-out;

}

    .footer__info--items a:hover {
        color: #f0997d;
    }

.footer__info--items li {
    transition: all .2s ease-in-out;
}

.footer__info--items li:hover {
    transform: rotate(5deg) scale(1.3);
}

.footer__social {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    padding-right: 33rem;
}

.footer__social h3 {
    font-size: 1.3rem;
    color: #eee;
    font-weight: normal;
    margin-left: 2rem;
}

.footer__social--img {
    display: flex;
}

.footer__social--img a {
    margin: 0 .5rem;
}

.footer__social--img img {
    width: 3rem;
}

.footer__copyright {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.footer__copyright p {
    font-size: 1.3rem;
    color: #eee;
}