html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

button,
input {
  /* 1 */
  overflow: visible;
}

button,
select {
  /* 1 */
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

html {
  font-size: 62.5%;
  font-family: "Montserrat";
}

body {
   font-size: 1.15rem;
}

.primary-button {
  font-size: 1.2rem;
  border: none;
  color: #fff;
  padding: 7.5px 1.5rem;
  cursor: pointer;
  box-shadow: var(--box-shadow);
}

.primary-button__orange {
  background-color: var(--color-orange);
}

.primary-button__blue {
  background-color: var(--color-blue);
}

.primary-button__outline {
  background-color: transparent;
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
}

.secondary-button {
  width: 50%;
  background-color: var(--color-button);
  color: var(--color-white);
  border: none;
  padding: 7.5px 1rem;
  border-radius: 50px;
  cursor: pointer;
}

.navigation {
  padding: 2.5rem 0;
  margin-bottom: 10rem;
  box-shadow: var(--box-shadow);
}

.navigation__container {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.navigation__left,
.navigation__right {
  width: calc(50% - 19rem);
  display: flex;
  align-items: center;
}

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

.navigation__logo-container {
  position: relative;
  width: 19rem;
  margin: 0 2rem;
}

.navigation__logo {
  position: absolute;
  left: 0;
  top: -1rem;
  width: 100%;
}

.navigation ul {
  padding: 0;
  margin: 0;
}

.navigation a {
  font-size: 1.1rem;
  font-weight: 500;
  padding-bottom: 3px;
  color: black;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.navigation a:not(:last-child) {
  margin-right: 2.5rem;
}

.navigation a:hover {
  color: var(--color-orange);
}

main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  width: 90rem;
  margin: 0 auto;
}

main.mono {
  grid-template-columns: repeat(1, 1fr);
  align-items: center;
}

main.tripel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 3rem;
  width: 90rem;
  margin: 0 auto;
}

.quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 3rem;
  width: 90rem;
  margin: 0 auto;
}

.main__box--left,
.main__box--right {
  box-shadow: var(--box-shadow);
}

.main__box--left {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(auto-fill, 1fr);
  grid-template-areas: "person person" "message message" "mail company" "mobile phone-company" "mobile phone-company" "cta cta";
}

.main__box--left.contract {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(8, 1fr);
  grid-template-areas: "person person" "person person" "person person" "mail company" "mobile phone-company" "mobile phone-company" "mobile phone-company" "cta cta";
  max-height: 50rem;
}

.main__box--left.property-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(auto-fill, 1fr);
  grid-template-areas: "person person" "person person" "person person" "mail company" "mobile phone-company" "mobile phone-company" "mobile phone-company" "mobile phone-company" "mobile phone-company" "mobile phone-company" "mobile phone-company" "mobile phone-company" "mobile phone-company" "cta cta";
}

.main__box--left h3 {
  margin-top: 0;
  margin-bottom: 5px;
  width:auto;
}

.main__box--left p {
  font-size: 1.1rem;
  margin: 0;
}

.main__box--left .main__user {
  grid-area: person;
  border-bottom: 1px solid var(--color-grey);
}

.main__user {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.main__user img {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
  border-radius: 50%;
}

.main__box--left .main__message {
  grid-area: message;
  border-bottom: 1px solid var(--color-grey);
}

.main__message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}


.main__phone,
.main__company,
.main__mobile,
.main__company-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.main__phone,
.main__company {
  border-bottom: 1px solid var(--color-grey);
}

.main__phone,
.main__mobile {
  border-right: 1px solid var(--color-grey);
}

.main__mobile,
.main__company-phone {
  border-bottom: 1px solid var(--color-grey);
}

.main__button {
  grid-area: cta;
  padding: 10px;
  justify-self: center;
  align-self: center;
}

.main__box--right {
  padding: 1.5rem;
}

.main__navigation {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 1.5rem 0 3rem 0;
}

.main__link {
  font-size: 1.3rem;
  color: #000;
  padding-bottom: 5px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.main__link:hover,
.main__link--active {
  font-weight: 500;
  border-bottom: 2px solid var(--color-orange);
}

.main__navigation-button {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}


.buildings__list {
  padding: 0;
}

.buildings__item {
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-grey);
}

.buildings__item img {
  width: 50%;
  margin-right: 2rem;
}

.buildings__building {
  display: flex;
  margin-bottom: 1rem;
}

.buildings__info {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.buildings__line {
  display: flex;
  align-items: center;
  width: 100%;
}

.buildings__line h3 {
  width: 30%;
  margin-right: 10px;
  text-align: end;
}

.buildings__line p {
  width: 70%;
  font-size: 1.1rem;
}

.buildings__buttons {
  width: 100%;
  display: flex;
}

.buildings__buttons button {
  width: 50%;
}

.buildings__buttons button:not(:last-child) {
  margin-right: 1rem;
}

.orange {
  color: var(--color-orange);
}

@media screen and (max-width: 400px) {
  .buildings__building {
    flex-direction: column;
  }

  .buildings__building img {
    width: 75%;
    margin: 0 auto;
  }
}
.building-detail h2 {
  font-weight: 400;
  color: var(--color-blue);
  margin-bottom: 2rem;
}

.building-detail h2 span {
  color: var(--color-orange);
}

.building-detail__buttons {
  display: flex;
  margin-bottom: 3rem;
}

.building-detail__buttons button:first-child {
  margin-right: 1rem;
}

.building-detail__info h2 {
  margin-bottom: 0;
  color: var(--color-orange);
  font-weight: 500;
}

.building-detail__line {
  display: flex;
  align-items: center;
}

.building-detail__line h3,
.building-detail__line p {
  width: 50%;
}

.building-detail__line h3 {
  margin-right: 1.5rem;
  text-align: end;
}

.building-detail__divider {
  height: 1px;
  border-top: 1px solid var(--color-grey);
  width: 50%;
  margin: 2rem auto;
}

.add-building h2 {
  font-weight: 400;
  color: var(--color-blue);
  margin-bottom: 2.5rem;
}

.add-building h2 span {
  color: var(--color-orange);
}

.add-building form {
  display: flex;
  flex-direction: column;
}

.add-building input,
.add-building select {
  font-size: 1.2rem;
  padding: 1rem 1.25rem;
  border-radius: 0;
  border: none;
  box-shadow: var(--box-shadow-inset);
}

.add-building input {
  margin-bottom: 2rem;
}

.cases__buttons {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2.5rem;
}

.cases__buttons button:first-child {
  margin-right: 1rem;
}

.cases__form {
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.cases__form-header {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2rem;
}

.cases__form-header h3,
.cases__form-header p {
  margin: 0;
  margin-bottom: 1rem;
}

.cases__form-header h3 {
  font-size: 1.2rem;
}

.cases__form-header h3 span {
  font-weight: 400;
  color: var(--color-blue);
  margin-left: 7.5px;
}

.cases__form-header p {
  font-weight: 500;
}

.cases__form-header p span {
  font-weight: 400;
  margin-left: 7.5px;
}

.cases__align-end {
  text-align: end;
}

.cases__input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.cases__input-group label {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.cases__input-group input,
.cases__input-group textarea {
  font-size: 1.2rem;
  line-height: 1.2rem;
  padding: 1rem 1.25rem;
  border-radius: 0;
  border: none;
  box-shadow: var(--box-shadow-inset);
}

.cases__input-group textarea {
  resize: none;
}

.add-case h2 {
  color: var(--color-blue);
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.add-case span {
  color: var(--color-orange);
}

.add-case form {
  display: flex;
  flex-direction: column;
}

.add-case select,
.add-case textarea {
  font-size: 1.2rem;
  padding: 1rem 1.25rem;
  border-radius: 0;
  border: none;
  box-shadow: var(--box-shadow-inset);
  margin-bottom: 2rem;
}

.add-case textarea {
  resize: none;
}

.add-case select {
  background-position: right;
}

.add-case__button {
  display: flex;
  justify-content: flex-end;
}

.appointments__button {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.appointments ul {
  padding: 0;
  box-shadow: var(--box-shadow);
  list-style: none;
}

.appointments li {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.appointments li:not(:last-child) {
  margin-bottom: 2.5rem;
}

.appointments__item {
  padding: 1.5rem;
}

.appointments__item h3 {
  margin: 0;
}

.appointments__item p {
  margin: 0;
}

.appointments__item-date p:first-child {
  margin-bottom: 5px;
  font-weight: 500;
}

.appointments li a {
  justify-self: end;
  align-self: end;
  color: var(--color-orange);
  font-size: 1.2rem;
}

.make-appointment h2 {
  color: var(--color-blue);
  font-weight: 400;
}

.make-appointment h2 span {
  color: var(--color-orange);
}

.files__button {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2.5rem;
}

.files__radio {
  display: flex;
  margin-bottom: 2.5rem;
}

.files__input-group {
  display: flex;
  align-items: center;
}

.files__input-group:first-child {
  margin-right: 1.75rem;
}

.files__input-group label {
  font-size: 1.2rem;
  margin-right: 5px;
}

.files__input-group input[type=radio]:after {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top: -2px;
  left: -1px;
  position: relative;
  background-color: var(--color-white);
  content: "";
  display: inline-block;
  visibility: visible;
  border: 1px solid var(--color-black);
}

.files__input-group input[type=radio]:checked:after {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top: -2px;
  left: -1px;
  position: relative;
  background-color: var(--color-orange);
  content: "";
  display: inline-block;
  visibility: visible;
  border: 1px solid var(--color-black);
  box-shadow: inset 0 0 0 2px var(--color-white);
}

.files__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  padding: 0;
  list-style: none;
}

.files__item-preview {
  height: 15rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.files__item-preview span {
  font-size: 3rem;
}

.files__item-info h3 {
  margin-bottom: 5px;
}

.files__item-info p {
  margin: 0;
}

footer {
  margin-top: 8rem;
  padding: 7.5rem 0 2.5rem 0;
  background-color: var(--footer-bg);
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4.5rem;
  max-width: 114rem;
  margin: 0 auto;
}

footer h4 {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--footer-title);
}

footer p {
  font-size: 1.4rem;
  color: var(--footer-text);
  padding: 1rem 0;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 2.5rem;
}

footer li {
  padding: 5px 0;
}

footer a {
  color: var(--footer-link);
  font-size: 1.4rem;
  text-decoration: none;
}

:root {
  --color-orange: #f48120;
  --color-orange-dark: #cc5c01;
  --color-grey: #d8d8d8;
  --color-black: #000;
  --color-white: #fff;
  --color-blue: #1d1f4f;
  --color-button: #1d1f4f;
  --footer-bg: #323338;
  --footer-title: #f07c0b;
  --footer-text: #a1aeb9;
  --footer-link: #f2f0f0;
  --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  --box-shadow-inset: inset -1px 1px 2px 2px var(--color-grey);
}


/* ellende van Lex toegevoegd */
.dataTable td {
	padding-right: 5px;
	padding-top: 8px;
}

.flex-row {
	display: flex;
	flex-direction: row;
}
.flex-row > div {
	flex-grow: 1;
	padding-right: 10px;
}
.flex-row :last-child {
	padding-right: 0px;
}

.unit-item {
	box-shadow: var(--box-shadow);
}

#hamnav label, .hamlogo, #hamburger, #hamitems { display: none; }

@media screen and (max-width: 940px) {

	main.mono {
		width: 100%;
	}

	.flex-row {
		flex-direction: column;
	}
	.flex-row :last-child {
		padding-right: 10px;
	}

  input, select, textarea {
    background:#efefef;
    font-size: 16px;
  }

  main {
    grid-template-columns: 1fr;
    /*padding: 2.5rem;*/
    max-width: 100%;
  }
  .navigation {
    margin-bottom:2rem;
  }
  .navigation__container {
    width:90%;
    justify-content:left;
  }
  .navigation__left, .navigation__logo-container, .navigation__right {
    display:none;
  }

  .footer__container {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer__container div {
    padding:10px;
  }
  .hamburgericon {
    float: right;
    display: block;
    margin: 0;
    position: absolute;
    right: 29px;
    top: 35px;
  }
  #hamnav {
    display:block;
    text-align: right;
    width:100%;
  }
  #hamnav label {
    display: inline-block;
    color: white;
    background:var(--color-orange);
    font-style: normal;
    font-size: 1.2em;
    padding: 10px;
    height:15px;
    cursor: pointer;
  }

  /* Break down menu items into vertical */
  #hamitems a {
    box-sizing: border-box;
    display: block;
    margin-right: 50px;
    font-size:12px;
    padding-left:10px;
    text-align: right;
    overflow-wrap: anywhere;
    color: #54626C;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    line-height:22px;
  }

  .hamlogo {
    display: block;
    width: 110px;
    height:84px;
  }

  /* Toggle Show/Hide Menu */
  #hamitems { display: none; width:100%; }
  #hamnav input:checked ~ #hamitems { display: block; }
  .main__box--left .main__user {
    text-align: center;
  }
  .main__link {
    /*width: 120px;*/
    text-align: center;
  }

  .add-case {
    display:flex;
    flex-direction: column;
  }
}

.units-grid {
	display: grid;
	row-gap: 10px;
	column-gap: 24px;
	/* grid-template-columns: repeat(3, 1fr); */
  grid-template-columns: repeat(auto-fit, minmax(182px, 1fr));
  justify-content: center;
}

@media only screen and (max-width: 900px) {
  .units-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .unit-block {
    max-width: 450px;
  }
}

.unit-block {
	grid-row: auto;
	grid-column: auto;
  background-color: #1D2D4F;
  display: block;
  max-width: 300px;
  overflow: hidden;
  text-decoration: none;
  width: 100%;
  color: white;
  margin-left: auto;
  margin-right: auto;
  margin-top: 12px;
  margin-bottom: 12px;
}

/* .unit-block:hover{
  background-color: white;
  color: #1D2D4F !important;
} */

.property-image {
  min-height: 276px;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
}

#parent:hover .parent-highlight {
  background-color: white;
  color: #1D2D4F;
}
#parent:hover .property-content:before {
  border-left: 430px solid white;
}
#parent:hover {
  background-color: white;
}

.property-content {
    -webkit-text-size-adjust: 100%;
    line-height: 24px;
    color: #F07C0B;
    display: block;
    padding: 0 18px 20px 18px;
    position: relative;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: bold;
}

.property-content:before {
  border-left: 430px solid #1D2D4F;
  border-top: 24px solid transparent;
  content: '';
  left: 0;
  position: absolute;
  top: -24px;
}

.property-title {
  font-size: 14px;
  font-weight: normal;
}



.property-item {
  color: white;
  text-decoration: none;
}

.property-location {
  color: #F07C0B;
  margin-bottom: 0;
  margin-top: 5px;
}

/* Make the images invisible by default */
.Containers {
  width: 100%;
  display: none;
}

/* forward & Back buttons */
.Back, .forward {
  cursor: pointer;
  position: absolute;
  top: 48%;
  width: auto;
  margin-top: -23px;
  padding: 17px;
  color: grey;
  font-weight: bold;
  font-size: 19px;
  transition: 0.4s ease;
  border-radius: 0 5px 5px 0;
  user-select: none;
}

/* Place the "forward button" to the right */
.forward {
  right: 0;
  border-radius: 4px 0 0 4px;
}

/*when the user hovers,add a black background with some little opacity */
.Back:hover, .forward:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption Info */
.Info {
  color: #e3e3e3;
  font-size: 16px;
  padding: 10px 14px;
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

/* Worknumbering (1/3 etc) */
.MessageInfo {
  color: #f2f2f3;
  font-size: 14px;
  padding: 10px 14px;
  position: absolute;
  top: 0;
}

/* The circles or bullets and indicators */
.dots {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 3px;
  background-color: white;
  border-radius: 50%;
  border: 2px solid #F07C0B;
  display: inline-block;
  transition: background-color 0.5s ease;
}

.enable, .dots:hover {
  background-color: #F07C0B;
}

.grid-container{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.slideshow-grid {
  padding: 20px;
  grid-row: 1;
  grid-column: 2;
}

.section-grid {
  padding: 20px;
  grid-row: 1;
  grid-column: 1;
}

@media only screen and (max-width: 900px) {
  .grid-container {
    display: grid;
    grid-template-columns: 1fr;
  }

  .slideshow-grid {
    grid-row: 1;
    grid-column: 1;
  }

  .section-grid {
    grid-row: 2;
    grid-column: 1;
  }
}

.partner-item .partner-content h3 {
  font-size: 1.17em;
}

.partner-item .partner-description  {
  font-size: 11px;
  font-weight: 400;
  line-height: 24px;
}

.unit-item-image {
  min-height: 24px;
  background-size: cover;
  background-position: center;
}

.main__box--sub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(auto-fill, 1fr);
  grid-template-areas: "person person" "message message" "mail company" "mobile phone-company" "mobile phone-company" "cta cta";

  margin-left: -15px;
  margin-right: -15px;
}
.main__box--sub div.right {
	border-right: 0px;
}
.main__box--left div.right {
	border-right: 0px;
}
.main__box--sub .main__user {
  grid-area: person;
  border-top: 1px solid var(--color-grey);
  border-bottom: 1px solid var(--color-grey);
}
.main__box--sub h3 {
  margin-top: 0;
  margin-bottom: 5px;
  width:auto;
}
.main__box--sub p {
  font-size: 1.1rem;
  margin: 0;
}
.h3-link {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    text-decoration: none;
    color: black;
}

