﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 6rem;
    font-family: IRANSans;
}

.rtl {
    direction: rtl !important;
}

.ltr {
    direction: ltr !important;
}

.text-gray {
    color: #5c6a77 !important;
}

.bg-gray {
    background-color: #5c6a77 !important;
}

.text-pink-light {
    color: #ee0056 !important
}

.bg-pink-light {
    background-color: #ee0056 !important
}

.text-pink {
    color: #b80348 !important
}

.bg-pink {
    background-color: #b80348 !important
}

.bg-pink-opacity-50 {
    background-color: #db80a2 !important
}

.bg-yellow {
    background-color: #fffde1 !important;
}

.text-pink-dark {
    color: #7d073b !important
}

.bg-pink-dark {
    background-color: #7d073b !important
}

.form-check .form-check-input {
    float: right !important;
    margin-right: 0 !important;
}

.form-check-label {
    margin-right: 1.5rem !important;
}

.navbar.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(166, 2, 69, 0.05) !important;
}

.navbar.border-bottom {
    border-bottom: 1px solid #db00512e !important;
}

.navbar-brand.d-flex {
}

    .navbar-brand.d-flex a {
        font-size: 1rem;
    }

    .navbar-brand.d-flex img {
        height: 3rem;
    }

    .navbar-brand.d-flex .text-pink {
        line-height: 1.3rem;
    }

    .navbar-brand.d-flex .text-gray {
        padding-top: .85rem !important;
        font-size: .85rem !important;
    }

.navbar-nav .nav-link:not(.text-pink) {
    color: #ee0056 !important;
}

.navbar-nav .nav-link:hover {
    color: #b80348 !important;
}

footer {
    background: linear-gradient(to top, #ee0056 10%, #7d073b 90%) no-repeat;
    text-align: center !important;
    /*position: fixed;*/
    position: absolute !important;
    bottom: 0;
    width: 100%;
    min-height: 4rem;
    /*line-height: 40px;*/
}

    footer .container {
        margin-top: .5rem !important;
    }

    footer .logo {
        margin-top: -2rem;
    }

        footer .logo img {
            height: 3rem;
            -webkit-filter: drop-shadow(0 0 .8rem rgb(255, 255, 255));
        }

.form-check-input {
    border: 1px solid #b80348;
}

    .form-check-input:checked {
        background-color: #b80348;
        border-color: #b80348;
    }

    .form-control:focus,
    .form-check-input:focus,
    .btn-check:focus + .btn,
    .btn:focus {
        border-color: #b80348;
        outline: 0;
        box-shadow: 0 0 0 .25rem rgba(202, 2, 77, 0.15);
    }

/*.btn-check:focus + .btn, .btn:focus {
    box-shadow: 0 0 0 .25rem rgba(202, 2, 77, 0.15);
}*/

[onclick] {
    cursor: pointer;
}

.btn-outline-pink {
    color: #b80348;
    border-color: #b80348;
}

    .btn-outline-pink:hover {
        color: #fff;
        background-color: #b80348;
        border-color: #b80348;
    }

article {
    /*height: 55px;*/
}

    article a {
        color: #000;
        text-decoration: none;
    }

        article a:hover,
        .lnk:hover {
            color: #b80348 !important;
        }

    article p {
        margin: 0;
        line-height: 130%;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-top: .25rem;
    }

.media {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
}

.img-news {
    border-radius: 5px;
    box-shadow: 0px 0px 4px #ccc;
    width: 100%;
}

@media (min-width: 576px) {
    .media {
        width: 50%;
        text-align: right;
    }

        .media .img-news {
            float: right;
            margin-left: 1rem;
        }
}

.text-justify {
    text-align: justify;
}

.border-pink {
    border: 1px solid #db00512e;
}

.shadow-pink {
    box-shadow: 0 .25rem .75rem rgba(166, 2, 5, 0.05) !important;
}

.btn-pink {
    background-color: #ee0056;
    color: #fff;
}

    .btn-pink:hover {
        background-color: #b80348;
        color: #fff;
    }

.btn-outline-pink {
    color: #ee0056;
    border-color: #ee0056;
}

    .btn-outline-pink:hover,
    .btn-outline-pink:active,
    .btn-outline-pink:focus {
        color: #fff;
        background-color: #ee0056;
        border-color: #ee0056;
    }

splitter {
    display: table;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0 !important;
}

    splitter div {
        display: table-row;
        line-height: 1.5em;
        font-size: 2em;
        white-space: nowrap;
    }

    splitter obj {
        font-size: inherit; /* Change font-size in splitter */
        overflow: hidden;
        display: table-cell;
        vertical-align: middle;
        width: 1px;
        table-layout: fixed;
    }

    splitter span.spacer {
        display: table-cell;
    }

    splitter obj {
        padding: 0 10px;
    }

    splitter span.spacer:after {
        display: inline-block;
        width: 100%;
        content: ".";
        font-size: 0;
        color: transparent;
        height: 1px;
        background: #f9d1df;
        vertical-align: middle;
        position: relative;
        top: -1px;
    }

.diamond {
    height: 1rem;
    width: 1rem;
    border: #f9d1df 1px solid;
    display: block;
    rotate: 45deg;
}

.pomegranate {
    display: block;
    width: 1.2rem;
    height: .6rem;
    background-color: #f9d1df;
    position: relative;
    border-radius: 3px;
}

    .pomegranate:before {
        content: "";
        border-bottom: .5rem solid #f9d1df;
        border-left: .6rem solid transparent;
        border-right: .6rem solid transparent;
        position: absolute;
        top: -.39rem;
    }

    .pomegranate:after {
        content: "";
        position: absolute;
        bottom: -.39rem;
        border-top: 0.5rem solid #f9d1df;
        border-left: .6rem solid transparent;
        border-right: .6rem solid transparent;
    }

.chosen-search-input {
    font-family: IRANSans !important;
    margin: .6rem 0 !important;
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
    top: .5rem !important;
}

.chosen-rtl .chosen-choices li.search-choice {
    margin: .5rem .2rem !important;
    padding: .5rem .5rem .5rem 1.5rem !important;
}

.chosen-container-multi .chosen-choices li.search-choice {
    background-color: #fff !important;
    background-image: none !important;
    border-color: #fbe6ed !important;
    border-radius: .5rem !important;
}

.chosen-container-multi .chosen-choices {
    background-image: none !important;
    border-color: #b80348 !important;
}

.chosen-container-active .chosen-choices {
    box-shadow: 0 .25rem .75rem rgba(166, 2, 5, 0.05) !important;
}

ul.list-group.list-group-striped li {
    border: 0 !important;
}

    ul.list-group.list-group-striped li:nth-of-type(odd) {
        background-color: #fff;
    }

    ul.list-group.list-group-striped li:nth-of-type(even) {
        background-color: #b803481f;
    }

    ul.list-group.list-group-striped li:hover {
        background-color: #b803484d;
        cursor: pointer;
    }

    ul.list-group.list-group-striped li small {
        color: #7d073b;
    }

.btn-outline-secondary.bg-white:hover {
    color: #000 !important;
}

#loader {
    z-index: 12000;
}

ul.small li {
    background: #fffef4 !important;
}
/*    ul.small li:nth-child(even) {
        background: #fffde1 !important;
    }

    ul.small li:nth-child(odd) {
        background: #fffde1 !important;
    }*/

.btn-details {
    padding: .05rem .5rem .4rem;
    font-size: .875rem;
}

/*.accordion-button {
    color: #5c6a77 !important;
    background-image: linear-gradient(#ffbfd7, #fdfdfd);
}*/

.accordion-button {
    color: #fff !important;
    /*background-image: linear-gradient(#b80348, #fdfdfd);*/
    background-image: linear-gradient(#ee0056, #7d073b);
    border: 1px solid #fff;
    text-shadow: -1px 1px 0 #707d88, 1px 1px 0 #707d88, 1px -1px 0 #707d88, -1px -1px 0 #707d88;
    /*text-shadow: 2px 2px 4px #707d88;*/
    /*-webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #707d88;*/
}

    .accordion-button::after {
        margin-left: unset !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        /*background-color: #fff !important;
        border-radius: .2rem;*/
    }

    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        transform: rotate(-180deg);
    }

.accordion-item > div:first-child {
    cursor: pointer;
}

.d-table-md {
    display: table;
}

@media (max-width: 576px) {
    .d-table-md {
        display: block;
    }

        .d-table-md .text-justify {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
}

.pop_up {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    -ms-transform: scale(1) rotate(0) translate(0, 0) skew(0, 0);
    transform: scale(1) rotate(0) translate(0, 0) skew(0, 0);
    transition-property: transform, opacity;
    transition-duration: .3s;
    color: #fff;
    text-align: center;
    z-index: 10;
}

    .pop_up.hide {
        opacity: 0;
        -ms-transform: scale(0.5) rotate(0) translate(0, -200%) skew(0, 0);
        transform: scale(0.5) rotate(0) translate(0, -200%) skew(0, 0);
    }

    .pop_up .close {
        position: absolute;
        top: 0;
        right: 0;
        margin: 20px 20px 0 0;
        width: 32px;
        height: 32px;
        cursor: pointer;
    }

        .pop_up .close::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: #fff;
            -ms-transform: rotate(45deg) translate(10px, 10px);
            transform: rotate(45deg) translate(10px, 10px);
        }

        .pop_up .close::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: #fff;
            -ms-transform: rotate(-45deg) translate(-10px, 10px);
            transform: rotate(-45deg) translate(-10px, 10px);
        }

    .pop_up img {
        max-width: 95%;
        margin-top: 5rem;
        height: calc(100vh - 5.5rem);
    }

.full.row div {
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.truncate-multiline {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
