/* CSS Document */

:root {
    --colour1: #6f5284;
    --colour2: #c38ca9;
}

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


h1,
h2,
h3,
h4 {
    font-family: "ainslie-sans", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #6C5787;
}

h3 {
    font-family: "ainslie-sans", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #F7BDC8;
}

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

b,
strong {
    color: var(--colour1);
}

a {
    text-decoration: none;
    color: var(--colour1);
}

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

.secondColour {
    color: var(--colour2);
}

/* - */

hr {
    width: 80%;
    height: 1px;
    background-color: var(--colour1);
    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: #fff;
    z-index: 4;
}

.workspace {
    grid-gap: 32px;
}

/* - */

.btn {
    display: grid;
    justify-self: center;
    border-radius: 32px;
    margin: 8px;
    background-color: var(--colour1);
    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: var(--colour2);

    width: 0;
    height: 0;

    border-radius: 32px;
    border: 0px solid var(--colour2);

    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 var(--colour2);
}

/* - */

.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: black;
}

#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: #fff;
}

/* - */



/* - */

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

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

.contact-items h3 {
    color: #6f5284;
    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 p,
.contact-items a {
    overflow-wrap: anywhere;
}

.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-position: center center;
    background-color: #111;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: -149px;

    min-height: 600px;
}

@media(min-width: 992px) {
    .testimonial-container {

        background-attachment: fixed;
    }
}

.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: #6f5284;
    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: var(--colour1);
}

.active-testimonial-dot {
    background-color: var(--colour1);
    border-color: var(--colour1);
    /*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: var(--colour1);
    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;
}

.gatehouse {
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.roof .workspace .element {
    align-self: center;
    justify-self: center;
}

.roof .workspace .element .element h1,
.roof .workspace .element .element h3,
.roof .workspace .element .element p {
    justify-self: center;
    text-align: center;
}

@media(max-width: 768px) {
    .roof .workspace .element {
        align-self: left;
        justify-self: left;
    }

    .roof .workspace .element .element h1,
    .roof .workspace .element .element h3,
    .roof .workspace .element .element p {
        justify-self: left;
        text-align: left;
    }
}

.mobishow {
    display: none !important;
}

.mobihide {
    display: grid !important;
}

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

    .mobihide {
        display: none !important;
    }
}

/* From Uiverse.io by e-coders */
button {
    appearance: none;
    background-color: transparent;
    border: 0.125em solid #f7bdc8;
    border-radius: 0.9375em;
    box-sizing: border-box;
    color: #f7bdc8;
    cursor: pointer;
    display: inline-block;
    font-family: "nexa", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    min-height: 3.75em;
    min-width: 0;
    outline: none;
    padding: 1em 2.3em;
    text-align: center;
    text-decoration: none;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    will-change: transform;
}

button:disabled {
    pointer-events: none;
}

button:hover {
    color: #fff;
    background-color: #f7bdc8;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
}

button:active {
    box-shadow: none;
    transform: translateY(0);
}

.custom-shape-divider-bottom-1754920414 {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1754920414 svg {
    position: relative;
    display: block;
    width: calc(127% + 1.3px);
    height: 150px;
}

.custom-shape-divider-bottom-1754920414 .shape-fill {
    fill: #F7BDC8;
}

.voucherimg {
    max-width: 300px;
    justify-self: center;
}

@media(min-width: 768px) {
    .voucherimg {
        max-width: 500px;
    }
}
