/* Reset CSS
 * --------------------------------------- */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

table {
    border-spacing: 0;
}

fieldset,
img {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-weight: normal;
    font-style: normal;
}

strong {
    font-weight: bold;
}

ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

caption,
th {
    text-align: left;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
    margin: 0;
    padding: 0;
}

q:before,
q:after {
    content: '';
}

abbr,
acronym {
    border: 0;
}

/* GENERAL CSS
  * --------------------------------------- */

:root {
    --icon-group-size: 10em;
    --site-width: 1300px;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;

}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

img {
    max-width: 100%;
}

/** animated **/

.animated {
    opacity: 0;
}

.animatedParent {
    overflow: hidden;
}

textarea.form-control {
    resize: none;
}

@media (max-width: 590px) {
    .animated {
        /*CSS transitions*/
        -o-transition-property: none !important;
        -moz-transition-property: none !important;
        -ms-transition-property: none !important;
        -webkit-transition-property: none !important;
        transition-property: none !important;
        /*CSS transforms*/
        -o-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -webkit-transform: none !important;
        transform: none !important;
        /*CSS animations*/
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -o-animation: none !important;
        -ms-animation: none !important;
        animation: none !important;
        opacity: 1;
    }
}

/** no break **/
.nobr {
    white-space: nowrap;
}

/* Potomac Courts theme + homepage layout */
:root {
    --mc-green: #152618;
    --mc-light-green: #DBE5D4;
    --mc-light: #F5F5F5;
    --mc-brown: #81726A;
    --mc-gray: #707070;
    --mc-medium-green: #A5BE93;
}




@font-face {
    font-family: 'Avenir';
    src: url('../fonts/AvenirLTStd-Medium.otf') format("opentype");
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: 'Avenir';
    src: url('../fonts/AvenirLTStd-Book.otf') format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir-Roman';
    src: url('../fonts/AvenirLTStd-Roman.otf') format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roslindale';
    src: url('../fonts/Roslindale-DisplayMedium-Testing.otf') format("opentype");
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Roslindale';
    src: url('../fonts/Roslindale-TextItalic-Testing.otf') format("opentype");
    font-weight: 600;
    font-style: italic;
}

body {
    font-family: Avenir, Arial, sans-serif;
    color: var(--mc-green);
    overflow-x: hidden;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.6rem;
    text-align: center;
    background-color: var(--mc-light);
}

p{
    font-weight: 300;
}
.spaced{
    letter-spacing: 2pt;
}

.font-title {
    font-family: Roslindale, serif;
}

.site-width {
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.row.has-white-extended {
    position: relative;
    z-index: 1;
}

.white-extended::before {
    background-color: #FFF;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 140%;
    height: 100%;
    z-index: -1;
}

.has-white-extended.right .white-extended::before{
    right: unset;
    left: 0;
}

.bg-green {
    background-color: var(--mc-green);
}

.bg-light {
    background-color: var(--mc-light) !important;
}

.bg-light-green {
    background-color: var(--mc-light-green) !important;
}

.text-green {
    color: var(--mc-green);
}
.text-gray {
    color: #A7ADA4;
}


.text-brown {
    color: var(--mc-brown);
}

.text-light-green {
    color: #d9e7e2;
}

.text-medium-green {
    color: var(--mc-medium-green);
}


.border-rounded {
    border-radius: 50px;
}

.icon-container img{
    max-height: 120px;
}

.icon-container-small img{
    max-height: 60px;
}
/* Bootstrap overrides to match theme */
.btn {
    border-radius: 0;
    padding: 0.55rem 2.1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1rem;
    font-family: 'Avenir-Roman';
}

.btn-primary {
    background-color: var(--mc-green);
    border-color: var(--mc-green);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--mc-light-green);
    border-color: var(--mc-light-green);
    color: var(--mc-green);
}

.btn-secondary {
    background-color: var(--mc-light);
    border-color: var(--mc-light);
    color: var(--mc-green);
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    background-color: var(--mc-light-green);
    border-color: var(--mc-light-green);
    color: var(--mc-green);
}


.btn-info {
    background-color: var(--mc-light-green);
    border-color: var(--mc-light-green);
    color: var(--mc-green);
}

.btn-info:hover,
.btn-info:active,
.btn-info:focus {
    background-color: var(--mc-light);
    border-color: var(--mc-light);
    color: var(--mc-green);
}


.btn-light {
    background-color: var(--mc-medium-green);
    border-color: var(--mc-medium-green);
    color: var(--mc-green);
}

.btn-light:hover,
.btn-light:active,
.btn-light:focus {
    background-color: var(--mc-light);
    border-color: var(--mc-light);
    color: var(--mc-green);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

header nav a,
.light-page header.fixed nav a {
    color: #FFF;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 300;
    font-family: 'Avenir-Roman';
}

header nav a.active,
header nav a:active,
header nav a:focus,
header nav a:hover {
    color: var(--mc-light-green);
    border-bottom: 1px solid var(--mc-light-green);
    text-decoration: none;
}
header nav a.dropdown-toggle{
    border: none !important;
}
.dropdown-toggle::after{
    content: unset;
}
header img {
    max-height: 120px;
    transition: 1s all ease;
}

header.fixed img {
    max-height: 80px;
}

.light-page header nav a {
    color: #000;
}

.light-page .logo {
    display: none;
}

.light-page header.fixed .logo,
.light-page header.bg-green .logo  {
    display: block;
}

.light-page header.fixed .dark-logo,
.light-page header.bg-green .dark-logo {
    display: none;
}

header .logo {
    max-width: 200px;
}

header.fixed {
    background-color: var(--mc-green);
}

.icon-img {
    position: relative;
}

.icon-img::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 130px;
    height: 130px;
    background-image: url('../images/circle\ with\ tree.png');
    background-position: bottom left;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-img.right::after {
    right: -50px;
    left: unset;
}

.chain > div{
    position: relative;
}

.chain > div:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 30px;
    background-image: url('../images/arrows.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}
#what-we-offer > div{
    position: relative;
}
#what-we-offer > div:not(:nth-of-type(4n))::after{
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    width: 1px;
    background: black;
    z-index: 1;
    height: 70%;
}
#what-we-offer > div:nth-child(-n + 4)::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: black;
    z-index: 1;
    height: 1px;
}
#what-we-offer > div:nth-child(-n + 1)::before{
    left: 15%;
    width: 85%;
}
#what-we-offer > div:nth-child(4)::before{
    right: 15%;
    width: 85%;
    left: unset;
}

/* Used by the existing layout markup */
.full-banner {
    height: 70vh;
    min-height: 650px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.home-banner>.site-width>.row::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 70%;
    height: 100%;
    background-image: url('../images/home\ banner.png');
    background-position: bottom right;
    background-size: contain;
    background-repeat: no-repeat;
}

.bg-pattern {
    background-image: url('../images/white\ leaf\ pattern.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-light-pattern {
    background-image: url('../images/leaf pattern.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}



/* Homepage: Potomac Courts */
#full-banner.home-banner {
    padding-top: 120px;
    /* compensate for fixed header */
}

.full-banner .icon-img{
    max-width: 450px;
}

.full-banner.careers{
    height: 50vh;
    min-height: 600px;
}


.h1 {
    font-size: 2.8rem;
    line-height: 3.3rem;
    letter-spacing: 0.15rem;
}

.potomac-hero-image img {
    max-width: 520px;
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.h2 {
    font-size: 2.3rem;
    line-height: 2.8rem;
}

.h3 {
    font-size: 1.7rem;
    line-height: 2.3rem;
}

.h4 {
    font-size: 1.3rem;
    line-height: 1.8rem;
}

.potomac-quote-text small {
    font-size: 1.05rem;
    line-height: 1.85rem;
    color: var(--mc-green);
}

.potomac-quote-author {
    margin-top: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--mc-green);
}

.potomac-contact a:hover {
    color: #F8C7B0;
    text-decoration: underline;
}

.potomac-schedule-image img {
    max-width: 540px;
    width: 100%;
    height: auto;
}


#montcare-core-principles {
    border: 1px solid black;
    position: relative;
}

#montcare-core-principles::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50px;
    width: 80px;
    height: 80px;
    background-image: url('../images/leaf.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

.label {
    position: absolute;
    bottom: -1.5rem;
    background-color: #FFF;
    left: 50%;
    transform: translateX(-50%);
}

#get-in-touch>.row {
    border-bottom: 1px solid var(--mc-gray);
}

#get-in-touch img{
    max-height: 500px;
}

/* container positioning */
#testimonial-slider .slick-prev,
#testimonial-slider .slick-next {
    width: 40px;
    height: 30px;
    background: transparent;
    border: 1px solid #6f7568;
    z-index: 10;
    top: unset;
    bottom: -50px;
    border-radius: 5px;
    right: 0;
    left: unset;
}

/* remove default arrow icon */
#testimonial-slider .slick-prev:before,
#testimonial-slider .slick-next:before {
    content: "";
}

/* position them together like one box */
#testimonial-slider .slick-prev {
    right: 50px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#testimonial-slider .slick-next {
    right: 10px;
    /* sits right next to prev */
    border-left: none;
    /* avoid double border */
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* add divider line manually */
#testimonial-slider .slick-next {
    border-left: 1px solid #6f7568;
}

/* triangle arrows */
#testimonial-slider .slick-prev::after,
#testimonial-slider .slick-next::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
}

/* left arrow */
#testimonial-slider .slick-prev::after {
    border-width: 8px 12px 8px 0;
    border-color: transparent #fff transparent transparent;
}

/* right arrow */
#testimonial-slider .slick-next::after {
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #fff;
}

/* left arrow */
.bg-light #testimonial-slider .slick-prev::after {
    border-color: transparent var(--mc-light-green) transparent transparent;
}

/* right arrow */
.bg-light #testimonial-slider .slick-next::after {
    border-color: transparent transparent transparent var(--mc-light-green);
}


/* hover effect */
#testimonial-slider .slick-prev:hover,
#testimonial-slider .slick-next:hover {
    background: #b7c0b0;
}

#testimonial-slider .slick-prev {
    border-right: none;
}

#testimonial-slider .slick-next {
    margin-left: -1px;
    /* removes gap */
}

/* make track flex */
#testimonial-slider .slick-track {
    display: flex !important;
}

/* make each slide stretch */
#testimonial-slider .slick-slide {
    height: auto !important;
    display: flex !important;
}

/* make inner content fill full height */
#testimonial-slider .slick-slide>div {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* optional: ensure your card/content fills */
#testimonial-slider .slide-content {
    flex: 1;
}

ul.icon-list {
    list-style: none;
    padding-left: 0;
}

ul.icon-list li {
    position: relative;
    padding-left: 30px;
}

ul.icon-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: url('../images/leaf.png') no-repeat center;
    background-size: contain;
    transform: rotate(10deg);
}

#googleMap{
    min-height: 200px;
    width: 100%;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.form-control{
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--mc-green);
    border-radius: 0;
}
@media (min-width: 1600px) {
    #full-banner.home-banner {
        height: 50vh;
    }
    .site-width {
        max-width: 1500px;
    }

}


@media (max-width: 1024px) {
    .home-banner>.site-width>.row::before {
        left: unset;
        right: 0;
        width: 65%;
    }
    #full-banner.home-banner,.full-banner {
        padding-top: 150px;
        height: 50vh;
    }
    .icon-img::after{
        width: 100px;
        height: 100px;
        bottom: -15px;
        left: -15px;
    }

    .label {
        left: 30%;
        transform: translateX(-15%);
    }
    .h2 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .full-banner.careers{
        height: 40vh;
        min-height: 400px;
    }

}

@media (max-width: 768px) {
    .h1 {
        font-size: 2.2rem;
        line-height: 2.6rem;
    }
    .full-banner:not(.home-banner){
        height: auto;        
        min-height: 550px;
    }

    .potomac-lead {
        text-align: center;
    }


    .potomac-copy {
        text-align: center;
    }

    .potomac-hero-image img {
        max-width: 420px;
    }

    .h2 {
        font-size: 1.7rem;
        line-height: 2.2rem;
    }

    .h3 {
        font-size: 1.2rem;
        line-height: 1.7rem;
    }
    #get-in-touch p {
        font-size: 0.9rem;
        line-height: 1.3rem;
    }
    
    .icon-img::before{
        width: 90px;
        height: 90px;
        bottom: -15px;
        left: -28px;
        content: '';
        position: absolute;
        background-color: #FFF;
        border-radius: 50%;
    }
    .icon-img::after{
        width: 70px;
        height: 70px;
        bottom: -5px;
        left: -20px;
    }
    .h4 {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    #what-we-offer .h4{
        font-size: 0.8rem;
        line-height: 1.2rem;
    }

}
@media (max-width: 767px) {
    .btn {
        max-width: 275px;
        margin: 0 auto;
    }
        
    .white-extended::before {
        width: 100%;
        height: 140%;
    }
    .chain > div:not(:last-of-type)::after {
        transform: translateX(0) rotate(90deg);
        right: 46.5%;
        bottom: -10px;
        top: unset;
        width: 7%;
        height: 20px;
    }
    #what-we-offer > div:not(:nth-of-type(4n))::after{
        content: unset;
    }
    #what-we-offer > div:not(:last-of-type)::before{
        content: '';
        position: absolute;
        bottom: 0;
        right: 15%;
        width: 70%;
        background: black;
        z-index: 1;
        height: 1px;
        left: unset;
    }
}
@media (max-width: 585px) {
    .label.h2 {
        left: 20%;
        transform: translateX(-5%);
        font-size: 1rem;
    }
}
@media (max-width: 400px) {
    .label.h2 {
        left: 15%;
        font-size: 1rem;
    }
}