
.rtl p, [dir="rtl"] p {
    text-align: justify;
}

.ltr {
    direction: ltr;
}

span.ltr {
    display: inline-block;
}

a {
    transition: all ease 0.3s;
}

.trimwords {
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-logo-link {
    display: block;
}

.breadcrumbs a,
#breadcrumbs a {
    color: inherit;
    opacity: 0.7;
}

.breadcrumbs a:hover,
#breadcrumbs a:hover {
    opacity: 1;
}

.breadcrumbs i,
#breadcrumbs i {
    display: inline-block;
    vertical-align: middle;
}

.paginate-links,
ul.page-numbers {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    border: 0 !important;
    text-align: center;
}
.paginate-links>li,
ul.page-numbers > li {
    display: inline-block;
    border: 0 !important;
    margin: 2px !important;
}

.paginate-links span,
.paginate-links a,
ul.page-numbers > li > span,
ul.page-numbers > li > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 5px;
    min-width: 40px !important;
    border-radius: .3rem;
    border: 1px solid #efefef;
    background-color: #efefef !important;
    color: #333333;
    line-height: 1;
}

.paginate-links span,
.paginate-links a{
    margin: 2px;
}

.paginate-links .next,
.paginate-links .prev{
    padding-right: 15px;
    padding-left: 10px;
}

.paginate-links a:hover,
ul.page-numbers > li > a:hover {
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary-light);
    background-color: var(--bs-primary-light) !important;
}

.paginate-links .current,
ul.page-numbers > li > .current {
    color: #ffffff !important;
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.paginate-links i,
ul.page-numbers > li > span > i,
ul.page-numbers > li > a > i {
    vertical-align: middle;
    margin-right: 3px;
}

.novinvision img {
    filter: grayscale(100%);
    transition: all ease 0.5s;
}

.novinvision img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.custom-logo-link {
    display: block;
}

.custom-logo-link img {
    max-width: 100%;
    height: auto;
}


@media (max-width: 768px) {
    .container-swiper {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .container-swiper > .row {
        margin-right: 0;
        margin-left: 0;
    }

    .container-swiper > .row > div {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

.select2-loading {
    position: relative;
}

.select2-loading.loading:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    top: 0;
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url("../img/loader.gif");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 25px;
    z-index: 1;
}

.select2-container .select2-selection--single {
    height: 43px;
    border-radius: 1.2rem;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    outline: none;
}

.select2-container--open .select2-dropdown--below {
    border-radius: 1.2rem;
    border-top: 1px solid #999;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 1.2rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.select2-results__option[aria-selected],
.select2-results__option[data-selected] {
    -webkit-border-radius: 1.2rem;
    -moz-border-radius: 1.2rem;
    border-radius: 1.2rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px;
}

label {
    cursor: pointer;
}

.overly {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    transition: all ease 0.4s;
}

.loading {
    position: relative;
}

.loading:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url("../img/loader.gif");
    background-size: 20px;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 2;
}

.border-width-2 {
    border-width: 2px !important;
}

.swiper-container {
    max-height: 750px !important;
}

.sticky-top {
    top: 0;
}

/*@media (max-width: 768px){*/
/*    .swiper-container{*/
/*        padding: 0 23px;*/
/*        margin-left: -23px;*/
/*        margin-right: -23px;*/
/*    }*/
/*}*/

.table-responsive {
    border-radius: .4rem;
}

.table.table-striped > thead > tr > th {
    border: 0;
}

.table.table-rounded > thead > tr > th:first-child,
.table.table-rounded > tbody > tr > td:first-child,
.table.table-rounded > tbody > tr > th:first-child {
    border-radius: 0 .4rem .4rem 0;
}

.table.table-rounded > thead > tr > th:last-child,
.table.table-rounded > tbody > tr > td:last-child {
    border-radius: .4rem 0 0 .4rem;
}

.table.table-rounded > thead > tr > th:last-child:first-child,
.table.table-rounded > thead > tr > td:last-child:first-child,
.table.table-rounded > tbody > tr > th:last-child:first-child,
.table.table-rounded > tbody > tr > td:last-child:first-child {
    border-radius: .4rem !important;
}

.table.table-rounded > tbody > tr > th,
.table.table-rounded > tbody > tr > td {
    vertical-align: middle;
}

.wpcf7-form-control-wrap {
    display: block;
}

.dropdown-menu {
    border-color: #f7f7f7;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.hr-height {
    min-width: 50px;
    height: 8px;
    width: 100%;
}

.required {
    color: var(--bs-danger);
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 2px;
    margin-left: 0;
}


.wpcf7 .ajax-loader {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    visibility: hidden;
    height: 100%;
    width: 100%;
    background-position: center center;
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 0;
    border-radius: 1rem !important;
    margin: 0 !important;
    transition: opacity ease 0.3s;
}

.wpcf7 form .wpcf7-response-output {
    margin: 1rem 0;
    padding: 10px;
    border: 0;
    border-radius: 1rem;
    color: #ffffff;
    background-color: var(--bs-success);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: var(--bs-warning);
    color: #ffffff;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background-color: var(--bs-danger);
}

.submitting .ajax-loader {
    visibility: visible;
    opacity: 1;
    z-index: 2;
}

.h-100 .elementor-widget-container {
    height: 100%;
}

.hr-line {
    display: block;
    min-width: 40px;
    height: 3px;
    background-color: var(--bs-light);
    width: 100%;
}

.arrow-bubble {
    position: relative;
}

.arrow-bubble:after {
    content: "";
    position: absolute;
    bottom: -3px;
    right: 25px;
    height: 6px;
    width: 6px;
    background-color: #fef2ee;
    transform: rotate(45deg);
}

.arrow-bubble-top:after {
    top: -3px;
    bottom: auto;
}

.arrow-bubble-bottom:after {
    bottom: -3px;
    top: auto;
}

.arrow-bubble.bg-light:after {
    background-color: var(--bs-light);
}

.arrow-bubble.bg-primary:after {
    background-color: var(--bs-primary);
}

.arrow-bubble.bg-primary-light:after {
    background-color: var(--bs-primary-light);
}

.reading-bubble {
    background-color: #fef2ee;
    color: var(--bs-primary);
    border-radius: 1rem;
    padding: 0 8px;
    font-weight: 800;
}

.read-more-section{
    position: relative;
    max-height: 250px;
    overflow: hidden;
}

.read-more-section:before,
.read-more-section:after{
    content: "";
    display: inline-block;
    position: absolute;
    padding-bottom: 50px;
    z-index: 1;
}

.read-more-section:before{
    content: "مشاهده بیشتر";
    display: inline-block;
    background-color: #eeeeee;
    border-radius: .5rem;
    padding: 8px 25px;
    bottom: 10px;
    right: 20px;
    z-index: 2;
    cursor: pointer;
}

.read-more-section:after{
    left: 0;
    right: 0;
    bottom: 0;
    height: 200px;
    background-image: linear-gradient(to top, #ffffff 20%, transparent);
}

.read-more-section.open{
    max-height: unset;
}
.read-more-section.open:before,
.read-more-section.open:after{
    visibility: hidden;
    opacity: 0;
}

.wp-block-image{
    text-align: center;
}

.wp-block-image img{
    display: block;
    height: auto;
    margin: 0 auto;
    border-radius: .5rem;
    padding: 3px;
}

blockquote{
    color: #ffffff;
    background-color: var(--bs-primary);
    border-radius: 1rem;
    padding: 15px 30px;
}

blockquote cite{
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.1rem;
}

blockquote cite:before{
    content: "\efce";
    display: inline-blocke;
    font-size: 3rem;
    margin-left: 15px;
    font-family: IcoFont!important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    line-height: 1;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

.form-floating textarea{
    min-height: 100px;
}

ol.commentlist,
ul.commentlist,
.commentlist .children{
    list-style: none;
    padding: 0;
    margin: 0;
}

.commentlist>li>.card{
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.commentlist .children,
.commentlist .comment-respond{
    margin-right: 15%;
}

.commentlist .children .card{
    background-color: transparent;
    border: 3px solid var(--bs-primary-light);
}

.commentlist .children .children .card{
    border-color: var(--bs-success);
}

.commentlist .comment-author img{
    display: block;
    background-color: var(--bs-light);
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px var(--bs-light);
    height: 55px;
    width: 55px;
    object-fit: cover;
}

.commentlist .children .comment-author img{
    background-color: var(--bs-primary-light);
    box-shadow: 0 0 0 3px var(--bs-primary-light);
}

.commentlist .children .children .comment-author img{
    background-color: var(--bs-success);
    box-shadow: 0 0 0 3px var(--bs-success);
}

* p:last-child{
    margin-bottom: 0 !important;
}

.text-center p{
    text-align: center !important;
}

.container-fluid{
    max-width: 1500px;
    margin: 0 auto;
}

.social-links{
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links li{
    display: inline-block;
    margin: 3px;
}

.social-links li a{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    color: #ffffff;
    border: 2px solid #ffffff;
    line-height: 1;
    font-size: 1.2rem;
}

.social-links li a svg{
    height: 20px;
    width: 20xp;
    fill: #ffffff;
}
