/*!
Author:     Wady
Author URI: https://wady.sa
*/

/* General */
body {
    font-family: 'Tajawal', sans-serif;
}

img {
    max-width: 100%;
}

a, a:hover, a:focus {
    text-decoration: none;
}

main {
    margin-top: 130px;
    min-height: 69vh;
}

.btn.btn-more {
    background-color: transparent;
    color: #4DAC95;
    font-size: 14px;
    padding: 7px 20px;
    border: 1px solid;
}

.btn.btn-more:hover {
    background-color: #4DAC95;
    color: #FFFFFF;
}

.hvr-sweep-to-left:before {
    background: #4DAC95;
    border-radius: 0.375rem;
}

.hvr-underline-from-right:before {
    background: #5db39f;
    height: 1px;
    top: 45px;
}

[type=email], [type=number], [type=tel], [type=url] {
    text-align: right;
}

/*Header*/
header .navbar {
    background-color: #FFFFFF;
    min-height: 130px;
}
header .navbar-brand img {
    max-height: 90px;
}

header .btn.btn-banner {
    background-color: #378f79;
    color: #FFFFFF;
    font-size: 14px;
    padding: 7px 20px;
}

header button.navbar-toggler {
    border: none;
}

header .navbar-toggler:focus {
    box-shadow: none;
}

header .navbar-nav .nav-link {
    font-weight: 500;
    color: black;
    padding: 13px !important;
    font-size: 15px;
}

header .navbar-nav .nav-link.active, header .navbar-nav .nav-link:hover {
    color: #4DAC95;
}

header .navbar-nav .nav-link.active:after {
    content: "";
    height: 1px;
    width: 90%;
    display: block;
    margin: 20px 0;
    background-color: #5db39f;
    position: absolute;
    top: 25px;
    right: 5%;
}

/* Footer */
footer {
    background-color: #378F79;
    color: #FFFFFF;
    padding: 10px 0;
}

footer .list-inline {
    margin: 15px 0;
}

footer .list-inline li {
    background-color: #5ab29d;
    height: 20px;
    width: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 7px;
}

footer .list-inline li a {
    color: #FFFFFF;
    font-size: 11px;
}


/* Breadcrumb */
#breadcrumb {
    background: url("../images/bg-h.jpg") bottom center;
    background-size: cover;
    padding: 100px 0;
    color: #FFFFFF;
    position: relative;
}

#breadcrumb h1 {
    font-size: calc(4rem + 1vw);
    font-weight: 900;
}

#breadcrumb h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

#breadcrumb h3 {
    font-size: calc(3rem + 1vw);
}

#breadcrumb h4 {
    margin-bottom: 30px;
    font-size: 14px;
}

#breadcrumb .overlay {
    background-color: #378f79b8;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
}

#breadcrumb .text-center {
    position: relative;
}

section#breadcrumb a {
    color: #fff;
    padding: 10px;
    line-height: 35px;
}

section#breadcrumb a:before {
    content: "#";
}

/* About */
#about {
    padding: 70px 0;
}

#about p {
    text-align: justify;
}

#about h1:after {
    content: "";
    height: 1px;
    width: 50px;
    background-color: #378f79;
    display: block;
    margin: 20px 0;
}

/* Home cat */
#home-cat {
    padding: 70px 0;
    background-color: #F8F8F8;
}

#home-cat .box {
    box-shadow: 0 0 15px #f5f2f2;
    background-color: #FFF;
    padding: 20px;
    border-radius: 20px;
}

#home-cat .box .content {
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 30px;
    transition-duration: 2s, 1s;
}

#home-cat .box .content:hover {
    border: 1px solid #5ab29c;
}

#home-cat .box .content i {
    background-color: #F8F8F8;
    color: #378F79;
    height: 120px;
    width: 120px;
    line-height: 120px;
    border-radius: 50%;
    font-size: 50px;
    transition-duration: 2s, 1s;
}

#home-cat .box .content:hover i {
    background-color: #378F79;
    color: #FFFFFF;
}

.box .content img {
    height: 200px;
    object-fit: cover;
}

#home-cat .box .content h4 {
    color: #378f79;
    font-weight: 600;
    font-size: 20px;
    margin: 30px 0;
}

#home-cat .box:hover .content h4 {
    margin: 25px 0;
}

/* Login btn */
#login-btn {
    padding: 70px 0;
}

#login-btn .btn.btn-1 {
    width: 100%;
    height: 70px;
    line-height: 50px;
    border: 1px solid;
    color: #FFFFFF;
    font-size: 20px;
    background-color: #378F79;
}

#login-btn .btn.btn-2 {
    width: 100%;
    height: 70px;
    line-height: 50px;
    border: 1px solid #4DAC95;
    color: #4DAC95;
    font-size: 20px;
}

#login-btn .btn.btn-2:hover {
    border: 1px solid transparent;
    color: #FFFFFF;
}

/* Map */
#map {
    background: url("../images/bg-map.jpg") center;
    background-size: 100% 100%;
    min-height: 69vh;
}

#map .icon-location {
    padding: 50px 0;
}

#map .icon-location a {
    color: #378f79;
}

#map .icon-location a:hover {
    color: #000000;
}

/* Cards */
#cards {
    padding: 70px 0;
}

#cards .card {
    box-shadow: 0 0 15px #ddd;
    border: none;
    border-radius: 15px;
    margin: 15px 0;
    padding-bottom: 15px;
    min-height: 385px;
    
}

#cards .card img.card-img-top {
    border-radius: 15px 15px 0 0;
    height: 175px;
    object-fit: scale-down;
    padding: 20px 0;
}

#cards .card .card-title {
    font-weight: 700;
    font-size: 18px;
    margin: 10px 0;
}

#cards .card p.card-text {
    font-size: 14px;
}

#cards .card a.more {
    color: #378f79;
    font-weight: 700;
    font-size: 14px;
}

#cards .card .fa-arrow-left {
    font-size: 11px;
}

#cards .title-cards {
    text-align: center;
    font-weight: 700;
}

#cards .title-cards:after {
    content: "";
    height: 1px;
    width: 40px;
    background-color: #378f79;
    display: block;
    margin: 20px auto 40px auto;
}

/* Post */
#post {
    padding: 70px 0;
}

#post img.thumbnail {
    max-height: 220px;
    width: 100%;
    object-fit: scale-down;
    border-radius: 15px;
    margin-bottom: 40px;
}

#post h3 {
    font-weight: 700;
    margin-bottom: 25px;
}

#post p {
    text-align: justify;
    line-height: 2em;
}

#post a.tel {
    color: #378f79;
    border: 1px solid;
    padding: 10px 25px;
    border-radius: 15px;
    margin-top: 40px;
    display: block;
    width: fit-content;
}

/* Head-u */
#head-u {
    padding: 75px 0;
    background: url("../images/Mask1.png") no-repeat center;
    position: relative;
    margin-bottom: 100px;
    text-align: center;
}

#head-u .overlay {
    background-color: #007256ab;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    z-index: 1;
}

#head-u img.user-img {
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: -150px;
    z-index: 2;
    position: relative;
}

/* Form */
#form {
    min-height: 69vh;
    background-color: #F5F5F5;
}

#form form {
    background-color: #FFFFFF;
    padding: 50px;
    margin: 50px 0;
    border-radius: 15px;
    box-shadow: 0 0 15px #DDD;
}

#form .btn.btn-submit {
    background-color: #378f79;
    color: #FFFFFF;
    font-size: 14px;
    padding: 7px;
    margin-top: 30px;
    width: 25%;
    /*margin-right: 75%;*/
}

#form .title-form {
    text-align: center;
    font-weight: 700;
}

#form .title-form:after {
    content: "";
    height: 1px;
    width: 40px;
    background-color: #378f79;
    display: block;
    margin: 20px auto 40px auto;
}

#form a.link {
    display: block;
    margin-top: 20px;
    font-weight: 700;
    color: #000;
}


/* RESPONSIVE */
@media (max-width: 62em) {
    #breadcrumb h1 {
        font-size: calc(3rem + 1vw);
    }

    #breadcrumb h2 {
        font-size: 2rem;
    }

    #breadcrumb h3 {
        font-size: calc(1.5rem + 1vw);
    }

    #home-cat .box {
        margin: 10px;
    }

    #map .icon-location img {
        height: 40px;
    }

    #map .icon-location h2 {
        font-size: 15px;
        font-weight: 700;
    }


}


@media (max-width: 600px) {
header .navbar-brand img {
    max-height: 48px;
    margin-right: 15%;
    margin-top: 10px;
}
header .navbar {
    min-height: 70px;
}

main {
    margin-top: 70px;
}
    
}

