﻿
/*panels=============================================*/
.panel-header {
    text-align: right;
}
.panel-header i {
    font-size: small;
}

.panel-header span {
    font-size: small;
}

    .panel-header h4 {
        position: relative;
        display: inline;
        color: #0077B6;
        font-size: 1.1em;
       
    }

        .panel-header h4:after {
            content: '';
            width: 0;
            height: 2px;
            background:#87A922;
            position: absolute;
            right: 0;
            top: 100%;
            transition: all ease-in .3s;
        }

.panel-header h4:hover:after {
    width: 100%;
    transition: all ease-in .3s;
}

/*carousel-effect====================================*/
.carousel-zoom .carousel-inner {
    position: relative;
}

.carousel-zoom .carousel-item {
    opacity: 0;
    transform: scale(1.2); /* ابتدا کمی بزرگ‌تر */
    transition: opacity 1.2s ease, transform 1.2s ease;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.carousel-zoom .carousel-item.active {
    opacity: 1;
    transform: scale(1); /* هنگام فعال شدن، اندازه واقعی */
    position: relative;
    z-index: 2;
}

.carousel-blur-fade .carousel-inner {
    position: relative;
}

.carousel-blur-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.2s ease, filter 1.2s ease;
    filter: blur(8px);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}
/*========================================================*/
.top-slider .carousel-caption {
   
    text-align: right;
    padding: 5px;
    top: 10%;
}

    .top-slider .carousel-caption h5 {
        font-size: 3rem;
        font-weight: bold;
        color: #00103c;
        margin: .2em 0 1em 0;
    }
    .top-slider .carousel-caption p {
        font-size: 2rem;
        font-weight: bolder;
        color: #FFF;
        padding: 10px;
        text-align: right;
    }


/*coursetype==============================================*/
.course-type .row{
    border-radius: 2em;
    background: #FFF;
    padding: 1em;
}

.course-type h3 {
    font-size: .9em;
}
    .course-type img {
        width: 30%;
    }
.course-type a{
	text-align:center;
}


/*course====================================================*/
.course .card {
    height: 100%;
    max-height: 100%;
}
.course .item {
    height: 650px;
    max-height: 650px;
}

.hr-course .card {
    height: 100%;
    max-height: 100%;
}
.hr-course img {
    -webkit-box-shadow: 0px 0px 43px -2px rgba(179,214,245,1);
    -moz-box-shadow: 0px 0px 43px -2px rgba(179,214,245,1);
    box-shadow: 0px 0px 43px -2px rgba(179,214,245,1);
}
/*category==============================================*/
.course-cat .row {
    border-radius: 2em;
    background: #FFF;
    padding: 2.8em;
    margin-top:45px !important;
}

@media only screen and (max-width: 1548px) {
  .course-cat .row {
   
    padding: 2.28em;
   
}
}

.course-cat h3 {
    font-size: .9em;
}

.course-cat img {
    width: 30%;
}

.course-cat a {
    text-align: center;
}
/*Itemcategory==============================================*/
.item-cat .row {
    border-radius: 2em;
    background: #FFF;
    padding: 2.2em;
    margin-top:10px !important;
}
.item-cat .panel-header h4 {
    
    margin-top:10px !important;
}
@media only screen and (max-width: 1548px) {
  .item-cat .row {
   
    padding: 2.28em;
   
}
}

.item-cat h3 {
    font-size: .9em;
}

.item-cat img {
    width: 30%;
}

.item-cat a {
    text-align: center;
}
/*blogs=======================================*/
.blog .card {
    height: 100%;
    max-height: 100%;
}
.blog .item {
    height: 650px;
    max-height: 650px;
}

.hr-blog .card {
    height: 100%;
    max-height: 100%;
	background:#FFF;
}
/*main-menu=====================================================*/
.main-menu li a {
    color: #12121d;
    font-size: small;
}
.main-menu li a i{
    color: #000;
    font-size:xx-small;
}
/*Vertical SubMenu================================================*/
.vertical-nav .dropdown-submenu {
    position: relative;
}


.vertical-nav .nav .nav-link a {
    color: #bababa;
}

.vertical-nav .nav .nav-link {
    color: #bababa;
}

/*.vertical-nav .nav .nav-link a:hover {
    color: black;
}*/
.vertical-nav .dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.vertical-nav .dropdown-toggle::after {
    display: none !important;
}

.vertical-nav ul.dropdown-menu {
    text-align: right;
    font-size: 12px;
    top: 0;
    right: 50%;
    margin-top: 0px;
    margin-left: 0px;
    background-color: #f3f3f3;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.vertical-nav .dropdown.open .dropdown-menu {
    max-height: 500px;
    opacity: 1;
}

.vertical-nav ul.dropdown-menu > li {
    padding: 8px 0;
}

    .vertical-nav ul.dropdown-menu > li > a {
        color: #000 !important;
    }

        .vertical-nav ul.dropdown-menu > li > a:hover {
            color: #8b0000 !important;
        }

.navbar-nav .dropdown-toggle::after {
    display: none !important;
}


/*stat===============================================*/
.stat {
    color: #FFF;
}

.stat h3 {
    color: #FFF !important;
}

.stat i {
    font-size: 3em;
}

.stat p {
    font-size: 1em;
}

.stat .number-count {
    font-size: 2em;
}
/* item hover text and shadow*/


.item-hover{
	margin-top:55px;
	transition: all 1s;
}

.item-hover .item{
	margin:10px;
	transition: all 1s;
	
}
.item-hover a{
	position:relative;
	transition:all 1s;
	opacity:1;
}

.item-hover a:hover:after{
	content:"";
	width:100%;
	height:100%;
	top:0;
	position:absolute;
	background-color:gray;
	transition: all 1s;
	opacity:80%;
	transition: all 1s;
}
.item-hover a h5{
	opacity:0;
	position:absolute;
	width:80%;
	text-align:center;
	top:40%;
	transition:all 1s;
	font-size:1rem;
}

.item-hover a:hover h5{
	opacity:1;
	transition:all 1s;
	background-color:rgb(212, 217, 37);
	z-index:1;
	width:100%;
	text-align:center;
}





.btn-more{
	position:relative;
	
}


@font-face{
    font-family: "bootstrap";
    src: url("../../lib/bootstrap-icons/font/fonts/bootstrap-icons.woff");
}

.btn-more .card a:after{
	color:black;
    content: "\F284";
    font-family: "bootstrap";
	font-size:25px;
	left:10px;
	position:absolute;
	width:50px;
	height:40px;
	background-color:rgb(212, 217, 37);
	bottom:10px;
	padding:2px;
	text-align:center;
	border-top-left-radius:15px;
	transition:all 1s;
	
	
	
}

.btn-more .card:hover a:after{
	bottom:-15px;
	transition:all 1s;
}

.btn-more .panel-header h3{
	color:rgb(212, 217, 37);
}

.card-5 div{
	border-radius:2rem !important; 
	
}


.btn-more .shadow{
  position: relative;
  transition: all 1s;
}

.btn-more .shadow:hover:before,
.btn-more .shadow:hover:after {
	transition:all 1s;
  width: 40%;
  height:25%;
  opacity:1;
}
.btn-more .shadow:before,
.btn-more .shadow:after {
  content: "";
  position: absolute;
  width: 0%;
  height:0%;
  	transition:all 1s;
	opacity:0;
	
}
.btn-more .shadow:before {
  bottom: -1px;
  right: -1px;
  border-bottom:3px solid #87A922;
  border-right:3px solid #87A922;
  transition: all 1s;
 
}
.btn-more .shadow:after {
  top: -1px;
  left: -1px;
  border-top:3px solid #87A922;
  border-left:3px solid #87A922;
  transition: all 1s;
   
}
 

.hover-text .card:hover h2{
	color:#87A922;
}

/* footer*/

 .footer-inset .panel-header h3{
	 color:rgb(212, 217, 37);
 }
 
 
 .item-magin .item{
	margin:20px !important;
}

.zoom .card{
	background-color:#ffff;
	overflow:hidden;
	border-radius:5px !important;
	padding:0px !important;
    margin-top: 0px;
	
	
	 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19)!important;
}
.zoom img{
	overflow:hidden;
  transition: transform 1s; 

}
.zoom .card h5{
	 margin-top:20px !important;
	 padding:10px !important;
	 font-size:16px;
}


.zoom .card:hover img{
  transform: scale(1.1); 
  transition: all 1s;
  
}
.zoom .card:hover h5{
 color:black;

  
  
}

.zoom .card-body{
	background-color:white;
	z-index:10;
	position:relative;
}


/*content اطلاعیه*/


.cont2 .mt-auto{
    padding: 0 !important;
}
.cont2 {
    height: 100%;
    position: relative;
	margin-top:60px;
	transition: all 1s;
}
.cont2 .card{
   
    background-color: white;
    box-shadow: -5px 10px 10px -5px rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1) !important;
    border-radius: 10px;
    position: relative;
	transition: all 1s;
}

.cont2 .card::after{
    position: absolute;
    content: "";
    width:20px ;
    height:50px ;
    top: 0 !important;
	right:2px;
    border-radius: 0 0 20px 20px;
    background-color: rgb(212, 217, 37);
	transition: all 1s;
  
}

.cont2 .card-body{
    margin-right: 20px;
    
}
.cont2 .card-body p{
	width:85% !important;
}

.cont2 .card a::before{
    position: absolute;
    content: "جزئیات";
    padding-top: 3px;
    text-align: center;
    width:100px ;
    color: black;
    height:29px ;
    bottom:2px !important;
    left: 2px;
    border-radius:7px;
    background-color: rgb(212, 217, 37);
	font-size:15px;
	transition: all 1s;
	
  
}
.cont2 .card:hover{
    box-shadow: -5px 10px 15px -5px rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.2) !important ;
    transition: all 1s;
}




.navbar {
    position: relative;
}
/*
@media only screen and (max-width: 1548px) {
 .navbar li:nth-last-child(1),
.navbar li:nth-last-child(2){
   margin-top:10px;
   text-align:right!important;
}
}

.navbar .navbar-nav>li:nth-last-child(1),
.navbar .navbar-nav>li:nth-last-child(2){
    margin-left:5px;
    background-color: rgb(212, 217, 37);
    max-width:150px;
	text-align:center;
    padding-left:15px;
	color:#fff !important;
}
.navbar li:nth-last-child(2){
	border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
	
	

}
.navbar li:nth-last-child(1){

	border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
	
	
  
}
*/
/*--------------------------------------------------------*/

.teacher .item {
    background-color: #ffff;
    border-radius: 5px !important;
    background: #fff;
    margin-top: 1rem;
    border-top-right-radius: 10px;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.3s ease-out;
    text-decoration: none;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px !important;
}



.teacher img {
    transition: transform .2s;
    border-radius: 50% !important;
    width: 80% !important;
    padding: 2%;
    margin-bottom: 5% !important;
    z-index: 10000;
    transform: translateZ(0);
}
