@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/IRANSans_Medium.ttf');
}

html, body {
    font-size: 100%;
    font-family: IRANSans;
    margin: 0;
    overflow-x: hidden;
}

p, ul li, ol li {
    margin: 0;
    font-size: 14px;
    line-height: 2em;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: IRANSans;
    line-height: 1.4em;
}

ul, label {
    margin: 0;
    padding: 0;
}

body a:hover {
    text-decoration: none;
}

.ltr {
    direction: ltr;
}

a, .navbar-brand a, .nav-effect ul li a, .btn, .contact-info {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

/*------------------------------------
Header
----------------------------*/

.navbar-default {
    background: none;
    border: none;
}

.navbar-brand a {
    box-shadow: 0px 0px 6px #7d5e09;
    display: inline-block;
    padding: 7px 10px;
    font-size: 17px;
    height: 100%;
}

.navbar-brand a img {
    height: 100%;
}

.navbar-brand a:hover {
    transform: scale(1.1)
}

.navbar-brand a span {
    display: block;
    font-size: 14px;
    text-align: center;
    padding-top: 6px;
}

.navbar-header {
    display: inline-block;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: transparent;
}

.navbar {
    margin-bottom: 0;
}

.navbar-brand {
    height: 70px;
    padding: 0;
    line-height: 18px;
    float: left;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    background: none;
}

.navbar-nav>li>a {
    padding: 14px 13px;
}

.navbar-collapse {
    padding: 0;
    border-top: none;
    box-shadow: none;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border: none;
}

.navbar-left {
    float: none !important;
    margin-right: 0;
    margin-left: 0em;
}

.navbar-nav {
    margin: 7.5px 0px;
}

.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus {
    background-color: transparent;
}

.navbar-nav>li>.dropdown-menu {
    margin-top: 0px;
}

.dropdown-menu .dropdown-submenu .show-left {
    top: -3px;
    right: 100%;
    left: auto;
    margin-right: -1px;
}

.agile_short_dropdown li a {
    padding: 8px 20px;
    text-align: center;
}

/* .dropdown:hover .dropdown-menu.agile_short_dropdown {
    display: block;
}

.dropdown.dropdown-submenu:hover .dropdown-menu {
    display: block;
}
 */

/*------------------------------------
Slider
----------------------------*/

.flexslider ul.slides li {
    position: relative;
}

.flex-caption {
    width: 100%;
    height: 100%;
    top: 0;
    line-height: 18px;
    position: absolute;
}

.flex-caption p {
    position: absolute;
    text-align: center;
    right: 0;
    left: 0;
    top: 41%;
    font-size: 34px;
    line-height: 1.3em;
    padding: 0 2em;
}

.flex-caption a {
    position: absolute;
    text-align: center;
    right: 0;
    left: 0;
    top: 48%;
    font-size: 34px;
}

.flexslider img {
    width: 100%;
    height: 550px;
}

.flex-direction-nav a {
    top: 35%;
    background:  url(../img/arrows.png);
}

.flex-direction-nav .flex-next {
    background:  url(../img/arrows.png) -40px 0px;
}

/*------------------------------------
Features
------------------------------------*/

.section {
    padding: 40px 0;
    text-align: center;
}

.single-item {
    margin-bottom: 30px;
}

.single-item:nth-child(2) {
    margin-top: 80px;
}

.single-item:nth-child(3) {
    margin-top: 160px;
}

.feature-box {
    padding: 65px 30px;
    padding-top: 65px;
    transition: all 0.35s ease-in-out;
    padding-top: 100px;
    padding-top: 100px;
    box-shadow: 0 0 10px 1px #6e6e6e;
    border-radius: 5px;
}

.feature-box:hover {
    transform: scale(1.05);
}

.feature-box h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #232323;
}

.single-item .feature-box i {
    display: inline-block;
    font-size: 50px;
    position: relative;
    margin-bottom: 25px;
}



.single-item .feature-box i::after {
    position: absolute;
    left: -25px;
    top: -40px;
    content: "";
    height: 80px;
    width: 80px;
    z-index: -1;
    opacity: 0.07;
    -webkit-clip-path: polygon(45% 1.33975%, 46.5798% 0.60307%, 48.26352% 0.15192%, 50% 0%, 51.73648% 0.15192%, 53.4202% 0.60307%, 55% 1.33975%, 89.64102% 21.33975%, 91.06889% 22.33956%, 92.30146% 23.57212%, 93.30127% 25%, 94.03794% 26.5798%, 94.48909% 28.26352%, 94.64102% 30%, 94.64102% 70%, 94.48909% 71.73648%, 94.03794% 73.4202%, 93.30127% 75%, 92.30146% 76.42788%, 91.06889% 77.66044%, 89.64102% 78.66025%, 55% 98.66025%, 53.4202% 99.39693%, 51.73648% 99.84808%, 50% 100%, 48.26352% 99.84808%, 46.5798% 99.39693%, 45% 98.66025%, 10.35898% 78.66025%, 8.93111% 77.66044%, 7.69854% 76.42788%, 6.69873% 75%, 5.96206% 73.4202%, 5.51091% 71.73648%, 5.35898% 70%, 5.35898% 30%, 5.51091% 28.26352%, 5.96206% 26.5798%, 6.69873% 25%, 7.69854% 23.57212%, 8.93111% 22.33956%, 10.35898% 21.33975%);
    clip-path: polygon(45% 1.33975%, 46.5798% 0.60307%, 48.26352% 0.15192%, 50% 0%, 51.73648% 0.15192%, 53.4202% 0.60307%, 55% 1.33975%, 89.64102% 21.33975%, 91.06889% 22.33956%, 92.30146% 23.57212%, 93.30127% 25%, 94.03794% 26.5798%, 94.48909% 28.26352%, 94.64102% 30%, 94.64102% 70%, 94.48909% 71.73648%, 94.03794% 73.4202%, 93.30127% 75%, 92.30146% 76.42788%, 91.06889% 77.66044%, 89.64102% 78.66025%, 55% 98.66025%, 53.4202% 99.39693%, 51.73648% 99.84808%, 50% 100%, 48.26352% 99.84808%, 46.5798% 99.39693%, 45% 98.66025%, 10.35898% 78.66025%, 8.93111% 77.66044%, 7.69854% 76.42788%, 6.69873% 75%, 5.96206% 73.4202%, 5.51091% 71.73648%, 5.35898% 70%, 5.35898% 30%, 5.51091% 28.26352%, 5.96206% 26.5798%, 6.69873% 25%, 7.69854% 23.57212%, 8.93111% 22.33956%, 10.35898% 21.33975%);
    border-radius: 5px;
    z-index: 1;
}


/*------------------------------------
Fixed
------------------------------------*/

.fixed-shape {
    position: relative;
    padding-top: 155px;
}

.fixed-shape-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

/*------------------------------------
Course
------------------------------------*/

.course {
    padding: 0;
}

.title {
    display: block;
    font-weight: 800;
    padding-bottom: 20px;
    margin-bottom: 40px;
    position: relative;
    line-height: 1.4;
}

.title h2::before {
    background: #FF1949 none repeat scroll 0 0;
    bottom: 0;
    content: "";
    height: 2px;
    left: 50%;
    margin-left: -25px;
    position: absolute;
    width: 40px;
}

.title h2::after {
    background: #FF1949 none repeat scroll 0 0;
    bottom: 0;
    content: "";
    height: 2px;
    left: 50%;
    margin-left: 20px;
    position: absolute;
    width: 5px;
}

.course .title {
    margin-top: -85px;
}

.course h2 {
    margin: 0;
}

.course-box {
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 5px;
    transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -ms-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    overflow: hidden;
    margin-bottom: 25px;
}

.course-box::after {
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 120%) repeat scroll 0 0;
    z-index: -1;
    border-radius: 0 0 5px 5px;
    transition: all 0.35s ease-in-out;
}

.course-box:hover {
    transform: scale(1.05);
}

.course-img {
    position: relative;
    z-index: -2;
}

.course-img img {
    width: 100%;
}

.course-title {
    text-align: center;
    width: 100%;
}

.course-title h4 {
    font-weight: 700;
    font-size: 20px;
}

/*------------------------------------
Teacher
------------------------------------*/

.teacher-box {
    box-shadow: 1px 4px 20px -2px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    transition: all 0.35s ease-in-out;
}

.teacher-box:hover {
    transform: scale(1.03);
}

.teacher-img {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.teacher-img::before {
    position: absolute;
    left: 0;
    bottom: 6px;
    content: "";
    height: 100%;
    width: 100%;
    background: url(../img/4.png);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}

.teacher-img img {
    box-shadow: 1px 4px 20px -2px rgba(0, 0, 0, 0.1);
    padding: 6px;
}

.teacher-info {
    padding: 30px;
    padding-top: 20px;
}


.owl-theme .owl-dots .owl-dot span {
    width: 21px;
}

/*------------------------------------
Blog
------------------------------------*/

.blog {
    margin-bottom: 106px;
}

.blog-box {
    box-shadow: 1px 4px 20px -2px rgb(0 0 0 / 10%);
    text-align: right;
}

.blog-img {
    position: relative;
    z-index: 1;
}

.blog-img img {
    width: 100%;
}

.blog-date {
    position: absolute;
    left: 30px;
    bottom: -20px;
    padding: 10px 25px;
    text-align: center;
    line-height: 1.5;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 1;
    border-radius: 5px;
}

.blog-date strong {
    display: block;
    font-size: 24px;
}

.blog-date::after {
    position: absolute;
    left: 0;
    bottom: -5px;
    content: "";
    height: 17px;
    width: 99%;
    transform: skewY(-7deg);
    border-radius: 5px;
}

.blog-details {
    padding: 30px;
    padding-top: 60px;
    margin-bottom: 25px;
}


.blog i {
    vertical-align: middle;
}

.btn-more {
    display: block;
    margin: 12px 0;
}


/*------------------------------------
Newsletter
------------------------------------*/

.newsletter {
    padding: 0;
    margin-top: -40px;
    position: relative;
    padding-bottom: 60px;
}

.newsletter::after {
    content: '';
    position: absolute;
    background: url(../img/13.png) no-repeat;
    background-position: bottom center;
    background-size: contain;
    opacity: 0.3;
    height: 242px;
    width: 68%;
    right: 0;
    bottom: -117px;
    bottom: -70px;
    z-index: 1;
}

.newsletter-intro h3 {
    font-size: 30px;
}

.newsletter-form {
    padding: 73px 50px;
    box-shadow: 0 0 10px #cccccc;
    position: relative;
    z-index: 1;
    box-shadow: none;
}

.newsletter-form .form-control {
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 25px;
    min-height: 50px;
}

.newsletter-form button {
    padding: 12px 40px;
    background: linear-gradient(90deg, rgba(212, 4, 47, 1) 0%, rgba(255, 25, 73, 1) 75%);
    transition: all 0.35s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 136, 0, 0.5), inset 0 0 1px 1px #FF1949;
    text-transform: capitalize;
    font-weight: 600;
    width: 100%;
    border: none;
    border-radius: 5px;
}

/*------------------------------------
Application
------------------------------------*/

.application {
    padding: 100px 0;
}

.app-box {
    box-shadow: 0 0 4px 4px #938c8c;
    display: block;
    width: 60%;
    margin: 0 auto;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.app-box:hover {
    transform: scale(1.05);
}

.app-box img {
    width: 100%;
}

/*------------------------------------
Footer
------------------------------------*/

.footer {
    padding: 2em 0;
}

.footer h3 {
    font-size: 1em;
    font-weight: 400;
    margin: 0 0 1em;
    border-bottom: 2px solid #ff1949;
    padding: 12px 5px;
}

.footer p {
    font-size: 14px;
    line-height: 35px;
    text-align: justify;
}

.footer li {
    list-style: none;
}

.footer-logo {
    display: inline-block;
    width: 49%;
}

.social-media a {
    display: inline-block;
    padding: 8px;
}

.social-media a i {
    font-size: 40px;
}

.copyright {
    padding: 1em 0;
    text-align: center;
    border-top: 1px solid #ff1949;
}

.copyright p {
    font-size: .9em;
    margin: 0;
}

/*------------------------------------
Pages
------------------------------------*/

.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.50)), transparent url(../img/12.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 350px;
    background-attachment: fixed;
    text-align: center;
    padding: 100px 20px;
}

.pagination {
    text-align: center;
    display: block;
    margin-top: 30px;
}

.pagination li.page-item {
    float: none;
    display: inline-block;
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.pagination li a {
    display: inline-block;
    padding: 15px 20px;
    border-radius: 5px;
    margin: 0 2px;
    margin-top: 5px;
    font-weight: 800;
}


.page-item:last-child .page-link {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.blog-det .blog-content {
    padding: 70px 40px;
}

.blog-det .blog-img img {
    width: 100%;
}

.blog-content i {
    font-weight: 500;
    margin-right: 3px;
}

.blog-item {
    box-shadow: 1px 4px 20px -2px rgb(0 0 0 / 10%);
    text-align: right;
}

.blog-content blockquote {
    position: relative;
    z-index: 1;
    border: none;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 34px;
    font-style: italic;
    padding: 50px;
}

.blog-content blockquote::before {
    position: absolute;
    right: 0;
    top: 5%;
    content: "";
    height: 90%;
    width: 3px;
}

.blog-content blockquote::after {
    position: absolute;
    right: 50px;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    color: #232323;
    font-size: 100px;
    bottom: 50px;
    font-weight: 600;
    z-index: -1;
    opacity: 0.1;
    font-style: normal;
}

.blog-content blockquote cite {
    display: block;
    margin-top: 15px;
    font-weight: 500;
}

/* Nice Select CSS */

.nice-select {
    -webkit-tap-highlight-color: transparent;
    background-color: #f9f9f9;
    border: solid 1px #e8e8e8;
    border-radius: 4px;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    height: 50px;
    line-height: 50px;
    outline: none;
    padding-left: 18px;
    padding-right: 30px;
    position: relative;
    text-align: right !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 15px;
    z-index: 1;
    color: #999;
}

.nice-select:hover {
    border-color: #dbdbdb;
}

.nice-select:active, .nice-select.open, .nice-select:focus {
    border-color: #999;
}

.nice-select:after {
    border-bottom: 2px solid #999;
    border-right: 2px solid #999;
    content: '';
    display: block;
    height: 5px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    left: 12px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
    -ms-transform-origin: 66% 66%;
    transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 5px;
}

.nice-select.open:after {
    -webkit-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.nice-select.open .list {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
    -ms-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    overflow-y: auto !important;
    height: 200px;
}

.nice-select.disabled {
    border-color: #ededed;
    color: #999;
    pointer-events: none;
}

.nice-select.disabled:after {
    border-color: #cccccc;
}

.nice-select.wide {
    width: 100%;
}

.nice-select.wide .list {
    left: 0 !important;
    right: 0 !important;
}

.nice-select.right {
    float: right;
}

.nice-select.right .list {
    left: auto;
    right: 0;
}

.nice-select.small {
    font-size: 12px;
    height: 36px;
    line-height: 34px;
}

.nice-select.small:after {
    height: 4px;
    width: 4px;
}

.nice-select.small .option {
    line-height: 34px;
    min-height: 34px;
}

.nice-select .list {
    background-color: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    -webkit-box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    -o-box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    box-sizing: border-box;
    margin-top: 4px;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scale(0.75) translateY(-21px);
    -ms-transform: scale(0.75) translateY(-21px);
    transform: scale(0.75) translateY(-21px);
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    z-index: 9;
    width: 100%;
}

.nice-select .list:hover .option:not(:hover) {
    background-color: transparent !important;
}

.nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 40px;
    list-style: none;
    min-height: 40px;
    outline: none;
    padding-left: 18px;
    padding-right: 29px;
    text-align: right;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
    background-color: #f6f6f6;
}

.nice-select .option.selected {
    font-weight: bold;
}

.nice-select .option.disabled {
    background-color: transparent;
    color: #999;
    cursor: default;
}

.no-csspointerevents .nice-select .list {
    display: none;
}

.no-csspointerevents .nice-select.open .list {
    display: block;
}

.contact-info {
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 0 7px 2px #b9b4b4;
    border-radius: 5px;
    padding-bottom: 4px;
}

.contact-info:hover {
    transform: scale(1.05);
}

.contact-info i {
    font-size: 35px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    margin: auto;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 20px;
    margin-top: 25px;
}


.gallery {
    position: relative;
}

.single-gallery {
    width: 30%;
    float: right;
    overflow: hidden;
    position: relative;
}

.single-gallery img {
    width: 100%;
    transition: all 2s ease 0s;
}

.single-gallery:hover img {
    transform: scale(1.5);
}

.single-gallery:hover .overlay {
    background-color: rgba(0, 0, 0, .5);
    z-index: 1000;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: all .5s ease 0s;
}

#filters ul {
    margin-bottom: 35px;
}

#filters .button {
    border: 2px solid #212121;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    padding: 10px 25px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 12px;
    transition: all 0.5s ease 0s;
}


.mfp-title,
.mfp-counter {
    font-size: 20px;
    padding-top: 5px;
}

.mfp-counter {
    font-weight: 600
}


/*------------------------------------
Responsive
------------------------------------*/

@media (max-width:1200px) {
    .fixed-shape {
        padding-top: 230px;
    }
}

@media (max-width:992px) {
    .newsletter {
        margin-top: -180px;
    }
    .newsletter-intro {
        margin-bottom: 20px;
    }
    .newsletter::after {
        display: none;
    }
}

@media (max-width:767px) {
    .item-box .single-item:nth-child(2), .item-box .single-item:nth-child(3) {
        margin-top: 0;
    }
}
