@font-face {
    font-family: Shabnam;
    src: url('../fonts/shabnam/Shabnam-FD.eot');
    src: url('../fonts/shabnam/Shabnam-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/shabnam/Shabnam-FD.woff2') format('woff2'),
    url('../fonts/shabnam/Shabnam-FD.woff') format('woff'),
    url('../fonts/shabnam/Shabnam-FD.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Shabnam;
    src: url('../fonts/shabnam/Shabnam-Bold-FD.eot');
    src: url('../fonts/shabnam/Shabnam-Bold-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/shabnam/Shabnam-Bold-FD.woff2') format('woff2'),
    url('../fonts/shabnam/Shabnam-Bold-FD.woff') format('woff'),
    url('../fonts/shabnam/Shabnam-Bold-FD.ttf') format('truetype');
    font-weight: bold;
}


@font-face {
    font-family: Shabnam;
    src: url('../fonts/shabnam/Shabnam-Thin-FD.eot');
    src: url('../fonts/shabnam/Shabnam-Thin-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/shabnam/Shabnam-Thin-FD.woff2') format('woff2'),
    url('../fonts/shabnam/Shabnam-Thin-FD.woff') format('woff'),
    url('../fonts/shabnam/Shabnam-Thin-FD.ttf') format('truetype');
    font-weight: 100;
}

@font-face {
    font-family: Shabnam;
    src: url('../fonts/shabnam/Shabnam-Light-FD.eot');
    src: url('../fonts/shabnam/Shabnam-Light-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/shabnam/Shabnam-Light-FD.woff2') format('woff2'),
    url('../fonts/shabnam/Shabnam-Light-FD.woff') format('woff'),
    url('../fonts/shabnam/Shabnam-Light-FD.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: Shabnam;
    src: url('../fonts/shabnam/Shabnam-Medium-FD.eot');
    src: url('../fonts/shabnam/Shabnam-Medium-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/shabnam/Shabnam-Medium-FD.woff2') format('woff2'),
    url('../fonts/shabnam/Shabnam-Medium-FD.woff') format('woff'),
    url('../fonts/shabnam/Shabnam-Medium-FD.ttf') format('truetype');
    font-weight: 500;
}


body, html {
    font: 1rem Shabnam;
}

body {
    background: #f1f1f1;
    color: #676767;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

.default-color {
    color: #5bab97;
}

header {
    padding: 20px 0;
    color: #ffffff;
    background: #67B26F;
    background: -webkit-linear-gradient(to left, #4ca2cd, #67B26F);
    background: linear-gradient(to left, #4ca2cd, #67B26F);
    position: relative;
    height: 290px;
}

a:active,
a:link,
a:hover,
a:focus,
a:visited,
.btn-link,
.btn-link:hover {
    text-decoration: none;
    outline: none;
    color: #5bab97;
}

.text-logo-lg {
    color: inherit;
}

.navbar-brand,
.navbar-left a {
    color: #fff !important;
}

.dropdown-btn {
    background: rgba(255, 255, 255, 0.69);
    border: 0;
    color: #626262;
    padding: 7px 16px;
    border-radius: 2px
}

.dropdown-btn + .dropdown-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: transparent;
    color: #fff
}

.dropdown-btn::after {
    vertical-align: middle
}

.mobile-navbar {
    padding: 5px 0 0;
    background: #67B26F;
    background: -webkit-linear-gradient(to left, #4ca2cd, #67B26F);
    background: linear-gradient(to left, #4ca2cd, #67B26F);
    border-bottom: 1px solid rgba(239, 239, 239, 0.2);
}

.navbar-toggler {
    float: left;
    color: #fff;
    margin: 5px 10px;
}

.navbar-brand {
    color: #ffffff;
    font: bold 1.7rem inherit;
    font-size: 1.85rem;
}

.navbar-left {
    width: 260px;
}

.navbar-nav .nav-link{
    color: #fff;
}

.rounded {
    border-radius: 2px !important;
}

#searchContainer {
    width: 70%;
    position: relative;
    margin: 0 auto;
}

.header-search-input {
    background: #fff;
    border: 1px solid #fff;
    padding: 15px;
    border-radius: 2px;
    width: 100%;
}

.header-search-sub-btn {
    background: #67B26F;
    background: -webkit-linear-gradient(to left, #4ca2cd, #67B26F);
    background: linear-gradient(to left, #4ca2cd, #67B26F);
}

.header-search-sub-btn {
    border: 1px solid transparent;
    color: #61ae85;
    padding: 15px 20px;
    position: absolute;
    background: #f9f9f9;
    left: 0;
    top: 0;
    border-right: 1px solid #dedede;
    text-align: center;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

header.main-header:after {
    content: "";
    width: 100%;
    position: absolute;
    top: 100%;
    background: no-repeat url(../images/header-curve.png);
    height: 100px;
    background-size: 100% 100%;
}

div#headerOpenTimes {
    position: absolute;
    top: 95%;
    width: 100%;
    z-index: 1;
    left: -50%;
    margin-left: 50%;
}

main {
    margin-top: 60px;
}

header.main-header + main {
    margin-top: 190px;
}

#lastNewsContainer {
    overflow: hidden;
    background: #fff;
    line-height: 3rem;
    margin-bottom: 15px;
    width: calc(100% - 90px);
    margin-right: 90px;
    border: 1px solid #e6e6e6;
}

#lastNewsContainer::before {
    content: "آخرین اخبار : ";
    font-size: 16px;
    font-weight: bold;
    background: #67B26F;
    background: -webkit-linear-gradient(to left, #4ca2cd, #67B26F);
    background: linear-gradient(to left,
    #4ca2cd,
    #67B26F);
    color: #fff;
    padding: 0 10px;
    border-radius: 0 50px 50px 0;
    position: absolute;
    right: 0;
    border: 1px solid transparent;
    margin-top: -1px;
}

#lastNewsContainer > ul {
    padding: 0;
    float: right;
    margin-bottom: 0;
}

#lastNewsContainer > ul > li {
    list-style: none;
    padding-right: 10px;
}

#lastNewsContainer > ul > li:not(.active) {
    display: none;
}

div[id^=section] {
    margin-bottom: 40px;
}

.accordion-header-icon {
    padding: .375rem 0;
    font-size: .7rem;
    margin-left: -10px;
}

.accordion .card {
    background: transparent;
    border: 1px solid transparent;
}

.accordion .card-header {
    padding: 0.6rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid #e9e9e9;
}

.accordion .card-header h2 {
    font-family: Shabnam, sans-serif;
}

.accordion .card-body {
    flex: 1 1 auto;
    padding: 0.5rem;
    line-height: 2rem;
    text-align: justify;
}

.font-lg {
    font-size: 2.8rem;
}

.team-member {
    background: #fbfbfb;
    padding: 20px;
    min-height: 300px;
    border-radius: 2px;
    transition: all .2s ease-out;
}

.team-member:hover {
    box-shadow: 0 5px 10px 0 #d4d4d4;
    transition: all .2s ease-in-out;
}

.team-member-header > h6 > span:first-child {
    font-family: Shabnam;
}

.team-member-header > h6 > span:first-child::after {
    content: "|";
    padding: 0 5px 0 0;
    opacity: 0.3;
}

.team-member-header > h6 > span:last-child {
    font: 300 13px inherit;
}

.team-member-about {
    line-height: 1.5rem;
    font-size: .9rem;
}

.team-member-header {
    background: #f1f1f1;
    padding: 10px;
    margin-bottom: 10px;
}

footer {
    background: #ececec;
    padding: 20px;
    text-align: center;
}

.h--font-bold {
    font-weight: bold;
}

.h-bg-black-50 {
    background: rgba(0, 0, 0, .3);
}

.bg-gradient {
    background: #67B26F;
    background: -webkit-linear-gradient(to left, #4ca2cd, #67B26F);
    background: linear-gradient(to left, #4ca2cd, #67B26F);
}

.navbar-brand > img {
    height: 40px;
    max-height: 40px;
    max-width: 180px;
}

.news-item {
    background: #fff;
    padding: 2rem;
    margin-bottom: 10px;
    border-radius: 2px;
    box-shadow: 0 0px 10px 1px #eae7e7;
    border: .2rem solid #f5f5f5;
    border-right-color: rgb(245, 245, 245);
    border-right-style: solid;
    border-right-width: 0.2rem;
    border-right: .2rem solid #54a7b1;
}

@media (max-width: 576px) {
    #searchContainer {
        width: 100%;
    }

    .navbar,
    header:after {
        display: none;
    }

    #headerOpenTimes {
        top: 80% !important;
    }

    main,
    #headerSearchSection {
        margin-top: 40px !important;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }
}