* {
  box-sizing: border-box;
  /*   border: 1px solid black; */
}
html, body {margin: 0; height: 100%; overflow: hidden}

@font-face {
  font-family: 'Cirka';
  src:  url('../assets/Cyrka/Cirka-Regular.woff2') format('woff2'),
  url('../assets/Cyrka/Cirka-Regular.woff') format('woff'),
  url('../assets/Cyrka/Cirka-Regular.otf') format('truetype');
}
body {
  font-family: 'Roboto', serif;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  padding-bottom: 30px;
}

.grid-container {
  display: grid;
  grid-template-columns:16.6% 16.6%;
  background-color: white;
  padding: 10px;
}

.grid-container > div {
  background-color: white;
  padding: 0 30px;
  font-size: calc(10px + 1vw);
  font-weight: 400
}

.grid-container2 {
  display: grid;
  grid-template-columns: 16.6% 16.6%;
  background-color: black;
  padding: 10px;
  color : white;
}

.grid-container2 > div {
  background-color: black;
  font-size: calc(10px + 1vw);
  font-weight: 400
}

.grid-container3 {
  text-align: center;
  display: grid;
  background-color: #000000;
  padding: 10px;
  color: white;
}

.grid-container3 > div  {
  background-color: #000000;
  font-size: 2em;
  font-weight: 400;
}
h1 {
  font-family: Cirka;
  font-weight: 400;
}
h2{
  font-family: Cirka;
  font-weight: 400;

}
h3{
  font-family: Cirka;
  font-weight: 400;
}
h4{
  font-family: Cirka;
  font-weight: 100;
  color: lightgray;
  font-size: 1em;
}

/* Display no ecra grande */
disp{
  display: contents;
}

dispsmall{
  display: none;
  }

ul {
  display: flex;
  min-height: 93%;
  max-height: 93%;
  margin: 0;
  padding: 0px 30px 30px 30px;
  overflow: hidden;
  list-style-type: none;
}

minf{
  display: none;
}
.borderblack{
  border-left:solid black 2px;
}

li {
  flex: 1;
  display: flex;
  align-items: stretch;
  border-right:solid black 2px;
  background: #ffffff;
  cursor: pointer;

  transition: all 1s ease;
}
li:hover {
  background: black;
}

li:hover h2 {

  color: white;
}
@media only screen and (min-width: 950px) {
  li.active {
    flex: 1;
    background: #fff;
    cursor: default;
    min-width: 30%;
    overflow: auto;

  }

  li.active h2 {

    color: #000000;

  }

  li.active .section-content {
    flex: 5;
    opacity: 1;
    transform: scaleX(1);
    color: black;
    display: block !important;
    font-family: 'Roboto';
    padding: 1em;
  }

  li.active .section-title{
  display: none;
  }
}

li .section-title {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;

  color: black;
  font-weight: 400;
  text-align: center;

}
li .section-title h2 {
  margin: 0;
 font-family: Cirka , serif;
  align-content: center;
  white-space: nowrap;
  font-weight: 400;
  text-align: center;
}

li .section-content {
	width: 0;
  flex: 1;
  flex-direction: column;
  display: flex;
  margin: 0;
  padding: 0;
  font-family: 'Roboto';
  font-size: 1em ;
  opacity: 0;
  transition: all .25s .1s cubic-bezier(.645,.045,.355,1);
}
li .section-content h2 {
  font-weight: 400;
}

li .section-content h3 {
  font-weight: 400;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: gray;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: gray;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}
/* Mobile Version */
@media only screen and (max-width: 950px) {
  .grid-container {
  display: grid;
  grid-template-columns:7rem 25%;
  background-color: white;
  padding: 0rem;
}

.grid-container > div {
  background-color: white;
  padding: 0px;
  font-size: calc(10px + 1vw);
  font-weight: 400
}

.grid-container2 {
  display: grid;
  grid-template-columns: auto auto;
  background-color: black;
  padding: 0px;
  color : white;
}

.grid-container2 > div {
  background-color: black;
  font-size: calc(10px + 1vw);
  font-weight: 400
}

.grid-container3 {
  text-align: center;
  display: grid;
  background-color: #000000;
  padding: 0px;
  color: white;
}

.grid-container3 > div  {
  background-color: #000000;
  font-size: 2em;
  font-weight: 400;
}

/*
  .grid-container {
  display: block;
  }

  .grid-container > div {
  display: block;
  }

  .grid-container2 {
  display: block;
  }

  .grid-container2 > div {
  display: block;
  }

  .grid-container3 {
  display: block;
  }

  .grid-container3 > div  {
  display: block;
  }
*/
  .borderblack{
  border-left-width: 0px;
  }

  .bottombordergray{
  border-bottom:solid lightgrey 2px;
  padding-bottom: 0.5rem;
  }

  /* Dosnt display */
  disp{
    display: none;
  }

  dispsmall{
  display: contents;
  }
  dispsmall.bottombordergray{
  border-bottom:solid lightgrey 2px;
  padding-bottom: 0.5rem;
  }

  ul {
  display: list-item;
  overflow: auto; /* Allows page to scroll */
  margin: 0;
  padding: 0px 0px 0px 0px !important;
  list-style-type: none;
}

  minf{
    flex: 1;
    display: flex;
    border-bottom:solid lightgrey 2px;
    font-size: 1em;
    padding: 2% 0% 6% 0%;
    margin-top: 5%;
  
  }

  li {
    flex: 1;
    display: flex;
    align-items: center !important;
    border-right: none;
    border-left: none;
    border-bottom:solid lightgrey 2px;
    background: #ffffff;
    cursor: pointer;
    overflow: auto;
    transition: all 1s ease;
    padding: 2rem 0rem 2rem 0%;
  }

  li.caret {
  cursor: pointer;
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
  }

  li.caret::after {
  content: "\25B6";
  color: lightgray;
  margin-left: 0px;
  -ms-transform: rotate(180deg); /* IE 9 */
  -webkit-transform: rotate(180deg); /* Safari */'
  transform: rotate(180deg);
}

  li.caret-down::after {
  -ms-transform: rotate(90deg); /* IE 9 */
  -webkit-transform: rotate(90deg); /* Safari */'
  transform: rotate(90deg);
  margin-bottom: auto;
}

  li:hover {
    background: #ffffff;
  }

  li:hover h2 {
    color: black;
  }

  li.activesmall {
    flex: 1;
    background: #fff;
    cursor: pointer;
    min-width: 30%;
    overflow: hidden;
  }

  li.activesmall h2 {

    color: #000000;

  }
  li.activesmall .section-content {
    flex: 5;
    opacity: 1;
    transform: scaleX(1);
    color: black;
      display: block !important;
    font-family: 'Roboto';
      padding: 0em;
  }
  li .section-title {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: left;
    width: 0;
    margin: 0;
    padding: 0;
    color: black;
    font-weight: 400;
    text-align: left;
  }

  li .section-title h2 {
    margin: 0;
   font-family: Cirka , serif;
    align-content: center;
    white-space: nowrap;
    font-weight: 400;
    text-align: left;
  }

  li.activesmall .section-title{
    display: none;
  }
  li .section-content {
    /*
    width: 0;
    flex: 1;
    flex-direction: column;
    display: flex;
    margin: 0;
    padding: 0;
    font-family: 'Roboto';
    font-size: 1em ;
    opacity: 0;
    transition: all .25s .1s cubic-bezier(.645,.045,.355,1);
    */
    display: none;
  }
  li .section-content h2 {
    font-weight: 400;
  }

  li .section-content h3 {
    font-weight: 400;
  }
}