@charset "UTF-8";
/* ==========================================================================
    little_sails - content
    Bootstrap 5.3.8
    Must load AFTER bootstrap.min.css (it overrides Bootstrap 5's Reboot).
    ========================================================================== */

/* Fonts (EOT/SVG formats dropped - IE/legacy Safari only) */

@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/subset-CenturyGothic.woff2') format('woff2'),
        url('../fonts/subset-CenturyGothic.woff') format('woff'),
        url('../fonts/subset-CenturyGothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/subset-CenturyGothic-Bold.woff2') format('woff2'),
        url('../fonts/subset-CenturyGothic-Bold.woff') format('woff'),
        url('../fonts/subset-CenturyGothic-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MostlyMono';
    src: url('../fonts/subset-MostlyMono.woff2') format('woff2'),
        url('../fonts/subset-MostlyMono.woff') format('woff'),
        url('../fonts/subset-MostlyMono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Connected';
    src: url('../fonts/subset-Connected.woff2') format('woff2'),
        url('../fonts/subset-Connected.woff') format('woff'),
        url('../fonts/subset-Connected.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Bootstrap 5 variables -> site values, so BS5 components (forms, tables,
    links, etc.) inherit the site's font and colours. */
:root {
    --bs-body-font-family: 'Century Gothic', Arial, sans-serif;
    --bs-body-font-size: 16px;
    --bs-body-line-height: 1.438;
    --bs-body-color: #02101c;
    --bs-body-color-rgb: 2, 16, 28;
    --bs-heading-color: #114f82;
    --bs-link-color: #1cbfd0;
    --bs-link-color-rgb: 28, 191, 208;
    --bs-link-hover-color: #1cbfd0;
    --bs-link-hover-color-rgb: 28, 191, 208;
}

html {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Reboot turns on smooth scrolling - the old site jumped instantly */
@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: auto;
    }
}

body, div {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Century Gothic', Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    color: #02101c;
    line-height: 1.438;
}

/* Section */

.section {
    position: relative;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
}


/* Intro */

#intro {
    background: url(../images/intro-bg.jpg) no-repeat center bottom;
    background-size: cover;
}

#intro .section {
    padding-top: 50px;
    padding-bottom: 10%;
}

.wrap {
    max-width: 990px;
    margin: 0 auto;
}

#intro .logo {
    float: left;
    width: 270px;
    margin: 30px 0 0 0;
}

#intro .info {
    margin-left: 342px;
    margin-top: -20px;
}

/* Content */

#content {
    background: #e0edf6;
}

#content .section {
    padding-top: 50px;
 /*   padding-bottom: 50px;*/ 
}

/* BS5 Reboot gives lists 2rem indent + 1rem bottom margin; BS3 was 40px + 10px */
#content ul,
#content ol {
    padding-left: 40px;
    margin-bottom: 10px;
}

#content ul ul,
#content ul ol,
#content ol ul,
#content ol ol {
    margin-bottom: 0;
}

/* About */

#about {
    background: #e0edf6;
}

#about .section {
    padding-top: 50px;
    padding-bottom: 50px;
}

#about .heading {
    text-align: center;
    margin-bottom: 40px;
}

#about .services {
    display: flex;
    flex-wrap: wrap;
    margin-left: -47px;
    margin-right: -47px;
}

#about .services .service {
    flex: 0 0 auto;
    margin: 0;
    padding: 0 47px;
    width: 50%;
    text-align: center;
}


#about .services .service .title {
    display: block;
    margin: 0 0 25px;
    padding: 0;
    font-family: 'Connected', cursive, sans-serif;
    font-size: 21px;
    color: #114f82;
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 0 0 0.5px #114f82;
}

#about .services .service .title em {
    font-style: normal;
}

#about .services .service .image {
    display: block;
    margin: 0 auto 24px;
    max-width: 395px;
    border: 7px solid #fff;
    overflow: hidden;
}

#about .services .service .image img {
    display: block;
    width: 100%;
    transition: 0.3s transform;
}

#about .services .service .desc {
    display: block;
    line-height: 1.438;
    padding: 0 20px;
    margin: 0 0 20px;
}

#about .services .service .link {
    display: block;
    width: 17.40909090909091em;
    max-width: 100%;
    height: 3.818181818181818em;
    line-height: 3.818181818181818em;
    margin: 0 auto;
    font-family: 'Connected', cursive, sans-serif;
    font-size: 22px;
    text-shadow: 0 0 0.0227272727272727em #fff;
    color: #fff;
    background: url(../images/service-button.png) no-repeat left top;
    background-size: 100%;
}

#about .services .service .link:before {
    content: "";
    display: inline-block;
    width: 1.545454545454545em;
    height: 2.113636363636364em;
    vertical-align: middle;
    margin-right: 0.9090909090909091em;
    background: url(../images/button-ico.png) no-repeat;
    background-size: 100% 100%;
}

#about .services .service .link:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-left: 1.772727272727273em;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.2954545454545455em 0 0.2954545454545455em 0.4545454545454545em;
    border-color: transparent transparent transparent #ffffff;
}

#about .services .service:first-child .link:before {
    margin-right: 0.2272727272727273em;
}

#about .services .service:first-child .link:after {
    margin-left: 0.4545454545454545em;
}

#about .services .service a:hover .image img {
    transform: scale(1.07);
}

#about .services .service a:hover .link {
    background-position: left bottom;
}


/* Miscellaneous */

p {
    margin: 0 0 25px;
}

h1,h2,h3,h4,h5,h6 {
    margin: 0 0 25px;
    padding: 0;
    font-family: 'Connected', cursive, sans-serif;
    color: #114f82;
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 0 0 0.5px #114f82;
}

/* Fixed heading sizes as they were under BS3.
    (BS5 uses larger, viewport-scaled "RFS" sizes by default.) */
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

#content a {
    font-weight: bold;
    color: #1CBFD0;
}

#content a:hover {
    text-decoration: underline;
}

a,
a:hover,
a:active,
a:focus {
    text-decoration: none;
    outline: none;
    color: inherit;
}

a.button {
    display: inline-block !important;
    padding: 0.7em 2.2em !important;
    background-color: #114F82 !important;
    color: #fff !important;
    font-family: 'Century Gothic', Arial, sans-serif;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    text-align: center !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 999px !important;               /* full pill shape */
    transition: background-color 0.3s ease !important;
}

a.button:hover,
a.button:focus {
    background-color: #1DBFD0 !important;
    color: #fff !important;
    text-decoration: none !important;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

.clear {
    clear: both;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.heading {
    margin: 0 0 25px;
    padding: 0;
    font-family: 'Connected', cursive, sans-serif;
    font-size: 30px;
    color: #114f82;
    font-weight: normal;
    line-height: 1.1;
    text-shadow: 0 0 0.5px #114f82;
}

::placeholder {
    opacity: 1;
    color: inherit;
}

form {
    margin: 0;
    padding: 0;
}

input, select, textarea {
    border-radius: 0;
}
