#content-wrapper {
  width: 82%;
  margin: 0 auto;
  display: block;
}


/**********/
/* NAVBAR */
/**********/

#headerbox {
  display: flex; 
}

#hwrapper {
  width: 100%;
  height: 191px;
/*  max-width: 85%;*/
  margin: 0 auto;
  min-width: 100%;;
}

header img {
  display: block;
  width: auto;
  height: auto;
  margin-left: 50px;
  margin-right: 50px;
  margin-top: 50px;
}

header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-left: 20px;
}


.menuitem {
  position: relative;
  display: inline-block;
  margin-left: 30px;
  margin-right: 30px;
  text-decoration: none;
  width: auto;
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 700;
  font-size: 13pt;
  margin-top: 80px;
  color: #3f6cb0;
}

.sel:after {
  content: '';
  position: absolute;
  display: block;
  border: 1px solid #3f6cb0;
  margin-top: 16px;
  width: 100%;
}

.sel2:after {
  content: '';
  position: absolute;
  display: block;
  border: 1px solid #3f6cb0;
  margin-top: 16px;
  width: 63%;
}

header nav span {
    text-decoration: none;
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: 700;
    margin-top: 80px;
    margin-right: 0px;
    color: #3f6cb0;
}

#lang {
/*  min-width: 200px;*/
  position: relative;
  margin-top: 120px;
  margin-right: 0px;
  white-space: nowrap;
}

#lang a, #lang span {
  text-decoration: none;
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 700;
  color: #3f6cb0;
  margin-left: -30px;

/*  margin-top: 80px;*/

}

.dropdown {
  float: left;
/*  overflow: hidden;*/
}


.dropdown .drop {
  border: none;
  outline: none;
  padding: 14px 16px;
  background-color: inherit;
}

.dropmenu {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  z-index: 2;
}

.dropmenu a {
  float: none;
  color: #3f6cb0;
  padding: 17px 0px;
  align-items: center;
  width: 100%;
  text-decoration: none;
  display: block;
  text-align: center;
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 700;
  margin-top: 0px;
}

.dropmenu a:hover {
  background-color: #3f6cb0;
  color: #ffffff;
}

.dropdown:hover .dropmenu {
  display: block;
  
}

.subm, .subm2 {
  display: none;
  position: absolute;
  top:  auto;
  transform: translateY(-53px); 
  left: 100%;
  background-color: #ffffff;
  min-width: 160px;
  max-width: 160px;
  z-index: 1;
}



.subm a {
  color: #3f6cb0;
/*  padding: 17px 0px;*/
  align-items: center;
  width: 100%;
  text-decoration: none;
  display: block;
  text-align: center;
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 700;
}

.subm a:hover {
  background-color: #3f6cb0;
  color: #ffffff;
}

.expright:hover .sm, .expright2:hover .sm2 {
  background-color: #3f6cb0;
  color: #ffffff;
}

.expright2:hover .subm2 {
  display: inline-block;
}

.expright:hover .subm {
  display: inline-block;
}


/***********/
/* CONTENT */
/***********/

/* generic rules */

.prodlist {
  position: absolute;
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  font-size: 15pt;
  color: white;
  left: 5%;
  top: 11%;
  z-index: 5;
  text-align: left;
  padding: 10px 0px;
}

.prodlist a {
  text-decoration: none;
  color: white;
}

.prodsel:after {
  content: '';
  position: absolute;
  display: block;
  border: 1px solid white;
  margin-top: -2px;
  width: 100%;
}


.categ {
  font-weight: 600;
  font-size: 15pt;
  text-transform: uppercase;
  padding: 10px 0px;
}

iframe {
  width: 70vw;
  height: 450px;
}

section {
  white-space: nowrap;
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.spacer {
  padding-top: 50px;
}

.tablerow {
  display: table;
  position: relative;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.tablecellcontainer {
  display: table-cell;
  width: auto;
}

.tablecell {
  display: table-cell;
  width: auto;
  padding: 10px 15px;
  padding-top: 0px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.tablerow img {
  vertical-align: top;
  width: 100%;
}

/* facilities related*/

#factxt {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  font-size: 30pt;
  color: #858585;
}

#facsmalltxt {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  font-size: 17pt;
  color: #858585;
  padding-bottom: 50px;
}

/* contact related*/

.map {
  padding: 50px;
}

.conttext {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  font-size: 15pt;
  color: #858585;
  text-align: left;
  position: relative;
  padding: 42px;  
  margin-top: 8px;
  padding-bottom: 500px;
  padding-right: 200px;
}

.contform {
  max-width: 25vw;
  min-width: 25vw;
  
}

.contform label {
  display: inline-block;
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  font-size: 15pt;
  color: #858585;
  width: 100%;
  text-align: left;
  padding-left: 10px;
}


.contform input, .contform textarea {
  width: 100%;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 0;
  box-sizing: border-box;
  height: 40px;
  padding: 15px 10px;
  margin: 8px 10px;
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  font-size: 15pt;
}

.contform input[type=submit] {
  background: #3f6cb0;
  color: white;
  padding-bottom: 38px;
  align-content: center;
}

.contform input:focus, .contform textarea {
  outline-width: 0;
}


/* history related */

.histtext {
  position: absolute;
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  color: #858585;
  text-align: left;
}

.lhistbig {
  font-size: 21pt;
  left: 5%;
  top: 7%;
}

.lhistsmall {
  font-size: 12pt;
  left: 5%;
  top: 30%;
}

.rhistbig {
  font-size: 21pt;
  left: 40%;
  top: 5%;
}

.rhistsmall {
  font-size: 12pt;
  left: 40%;
  top: 34%;
}

.bluetext {
  color: #3f6cb0;
}

/**********/
/* FOOTER */
/**********/

footer {
  display: block;
  position: relative;
  bottom: 0px;
  width: auto;
  height: 250px;
  background: #3f6cb0;
  margin-bottom:0px; 
}

#footlogo {
  position: absolute;
  margin-left: 298px;
  margin-top: 71px;
}

#foottext {
  position: absolute;
  color: white;
  display: block;
  text-align: left;
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  margin-left: 461px;
  margin-top: 69px;
}



#nlform p {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  color:white;
  position: relative;
  margin-top: 90px;
  padding-bottom: 8px;
}

#nlform img {
  margin-top: 50px;
}

#nlform {
  position: absolute;
  width: 564px;
  height: 55px;
  margin-left: 57%;
  margin-top: -30px;
}


#newsletter input {
  /* Tell the input to use all the available space */
  position: absolute;
  width: 70%;
  height: 70%;
  margin-top:0;
  

  /* And hide the input's outline, so the form looks like the outline */
  border:0;
  
}

#newsletter input:focus {
    outline-width: 0;
}

#subscribe {
  position: absolute;
/*  padding: 15px 32px;*/
  text-align: center;
  outline: none;
/*  display: inline-block;*/
  border: 0;
  background:#3f6cb0;
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 200;
  color:white;
  height: 35px;
  margin-top:   2px;
  margin-left: 305px;
  width: 86px;
/*  margin-top: 50px;*/
  z-index: 2;
}

#socials {
  margin-top: 5px;
  
}
