/* ===========================================================
	Medion - Responsive Medical and Health Landing Page Template
	Version:	1.0 
	Designed by: The Template Lab 
 =============================================================
	[Table of Contents]
	
	1. Global CSS
		1.1 General CSS
		1.2 Typography
	2. Master Color Setting
		2.1 Background-color Setting
		2.2 Text-color Setting
	3. Common CSS
	4. Navbar
	5. Banner Section
	6. About Section
	7. Features Section
	8. Counter Section
	9. Gallery Section
	10. Advice Section
	11. Testimonial Section
	12. Blog Section
	13. Subscribe Section
	14. Team Section
	15. Contact Section
	16. Footer Section
*/

/*====================================
			1. Global CSS
====================================*/

/*------------------------------------
			1.1 General CSS
------------------------------------*/

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}


section {
    padding: 80px 0;
}

@media (max-width:991px) {
    section {
        padding: 50px 0;
    }
}

/*------------------------------------
			1.2 Typography
------------------------------------*/

h1,
h2,
h3,
h4,
h5,
p {
    font-family: 'Roboto', sans-serif;
}

h1 {
    font-size: 80px;
}

h2 {
    font-size: 42px;
}

h3 {
    font-size: 20px;
}

.heading {
    margin-top: 0;
    margin-bottom: 22px;
    color: #000;
    font-weight: 400;
}

.xheading {
    font-size: 17px;
    margin-bottom: 35px;
    color: #222;
}

.heading.white {
    color: #fff;
}

a:hover {
    text-decoration: none;
}

a:focus {
    outline: none;
}

@media (max-width:480px) {
    h2 {
        font-size: 35px;
        font-weight: 600;
        margin: 0;
    }
}

/*====================================
		2. Master Color Setting
====================================*/

/*------------------------------------
    2.1 Background-color Setting
------------------------------------*/

.xbutton,
.features .icon-body {
    background-color: #3DA213;
}


/*------------------------------------
    2.2 Text-color Setting
------------------------------------*/

.icon,
.jumbotron span,
.blog-text a:hover,
.footer-icon .fa:hover {
    color: #4FBB22;
}

/*====================================
			3. Common CSS
====================================*/

.bg-light {
    background-color: #fafafa;
}

.bg-grey {
    background-color: #eee;
}

.xbutton {
    border-radius: 30px;
    padding: 12px 40px;
    outline: none!important;
    border: none;
    cursor: pointer;
    color: #f9f9f9;
}

.parallax {
    background-attachment: fixed;
}

.overlay {
    position: relative;
}

.overlay:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    left: 0;
    top: 0;
}

@media (max-width: 575px) {
    .xs-mb-1 {
        margin-bottom: 0.25rem;
    }
    .xs-mb-2 {
        margin-bottom: 0.5rem;
    }
    .xs-mb-3 {
        margin-bottom: 1rem;
    }
    .xs-mb-4 {
        margin-bottom: 1.5rem;
    }
    .xs-mb-5 {
        margin-bottom: 3rem;
    }
    .xs-mb-2r {
        margin-bottom: 2rem;
    }

}

@media (max-width: 767px) {
    .sm-mb-1 {
        margin-bottom: .25rem;
    }
    .sm-mb-2 {
        margin-bottom: 0.5rem;
    }
    .sm-mb-3 {
        margin-bottom: 1rem;
    }
    .sm-mb-4 {
        margin-bottom: 1.5rem;
    }
    .sm-mb-5 {
        margin-bottom: 3rem;
    }
    .sm-mb-2r {
        margin-bottom: 2rem;
    }
}

@media (max-width: 991px) {
    .md-mb-0 {
        margin-bottom: .0!important;
    }
    .md-mb-1 {
        margin-bottom: .25rem;
    }
    .md-mb-2 {
        margin-bottom: 0.5rem;
    }
    .md-mb-3 {
        margin-bottom: 1rem;
    }
    .md-mb-4 {
        margin-bottom: 1.5rem!important;
    }
    .md-mb-5 {
        margin-bottom: 3rem;
    }
    .md-mb-2r {
        margin-bottom: 2rem;
    }
}

@media (max-width: 1199px) {
    .lg-mb-4 {
        margin-bottom: 1.5rem;
    }

}

/*====================================
			4. Navbar
====================================*/

.navbar {
    background: none !important;
    padding: 3px 15px;
}

.nav-link {
    color: #fff !important;
    padding: 0px 15px !important;
    font-family: 'Roboto Slab';
    font-size: 16px;
}

.nav-bg {
    background: #fff !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin-top: 0;
}

.nav-bg a {
    color: #111 !important;
}

.logo-color {
    display: none;
}

.nav-bg .logo-color {
    display: block;
}

.nav-bg .logo-white {
    display: none;
}

@media (max-width: 400px) {
    .navbar-brand img {
        max-width: 200px;
    }
}

@media (max-width: 991px) {
    .navbar-expand-lg {
        background: #fff !important;
    }
    .navbar {
        margin-top: 0 !important;
    }
    .nav-link {
        color: #666 !important;
    }
    .nav-item {
        border-bottom: solid 1px #ccc;
        padding: 10px 0;
    }
    .nav-item:last-child {
        border-bottom: none;
    }
    .logo-color {
        display: block;
    }
    .logo-white {
        display: none;
    }
}

/*====================================
			5. Banner Section
====================================*/

.jumbotron {
    padding: 140px 0;
    margin: 0;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.jumbotron h1 {
    font-size: 60px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 2px;
}

.jumbotron span {
    font-size: 65px;
    font-weight: 800;
}

.jumbotron .lead {
    font-size: 19px;
}

.jumbotron .btn-2 {
    background-color: #2E0E9A!important;
}

@media (max-width: 991px) {
    .jumbotron h1 {
        font-size: 55px;
    }
    .jumbotron span {
        font-size: 60px;
    }
}

@media (max-width: 767px) {
    .jumbotron {
        padding: 90px 0;
    }
}

@media (max-width: 575px) {
    .jumbotron .lead {
        font-size: 16px;
    }
    .jumbotron h1 {
        font-size: 50px;
    }
    .jumbotron span {
        font-size: 55px;
    }
    .jumbotron .xbutton {
        padding: 10px 35px;
        font-size: 14px;
    }
}

@media (max-width: 366px) {
    .jumbotron .lead {
        font-size: 16px;
    }
    .jumbotron h1 {
        font-size: 40px;
    }
    .jumbotron span {
        font-size: 45px;
    }
    .jumbotron .xbutton {
        padding: 10px 29px;
        font-size: 14px;
    }
}


/*====================================
			6. About Section
====================================*/

.about {}

.about h2 {
    font-weight: 400;
    font-size: 38px;
    line-height: 1.4;
    color: #111;
}

.about .xbutton {
    padding: 11px 30px;
}

/*====================================
			7. Features Section
====================================*/

.features .icon-body {
    height: 65px;
    width: 65px;
    border-radius: 50%;

}

.features .icon-body i {
    color: #fff;
    line-height: 65px;
}

.features .features-text {
    margin-left: 90px;
}

/*====================================
		8. Counter Section
====================================*/

.count h3 {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 5px;
}

.count p {
    font-weight: 300;
}

/*====================================
		9. Gallery Section
====================================*/

.gallery .col-md-4 {
    padding: 5px;
}

.img-box {
    position: relative;
}

.text-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(61, 162, 19, 1.00);
    background: rgba(61, 162, 19, 0.90);
    color: #f1f1f1;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    font-size: 20px;
    padding: 20px;
    text-align: center;
}

.img-box:hover .text-overlay {
    opacity: 1;
}

/*====================================
		10. Advice Section
====================================*/

.advice .form-inline input {
    padding: 12px 20px;
    margin-bottom: 10px;
    width: 50%;
    outline: none;
    border-radius: 0;
}

.advice .form-inline input:focus {
    box-shadow: none;
}

.custom-select {
    height: 51px;
    width: 65%!important;
    padding-left: 20px;
    border-radius: 0;
}

.advice .form-inline .name,
.custom-select {
    border-bottom-left-radius: 30px;
    border-top-left-radius: 30px;
}

.advice .form-inline .mail {
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
}

.advice .xbutton {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    width: 35%!important;
    padding: 13px 45px;
}

@media (max-width: 1199px) {
    .advice .xbutton {
        font-size: 14px;
        padding: 14px 45px;
    }
}

@media (max-width: 470px) {
    .advice .xbutton {
        width: 40%!important;
    }
    .custom-select {
        width: 60%!important;
    }
}

@media (max-width: 415px) {
    .advice .xbutton {
        width: 50%!important;
    }
    .custom-select {
        width: 50%!important;
    }
}

@media (max-width: 415px) {
    .advice .xbutton {
        font-size: 13px;
        padding: 14px 30px;
    }
    .custom-select {
        height: 49px!important;
    }

}

/*====================================
		11. Testimonial Section
====================================*/

.testimonial {}

.testimonial-box {
    padding: 40px 30px;
    background-color: #eee;
}

.testimonial-box h4 {
    font-size: 18px;
    margin: 0 0 2px;
}

.testimonial-box p {
    font-size: 14px;
}

.testimonial-star {
    margin: 3px 0 0;
}

.testimonial-star i {
    font-size: 17px;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    font-size: 30px !important;
    padding: 0 6px !important;
    line-height: 1;
    outline: none;
    margin: 10px auto 0;
}

/*====================================
		12. Blog Section
====================================*/

.blog .border {
    border-color: #D5ADAD!important;
}

.blog-text {
    padding: 5px 15px 20px;
}

.blog-text .head {
    font-size: 13px;
    margin-bottom: 5px;
}

.blog-text p span {
    font-weight: 700;
    font-size: 14px;
}

.blog-text h3 {
    font-size: 21px;
}

.blog-text a {
    color: #333;
    -webkit-transition: all linear .3s;
    transition: all linear .3s;
}

.blog-text .xbutton {
    padding: 7px 18px;
    font-size: 13px;
}

@media (max-width: 991px) {
    .blog-text .head {
        font-size: 11px;
        margin-bottom: 5px;
    }
    .blog-text p span {
        font-weight: 700;
    }
}

/*====================================
		13. Subscribe Section
====================================*/

.subscribe input {
    width: 65%!important;
    padding: 12px 20px;
    height: 51px;
    border-radius: 0;
    border-bottom-left-radius: 30px;
    border-top-left-radius: 30px;
}

.subscribe input:focus {
    box-shadow: none;
}

.subscribe .xbutton {
    padding: 13px 0;
    width: 35%;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

/*====================================
		14. Team Section
====================================*/

.team-box {
    position: relative;
}

.icon-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(61, 162, 19, 1.00);
    background: rgba(61, 162, 19, 0.80);
    color: #f1f1f1;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    padding: 15px;
    text-align: center;
}

.team-box:hover .icon-overlay {
    opacity: 1;
}

.icon-overlay h3 {
    margin: 0 0 2px;
}

.icon-overlay p {
    font-size: 13px;
    margin-bottom: 10px;
}

.icon-overlay i {
    font-size: 18px;
    padding-right: 8px;
    color: #fff;
}

/*====================================
		15. Contact Section
====================================*/

.contact .form-inline input {
    padding: 12px 20px;
    border-radius: 0;
    width: 50%;
    margin-bottom: 8px;
}

.contact .form-inline .date {
    padding: 11px 20px;
}

.contact .form-inline input:focus,
.contact .form-inline textarea {
    box-shadow: none;
}

.contact .form-inline .name,
.contact .form-inline .phone {
    border-bottom-left-radius: 30px;
    border-top-left-radius: 30px;
}

.contact .form-inline .email,
.contact .form-inline .date,
.contact .form-inline .cabin {
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
}

.contact .form-inline .choose {
    width: 50%!important;
}

.contact .form-inline .cabin {
    width: 50%!important;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.contact .form-inline textarea {
    border-radius: 30px;
    padding: 12px 20px;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 8px;
}

.contact .form-inline .booking-btn {
    width: 50%;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: solid 1px #fff;
    padding: 13px 0;
}

.contact .form-inline .contact-btn {
    width: 50%;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    padding: 13px 0;
    border-left: solid 1px #fff;
}

/* =========================
   	 16. Footer Section
============================ */

.footer {
    background: #404040;
    padding: 60px 0;
}

.footer p {
    color: #979797;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.7;
    letter-spacing: .01em;
    font-weight: 300;
}

.footer-icon .fa {
    color: #fff;
    font-size: 19px;
    background-color: #666;
    width: 40px;
    height: 40px;
    border-radius: 30px;
    line-height: 40px;
    margin-right: 5px;
    -webkit-transition: all linear 0.3s;
    transition: all linear 0.3s;
}

.footer-icon .fa:hover {
    background-color: #fff;
}

@media (max-width: 767px) {

    .footer p {
        font-size: 14px;
    }
}