
.rtl p, [dir="rtl"] p {
    text-align: justify;
}

.ltr {
    direction: ltr;
}

a.ltr,
span.ltr {
    display: inline-block;
}

a, a:hover, a:active, a:focus {
    transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -o-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;
}

ul.page-numbers {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    border: 0 !important;
    text-align: center;
}

ul.page-numbers > li {
    display: inline-block;
    border: 0 !important;
    margin: 2px !important;
}

ul.page-numbers > li > span,
ul.page-numbers > li > a {
    font-family: iranyekanfanum, iranyekan, Tahoma, Verdana, arial;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-width: 30px !important;
    border-radius: .5rem;
    border: 1px solid #eeeeee;
    background-color: #ffffff !important;
    color: #666666;
    line-height: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

ul.page-numbers > li > a:hover,
ul.page-numbers > li > .current {
    color: var(--primary) !important;
    border-color: var(--primary);
}

ul.page-numbers > li > span > i,
ul.page-numbers > li > a > i {
    vertical-align: bottom;
}

.novinvision,
.novinvision a {
    color: #97a1ab;
}

.novinvision a:hover {
    color: #333333;
}

.novinvision img {
    filter: grayscale(100%);
    transition: all ease 0.5s;
}

.novinvision img:hover {
    filter: grayscale(0);
    opacity: 1;
}


.custom-logo-link {
    display: inline-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: .8rem;
    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;
}

.wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid > li {
    margin-bottom: 0 !important;
}

.hover-flash-action {
    position: relative;
    overflow: hidden;
}

.hover-flash-action:before {
    background: rgba(0, 0, 0, 0) linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%) repeat scroll 0 0;
    content: "";
    display: block;
    height: 100%;
    right: -100%;
    position: absolute;
    top: 0;
    transform: skewX(-35deg);
    -webkit-transform: skewX(-35deg);
    -ms-transform: skewX(-35deg);
    -o-transform: skewX(-35deg);
    -moz-transform: skewX(-35deg);
    width: 50%;
    z-index: 2;
}

.hover-flash-action:hover:before {
    animation: 1.5s ease 0s normal none 1 running fixed;
    -webkit-animation: 1.5s ease 0s normal none 1 running fixed;
    -moz-animation: 1.5s ease 0s normal none 1 running fixed;
}

.widget-special-banner img {
    border-radius: 1rem;
}

@-webkit-keyframes fixedAnim {
    0% {
        top: -100%;
    }
    100% {
        top: 0;
    }
}

@-moz-keyframes fixedAnim {
    0% {
        top: -100%;
    }
    100% {
        top: 0;
    }
}

@keyframes fixedAnim {
    0% {
        top: -100%;
    }
    100% {
        top: 0;
    }
}

@-webkit-keyframes fixed {
    0% {
        right: 125%;
    }
    125% {
        right: 0;
    }
}

@-moz-keyframes fixed {
    0% {
        right: 125%;
    }
    125% {
        right: 0;
    }
}

@keyframes fixed {
    0% {
        right: 125%;
    }
    125% {
        right: 0;
    }
}

ul.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.social-list li {
    display: inline-block;
}

ul.social-list li > a {
    display: block;
}


.swiper-container{
    max-height: 550px !important;
}

.modal .modal-body .close{
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 30px;
}

.sticky-top{
    top: 0;
    right: 0;
    left: 0;
}