/* Fonts */
@font-face {
    font-family: Frutiger Next;
    src: url(./fonts/frutiger_next.2424d51a.woff2) format("woff2"),url(./fonts/frutiger_next.b6a68fd5.woff) format("woff"),url(./fonts/frutiger_next.00241a59.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Frutiger Next;
    src: url(./fonts/frutiger_next_light.5a667c59.woff2) format("woff2"),url(./fonts/frutiger_next_light.29998adb.woff) format("woff"),url(./fonts/frutiger_next_light.54606c15.ttf) format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Frutiger Next;
    src: url(./fonts/frutiger_next_bold.ac0748cd.woff2) format("woff2"),url(./fonts/frutiger_next_bold.cb5838ae.woff) format("woff"),url(./fonts/frutiger_next_bold.d29e3755.ttf) format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

/* CSS for custom autocomplete fields (university) */
.autocomplete-items {
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

/* Add padding below items in section */
.section-content, .view .view:not(li):not(.answer) {
    padding-bottom: .75rem;
}

/* custom class "hidden" to hide questions */
.hidden {
	display: none !important;
}

/* Override background color for add-remove fields */
.section:not(.add-remove) > fieldset > legend, .page-main__submit-project .section:not(.add-remove) > fieldset > legend {
    background-color: transparent !important;
}

/* Width and height of header logo */
img#logo {
    width: 147px;
    height: 68px;
}

/* Remove blue line above add-remove sections */
.section.add-remove > fieldset > legend {
    background-color: transparent !important;
}

/* Remove padding above question */
.no-padding-above {
    margin-top: -1.5rem;
}

/* Move tooltip closer to question title */
.introduction p {
    margin-top: -1rem;
}

/* Replace "powered by Optimy" with BIF logo */
.page-footer__logo {
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 80px;
    width: 142px;
	/* padding-top has to be >= height */
    padding-top: 80px;
    overflow: hidden;
    background: url(./logo_footer.svg) no-repeat center;
    background-size: 130px;
}

/* Remove added padding for items in section */
.not-indented-section {
	margin-left: -1rem;
    margin-bottom: -2rem;
}

.not-indented-section-nested {
	margin-left: -1rem;
}
/* For sections within sections */
@media (min-width: 768px) {
    .not-indented-section-nested {
		margin-left: -2rem;
		margin-bottom: -1rem;
	}
}


/* Alignment of blue tiles on login page in a grid */
.grid-container {
    display: grid;
    grid-template-columns: 100%;
    grid-auto-rows: auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
	margin-left: -30px;
	margin-right: -30px;
    margin-bottom: 15px;
}
@media (min-width: 768px) {
	.grid-container {
		margin-left: -200px;
		margin-right: -200px;
	}
}
/* Only use grid on wide screens */
@media (min-width: 1200px) {
	.grid-container {
    	grid-template-columns: 64% 36%;
		margin-left: -200px;
		margin-right: -200px;
	}
}



/* Blue tiles on login page */
.tile {
    background-color: #179cd7;
    color: #fff;
    /*padding: 20px 50px;*/
	/* border-bottom: 16px solid #fff; */
    padding: 60px 60px 60px 90px;
}
.tile-tall {
    background-color: #179cd7;
    color: #fff;
    padding: 60px 60px 60px 90px;
	grid-row: 1 / span 2;
}
.tile-headline {
	font-size:40px !important;
	line-height: 1.1em !important;
}
.tile-headline-small {
	font-size:32px !important;
	line-height: 1.1em !important;
}
.tile a {
	color: #fff;
}
.ce_hyperlink a {
    padding: 10px 0;
    display: block;
    font-size: 18px;
    line-height: 1.5;
	position: relative;
    /*font-weight: 700;*/
}
.tile a, a:link, a:visited, a:hover, a:active { 
  text-decoration: none !important; 
}

.ce_hyperlink a:before {
    content: "";
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MW1tIiBoZWlnaHQ9IjUxbW0iIHZpZXdCb3g9IjAgMCA1MSA1MSI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMjQ2KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIj48Y2lyY2xlIGN4PSIyNS41IiBjeT0iMjcxLjUiIHI9IjI0LjQ0MiIgc3Ryb2tlLXdpZHRoPSIyLjExNyIvPjxnIHN0cm9rZS13aWR0aD0iMi4yNjIiPjxwYXRoIGQ9Ik03NS4wOTQgOTYuNDA4SDExNC4zTTEwMi44NyA4OC4zODdsMTEuNDMgOC4wMjEtMTEuNjMxIDguMjg4IiB0cmFuc2Zvcm09Im1hdHJpeCguODc1MjYgMCAwIDEgLTU4LjI0MSAxNzQuOTYpIi8+PC9nPjwvZz48L3N2Zz4=);
	background-position: 50%;
    display: inline-block;
    width: 26px;
    height: 26px;
    background-size: contain;
    float: left;
    margin-right: 15px;
}

.travelgrant-description {
	padding: 60px 60px 60px 90px;
}

/* All sections within the questionaire and the login/register elements are cards */
.card {
    color: #333;
    border-radius: 0;
    background: #eee;
    background-color: #eee;
    box-shadow: 0 0 0 rgb(0 0 0 / 0%);
    /* transition: box-shadow .2s ease; */
    border: none;
    /*border-top: 25px solid #179cd7 !important;*/
}

@media (min-width: 768px) {
    .card {
        border: none !important;
        border-top: 25px solid #179cd7 !important;
    }
}

.card.card-body {
    border: none;
}
.card-header:first-child {
    border-radius: 0;
    background-color: #eee;
    /*border-top: 25px solid #179cd7;*/
    /* margin-bottom: 0; */
}

.card-footer {
	background-color: #eee;
}

.stepper__item--active:before, .stepper__item:hover .stepper__marker, .stepper__item--active .stepper__marker {
    background-color: #179cd7;
}


@media (min-width: 768px) {
	.page-main__submit-project .stepper__body > .section:not(.add-remove) > fieldset > legend {
    	background-color: #eee;
	}
}

/* Buttons */
.btn-outline-primary, .btn-outline-primary:hover, .btn-outline-primary:not(:disabled):not(.disabled):active, .show>.btn-outline-primary.dropdown-toggle {
    border: .125rem solid #3e76e51a;
    background-color: #404953;
    color: #fff;
}


.btn-primary, .btn-primary:focus:not(:focus-visible) {
    box-shadow: none;
}

.btn {
    border-radius: 0 !important;
}

.btn-primary {
    box-shadow: none !important;
    background-color: #404953 !important;
    color: #fff;
    background-image: none !important;
    background-size: 300% 100%;
    background-position: center;
}

/* Language picker (footer) */
.page-footer [data-toggle="dropdown"]:hover, .page-footer__language-menu [data-toggle="dropdown"]:hover {
    background-color: #9d9d9d !important;
}
.btn-dark, .btn-dark:focus, .btn-dark:hover, .btn-dark:not(:disabled):not(.disabled):active, .show>.btn-dark.dropdown-toggle {
    border-color: #9d9d9d;
    background-color: #9d9d9d;
}
.page-header__language-alert .btn:not(.btn-dark) {
    color: #fff !important;
    background-image: none !important;
}

/* Color of footer */
.bg-dark {
    background-color: #9d9d9d !important;
}

/* Headlines */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: #404953;
    line-height: 1.55;
}

body, h1, h2, h3, h4, h5, h6 {
    font-family: Frutiger Next,Tahoma,Verdana,sans-serif;
}

.stepper__item--active .stepper__marker {
    background-color: #179cd7;
}
