@font-face {
    font-family: 'TheSans-Plain';
    src: url('../fonts/the_sans_plain/TheSans-Plain.eot');
    src: url('../fonts/the_sans_plain/TheSans-Plain.eot?#iefix') format('embedded-opentype'),
        url('../fonts/the_sans_plain/TheSans-Plain.woff2') format('woff2'),
        url('../fonts/the_sans_plain/TheSans-Plain.woff') format('woff'),
        url('../fonts/the_sans_plain/TheSans-Plain.ttf') format('truetype'),
        url('../fonts/the_sans_plain/TheSans-Plain.svg#TheSansArab-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TheSans-Bold';
    src: url('../fonts/theSans-bold/TheSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/theSans-bold/TheSans-Bold.otf') format('opentype'),
        url('../fonts/theSans-bold/TheSans-Bold.woff') format('woff'),
        url('../fonts/theSans-bold/TheSans-Bold.ttf') format('truetype'),
        url('../fonts/theSans-bold/TheSans-Bold.svg#TheSans-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    direction: rtl
}

body {
    font-family: 'TheSans-Plain';
    font-size: 16px
}

ul,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

a {
    color: #333;
}

a:hover,
a:focus,
a:active {
    text-decoration: none
}

.p-60 {
    padding: 60px 0
}

header {
    position: fixed;
    z-index: 99;
    width: 100%;
    top: 0;
    left: 0;
    transition: background 200ms ease-in;
}

header.header-height {
    background: #066940;
    box-shadow: 0 0 4px -1px #0000004a;
}

header .logo-container {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 0;
    align-items: center;
}

header .logo-container .logo img {
    max-width: 100%;
}

header .logo-container .logos {
    max-width: 15%;
    flex: 0 0 15%;
}

header .logo-container .menu-left {
    max-width: 85%;
    flex: 0 0 85%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

header .logo-container .menu-left ul.list-inline.social-links {
    max-width: 100%;
    flex: 0 0 100%;
    text-align: left;
}

header .logo-container .menu-left ul.list-inline.social-links li.profile a {
    background-color: white;
    color: #066940;
    display: block;
    padding: 5px 20px;
    border-radius: 5px;
}

header .logo-container .menu-left ul.list-inline.social-links a {
    color: white;
}

header .logo-container nav.navbar.navbar-inverse {
    margin: 0;
    background: 0;
    border: 0;
    max-width: 90%;
    flex: 0 0 90%;
    padding: 0 10px 0;
}

header .logo-container form.search-form {
    max-width: 5%;
    flex: 0 0 5%;
    position: relative;
    text-align: left;
}

header .logo-container nav.navbar.navbar-inverse .d-flex {
    display: flex;
    align-items: center;
}

.navbar-inverse .navbar-nav > li > a {
    color: white;
    font-size: 14px;
    transition: color 200ms ease-in;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
    background: 0;
}

header .logo-container form.search-form input.search-field {
    border: 0;
    border-radius: 50px;
    padding: 6px 10px;
    position: absolute;
    right: -130px;
    top: -5px;
    transition: transform 400ms ease-in;
    transform: scaleX(0);
    transform-origin: left;
}

header .logo-container form.search-form button {
    background: 0;
    border: 0;
    color: white;
    padding: 0;
    font-size: 14px;
    transition: background 200ms ease-in;
}

header .logo-container nav.navbar.navbar-inverse .d-flex > span a {
    color: white;
    display: block;
    margin-right: 30px;
}

#home-slider .item {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    color: white;
    direction: rtl;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.31);
    background-position: center;
}

#home-slider .item .caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 120px;
    background-color: rgba(40, 40, 40, 0.42);
    width: 660px;
    padding: 30px;
}

#home-slider .item .caption h1 {
    font-family: 'TheSans-Bold';
    margin: 0 0 20px;
    font-size: 22px;
}

#home-slider .item .caption p {
    font-size: 15px;
    line-height: 2;
}

.services .head-block h3 {
    width: 470px;
    margin: auto;
    margin-bottom: 30px;
    line-height: 1.5;
    font-size: 21px;
    letter-spacing: 1px;
}

.services .head-block h3 span {
    color: #a5ad54;
}

.services .item-box .img-item {
    width: 100px;
    height: 100px;
    overflow: hidden;
    margin: auto;
}


.services .item-box .img-item img {
    height: 100%;
    width: 100%;
    object-fit: scale-down;
}

.services .item-box {
    box-shadow: 0px 0 6px 0px rgba(0, 0, 0, 0.25);
    padding: 50px;
    margin: 10px;
    min-height: 290px;
    direction: rtl;
    text-align: center;
}

.services .item-box .caption-item {
    font-family: 'TheSans-Bold';
    margin: 20px 0 0;
    line-height: 1.5;
}

.services .d-flex {
    display: flex;
    justify-content: space-between;
}

.services .d-flex > div {
    display: flex;
    align-items: center;
    max-width: 33.333%;
    flex: 0 0 33.333%;
    justify-content: center;
    margin: 40px 0 0;
    position: relative;
}

.services .d-flex > div > div {
    margin-right: -60px;
}

.services .d-flex > div > div span {
    font-family: 'TheSans-Bold';
    font-size: 30px;
    color: #a2aa53;
    position: relative;
    top: 4px;
    margin-left: 10px;
}

.services .d-flex > div:nth-child(2) > div span {
    color: #3b084b;
}

.sign-in {
    background-image: url(../images/bg-01.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    margin: 70px 0 0;
}

.sign-in .d-flex {
    display: flex;
    flex-wrap: wrap;
}

.sign-in .d-flex .title {
    max-width: 60%;
    flex: 0 0 60%;
    text-align: center;
    padding: 60px 0;
}

.sign-in .d-flex .title p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 30px;
}

.sign-in .d-flex .title h2 {
    margin: 0 0 25px;
    font-family: 'TheSans-Bold';
    font-size: 22px;
    color: #06693a;
}

.sign-in .title .d-flex > div {
    max-width: 25%;
    flex: 0 0 25%;
    height: 70px;
}

.sign-in .title .d-flex > div img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.sign-in .d-flex .box-sign {
    max-width: 40%;
    flex: 0 0 40%;
    background: #f8f8f8;
    padding: 30px;
    margin-top: -40px;
    margin-bottom: -40px;
}

.sign-in .d-flex .box-sign .header {
    background-image: url(../images/bg-sign.png);
    margin-left: -30px;
    margin-right: -30px;
    margin-top: -30px;
    margin-bottom: 30px;
    min-height: 240px;
    background-size: cover;
    background-repeat-y: no-repeat;
    padding: 50px;
    color: white;
}

.sign-in .d-flex .box-sign .header h2 {
    font-family: 'TheSans-Bold';
    font-size: 27px;
    margin: 0 0 20px;
}

.sign-in .d-flex .box-sign .header p {
    font-size: 17px;
}

.sign-in .d-flex .box-sign form input,
.sign-in .d-flex .box-sign form textarea {
    width: 100%;
    padding: 7px 10px;
    border: 0;
}

.courses .head-block {
    text-align: center;
    margin: 40px 0 40px;
    font-family: 'TheSans-Bold';
    color: #06693a;
}

.courses .item {
    box-shadow: 0px 0 18px 0px rgba(0, 0, 0, 0.25);
}

.courses .item .img-item a {
    height: 220px;
    display: block;
    width: 100%;
    overflow: hidden;
}

.courses .item .img-item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.courses .item .caption-item {
    padding: 20px;
    min-height: 140px;
}

.courses .item .caption-item small {
    font-family: 'TheSans-Bold';
    font-size: 18px;
    position: relative;
    color: #191919;
    letter-spacing: 1px;
    display: block;
}

.courses .item .caption-item small:before {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 40px;
    height: 8px;
    right: 0;
    background-color: #a2aa53;
    z-index: -1;
}

.courses .item .caption-item a {
    display: block;
    margin: 10px 0 0;
    font-family: 'TheSans-Bold';
    font-size: 17px;
}

.courses .item .caption-item p {
    font-size: 13px;
    line-height: 1.5;
    margin: 10px 0 7px;
    color: darkgrey;
}

.courses .item .caption-item span {
    font-size: 14px;
    background: #509675;
    color: #b5d349;
    padding: 4px 20px;
    display: inline-block;
    font-family: 'TheSans-Bold';
}

.marbles .head-block h3 {
    font-family: 'TheSans-Bold';
    color: #06693a;
    text-align: center;
    margin: 0 0 30px;
}

.marbles .item {
    direction: rtl;
    text-align: center;
    line-height: 1.8;
    max-width: 80%;
    margin: auto;
    position: relative;
}

.marbles .item small {
    display: block;
    margin: 20px 0 0;
    font-size: 15px;
    color: #06693a;
    font-family: 'TheSans-Bold';
}

.marbles .item:before {
    content: "\f10e";
    font-size: 230px;
    font: normal normal normal 164px/1 FontAwesome;
    color: #f3f3f3;
    position: absolute;
    left: 0;
    right: 0;
    z-index: -1;
}

.contact .d-flex {
    display: flex;
    flex-wrap: wrap;
    max-width: 90%;
    margin: auto;
}

.contact .d-flex > div {
    max-width: 50%;
    flex: 0 0 50%;
}

.contact .d-flex > div.img-contact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact .d-flex > div.img-contact {
    height: 370px;
    overflow: hidden;
    box-shadow: 0px 0 17px 0px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    margin-right: -50px;
    position: relative;
    z-index: -1;
}

.contact .d-flex > div.form-contact {
    box-shadow: 0px 0 21px 0px rgba(0, 0, 0, 0.25);
    background-color: white;
    border-radius: 5px;
    margin-top: 40px;
}

.contact .d-flex > div.form-contact > div {
    padding: 40px;
}

.contact .d-flex > div.form-contact > div h3 {
    text-align: center;
    font-family: 'TheSans-Bold';
    background-color: #06693a;
    color: white;
    margin-top: -40px;
    margin-bottom: 20px;
    padding: 17px;
    border-radius: 1px 0 5px 5px;
    width: 320px;
    margin-right: auto;
    margin-left: auto;
}

.contact .d-flex > div.form-contact > div p {
    font-family: 'TheSans-Bold';
    font-size: 14px;
    margin: 0 0 20px;
}

.contact .d-flex > div.form-contact > div > form input,
.contact .d-flex > div.form-contact > div > form textarea {
    width: 100%;
    border: 1px solid #eee;
    padding: 11px;
}

.contact .d-flex > div.form-contact > div > form {
    position: relative;
}

.contact .d-flex > div.form-contact > div > form button {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 0;
    background-color: #06693a;
    color: white;
    position: absolute;
    left: -20px;
    bottom: -20px;
}

.contact .d-flex > div.form-contact > div > form button:hover {
    background-color: #00542c;
}

.gallery .d-flex {
    display: flex;
}

.gallery .d-flex .gal {
    width: 25%;
    flex: 0 0 25%;
    position: relative;
}

.gallery .d-flex .gal > a {
    display: block;
    height: 210px;
    overflow: hidden;
    background-color: black;
}

.gallery .d-flex .gal > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 200ms ease-in;
}

.gallery h3 {
    text-align: center;
    margin: 0 0 30px;
    font-family: 'TheSans-Bold';
    color: #06693a;
}

.gallery .d-flex .gal .overlay {
    position: absolute;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 250ms ease-out;
}

.gallery .d-flex .gal .overlay a {
    color: white;
    text-align: center;
}

.gallery .d-flex .gal .overlay a span {
    display: block;
}

.gallery .d-flex .gal:hover .overlay {
    opacity: 1;
}

.gallery .d-flex .gal::before {
    content: '';
    position: absolute;
    left: 0.70em;
    right: 0.70em;
    top: 0.70em;
    bottom: 0.70em;
    transform-origin: center;
    transform: scale(0.1);
    transition: transform 250ms ease-out;
    border: 1px solid #fff;
    opacity: 0;
}

.gallery .d-flex .gal:hover > a > img {
    opacity: .7;
}

.gallery .d-flex .gal:hover::before {
    transform: scale(1, 1);
    opacity: 1;
}

body.home footer {
    background: 0;
    overflow: hidden;
    color: #000
}

footer {
    background-color: #066940;
    padding-top: 30px;
    overflow: hidden;
    color: white;
}

footer a {
    color: white;
}

footer a:hover {
    color: white;
}

body.home footer a {
    color: #000
}

body.home footer a:hover {
    color: #066940
}

footer .content {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 20px;
}

footer .content > div {
    width: 33.33%;
    flex: 0 0 33.33%;
}

footer .content > div.copy {
    text-align: left;
}

footer .content > div.logo img {
    display: block;
    margin: auto;
    max-width: 90px;
}

footer .bottom-footer {
    padding-bottom: 20px;
}

.page-header {
    margin: 0 0 40px;
    padding: 150px 0 0;
    min-height: 280px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.37);
    background-blend-mode: multiply;
}

.page-header .content h1 {
    font-family: 'TheSans-Bold';
    margin: 0 0 0;
    font-size: 28px;
}

.page-header .content {
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header .content ul {
    padding: 0;
    list-style-type: none;
    display: flex;
}

.page-header .content ul li {
    margin: 0 10px 0;
}

.page-header .content ul li a {
    color: white;
}

.page-content {
    font-size: 16px;
    line-height: 2;
    padding-bottom: 40px;
}

.page-content p {
    margin: 0 0 15px;
}

.partner .item {
    margin: 0 0 30px;
}

.partner .item .image {
    width: 100%;
    overflow: hidden;
    margin: auto;
    height: 160px;
    box-shadow: 0 0 7px -2px #00000070;
    padding: 10px;
}

.partner .item .image img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

li.dropdown:hover > ul {
    visibility: visible;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    z-index: 10;
    margin-top: 0;
    border-radius: 0;
    -moz-border-top-left-radius: 0;
    border-top-left-radius: 0;
    -moz-border-top-right-radius: 0;
    border-top-right-radius: 0;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.dropdown-menu {
    display: block;
    padding: 0;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    transform: translateY(20px);
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    -o-transform: translateY(20px);
    -ms-transform: translateY(20px);
    border: 0;
}

ul li.dropdown > ul > li {
    display: block;
    position: relative;
    border-top: 1px solid #000;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

ul li.dropdown > ul > li > a {
    padding: 9px 15px;
    display: block;
    font-size: 15px;
    color: #000000;
}

ul li.dropdown > ul > li > a:hover {
    background: 0;
    color: #06693a;
}

.dropdown-menu > .active > a {
    background-color: transparent;
    color: #3b084a;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
    background-color: transparent;
}

.page-content .content .img-post img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
    padding: 10px;
    box-shadow: 0 0 6px -3px #00000038;
}

.page-content .content .img-post {
    margin: 0 0 30px;
}

.contact-3-area {
    display: flex;
    flex-wrap: wrap;
}

.contact-3-area .contact-form {
    flex: 0 0 60%;
    max-width: 60%;
}

.contact-3-area .contact-info {
    flex: 0 0 40%;
    max-width: 40%;
}

.contact-3-area h3 {
    font-size: 20px;
    margin: 0 0 20px;
    font-family: 'TheSans-Bold';
    color: #3b084a;
}

.btn-site {
    background-color: #06693a;
    color: #b6d449;
    border: 0;
    padding: 10px 30px;
    position: relative;
    z-index: 1;
    display: inline-block;
    transition: all 250ms ease-out;
}

.btn-site:before {
    content: '';
    background-color: #a7af5b;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: -1;
    transform: scaleX(0);
    transition: transform 250ms ease-out;
    transform-origin: right;
}

.btn-site:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-site:hover {
    color: white;
}

a:hover {
    color: #06693a;
}

.form-control {
    box-shadow: none;
    height: 40px;
}

textarea.form-control {
    min-height: 140px;
}

.post-type-archive-service .services .item-box {
    margin: 0 0 30px;
    min-height: 240px;
    padding: 20px;
}

.content iframe {
    height: 500px;
    width: 100%;
}

.content a.items-gallery {
    height: 150px;
    width: 100%;
    display: block;
    margin: 0 0 30px;
    overflow: hidden;
    box-shadow: 0 0 10px -3px #cecece;
    padding: 5px;
}

.content a.items-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#service-slide .owl-nav > button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #06693a;
    color: #a2aa53;
    height: 35px;
    width: 35px;
    font-size: 27px;
    transition: all 250ms ease-out;
    border-radius: 4px;
}

#service-slide .owl-nav > button.owl-prev {
    right: 0;
}

#service-slide .owl-nav > button.owl-next {
    left: 0;
}

#service-slide .owl-nav > button > i {
    position: relative;
    top: -1px;
}

#service-slide .owl-nav > button:hover {
    background-color: #b6d449;
    color: #06693a;
}

form.wpcf7-form {
    max-width: 60%;
    margin: auto;
}

form.wpcf7-form label {
    display: block;
}

form.wpcf7-form label input {
    width: 100%;
    border: 1px solid #eee;
    padding: 5px 10px;
}

form.wpcf7-form input.wpcf7-form-control.wpcf7-submit {
    background-color: #066940;
    color: white;
    border: 0;
    padding: 5px 40px;
}

form.wpcf7-form input.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #004227;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    header .logo-container nav.navbar.navbar-inverse {
        display: none;
    }

    form.wpcf7-form {
        max-width: 100%;
    }

    .content iframe {
        height: auto;
    }

    ul.menu-mobile {
        padding: 0;
        list-style-type: none;
        position: fixed;
        z-index: 999;
        background-color: white;
        width: 250px;
        right: 0;
        top: 0;
        min-height: 100vh;
        transform: translateX(250px);
        transition: transform 250ms ease-in;
    }

    ul.menu-mobile li a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .active-menu {
        overflow: hidden;
    }

    .active-menu ul.menu-mobile {
        transform: translateX(0);
    }

    .close-menu {
        position: fixed;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        left: 0;
        top: 0;
        z-index: 9;
        visibility: hidden;
        opacity: 0;
        transition: all 250ms ease-in;
    }

    .active-menu .close-menu {
        visibility: visible;
        opacity: 1;
    }

    header .logo-container .logos,
    header .logo-container form.search-form {
        max-width: 50%;
        flex: 0 0 50%;
    }

    header .logo-container .logos {
        display: flex;
        align-items: center;
    }

    header .logo-container .logos a#menu-toggle {
        color: white;
        display: block;
        margin-left: 7px;
        font-size: 20px;
    }

    #home-slider .item .caption {
        width: 100%;
        right: 0;
    }

    .services .head-block h3 {
        width: 100%;
    }

    .services .d-flex > div {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .services .d-flex {
        flex-wrap: wrap;
    }

    .sign-in .d-flex .title,
    .sign-in .d-flex .box-sign {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .sign-in .d-flex .box-sign {
        margin-top: 0;
    }

    .sign-in .d-flex .box-sign .header {
        padding: 30px;
    }


    .courses .item {
        margin: 0 0 30px;
    }

    .contact .d-flex {
        max-width: 100%;
    }

    .contact .d-flex > div {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .contact .d-flex > div.img-contact {
        margin: 40px 0 0;
    }

    .gallery .d-flex .gal {
        width: 50%;
        flex: 0 0 50%;
    }

    .gallery .d-flex {
        flex-wrap: wrap;
    }

    footer .content > div {
        width: 100%;
        flex: 0 0 100%;
    }

    footer .content > div.logo {
        order: 1;
        margin: 0 0 10px;
    }

    footer .content > div.link {
        order: 2;
    }

    footer .content > div.copy {
        order: 3;
        text-align: center;
        margin: 10px 0 0;
    }

    .contact-3-area .contact-info {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0 0 30px;
        order: 2;
    }

    .contact-3-area .contact-form {
        flex: 0 0 100%;
        max-width: 100%;
        order: 1;
    }
}
