@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansWeb.woff") format("woff");
}

body {
    font-size: 16px;
    font-family: "IRANSans", sans-serif;
    background-image: url(../images/bg.jpg);
    background-position: center;
}

/**************************************/
/*****  Scrollbar css  *****/
/**************************************/
/* width */
::-webkit-scrollbar {
    width: 13px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(239, 159, 159, 0.459);
    border-radius: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-weight: 700;
}

img {
    max-width: 100%;
}

a:hover {
    text-decoration: none;
    outline: 0;
}

a:focus {
    text-decoration: none;
    outline: 0;
}

::-moz-selection {
    background: #ff5f47;
    color: #fff;
}

::selection {
    background: #ff5f47;
    color: #fff;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ecf1f5;
    z-index: 9999;
    text-align: center;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 120px;
    display: flex;
    flex-flow: column nowrap;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.preloader .diamond {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 2px;
    background: #ff685c;
    -webkit-transform: translateY(0) rotate(45deg) scale(0);
    transform: translateY(0) rotate(45deg) scale(0);
    -webkit-animation: diamonds 1500ms linear infinite;
    animation: diamonds 1500ms linear infinite;
}

.preloader .diamond:nth-child(1) {
    -webkit-animation-delay: -1000ms;
    animation-delay: -1000ms;
}

.preloader .diamond:nth-child(2) {
    -webkit-animation-delay: -2000ms;
    animation-delay: -2000ms;
}

.preloader .diamond:nth-child(3) {
    -webkit-animation-delay: -3000ms;
    animation-delay: -3000ms;
}

.preloader .diamond:nth-child(4) {
    -webkit-animation-delay: -4000ms;
    animation-delay: -4000ms;
}

@-webkit-keyframes diamonds {
    50% {
        -webkit-transform: translateY(-50px) rotate(45deg) scale(1);
        transform: translateY(-50px) rotate(45deg) scale(1);
    }
    100% {
        -webkit-transform: translateY(-100px) rotate(45deg) scale(0);
        transform: translateY(-100px) rotate(45deg) scale(0);
    }
}

@keyframes diamonds {
    50% {
        -webkit-transform: translateY(-50px) rotate(45deg) scale(1);
        transform: translateY(-50px) rotate(45deg) scale(1);
    }
    100% {
        -webkit-transform: translateY(-100px) rotate(45deg) scale(0);
        transform: translateY(-100px) rotate(45deg) scale(0);
    }
}

.row.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
    padding-right: 0;
    padding-left: 0;
}

.more-data {
    text-align: center;
    width: 26%;
    margin: auto;
}

.more-data a {
    color: #b32121;
}

.more-data h5:hover {
    background-color: #b321210f;
}

.more-data h5 {
    font-size: 20px;
    transition: all 0.2s linear;
    border-radius: 20px;
    padding: 1px 10px;
}

/************************************/
/*****    Navigation area css   *****/
/************************************/

header.header {
    height: 83px;
}

header .navbar {
    padding: 0;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

header .navbar:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    bottom: -16px;
    background: url(../images/wave-bg3.png) repeat-x;
    z-index: 100;
}

header .navbar-collapse.collapse {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.navbar .navbar-nav .nav-item {
    padding: 30px 6px;
}

.navbar .navbar-nav .nav-link {
    padding: 4px 10px;
    font-size: 14px;
    /* color: #ff5722; */
    color: black;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.02em;
    transition: all 0.3s;
}

.navbar .navbar-nav .nav-link.active {
    background: #b32121;
    color: #fff;
}

.navbar .navbar-nav .nav-link.active:focus {
    color: #fff;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
}

.navbar-toggle {
    display: none;
    position: absolute;
    top: 0;
    right: 15px;
    margin-top: 0px;
}

.navbar-toggle .slicknav_btn {
    background: none;
    border-radius: 0;
    font-size: 19px;
    font-weight: 600;
}

.navbar-toggle .slicknav_icon-bar {
    background: #444;
    box-shadow: none;
    height: 1px;
    margin-top: 2px;
    margin-bottom: 4px;
}

.slicknav_menu {
    padding: 0;
    background: none;
}

.slicknav_btn {
    margin: 0;
}

.slicknav_nav li {
    margin: 10px 0;
}

.slicknav_nav a {
    color: #000;
    text-transform: uppercase;
}

.container {
    flex-direction: row-reverse;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.container ul {
    font-family: "IRANSans", serif;
}

.about-mehrkoosh {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}

.about-mehrkoosh figure {
    position: relative;
    overflow: hidden;
}

.about-mehrkoosh figure::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(
            left,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 100%
    );
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 100%
    );
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.about-mehrkoosh figure:hover::before {
    -webkit-animation: shine 0.75s;
    animation: shine 0.75s;
}

@-webkit-keyframes shine {
    100% {
        left: 100%;
    }
}

@keyframes shine {
    100% {
        left: 100%;
    }
}

/**************************************/
/*****    Banner Slider area css  *****/
/**************************************/

.carousel-control {
    width: 30%;
}

.navbar-light .navbar-nav .nav-link:focus {
    color: black;
}

.top-bar {
    padding: 10px 0;
    background: #444;
}

.school-info ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.school-info ul li {
    display: inline-block;
    margin-left: 4px;
}

.school-info ul li:before {
    content: "/";
    color: #fff;
    font-size: 14px;
    margin-right: 8px;
}

.school-info ul li:first-child:before {
    display: none;
}

.school-info ul li a {
    margin: 0;
    font-size: 14px;
    color: #fff;
    transition: all 0.3s;
}

.school-info ul li a i {
    margin-right: 4px;
}

.school-info ul li a:hover {
    color: #ff5722;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: black;
    background: #b321212a;
}

.header-social-link a {
    display: inline-block;
    font-size: 14px;
    color: #fff;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    margin-right: 4px;
}

.color-red {
    color: #f46c6e;
}

.color-green {
    color: #a4cf27;
}

.color-cloud {
    color: #4fc5d1;
}

.color-orange {
    color: #ff5722;
}

.color-red {
    color: #b32121;
}

.color-blue {
    color: #1976d2;
}

.color-yellow {
    color: #ffc32f;
}

/**************************************/
/*****   Our Activities area css  *****/
/**************************************/

.our-activities {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 35px;
}

.section-title:before {
    content: "";
    display: block;
    width: 40px;
    margin-left: -20px;
    height: 3px;
    position: absolute;
    left: 50%;
    bottom: -2px;
    background: #b32121;
    border-radius: 20px;
    z-index: 1;
}

.section-title h2 {
    font-size: 36px;
    margin: 0;
    font-weight: 700;
}

.section-title p {
    color: #707070;
    margin: 0;
}

.activities-single {
    text-align: center;
    padding: 20px;
}

.activities-single .icon-box {
    width: 60px;
    height: 60px;
    margin: 10px auto 30px;
    font-size: 30px;
    color: #fff;
    line-height: 60px;
    border-radius: 50%;
}

.icon-blue {
    background: #1976d2;
    box-shadow: 0 0 0 7px rgba(25, 118, 209, 0.5);
}

.icon-orange {
    background: #ff5722;
    box-shadow: 0 0 0 7px rgba(255, 87, 34, 0.5);
}

.icon-green {
    background: #a4cf27;
    box-shadow: 0 0 0 7px rgba(164, 207, 39, 0.5);
}

.activities-single h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 18px;
}

.activities-single p {
    font-size: 14px;
    color: #707070;
    line-height: 1.7em;
    margin-bottom: 1.5em;
}

.activities-single a.learn-more {
    display: inline-block;
    color: #ff5722;
    font-weight: 600;
    border-bottom: 1px solid #ff5722;
}

.activities-single a.learn-more:after {
    content: "\f105";
    font-family: FontAwesome, serif;
    margin-left: 10px;
}

.our-activities .panel {
    width: 150px;
    margin: auto;
}

.our-activities .panel img {
    width: 150px;
    height: 150px;
}

.our-activities h3 {
    margin-top: 39px;
    background-color: #b321214d;
    padding: 12px 2px;
    border-radius: 5px;
    font-weight: 700;
}

.our-activities .bordering {
    border-radius: 20px;
    border: 5px solid #ffffff3d;
}

.hover {
    --b: 0.1em; /* the thickness of the line */
    --c: #b32121; /* the color */

    color: #0000;
    padding-block: var(--b);
    background: linear-gradient(var(--c) 50%, #000 0) 0% calc(100% - var(--_p, 0%)) / 100% 200%,
    linear-gradient(var(--c) 0 0) 0% var(--_p, 0%) / var(--_p, 0%) var(--b) no-repeat;
    -webkit-background-clip: text, padding-box;
    background-clip: text, padding-box;
    transition: 0.3s var(--_s, 0s) linear,
    background-size 0.3s calc(0.3s - var(--_s, 0s));
}

.hover:hover {
    --_p: 100%;
    --_s: 0.3s;
}

/************************************/
/*****     Courses area css     *****/
/************************************/

.courses {
    background: #ffeee9;
    padding: 100px 0;
    position: relative;
}

.course-single {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

.course-body {
    padding: 10px 0;
}

.course-body h3 {
    font-size: 16px;
    margin: 0 0 10px;
    font-weight: 500;
    color: #fff;
    display: inline-block;
    background: #ff5722;
    padding: 9px 30px;
    position: relative;
}

.course-body h3:after {
    content: "";
    width: 40px;
    position: absolute;
    top: 0;
    right: -20px;
    bottom: 0;
    transform: skewX(40deg);
}

.course-body p {
    padding: 0 30px;
    color: #707070;
    font-size: 14px;
    line-height: 1.7em;
}

.course-footer {
    border-top: 1px solid #e8e8e8;
    padding: 20px 30px;
}

.course-footer a {
    display: inline-block;
    color: #fff;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
}

.course-footer a:hover {
    background: #333 !important;
}

.course-footer span {
    font-size: 24px;
    font-weight: 900;
    float: right;
}

.course-orange h3 {
    background: #ff5722;
}

.course-orange h3:after {
    background: #ff5722;
}

.course-orange .course-footer a {
    background: #ff5722;
}

.course-orange .course-footer span {
    color: #ff5722;
}

.course-blue h3 {
    background: #1976d2;
}

.course-blue h3:after {
    background: #1976d2;
}

.course-blue .course-footer a {
    background: #1976d2;
}

.course-blue .course-footer span {
    color: #1976d2;
}

.course-green h3 {
    background: #a4cf27;
}

.course-green h3:after {
    background: #a4cf27;
}

.course-green .course-footer a {
    background: #a4cf27;
}

.course-green .course-footer span {
    color: #a4cf27;
}

/************************************/
/*****    About us area css     *****/
/************************************/

.about-us {
    padding: 70px 0;
    position: relative;
    background-position: center;
}

.about-content {
    margin-bottom: 30px;
    text-align: right !important;
}

.about-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.6em;
}

.about-content p {
    margin: 0 9px 9px 9px;
    padding: 11px;
    border-radius: 20px;
    background-color: #b321210f;
    color: black;
    line-height: 1.7em;
    text-align: justify;
}

.about-social-links a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #ff5722;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.5);
    color: #fff;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    margin: 4px 20px 4px 0;
    transition: all 0.3s;
}

.about-social-links a:hover {
    background: #1976d2;
    box-shadow: 0 0 0 4px rgba(25, 118, 209, 0.5);
}

/************************************/
/*****   Faculty Team area css  *****/
/************************************/

.faculty {
    padding: 70px 0;
    position: relative;
}

.faculty-single {
    text-align: center;
    background: #b3212119;
    box-shadow: 2px 2px 30px rgb(0 0 0 / 10%);
    padding: 20px 10px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.faculty-single figure {
    display: inline-block;
    max-width: 90% !important;
    border-radius: 40px 10px;
    overflow: hidden;
    border: 8px solid #b3212152;
}

.faculty-single figure img {
    transition: 1s ease;
    height: 285px;
}

.faculty-single figure img:hover {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    transition: 1s ease;
}

.profile2 figure {
    border-radius: 10px 40px !important;
}

.faculty-single h3 {
    display: inline-block;
    letter-spacing: 0.04em;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    color: #fff;
    padding: 8px 20px;
    z-index: 1;
}

.faculty-single h3:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    transform: skewX(30deg);
}

.faculty-single h3:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    transform: skewX(-30deg);
}

.faculty-single p {
    margin: 0;
    color: #333;
}

.faculty-orange h3:before,
.faculty-orange h3:after {
    background: #ff5722;
}

.faculty-blue h3:before,
.faculty-blue h3:after {
    background: #1976d2;
}

.faculty-green h3:before,
.faculty-green h3:after {
    background: #a4cf27;
}

.manager-profile {
    justify-content: center;
}

.manager-profile > div {
    flex: 0 0 45%;
}

.manager-profile .profile1 {
    margin-left: 10px;
}

.manager-profile .profile2 {
    margin-right: 10px;
}

.manager-profile-style {
    padding: 0;
}

/**********************************/
/*****     Event area css     *****/
/**********************************/

.events {
    padding: 70px 0;
    position: relative;
}

.index-news {
    width: 260px;
    height: 200px;
}

.news-single-img {
    width: 350px !important;
    height: 300px;
}

.index-body-news {
    justify-content: center;
}

.body-news .not-found {
    margin: auto !important;
    background: #b321212a;
    padding: 5px 7px;
    border-radius: 10px;
}

.event-single {
    background: #fff;
    padding: 10px;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 0 5px 15px 5px;
    text-align: center;
}

.event-single figure img {
    border-radius: 6px;
}

.event-single figure {
    position: relative;
}

.event-single .date {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 66px;
    font-size: 12px;
    color: #fff;
    padding: 10px 10px 8px;
    border-radius: 4px;
    text-align: center;
    line-height: 1.6em;
}

.event-single .date span {
    font-weight: 700;
    font-size: 24px;
}

.event-body {
    padding: 0 10px;
    text-align: right;
}

.event-body h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.event-body p {
    color: #707070;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 8px;
    position: relative;
    padding: 0 0 0 26px;
}

.event-body p.location:before {
    content: "\f041";
    font-family: FontAwesome, serif;
    line-height: 1em;
    font-size: 20px;
    position: absolute;
    top: 0;
    left: 4px;
}

.event-orange .date {
    background: #ff5722;
}

.event-orange .event-body h3 {
    color: #ff5722;
}

.event-orange .event-body p.location:before,
.event-orange .event-body p.time:before {
    color: #ff5722;
}

.event-blue .date {
    background: #1976d2;
}

.event-blue .event-body h3 {
    color: #1976d2;
}

.event-blue .event-body p.location:before,
.event-blue .event-body p.time:before {
    color: #1976d2;
}

.event-green .date {
    background: #a4cf27;
}

.event-green .event-body h3 {
    color: #a4cf27;
}

.event-green .event-body p.location:before,
.event-green .event-body p.time:before {
    color: #a4cf27;
}

.event-pagination {
    text-align: center;
    margin-top: 30px;
}

.event-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    opacity: 1;
    background: #ff5722;
}

.event-pagination .swiper-pagination-bullet-active {
    background: #1976d2;
}

.news-single-style figure img {
    width: 40%;
    margin-bottom: 30px;
}

.news-single-style p {
    padding: 0;
}

.news-single-style p {
    text-align: justify;
    line-height: 35px;
    color: #000;
}

.news-single-style > div {
    width: 100%;
}

.news-style {
    display: grid;
    grid-template-columns: auto auto;
}

.news-style > div {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

.row-news {
    justify-content: center;
}

.row-news > div {
    flex: 0 0 100%;
    justify-content: space-around;
    display: flex;
}

.row-news img {
    width: 100%;
}

.row-news .event-slider {
    width: 100%;
}

.body-news {
    display: flex;
    flex-direction: row;
}

.single-news .container {
    width: 900px;
}

.single-news .swiper-container {
    overflow: visible;
}

.single-news .event-single {
    box-shadow: 2px 2px 30px #b3212167;
}

.single-news-body {
    box-shadow: 2px 2px 10px #544c4c7a;
    background-color: #ffffff;
    width: 80%;
    margin: 50px auto;
    border-radius: 10px;
}

.single-news-img {
    text-align: center;
}

.single-news-img img {
    padding: 20px;
    border-radius: 50px;
    width: 50%;
}

.single-news-p {
    padding: 20px;
}

.single-news-p p {
    margin: 0;
    text-align: justify;
}

/*************************************/
/*****    Testimonial area css   *****/
/*************************************/

.testimonial {
    padding: 70px 0 0;
    position: relative;
}

.testimonial-slider-wrapper-outer {
    background: #cde686;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 26px 26px 0 0;
    position: relative;
    padding: 20px 20px 0 20px;
}

.testimonial-slider-wrapper {
    background: #a4cf27;
    border-radius: 16px 16px 0 0;
    padding-bottom: 24px;
}

.testimonial-slide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 100px 0;
    text-align: center;
}

.testimonial-slide figure {
    max-width: 220px;
    display: inline-block;
}

.testimonial-slide figure img {
    border-radius: 10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.testimonial-slide h3 {
    font-size: 28px;
    margin: 0 0 14px;
    color: #fff;
    font-weight: normal;
    letter-spacing: 0.04em;
}

.testimonial-slide p {
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    text-align: center;
    margin-right: 20px;
}

.testimonial-pagination {
    text-align: center;
    margin-top: 20px;
}

.testimonial-pagination .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    opacity: 1;
    background: #cde686;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: #fff;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
}

.honors-container {
    position: relative;
    width: 1160px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    transform-style: preserve-3d;
    perspective: 500px;
    margin: auto;
}

.honors-container .content > div {
    flex-direction: column;
}

.honors-container div {
    display: flex;
}

.honors-container .box1 {
    position: relative;
    width: 275px;
    height: 275px;
    background: #000;
    transition: 0.5s;
    transform-style: preserve-3d;
    overflow: hidden;
    box-shadow: 2px 2px 30px rgb(0 0 0 / 10%);
    margin: 30px 5px 105px 5px;
}

.honors-container .box1:hover {
    transform: rotateY(0deg) scale(1.25);
    z-index: 1;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
}

.honors-container .box1 .imgBx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.honors-container .box1 .imgBx:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg, rgba(255, 0, 0, 0.594), #000);
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
    mix-blend-mode: multiply;
}

.honors-container .box1:hover .imgBx:before {
    opacity: 1;
}

.honors-container .box1 .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center;
}

.honors-container .box1 .content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    padding: 20px;
    align-items: start;
    box-sizing: border-box;
    text-align: right;
}

.honors-container .box1 .content h2 {
    color: #fff;
    transition: 0.5s;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 20px;
    transform: translateY(200px);
    transition-delay: 0.3s;
}

.honors-container .box1:hover .content h2 {
    transform: translateY(0px);
}

.honors-container .box1 .content p {
    color: #fff;
    transition: 0.5s;
    font-size: 14px;
    transform: translateY(200px);
    transition-delay: 0.4s;
}

.honors-container .box1:hover .content p {
    transform: translateY(0px);
}

/*************************************/
/*****   Photo Gallery area css  *****/
/*************************************/

.gallery h3 {
    margin: auto !important;
    background: #b321212a;
    padding: 5px 7px;
    border-radius: 10px;
}

.photo-gallery {
    padding: 70px 0 50px;
    position: relative;
}

.photo-single {
    padding: 8px;
    cursor: pointer;
    position: relative;
    margin-bottom: 50px;
}

.photo-single img {
    border: 8px solid #fff;
    display: block;
    width: 100%;
    height: auto;
}

.photo-single:before {
    content: "";
    display: block;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.photo-single:after {
    content: "";
    display: block;
    width: 80px;
    height: 80px;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.photo-orange:before,
.photo-orange:after {
    background: #fff2007a;
}

.photo-blue:before,
.photo-blue:after {
    background: #b321217a;
}

.photo-green:before,
.photo-green:after {
    background: #ff57227a;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
    background-color: #b3212191;
}

.gallery .photo-single:hover .overlay {
    opacity: 1;
}

.gallery .text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.gallery img {
    /*width: 239px;*/
    /*height: 167px;*/
    width:100%;
    height:100%;
    margin: auto;
}

.facilities-gallery {
    justify-content: center;
    flex-direction: column;
    margin: auto;
}

.facilities-gallery > div {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

.facilities-gallery img {
    width: 370px;
    height: 280px;
}

/*************************************/
/*****     Contact us area css   *****/
/*************************************/

.contactus {
    padding: 100px 0;
    position: relative;
}

.contactus .container > div {
    text-align: right;
}

.contact-form .form-control {
    color: inherit;
    padding: 10px 20px;
    height: auto;
    resize: none;
    background: #fff;
    border-radius: 8px;
    border: 4px solid rgba(25, 118, 209, 0.14);
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
}

.btn-contact {
    background: #1976d2;
    color: #fff;
    padding: 10px 40px;
    border: 4px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: none;
    outline: 0;
}

.btn-contact:hover,
.btn-contact:focus {
    background: #ff5722;
    box-shadow: none;
    outline: 0;
}

.contact-info p {
    font-size: 16px;
    font-weight: 400;
    color: #707070;
    position: relative;
    padding: 5px 0 5px 60px;
    margin-bottom: 35px;
}

.contact-info i {
    color: #ffffff;
    border-radius: 50%;
    background-color: #b32121;
    padding: 10px;
    margin-left: 5px;
}

.contact-social-link a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #1976d2;
    color: #fff;
    font-size: 18px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(25, 118, 209, 0.5);
    margin: 6px 30px 6px 0;
    transition: all 0.3s;
}

.contact-social-link a:hover {
    background: #ff5722;
    box-shadow: 0 0 0 6px rgba(255, 87, 34, 0.5);
}

.contactus .address-map {
    border-radius: 20px;
    border-color: rgba(0, 0, 0, 0.175);
}

/*************************************/
/*****      Footer area css      *****/
/*************************************/

footer.footer {
    padding: 60px 0 0 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    width: 214px;
    height: 67px;
}

.footer-copyright {
    max-width: 568px;
    margin: 0 auto;
}

.footer-copyright p {
    color: #707070;
    line-height: 1.7em;
    margin: 0;
    font-size: 12px;
}

.footer-copyright p a {
    color: #ff5722;
    text-decoration: underline;
    transition: all 0.3s;
}

.footer-copyright p a:hover {
    color: #1976d2;
}

/************************************/
/*****    Virtual Classes area css   *****/
/************************************/

table.blueTable {
    background-color: #d8d0d68a;
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

table.blueTable td,
table.blueTable th {
    padding: 14px 2px;
}

table.blueTable tbody td {
    font-size: 15px;
}

table.blueTable thead {
    background: #b32121;
}

table.blueTable thead th {
    font-size: 15px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    border-left: 1px solid #ffffff;
}

table.blueTable thead th:first-child {
    border-left: none;
}

table.blueTable tfoot td {
    font-size: 14px;
}

table.blueTable tfoot .links {
    text-align: right;
}

table.blueTable tfoot .links a {
    display: inline-block;
    background: #1c6ea4;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 5px;
}

.table-of-classes {
    margin: 122px auto 50px auto;
    width: 80%;
}

.table-of-classes table {
    border-radius: 1em;
}

.table-of-classes a {
    color: black;
    padding: 3px 30px;
    border-radius: 4px;
    transition: all ease 0.5s;
}

.table-of-classes a:hover {
    background-color: #b321212a;
}

/************************************/
/*****       Media Screens      *****/
/************************************/

@media only screen and (max-width: 1252px) {
    .honors-container {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .honors-container .box1:hover ~ .box1 {
        transform: rotateY(0deg);
    }

    .honors-container .box1 {
        margin: 30px 5px -7px 5px;
    }
}

@media only screen and (max-width: 1200px) {
    .navbar-expand-lg > .container {
        flex-direction: column;
        align-items: center;
    }

    .navbar-expand-lg > .container ul {
        margin: auto;
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        padding: 1px 6px 10px 6px;
    }

    .navbar-brand img {
        width: 100px !important;
        height: 38px !important;
    }
}

@media only screen and (max-width: 1100px) {
    .single-news-body {
        flex-direction: column;
        margin: 35px auto;
        width: 90%;
    }

    .single-news-p {
        width: 100%;
    }

    .about-mehrkoosh {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .manager-profile {
        margin: auto;
    }

    .about-mehrkoosh div {
        display: contents;
    }

    .about-content {
        text-align: center !important;
    }

    .manager-profile {
        flex-direction: column;
    }

    .profile1 {
        margin-left: 0 !important;
    }

    .profile2 {
        margin-right: 0 !important;
    }

    .honors-container div {
        display: flex;
        flex-direction: column;
    }
}

@media only screen and (max-width: 991px) {
    header.header {
        height: 52px;
    }

    .header .navbar-nav {
        display: none;
    }

    .header .navbar {
        align-items: flex-start;
    }

    .header .navbar .container {
        position: relative;
        flex-wrap: wrap;
        max-width: 100%;
    }

    .header .navbar-toggle,
    #responsive-menu {
        display: block;
        text-align: center;
        width: 100%;
    }

    .navbar-brand img {
        display: none;
    }
}

.navbar-brand img {
    width: 170px;
    height: 55px;
}

/* Mobile Layout */
@media only screen and (max-width: 991px) {
    .navbar-brand {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .banner-slide .banner-slide-overlay {
        left: 10%;
        right: 10%;
    }

    .banner-slide-overlay h2 {
        font-size: 36px;
    }

    .activities-single {
        padding: 0;
    }

    .course-single {
        max-width: 480px;
        margin: 0 auto 30px;
    }
}

@media only screen and (max-width: 966px) {
    .news-style > div {
        width: 90%;
        flex-direction: column;
    }
}

@media only screen and (max-width: 950px) {
    .facilities-gallery > div {
        flex-direction: column;
    }
}

@media only screen and (max-width: 868px) {
    .body-news {
        margin: auto;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
}

@media only screen and (max-width: 825px) {
    .news-style {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .news-style > div {
        margin: auto;
    }
    
    .body-news > div {
        width: 100%;
    }
}


@media only screen and (max-width: 767px) {
    .about-content h3 {
        font-size: 18px;
    }
    .our-activities {
        padding: 60px 0 20px;
    }

    .courses,
    .faculty {
        padding: 60px 0 30px;
    }

    .about-us,
    .events,
    .contactus {
        padding: 60px 0;
    }

    .testimonial {
        padding: 60px 0 0;
    }

    .photo-gallery {
        padding: 60px 0 10px;
    }

    .section-title {
        margin-bottom: 17px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 14px;
    }

    .header-social-link,
    .school-info {
        text-align: center;
    }

    .school-info ul li {
        display: block;
    }

    .school-info ul li:before {
        display: none;
    }

    .banner-slide .banner-slide-overlay {
        left: 14%;
        right: 14%;
    }

    .banner-slide-overlay h2 {
        font-size: 20px;
        text-shadow: 1px 0 0 #fff, -1px 0 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff,
        1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
    }

    .btn-slider {
        padding: 6px 20px;
        font-size: 14px;
    }

    .activities-single {
        margin-bottom: 40px;
    }

    .about-image {
        margin-bottom: 40px;
    }

    .testimonial-slider-wrapper-outer {
        padding: 10px 10px 0 10px;
    }

    .testimonial-slide {
        padding: 30px 20px 0;
    }

    .testimonial-slide h3 {
        font-size: 22px;
    }

    .testimonial-slide p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 575px) {
    .single-news-img img {
        width: 100%;
    }
    
    .header .container {
        width: 100%;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .header-social-link {
        display: none;
    }

    .contact-info p {
        font-size: 14px;
        padding: 0;
    }

    .contact-social-link {
        text-align: center;
        margin-bottom: 40px;
    }

    .contact-social-link a {
        margin: 6px 10px;
    }

    .event-single {
        box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.1);
    }
}

@media only screen and (max-width: 486px) {
    .faculty-single figure img {
        height: 240px;
    }
}

@media only screen and (max-width: 350px) {
    .faculty-single figure img {
        height: 140px;
    }
}
