/* Remove margins and padding from the list, and add a black background color */
ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    max-width: 900px;
    font-family: Lato; 
    font-weight: 700;
    font-size: .85em;
    box-sizing: border-box;
}

/* Float the list items side by side */
ul.topnav li {float: left;}

/* Style the links inside the list items */
ul.topnav li a {
    display: inline-block;
    color: #fff;
    text-align: center;
    padding: 6px 8px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1em;
}

ul.topnav li .dropdown:hover .dropbtn {
    display: inline-block;
    color: #c6bdba;
    text-align: center;
    padding: 5px 8px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1em;
}



/* Change background color of links on hover */
ul.topnav li a:hover {background-color: #999;}


ul.topnav li .dropdown {
    display: inline-block; z-index: 200; /*margin: 0;*/
}

ul.topnav .dropdown-content {
    display: none;
    position: absolute;
    /*margin-left: 5px;*/
    left: 0; 
    padding: 0;
    background-color: #c6bdba;
    width: 900px;
    box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.2);
    z-index: 200;
}

ul.topnav .dropdown-content a {
    color: black;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    text-align: center;
}

ul.topnav .dropdown-content a:hover {background-color: #f1f1f1}

ul.topnav .dropdown:hover .dropdown-content {
    display: block; 
    position: absolute;
    left: 0; 
    /* margin-left: 5px; */
    width: 900px;
}

.inside {float: left; width: 19.85%;border-right: 1px dotted #999;border-bottom: 1px dotted #999;}

/* Hide the list item that contains the link that should open and close the topnav on small screens */
ul.topnav li.icon {display: none;} /* When the screen is less than 680 pixels wide, hide all list items, except for the first one ("Home"). Show the list item that contains the link to open and close the topnav (li.icon) */
ul.topnav li.back {display: none;}
ul.topnav li.logo {display: none;}
@media screen and (max-width:1000px) {
  ul.topnav {font-size: 1em;}
  ul.topnav li.home {display: none !important; }
  ul.topnav li:not(:first-child) {display: none;}
  ul.topnav li.back {float: left; display: inline-block;}
  ul.topnav li.logo {display: inline-block;}
  ul.topnav li.icon {
    float: right;
    display: inline-block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens */
@media screen and (max-width:1000px) {
  * {font-size: inherit;}
  ul.topnav.responsive {position: relative;}
  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
  }
  
  ul.topnav.responsive li a {
    display: block;
    text-align: left;
  }
  
ul.topnav.responsive .dropdown-content {
    -webkit-text-size-adjust: none;
    display: none;
    position: relative;
    margin-left: 0px;
    background-color: #f0f0f0;
}
  
ul.topnav.responsive .dropdown:hover .dropdown-content {
    display: block;
    position: relative;
    margin-left: 0px;
    background-color: #999;
}
/* responsive div */  
ul.topnav.responsive .dropdown-content a {
    display: block;
    text-align: left;
    width: 100%;
    margin-left: 0px;
    position: relative;
    left: 0;
    background-color: #c6bdba;
    font-size: inherit;
}  

ul.topnav.responsive .dropdown-content a:hover {
    background-color: #f0f0f0;
}  

  .inside {float: left; width: 100%;}
  
}
