.header {
  width: 100%;
  position: fixed;
  margin-bottom: 15px;
}
.toggle,
[id^="drop"] {
  display: none;
}
nav {
  margin-left: 150px;
  padding: 0;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(26, 49, 95, 1)),
    color-stop(10%, rgba(26, 49, 95, 1)),
    color-stop(24%, rgba(29, 108, 141, 1)),
    color-stop(37%, rgba(41, 136, 151, 1)),
    color-stop(77%, rgba(39, 45, 100, 1)),
    color-stop(90%, rgba(26, 49, 95, 1)),
    color-stop(100%, rgba(26, 49, 95, 1))
  );

  text-align: left;
  /*add the menu delay here*/
}

#logo {
  display: block;
  padding: 0 30px;
  float: left;
  font-size: 20px;
}

nav:after {
  content: "";
  display: table;
  clear: both;
}

nav ul {
  float: inherit;
  padding: 0 0;
  margin: 0;
  list-style: none;
  position: relative;
}

nav ul li {
  margin: 0px;
  display: inline-block;
  float: left;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(26, 49, 95, 1)),
    color-stop(10%, rgba(26, 49, 95, 1)),
    color-stop(24%, rgba(29, 108, 141, 1)),
    color-stop(37%, rgba(41, 136, 151, 1)),
    color-stop(77%, rgba(39, 45, 100, 1)),
    color-stop(90%, rgba(26, 49, 95, 1)),
    color-stop(100%, rgba(26, 49, 95, 1))
  );
}

nav a {
  display: block;
  padding: 0 30px;
  color: white;
  font-size: 15px;
  line-height: 60px;
  text-decoration: none;
  transition: 2s;
}

nav ul li ul li:hover {
  background-color: #254441;
}

nav a:hover {
  background-color: #000000;
}

nav ul ul {
  display: none;
  position: absolute;
  top: 60px;
}

nav ul li:hover > ul {
  display: inherit;
}

nav ul ul li {
  width: 200px;
  float: none;
  display: list-item;
  position: relative;
}

nav ul ul ul li {
  position: relative;
  top: -60px;
  left: 170px;
}

li > a:after {
  content: " +";
}

li > a:only-child:after {
  content: "";
}

/*____________ Media Queries _____________ */
@media all and (max-width: 968px) {
  .header {
    position: relative;
  }
  .logo {
    display: block;
    text-align: center;
  }

  .logo img {
    height: 80px;
    width: 100px;
  }

  nav {
    margin: 0;
  }

  .toggle + a,
  .menu {
    display: none;
  }

  .toggle {
    display: block;
    /*background-color: #254441;*/
    padding: 0px 20px;
    color: #fff;
    line-height: 60px;
    text-decoration: none;
    border: none;
    transition: 2s;
  }

  .toggle:hover {
    background-color: #000000;
  }

  [id^="drop"]:checked + ul {
    display: block;
  }

  nav ul li {
    display: block;
    width: 100%;
    transition: 2s;
  }

  nav ul ul .toggle,
  nav ul ul a {
    padding: 0 40px;
  }

  nav ul ul ul a {
    padding: 0 80px;
  }

  nav ul ul {
    position: static;
    color: #ffffff;
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0%, rgba(26, 49, 95, 1)),
      color-stop(10%, rgba(26, 49, 95, 1)),
      color-stop(24%, rgba(29, 108, 141, 1)),
      color-stop(37%, rgba(41, 136, 151, 1)),
      color-stop(77%, rgba(39, 45, 100, 1)),
      color-stop(90%, rgba(26, 49, 95, 1)),
      color-stop(100%, rgba(26, 49, 95, 1))
    );
  }

  nav ul ul li:hover > ul,
  nav ul li:hover > ul {
    display: none;
  }

  nav ul ul li {
    display: block;
  }

  nav ul ul ul li {
    position: static;
  }
}

@media all and (max-width: 930px) {
  nav ul li {
    display: block;
  }

  .logo-design {
    height: 50px;
    width: 50px;
    margin-bottom: 20px;
    margin-right: 50px;
    padding: 2px 10px;
  }
  h5 {
    margin-left: 30px;
  }
}

/***************** the logo at the left ******************/

.logo-design {
  height: 100px;
  width: 150px;
  margin-right: 50px;
}

/*********************** the search box*******************/

input[type="text"] {
  width: 100px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 10px;
  padding: 10px;
  -webkit-transition: width 0.9s ease-in-out;
  -webkit-transition: width 0.9s ease-in;
  transition: width 0.4s ease-in-out;
}

input[type="text"]:focus {
  width: 22%;
}

input[type="submit"] {
  box-sizing: border-box;
  border: 1px solid black;
  border-radius: 4px;
  font-size: 10px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(26, 49, 95, 1)),
    color-stop(10%, rgba(26, 49, 95, 1)),
    color-stop(24%, rgba(29, 108, 141, 1)),
    color-stop(37%, rgba(41, 136, 151, 1)),
    color-stop(77%, rgba(39, 45, 100, 1)),
    color-stop(90%, rgba(26, 49, 95, 1)),
    color-stop(100%, rgba(26, 49, 95, 1))
  );
  padding: 10px;
  cursor: pointer;
  color: white;
}

/**** MEDIA QUERY FOR SEARCH BOX*/

@media all and (max-width: 968px) {
  input[type="text"] {
    width: 100px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 10px;
    padding: 10px;
    -webkit-transition: width 0.9s ease-in-out;
    -webkit-transition: width 0.9s ease-in;
    transition: width 0.1s ease-in-out;
  }
}
