@import url('https://fonts.googleapis.com/css?family=Alice|Raleway:500,700');

body {
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
}

header {
    position: fixed;
    width: 100%;
    z-index: 999;
    background: linear-gradient(to bottom, white 10%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.00000001));
    padding: 10px 0;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
}

h1, h2, h3, h4 {
    font-family: 'Alice', serif;
    font-weight:normal;
}

header h1 {
    display: none;
}

header .logo img {
    height: 75px;
}

a:hover {
    text-decoration: none;
    color: #373737;
}

nav {
    list-style: none;
    text-align: right;
    margin-bottom: 50px;
}

nav ul {
    margin-top: 25px;
    padding: 0 0 0 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    font-size: 18px;
    padding: 0 10px;
    margin: 0 2vw 0 0;
    color: black;
}

header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

nav.sub-nav {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    background: #c60000;
    z-index: 99;
    margin-right: -300px;
    transition: all .4s cubic-bezier(0.25,0.8,0.25,1);
    text-align: left;
}

nav.sub-nav.active {
    margin-right: 0;
}

nav.sub-nav ul {
    margin-top: 50px;
    padding-left: 30px;
}

nav.sub-nav ul li {
    display: block;
    opacity:0;
}

nav.sub-nav ul li:after {
    content: '';
}

nav.sub-nav ul li a {
    padding: 0;
    margin: 5px 0;
    display: inline-block;
    color: white;
    text-transform: uppercase;
    font-size: 20px;
}

header .menu-toggle {
    position: fixed;
    z-index: 100;
    top: 29px;
    right: 30px;
    display: none;
    width: 35px;
    z-index: 100;
}

header .menu-toggle .bar {
    transition: all 0.6s cubic-bezier(0.25,0.8,0.25,1);
}

header .menu-toggle.active .bar {
    background-color: white;
}

header .menu-toggle .bar {
    height: 2px;
    background: #5C2244;
    margin-bottom: 12px;
    -webkit-animation: move-up-down 2s ease infinite;
    animation: move-up-down 2s ease infinite;
}

header .menu-toggle .b2 {
    -webkit-animation-duration: 2.1s;
    -moz-animation-duration: 2.1s;
    -o-animation-duration: 2.1s;
    animation-duration: 2.1s;
}

header .menu-toggle.active .b1 {
    -webkit-animation: none;
    animation: none;
    transform: rotateZ(45deg);
    margin-top: 12px;
}

header .menu-toggle.active .b2 {
    animation: none;
    transform: rotateZ(-45deg);
    margin-top: -15px;
}

header .container {
    position: relative;
}

.large-image-header {
    position: absolute;
    left: -15vh;
    right: -15vh;
    top: 0;
    bottom: 0;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section {
    position: relative;
    text-align: center;
}

section table, section tr, section td {
    border: none;
}

section strong, section b {
    color: #c60000;
}

section h2 {
    position: relative;
    min-width: 25%;
    font-size: 50px;
    padding: 0;
    margin: 20px 0 0 0;
    z-index: 99;
}

section h3 {
    color: #93C01F;
}

section h4 {
    font-size: 38px;
}

section .text-align-left {
    text-align: left;
}

section p, section ul, input, textarea, .document {
    width: 75%;
}

section p {
    margin: 20px auto;
}

section p.spacing {
    margin: 20px auto;
}

section ul {
    margin: 0 auto;
    padding: 5px 0;
}

section li {
    position: relative;
    list-style: none;
    text-align: left;
    margin: 10px;
    padding-left: 40px;
}

section li:before {
    content: '+';
    color: #c60000;
    font-weight:bold;
    font-size: 50px;
    position: absolute;
    left: 0;
    top: -30px;
}

.bullet-point-block {
    width: 50%;
    margin: 0 auto;
}

.bullet-point-block ul {
    width: 100%;
    background: #5C2244;
    color: white;
}

.bullet-point-block h3 {
    background: #c60000;
    color: white;
    text-transform: uppercase;
    padding: 3px;
    font-size: 24px;
    margin: 0;
}

.top-spacing {
    padding-top: 140px;
}

p.pre-title {
    margin: 20px auto -20px;
    font-size:24px;
    color: #5C2244;
}

.case-nav {
    margin: 55px 0;
}

.case-nav .disabled {
    display: none;
}

.bg-color {
    margin-top: 200px;
}

.bg-color-no-margin {
    margin-top: 0px;
}

.button {
    display: inline-block;
    border: 1px solid #93C01F;
    background: #93C01F;
    color: white;
    padding: 5px 20px;
    margin: 20px 0;
    font-weight:bold;
    transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1);
}

.button:hover {
    color: white;
    scale: 1.1;
}

.button-white {
    border: 1px solid #93C01F;
    color: #93C01F;
    background: transparent;
    position: relative;
}

.button-white:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    background: #93C01F;
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1);
}

.button-white:hover {
    color: white;
}

.button-white:hover:before {
    width: 100%;
}

#top-footer {
    margin: 30px 0;
    align-items: center;
    font-size: 14px;
}

#top-footer a {
    display: inline-block;
    margin-right: 20px;
}

#top-footer img {
    height: 60px;
    float: right;
    margin-left: 20px;
}

footer.bg-color {
    margin-top: 0;
}

section .bg-color-header-image {
    z-index: 999999;
    height: 200px;
    margin-top: -200px;
}

footer {
    position: relative;
    text-align: left;
    padding: 30px 0;
    color: white;
    border-top: 3px solid white;
}

footer a {
    color: white;
}

footer p {
    margin: 0;
    padding: 0;
}

form {
    margin: 25px 0;
}

input, textarea {
    padding: 10px;
    margin: 8px 0;
    border: 1px solid black;
}

input[type="submit"] {
    display: inline-block;
    width: auto;
    border: none;
}

/** Contact **/
.large-telephone {
    font-size: 24px;
    font-weight:bold;
}

.animate-in {
    -webkit-animation-name: animate-element-in;
    -webkit-animation-duration: .6s;
    -webkit-animation-fill-mode: forwards;
    animation-name: animate-element-in;
    animation-duration: .6s;
    animation-fill-mode: forwards;
}

@-webkit-keyframes animate-element-in {
    0% {
        -webkit-transform: translate3d(0, 96px, 0);
        opacity: 0
    }
    to {
        -webkit-transform: translateZ(0);
        opacity: 1
    }
}

@keyframes animate-element-in {
    0% {
        transform: translate3d(0, 96px, 0);
        opacity: 0
    }
    to {
        transform: translateZ(0);
        opacity: 1
    }
}

@-webkit-keyframes move-up-down {
    0%{
        transform: translate3d(0, 3, 0);
    }
    50%{
        transform: translateZ(0);
    }
    100%{
        transform: translate3d(0, 3, 0);
    }
}

@keyframes move-up-down {
    0%{
        transform: translate3d(0, 3px, 0);
    }
    50%{
        transform: translateZ(0);
    }
    100%{
        transform: translate3d(0, 3px, 0);
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .cut-off-top-left:before {
        border-right: 100vw solid transparent;
        border-top: 100px solid white;
    }

    .cut-off-top-right:before {
        border-left: 100vw solid transparent;
        border-top: 100px solid white;
    }

    .cut-off-bottom-left:after {
        border-right: 100vw solid transparent;
        border-bottom: 100px solid white;
    }

    .cut-off-bottom-right:after {
        border-left: 100vw solid transparent;
        border-bottom: 100px solid white;
    }
}

@supports (-ms-ime-align:auto) {
    .cut-off-top-left:before {
        border-right: 100vw solid transparent;
        border-top: 100px solid white;
    }

    .cut-off-top-right:before {
        border-left: 100vw solid transparent;
        border-top: 100px solid white;
    }

    .cut-off-bottom-left:after {
        border-right: 100vw solid transparent;
        border-bottom: 100px solid white;
    }

    .cut-off-bottom-right:after {
        border-left: 100vw solid transparent;
        border-bottom: 100px solid white;
    }
}

/* Gets overridden */
h1, h2, h3, strong, section strong {
    color: #518095;
}
.bg-color, .bg-color h1, .bg-color h2, .bg-color h3 {
    color: white;
    background-color: #518095;
}
