/* Webfonts */

@font-face {
    font-family: 'Baikal-ExpandedMedium';
    src: url('../webfonts/hinted-Baikal-ExpandedMedium.eot');
    src: url('../webfonts/hinted-Baikal-ExpandedMedium.eot?#iefix') format('embedded-opentype'),
        url('../webfonts/hinted-Baikal-ExpandedMedium.woff2') format('woff2'),
        url('../webfonts/hinted-Baikal-ExpandedMedium.woff') format('woff'),
        url('../webfonts/hinted-Baikal-ExpandedMedium.ttf') format('truetype'),
        url('../webfonts/hinted-Baikal-ExpandedMedium.svg#Baikal-ExpandedMedium') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baikal-UltraExpandedRegular';
    src: url('../webfonts/hinted-Baikal-UltraExpandedRegular.eot');
    src: url('../webfonts/hinted-Baikal-UltraExpandedRegular.eot?#iefix') format('embedded-opentype'),
        url('../webfonts/hinted-Baikal-UltraExpandedRegular.woff2') format('woff2'),
        url('../webfonts/hinted-Baikal-UltraExpandedRegular.woff') format('woff'),
        url('../webfonts/hinted-Baikal-UltraExpandedRegular.ttf') format('truetype'),
        url('../webfonts/hinted-Baikal-UltraExpandedRegular.svg#Baikal-UltraExpandedRegular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baikal-Regular';
    src: url('../webfonts/hinted-Baikal-Regular.eot');
    src: url('../webfonts/hinted-Baikal-Regular.eot?#iefix') format('embedded-opentype'),
        url('../webfonts/hinted-Baikal-Regular.woff2') format('woff2'),
        url('../webfonts/hinted-Baikal-Regular.woff') format('woff'),
        url('../webfonts/hinted-Baikal-Regular.ttf') format('truetype'),
        url('../webfonts/hinted-Baikal-Regular.svg#Baikal-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baikal-Bold';
    src: url('../webfonts/hinted-Baikal-Bold.eot');
    src: url('../webfonts/hinted-Baikal-Bold.eot?#iefix') format('embedded-opentype'),
        url('../webfonts/hinted-Baikal-Bold.woff2') format('woff2'),
        url('../webfonts/hinted-Baikal-Bold.woff') format('woff'),
        url('../webfonts/hinted-Baikal-Bold.ttf') format('truetype'),
        url('../webfonts/hinted-Baikal-Bold.svg#Baikal-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baikal-Medium';
    src: url('../webfonts/hinted-Baikal-Medium.eot');
    src: url('../webfonts/hinted-Baikal-Medium.eot?#iefix') format('embedded-opentype'),
        url('../webfonts/hinted-Baikal-Medium.woff2') format('woff2'),
        url('../webfonts/hinted-Baikal-Medium.woff') format('woff'),
        url('../webfonts/hinted-Baikal-Medium.ttf') format('truetype'),
        url('../webfonts/hinted-Baikal-Medium.svg#Baikal-Medium') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}




/* Global */

html {
	font-size: 18px;
    height: 100%; margin-top: 0!important;
    overflow: auto!important;
}

body {
	font-family: 'Baikal-Regular';
    height: 100%;
	line-height: 1.35;
	padding-top: 58px;
    overflow-y: hidden!important;
}


.adigi-site-overlay::-webkit-scrollbar {
    margin-top: 58px;
    width: 12px;
}

.adigi-site-overlay::-webkit-scrollbar-track {
    background: #280000;
    margin-top: 58px;
}

.adigi-site-overlay::-webkit-scrollbar-thumb {
    background: #640000;
}




.bg-cover {
	background-position: center;
	background-size: cover;
}

.cover {
	top: 0; right: 0; bottom: 0; left: 0;
}

@supports not (-webkit-touch-callout: none) {
    .bg-fixed {
        background-attachment: fixed;
    }
}

.mb-2rem {
    margin-bottom: 2rem;
}

.mb-25rem {
    margin-bottom: 2.5rem;
}

.object-fit-cover {
    object-fit: cover;
}

.anchor-link {
    top: -57px;
}

.section + .section:not(.has-bg) .anchor-link {
    top: -153px;
}



/* Typography */

h1:last-child,h2:last-child,h3:last-child,h4:last-child,h5:last-child,
h6:last-child,p:last-child,ol:last-child,ul:last-child {
	margin-bottom: 0;
}

a {
	text-decoration: none!important;
}

b {
	font-family: 'Baikal-Bold';
	font-weight: 400;
}

h1,h2,h3,h4,h5,h6 {
	font-family: 'Baikal-ExpandedMedium';
	margin-bottom: 1rem;
}

h1,h2 {
	font-size: 36px;
}

h2 {
	font-size: 32px;
}

h3 {
	font-size: 28px;
}

h4 {
    font-size: 24px;
}

ul {
	padding-left: 1rem;
}

.adigi-site-overlay p {
    padding-bottom: 0;
}


.title-lg {
    font-family: 'Baikal-UltraExpandedRegular';
    font-size: 48px;
}

.text-lg {
	font-size: 1.25rem;
}

.text-sm {
    font-size: 0.75rem;
}


/* Colours */

.bg-deep-red {
    background-color: #280000;
}

.bg-red {
    background-color: #e60000;
}

.bg-maroon {
    background-color: #640000;
}

.bg-petrol-blue {
    background-color: #145566;
}

.text-red {
	color: #e60000!important;
}

.text-grey {
	color: #999!important;
}


/* Layout */

.section {
    overflow-x: hidden;
	padding-top: 96px;
	padding-bottom: 96px;
    position: relative;
}

.section + .section:not(.has-bg) {
	padding-top: 0;
}

.section.has-bg + .section {
    padding-top: 96px;
}

.container {
	max-width: 1440px;
}

.container, .container-fluid, .boxed {
    padding-left: 32px;
    padding-right: 32px;
}

.row {
    justify-content: center;
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: -32px;
}

.row.g-0 {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

.row.g-0 > [class^="col-"], .row.g-0 > .col {
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    margin-bottom: 32px; 
    padding-left: 16px;
    padding-right: 16px;
}

.row-pad-lg {
    margin-left: -32px;
    margin-right: -32px;
    margin-bottom: -64px;
}

.col-pad-lg {
    margin-bottom: 64px;
    padding-left: 32px;
    padding-right: 32px;
}

.row-pad-sm {
    margin-left: -8px;
    margin-right: -8px;
    margin-bottom: -16px;
}

.col-pad-sm {
    margin-bottom: 16px;
    padding-left: 8px;
    padding-right: 8px;
}


/* Buttons */

.adigi-site-overlay .btn, 
.adigi-site-overlay .btn:hover, 
.adigi-site-overlay .btn:focus, 
.adigi-site-overlay .btn:active, 
.adigi-site-overlay .btn[type=submit],
.adigi-site-overlay .gform_button.button {
    background-color: #E20000!important;
    border-radius: 0!important;
    -webkit-border-radius: 0!important;
    color: #fff!important;
    font-family: 'Baikal-ExpandedMedium'!important;
    font-size: 1rem!important;
    font-weight: 400!important;
    overflow: hidden!important;
    position: relative;
    margin-bottom: 0!important;
    padding: 7px 11px!important;
}

.btn span {
    transition: 0.3s ease-out;
}

.btn:hover span:first-child {
    transform: translateX(150%);
}

.btn span:last-child {
    transform: translateX(-150%);
}

.btn:hover span:last-child {
    transform: translateX(0%);
}

.btn svg {
    width: 20px;
}

.btn svg path {
    fill: #fff;
}


/* Forms */

.gform_title {
    display: none;
}

.form-control, .form-control:focus, .adigi-site-overlay .gfield input, .adigi-site-overlay .gfield textarea {
    background-color: transparent!important;
    border: 1px solid #fff!important;
    border-radius: 0!important;
    box-shadow: none!important;
    color: #fff!important;
    font-size: 1rem!important;
    padding: 0.75rem 1rem!important;
}

.form-control::-webkit-input-placeholder, .gfield input::-webkit-input-placeholder, .gfield textarea::-webkit-input-placeholder {
    color: #fff;
}


/* Navbar */

.navbar {
	background-color: #E20000;
	font-size: 18px;
	height: 58px;
	padding: 0 140px;
}


/* Hamburger */

.hamburger {
    cursor: pointer;
	height: 32px;
	width: 40px;
}

.hamburger span {
	border-radius: 2px;
	height: 4px;
	top: 4px; right: 0; left: 0;
	transform: rotate(-15deg);
    transition: 0.2s ease-out;
}

.hamburger span:nth-child(2) {
	top: 14px;
}

.hamburger span:nth-child(3) {
	top: 24px;
}

.adigi-menu-open .hamburger span:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
}

.adigi-menu-open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(100%) translateY(-250%);
}

.adigi-menu-open .hamburger span:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
}


/* Menu */

.adigi-menu {
    opacity: 0;
    padding: 64px;
    pointer-events: none;
    top: 58px; right: 0; bottom: 0;
    transform: translateX(calc(100% + 2px));
    transition: 0.3s ease-out;
    z-index: 1029;
}

.adigi-menu-open .adigi-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.adigi-menu a {
    color: #fff;
    font-family: 'Baikal-ExpandedMedium';
    font-size: 32px;
    white-space: nowrap;
}

.adigi-menu a:not(:last-child) {
    margin-bottom: 32px;
}

.adigi-menu a svg {
    min-width: 32px;
    width: 32px;
    transition: 0.2s ease-out;
}

.adigi-menu a:hover svg {
    transform: translateX(8px);
}

.adigi-menu a:hover svg path {
    fill: #E20000;
}


/* Body Overlay */

.adigi-body-overlay {
    background-color: #280000;
    opacity: 0;
    pointer-events: none;
    top: 58px; right: 0; bottom: 0; left: 0;
    transition: 0.3s ease-out;
    z-index: 1028;
}

.adigi-menu-open .adigi-body-overlay {
    opacity: 0.7;
    pointer-events: auto;
}


/* Footer */

.footer {
    background-color: #280000;
    font-size: 14px;
    padding: 10px 140px;
}


/* Banner */

.adigi-banner img {
	width: 76%;
}


/* Video Banner */

.adigi-video-banner {
    height: 100%;
}

.adigi-video-banner video {
    line-height: 0;
}


/* Column Arrows */

.column-arrow {
    min-width: 40px;
    width: 40px;
}

.column-arrow div {
    width: 20px;
}

.column-arrow span:first-child {
    background-color: #fff;
    top: 0; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 2px;
}

.column-arrow span:nth-child(2) {
    background-color: #fff;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
    bottom: -1px; left: -6px;
    height: 2px;
    width: 16px;
    transform: rotate(45deg);
    transform-origin: bottom right;
}

.column-arrow span:nth-child(3) {
    background-color: #fff;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
    right: -6px; bottom: -1px;
    height: 2px;
    width: 16px;
    transform: rotate(-45deg);
    transform-origin: bottom left;
}


/* Human Carousel */

.carousel-overlap-text {
    margin-right: -5rem;
    z-index: 2;
}


/* About */

.about-panel {
    animation: border-gradient 6s infinite;
    border: 1px solid;
    border-image: linear-gradient(60deg, rgba(230, 0, 0, 0) 0%, rgba(230, 0, 0, 1) 25%, rgba(230, 0, 0, 0) 50%, rgba(230, 0, 0, 1) 100%) 1;
}

.col-about-panel:nth-child(2) .about-panel {
    animation-delay: 2s;
}

.col-about-panel:nth-child(3) .about-panel {
    animation-delay: 4s;
}

.about-connector {
    animation: border-gradient 6s infinite;
    border-top: 1px solid;
    border-image: linear-gradient(60deg, rgba(230, 0, 0, 0) 0%, rgba(230, 0, 0, 1) 25%, rgba(230, 0, 0, 0) 50%, rgba(230, 0, 0, 1) 100%) 1;
    height: 1px;
    top: 50%; left: 32px;
    width: calc(100% - 64px);
}

@keyframes border-gradient {
    0%{border-image: linear-gradient(60deg, rgba(230,0,0,0) 0%, rgba(230,0,0,1) 25%, rgba(230,0,0,0) 50%, rgba(230,0,0,1) 100%) 1;}
    50%{border-image: linear-gradient(60deg, rgba(230,0,0,1) 0%, rgba(230,0,0,0) 25%, rgba(230,0,0,1) 50%, rgba(230,0,0,0) 100%) 1;}
    100%{border-image: linear-gradient(60deg, rgba(230,0,0,0) 0%, rgba(230,0,0,1) 25%, rgba(230,0,0,0) 50%, rgba(230,0,0,1) 100%) 1;}
}


/* Clients Slider */

.clients-slider .carousel-cell {
    height: 64px;
}

.clients-slider .carousel-cell > div {
    margin-right: 6rem;
}

.clients-slider .carousel-cell img {
    max-width: 256px;
    max-height: 100%;
    height: auto;
    width: auto;
}


/* Casestudy Slider */

.casestudy-slider .carousel-cell {
    margin: 0 64px;
    width: 960px;
}

.casestudy-slider .carousel-cell > div {
    transition: 0.3s ease-out;
}

.casestudy-slider .carousel-cell:not(.is-selected) > div {
    opacity: 0.5;
    transform: scale(0.75);
}

.casestudy-results {
    font-family: 'Baikal-ExpandedMedium';
    font-size: 14px;
    top: 2.5rem; right: -96px; bottom: 1.5rem;
    width: 192px;
}

.casestudy-results p:nth-child(2) {
    font-size: 36px;
}

.casestudy-results svg {
    top: -25%; left: 10%;
    height: auto;
    width: 80%;
}

.flickity-button {
    background: #e20000!important;
    box-shadow: none!important;
    color: #000;
}

/* Shape Overlays */

.shape-overlay-1 {
    position: absolute;
    top: 50% ; left: 0;
    transform: translateY(-50%);
    width: 25%;
}


/* Service Panel Overlay */

.service-overlay {
    animation: border-gradient 6s infinite;
    border: 1px solid;
    border-image: linear-gradient(60deg, rgba(230, 0, 0, 0) 0%, rgba(230, 0, 0, 1) 25%, rgba(230, 0, 0, 0) 50%, rgba(230, 0, 0, 1) 100%) 1;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease-out;
}

.service-panel:hover .service-overlay {
    opacity: 1;
}

.service-overlay li:not(:last-child) {
    margin-bottom: 1rem;
}

.service-overlay.text-lg {
    font-size: 1.15rem;
}



/* Media Queries */

/* 1440px */
@media (max-width: 1439px) { 
    .container {max-width: 1136px;}
    .navbar {padding: 0 32px;}
    .footer {padding: 10px 32px}
    html {font-size: 16px;}
    h1,h2 {font-size: 32px;}
    h2 {font-size: 28px;}
    h3 {font-size: 24px;}
    h4 {font-size: 20px;}
    .title-lg {font-size: 40px;}
    .casestudy-results p:nth-child(2) {font-size: 32px;}
    .casestudy-slider .carousel-cell {width: 720px;}
    .casestudy-results {right: -80px;width: 160px; font-size: 12px;}
    .shape-overlay-1 {width: 33%;}
}

/* 1200px */
@media (max-width: 1119px) { 
    .container {max-width: 928px;}
    .shape-overlay-1 {width: 50%;}
    .adigi-video-banner {height: auto; aspect-ratio: 16/9;}
}

/* 992px */
@media (max-width: 991px) { 
    .container {max-width: 704px;}
    .carousel-overlap-text {margin-right: 0;}
    .casestudy-slider .carousel-cell {margin: 0 64px;width: 75%;}
    .casestudy-results p:nth-child(2) {font-size: 24px;}
    .casestudy-results {position: relative!important; top: auto; right: auto; bottom: auto; width: 100%; font-size: 10px;}
    .casestudy-results > div {min-width: 144px;}
}

/* 768px */
@media (max-width: 767px) { 
    html {font-size: 14px;}
    h1,h2 {font-size: 24px;}
    h2 {font-size: 20px;}
    h3 {font-size: 18px;}
    h4 {font-size: 16px;}
    .title-lg {font-size: 30px;}
    .navbar {font-size: 14px; padding: 0 16px;}
    .footer {padding: 10px 16px}
    .navbar-logo {width: 160px;}
    .section {padding-top: 48px;padding-bottom: 48px;}
    .section.has-bg + .section {padding-top: 48px;}
    .container, .container-fluid, .boxed {padding-left: 16px;padding-right: 16px;}
    .row-pad-lg {margin-left: -16px; margin-right: -16px;margin-bottom: -32px;}
    .col-pad-lg {margin-bottom: 32px; padding-left: 16px; padding-right: 16px;}
    .clients-slider .carousel-cell {height: 32px;}
    .clients-slider .carousel-cell > div {margin-right: 4rem;}
    .flickity-button {transform: scale(0.65); transform-origin: center left;}
    .flickity-button.next {transform-origin: center right;}
    .casestudy-results {justify-content: center!important;}
    .casestudy-results > div {width: 144px; margin-left: auto; margin-right: auto;}
    .casestudy-results > div:not(:last-child) {margin-bottom: 1.5rem;}
    .service-overlay li:not(:last-child) {margin-bottom: 0.5rem;}
    .section + .section:not(.has-bg) .anchor-link {top: -105px;}
    .adigi-menu {left:0; padding: 32px;}
    .adigi-menu a {font-size: 24px;}
    .adigi-menu a:not(:last-child) {margin-bottom: 24px;}
    .adigi-menu a svg {min-width: 24px; width: 24px;}
}

