/* Menus */
.block-responsive-menu-horizontal-menu ul.horizontal-menu > li > ul {
  padding-right: 7px;
}
.block-responsive-menu-horizontal-menu ul.horizontal-menu > li > ul > li {
  padding-right: 5px;
}
ul.horizontal-menu li.item-1-4 > ul.sub-nav,
ul.horizontal-menu li.item-1-5 > ul.sub-nav {
  left: auto;
  right: 0;
}

/* Menus - English */
body.lang-en ul.horizontal-menu li.item-1-1 {
  position: initial;
}
body.lang-en ul.horizontal-menu li.item-1-1 > ul.sub-nav {
  left: -215px;
  width: 1100px;
  height: 25.5rem;
}
body.lang-en ul.horizontal-menu li.item-1-5 > ul.sub-nav {
  width: 900px;
  height: 300px;
  right: -183px;
}

/* Menus - German */
body.lang-de ul.horizontal-menu li.item-1-1 > ul.sub-nav {
  left: -240px;
  width: 850px;
  height: 300px;
}

/* Menus - French */
body.lang-fr ul.horizontal-menu li.item-1-1 > ul.sub-nav {
  left: -290px;
  width: 1100px;
  height: 450px;
}

/* Menus - Dutch */
body.lang-nl ul.horizontal-menu li.item-1-1 > ul.sub-nav {
  left: -200px;
  width: 700px;
  height: 310px;
}

/* Menus - Swedish */
body.lang-sv ul.horizontal-menu li.item-1-1 > ul.sub-nav {
  left: -200px;
  width: 550px;
  height: 400px;
}
body.lang-sv ul.horizontal-menu li.item-1-5 > ul.sub-nav {
  width: 450px;
  height: 340px;
  right: -183px;
}


/*  CD FORM BELOW  */


/* CENTER FORM*/


div.region-content .mainDiv {
    margin: 0 auto;
}


/*--- SUBMIT BUTTON STYLE ---*/

#btnSubmit {
    margin: 15px 0 0 0;
    font-family: 'Roboto',sans-serif !important;
    font-size: 15px !important;
    clear: both;
    padding: 14px 62px !important;
    border-radius: 5px;
    box-shadow: 0px 5px 10px rgba(0,0,0, .2);
    transition: transform .3s;
}
#btnSubmit:hover {
    box-shadow: 0px 5px 15px rgba(0,0,0, .2);
    transform: translateY(-2px) scale(1.03);
}




/*--- FIELD INPUT STYLE ---*/
.clickdform input[type='text'],
.clickdform textarea,
.clickdform select
{
    font-family: 'Roboto',sans-serif !important;
    font-size:15px !important;
    font-weight: 200;
    color:#666 !important;
    border: 0;
    border-bottom: 0px solid #1e4b6d;
    padding:8px;
    background-color: #fff;
    box-shadow: 0px 0px 5px rgba(0,0,0, .3);
    border-radius: 5px;
}

/* FORM OUTLINE/SHADOW FIELD STYLING */
.clickdform input[type='text']:focus,
.clickdform textarea:focus,
.clickdform select:focus {
            outline: none;
            box-shadow: 0px 0px 10px rgba(0,170,255, .5);
            border: 0px solid #00aaff;
        }


/* Form Labels*/
.clickdform span.maxSize3 {
    font-family: 'Roboto',sans-serif !important;
    font-size:18px !important;
    font-weight: 200 !important;;
    color:#666 !important;
    margin-bottom: 5px !important;;
}


/* FORM COPY AND LABEL COPY */
.clickdform .maxSize1, .clickdform .maxSize2 {
    font-family: 'Roboto',sans-serif !important;
    font-size:15px !important;
    font-weight: 200 !important;
    color:#666666 !important;
    margin-bottom: 5px !important;;
}


/* FORM FIELD COPY STYLING*/
div.region-content .clickdform input[type='text'], div.region-content .clickdform textarea, div.region-content .clickdform select  {
    font-family: 'Roboto',sans-serif !important;
    font-size:15px !important;
    font-weight: 200 !important;
    line-height: 1.5em;
    color:#666666 !important;
    margin-bottom: 5px !important;
    padding: 10px;
}


/* CHECKBOX MARGIN RIGHT*/
input[type="checkbox"] {
-webkit-appearance: checkbox;
    margin-top: 2px;
    margin-right:6px;
}

/* CHECKBOX COPY TO RIGHT */
input[type="checkbox"] + span {
    font-family: 'Roboto',sans-serif !important;
    font-size:12px !important;
    font-weight: 200 !important;;
    color:#666 !important;
}

/*  CD FORM ABOVE  */ /////////////////////////////


div.related-content-block {
    background-color: #fff;
    padding-top: 35px;
    padding-bottom: 5px;
    border: 5px solid #f1f1f1;
    border-radius: 5px;
}

.card.centered, .is-style-card.centered, .is-style-card-soft.centered {
    border: 3px solid #00aaff;
   text-weight: 600;
    /*color: #fff;*/
    text-align: center;
    padding-top: 15px;
}

.file.file--mime-application-pdf.file--application-pdf.wp-block-button {
      margin-bottom: 100px;
}

body article.node table.table-dsg {
  margin: 0 auto;
}

body article.node table.table-dsg th {
    padding: 10px 25px;
    color: #fff;
}

body article.node table.table-dsg td {
    text-align: left;
}

/* ADD MAX HEIGHT TO TOP BLOCK*/
.wp-block-descartes-section.is-style-light-page-top.top-back-700 {
  max-height: 700px;
}

/* EVENT CARD ON NEWS AND EVENTS PAGE */
.wp-block-descartes-event-card.event-card div.card-title {
    font-size: 24px;
font-weight:300;
}
.wp-block-descartes-event-card.event-card div.card-title a {
    text-decoration: none;
}
.wp-block-descartes-event-card.event-card div.card-title a:after {
    display: inline-block;
    padding-left: .5em;
    content: "\f35d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .5em;
    line-height: 1.2em;
    vertical-align: top;
}

.wp-block-descartes-event-card.event-card div.card-description {
    font-size: 16px;
    line-height: 1.4;
}
.wp-block-descartes-event-card.event-card div.card-date {
    font-size: 16px;
}
.wp-block-descartes-event-card.event-card div.card-location {
    font-size: 15px;
}
.wp-block-descartes-event-card.event-card.card div.card-link a {
    font-size: 14px;
}

.wp-block-descartes-heading.level-h1.has-text-align-left.p20.news-heading {
      background-color: rgba(0,0,0,.2);
}
.wp-block-descartes-heading.level-h1.has-text-align-left.p20.news-heading h1 {
    font-weight: 800;
}



/*///  Rounded border sub nav Dropdown menus  ////////////////*/

ul.link-list li, ul.is-style-link-list li, .is-style-link-list ul li {
    margin: 10px 0 0 0 !important;
}


div.dropdown a, div.is-style-dropdown a {
    padding-left: 40px;
}

div.dropdown a:hover, div.is-style-dropdown a:hover {
    text-decoration: none;
}

div.dropdown h2, div.dropdown h3, div.dropdown h4, div.is-style-dropdown h2, div.is-style-dropdown h3, div.is-style-dropdown h4 {
    border: 2px solid #ccc !important;
    box-shadow: 2px 4px 5px rgba(0,0,0,.1);
}
/* FIX BORDER!! SHOWING AS 1px; */
div.dropdown>nav>ul, div.dropdown>.wp-block-group__inner-container>ul, div.is-style-dropdown>nav>ul, div.is-style-dropdown>.wp-block-group__inner-container>ul {
    border: 2px solid #cccccc !important;
    border-top: 0px;
    box-shadow: 2px 4px 5px rgba(0,0,0,.1);
}

div.is-style-dropdown h2:after, div.is-style-dropdown h3:after, div.is-style-dropdown h4:after {
    color: #999;
}

div.dropdown h2:after, div.dropdown h3:after, div.dropdown h4:after, div.is-style-dropdown h2:after, div.is-style-dropdown h3:after, div.is-style-dropdown h4:after {
    position: absolute;
    top: 18px;
    right: 25px;
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-size: 18px;
    font-weight: 900;
}

div.dropdown h2:hover:after, div.dropdown h3:hover:after, div.dropdown h4:hover:after, div.is-style-dropdown h2:hover:after, div.is-style-dropdown h3:hover:after, div.is-style-dropdown h4:hover:after {
    position: absolute;
    top: 18px;
    right: 25px;
    content: "\f0d7";
    font-family: "Font Awesome 6 Free";
    font-size: 18px;
    font-weight: 900;
}

div.dropdown h2:focus:after, div.dropdown h3:focus:after, div.dropdown h4:focus:after, div.is-style-dropdown h2:focus:after, div.is-style-dropdown h3:focus:after, div.is-style-dropdown h4:focus:after {
    position: absolute;
    top: 18px;
    right: 25px;
    content: "\f0d7";
    font-family: "Font Awesome 6 Free";
    font-size: 18px;
    font-weight: 900;
}

/*////////////////////////////////////////////*/

article.profile.compact {
    margin-top: 150px;
    padding: 10px;
    border-radius: 15px;
    border: 5px solid #f7f7f7;
}

div.wp-block-descartes-profile-card {
    margin-top: 150px;
    padding: 10px;
    border-radius: 15px;
    border: 5px solid #f7f7f7;
}

/* Bold and enlarge Headlines of News Items etc. */
div.view.descartes-list-view div.views-row a {
    font-weight: 400;
    font-size: 1.05em;
}

/* FORM MODAL */
.ui-dialog.modal {
    border-radius: 5px;
    border-left: 10px solid #eaeaea;
    border-top: 10px solid #eaeaea;
    border-bottom: 10px solid #eaeaea;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.2);
}
.ui-widget-overlay {
    background-color: #1e4b6d;
    opacity: .8;
}

/* BLOCKQUOTE */
blockquote:not(.wp-block-quote) {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
}


/* Add Icon to show a link is external in a card*/
.card div.card-link a[href^="http"]:not([href*="descartes.com"]):after,
.card div.card-link a[href^="https"]:not([href*="descartes.com"]):after {
    display: inline-block;
    padding-left: .5em;
    content: "\f35d";
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    font-size: .7em;
    line-height: 1.5em;
    vertical-align: top;
    transition: transform .25s ease-out;
}
/* Add Icon to show a link is external in text*/
.cols-wrapper p a[href^="http"]:not([href*="descartes.com"]):after,
.cols-wrapper p a[href^="https"]:not([href*="descartes.com"]):after {
    display: inline-block;
    padding-left: .5em;
    content: "\f35d";
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    font-size: .6em;
    line-height: 1.5em;
    vertical-align: top;
    transition: transform .25s ease-out;
}
/* Add Icon to show a link is external in a hover card*/
div.wp-block-descartes-hover-card div.hover-card-back a[href^="http"]:not([href*="descartes.com"]):after,
div.wp-block-descartes-hover-card div.hover-card-back a[href^="https"]:not([href*="descartes.com"]):after {
    display: inline-block;
    padding-left: .5em;
    content: "\f35d";
    /*font-family: "Font Awesome 6 Free";*/
    font-weight: 600;
    font-size: .7em;
    line-height: 1.5em;
    vertical-align: top;
    transition: transform .25s ease-out;
}

/* Add Icon to show a link is a pdf*/
a[href$=".pdf"]:after {
    display: inline-block;
    padding-left: .5em;
    content: "\f1c1";
    font-family: "Font Awesome 6 Free";
    font-weight: 500;
    font-size: .9em;
    line-height: 1.2em;
    vertical-align: top;
    transition: transform .25s ease-out;
}

/* Add Icon to show a link is a pdf in a card*/
.card div.card-link a[href$=".pdf"]:after {
    display: inline-block;
    padding-left: .5em;
    content: "\f1c1";
    font-family: "Font Awesome 6 Free";
    font-weight: 500;
    font-size: .9em;
    line-height: 1.2em;
    vertical-align: top;
    transition: transform .25s ease-out;
}

/* Round the corners of a light grey box and add a drop shadow */
div.cols-item-wrapper.is-style-sidebar .has-light-grey-background-color {
        border-radius: 5px;
        /*box-shadow: 1px 3px 12px rgba(0,0,0,0.2);*/
}
/* Round the corners of a soft video card in the sidebar */
div.cols-item-wrapper.is-style-sidebar .card, .is-style-card, .is-style-card-soft {
        border-radius: 5px;
        overflow: hidden;
}


/* LIST FORMATTING */
div.cols-item-wrapper:not(.is-style-sidebar) ul li {
    font-size: 22px;
    line-height: 1.4;
}
div.cols-item-wrapper:not(.is-style-sidebar) ul.is-size-medium li {
    font-size: 20px;
    line-height: 1.4;
}
div.cols-item-wrapper:not(.is-style-sidebar) ul.is-size-small li {
    font-size: 18px;
    line-height: 1.4;
}

/*Fix text not line-breaking in German button */
body.lang-de #sliding-popup.sliding-popup-top div.eu-cookie-compliance-buttons button.small {
    word-wrap: break-word;
    white-space: normal;
} 


/* Fix size of text for cookie options checkbox labels in Swedish */
body.lang-sv #sliding-popup.sliding-popup-top div.eu-cookie-compliance-categories div.eu-cookie-compliance-category {
    font-size: 15px;
}

.dk-blue {
   color: #1e4b6d;
}

.white {
   color: #ffffff;
}

/* Modal button fix */

div.modal-content .wp-block-button__link {
    display: inline-block;
    box-sizing: border-box;
    padding: 18px 39px;
    margin: 0;
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1em;
    white-space: nowrap;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    letter-spacing: 1px;
    color: #fff;
    border: 1px solid #1e4b6d;
    border-radius: 56px;
    background-color: #1e4b6d;
    background-image: none;
    text-shadow: none;
    overflow-wrap: break-word;
    transition: background-color .25s;
}

div.modal-content .wp-block-button__link:hover {
    color: #fff;
    border-color: #0af;
    background-color: #0af;
}

p.indent-left-50 {
     padding-left: 50px;
}
p.indent-left-100 {
     padding-left: 100px;
}
/*NEWSWIRE SIDEBAR STYLES */
.newswire-sidebar {
    background-color: #f7f7f7;
    padding-right: 20px !important;
    border-radius: 5px;
}
.gnw_title {
    font-size: 32px;
}
.gnw_headline {
    margin-top: 40px;
}
p.gnw_headline.gnw_bold a {
    font-weight: 800;
    text-decoration: none;
}
.gnw_company_name {
    display: none;
}
.gnw_logo_image_center {
    display: none;
}
.gnw_pubdate {
    font-size: .7em;
}

/* Contact us block */

.wp-block-descartes-container.has-light-grey-background-color.is-style-card-soft.p30.contact-content {
   min-height: 300px;
}

/* Blockquotes on dk blue */
blockquote.wp-block-quote.has-text-align-center.is-style-large p {
    font-weight: 300;
    font-style: normal;
    line-height: 1.4;
}
@media ( max-width: 500px) {
    blockquote.wp-block-quote.has-text-align-center.is-style-large p {
    font-weight: 300;
    font-style: normal;
    font-size: 24px;
}
}

/* BREADCRUMB DISPLAY ON MOBILE*/
@media ( max-width: 500px) {
nav.breadcrumb a {
    display: inline;
}
}

/* Fix News Dropdown years from being hidden */
section.is-style-light-page-top>div.section-content>div.is-style-card, section.is-style-light-page-top>div.section-content>div.is-style-card-soft, section.is-style-page-top>div.section-content>div.is-style-card, section.is-style-page-top>div.section-content>div.is-style-card-soft {
        overflow: visible;
}

ol.toc {
        font-weight: 500;
}
ol.toc li {
        margin: 15px 0;
}
ol.toc a {
        text-decoration: none;
}
ol.toc a:hover {
        text-decoration: underline;
}
/* Allow nav breadcrumbs to break (originally 'nowrap')*/
nav.breadcrumb ol {
        white-space: normal !important;
}
/* Adds space below bottom page link (added via 'More Settings' link not thru Gutenberg builder) */
main.has-gutenberg article>div.field:not(.format-gutenberg) {
        margin-bottom: 50px;
}

/* Bulk Edit */
.view-bulk-updates .bef-exposed-form .form--inline > .form-item {
 display: block;
 float: none;
}
b, strong {
    font-weight: 600 !important;
}
/* added 020623 to increase the space below a page link at bottom of page
main.has-gutenberg article>div.field:not(.format-gutenberg) {
    padding-bottom: 30px;
}*/
/* Gives the Reusable blocks a dashed yeloworange border */
.block-library-block__reusable-block-container {
    border: 3px dashed #f59e0b;
}
.file.file--mime-application-pdf.file--application-pdf.wp-block-button {
    padding-bottom: 50px;
}
.edit-post-layout {
    margin-top: 80px;
}
/* Add blue checkmark to lists */
ul.checkmark-med-blue  li {
  padding-right: 6px;
  padding-left: 6px;
  position: relative;
}
ul.checkmark-med-blue li::before {
    content: "";
    height: 25px;
    width: 25px;
    left: -30px;
    top: 3px;
    position: absolute;
    background: url(/sites/default/files/media/images/2023-08/check-mark-50.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.node--type-acquisition.node--view-mode-full {
    padding: 50px;
}

.node--type-event {
    margin: auto 40px !important;
}

.node--type-event .col-sidebar {
    display: none;
}
/* Smaller button text on mobile*/
@media ( max-width: 500px) {
div.region-content .wp-block-button__link {
    font-size: 1rem !important;
}
}