/*** DANBURYKLINE CSS STYLESHEET ***/

/** font sizes **/

.f-xl {
    font-size: 2.0em;
}

.f-large {
    font-size: 1.7em;
}

.f-medium {
    font-size: 1.5em;
}
.f-md-sm{
	font-size: 1.2em;
}
.f-small {
    font-size: .95em;
}

.f-xsmall {
    font-size: .7em;
}

b{
    font-size: 1.1em;
}

p.f-large.h-padding{
    margin-bottom: 0;
}

/* High-level page text consistency */
.page-title-wrap {
    padding-top: 3rem;
    padding-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 1.7em;
    margin-bottom: 0;
}

.page-copy p {
    text-align: justify;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

.page-copy .page-intro {
    font-size: 1.5em;
}

.page-copy .page-subheading {
    font-size: 1.5em;
    margin-bottom: 0.5rem;
}

/* Text colours */
.text-dkgrey {
    color: #646363;
}

.text-dkwhite {
    color: #fff;
}

.text-dkblack {
    color: #000;
}

.text-dkdarkblue {
    color: #00B0DA
}

.text-dkdarkblue:hover {
    color: #68C6E0;
    text-decoration: none;
}

.soros-subheading-blue {
    color: #00B0DA;
}

.dk-text-justify {
    text-align: justify;
}

.dk-img-left-wrap {
    display: flex;
    align-items: flex-start;
    gap: clamp(1rem, 3vw, 1.5rem);
}

.dk-img-left-wrap > img {
    width: min(300px, 100%);
    height: auto;
}

.dk-research-img {
    flex-shrink: 0;
    max-width: 320px;
    width: 40%;
    display: block;
    margin: 0;
    border-radius: 28px;
}

.dk-img-left-text {
    flex: 1;
}

.dk-img-left-text > *:first-child {
    margin-top: 0;
    padding-top: 0;
}

.container.text-dkblack p:not([class]) {
    text-align: justify;
}

/** general **/

* {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: lighter;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

img,
iframe {
    max-width: 100%;
}

.vl {
    border-right: 2px solid #646363;
}

p {
    font-size: 1.1em;
    font-weight: lighter;
    line-height: 1.6;
}

a {
    color: #000;
}

a:hover {
    color: #F28D1F;
    text-decoration-color: none;
    text-decoration: none;
    transition: 0.12s ease;
}

.team {
    margin-top: 40px;
    margin-bottom: 55px;
}

.icon {
    font-size: 1.9em;
    color: #F28D1F;
}

.icon:hover {
    font-size: 1.9em;
    color: #00B0DA;
    transition: 0.3s ease;
    cursor: pointer;
}

/* Navbar */

.dk-nav {
    background-color: rgba(255, 255, 255, 0.84);
}

.navbar-nav li > a {
    font-size: 1.2em;
}

.navbar-nav li.active {
    color: #fff;
    border-bottom-width: 10px;
    border-bottom: 2px solid #F28A1991;
}

.navbar-nav li:hover {
    transition: 0.12s ease;
    color: #fff;
    border-bottom: 2px solid #F28A1991;
}

.navbar-nav > li {
    padding-left: 15px;
    padding-right: 15px;
}

/* Shadows */

.text-shadow {
    color: #fff;
    background-color: #2d2d2d;
    letter-spacing: .1em;
    text-shadow: -1px -1px 1px #111, 2px 2px 1px #363636;
}

.box-shadow {
    box-shadow: 0 2px 8px #646363;
}
.card-sh{
	box-shadow: 0px 0px 20px 3px rgb(219, 219, 219);
}
.box-lightshadow {
    box-shadow: 0 2px 4px -2px #646363;
}

.img-shadow {
    box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}

.heading-shadow {
    text-shadow: horizontal-offset vertical-offset blur color;
    text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
}

/* Page Headers */
.wave-m{
	margin-top: -75px;
}
.header-container {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: clamp(28rem, 70vh, 48rem);
    width: 100%;
    overflow: hidden;
}

.header-container-small {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: clamp(20rem, 57vh, 34rem);
    width: 100%;
    overflow: hidden;
}

#map {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: clamp(20rem, 55vh, 32rem);
    width: 100%;
    overflow: hidden;
}

.header-tandc {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: clamp(18rem, 45vh, 28rem);
    width: 100%;
    overflow: hidden;
}

.header-image {
    display: block;
    width: 100%;
    height: auto;
    opacity: 1;
}

.header-container .header-image,
.header-container-small .header-image,
.header-tandc .header-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
}

.header-content-center {
    position: absolute;
    top: calc(50% - 130px);
    right: calc(clamp(1rem, 4vw, 3rem) + 50px);
    left: auto;
    width: min(32rem, calc(100% - 2rem));
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.20);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    transform: translateY(-50%);
    color: black;
    z-index: 2;
}

.dk-text-strong {
    color: rgb(10, 10, 10);
}

.header-content-center-left {
    position: absolute;
    top: 50%;
    padding-left: 7%;
    color: white;
    width: min(34rem, 92vw);
    background-color: rgba(255, 255, 255, 0.20);
    border-radius: 12px;
    z-index: 2;
}

.header-content-left {
    position: absolute;
    top: 35%;
    padding-left: 7%;
    color: white;
    overflow: hidden;
    width: min(34rem, 92vw);
    background-color: rgba(255, 255, 255, 0.20);
    border-radius: 12px;
    z-index: 2;
}

.header-content-left-two {
    position: absolute;
    top: 35%;
    margin-top: 75px;
    padding-left: 7%;
    color: white;
    overflow: hidden;
    width: min(34rem, 92vw);
    background-color: rgba(255, 255, 255, 0.20);
    border-radius: 12px;
    z-index: 2;
}

.header-text {
    background-color: white;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    opacity: 1;
}

/* Image Sizes */

#nav-logo {
    width: clamp(140px, 20vw, 200px);
    height: auto;
}

.soros-sphere-small {
    height: 70px;
    width: 270px;
}

.soros-sphere-icon {
    height: 60px;
    width: 60px;
}

.dk-employee-img {
    margin-top: -6rem;
    border-radius: 50% !important;
    height: auto;
    width: min(250px, 100%);
}

.employee-page-img {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 45vh;
    width: 45vh;
}

.small-icon {
    height: auto;
    width: min(65px, 100%);
}

.consultancy-icon {
    height: auto;
    width: min(70px, 100%);
}

#virgin{height: 52px; width: 205px;}
#swr{height: 52px; width: 180px;}
#hitachi{height: 52px; width: 180px;}
#londongatwick{height: 52px; width: 250px;}
#ga{height: 40px; width: 220px;}
#southeastern{height: 29px; width: 260px;}
#flybe{height: 55px; width: 160px;}
#lner{height: 55px; width: 160px;}
#highspeed1{height: 70px; width: 105px;}
#angeltrains{height: 55px; width: 160px}
#eurostar{height: 52px; width: 160px}
#eversholt{height: 90px; width: 75px;}
#c2c{height: 40px; width: 100px}
#highwaysengland{height: 55px; width: 180px}
#connectairways{height: 52px; width: 160px}
#bondair{height: 55px; width: 120px}

.client-logo-h{
    height: auto;
    width: min(280px, 100%);
}

.dk-home-brand-logo {
    display: block;
    width: min(100%, 440px);
    height: auto;
}

.dk-home-modal-logo {
    display: block;
    width: min(120px, 100%);
    height: auto;
}

.dk-home-client-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 280px);
    min-height: 72px;
    padding: 0.5rem 1rem;
}

.dk-home-client-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

.dk-home-client-logo[id] {
    width: auto;
}

.dk-home-feature-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* background-colours */

.bg-dkblack {
    background-color: #000000;
}

.bg-dkgrey {
    background-color: #646363;
}

.bg-dklightblue {
    background-color: #68c6e0;
}

.bg-sorosblue {
	background-color: #299eb9;
}

.bg-dklightgrey {
    background-color: #E5E5E5
}


/* Buttons */

.btn-soros {
    color: #fff;
    background-color: #00B0DA;
}

.btn-soros:hover {
    color: #fff;
    background-color: #F28D1F;
}

.hide-block {
    display: block !important
}

.hide {
    display: none;
}

/* video banner */
.soros-header-logo{
    width: 120px;
}
.dk-video-container{
    position: relative;
    margin: -1rem auto 0;
    width: min(100%, 32rem);
}
.dk-soros-vid-cover {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 19 / 12;
    object-fit: cover;
}

.dk-video-container:hover{
    cursor: pointer;
}

.play-button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

.dk-mr-5p {
    margin-right: 5%;
}

.dk-ml-95 {
    margin-left: 0;
}

.page-copy .dk-ml-95 {
    text-align: left;
    margin-left: 0;
}

.dk-float-icon {
    width: 80px;
    height: auto;
}

.dk-feature-list {
    display: grid;
    gap: 2rem;
}

.dk-feature-block {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.dk-feature-media {
    display: inline-flex;
    width: min(92px, 100%);
}

.dk-feature-media img {
    display: block;
    width: 100%;
    height: auto;
}

.dk-feature-body {
    min-width: 0;
}

.dk-pt-80 {
    padding-top: 80px;
}

.dk-paperturn-wrap {
    width: 100%;
    max-width: 100%;
    height: clamp(420px, 78vh, 800px);
}

.dk-paperturn-frame {
    border: 0;
    display: block;
    background-color: #525252;
}

.dk-panel-compact {
    padding-top: 10px;
    padding-bottom: 3px;
    margin-bottom: 30px;
}

.dk-pb-50 {
    padding-bottom: 50px;
}

.dk-mt-50 {
    margin-top: 50px;
}

.dk-mb-50 {
    margin-bottom: 50px;
}

.dk-mb-30 {
    margin-bottom: 30px;
}

.dk-my-50 {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* slide animation */
.slideanim {
    visibility: hidden;
}

.sliding {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}

@keyframes slide {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes slide {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/**** MEDIA QUERIES ****/

/* media query for when user is on a mobile device and smaller*/

@media only screen and (max-width: 568px) {

    .header-content-left-two {
        margin-top: 123px;
    }
    #contact-text.header-content-center-left {

        padding-left: 7%;
        padding-right: 7%;
    }

    #mpd.row{
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: unset;
         flex-wrap: unset;
        margin-right: -15px;
        margin-left: -15px;
    }
}


@media only screen and (min-width: 768px) {
    .dk-feature-block {
        grid-template-columns: minmax(80px, 96px) minmax(0, 1fr);
        column-gap: 1.5rem;
    }
}

/* Large devices (laptops/desktops, 992px and smaller) */
@media only screen and (max-width: 575px) {
	.wave-m{
		margin-top: -15px;
	}
}
@media only screen and (max-width: 992px) {
    .header-content-center {
        left: 50%;
        right: auto;
        width: min(30rem, calc(100% - 2rem));
        transform: translate(-50%, -50%);
    }

    .header-content-left {
        left: 50%;
        padding-left: 2%;
        padding-right: 2%;
        transform: translateX(-50%);
    }

    .header-content-left-two {
        left: 50%;
        padding-left: 2%;
        padding-right: 2%;
        transform: translateX(-50%);
    }

    .header-content-center-left {
        align-content: center;
        left: 50%;
        padding-left: 2%;
        padding-right: 2%;
        transform: translate(-50%, -50%);
    }

    .q-center {
        justify-content: center !important;
	}
}

@media (max-width: 767px) {
    .dk-home-header-content {
        display: none;
    }

    .btn,
    button.btn,
    a.btn {
        margin-top: 0.35rem;
        margin-bottom: 0.35rem;
    }

    .f-xl {
        font-size: 1.6em;
    }

    .f-large,
    .page-copy .page-intro,
    .page-copy .page-subheading {
        font-size: 1.3em;
    }

    .f-medium {
        font-size: 1.2em;
    }

    .header-container,
    .header-container-small,
    #map,
    .header-tandc {
        height: auto;
        min-height: 20rem;
    }

    .header-content-center {
        top: auto;
        bottom: 1rem;
        transform: translateX(-50%);
    }

    .header-content-center br {
        display: none;
    }

    .header-content-left,
    .header-content-left-two,
    .header-content-center-left {
        width: min(28rem, calc(100% - 2rem));
        text-align: center;
    }

    .dk-img-left-wrap,
    .dk-feature-block {
        grid-template-columns: 1fr;
    }

    .dk-img-left-wrap {
        flex-direction: column;
    }

    .dk-feature-media {
        margin: 0 auto;
        width: min(84px, 24vw);
    }

    .dk-home-brand-logo {
        margin: 0 auto;
        width: min(100%, 320px);
    }

    .dk-home-client-logo-wrap {
        width: min(100%, 240px);
        min-height: 64px;
    }

    .dk-home-client-logo {
        max-height: 56px;
    }

    .dk-feature-body,
    .page-copy .dk-ml-95 {
        text-align: center;
    }

    .vl {
        border-right: 0;
    }
}

@media (min-width: 992px){
    .modal-lg, .modal-xl {
        max-width: 1200px;
    }
}

@media (max-width: 992px) and (min-width: 576px){
    .btn,
    button.btn,
    a.btn {
        margin-top: 0.3rem;
        margin-bottom: 0.3rem;
    }

    .modal-dialog {
        max-width: 900px;
	}
	.wave-m{
		margin-top: -45px;
	}
}