@font-face {
    font-family: sans;
    src: url(../fonts/IRANSansWeb_FaNum.woff);
}

.font_sansSerif{
    font-family: sans-serif;
}

.body *{
    font-family: sans;
    direction: rtl !important;
}
body{
    direction: rtl !important;
}

.title{font-size: 25px;text-transform: uppercase;}
button, button:focus{outline: none}
.title::after{
    content: "";
    height: 5px;
    border-radius: 10px;
    width: 100px;
    background: var(--mainColor);
    display: flex;
    margin: auto;
    margin-top: 1rem
}
.search {
    width:100%;
    height:100vh;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:650px
}
.OWL_slider_banner {
    position:absolute;
    width:100%;
    inset:0;
    height:100%
}
.OWL_slider_banner>div,
.OWL_slider_banner>div>div,
.OWL_slider_banner>div>div>.owl-item,
.OWL_slider_banner>div>div>.owl-item>.item {
    height:100%
}
.OWL_slider_banner>div>div>.owl-item>.item {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.OWL_slider_banner>div>div>.owl-item>.item > img {
    position: absolute;
    z-index: -1;
    inset: 0;
}
.OWL_slider_banner>div>div>.owl-item>.item > h3 {
    position: relative;
    text-align: center;
    margin: 0 0 1rem;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    padding-bottom: 13px;
    color: #fff;
}
@keyframes anim {
    to{
        opacity: 1;
        transform: translateY(0);
    }from{
         opacity: 0;
         transform: translateY(100px);
    }
}
.OWL_slider_banner>div>div>.owl-item.active>.item > h3,
.OWL_slider_banner>div>div>.owl-item.active>.item > a{
    animation: anim .5s linear;
}
.OWL_slider_banner .owl-nav {
    position:absolute;
    height:unset;
    z-index:0;
    bottom: 20px;
    transform:translateY(-50%);
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    opacity: 0;
    transition: all .3s
}
.OWL_slider_banner:hover .owl-nav {
    opacity: 1;
}
.OWL_slider_banner .owl-next:hover {
    background:#fff!important;
    color:var(--mainColor)!important
}
.OWL_slider_banner .owl-next i {
    font-size:20px
}
.OWL_slider_banner .owl-next {
    margin:0 1rem;
    width:50px!important;
    transition:all .3s!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:50px!important;
    border-radius:50%!important;
    background:rgba(114, 114, 114, 0.33) !important;
    color:#fff!important
}
.OWL_slider_banner .owl-prev:hover {
    background:#fff!important;
    color:var(--mainColor)!important
}
.OWL_slider_banner .owl-prev i {
    font-size:20px
}
.OWL_slider_banner .owl-prev {
    margin:0 1rem;
    width:50px!important;
    transition:all .3s!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:50px!important;
    border-radius:50%!important;
    background:rgba(114, 114, 114, 0.33) !important;
    color:#fff!important
}
.OWL_slider_banner img {
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(.6)
}

.medical-services > div > a > img{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: all .3s;
}
.medical-services > div > a{
    height: 200px;
    position: relative;
    display: flex;
    z-index: 2;
    justify-content: center;
    align-items: flex-end;
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow: 0 5px 5px #999;
}
.medical-services > div > a > button{
    width: 100%;
    border: none;
    border-radius: var(--radius);
}
.medical-services > div > a:hover img{
    transform: scale(1.1);
}
.medical-services > div > a:hover button{
    background-color: var(--secondColor);
    color:#333;
}
.tours > div > a{box-shadow: 2px 2px 2px #ddd,-2px 2px 2px #ddd;border-radius:var(--radius)}
.tours > div > a > img{}
.tours > div > a > div{padding:10px;display: flex;justify-content: center;flex-direction: column; direction: rtl;}
.tours > div > a > div > h5{color: #222;text-align: center;border-bottom: 1px solid #ccc;padding-bottom: 10px;}
.tours > div > a > div > button{}
.tours > div > a > div > div{margin-bottom: .5rem;display: flex;justify-content: space-between;align-content: center;color: #444; }
.tours > div > a > div > div > span{font-size: 15px;}
.tours > div > a > div > div > span > i{color:var(--mainColor); margin-left: 5px;}

.angry-grid {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    width:100%;
    height: 600px;
}
.angry-grid a > span{
    padding: 5px 10px ;
    background: var(--mainColor);
    border-radius: var(--radius) 0 0 var(--radius);
    box-shadow: 0 3px 3px #3336;
    position: absolute;
    top: 10%;
    right: 0;
}
.angry-grid a{
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 2;
    overflow: hidden;
    border-radius: var(--radius);
    color:#fff;
    box-shadow: 2px -200px 79px 0px rgba(0,0,0,0.75) inset;
}
.angry-grid a::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: 2px -130px 79px 0px rgba(0,0,0,0.75) inset;
    transition: all .3s;
    z-index: -1
}
.angry-grid a > div{
    padding: 1rem;
    display: flex;
    flex-direction: column;
    transform: translateY(85px);
    transition: all .3s;
}
.angry-grid a > div > h5{
    color:var(--mainColor);
    font-size:17px;
}
.angry-grid a > div > h6{
    font-size:20px;
    margin-bottom: 2rem;
    transition: all .3s;
}
.angry-grid a > div > div > span{
    font-size: 15px;
    margin-bottom: 5px
}
.angry-grid a > div > div > span > i{
    /*! color:var(--mainColor); */
    margin-left: 5px;
    font-size: 15px;
}
.angry-grid a > div > div{
    display: flex;
    flex-direction: column;
}
.angry-grid a img{
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    transition: all .3s;
}
.angry-grid a:hover img{
    transform: scale(1.2);
}
.angry-grid a:hover div{
    transform: translateY(0);
    direction: rtl;
}
.angry-grid a:hover h6{
    margin-bottom: 1rem;
}
.angry-grid a:hover::after{
    box-shadow: 2px -170px 79px 0px rgba(0,0,0,0.75) inset;
}
#item-0 {
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 4;
    grid-column-end: 4;
}
#item-1 {
    grid-row-start: 1;
    grid-column-start: 4;
    grid-row-end: 4;
    grid-column-end: 7;
}
#item-2 {
    grid-row-start: 4;
    grid-column-start: 1;
    grid-row-end: 10;
    grid-column-end: 3;
}
#item-3 {
    grid-row-start: 4;
    grid-column-start: 3;
    grid-row-end: 10;
    grid-column-end: 5;
}
#item-4 {
    grid-row-start: 4;
    grid-column-start: 5;
    grid-row-end: 10;
    grid-column-end: 7;
}
.articles>div>a {
    background:#fff;
    display:flex;
    flex-direction:column;
    padding:10px;
    text-align:right;
    border-radius:var(--radius);
    box-shadow:2px 2px 2px #ddd,-2px 2px 2px #ddd;
    border: 1px solid #ccc;
    direction: rtl;
        
}
.articles>div>a>img {
    border-radius:var(--radius);
    width:100%;
    height:200px;
    object-fit:cover
}
.articles>div>a>h6 {
    color:#333;
    margin:20px 0 20px 0;
    font-size:17px;
    overflow:hidden;
    width:100%;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    text-align: center;
}
.articles>div>a>p {
    color:#555;
    font-size:14px;
    overflow:hidden;
    width:100%;
    text-align:justify;
    margin-bottom: 10px;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    padding: 0 1px;
    text-align: center;
}
.articles>div>a>span {
    border-bottom:1px solid #ccc;
    margin-bottom:10px;
    padding-bottom:5px
}
.articles>div>a>div {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    display:flex;
    justify-content:center;
    align-items:center;
}
.articles>div>a>div>span {
    font-size:13px;
    color:#666
}
.articles>div>a>span>i {
    color:#fc0;
    font-size:14px;
    margin:0
}
.articles>div>a:hover {
    text-decoration:none
}
.card-img-top{
    height: 260px;
    object-fit: cover;
}
.step-by-step > div > div{z-index: 2; position: relative;background: #fff;border:1px solid #ccc;border-radius: var(--radius);display: flex;flex-direction: column;align-items: center;justify-content: center;padding: 1rem;box-shadow: 2px 2px 2px #ddd,-2px 2px 2px #ddd;height: 100%;}
.step-by-step > div > div > h4{color: #444;text-align: justify;font-size: 20px;transition: all .3s;}
.step-by-step > div > div > img{width: 170px;height: 170px;border-radius: 100%;object-fit: cover;border: 5px solid var(--mainColor);padding: 5px;margin-bottom: 1rem;background: #fff}
.step-by-step > div > div > p{color: #555;text-align: justify;font-size: 14px;transition: all .3s;}
.step-by-step > div > div::after{
    content: "";
    background: var(--mainColor);
    width: 150px;
    height: 150px;
    position: absolute;
    z-index: -1;
    top: 9%;
    border-radius: 100%;
    transition: all .3s;
}
.step-by-step > div > div:hover::after{
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);    
}
.step-by-step > div > div:hover *{color:#fff}
.step-by-step > div > div > span{
    position: absolute;
    top:10%;right: 10%;
    transform: rotate(15deg);
    font-size: 50px;
    color: #ccc;
    font-weight: bold;
    transition: all .3s;
}
.beforeAndAfter > div > div{
    z-index: 2; 
    position: relative;
    background: #fff;
    border:1px solid #ccc;
    border-radius: var(--radius);
    box-shadow: 2px 2px 2px #ddd,-2px 2px 2px #ddd;
}
.beforeAndAfter > div > div > img{
    height: 250px;
    object-fit: cover;
}
.beforeAndAfter > div > div > img:first-of-type{
    border-radius: var(--radius) 0 0 0 !important;
    border-right: 1px solid #fff
}
.beforeAndAfter > div > div > img:last-of-type{
    width: 100%;
    border-radius:  var(--radius) !important;
    border-left: 1px solid #fff
}
.beforeAndAfter > div > div > a{
    border:none !important;
    border-radius: 0 0 var(--radius) var(--radius) !important;
}
.beforeAndAfter > div > div > i > i{
    margin: auto;
    font-weight: 600;
}
.beforeAndAfter > div > div > i{
    z-index: 2;
    width: 30px;
    height: 30px;
    background: var(--secondColor);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    top: 50%;
    right: 50%;
    transform: translate(50% , -50%);
    transition: all .3s;
}
.beforeAndAfter > div > div:hover i.position-absolute{
      animation: pulse-animation 2s infinite;
      transform: translate(50% , 100%) rotate(90deg)
}
@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px  var(--secondColor);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
  }
}



@media (max-width:992px) {
    .angry-grid {
        display: grid;
        grid-template-rows: repeat(0, 50%);
        grid-template-columns: repeat(auto-fill, 100%);
        gap: 20px;
        width:100%;
        height: auto;
    }
    .angry-grid > a{
        height: 300px;
        margin: 0 !important;
        grid-row-start: unset !important;
        grid-column-start: unset !important;
        grid-row-end: unset !important;
        grid-column-end: unset !important;
    }
    .angry-grid a div{
        transform: translateY(0);
        direction: rtl;
    }
    .angry-grid a h6{
        margin-bottom: 1rem;
    }

}
@media (max-width:768px) {
    .main_search {
        justify-content:flex-start;
        padding-top:60px;
        padding-bottom:10px
    }
    .OWL_slider_banner .owl-nav {
        display:none
    }
}


.padding-top-120 {
    padding-top: 120px;
}

.breadcrumb{
    margin-top: 1rem;
}
.input-group>.input-group-prepend>.input-group-text {
    border-radius: 0 .25rem .25rem 0 !important;
}
.input-group>.form-control:not(:first-child) {
    border-radius: .25rem 0 0 .25rem !important;
}
.form-row>.col, .form-row>[class*=col-]{
    text-align: right;
}


.OWL_slider_banner picture{
    width: 100%;
    position: absolute;
    inset: 0;
    z-index: -1;
}

@media (max-width: 576px) {
    .title{
        font-size: 12px;
    }
}