@font-face {
    font-family: 'Font-Yekan-B';
    src: url('fonts/YekanWeb-Bold.woff') format('woff');
    font-weight: bold;
}

@font-face {
    font-family: 'Font-Yekan';
    src: url('fonts/YekanWeb-Regular.woff') format('woff');
    font-weight: normal;
}

* {
    direction: rtl;
    font-family: "Font-Yekan-B", Times, serif;
}

body {
    background: #FFEDDE;
}

.search-input {
    border: 1px solid #FFCA9E;
    height: 53px;
    font-size: 15px;
}

.search-frame {
    padding: 20px 0 5px 0;
    background: #fff;
    border-radius: 4px;
}

.search-box {
    position: relative;
    top: 363px;
}

#search select#search-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    border: 1px solid #FFCA9E;
    height: 53px;
    font-size: 15px;
}

#search .arrow-down-select {
    margin-top: -83px;
    left: 38px;
    position: absolute;
    z-index: 2000;
    top: 56px;
    width: 15px;
    height: 15px;
    border: 3px solid #F3D171;
    text-indent: -90000px;
    cursor: pointer;
    border-left: none;
    border-top: none;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#search form input.search-submit {
    width: 100%;
    font-weight: 400;
    border-radius: 6px;
    border-style: solid;
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
    color: #fff;
    padding: 6px 34px;
    height: 53px;
    background: #FE8369;
}

div.counter-categories {
    top: 370px;
    position: relative;
}

.counter-categories .counter-category {
    margin-top: 20px;
}

div.counter-categories .counter-category .counter-bg {
    height: 140px;
    background: #FFDDB9;
    border-radius: 4px;
    border: 2px solid #fff;
}

div.counter-categories .counter-category:first-child .counter-bg {
    background: #F6EEE1;
}

div.counter-categories .counter-category:last-child .counter-bg {
    background: #F3E3F0;
}

div.counter-categories .counter-category a {
    text-decoration: none;
}

div.counter-categories .counter-category .counter-bg img.counter-category-shaer {
    margin: 5px 20px;
    width: 95px;
}

div.counter-categories .counter-category .counter-bg img.counter-category-divan {
    margin: 30px 20px;
    width: 105px;
}

div.counter-categories .counter-category .counter-bg img.counter-category-sher {
    margin: 23px 20px;
    width: 100px;
}

div.counter-categories .counter-category .counter-bg span {
    font-size: 35px;
    color: #5C5D5D;
    margin-right: 40px;
}

div.counter-categories .counter-category .counter-bg span.cat-shaer-title {
    font-size: 15px;
    color: #5C5D5D;
    position: absolute;
    top: 85px;
    right: 230px;
    margin: 0;
}

div.counter-categories .counter-category .counter-bg span.cat-divan-title {
    font-size: 15px;
    color: #5C5D5D;
    position: absolute;
    top: 85px;
    right: 196px;
    margin: 0;
}

div.counter-categories .counter-category .counter-bg span.cat-qaside-title {
    font-size: 15px;
    color: #5C5D5D;
    position: absolute;
    top: 85px;
    right: 214px;
    margin: 0;
}

div.editor-choice {
    margin-top: 20px;
    position: relative;
    top: 440px;
}

div.editor-choice a.continue-poem {
    display: inline-block;
    float: left;
    text-decoration: none;
    color: #9B9B9B;
    font-size: 14px;
}

div.editor-choice span {
    color: #9B9B9B;
    font-size: 14px;
}

div.editor-choice h3 {
    color: #5C5D5D;
    font-size: 23px;
}

div.editor-choice div {
    border-bottom: 1px solid #FFCA9E;
    padding-bottom: 20px;
    margin-bottom: 20px;
}


/*content slider*/

#content-slider {
    position: relative;
    top: 440px;
    margin-bottom: 60px;
}

#content-slider .block-content-slider {
    background: #fff;
    padding: 0;
    border: 1px solid #E5D6C1;
    border-radius: 6px;
    margin-bottom: 20px;
}

#content-slider .block-content-slider .content-slider-header {
    border-bottom: 1px solid #E5D6C1;
    margin: 0 20px;
    padding: 10px 0;
}

#content-slider .block-content-slider .content-slider-header a {
    text-decoration: none;
    color: #FE8469;
}

#content-slider .block-content-slider .content-slider-header img {
    width: 50px;
    height: 50px;
    margin-left: 15px;
    border: 2px solid #F2E8E8;
    border-radius: 50%;
}

#content-slider .block-content-slider .content-slider-body {
    padding: 15px 20px 30px 20px;
    color: #5C5D5D;
    height: 266px;
}

#content-slider .block-content-slider .content-slider-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #FE8469;
}

#content-slider .block-content-slider .content-slider-body p {
    margin: 0 0 4px;
    font-size: 14px;
}

#content-slider .block-content-slider .content-slider-body .read-content-slider {
    display: inline-block;
    float: left;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    color: #fff;
    padding: 4px 20px;
    background: #FE8469;
    margin-top: -15px;
}

div.faale-hafez {
    position: relative;
    top: 440px;
    border: 3px solid #FFF;
    border-radius: 10px;
    height: 250px;
    padding: 0;
    background: #FFEDDE url(../images/faal-bg.jpg) no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

div.faale-hafez a#btn-faale-hafez {
    text-decoration: none;
    position: absolute;
    top: 75px;
    right: 300px;
    font-weight: 400;
    border-radius: 25px;
    font-size: 30px;
    line-height: 20px;
    color: #fff;
    padding: 20px 60px;
    background: #E44D94;
}

div.faale-hafez span {
    position: absolute;
    top: 155px;
    right: 298px;
    font-size: 23px;
    color: #fff;
}

div#show-poet-day {
    box-shadow: 0 1px 2px #000;
    margin-top: 25px;
    position: relative;
    top: 440px;
    border-radius: 6px;
    background: #fff;
    padding: 0;
}

div#show-poet-day #poet-day-img {
    display: inline-block;
    margin: 0 30px 20px 0;
    border-radius: 50%;
    height: 90px;
    width: 90px;
    padding: 0;
}

#divan-slider {
    position: relative;
    top: 440px;
    margin-top: 35px;
    margin-bottom: 60px;
}

#divan-slider .block-divan-slider {
    background: #FFF;
    text-align: center;
    padding: 30px 15px;
    box-shadow: 0 0 3px #979797;
    border-radius: 4px;
    margin-bottom: 20px;
}

#divan-slider a.divan-slider-name {
    text-decoration: none;
    font-size: 18px;
    color: #9B9B9B;
}

div#show-poet-day .poet-day-name {
    color: #5C5D5D;
    display: inline-block;
    margin: 20px 10px;
}

div#show-poet-day .poet-day-name .poet-day-nickname {
    color: #5C5D5D;
}


div#show-poet-day .poet-day-name .poet-day-fullname {
    color: #9B9B9B;
}

div#show-poet-day .poet-day-detail {
    margin: 20px 50px;
}

div#show-poet-day .poet-day-detail p {
    background: #FFF5EC;
    color: #5C5D5D;
    padding: 10px 15px;
    margin: 10px 0;
    font-size: 15px;
}

div#show-poet-day .poet-day-zendeginame {
    color: #5C5D5D;
    font-size: 20px;
    margin-top: 35px;
}

div#show-poet-day .poet-day-description {
    color: #5C5D5D;
    text-align: justify;
    margin-left: 40px;
    font-size: 15px;
}

div#show-poet-day .poet-day-more-link {
    color: #FE8469;
    display: inline-block;
    float: left;
    font-size: 12px;
    margin-left: 50px;
    margin-bottom: 20px;
}

div#favorite-poet {
    margin-top: 25px;
    position: relative;
    top: 440px;
}

div#favorite-poet img.favorite-poet-img {
    border-radius: 50%;
    width: 100%;
    /*height: auto;*/
    padding: 0;
    margin-bottom: 20px;
    border: 3px solid #fff;
    height: 159px;
}

div#favorite-poet a.favorite-poet-name {
    font-size: 17px;
    color: #5C5D5D;
    text-decoration: none;
    display: flow-root;
    margin-bottom: 10px;
}

div#favorite-poet a.counter-favorite-poet {
    display: inline-block;
    font-size: 13px;
    color: #FE8469;
    padding: 2px 20px;
    background: #fff;
}

.p-b-25 {
    padding-bottom: 25px;
}

div#home-relevance-banner {
    margin-top: 50px;
    position: relative;
    top: 440px;
}

div#home-relevance-banner img {
    border-radius: 6px;
    width: 100%;
}

#three-tab-content {
    overflow: hidden;
    border-bottom: 1px solid #FE8469;
    margin-bottom: 30px;
}

#three-tab-content .tablinks {
    padding: 0 5px;
}

#three-tab-content button {
    background-color: #fff;
    color: #ACACAC;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    width: 100%;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

#three-tab-content button:hover {
    background-color: #FCBEB0;
}

#three-tab-content button.active {
    background-color: #FE8469;
    color: #fff;
}

.tabcontent {
    display: none;
}

.tabcontent {
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

div#home-tabular-content {
    margin-top: 50px;
    position: relative;
    top: 440px;
}

div#home-tabular-content a.continue-poem {
    margin: 13px 15px 0 0;
    display: inline-block;
    float: left;
    text-decoration: none;
    color: #FE8469;
    font-size: 14px;
}

#home-tabular-content .tabcontent a.tab-content-more {
    border-radius: 9px;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    padding: 0 34px;
    height: 20px;
    background: #FFCA9E;
    margin: 20px;
}

#home-tabular-content .tabcontent a.tab-content-more:hover {
    background: #ffc28f;
}

div#home-page-typography {
    margin: 20px 0 70px 0;
    position: relative;
    top: 440px;
}

div#home-page-typography a.continue-poem {
    display: inline-block;
    float: left;
    text-decoration: none;
    color: #FE8469;
    font-size: 14px;
}

div#home-page-typography span {
    color: #9B9B9B;
    font-size: 14px;
}

div#home-page-typography h3 {
    color: #5C5D5D;
    font-size: 23px;
}

div#home-page-typography div.header-typography {
    border-bottom: 1px solid #FFCA9E;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

#home-page-typography img.typography-img {
    border: 3px solid #fff;
    border-radius: 6px;
    width: 100%;
}

.register-input-box {
    padding-left: 0;
}

.register-submit-box {
    padding-right: 0;
}

#register-newsletter {
    margin: 20px 0 70px 0;
    position: relative;
    top: 440px;
}

#register-newsletter #register-email-input {
    border: 2px solid #E9E9E9;
    border-left: 0;
    height: 53px;
    font-size: 15px;
}

#register-newsletter #register-email-submit {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-style: solid;
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
    color: #fff;
    padding: 6px 34px;
    height: 53px;
    background: #FE8369;
}

.no-padding-left {
    padding-left: 0;
}

.no-padding-right{
    padding-right: 0;
}

footer {
    background: #4B4B4B;
    position: relative;
    top: 440px;
    height: 352px;
    color: #7F7F7F;
}

footer a#footer-site-name {
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
    color: #fff;
    padding: 6px 34px;
    height: 20px;
    background: #FE8469;
    margin: 20px;
}

footer .footer-block {
    margin-top: 60px;
}

footer h4.title-footer-block {
    padding-bottom: 25px;
    border-bottom: 1px solid #707070;
    margin-bottom: 15px;
}

footer .footer-block a {
    text-decoration: none;
    display: block;
    color: #7F7F7F;
    margin-top: 7px;
}

footer #footer-tape {
    background: #3A3A3A;
    height: 100px;
    margin-top: 100px;
}

footer #footer-tape svg.top-footer-tape {
    position: absolute;
    bottom: -25px;
    right: 45%;
    display: block;
    text-indent: -9999px;
    width: 100px;
    height: 100px;
    background: url(../images/top-footer-tape.svg);
    background-size: 100px 100px;
}

footer #footer-copyright {
    color: #C4BAB7;
    position: absolute;
    margin-top: 40px;
}

#bg-colors .bg-color1 {
    z-index: -1;
    background: #FFF5EC;
    width: 100%;
    height: 1390px;
    position: absolute;
    top: 960px;
}

#bg-colors .bg-color2 {
    z-index: -1;
    background: #FFF5EC;
    width: 100%;
    height: 2090px;
    position: absolute;
    top: 2875px;
}

.block-tab-content .tab-content-header span{
    color: #9B9B9B;
    font-size: 14px;
}

.block-tab-content {
    background: #fff;
    padding: 0;
    border: 1px solid #E5D6C1;
    border-radius: 6px;
    margin-bottom: 20px;
}

.block-tab-content .tab-content-header{
    border-bottom: 1px solid #E5D6C1;
    padding: 15px 20px;
}

.block-tab-content .tab-content-header a{
    text-decoration: none;
    color: #FE8469;
}

.block-tab-content .tab-content-body{
    padding: 15px 20px;
    color: #5C5D5D;
}

.block-tab-content .tab-content-body p{
    margin: 0 0 7px;
    font-size: 14px;
}

.block-tab-content .tab-content-footer{
    border-top: 1px solid #E5D6C1;
    padding: 5px 20px;
    height: 40px;
}

.block-tab-content .tab-content-footer div{
    display: inline-block;
    float: left;
}

.block-tab-content .tab-content-footer .share-box {
    margin-top: 5px;
    border-right: 1px solid #B7B7B7;
    padding-right: 7px;
}

.block-tab-content .tab-content-footer .comment-box {
    margin-top: 5px;
    border-left: 1px solid #B7B7B7;
    padding-left: 7px;
}

.block-tab-content .tab-content-footer .like-box {
    margin-top: 5px;
    margin-right: 5px;
}

.block-tab-content .tab-content-footer a.icon-share{
    display: block;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    background: url(../images/share.svg);
    background-size: 20px 20px;
}

.block-tab-content .tab-content-footer a.icon-like{
    margin: 0 10px;
    float: left;
    display: inline-block;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    background: url(../images/heart.svg);
    background-size: 20px 20px;
}

.block-tab-content .tab-content-footer i.icon-comment {
    padding-left: 10px;
    float: left;
    display: inline-block;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    background: url(../images/chat.svg);
    background-size: 20px 20px;
}

.block-tab-content .tab-content-footer span.comment-count {
    font-size: 14px;
    margin: 0 5px;
    color: #A5A5A5;
}

.block-tab-content .tab-content-footer .tab-content-footer-tags {
    float: right;
    display: inline-block;
}

.block-tab-content .tab-content-footer .tab-content-footer-tags a {
    margin: 0 3px;
    text-decoration: none;
    color: #A5A5A5;
}

.block-tab-content .tab-content-footer .tab-content-footer-tags a:hover {
    color: #FCBEB0;
}

.mt-40 {
    margin-top: 40px;
}

#poem-tabular-sorted .tabcontent a.tab-content-more {
    border-radius: 9px;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    padding: 0 34px;
    height: 20px;
    background: #FFCA9E;
    margin: 20px;
}

#poem-tabular-sorted .tabcontent a.tab-content-more:hover {
    background: #ffc28f;
}

/*content slider*/

.block-tab-content {
    background: #fff;
    padding: 0;
    border: 1px solid #E5D6C1;
    border-radius: 6px;
    margin-bottom: 20px;
}

.block-tab-content .tab-content-header {
    border-bottom: 1px solid #E5D6C1;
    margin: 0 20px;
    padding: 10px 0;
}

.block-tab-content .tab-content-header a {
    text-decoration: none;
    color: #FE8469;
}

.block-tab-content .tab-content-header img {
    width: 50px;
    height: 50px;
    margin-left: 15px;
    border: 2px solid #F2E8E8;
    border-radius: 50%;
}

.block-tab-content .tab-content-body {
    padding: 15px 20px 20px 20px;
    color: #5C5D5D;
    height: 250px;
}

.block-tab-content .tab-content-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #FE8469;
}

.block-tab-content .tab-content-body p {
    margin: 0 0 4px;
    font-size: 14px;
}

.block-tab-content .tab-content-body .read-content-slider {
    display: inline-block;
    float: left;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    color: #fff;
    padding: 4px 20px;
    background: #FE8469;
    margin-top: -35px;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    #search, #search .form-group, #search .search-btn-submit {
        margin-top: 0;
    }

    .search-frame {
        height: auto;
    }

    div.counter-categories {
        top: 380px;
    }

    div.counter-categories .counter-category .counter-bg {
        margin-bottom: 20px;
    }

    #bg-colors .bg-color1 {
        top: 1155px;
        height: 1245px;
    }

    div.poem-editor-choice {
        top: 380px;
    }

    div.divan-editor-choice {
        top: 325px;
    }

    div.editor-day-choice {
        top: 300px;
    }

    div.poet-editor-choice {
        top: 300px;
    }

    #content-slider {
        top: 375px;
    }

    div.faale-hafez {
        top: 315px;
    }

    div.faale-hafez a#btn-faale-hafez {
        top: 130px;
        right: 35px;
        font-size: 20px;
        padding: 15px 25px;
    }

    div.faale-hafez span {
        top: 185px;
        right: 40px;
        font-size: 20px;
    }

    #divan-slider {
        top: 300px;
    }

    div#show-poet-day {
        margin: 25px;
        top: 300px;
    }

    div#show-poet-day #poet-day-img {
        margin: 15px 20px 10px 0;
    }

    .xs-text-center {
        text-align: center;
    }

    div#show-poet-day .poet-day-detail {
        margin: 20px 15px;
    }

    div#show-poet-day .poet-day-description {
        margin: 20px;
        font-size: 15px;
    }

    div#show-poet-day .poet-day-zendeginame {
        margin: 35px 35px 10px;
    }

    #bg-colors .bg-color2 {
        top: 3320px;
    }

    div#favorite-poet {
        top: 300px;
    }

    div#home-relevance-banner {
        top: 300px;
    }

    div#home-tabular-content {
        margin-top: 50px;
        position: relative;
        top: 300px;
    }

    div#home-page-typography {
        top: 300px;
    }

    .padding-5-xs {
        padding: 5px;
    }

    #register-newsletter {
        top: 300px;
    }

    .register-input-box {
        padding: 15px;
    }

    .register-submit-box {
        padding: 15px;
    }

    #register-newsletter #register-email-input {
        border: 2px solid #E9E9E9;
    }

    #register-newsletter #register-email-submit {
        border-radius: 8px;
    }

    footer {
        top: 300px;
    }

    footer #footer-tape svg.top-footer-tape {
        right: 36%;
    }

    footer #footer-tape {
        margin-top: 80px;
    }

    .slider-text-wrapper p {
        line-height: 25px;
    }

    .continuation-btn {
        margin: 30px 60px;
    }

    .first-slider .sl-slide blockquote {
        margin-bottom: 18px;
    }

    .first-slider .sl-slide h2 {
        line-height: 22px;
        font-size: 18px;
        margin-bottom: 0px;
        letter-spacing: 2px;
    }
}

@media (max-width: 992px){
    #show-poet-day .poet-day-zendeginame,
    #show-poet-day .poet-day-description {
        margin-right: 40px;
    }
    div#show-poet-day .poet-day-more-link {
        font-size: 18px;
    }
}

@media (max-width: 1200px){
    #content-slider .block-content-slider .content-slider-body .read-content-slider {
        margin-top: 5px;
    }
    #content-slider .block-content-slider .content-slider-body {
        height: 283px;
    }
}
