@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;
    background: #ffffff;
    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, .teacher-box, .course-icon i, .blog-box:hover, .contact-box, .contact-box .hidden-content {
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}

/*------------------------------------
top header
------------------------------------*/

.top-header {
    margin: 0em 0 0 0;
    padding: 1em 0;
}

.top-header p {
    font-size: 1em;
    margin: 4px 0 0;
}

.top-header p span {
    padding-right: 10px;
}

.top-header i {
    padding-left: 4px;
    color: #ffc815;
}

.social-media {
    margin: 4px 0 0;
}

.social-media i {
    font-size: 23px;
    color: #ffc815;
}

.social-media a {
    vertical-align: middle;
    padding-top: 10px;
}

/*------------------------------------
Header
----------------------------*/

.header {
    background: #5858584f;
    color: #fff;
    z-index: 10;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    transition: all .5s ease-in-out;
}

.navbar-default {
    background: none;
    border: none;
}

.navbar-brand a {
    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: right;
}

.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 {
    font-weight: bold;
    color: #000 !important;
}

.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;
    display: block;
padding: 3px 20px;
clear: both;
font-weight: 400;
line-height: 1.42857143;
color: #333;
white-space: nowrap;
}

.agile_short_dropdown li a:focus,
.agile_short_dropdown li a:hover {
    color: #e6b106;
    background: transparent;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    transition: all .5s ease-in-out;
}

.serach-login {
    padding: 23px 13px;
}

.serach-login a {
    color: #fff;
}

.search {
    position: absolute;
    top: 34px;
    left: 0;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.search * {
    outline: none;
    box-sizing: border-box;
}

.search__wrapper {
    position: relative;
}

.search__field {
    width: 50px;
    height: 50px;
    color: transparent;
    font-size: 1.35em;
    padding: 0.35em 50px 0.35em 0;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.search__field:focus {
    border-bottom-color: #ccc;
    width: 50vw;
    color: #2b2b2b;
    cursor: default;
}

.search__field:focus~.search__icon {
    background-color: transparent;
    cursor: pointer;
    pointer-events: auto;
}

.search__icon {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
    width: 50px;
    height: 50px;
    font-size: 1.35em;
    text-align: center;
    border-color: transparent;
    border-radius: 50%;
    pointer-events: none;
    display: inline-block;
    transition: background-color 0.2s ease-in-out;
    color: #000;
}

.search__field::-webkit-input-placeholder {
    position: relative;
    top: 0;
    left: 0;
    transition-property: top, color;
    transition-duration: .1s;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

.search__field:-moz-placeholder {
    position: relative;
    top: 0;
    left: 0;
    transition-property: top, color;
    transition-duration: .1s;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

.search__field::-moz-placeholder {
    position: relative;
    top: 0;
    left: 0;
    transition-property: top, color;
    transition-duration: .1s;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

.search__field:-ms-input-placeholder {
    position: relative;
    top: 0;
    left: 0;
    transition-property: top, color;
    transition-duration: .1s;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

.search__field::-webkit-input-placeholder[style*=hidden] {
    color: #83b0c1;
    font-size: .65em;
    font-weight: normal;
    top: -20px;
    opacity: 1;
    visibility: visible !important;
}

.search__field:-moz-placeholder[style*=hidden] {
    color: #83b0c1;
    font-size: .65em;
    font-weight: normal;
    top: -20px;
    opacity: 1;
    visibility: visible !important;
}

.search__field::-moz-placeholder[style*=hidden] {
    color: #83b0c1;
    font-size: .65em;
    font-weight: normal;
    top: -20px;
    opacity: 1;
    visibility: visible !important;
}

.search__field:-ms-input-placeholder[style*=hidden] {
    color: #83b0c1;
    font-size: .65em;
    font-weight: normal;
    top: -20px;
    opacity: 1;
    visibility: visible !important;
}

.signin-modal .nav-tabs {
    margin-bottom: 15px;
}

.btn {
    background-color: #ffc815;
border-color: #ffc815;

}

.btn:hover {
    background-color: #e6b106;
    border-color: #e6b106;
}


.megamenu .dropdown-menu {
    min-width: 360px;
}
/*------------------------------------
Slider
----------------------------*/

.flexslider ul.slides li {
    position: relative;
}

.flex-caption {
    width: 100%;
    height: 100%;
    top: 0;
    line-height: 18px;
    position: absolute;
    background: rgba(4, 4, 4, 0.32);
    right: 0;
    color: #fff;
}

.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: #ffc815 url(../img/arrows.png);
}

.flex-direction-nav .flex-next {
    background: #ffc815 url(../img/arrows.png) no-repeat -40px 0px;
}

/*------------------------------------
Course
----------------------------*/

.section {
    text-align: center;
    padding: 40px 0;
}

.title {
    margin-bottom: 40px;
}

.title h2 {
    position: relative;
    padding-bottom: 11px;
}

.title h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 70px;
    height: 2px;
    background: #ffc815;
    margin: 0 auto;
}

.gray-bg {
    background: #eee;
}

.course-box {
    margin-top: 20px;
    text-align: right;
    border-radius: 6px;
    background: #fff;
}

.course-box a {
    color: #333;
}

.course-box h2 {
    font-size: 22px;
}

.course-img {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.course-img img {
    width: 100%;
}

.course-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    background: url('../img/waves-bg.png');
    width: 100%;
    height: 81px;
    background-size: cover;
}

.course-detail {
    padding: 12px;
    position: relative;
}

.course-price {
    margin-top: 15px;
}

.course-price span {
    color: #878e88;
}

/*------------------------------------
About
----------------------------*/

.about-icon {
    margin-bottom: 20px;
}

.about-icon i {
    font-size: 50px;
    color: #ffc815;
}

.about p {
    font-size: 22px;
}

/*------------------------------------
Logo
----------------------------*/

.logo .item img {
    width: 100%;
    height: 150px;
}

/*------------------------------------
Teacher
----------------------------*/

.teacher {
    padding-bottom: 80px;
}

.teacher-box {
    position: absolute;
    bottom: -50px;
    right: 0;
    left: 0;
    margin: 0 auto;
    text-align: center;
    background: #585858;
    padding: 20px;
    width: 50%;
    color: #fff;
    border-radius: 6px;
}

/*------------------------------------
Comment
----------------------------*/

.comment-box {
    width: 100%;
    position: relative;
    text-align: center;
    margin: 18px;
    padding: 15px 40px;
    background: #585858;
    color: #fff;
    border-radius: 6px;
}

.comment-name {
    position: absolute;
    top: -17px;
    right: -17px;
    padding: 5px;
    text-align: center;
    border-radius: 50%;
    width: 46px;
    background: #ffc815;
    color: #fff;
    font-size: 12px;
    margin: 0 auto;
}

.owl-comments .owl-nav {
    position: initial;
}

.owl-comments.owl-carousel .owl-nav button {
    position: absolute;
    top: 18%;
    font-size: 50px;
    user-select: none;
}

.owl-comments.owl-carousel .owl-prev {
    right: -20px;
    display: flex;
    background-color: white;
}

.owl-comments.owl-carousel .owl-next {
    left: -34px;
    display: flex;
    background-color: white;
}

.owl-comments.owl-theme .owl-nav [class*="owl-"]:hover {
    color: #000;
    background: transparent;
    user-select: none;
}

/*------------------------------------
Footer
----------------------------*/

.footer {
    position: relative;
    background: #eee;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 210px;
    background: url('../img/wave-static-01.svg') #eee;
    background-size: cover;
    transform: rotate(-180deg);
}

.footer .social-media {
    margin: 30px 0;
}

.footer .social-media a {
    display: inline-block;
    width: 25%;
}

.footer .social-media a i {
    font-size: 37px;
}

.map iframe {
    height: 100%;
}

.footer h3 {
    margin-top: 190px;
}
/*------------------------------------
Responsive
------------------------------------*/

@media (max-width:767px) {
    .navbar-brand {
        float: left;
    }

 
    .search {
        width: 100%;
        transform: translateX(0%) translateY(0%);
        position: relative;
    }
    .navbar-default .navbar-nav .open .dropdown-menu>li>a , .agile_short_dropdown li a {
        color: #fff;
        text-align: right;
    }
    .navbar-default .navbar-toggle .icon-bar {
        background-color: #ffc815;
    }
    .navbar-default .navbar-toggle {
        border-color: #ffc815;
    }
    .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus, .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover {
        color: #ffc815;
    }
    .footer .social-media a {
        width: 10%;
    }
}

@media (max-width:991px) {

    .nav > li > a {
        padding: 15px 10px;
    }
    .about-content {
        margin-top: 93px;
    }
    .social a {
        margin-bottom: 50px;
        display: block;
    }
    .social {
        padding: 62px 20px 0;
    }
    .course-box {
        margin-bottom: 80px;
    }

}

@media (max-width:1023px) {
    .about p {
        font-size: 17px;
    }

    .footer h3 {
        margin-top: 20px;
    }
}