.theHeader{
  /* background-color:#998b64; */
  /* background-color: #ada2821a; */
  position: relative;
  width: 100%;
  height: 270px;
  z-index: 100000;
}


.scroll-block{
  overflow-y: hidden;
  height: 100vh;
  width: 100%;
  z-index: 10000000;
}

.inner_main_menu {
  margin:0 auto;
  width: 100%;
}
.inner_main_menu ul{
  margin:0;
  padding: 20px 0 0 0;
  list-style:none;
  text-align:right;
}
.inner_main_menu ul li{
  /* float: none; */
  display: inline-block;
  width: auto;
}
.inner_main_menu ul li:nth-child(1),
.inner_main_menu ul li:nth-child(2),
.inner_main_menu ul li:nth-child(3){
  float:left;
  /*margin-left: 30px;/* remove it hwen third element added*/
}
.inner_main_menu ul li:nth-child(1) a,
.inner_main_menu ul li:nth-child(2) a,
.inner_main_menu ul li:nth-child(3) a {
    padding: 10px 10px;
}
.inner_main_menu ul li a{
  color: #2a588d;
  font-size: 18px;
  display: inline-block;
  padding:10px 20px;
  font-family: 'AmericanType ITC Hel';
  font-weight: bold;
}

/*   .inner_main_menu ul li a:hover{
  text-decoration: underline;
  -webkit-text-decoration-color: #d14e52;  
  text-decoration-color: #d14e52;
} */

.inner_main_menu ul li a {
  background-repeat: no-repeat;
}

.inner_main_menu ul li a:hover {
  background-image: url("../img/underline.svg");
  background-position: 20px 1.5em;
  background-size: calc(100% - 40px) calc(100% - 20px);
}


#main_menu {
  width: 100%;
  position: relative;
}
.logo_area {
  width: 230px;
  /* height:300px; */
  position: absolute;
  left:50%;
  top: 10px;
  /* content:""; */
  margin-left: 0;
  transform: translateX(-50%);
  text-align:center;
}


.spinner-master input[type=checkbox] { display: none; }




/* **************************************** */
/* ************ MEDIA QUERIES ************* */
/* **************************************** */

@media screen and (max-width: 1299.98px) {
  .theHeader {
    height: 350px;
  }
  .logo_area {
    width: 200px;
    left:50%;
    top: 70px;
  }
}


/*Medium devices (tablets, less than 992px)*/
@media screen and (max-width: 991.98px) {

  .example-header .container { width: 100%; }

  #search { padding: 10px; }

  .spinner-master * {
    transition: all 0.3s;
    box-sizing: border-box;
  }

  .spinner-master {
    position: relative;
    margin: 40px;
    height: 30px;
    width: 30px;
    float: left;
  }

  .spinner-master label {
    cursor: pointer;
    position: absolute;
    z-index: 99;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0;
  }

  .spinner-master .spinner {
    position: absolute;
    height: 4px;
    width: 100%;
    padding: 0;
    background-color: #2a588d;
  }



  .spinner-master .horizontal {
    content:'';
    width:30px;
    height: 4px;
    background-color: #2a588d;
    position: absolute;
    top: 13px;
  }

  .spinner-master .horizontal:before {
    content:'';
    width:30px;
    height: 4px;
    background-color: #2a588d;
    position: absolute;
    /* float: left; */
    bottom: 8px;
    transition: all 0.5s;
  }

  .spinner-master .horizontal:after {
    content:'';
    width:30px;
    height: 4px;
    background-color: #2a588d;
    position: absolute;
    /* float: left; */
    top: 8px;
    transition: all 0.5s;
  }

  .spinner-master input[type=checkbox]:checked ~ .spinner-spin > .horizontal {/* opacity: 0; */background-color: rgba(255, 255, 255, 0.0);}

  .spinner-master input[type=checkbox]:checked ~ .spinner-spin > .horizontal:before {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    top: 0px;
    transition: all 0.5s;
  }

  .spinner-master input[type=checkbox]:checked ~ .spinner-spin > .horizontal:after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    top: 0px;
    transition: all 0.5s;
  }

  .inner_main_menu {
    overflow: hidden;
    max-height: 0;
    background-color: #fdebb9;
  }

  .inner_main_menu.active {
    position: fixed;
    top: 0px;
    margin-top: 0px;
    padding-top: 60px;
    left:0;
    overflow-y: scroll;
    max-height: calc(100% - 00px);
    min-height: calc(100% - 00px);
  }

  .inner_main_menu.active ul{
    text-align:unset;
    padding: 24px;
  }
  .inner_main_menu.active ul li{
    /* float: none; */
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  .inner_main_menu ul.active li:nth-child(1),
  .inner_main_menu ul.active li:nth-child(2),
  .inner_main_menu ul.active li:nth-child(3){
    float:left;
    margin-right: 10px;
  }

  .inner_main_menu ul li:nth-child(1),
  .inner_main_menu ul li:nth-child(2),
  .inner_main_menu ul li:nth-child(3){
    /*margin-left: 0px; /* remove it hwen third element added*/
  }
  
} 