/*
Theme Name: Meto Health Care
Author: comacode.com
Description: The offcial theme for Meto Health Care
Text Domain: metohealthcare
Version:2.4
*/

/* Declaring CSS Variables*/
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

:root {
    --dark: #000;
    --secondary:  #ffb6c1;
    --primary: rgb(0, 0, 128);
    --primary-rgba: rgba(0, 0, 128, 0.9);
    --secondary-rgba: rgba(255, 182, 193, 0.9);
    --white:#fff;
    --shadow: rgb(208 208 208) 0px 1px 15px 0.5px;
    --shadow-news: rgb(243, 241, 241) 0px 1px 15px 0.5px;
    --rating:#ffae00;
    --light-bg:#f6f6f6;
    --grey-white: #d7d7d7;
    --copyright-bg: #00006a;

}

html{
    font-size: 16px;
}


body{
    font-family: 'Forum', serif;
    line-height: 1.5;
    color: #647589;
    height: 100vh;
}

.btn{
    
    color: var(--secondary);
    margin: 1rem 0;
    padding: 0.6rem 2rem;
    text-decoration: none;
    border: 2px solid var(--secondary);
    font-size: 1rem;
    display: inline-block;
}

/* scrol to top of page */
.scrol-top{
    position: fixed; 
    right: 0; 
    bottom: 100px;
    z-index: 10;
     width:0px;
}
.scrol-top .btn{
    background: var(--secondary);
    padding: 10px;
    margin:0;
    border: none;
    color: var(--white);
}

img, video{
    width: 100%;
    max-width: 100%; /*It makes the image to stay within its container no matter how big the image*/
    display: block;
    object-fit: cover;
   
}

ul{
    list-style-position: inside;
}


h1,h2,h3,h4,h5{
    font-weight: normal;
    margin-bottom: 20px;
    
}

h1, h2{
    color: var(--dark);
    font-weight: 600;
}

h1{
    
    font-size: 1.875rem;
    padding: 10px 0;
}

h2{
    margin-bottom: 18px;
    font-size: 3.75rem;
    line-height: 1.1;
}

h3{
    font-size: 1.5625rem;
    position: relative;
}

h3.title{
    color: var(--dark);
    font-weight: 600;
}
h4{
    font-size: 1.125rem;
    text-align: left;
}


p{
    padding-bottom: 20px;
}

a{
    text-decoration: none;
}

/* space allowed for custom areas */
.custom-contents-section{
    margin-top: 30px;
    margin-bottom: 30px;
}

.container{
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
}

.social-box{
    background: var(--primary);
}
.social-box .container{
    display: flex;
    justify-content: space-between;
    padding: 0 100px 0 190px;
    align-items: center;
}

.social-box a, .social-box span{
    color: var(--white);
    font-size: .8rem;
}
.social-box a{
    display: inline-block;
    padding: 3px 8px;
    font-weight: 500;
}

a.cta{
    background-color: var(--secondary);
    color: var(--white);
    padding: 20px 30px;
    font-size: 1rem;
    letter-spacing: 1px;
    
}

a.cta:hover{
    background-color: var(--primary);
}

.cta.special-btn{
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 25px;
    border-radius: 35px;
    border-radius: 35px;
    padding: 5px 50px 5px 5px;
}
.cta.special-btn .fas{
    display: block;
    position: relative;
    height: 45px;
    width: 45px;
    background-color: var(--white);
    color: var(--dark);
    border-radius: 50%;
    
}
.cta.special-btn .fas::before{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.6rem;
}

.social-box a.cta:hover{
    background-color: var(--primary);
    border: 2px solid var(--secondary);
    padding-top: 18px;
    padding-bottom: 18px;
    color: var(--secondary);
}

.wrap-nav{
    top: 0;
    z-index: 10;
    background-color: var(--white);
    
}
.wrap-nav.sticky-header{
    position: fixed;
    box-shadow: var(--shadow);
	right:0;
    left: 0;
}
.nav-wrapper{
    
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-areas: 
        'logo nav';
    align-items: center;
    justify-items: center;
}


.nav-wrapper .logo{
    grid-area: logo;
    text-decoration: none; 
    display:flex;
    align-items: center;
    padding-right: 5px;
    justify-self: start;
    position: relative;
    
}
.logo img{
    height: 100px;
    position: relative;
    z-index: 2;
}

.nav-wrapper .logo a::before{
    position: absolute;
    content: "";
    height: 80px;
    width: 80px;
    border: 40px solid var(--white);
    border-radius: 100%;
    top: -30px;
    left: -20px;
    z-index: 1;

}

.main-nav{
    grid-area: nav;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


/*'menu-secondary-container' is a wordpress class that is automatically 
added to secondary menu 
*/

.main-nav ul{
    list-style: none;
}

.main-nav div > ul{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
    padding-right: 25px;
}
.main-nav ul li{
    padding-right: 40px;
    position: relative;
}
.main-nav div >ul li:last-child{
    padding-right: 0;
}
.main-nav ul li a,
.mobile-nav-wrap ul li a{
    color: var(--dark);
    font-size: 0.875rem;
    font-weight: 600;
   text-transform: capitalize;
   
}
.main-nav ul li a{
    padding: 48px 0;
}
.main-nav ul li a{
    text-decoration: none;
    display: inline-block;
}



/* submenu */
.sub-menu{
    display: none;
    padding: 15px;
    position: absolute;
    top: 117px;
    left: 0;
    background-color: var(--secondary);
    width: 250px;
    z-index: 100;

}
.main-nav ul li:hover > .sub-menu{
    display: block;
}

.main-nav .sub-menu li{
    padding-right: 0;
}
.main-nav .sub-menu li a{
    padding-top: 10px;
    padding-bottom: 10px;
}


/* Class injected using php */
.main-nav ul > li.current-menu-item a{
    color: var(--primary);
}
.main-nav ul li a:hover,
nav .navsocial > *:hover{
    color: var(--secondary);
}

.main-nav .sub-menu li a:hover{
    color: var(--white);
}
.main-nav .logo-link{
    padding:0;
}

nav .navsocial{
    display: flex;
    padding-right: 5px;
}
nav .navsocial > *{
    padding-right: 20px;
    color: inherit;
}

/* Mobile navigation */
.mobile-menu-bar,
.mobile-nav-wrap{
    background: var(--white);
    z-index: 99;
}
.mobile-menu-bar{
    width: 100%;
    height: 80px;
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    position: fixed;
    top:0;
    
    
}

.mobile-menu-bar #menu-icon{
    margin-right:1rem;
    color: var(--secondary);
    font-size: 2rem;
}


.mobile-nav-wrap{
    width: 0%;
    position: absolute;
    top:80px;
    right:0;
}
.mobile-nav-wrap ul{
    list-style: none;
    text-align: left;
    padding: 20px;  
}

#mobile-nav .close-menu{
    text-align: right; 
    padding:5px 20px;
    color: var(--secondary);
}

.mobile-nav-wrap ul li{
    padding: 0.5rem;
}


/* Animations */
@keyframes increaseWith{
    0%{
        width: 0;
    }
    100%{
        width: 70%;
    }
}

.mobile-nav-wrap.slideLeft{
    display: block;
    animation:  increaseWith 0.5s ease-in-out forwards;
}

@keyframes slideInBtnRightToLeft{
    0%{
        transform: translateX(50px);
        visibility: visible;
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }
}

@keyframes slideInLeft{
    0%{
        transform: translateX(-50px);
        visibility: visible;
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }
}
@keyframes slideInRight{
    0%{
        transform: translateX(-50px);
        visibility: visible;
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }
}

@keyframes fadeIn{
    100%{
        opacity: 1;
    }
}
@keyframes moveup{
    0%{
        transform: translateY(50px);
        visibility: visible;
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
}

@keyframes zoomin {
    0%{
        transform: scale(0.5);
        visibility: visible;
    }

    100%{
        transform: scale(1);
        visibility: visible;
    }
}

/* Animation CSS */
.moveElmUp, .moveFromLeft, .moveFromRight,.zoomImage{
    position: relative;
    visibility: hidden;
}
/* .animateit  is dynamically added to div.fadeInSection*/
.moveElmUp.moveUp{
    animation:  moveup 1s linear 1 forwards;
}
.moveFromLeft.slideInLeft{
    animation:  slideInLeft 0.5s linear 1 forwards;
}

.moveFromRight.slideInRight{
    animation:  slideInRight 1s linear forwards;
}

.zoomImage.zoomIn{
    animation:  zoomin 1s linear;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
}



/* Main Sections */

main{
    text-align: center;
}

/* start slick slider*/
/* Section A */
.cis-slider-wrap{
    position: relative;
    
}
.cis-slider{
    height: 100%;
}
.cis-slide{
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
}
.cis-slide img{
    height: 100%;
}

.cis-slide .cta.special-btn{
    visibility: hidden;
    opacity: 0;
}
.slide-content-wrap{
    width: 600px;
    position: absolute;
    height: inherit;
    top: 0;
    left: 100px;
    display: flex;
    align-items: center;
    text-align: left;
    
}
.slide-content-wrap .info h2{
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.1;
    
}
.slide-content-wrap .info a,
.slide-content-wrap .info p{
    font-size: 1rem;
}
.slide-content-wrap .info p{
    font-weight: normal;
    visibility: hidden;
    
}

.cis-slider-wrap .slider-previous,
.cis-slider-wrap .slider-next{
    height: 80px;
    width: 80px;
    position: absolute;
    top:200px;
    background-color: var(--primary);
    z-index: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.cis-slider-wrap .slider-previous:hover,
.cis-slider-wrap .slider-next:hover{
    background-color: var(--secondary);
}

.cis-slider-wrap .slider-previous{
    left: 40px;
}
.cis-slider-wrap .slider-next{
    right: 40px;
}

.cis-slider-wrap .nav-arrow{
    color: var(--white);
    font-size: 1rem;
}


.cis-slider-wrap:hover .slider-previous,
.cis-slider-wrap:hover .slider-next {
    visibility: visible;
    animation-duration: 0.1s;
    animation-timing-function: ease-in-out;
}

.cis-slider-wrap:hover .slider-next{
    animation-name: slideInRight;
}
.cis-slider-wrap:hover .slider-previous{
    animation-name: slideInBtnRightToLeft;
}

/* Note thate without .slick-active, the animation will only work on page load then stop */
.slick-active .slide-content-wrap h2,
.slick-active .slide-content-wrap p{
    
    animation-name: moveup;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}
.slick-active .slide-content-wrap p{
    animation-delay: 0.6s;
}
.slick-active .slide-content-wrap .info a{
    animation-name: slideInLeft;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

/* Section A */
/* repeated background allowed */
.long-img-wrap{
    min-height: 300px;
    background-size: cover;
    background-position: center, center;
    background-repeat: no-repeat;
}
.section-a{
    display: flex;
    margin-top: 100px;
    gap: 60px;
}
.section-a > div{
    flex:1;
    text-align: left;
}
.section-a > div:first-child img{
    box-shadow: var(--shadow);
}
.section-a > div:last-child{
    padding-top:50px;
}

.section-a > div:last-child h5,
.section-a > div:last-child h4{
    font-size: 1.125rem;
    margin-left: 20px;
}

.section-a > div:last-child h5{
    margin-bottom: 27px;
}

.section-a > div:last-child h4{
    color: var(--dark);
    margin-bottom: 13px;
}


.section-wrap, 
.blog-feed,
.blog-container,.blog-single-page,
.search-result-wrap{
    
    padding-left:100px; 
    padding-right:100px;
}


/* Home section b */
.home-section-b{
    background-color: var(--light-bg);
    padding-top: 50px;
    padding-bottom: 80px;
    margin-top: 100px;
}

.section-header{
    position: relative;
    margin-bottom: 50px;
    min-height: 150px;
    max-height: 200px;
}
.section-header img{
    width: 178px;
}
.head-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.box-wrap{
    display:grid; 
    grid-template-columns: repeat(3, 1fr);  
    gap: 25px;
}

.home-section-b .box{
    padding: 1.5em 1em;
    background-color: var(--white);
}
.home-section-b .box:hover{
    box-shadow: var(--shadow);
}
.home-section-b .box h4{
    text-align: center;
}
.home-section-b .box-wrap .box .icon-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-section-b .box-wrap .box img{
    width: 100px; 
}
.home-section-b .box-wrap .box h4,
.home-section-b .box-wrap .box h4 a{
    color: var(--primary);
    font-size: 1.625rem;
}
.home-section-b .box-wrap .box h4 a:hover{
    color: var(--secondary);
}
.home-section-b .box-wrap .box h4, 
.value-wrap .value-content h4{
    padding:10px 0;
    text-align: center;
}

/* Read more button */
.home-section-b .box-wrap .box .service-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--dark);
}
.home-section-b .box-wrap .box .service-link .fa{
    padding-left: 6px;
}
.home-section-b .box-wrap .box .service-link:hover{
    color: var(--secondary);
}
.home-section-b .box-wrap .box .service-link:hover .fa{
    padding-left: 15px;
    transition: all 0.5s;
}




/* section-c */

.home-section-c{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.home-section-c:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to right, var(--primary-rgba) , var(--secondary-rgba));

}

.home-section-c h4,
.home-section-c p{
    color: var(--dark);
}
.section-flex{
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    text-align: left;
    padding-top: 80px;
    padding-bottom: 80px;
}
.section-flex > div{
    flex: 1;
}
.section-flex h2{
    color: var(--white);
    
}

.section-flex .subbox
{
    display: flex;
    justify-content: flex-end;
}
.section-flex .subbox .content{
    max-width: 300px;
}
.section-flex .subbox h4{
    color: var(--white);
}

.section-flex .subbox:last-child{
    margin-top: 20px;
}



/* Section D */
.home-section-d{
    padding-top: 50px;
}
.home-section-d .section-header img{
    margin: auto;
}

.home-section-d .head-content{
    display: block;
    text-align: center;
    margin-top: 50px;
}
.home-section-d .head-content h4{
    text-align: center;
}
.testimonial{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 80px;
}
.testimonial-header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.testimonial-header ul{
    display: flex;
    list-style: none;
}
.testimonial-header .img-wrap{
    width: fit-content;
    background-color: var(--secondary);
    padding: 30px;
    border-radius: 50%;
    box-shadow: 1px 5px 20px 10px var(--light-bg);
}
.testimonial-header:hover .img-wrap{
    box-shadow: 1px 5px 20px 10px rgb(219, 219, 255);
    background-color: var(--primary);
}
.testimonial-header .rating .fa{
    color: var(--rating);
}
.testimonial-body{
    text-align: left;
    margin-top: 30px;
}
.testimonial-body h3{
    color: var(--dark);
    font-weight: 600;
}

.testifier{
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.testifier .img-wrap{
    margin-right: 30px;
}
.testifier h4{
    margin-bottom:6px;
    color: var(--dark);
}
.testifier p{
    font-size: 0.875rem;
}


/* Call to action section */
.home-section-c.cta-section{
    margin-top: 100px;
}
.home-section-c.cta-section .section-flex,
.home-section-c.cta-section .section-flex h4{
text-align: center;
}
.home-section-c.cta-section .section-flex h2{
    font-weight: 600;
}

.home-section-c.cta-section .cta.special-btn:hover{
    padding-right: 60px;
    transition: all 0.5s ease-in-out;
}


/* Section C */

.boxes{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: space-between;
}

.boxes .box{
   /* flex-basis: 50%; */
   margin-bottom: 30px;
  
}
.boxes .box:last-child{
    margin-right: 0;
}
.boxes .box img{
    width: 100%;
    
}
.content-box h2{
    color: var(--dark);
    text-align: center;
}
.box.add-shadow{
    box-shadow: 1px -1px 1px 1px #ececec;
    text-align: center;
    position: relative;
    /* padding: 50px; */
    /* flex: 1; */
}


.sub-box .box-content{
    display: flex;
    text-align: left;
}
.boxes .box h4{
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    font-weight: bold;
    color: var(--secondary);
}
.box-content .sub-img{
    width: 150px;
    margin-right: 15px;
}
.sub-box-content{
    flex-basis: 100%;
}

.sub-box-content p{
    padding-bottom: 10px;
}

/* News feed section */


.blog-feed{
    padding-top: 50px;
    padding-bottom: 50px;
}
.blog-feed .section-header .back-img{
    width: fit-content;
    margin: auto;
}
.blog-feed .head-content{
    justify-content: center;
}
.blog-feed .head-content h4{
    text-align: center;
}
.blog-feed h3.title{
    
    border-top: none;
    border-bottom: none;
}
.blog-feed-wrap{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
}
.feed-wrap{
    box-shadow: var(--shadow-news);
}
.feed-img{
    width: 370px;
    height: 250px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    
}


.feed-detail{
    text-align: left;
    padding: 20px;
}
.feed-detail ul{
    list-style: none;
    display: flex;
    gap: 15px;
}
.feed-detail ul .fa{
    padding-right: 4px;
}
.feed-detail h3{
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0;
    padding: 15px 0px;
}
.feed-detail h3:hover{
    color: var(--secondary);
}
.feed-detail p{
    font-size: 0.9375rem;
}


.feed-detail .btn{
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.feed-detail .btn:hover{
    background-color: transparent;
    color: var(--primary);
}


/* footer */
footer{
    padding-top: 80px;
    font-size: 0.9375rem;
    background: var(--primary);
    color: var(--white);
   }

   footer p, footer li,footer a{
    color: var(--grey-white);
   }

   footer h3{
    line-height: normal;
   }
   footer ul{
    list-style: none;
   }
   footer a{
    text-decoration: none;
   }

   footer p{
    line-height: 2em;
    padding-bottom: 20px;
   }

   

   footer .box:nth-child(1) p{
    max-width:300px;
   }

.footer-info-section{
    display: flex;
    justify-content: center;
    margin:0 auto;
    text-align: left;
    color: var(--white);
    min-height: 200px;
}

.footer-info-section .box{
    flex: 1;
    padding: 0 10px 20px 10px;
}

.footer-info-section .box img{
    padding-bottom: 15px;
    max-width: 160px;
	margin:auto;
}

.footer-info-section .box h3{
    font-weight: bold;
    color: var(--secondary);
    font-size: 1.25rem;
}
.footer-info-section .box a:hover{
    text-decoration: underline;
}

.copy-right{
    padding: 10px 120px;
    text-align: center;
    color: var(--white);
    background-color: var(--copyright-bg);
}
.copy-right p{
    padding: 0;
}

.footer-info-section p .fa,
.footer-info-section .social-link a{
    color: var(--secondary);
}
.footer-info-section .social-link a{
    display: inline-block;
    padding-left: 10px;
}
section.footer-info-section .social-link a:first-child{
    padding-left: 0px;
}

.footer-info-section .social-link a:hover{
    color: var(--white);
}

.footer-info-section ul li{
    padding: 5px;
}

/* footer blog column */
footer .feed-wrap{
    box-shadow: none;
    display: flex;
    padding-top: 5px;
}
footer .feed-img{
    width: 100px;
    height: 100px;
}
footer .feed-detail{
    padding: 0 0 0 15px
}
footer .feed-detail h3{
    padding: 0;
}
footer .feed-detail h3 a{
    font-size: 1.125rem;
}

footer .feed-detail ul{
    display: block;
    margin-top: 8px;
}
footer .feed-detail li{
    padding: 0;
}


/* OTHER PAGES*/
.post-wrap, .blog-single-page{
    margin-top: 50px;
}
.hero{
    width: 100%;
    height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-content p{
    margin-top: 20px;
}
.hero-content p,.hero-content .fa{
    color: var(--primary);
}
.hero-content h2, .hero-content a{
    color: var(--secondary);
}

/* About us page */
.about-us{
    margin-bottom: 50px;
}
.about-us .section-a > div:last-child{
    padding-top: 0;
}
.statement .row{
    margin-top: 30px;
}
.statement .row, .about-us-more-content,.about-us-more-content .row{
    display: flex;
    gap: 30px;
    text-align: left;
}
.statement .img-wrap, .about-us-more-content .img-wrap{
    flex-basis: 100%;
}
.statement .img-wrap img, .about-us-more-content .img-wrap img{
    width: 100px;
}

.about-us .head-content{
    position: relative;
}
.about-us .section-a{
    margin-top: 10px;
}
.about-us .section-header{
    margin-bottom: 0;
}

.about-us .btn{
    display: block;
}
.about-us ul, 
.service ul,
.section-wrap ul{
    list-style: none;
}
.about-us ul li,
.service ul li,
.section-wrap ul li{
    padding-bottom:15px;
}
.about-us ul .fa,
.service ul .fa,
.section-wrap ul .fa{
    margin-right: 15px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary);
    font-size: 0.6rem;
}
.about-us ul .fa:hover,
.service .fa:hover,
.section-wrap .fa:hover{
    background-color: var(--secondary);
    color: var(--white);
}
.about-us .btn{
    border: none;
}
.about-us-more-content{
    margin-bottom: 30px;
    margin-top: 30px;
    background-color: var(--light-bg);
    padding-top: 30px;
    padding-bottom: 30px;
}
.writeup h3{
    font-weight: 600;
}

.about-us-more-content h3{
    line-height: normal;
}


/* Our services page */
.service-list{
    text-align: left;
    margin: 45px 0;
}
.service-list .service{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-bottom: 60px;
    padding-top: 10px;
}
.service-list .service ul{
    padding-bottom: 20px;
}

.service-list .service:nth-child(even) h3{
    line-height: 0;
}
.service-list .btn{
    border: none;
    border-radius: 50px;
    padding-top: 16px;
    padding-bottom: 16px;
    margin-top: 30px;
}


/* about us page */
.form-wrap{
    background-color: var(--light-bg);
}
form{
    padding: 50px;
    text-align: left;
}

form .input-wrap,
.option-group-wrap,
.option-group,
.check-wrap, .fa-wrap{
    display: flex;
}
form .input-wrap,
.option-group-wrap,
.option-group,
.check-wrap{
    
    flex-wrap: wrap;
}
form .input-wrap{
    gap: 50px;
    margin-bottom: 15px;
}
form .input-wrap > div{
    flex: 1;
}
form .form-group{
    margin-bottom:1rem;
}
form .form-group label{
    font-size: 0.9375rem;
}

form .form-group > label{
    display: inherit;
    font-weight: 600;
}

.option-group-wrap{
    gap: 15px;
}
.option-group,
.check-wrap{
    gap: 5px;
}


form .form-ctrl{
    width: 100%;
    border: none;
    padding: 0.8rem; 
    border: 1px solid var(--primary);
}

form .form-ctrl{
    outline: none;
}

form .btn{
    width: 200px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 20px 10px;
    margin: 0; 
    border-radius: 5px;
}
form .btn:hover{
    background: var(--primary);
}

form .btn-wrap{
    display: flex; 
    align-items:center; 
    justify-content:flex-end;
   
}
form #msg{
    padding-bottom: 10px;
}
form .error{
    color: var(--secondary);
}

form .processing-message{
    color: var(--secondary);
}
form .hide-required{
    display: none;
    text-align: left;
}

/* date picker */
.ui-widget-header{
    border: 1px solid var(--secondary);
    background: var(--primary);
}

/* Contact us form */
.fa-wrap{
    align-items: center;
    border: 1px solid var(--primary);
    padding: 15px 30px;
    background-color: var(--white);
}
.fa-wrap input,
.fa-wrap textarea{
    border: none;
}
.fa-wrap textarea{
    height: 150px;
}
.fa-wrap.textarea .fa{
    align-self: flex-start;
    padding-top: 15px;
}

form input::placeholder,
form textarea::placeholder{
    color: var(--secondary);
    font-weight: 600;
}

form#mathcContactForm .btn-wrap {
    justify-content: center;
}

.contact-us{
    gap: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
}
.contact-us .box{
    border: 1px solid var(--light-bg);
    padding: 50px;
    flex: 1;
}
.contact-us .box h3{
    color: var(--dark);
    font-weight: 400;
}
.contact-us .box .icon-wrap{
    background-color: var(--secondary);
    width: 140px;
    height: 140px;
    margin: 0 auto 20px auto;
    border: 10px solid var(--white);
    box-shadow: var(--shadow-news);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-us .box .icon-wrap:hover{
    background-color: var(--primary);
}

.contact-us .box .icon-wrap .fa{
    font-size: 2.8rem;
    color: var(--white);
}


/* Blog page */

.post-wrap{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 20px;
    row-gap: 30px;
}
.results .post-wrap{
    grid-template-columns: repeat(2,1fr);
}
.post{
    box-shadow: 1px 2px 25px 12px #016d9912;
}
.post:hover{
    box-shadow: none;
}
.post img{
    height: 250px;
}
.post-header{
    border-bottom: 1px solid #e2e1e1;
}
.post-header ul{
    list-style: none;
    display: flex;
    margin-top: 6px;
}


.post-header h3{
    text-align: left;
    padding-top: 15px;
    margin-bottom: 0;
    font-weight: 800;
    border-bottom: none;
    color: var(--dark);
    line-height: 1;
}
.post-header h3 a{
    color: inherit;
    font-size: 1.25rem;
}
.post:hover .post-header h3 a{
    color: var(--secondary);
}
.post-header ul li svg,
.post-header ul li span{
    display: inline-block;
}
.post-header ul li span{
    padding-left: 10px;
    color: var(--primary);
}
.post-header ul li:last-child{
    padding-left: 30px;
}

.post-body{
    text-align: left;
}
.post-body p:first-child{
    padding-top: 15px;
}

.post-body .btn{
    margin-top:0;
}

.post .post-header, .post .post-body{
    margin:0 15px;
}

.post .btn:hover, .post .btn:hover svg{
    color:var(--white);
}

/* Pagination */
.pagination{
    margin: 40px 0;
}
.pagination ul{
    list-style: none;
    display: flex;
}
.pagination ul li{ 
    margin-left: 5px;
}
.pagination ul li:first-child{
    margin-left: 0;
}
.pagination ul li a{
    border: 1px solid var(--primary); 
    padding: 15px;
}
.pagination ul li.active a,
.pagination ul li a:hover{
    background-color: var(--primary);
    color: var(--white);
}



/* single page */
.blog-single-page, .results{
    display: grid;
    grid-template-columns: 2fr 1fr;
    margin-bottom: 30px;
    gap: 20px;
}
.blog-content{
    padding: 20px;
    box-shadow: 1px 2px 25px 12px #016d9912;
}



.sidebar{
    background-color: #fdfdfd;
}
.sidebar form{
    padding-top: 0;
}
.sidebar .search-wrap{
    display: flex;
   
}
.sidebar input, .sidebar button{
    height: 50px;
    border-radius: 0;
    border: 1px solid var(--primary);
}
.sidebar input:focus, .sidebar button:focus{
    outline: none;
}
.sidebar input{
    width: 80%;
    padding: 15px;
    
}
.sidebar button{
    width: 20%;
    margin-left: 0;
}
.sidebar button:hover{
    background-color: var(--primary);
}

.sidebar button svg{
    color: var(--primary);
}
.sidebar button:hover svg{
    color: var(--white);
}

.recent-post{
    margin-top: 50px;
    text-align: left;
    padding-left: 15px;
}
.recent-post ul li::before {
    width: 1.5em;
}

/* Search results page */
.search-result-wrap h2{
    margin-top: 50px;
    text-align: left;
}
.search-result-wrap .post-wrap{
    margin-top: 10px;
}


@media screen and (max-width: 1024px) {

    h4{
        font-size: 18px;
    }
    .nav-wrapper{
        height: auto;
        padding: 10px 10px 0 10px;
        position: relative;
    }
    
    .main-nav{
        position: relative;
    }
    

    /* Reset all padding */
    .slide-content-wrap{
        left: 0px;
        width: 100vw;
    }
    .slide-content-wrap,.section-wrap,.blog-feed,
    .blog-container,.blog-single-page,
    .search-result-wrap{
        padding-left: 20px;
        padding-right: 20px;
    }

    .sidebar form {
        padding: 0;
    }
    
    
}

/* Large devices (laptops/desktops, 992px and up) */

/* Medium devices (landscape tablets, 992 to 768px) */

@media screen and (max-width: 992px){

    p{
        padding-bottom: 20px;
    }
    .nav-wrapper{
        padding: 20px 2px;
    }
    .nav-wrapper .logo{
        padding-right: 0;
    }
    .nav-wrapper .logo p a,a.cta {
        font-size: 1rem;
    }

    .main-nav ul li a{
        padding-left: 10px;
        padding-right: 10px;
        font-size: 1rem;
    }
}



/* Extra large devices (large laptops and desktops, 1200px and up) */
/* Large devices (laptops/desktops, 992px and up) */

/* Medium devices (landscape tablets, 768px to 992px) */

/* Small devices (portrait tablets and large phones, 768px to 600px) */
@media screen and (max-width: 768px){


    /* hide disktop nav menu */
    .desktop-nav{
        display: none;
    }

    .hero{
        height: 300px;
    }
    .navsocial{
        padding-left: 30px;
        padding-bottom: 30px;
    }

    /* Submenu only */
    .sub-menu.showSubmenu{
        width: 100%;
        display: block;
        position: relative;
        top: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    .sub-menu.showSubmenu li a{
        color: var(--white);
    }
    
    /* Join us Page */
     .post-wrap,
    .blog-single-page, .search-result-wrap h2{
        margin-top:120px
    }
    
    h2{
        font-size: 1.25rem;
        padding-right: 10px;
        font-weight: 600;
    }
    
    .feed-detail h3 {
        font-size: 1rem;
    }
    .feed-detail .btn {
        padding-left: 1em;
        padding-right: 1em;
        margin-bottom: 0;
    }

    /* display mobile menu */
    .mobile-menu-bar{
        display: flex;
    }
    .mobile-menu-bar .logo-img{
        height: 70px;
    }

    .mobile-menu-bar .logo-img img{
        height: 100%;
    }

    main{
        margin-top: 80px /*This is the height of the mobile nav since mobile nav is fixed height*/
    }
    .slide-content-wrap .info h2{
        font-size: 2.5rem;
    }
    .cis-slider-wrap .slider-previous, 
    .cis-slider-wrap .slider-next{
        width: 50px;
        height: 50px;
    }
    .section-a{
        margin-top: 50px;
    }
    /* section b and blog feed*/
    .box-wrap,
    .blog-feed-wrap{
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-body h3{
        font-weight: normal;
    }
    

    /* Section C */
    .home-section-c .section-flex{
        display: block;
    }
    .section-flex > .box:first-child{
        margin-bottom: 30px;
    }

    .section-flex > .box:last-child{
        display: flex;
        flex-wrap: wrap;
    }
    .section-flex .subbox{
        justify-content: flex-start;
    }

    .home-section-c.cta-section .section-flex > .box:last-child{
        display: block;
    }
    .boxes{
         flex-wrap: wrap;
         justify-content: space-around;
    }

    .box{
        flex-basis: 48%;

    }
     .boxes h3{
        padding: 2px;
    }



    /* Footer */
    footer{
        padding-top: 10px;
    }
    footer .box:nth-child(1) p{
        max-width: 100%;
    }
    .footer-info-section{
        flex-wrap: wrap;
        margin-top: 50px;
    }
    .footer-info-section .box{
        flex-basis: 45%;
    }
    

    

    .footer-contents .footer-nav{
       padding-left:20px;
    }  
    
    
    .copy-right{
    padding-left: 20px;
    justify-content: space-around;
    }
   
    
    /* Other Pages */

    .image-content{
        height: 250px;
        width: 100%;
        order:1;
    }

    form{
        padding-left: 0;
        padding-right: 0;
    }
    


    /* Blog page */
    .post-wrap{
        grid-template-columns: repeat(2,1fr);
    }
    .results {
        grid-template-columns: 1fr;
    }
    .post-header h3{
        font-size: 1.125;
    }
}

/* Extra small devices (phones, 600px and down) */

@media screen  and (max-width: 600px){
    section.footer-info-section{
        display: block;
    }
    section.footer-info-section{
        text-align: center;
    }
    footer .box:nth-child(2) p{
        max-width: 100%;
    }
    section.footer-info-section .box h3{
        margin-top: 15px;
    }
    /* Blog page */
    .post-wrap, .search-result-wrap .post-wrap,
    .testimonial,.blog-single-page,
    .service-list .service{
        grid-template-columns: 1fr;
    }

    .testimonial{
        padding: 0 20px;
    }

    .service-list .service{
        margin-bottom:0;
    }
    .service-list .service:nth-child(odd) > div:first-child{
        order: 1;
    }
    .service-list .service:nth-child(odd) > div:last-child{
        order: 0;
    }
}

@media screen and (max-width: 500px){
    
    .hero{
        height: 200px;
    }

    form .input-wrap{
        flex-direction: column;
    }

    h1{
        font-size: 1.875rem;   
    }

    .boxes,
    .footer-contents{
        display: block;
    }

    .home-section-d {
        padding: 0;
    }
    .blog-feed-wrap{
        display: block;
    }
    .feed-wrap {
        width: 100%;
    }
    .footer-contents .footer-nav{
       padding-left:0px;
       width: 100%;
       justify-content: space-around;
    }  
    
    .footer-contents .language-selector{
        position: relative; 
        right: 0;
        padding-right: 0;
        text-align: center;
        padding-bottom: 10px;
    }

    .copy-right{
        padding-left:0;
        padding-right: 0;
    }
    
    .copy-right p{
        order: 2;
    }
    .social-link{
        order: 1;
    }
}

@media screen and (max-width: 480px){

    .section-a{
        display: block;
    }
    .section-a > div:last-child h5, 
    .section-a > div:last-child h4{
        margin-left: 0;
    }

    .head-content{
        display: block;
    }

    .home-section-b .box {
        padding: 1em;
        flex-basis: 100%;
    }
    
    a.cta{
        padding-left: 1em;
        padding-right: 1em;
    }

    
    form .input-wrap{
        gap:5px;
    }

    .box-wrap, .blog-feed-wrap{
        grid-template-columns: 1fr;
    }

    /* about us page */
    .about-us-more-content{
        display: block;
    }

    .about-us-more-content .row:last-child{
        margin-top: 30px;
    }
}

