/* CSS Document */

body {
    font-family: 'Lato', sans-serif;
}


h1,
h2,
h3,
h4 {
    font-family: "the-seasons", sans-serif;
    font-weight: 700;
    font-style: normal;
}

p,
li {
    font-weight: 300;
    font-size: 17px;
    line-height: 23px;
    letter-spacing: .5px;
    color: #444;
}

b,
strong {
    color: black;
}

a {
    text-decoration: none;
    color: #bf9e8d;
}

.heading {
    font-weight: 300;
    width: 100%;
    border-bottom: 1px solid black;
    padding-bottom: 16px;
}

.secondColour {
    color: rgb(239, 227, 225);
}

/* - */

hr {
    width: 80%;
    height: 1px;
    background-color: rgb(255, 250, 249);
    border: none;
}

@media(min-width: 768px) {
    hr {
        width: 750px;
    }
}

@media(min-width: 992px) {
    hr {
        width: 950px;
    }
}

@media(min-width: 1200px) {
    hr {
        width: 1200px;
    }
}

#page-content {
    display: grid;
    width: 100%;
    grid-gap: 32px;
    padding: 75px 0 75px;
    background-color: #FFFAF9;
}

.workspace {
    grid-gap: 32px;
}

/* - */

.btn {
    display: grid;
    justify-self: center;
    border-radius: 32px;
    margin: 8px;
    background-color: rgb(255, 250, 249);
    font-weight: 300;
    letter-spacing: 1px;
}

.btn h4 {
    grid-row: 1;
    grid-column: 1;
    z-index: 2;
    border-radius: 32px;
    border: none;
    color: #fff;
    padding: 16px 32px;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05), 0 2px 2px rgba(0, 0, 0, 0.05), 0 4px 4px rgba(0, 0, 0, 0.05), 0 8px 8px rgba(0, 0, 0, 0.05), 0 16px 16px rgba(0, 0, 0, 0.05);

    transition: ease .25s;
}

.btn::before {
    content: "";

    grid-row: 1;
    grid-column: 1;
    z-index: 1;
    background-color: rgb(239, 227, 225);

    width: 0;
    height: 0;

    border-radius: 32px;
    border: 0px solid rgb(239, 227, 225);

    transition: ease .25s;

    color: #fff;

    overflow: hidden;

    justify-self: center;
    align-self: center;
}

.btn:hover {
    cursor: pointer;
}

.btn:hover h4 {
    color: #fff;
}

.btn:hover::before {
    height: 100%;
    width: 100%;
    border: 2px solid rgb(239, 227, 225);
}

/* - */

.banner {
    display: grid;
}

#banner-image {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    z-index: 1;

    width: 100%;
    height: 128px;
    background-size: cover;
    background-image: url('../img/banner-bg.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

#banner-overlay {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    z-index: 2;

    width: 100%;
    height: 128px;
    background-size: cover;
    opacity: 0.65;

    background-color: rgb(255, 250, 249);
}

#banner-container {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    z-index: 3;

    width: 100%;
    height: 128px;
    align-content: center;
    justify-content: center;
}

@media (min-width: 768px) {
    #banner-image {
        height: 256px;
    }

    #banner-overlay {
        height: 256px;
    }

    #banner-container {
        height: 256px;
    }
}

#banner-container h1 {
    color: #efe4de;
}

/* - */



/* - */

.contact-items {
    grid-gap: 20px;
}

.contact-icon {
    grid-row: 1;
    color: #bf9e8d;
    align-self: center;
    justify-self: start;
    border-right: solid 1px;
    padding-right: 12px;
    font-size: 20px;
}

.contact-items h3 {
    color: #bf9e8d;
    grid-row: 1;
    margin: 0;

    align-self: center;
    justify-self: start;
}

.contact-items p {
    grid-row: 1;
    margin: 0;

    align-self: center;
    justify-self: start;
}

.contact-items .element {
    align-content: start;
    justify-content: start;
    grid-gap: 16px;
}







/* Testimonials */

.testimonial-container {
    display: grid;
    width: 100%;
    /*	background-image: url('../img/testimonial-bg.jpg');*/
    background-attachment: fixed;
    background-position: center center;
    background-color: #222;
    background-repeat: no-repeat;
    background-size: cover;

    min-height: 400px;
}

.testimonial {
    display: grid;
    align-self: center;
    justify-self: center;

    grid-row: 1;
    grid-column: 1;

    grid-gap: 16px;

    width: 512px;
    max-width: 80vw;

    opacity: 1;

    transition: opacity ease .5s;

    z-index: 3;
}

.opacity-0 {
    opacity: 0 !important;
}

.testimonial h3 {
    color: #fff;
    justify-self: center;
    font-size: 32px;
}

.testimonial p {
    color: #fff;
    justify-self: center;
    text-align: center;
}

.star-container {
    display: grid;
    align-content: center;
    justify-content: center;
}

.star {
    color: rgb(255, 250, 249);
    grid-row: 1;
}


.testimonial-controls {
    display: grid;
    z-index: 1;
    grid-row: 2;
    grid-column: 1;
    align-content: center;
    padding: 0 32px;
}

@media(min-width: 992px) {
    .testimonial-controls {
        grid-row: 1;
        grid-column: 1;
    }
}


.testimonial-arrow {
    color: #fff;
    font-size: 32px;
    grid-row: 1;
    grid-column: 1;

    transition: opacity .5s ease;
}

.testimonial-arrow:hover {
    cursor: pointer;
    opacity: 0.5;
}

.testimonial-left {
    justify-self: start;
}

.testimonial-right {
    justify-self: end;
}

.testimonial-dots {
    display: grid;
    grid-gap: 8px;
    justify-content: center;
    justify-self: center;
    align-self: center;
    z-index: 3;

    grid-row: 2;
    grid-column: 1;
}

.testimonial-dot {
    grid-row: 1;
    width: 8px;
    height: 8px;
    border-radius: 16px;
    border: #fff solid 1px;
    align-self: center;
}

.testimonial-dot:hover {
    cursor: pointer;
    border-color: rgb(255, 250, 249);
}

.active-testimonial-dot {
    background-color: rgb(255, 250, 249);
    border-color: rgb(255, 250, 249);
    /*border: none;*/
}


/* - Table - */

.w100 {
    width: 100%;
}

.elem-table {
    border: 1px solid #fff;
    background-color: #fff;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

thead {
    background-color: rgb(255, 250, 249);
    border-bottom: 2px solid #fff;
}

th {
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    border-left: 2px solid #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: solid 1px;

    height: 20px;
}

th h1 {
    font-size: 14px;
}

tr:nth-child(2n) {
    background: rgba(222, 222, 222, 0.30);
}


/*** TABLE STYLING ***/

table {
    border: 1px solid #fff;
    background-color: #fff;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

table td,
table th {
    border: 1px solid #fff;
    padding: 10px 10px;
}

table tbody td {
    font-size: 13px;
}

table thead th:first-child {
    border-left: none;
}

table tfoot td {
    font-size: 14px;
}

table tfoot .links {
    text-align: right;
}

/* Catch-all Centering Class */
.cent {
    justify-self: center;
    text-align: center;
}


.colorback {
    padding: 40px 0px;
    background-color: #222;
    color: white;
}

.colorback p {
    color: white;
}

.colorback b {
    color: white;
}

.colorback {
    color: #efe4de;
}

.colorback .heading {
    border-bottom: 1px solid #efe4de;

}

.imageback {
    padding: 50px 0px;
    background-color: #7592b9;
    background-image: url("../img/wave.png");
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
}


.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #efe4de;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 0.25rem;
    padding: 15px;
    min-height: 200px;

}

.card p {
    color: #222;
}



.card:hover {
    background-color: #222;
    transform: scale(1.0)
}

.card:hover p {
    color: white;

}

.card:hover h1 {
    color: #efe4de;

}

.card-img-top {
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}


.card2 {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #efe4de;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 0.25rem;
    padding: 10px;
    min-height: 40px;
    width: 100%;

}

.card2 p {
    color: #222;
    justify-self: center;
    text-align: center;
}



.card2:hover {
    background-color: #BF9E8D;
    transform: scale(1.0)
}

.card2:hover p {
    color: white;

}

.card2:hover h1 {
    color: #efe4de;

}

.card2-img-top {
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}

.zoom {
    transition: transform .2s;
}

.zoom:hover {
    transform: scale(1.2);
}

hr {
    background: url("../img/hr.png") no-repeat top center;

    background-size: contain;
    display: block;
    height: 50px;
    border: 0;
    position: relative;
}

hr:before,
hr:after {
    content: '';
    display: block;
    position: absolute;
    background: #BF9E8D;
    height: 1px;
    top: 22px;
}

hr:before {
    left: 0;
    right: 60%;
    margin-right: 10px;
    margin-left: 70px;
}

hr:after {
    right: 0;
    left: 60%;
    margin-left: 10px;
    margin-right: 70px;
}

.buttons {

    text-align: center;
    border-radius: 30px;
}

*,
*:before,
*:after {
    box-sizing: border-box;
    /*    margin: 0;*/
    padding: 0;
}


.blob-btn {
    z-index: 1;
    position: relative;
    padding: 20px 46px;

    text-align: center;
    text-transform: uppercase;
    color: #bf9e8d;
    font-size: 16px;
    font-weight: bold;
    background-color: transparent;
    outline: none;
    border: none;
    transition: color 0.5s;
    cursor: pointer;
    border-radius: 30px;
    margin-left: -64px;

}

.blob-btn:before {
    content: "";
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #bf9e8d;
    border-radius: 30px;
}

.blob-btn:after {
    content: "";
    z-index: -2;
    position: absolute;
    left: 3px;
    top: 3px;
    width: 100%;
    height: 100%;
    transition: all 0.3s 0.2s;
    border-radius: 30px;
}

.blob-btn:hover {
    color: #efe4de;
    border-radius: 30px;
}

.blob-btn:hover:after {
    transition: all 0.3s;
    left: 0;
    top: 0;
    border-radius: 30px;
}

.blob-btn__inner {
    z-index: -1;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: #efe4de;
}

.blob-btn__blobs {
    position: relative;
    display: block;
    height: 100%;
    filter: url("#goo");
}

.blob-btn__blob {
    position: absolute;
    top: 2px;
    width: 25%;
    height: 100%;
    background: #bf9e8d;
    border-radius: 100%;
    transform: translate3d(0, 150%, 0) scale(1.7);
    transition: transform 0.45s;
}

@supports (filter: url("#goo")) {
    .blob-btn__blob {
        transform: translate3d(0, 150%, 0) scale(1.4);
    }
}

.blob-btn__blob:nth-child(1) {
    left: 0%;
    transition-delay: 0s;
}

.blob-btn__blob:nth-child(2) {
    left: 30%;
    transition-delay: 0.08s;
}

.blob-btn__blob:nth-child(3) {
    left: 60%;
    transition-delay: 0.16s;
}

.blob-btn__blob:nth-child(4) {
    left: 90%;
    transition-delay: 0.24s;
}

.blob-btn:hover .blob-btn__blob {
    transform: translateZ(0) scale(1.7);
}

@supports (filter: url("#goo")) {
    .blob-btn:hover .blob-btn__blob {
        transform: translateZ(0) scale(1.4);
    }
}


.mobishow {
    display: none !important;
}

.mobihide {
    display: grid !important;
}

@media (max-width: 600px) {
    .mobishow {
        display: grid !important
    }

    .mobihide {
        display: none !important;
    }
}


.zoom {
    transition: transform .2s;
}

.zoom:hover {
    transform: scale(1.05);
}
