/*
Theme Name: Landata
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Code Company
Author URI: https://www.thecode.co/
template: bb-theme
*/

/* Global Styles */ 

:root {
    /* Colours */
    --white: #FFFFFF;
    --blue: #3A5AFD;
    --navy: #0D0B3F;
    --aqua: #00ABA5;
    --grey: #F4F4F4;
    --placeholder: #666666;
    --error: #c00101;
    /* Gap */
    --py: 2.2rem;
    --half-py: 1.1rem;
    --half-px: 1.2rem;
    --px: 2.4rem;
    /* Fonts */
    --text-base: 1.8rem;
    --text-menu: 1.6rem;
    --bold: 700;
    --regular: 400;
    /* Transitions */
    --trans-button: background-color 0.25s, color 0.25s;
    --trans-text: color 0.25s;
}

@media screen and (min-width: 1019px) {
    :root {
        /* Gap */
        --half-px: 2rem;
        --px: 4rem;
        --half-py: 2rem;
        --py: 3rem;
        /* Fonts */
        --text-menu: 1.8rem;
        --text-base: 2.2rem;
    }
}

/* Helpers */

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.grid {
    display: grid;
}

.grid-cols-12 {
    grid-template-columns: repeat(12,minmax(0,1fr));
    gap: var(--px);
}

.align-start {
    align-items: flex-start;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

body.locked {
    overflow: hidden;
}

/* Global */

.btn,
div div.fl-row div.fl-module a.fl-button,
.fl-rich-text .gform_wrapper.gravity-theme input[type="submit"] {
    position: relative;
	color: var(--white);
    background-color: var(--blue);
	transition: var(--trans-button);
	text-decoration: none !important;
    font-weight: 600;
    border-radius: 33px;
    padding: 10px 32px;
    font-size: 2rem;
    line-height: inherit;
    border: none;
}

.btn:hover,
div div.fl-row div.fl-module a.fl-button:hover,
.fl-rich-text .gform_wrapper.gravity-theme input[type="submit"]:hover  {
    background-color: var(--navy);
    color: var(--white);
    border: none;
}

.btn.btn-secondary,
.btn.btn-secondary div.fl-row div.fl-module a.fl-button {
    background-color: var(--aqua);
    color: var(--white);
}

.btn.btn-secondary:hover {
    background-color: var(--navy);
    color: var(--white);
    border: none;
}

.btn:active,
.btn:focus {
    top: 0;
    border: none;
}

.btn--large {
    border-radius: 33px;
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: 0;
    padding: 10px 32px;
}

.button-group .btn + .btn {
    margin-top: var(--half-py);
    margin-right: var(--half-px);
}

@media screen and (max-width: 780px){
    .btn--large {
        font-size: 2rem;
    }
    
    .btn,
    div div.fl-row div.fl-module a.fl-button,
    .fl-rich-text .gform_wrapper.gravity-theme input[type="submit"] {
        font-size: 1.8rem;
    }
}

.btn-icon {
    align-items: center;
}

.btn-icon:before {
    font-family: "Font Awesome 5 Free"; 
}

.btn-icon-download:before {
    content: "\f019";
    font-weight: 900; 
    font-size: 12px;
    margin-right: 10px;
}

.button-list {
    display: flex;
    flex-wrap: wrap;
}

.button-list .btn {
    margin-top: 0;
    margin-right: 12px;
    margin-bottom: 12px;
}

.theme--grey {
    background-color: var(--grey);
}

body,
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2em;
}


.h1 {
    font-weight: 600;
    font-size: 6.8rem;
    line-height: 1.02em;
    letter-spacing: -0.02em;
}

.h2 {
    font-style: normal;
    font-weight: 600;
    font-size: 4.2rem;
    line-height: 1.28em;
    letter-spacing: -0.02em;
}

@media screen and (max-width: 780px){
    .h2 {
        font-size: 3.2rem;
    }
}

.h3 {
    font-style: normal;
    font-weight: 600;
    font-size: 3.4rem;
    line-height: 1.35em;
    letter-spacing: -0.02em;
}

.sub-header {
    font-style: normal;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.2em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.body-copy-large {
    font-size: 2.2rem;
    line-height: 1.45em;
    letter-spacing: -0.02em;
    font-weight: 300;
}

@media screen and (max-width: 780px){
    .body-copy-large {
        font-size: 1.8rem;
    }
}

.body-copy-small {
    font-size: 14px;
    line-height: 18px;
}

.list-heading {
    font-style: normal;
    font-weight: 700;
    font-size: 2.0rem;
    line-height: 1.8em;
    letter-spacing: -0.02em;
    margin-top: 0;
}

/* Gravity Forms */

textarea {
    resize: none;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="date"]::placeholder,
input[type="month"]::placeholder,
input[type="week"]::placeholder,
input[type="time"]::placeholder,
input[type="number"]::placeholder,
input[type="search"]::placeholder,
input[type="url"]::placeholder,
textarea::placeholder {
    color: var(--placeholder);
}

.fl-rich-text .gform_required_legend {
    display: none;
}

.fl-rich-text .gform_wrapper {
    padding-top: var(--py);
}

.fl-rich-text .gform_wrapper .gfield label {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.fl-rich-text .gform_wrapper .gfield input {
    text-align: left;
    padding: 16px 22px;
    border-radius: 0;
    background: transparent;
    font-size: var(--text-menu);
    line-height: 1.444em;
    border-color: var(--aqua);
    margin-bottom: 0.25em;
    border-width: 2px;
    border-radius: 34px;
}
.fl-rich-text .gform_wrapper .gfield input:focus {
    border-color: var(--blue);
}

.fl-rich-text .gform_wrapper textarea {
    background-color: transparent;
    border-color: var(--aqua);
    border-width: 2px;
    border-radius: 34px;
    padding: 16px 22px;
    font-size: var(--text-menu);
    line-height: 1.444em;
}

.fl-rich-text .gform_wrapper fieldset {
    margin-top: var(--py);
}

.fl-rich-text .gform_wrapper fieldset legend {
    font-weight: var(--bold);
    border-bottom: none;
}
.fl-rich-text .gform_wrapper fieldset label {
    font-weight: 400;
}

.fl-rich-text .gform_wrapper .gform_footer {
    padding: var(--py) 0;
}

@media screen and ( max-width: 1019px ) {
    .fl-rich-text .gform_wrapper .gfield input {
        padding: 13px 16px;
    }
}

.gform_delete_file .dashicons.dashicons-trash {
    color: var(--error);
}

.ginput_preview_list .gfield_fileupload_filesize  {
    padding: 0 6px;
}

.gfield_fileupload_filename {
    font-weight: 600;
}

/* Gravity Forms Checkboxes */

.fl-rich-text .gform_wrapper .gfield_checkbox,
.fl-rich-text .gform_wrapper .gf_list_3col .gfield_checkbox {
    display: flex;
    flex-wrap: wrap;
}

.fl-rich-text .gform_wrapper .gf_list_2col .gfield_checkbox .gchoice, 
.fl-rich-text .gform_wrapper .gf_list_3col .gfield_checkbox .gchoice {
    padding-right: var(--half-px);
}

.fl-rich-text .gform_wrapper .gf_list_2col .gfield_checkbox .gchoice {
    flex: 1 0 50%;
}

.fl-rich-text .gform_wrapper .gfield_checkbox .gchoice {
    position: relative;
}

.fl-rich-text .gform_wrapper .gfield_checkbox input[type=checkbox] {
    opacity: 0;
    position: absolute;   
}

.fl-rich-text .gform_wrapper .gfield_checkbox input[type=checkbox] + label {
    position: relative;
    overflow: hidden;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
}

.fl-rich-text .gform_wrapper .gfield_checkbox input[type=checkbox] + label:before,
.fl-rich-text .gform_wrapper .gfield_checkbox input[type=checkbox] + label:after {
    content: '';
    position: absolute;
    z-index: 1;
    -webkit-transition: .2s;
    transition: .2s;
    top: 0px;
    left: 0px;
}

/* after */
.fl-rich-text .gform_wrapper .gfield_checkbox input[type=checkbox]:not(:checked) + label:after {
    width: 22px;
    height: 22px;
    border: 2px solid var(--aqua);
    top: 0px;
}

.fl-rich-text .gform_wrapper .gfield_checkbox input[type=checkbox]:checked + label:after {
    top: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--aqua);
    background-color: var(--aqua);
    z-index: 0;
}

/* before */
.fl-rich-text .gform_wrapper .gfield_checkbox input[type=checkbox]:not(:checked) + label:before {
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
}

.fl-rich-text .gform_wrapper .gfield_checkbox input[type=checkbox]:checked + label:before {
    background: url(images/checkbox.svg);
    width: 16px;
    height: 16px;
    background-size: cover;
    background-repeat: no-repeat;
    top: 3px;
    left: 3px;
}

@media only screen and (max-width: 641px) {
    .fl-rich-text .gform_wrapper.gravity-theme input:not([type="radio"]):not([type="checkbox"]):not([type="image"]):not([type="file"]) {
        line-height: 1em;
    }
}

@media screen and ( max-width: 500px ) {
    .fl-rich-text .gform_wrapper .gf_list_2col .gfield_checkbox .gchoice {
        flex: 1 0 100%;
        padding-top: var(--py);
    }    
}

/* Subscribe Block */

.subscribe-block form {
    position: relative;
    display: grid;
    grid-column-gap: 2%;
    grid-row-gap: 16px;
    grid-template-columns: repeat(12,1fr);
    grid-template-rows: repeat(auto-fill,auto);
    width: 100%;
}

.subscribe-block .gform_wrapper .gform_body {
    grid-column: 1/12;
}

.subscribe-block .gform_wrapper .gform_footer {
    padding: 0;
    margin: 0;
    grid-column-start: 12;
    grid-column-end: 12;
}

.subscribe-block .gform_wrapper .gfield input[type="email"] {
    width: 100%;
}

@media screen and ( max-width: 500px ) {
    .subscribe-block form {
        display: block;
    }

    .subscribe-block .gform_wrapper .gform_body {
        padding-right: 0;
    }

    .subscribe-block .gform_wrapper .gform_footer {
        padding-top: var(--py);
    }

    .subscribe-block .gform_wrapper .gform_footer input[type="submit"] {
        display: block;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* The Modal (background) */
.modal {
    display: flex; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 55; /* Sit on top */
    left: 0;
    overflow: hidden;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    align-items: center;
    background-color: var(--blue); /* Fallback Color */
    background: linear-gradient(57.55deg, #056877 -29.38%, #0D0B3F 100.31%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.modal.show-modal {
    opacity: 1;
    visibility: visible;
}

.modal-text {
    position: relative;
    z-index: 1;
}

.modal .close-pop {
    z-index: 102;
    position: absolute;
    top: 15rem;
    right: var(--half-px);
    color: var(--white);
}

.modal .close-pop:after {
    content: "Close";
}

.modal .modal-content {
    overflow-x: hidden;
    padding: 0 var(--half-px);
    width: 100%;
    margin: auto; /* 15% from the top and centered */
    max-width: 904px;
    position: relative;
    color: var(--white);  
    background-size: cover;
    background-position: center top;
    min-height: 90vh;
    overflow-y: auto;
    padding-top: 15rem;
}

.modal-title {
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 33px;
    letter-spacing: 0.05em;
    color: var(--white);  
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0;
}

.modal-links {
    display: flex;
    flex-direction: column;
    height: 58vh;
    overflow-y: auto;
}

.modal-links *:last-child {
    border-bottom: none;
}

form.modal-links-form {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

form.modal-links-form:hover,
form.modal-links-form:focus,
form.modal-links-form:focus-within,
form.modal-links-form:focus-visible {
    position: relative;
    top: 0;
    outline: none;
    border-radius: 0;
}

a.modal-large-link {
    font-style: normal;
    font-weight: 600;
    font-size: 4.0rem;
    line-height: 1.75em;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: var(--py);
    padding-bottom: var(--py);
}

button.modal-large-link {
    font-style: normal;
    font-weight: 600;
    font-size: 4.0rem;
    line-height: 1.75em;
    color: var(--white);
    padding-top: var(--py);
    padding-bottom: var(--py);
    background-color: transparent;
    border: none;
    padding-left: 0;
}

button.modal-large-link:focus,
button.modal-large-link:focus-within,
button.modal-large-link:focus-visible,
button.modal-large-link:hover {
    border: none;
    text-decoration: underline;
    position: relative;
    top: 0;
    outline: none;
    border-radius: 0;
}

.close-pop:hover,
.close-pop:focus {
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
}

@keyframes modal {
    from {transform: translateY(-10px); opacity: 0;}
    to { transform: translateY(0px); opacity: 1;}
}

@media screen and (max-width: 1200px){
    .modal .modal-content {
        padding-left: var(--px);
        padding-right: var(--px);
    }

    button.modal-large-link,
    a.modal-large-link {
        font-size: 2.0rem;
    }
}


/* Download */

.download:before {
    font-family: "Font Awesome 5 Free";
    content: "\f2f6";
    display: inline-block;
    margin-right: 8px;
    transform: rotate(90deg);
    font-size: 0.8em;
}


/* Header message bar */

.header-info-bar {
    overflow: hidden;
    background-color: var(--navy);
    color: var(--white);
    z-index: 99;
    position: relative;
}

.header-info-bar-content {
    display: flex;
    align-items: center;
}

.header-info-bar-icon {
    margin-bottom: 10px;
    margin-right: 10px;
}

.header-info-bar .wrap {
    max-width: 1920px;
    padding-left: var(--half-px);
    padding-right: var(--half-px);
    padding-top: 12px;
    padding-bottom: 0;
    font-size: 13px;
}

/* Header */

.site-header {
    padding-right: 20px;
}

.site-header .menu-nav {
    padding-right: 27px;
}

.site-header .main-menu ul li a {
    font-size: 1.6rem;
}

@media screen and (max-width: 1020px) {
    .site-header {
        padding-right: 0;
    }
    .site-header .menu-nav {
        flex: 1 0 auto;
    }
}

/* Search form */

.searchform {
    position: relative;
    min-width: 270px;
}

@media screen and (max-width: 1440px){
    .searchform {
        min-width: 200px;
    }
}

.searchform input {
    color: var(--white);
    background-color: transparent;
    border: 1px solid var(--aqua);
    border-radius: 37px;
    padding: 18px 23px;
}

.searchform input::placeholder {
    color: var(--white);
    opacity: 1;
}

.searchform input:focus {
    background-color: transparent;
}

.searchform .searchsubmit {
    position: absolute;
    right: 10px;
    border: none;
    background-color: transparent;
}

/* Header bar */

.fl-node-i7en6wvq40lc > .fl-col-content {
    background-color: var(--navy) !important;
}
  

/* Footer */

footer {
    position: relative;
    background: radial-gradient(118.52% 559.33% at 0% 0%, #3A5AFD 8.33%, #2535A3 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
    color: var(--white);
}

footer a {
    text-decoration: underline;
}

footer .menu li.menu-item a {
    color: var(--white);
    font-size: 14px;
    transition: color 0.25s;
    text-decoration: underline;
}

footer .menu li.menu-item:hover a {
    color: var(--white);
}

footer:after {
    content: "";
    pointer-events: none;
    position: absolute;
    right: 160px;
    top: 0;
    height: 100%;
    width: 620px;
    background-size: cover;
    background-image: url(images/footer-stripe.png);
    background-repeat: no-repeat;
    background-position: top right;
}

@media screen and (max-width: 1500px) {
    footer:after {
        display: none;
    }
}

@media screen and (max-width: 1300px) {
    footer:after {
        right: 0;
    }
}

@media screen and (max-width: 1200px){
    footer:after {
        display: none;
    }
}

/* Selectric (Dropdowns)  */

.selectric-wrapper {
    position: relative;
    cursor: pointer;
}

.selectric-responsive {
    width: 100%;
}

.selectric {
    border: 2px solid var(--aqua);
    border-radius: 34px;
    background: transparent;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5em;
}

.selectric .label {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;
    font-size: var(--text-menu);
    margin: 11px 28px 12px 26px;
    line-height: 2em;
    color: var(--navy);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectric .button {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 3em;
    height: 3.3em;
    line-height: 2.3em;
    margin: 0;
    background-color: transparent;
    color: transparent;
    text-align: center;
}

.selectric .button:after {
    content: "\f078";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    background-color: transparent;
    background-image: url('images/down-arrow.svg');
    background-repeat: no-repeat;
    width: 20px;
    height: 10px;
    left: -20px;
    background-size: contain;
}

.selectric-focus .selectric {
    border-color: #aaaaaa;
}

.selectric-hover .selectric {
    border-color: var(--blue);
}

.selectric-open {
    z-index: 9999;
}

.selectric-open .selectric {
    border-color: var(--aqua);
}

.selectric-open .selectric-items {
    display: block;
}

.selectric-disabled {
    filter: alpha(opacity=50);
    opacity: 0.5;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectric-hide-select {
    position: relative;
    overflow: hidden;
    width: 0;
    height: 0;
}

.selectric-hide-select select {
    position: absolute;
    left: -100%;
}

.selectric-hide-select.selectric-is-native {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.selectric-hide-select.selectric-is-native select {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    border: none;
    z-index: 1;
    box-sizing: border-box;
    opacity: 0;
}

.selectric-input {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 1px !important;
    height: 1px !important;
    outline: none !important;
    border: none !important;
    *font: 0/0 a !important;
    background: none !important;
}

.selectric-temp-show {
    position: absolute !important;
    visibility: hidden !important;
    display: block !important;
}

/* Items box */
.selectric-items {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #F8F8F8;
    border: 1px solid #c4c4c4;
    z-index: -1;
}

.selectric-items .selectric-scroll {
    height: 100%;
    overflow: auto;
}

.selectric-above .selectric-items {
    top: auto;
    bottom: 100%;
}

.selectric-items ul, .selectric-items li {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--text-menu);
    line-height: 20px;
    min-height: 20px;
}

.selectric-items li {
    display: block;
    padding: 16px;
    color: #000;
    cursor: pointer;
}

.selectric-items li.selected {
    background: #E0E0E0;
    color: #444;
}

.selectric-items li.highlighted {
    background: var(--aqua);
    color: #fff;
}

.selectric-items li:hover {
    background: #D5D5D5;
    color: #444;
}

.selectric-items .disabled {
    filter: alpha(opacity=50);
    opacity: 0.5;
    cursor: default !important;
    background: none !important;
    color: #666 !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectric-items .selectric-group .selectric-group-label {
    font-weight: bold;
    padding-left: 10px;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: none;
    color: #444;
}

.selectric-items .selectric-group.disabled li {
    filter: alpha(opacity=100);
    opacity: 1;
}

.selectric-items .selectric-group li {
    padding-left: 25px;
}

@media screen and ( max-width: 500px ) {
    .selectric .label {
        margin: 0 28px 0 16px;
        height: 3em;
        line-height: 3em;
    }

    .selectric .button {
        width: 3em;
        height: 3em;
        line-height: 3em;
    }
        
}

.fl-content .mejs-controls .mejs-time-rail .mejs-time-current {
    background: var(--aqua);
}

.fl-content .mejs-overlay-button {
    background-image: url(images/mejs-controls-landata.svg);
}

.fl-content .mejs-overlay.mejs-layer.mejs-overlay-play {
    background: linear-gradient(79deg, rgba(1, 59, 79, 0.5) 18.72%, rgba(1, 59, 79, 0) 95.93%, rgba(1, 59, 79, 0) 99.73%);
}

.fl-html iframe[src*="player.vimeo.com"],
.fl-html iframe[src*="youtube.com"],
.fl-rich-text iframe[src*="player.vimeo.com"],
.fl-rich-text iframe[src*="youtube.com"] { 
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
}
