/* 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;
    --navy: #20414E;
    --gold: #E9B632;
    --dark-gold: #C29337;
    --gray: #99B2BC;
    --light-navy: #627982;
}

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

div.file {
    position: relative;
    overflow: hidden;
}

input[type=file] {
    position: absolute;
    font-size: 50px;
    opacity: 0;
    right: 0;
    top: 0;
}

.form-control {
    background: transparent;
    border-radius: 0;
}

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


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

body {
    font-family: 'HelveticaNeue', Arial, sans-serif;
    color: var(--navy);
    text-align: center;
    overflow-x: hidden;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6rem;
}

p,
.text-light-navy{
    color: var(--light-navy);
}
.text-white p{
    color: var(--white);
}
.font-title {
    font-family: "termina", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.site-width {
    max-width: var(--site-width);
    margin: 0 auto;
}

.text-navy {
    color: var(--navy);
}

a.text-navy:hover {
    color: var(--dark-gold);
}

.text-gold {
    color: var(--gold);
}

.text-gray {
    color: var(--gray);
}

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

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

.btn {
    padding: 10px 30px;
    border-radius: 5px;
}

.btn-primary {
    background-color: var(--gold);
    border-color: var(--gold);
    background: radial-gradient(var(--dark-gold) 0%, transparent 100%), var(--gold) 100%, transparent 100%);
}

.btn-outline-primary {
    color: var(--gold);
    border-color: var(--gold);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus {
    background-color: var(--dark-gold) !important;
    border-color: var(--dark-gold) !important;
    background: radial-gradient(var(--gold) 0%, transparent 100%), var(--dark-gold) 100%, transparent 100%);
}


.btn-secondary {
    background-color: var(--navy);
    border-color: var(--navy);
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
}


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

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

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

#mobile-navbar ul li.show i.fa-angle-right,
#mobile-navbar ul li i.fa-angle-down {
    display: none;
}

#mobile-navbar ul li i.fa-angle-right,
#mobile-navbar ul li.show i.fa-angle-down {
    display: inline-block;
}

#mobile-navbar ul.dropdown-menu {
    position: unset !important;
    border: none;
    transform: none !important;
    display: none;
}

#mobile-navbar ul.dropdown-menu.show {
    display: block;
}

.dropdown-menu {
    z-index: 2000;
}

.dropdown-toggle::after {
    border: none;
}

:not(.mobile) .dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background: transparent;
    color: #0F2957;
}

.mobile-menu .dropdown-toggle::after {
    content: none;
}

.bg-corner-icon {
    position: relative;
}

.bg-corner-icon::before {
    content: "";
    display: block;
    background-image: url("../images/favicon.png");
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 130px;
    height: 130px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    z-index: 1;
}
.bg-corner-icon.left::before{
    right: unset;
    left: 0;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

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

header.fixed .logo-container img {
    max-width: min(100%, transparent 100%), 200px);
}

header nav a,
header.white #mobile-navbar a,
header.white.fixed nav a.mx-3 {
    color: white;
    text-transform: uppercase;
    font-weight: 600;
}

header nav a:hover:not(.dropdown-toggle, .btn),
header nav a.active:not(.dropdown-toggle, .btn),
header nav a:focus:not(.dropdown-toggle, .btn),
header nav a:active:not(.dropdown-toggle, .btn) {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    text-decoration: none;
}

header nav a.dropdown-toggle:active,
header nav a.dropdown-toggle:focus,
header nav a.dropdown-toggle:hover {
    color: var(--gold);
}

header .btn-secondary {
    color: var(--gold);
}

header.fixed .btn-secondary,
.bg-navy .btn-primary:active,
.bg-navy .btn-primary:focus,
.bg-navy .btn-primary:hover {
    background-color: var(--dark-gold) !important;
    border-color: var(--dark-gold) !important;
}

header.fixed .btn-secondary {
    color: white;
}

header.fixed .btn-secondary:hover,
header.fixed .btn-secondary:active,
header.fixed .btn-secondary:focus {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
}

footer nav a {
    color: var(--navy);
    text-transform: uppercase;
    font-weight: 600;
}

footer nav a:hover,
footer nav a.active,
footer nav a:focus,
footer nav a:active {
    color: var(--dark-gold);
    border-bottom: 1px solid var(--dark-gold);
    text-decoration: none;
}

footer img.logo {
    max-width: 200px;
    width: 100%;
}

h1 {
    font-size: 4rem;
    line-height: 4.5rem;
}

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

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

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

.full-banner {
    height: 80vh;
    min-height: 700px;
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.full-banner.top-text{
    padding-top: 140px;
}
.home-banner {
    background-image: linear-gradient(to right, var(--navy) 0%, transparent 100%), url('../images/Home_Banner.jpg?v=1');
}

.about-banner {
    background-image: linear-gradient(to right, var(--navy) 0%, transparent 100%), url('../images/About_Us_Banner.jpg');
}

.programs-banner {
    background-image: linear-gradient(to right, var(--navy) 0%, transparent 100%), url('../images/Programs_Banner.jpg');
}

.work-with-us-banner {
    background-image: linear-gradient(to right, var(--navy) 0%, transparent 100%), url('../images/Careers_banner.jpg');
    background-position: top center;
}

.contact-banner {
    background-image: linear-gradient(to right, var(--navy) 0%, transparent 100%), url('../images/Contact_Banner.png');
    height: 60vh;
    min-height: 400px;
}

.sub-acute-banner {
    background-image:linear-gradient(to right, var(--navy) 0%, transparent 100%), url('../images/Banner_Subacute.png');
}

.long-term-banner {
    background-image:linear-gradient(to right, var(--navy) 0%, transparent 100%),  url('../images/Banner_LongTerm.png');
}

.therapy-services-banner {
    background-image: linear-gradient(to right, var(--navy) 0%, transparent 100%), url('../images/TherapyServices_Banner.png');
}

.memory-care-banner {
    background-image: linear-gradient(to right, var(--navy) 0%, transparent 100%), url('../images/Banner_Memorycare.png');
}

.assisted-living-banner {
    background-image: linear-gradient(to right, var(--navy) 0%, transparent 100%), url('../images/Banner_AssitedLiving.png');
}

.physical-therapy-banner {
    background-image: linear-gradient(to right, var(--navy) 0%, transparent 100%), url('../images/PhysicalTherapy_Banner_1.png');
}

.occupational-therapy-banner {
    background-image: linear-gradient(to right, var(--navy) 0%, transparent 100%), url('../images/OccupationalTherapy_Banner.png');
}

.speech-therapy-banner {
    background-image:linear-gradient(to right, var(--navy) 0%, transparent 100%),  url('../images/SpeechTherapy_Banner.png');
}

.admissions-banner {
    background-image:linear-gradient(to right, var(--navy) 0%, transparent 100%),  url('../images/Admissionandfamily_Banner.png');
}

.admissions-process-banner {
    background-image: linear-gradient(to right, var(--navy) 0%, transparent 100%), url('../images/Admission-process_Banner.png');
}

.admissions-faqs-banner {
    background-image:linear-gradient(to right, var(--navy) 0%, transparent 100%),  url('../images/Admissions\ FAQ_Banner.png');
}
.faqs-banner {
    background-image:linear-gradient(to right, var(--navy) 0%, transparent 100%),  url('../images/faq_Banner.png');
}

.insurance-banner {
    background-image:linear-gradient(to right, var(--navy) 0%, transparent 100%),  url('../images/Insurance_Banner.png');
}

#our-commitment {
    background-image: url('../images/Our_Commitment.jpg?v=1');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#life-at-seashore-gardens {
    background-image: url('../images/Home_LifeatSG.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.divider {
    border-top: 2px solid var(--navy);
    width: 25%;
    min-width: 150px;
    height: 10px;
}

.mini-icon {
    max-height: 22px;
}

.small-icon {
    max-height: 40px;
}

.medium-icon {
    max-height: 60px;
}

.icon {
    max-height: 90px;
}

.why-choose-icon {
    height: 60px;
    max-width: unset;
}

a.box {
    text-decoration: none;
}

.rounded-border {
    border-radius: 15px;
}
.slightly-rounded-border{
    border-radius: 5px;
}

.bg-gray {
    background-color: #E8EBEC;
}

.bg-transparent-white {
    background-color: rgba(255, 255, 255, 0.6);
}

#get-in-touch {
    background-image: url('../images/StartJourney.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.form-control {
    border: none;
    border-bottom: 1px solid white;
    color: #FFF;
}

.bg-white .form-control {
    border-bottom: 1px solid var(--navy);
}

#our-mission .box {
    background-image: url('../images/Icon.png');
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
}


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

.icon-list li::before {
    width: 21px;
    height: 21px;
    background-image: url('../images/favicon.png');
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
}

#googleMap {
    min-height: 400px;
}

#contact-get-in-touch {
    background-image: url('../images/getintouchbackground.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.two-col {
    columns: 2;
}

/* TIMELINE */
.timeline {
    position: relative;
    margin-top: 60px;
}

/* connector line between dots */
.timeline-item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100px;
    /* just below the dot */
    height: 100%;
    width: 4px;
    background: var(--navy);
    z-index: 1;
}

/* last step has no connector */
.timeline-item:last-child::after {
    display: none;
}

/* item */
.timeline-item {
    position: relative;
    padding: 40px 0;
}

/* highlight band */
.timeline-item.highlight {
    background: #eef1f2;
    margin-left: -120px;
    padding-left: 120px;
}

/* number */
.timeline-number {
    position: absolute;
    left: -120px;
    top: 100px;
    font-size: 5rem;
    font-weight: 800;
    color: #1f3a44;
    width: 80px;
    text-align: center;
    font-family: "termina", sans-serif;
}

/* dot */
.timeline-item::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 100px;
    width: 20px;
    height: 20px;
    background: var(--navy);
    border-radius: 50%;
}

/* content */
.timeline-content {
    max-width: 720px;
    padding-left: 100px;
}

.timeline-content h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.half-width {
    max-width: 500px;
}

/* mobile */

@media (max-width: 992px) {

    h1 {
        font-size: 3rem;
        line-height: 3.5rem;
        text-shadow: 1px 2px 3px #3a3838;
    }

    h2 {
        font-size: 2rem;
        line-height: 2.4rem;
    }

    h3 {
        font-size: 1.6rem;
        line-height: 2rem;
    }

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

    #our-mission .h4 {
        font-size: 1rem;
        line-height: 1.5rem;
    }


    .full-banner {
        height: unset;
        min-height: 50vh;
    }
    .full-banner  > div{
        padding-top: 70px;
    }

    header.menu-showing,
    header.menu-showing #mobile-navbar.bg-white {
        background-color: var(--navy) !important;
    }

    .timeline-number {
        font-size: 4rem;
        text-align: left;
        left: -70px;
    }

    .timeline {
        padding-left: 30px;
        margin-top: 0;
    }

    .timeline-content {
        padding-left: 40px;
    }
}
@media (max-width: 768px) {
    .two-col {
        columns: 1;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-number {
        font-size: 40px;
        text-align: left;
        left: -40px;
    }

    .timeline-item::before {
        width: 10px;
        height: 10px;
        left: -3px;
    }

    .timeline-item.highlight {
        margin-left: 0;
        padding-left: 30px;
    }

    .timeline-content {
        padding-left: 20px;
    }
}

@media (max-width: 767px) {

    h1, h2, .h1, .h2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

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

    .h4 {
        font-size: 1.1rem;
        line-height: 1.6rem;
    }

    .full-banner {
        height: 70vh;
        min-height: unset;
        background-position: center;
    }

    
    .home-banner {
        background-image: linear-gradient(to top, var(--navy) 0%, transparent 100%), url('../images/mobile\ home.png?v=1');
    }

    .about-banner {
        background-image: linear-gradient(to top, var(--navy) 0%, transparent 100%), url('../images/mobile\ about\ us.png?v=1');
    }

    .programs-banner {
        background-image: linear-gradient(to top, var(--navy) 0%, transparent 100%), url('../images/mobile\ programs.png?v=1');
    }

    .work-with-us-banner {
        background-image: linear-gradient(to top, var(--navy) 0%, transparent 100%), url('../images/mobile\ careers.png?v=1');
    }

    .contact-banner {
        background-image: linear-gradient(to top, var(--navy) 0%, transparent 100%), url('../images/mobile-contact.png?v=1');
    }

    .sub-acute-banner {
        background-image:linear-gradient(to top, var(--navy) 0%, transparent 100%), url('../images/mobile\ subacute.png?v=1');
    }

    .long-term-banner {
        background-image:linear-gradient(to top, var(--navy) 0%, transparent 100%),  url('../images/mobile\ long\ term.png?v=1');
    }

    .therapy-services-banner {
        background-image: linear-gradient(to top, var(--navy) 0%, transparent 100%), url('../images/mobile\ therapy\ services.png?v=1');
    }

    .memory-care-banner {
        background-image: linear-gradient(to top, var(--navy) 0%, transparent 100%), url('../images/mobile\ memory\ care.png?v=1');
    }

    .assisted-living-banner {
        background-image: linear-gradient(to top, var(--navy) 0%, transparent 100%), url('../images/mobile\ assisted\ living.png?v=1');
    }

    .physical-therapy-banner {
        background-image: linear-gradient(to top, var(--navy) 0%, transparent 100%), url('../images/mobile\ physical\ therapy.png?v=1');
    }

    .occupational-therapy-banner {
        background-image: linear-gradient(to top, var(--navy) 0%, transparent 100%), url('../images/mobile\ occupational.png?v=1');
    }

    .speech-therapy-banner {
        background-image:linear-gradient(to top, var(--navy) 0%, transparent 100%),  url('../images/mobile\ speech.png?v=1');
    }

    .admissions-banner {
        background-image:linear-gradient(to top, var(--navy) 0%, transparent 100%),  url('../images/mobile\ admission\ and\ family.png?v=1');
    }

    .admissions-process-banner {
        background-image: linear-gradient(to top, var(--navy) 0%, transparent 100%), url('../images/mobile\ admission\ process.png?v=1');
    }

    .admissions-faqs-banner {
        background-image:linear-gradient(to top, var(--navy) 0%, transparent 100%),  url('../images/mobile\ admission\ faq.png?v=1');
    }

    .insurance-banner {
        background-image:linear-gradient(to top, var(--navy) 0%, transparent 100%),  url('../images/mobile\ insurance.png?v=1');
    }


    #our-commitment {
        background: var(--navy);
    }

    #get-in-touch {
        background: none;
    }

    #our-commitment .bg-transparent-white {
        background-color: #FFF;
    }

    .contact-info .address .d-block {
        color: #FFF;
        line-height: 1px;
    }

    header {
        background-color: white;
        position: static;
    }

    header.fixed {
        position: fixed;
        background-color: white;
    }

    header nav a,
    header.white #mobile-navbar a,
    header.white.fixed nav a.mx-3 {
        color: var(--navy);
    }

    header.menu-showing,
    header.menu-showing #mobile-navbar.bg-white {
        background-color: #FFF !important;
    }

    header.white .logo,
    header.white.menu-showing .logo {
        display: none;
    }

    header.white .dark-logo,
    header.white.menu-showing .dark-logo {
        display: block;
    }

    #get-in-touch .rounded-border {
        border-radius: 0;
    }

    #contact-get-in-touch {
        background-image: none;
    }
    #contact-buttons .btn{
        width: 75%; 
        margin: 0 auto;
    }
}