/* 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 {
  --site-width: 1300px;
  --large-site-width: 1600px;
  --deep-teal-blue: #255A7A;   /* closest CSS name: SteelBlue */
  --bright-aqua:    #64CECA;   /* closest CSS name: MediumTurquoise */
  --pale-aqua:      #A6E3E1;   /* closest CSS name: PaleTurquoise */
  --soft-mint:      #DBF2F2;   /* closest CSS name: Azure */
  --medium-teal:    #2EBEB8;   /* closest CSS name: LightSeaGreen */
}

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;
}

@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,
.nobr-small {
    white-space: nowrap;
}

/* general */

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

@font-face {
    font-family: 'Electrolux';
    src: url('../fonts/Electrolux\ Sans\ Bold.otf') format("opentype");
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Electrolux', Arial, sans-serif;
    color: var(--deep-teal-blue);
    text-align: center;
    letter-spacing: 0em;
    overflow-x: hidden;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2rem;
}


h1,
h2 {
    font-weight: 700;
}

/* colors */
.bg-deep-teal-blue {
    background-color: var(--deep-teal-blue);
}
.bg-pale-aqua {
    background-color: var(--pale-aqua);
}
.bg-soft-mint {
    background-color: var(--soft-mint);
}
.bg-bright-aqua{
    background-color: var(--bright-aqua);
}
.bg-medium-teal{
    background-color: var(--medium-teal);
}

.text-deep-teal-blue {
    color: var(--deep-teal-blue) !important;
}
.text-medium-teal {
    color: var(--medium-teal) !important;
}

/** header **/
header.container-fluid {
    padding: 0;
    transition: all 0.5s ease;
    z-index: 14;
    background: #FFF;
    position: fixed;
    top: 0;
    background-color: transparent;
}

header.fixed {
    background-color: white;
}
header #logo, header.fixed #logo-white{
    display: none;
}
header.fixed #logo{
    display: block;
}

header .menu-container {
    min-height: 90px;
}

header.fixed .menu-container {
    min-height: 80px;
}

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

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

header .logo-container a {
    display: inline-block;
    padding: 1%;
    height: 100%;
}

.nav {
    font-weight: 700;
    font-size: 1rem;
}

.nav a {
    letter-spacing: initial;
    text-transform: uppercase;
    color: #FFF;
}

header.fixed .nav a{
    color: var(--medium-teal)
}

header .nav-pills .nav-link {
    position: relative;
    margin-right: 10px;
    border-radius: 0px;
    text-transform: none;
}

header .fa-bars {
    font-size: 1.4rem;
}

#mobile-navbar ul li {
    padding: 10px;
    text-align: left;
}

#mobile-navbar ul li a {
    position: relative;
}

#mobile-navbar ul li i {
    float: right;
}

#header-content>div {
    max-height: 100%;
}

/** top nav **/
.top-navigation {
    z-index: 15;
    padding-bottom: 10px;
    min-height: 70px;
}

header.fixed .top-navigation {
    min-height: 60px;
}

.top-navigation .nav-pills .show>.nav-link {
    background-color: inherit;
}

/* site width */
.site-width {
    max-width: var(--large-site-width) !important;
    margin: 0 auto;
}

.text-underline{
    text-decoration: underline;
}

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

.home-banner{
    background-image: url("../images/banner-pic.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right top;
    min-height: 90vh;
}

h1{
    font-size: 5rem;
    line-height: 5.5rem;
}

h2{
    font-size: 3rem;
    line-height: 3.5rem;
}

h3{
    font-size: 1.5rem;
    line-height: 2rem;
}
.values-icon-circle{
    width: 100px !important;
    height: 100px !important;
    padding: 20px;
    border-radius: 50%;
}
input.form-control,
textarea.form-control{
    border:1px solid var(--medium-teal);
    background-color: transparent;
    padding:5px 10px 5px 20px;
    outline: none;
    border-radius: 25px;
    color: var(--deep-teal-blue);
}
input.form-control::-webkit-input-placeholder,
textarea.form-control::-webkit-input-placeholder{
    color: var(--deep-teal-blue);
}
textarea.form-control{
    resize: none;
}
.rounded-border{
    border-radius: 25px;
}

button[type=submit]{
    background: none;
    border:none;
}

.panel {
	margin: 0 auto;
	height: 250px;  
	width: 100%;
	position: relative;
	-webkit-perspective: 100px;
	-moz-perspective: 100px;
}

.panel .front,
.panel .back {
	text-align: center;
}
	
.panel .front {
	height: inherit;
	position: absolute;
	top: 0;
	z-index: 900;
	text-align: center;
	width: 100%;
	-webkit-transform: rotateX(0deg) rotateY(0deg);
	   -moz-transform: rotateX(0deg) rotateY(0deg);
	-webkit-backface-visibility: hidden;
	   -moz-backface-visibility: hidden;
}

.panel .back {
	height: inherit;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
    display: flex;
    align-items: center;
	-webkit-transform: rotateY(-180deg);
	   -moz-transform: rotateY(-180deg);
	-webkit-backface-visibility: hidden;
	   -moz-backface-visibility: hidden;
}
.flipped .panel.flip {
	z-index: 1;
}
.flipped .panel.flip .front {
	z-index: 900;
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
}
.panel.flip .back {
	z-index: 1000;
	-webkit-transform: rotateX(0deg) rotateY(0deg);
	-moz-transform: rotateX(0deg) rotateY(0deg);
}
.box1{
	max-width: 400px;
	height: 250px;
	margin: 0 auto;
	padding: 20px;
	border-radius: 25px;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;    
    background-position: center;
    background-size: auto 60%;
    background-repeat: no-repeat;
    height: 100%;
    display: flex
;
    align-items: center;
}
#rehabilitation-box .box1{
    background-image: url("../images/rehabicon.png");
}
#long-term-care-box .box1{
    background-image: url("../images/longtermcareicon.png");
}
#concierge-level-attention-box .box1{
    background-image: url("../images/concierge\ level\ attention.png");
}
#gourmet-cuisine-box .box1{
    background-image: url("../images/gourmet-cuisine.png");
}
#meaningful-daily-life-box .box1{
    background-image: url("../images/meaningful-daily-life-icon.png");
}
#skilled-nursing-box .box1{
    background-image: url("../images/clock-icon_720.png");
}
.box2{
	width: 400px;
	margin: 0 auto;
	padding: 20px;
	border-radius: 25px;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
    height: 100%;
    display: flex;
    align-items: center;
}
.flipped .panel {
	z-index: 0;
}
#googleMap{
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
}
#googleMap iframe{
    display: block;
}
#locations{
    overflow: hidden;
}



/* curves */
.top-left-curve {
	border-top-left-radius: 250px;
}

.bottom-right-curve {
	border-bottom-right-radius: 250px;
}
.bottom-left-curve {
	border-bottom-left-radius: 250px;
}

.bottom-left-curve + .bg-pattern.bg-pale-aqua::before{
    background-color: var(--pale-aqua);
    background-image: url("../images/pattern.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: '';
    position: absolute;
    width: 100%;
    height: calc(100% + 250px);
    top: -250px;
    left: 0;
    z-index: -1;
}
.bottom-left-curve + .bottom-right-curve::before{
	border-bottom-right-radius: 250px;
}
.bottom-right-curve + .bg-deep-teal-blue::before{
    content: '';
    position: absolute;
    top: -300px;
    background-color: var(--deep-teal-blue);
    left: 0;
    width: 100%;
    height: 310px;
    z-index: -1;
}

.bottom-right-curve + .bg-soft-mint::before{
    content: '';
    position: absolute;
    top: -300px;
    background-color: var(--soft-mint);
    left: 0;
    width: 100%;
    height: 310px;
    z-index: -1;
}
@media (max-width: 768px){    
    .top-left-curve {
        border-top-left-radius: 50px;
    }
    .bottom-right-curve {
        border-bottom-right-radius: 50px;
    }
    .bottom-left-curve {
        border-bottom-left-radius: 50px;
    }
    .bottom-right-curve + .bg-deep-teal-blue::before{
        top: -50px;
        height: 50px;
    }
}
/* end curves */


@media (max-width: 1700px){   
    .site-width {
        max-width: var(--site-width) !important;
    }
}


@media (max-width: 1500px){   
    .home-banner{
        min-height: 60vh;
    }
    h1{
        font-size: 4rem;
        line-height: 4.5rem;
    }
}


@media screen and (orientation: portrait) {

    .home-banner{
        min-height: 50vh;
    }
}

@media (max-width: 1200px){    
    h1{
        font-size: 4rem;
        line-height: 4.5rem;
    }
}


@media (max-width: 1024px){    
    .home-banner{
        min-height: 50vh;
    }
    h1{
        font-size: 4rem;
        line-height: 4.5rem;
    }
    h2{
        font-size: 2.5rem;
        line-height: 3rem;
    }
    body{
        font-size: 1.3rem;
        line-height: 1.8rem;
    }
    #googleMap{
        height: 600px;
    }
}


@media (max-width: 992px){    
    .home-banner{
        min-height: 40vh;
    }
    h1{
        font-size: 3rem;
        line-height: 3.5rem;
    }
    h2{
        font-size: 2rem;
        line-height: 2.5rem;
    }
    body{
        font-size: 1.2rem;
        line-height: 1.7rem;
    }
}

@media (max-width: 768px){    
    header .logo-container img.small {
        max-width: 140px;
    }

    footer img.logo{
        width: 170px;
    }
}
@media (max-width: 767px){    
    .home-banner{
        background-image: url("../images/Banner\ Pic\ Vertical.png");
        min-height: 100vh;
        height: 100vh;
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 575px){    
    .home-banner{
        min-height: 35vh;
    }
    
    .home-banner h1{
        font-size: 2rem;
        line-height: 2.5rem;
        color: #FFF !important;
    }
}

