@import url('https://fonts.googleapis.com/css2?family=Assistant&family=Frank+Ruhl+Libre:wght@400;700&family=Open+Sans&family=Rubik:wght@300;400&display=auto');

*{ font-family: 'Rubik', sans-serif; font-weight: 400; }

h1{ font-family: 'Frank Ruhl Libre', sans-serif !important; font-weight: 700 !important; }
h2{ font-family: 'Frank Ruhl Libre', sans-serif !important; font-weight: 700 !important; }
h4, p{ font-family: 'Rubik', sans-serif !important;         font-weight: 400 !important; }
h5{ font-family: 'Open Sans', sans-serif !important;         font-weight: 400 !important; }



body{ background: #132134; }

/* do flex for main containers so body height pushes footer down */
.dialog-off-canvas-main-canvas{ display: flex; min-height: 100vh; flex-direction: column; }
.main-container{ flex: 1; flex-grow: 1;  }
    
/* fix issue where the large ipad image on front page enables horizontal scroll (also some other element gives about 15px scroll) */
.dialog-off-canvas-main-canvas{ overflow-x: hidden; }









/* HEADER / NAVBAR / NAVIGATION / MENU */

header{ background: none !important; border: unset !important; border-radius: 0 !important; margin-bottom: -1px !important; }
header .inner.container{ padding: 30px 0px; }
header .inner .margin-wrapper{ margin: 0px 0px; }
header .region-navigation{ float: left; } /* this contains the site logo... nice naming */
header .margin-wrapper .bit-spacer{ width: 5px; height: 34px; }

/* general look of menu items */
header ul li{ width: unset !important; /* remove 1% value */ font-family: 'Assistant', sans-serif;  }
header ul li a{ padding: 9px !important; font-size: 14px; color: white; text-transform: uppercase !important; font-weight: 400; letter-spacing: 0.96px; }

/* last 2 menu links use absolute to flow to the top - we set relative here so it'll align properly */
header #block-decisionized{ float: right; margin-top: 5px; position: relative; }

/* menu item hover and focus effects including blue filled outline for last link in menu (login) */
#navbar #block-decisionized .menu .highlighted a{ background: #007CA3; border-radius: 60px; margin-left: 10px;  padding-left: 42px !important; padding-right: 42px !important; border: none; }
#navbar #block-decisionized .menu .highlighted a:hover{ background: #007CA3; color: white; }

#navbar #block-decisionized .menu .last a.is-active{ color: white; }
#navbar #block-decisionized .menu a:hover,
#navbar #block-decisionized .menu a:focus{ background: none; color: #54C05B; }
#navbar #block-decisionized .menu a.is-active{ color: #007CA3; }


/* remove annoying white line at top of dropdown */
header .navbar-collapse{ border: none !important; }

/* burger button */
.navbar-toggle{ position: absolute; right: 0px; top: 41px; float: unset; }

/* "Support" and "Contact us" must be shown at top of page to the right for some reason */
.menu-support, .menu-contact, .menu-kontakt{ position: absolute !important; right: 0; margin-top: -50px; }
.menu-support a, .menu-contact a, .menu-kontakt a{ font-size: 12px; letter-spacing: 0.84px; color: #F9FAFB; }
.menu-support{ right: 70px; }


/* when burger icon and burger menu is shown */
@media (max-width: 767px) {  
    header #block-decisionized{ float: unset; padding-top: 30px; } /* clear float right and add padding to the drop down */
    header .region-navigation{ margin-right: 70px; } /*adjust the logo a bit so it doesn't squish burger button */
    header #navbar-collapse{ width: 100%; }    /* because we have absoluted the burger button, this must be fixed */
    header .inner .margin-wrapper{ margin: unset; } /* back to normal margins so stuff doesn't go over the edges (logo, menu) */
    .menu-support, .menu-contact, .menu-kontakt{ position: unset !important; margin-top: unset; }
}  



/* drupal admin tabs menu */ 
.header{ background: #132134; }
nav.tabs{ font-size: 14px; color: white !important; text-transform: uppercase !important; font-weight: bolder; }
nav.tabs ul{ border: none; }


/* drupal messages such as errors or green messages */
.messages__wrapper .alert{ border-radius: 0; margin-bottom: 0; }

/* chrome fixes */
/* Chrome version 29 and above */
/* @media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
    header ul li a{ padding-bottom: 5px !important;  }
} */

.main-container{ background: white;}
.main-container .row{ margin-top: -1px; } /* fix odd 1 pixel row that kind of looks like a border in firefox */


/* HERO */
#hero{ background: url("/themes/decisionized/images/hero_background.svg"); background-size: cover; color: #fff; display: flex; padding-top: 30px; }
#hero .container{ padding: 0; }
.hero-wrap{ display: flex; align-items: flex-start; }
.hero-left{ padding: 20px; padding-left: 0; padding-bottom: 50px; }

/* hero items like texts and buttons */
#hero .block-field-blockblock-contentherofield-hero-subtitle{ color: #F4B63C; text-transform: uppercase; font-size: 15px; font-weight: 300; line-height: 26px; font-family: 'Rubik', sans-serif; font-weight: 300; }
#hero .block-field-blockblock-contentherofield-hero-title{ font-size: 47px; font-weight: 400; line-height: 53px; letter-spacing: 0em; margin-bottom: 20px; font-family: 'Frank Ruhl Libre', serif; font-weight: 400; }
#hero .block-field-blockblock-contentherofield-hero-text{ font-size: 18px; font-weight: 400; line-height: 26px;letter-spacing: 0em; margin-bottom: 20px; font-family: 'Rubik', sans-serif; font-weight: 400; }
#hero .field--name-field-hero-links .field--item a{ color: #fff; font-family: 'Open Sans', sans-serif; font-weight: 400; }
#hero .field--name-field-hero-links .field--item{ float: left; margin-right: 20px; border-radius: 8px; padding: 8px 16px ; background: #007CA3;
                                                  color: #fff; font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: 0em; }
#hero .field--name-field-hero-links .field--item:last-child a{ color: black; }
#hero .field--name-field-hero-links .field--item:last-child{ background: white; }
#hero .field--name-field-hero-image img{ display: block; max-width: unset; height: unset; } /* override responsive image nonsense */
        

/* WALL OF FAME (horizontal logos) */
#wall-of-fame{ background: #F9FAFB;  }
#wall-of-fame section{   margin: 30px 0px; }
#wall-of-fame .field--items{ display: flex; flex-direction: row; align-items: center; justify-content: space-evenly; flex-wrap: wrap; gap: 20px; }


/* SOLUTION HIGHLIGHTS */
#solution-highlights{ background: #fff; padding: 50px 0 50px 0; color: #222B34; }
#solution-highlights .top section{ max-width: 600px; margin: auto; margin-bottom: 20px; text-align: center; }
#solution-highlights h2{ font-size: 48px; margin-bottom: 20px; }
#solution-highlights h4{ font-size: 20px; line-height: 26px; }
.block-type_highlight{ display: flex; flex-direction: column; align-items: center; margin-bottom: 50px; }
.field--name-field-highlight-image{ width: 200px; height: 200px; left: 41.5px; /* opacity: 0.1; */ background: #e8eaef; border-radius: 200px; display: flex; justify-content: center; align-items: center; }
.field--name-field-highlight-title{ font-size: 20px; margin-top: 20px; margin-bottom: 20px; font-family: 'Frank Ruhl Libre', sans-serif; font-weight: 700; }
.field--name-field-highlight-text{ font-size: 16px; line-height: 21px; max-width: 250px; letter-spacing: 0em; font-family: 'Rubik', sans-serif; font-weight: 400; }


/* SHOWCASE */
#showcase{ color: white; padding: 50px 0 50px 0; background: #234472; background-image: url("/themes/decisionized/images/showcase_backdrop.svg"); 
           background-repeat: no-repeat; background-position: 100% 100%; }
#showcase h2{ /* font-family: Frank Ruhl Libre; */ font-size: 48px; font-weight: 700; margin: 20px; }
#showcase h4{ /* font-family: Rubik; */ font-size: 20px; font-weight: 400; line-height: 26px; }

/* every 2nd showcase needs to have text and image reversed - image on left, image on right */
.block-type_showcase:nth-child(odd) .bs-region--left{ left: 50%; }
@media (max-width: 991px){ /*hidden-sm and hidden-xs rule*/ .block-type_showcase:nth-child(odd) .bs-region--left{ left: unset; } }
.block-type_showcase:nth-child(odd) .bs-region--right{ right: 50%; }

.block-type_showcase{ /* margin: 50px; */ margin-top: 100px; text-align: left; }
.block-type_showcase .field--name-field-showcase-subtitle{ color: #F4B63C; text-transform: uppercase; font-size: 15px; line-height: 26px; font-family: 'Rubik', sans-serif; font-weight: 300;  }
.block-type_showcase .field--name-field-showcase-title{ font-size: 47px; line-height: 53px; letter-spacing: 0em; margin-bottom: 20px; font-family: 'Frank Ruhl Libre', sans-serif; font-weight: 700; }
.block-type_showcase .field--name-field-showcase-text{ font-size: 18px; line-height: 26px; letter-spacing: 0em; margin-bottom: 20px; font-family: 'Rubik', sans-serif; font-weight: 400; }
.block-type_showcase .field--name-field-showcase-links .field--item a{ color: #fff; font-family: 'Open Sans', sans-serif; font-weight: 400; }
.block-type_showcase .field--name-field-showcase-links .field--item{ float: left; margin-right: 20px; border-radius: 8px; padding: 8px 16px ; background: #007CA3; color: #fff; /* font-family: Open Sans; */ font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: 0em; }





footer{ background: #132134; color: white; }


/* visual fixes for layout builder - it looks like crap when using our own theme */
#layout-builder #hero,
#layout-builder #showcase{ all: unset; }
#layout-builder .hero-wrap{ overflow: hidden; }
#layout-builder-configure-section .button--primary,
#layout-builder-update-block .button--primary{ background: #236aaf; padding: 5px 20px; color: white; }


/* misc helpers */
.no-transition { -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important; }
.vcenter { min-height: 100%; min-height: 100vh; display: flex; align-items: center; }
.uppercase { text-transform: uppercase !important; }
/* .flex-row{ display: flex; flex-direction: row; align-items: center; justify-content: space-between; } */


/* debugging */
.border-red{    outline: 2px red solid; }
.border-blue{   outline: 2px blue solid; }
.border-green{  outline: 2px green solid; }
/* .container{ outline: 2px pink solid; } */
/* nav, .region-navigation{ outline: 2px pink solid; } */