body {
  margin: 0 auto;
}


.p-10 {
  padding: 7px;
}

/* desktop */
@media (min-width:768px) {


  #logoimg2 {
    display: none;
  }


  header {
    top: 0 !important;
    margin-top: 0% !important;
    position: fixed;
    width: 100%;
    height: 70px;
    background: #001119;
    color: white;
    z-index: 400;
    font-family: arial !important;
  }



  #header-sections {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    /* width: 1100px; */
    width: 70% !important;
    

  }

  .header-section-3 {
    display: none !important
  }


  #social-header-icons {
    margin-top: 12px;
    margin-left: 20px;
    gap: 25px;
    height: fit-content;
  }

  .social-header-links {
    font-size: 25px;
    text-decoration: none;
    color: white !important;
    height: fit-content;
  }

  .openx {
    display: none;
  }

  .sidenav {
    display: none !important;
  }

  #header-sections .header-section-1 {
    /* margin-top: 3px; */
    display: flex;
    margin-left: 18px;
    padding: 2px;
    /* gap: 20px; */
  }

  #logoimg {
    /* margin-top: 3px */
    width: 50px;
    height: 50px;
    margin-top: -20px;
  }

  #logoimgtext {
    color: white !important;
    margin-top: -10px;
    font-size: 35px;
  }

  #otherimgbox {
    margin-top: 10px;
    width: fit-content;
    height: fit-content;
    /* margin: 0 auto; */
    align-self: center;
    /* display: flex;
    flex-direction: row;
    gap: 5px; */
    cursor: pointer;

  }

  #header-sections .header-section-2 {
    margin-left: auto;
    display: flex;
    flex-direction: row;
    margin-right: 100px;
    margin-top: -1px;
    font-weight: bold;

  }

  .banner-name {
    font-family: 'Dejavu Sans';
    /* margin-top: 11px; */
    margin-left: 5px;
    font-size: 20px;
    font-weight: bold;

  }

  .header-section-2 ul {
    display: flex;
    flex-direction: row;
    gap: 100px;
    list-style: none;

  }

  .rest-h2 a {
    color: white;
    text-decoration: none;
    cursor: pointer;
  }

  .authbtn {
    border: 2px solid white;
    padding: 2px;
    font-size: 14px;
    width: 100px;
    background: #001119;
    color: white;
    cursor: pointer;
    height: 34px;
    border-radius: 2px;

  }

  .authbtn:hover {
    color: #001119;
    background: white;
  }



  /* Dropdown button */
  .dropbtn {
    /* border: none; */
    cursor: pointer;
  }

  /* Dropdown button on hover & focus */
  /* .dropbtn:hover, .dropbtn:focus {
    background-color: #2980B9;
  } */




  /* Dropdown content (hidden by default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    min-width: 100px;
    max-width: fit-content;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    /* height: 120px; */
  }

  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 10px;
    text-decoration: none;
    display: block;
    font-size: 16px;
    font-weight: normal;

  }

  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {
    background-color: #ddd;
  }


  /* user auth dropdown */
  #user-drop-btns{
    margin-left: -20px;
  }

  /* Show the dropdown menu on hover */
  .show {
    display: block;
  }

  .navEleDropBtn {
    display: flex;
    flex-direction: row;
    gap: 4px;
    margin-top: 5px;
  }
  
  #dropBtnTextEle {
    font-size: 1rem;
    margin: 0 auto;
  }
  #dropBtnTextEle2 {
    font-size: 1rem;
    margin: 0 auto;
  }


  #dropBtnIconEle{
    font-size: 1rem; margin-top: 3px;
  }

  #dropBtnIconEle2{
    font-size: 1rem; margin-top: 3px;
  }


  .searchinput {
    /* height: 20px !important; */
    width: 390px !important;
    border: none;
    outline: none;
    margin-top: -3px;
    /* padding: 16px; */
    border-radius: 3px;

    box-sizing: border-box;
    /* width: 100%; */
    box-shadow: none;
    /* background-color: transparent; */
    /* padding: 0px; */
    min-height: 40px;
    height: unset;
    flex: 1 1 0%;

  }

  .searchbtn {
    height: 40px !important;
    outline: none !important;

    border: none;
  }

  .searchbtn:hover {
    background: whitesmoke;
    cursor: pointer;
    outline: none !important;


  }

  #navsearchicon {
    display: none !important;
  }

  .navauthbtn {
    display: none !important;
  }
}


/* MOBILE */

@media (max-width: 480px) {

  .collapse-content {
    margin-top: 10px;
    padding: 0 18px;
    display: none;
    overflow: hidden;
    line-height: 18px;
    /* background-color: #f1f1f1; */
  }

  body {
    margin: 0 auto;
  }

  #otherimgbox {

    display: none;
  }

  #flashbox {
    margin: 0 auto;
    margin-top: 100px;
    align-items: center;
  }

  header {
    top: 0 !important;
    margin-top: 0% !important;
    position: fixed;
    width: 100%;
    height: fit-content;
    background: #001119;
    color: white;
    z-index: 400;
    font-family: arial !important;
  }

  .header-section-3 {
    margin-left: auto;
    margin-top: 5px;
    margin-right: 10px;
  }

  #header-sections .header-section-1 {
    display: flex !important;
    flex-direction: row !important;
    gap: 4px;
    /* margin-left: 18px; */
    /* margin-top: 5px; */
    padding: 5px;
    /* text-align: center; */

    cursor: pointer;
    /* margin: 0 auto; */

  }

  #logoimg {

    display: none;
  }

  #logoimg2 {
    margin-top: 7px;
    width: 25px;
    height: 25px;
    margin: 0 auto;
    align-self: center;
    display: flex;
    flex-direction: row;
    gap: 5px
  }

  #imgstyle {
    width: inherit;
    height: inherit;
    margin: 0 auto;
  }

  /* burger icon */
  .openx {
    margin-left: 0 auto;
    color: white !important;
    margin-top: 6px;
    font-size: 25px;
    margin-left: 10px;
    height: 100%;
    cursor: pointer;
    width: fit-content;
  }

  #navsearchicon {
    font-size: 20px;
    color: white;
    margin-left: 10px;
    margin-top: 8px;
  }

  .authbtn {
    border: 2px solid white;
    padding: 3px;
    font-size: 18px;
    width: 80px;
    background: #001119;
    color: white;
    cursor: pointer;
    height: 26px;
    border-radius: 5px;
    margin-top: 3px;

  }

  .authbtn:hover {
    color: #001119;
    background: white;
  }

  #header-sections .header-section-2 {
    display: none !important;

  }

  #social-header-icons {
    display: none;
  }

  #navsearchbar {
    display: none;
  }



  #header-sections {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 10px
  }




  .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }

  .nav-contents {
    margin-left: 5px;
    line-height: 25px;
    margin-top: -10px;
  }

  .sidenav a {
    text-decoration: none;
    font-size: 12px;
    color: white !important;
    display: block;
    transition: 0.3s;
  }

  .sidenav .sub {
    padding: 6px 6px 6px 30px;

  }


  .sidenav .sub2 {
    padding: 8px 8px 1px 20px;

  }

  .sidenav a:hover {
    color: #f1f1f1;
  }

  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    cursor: pointer;
    color: whitesmoke
  }






  .banner-name {
    margin: 0 auto;
    text-align: center;
    font-family: 'Dejavu Sans';
    /* margin-top: 11px; */
    /* margin-left: 5px; */
    font-size: 20px;
    font-weight: bold;

  }



}



/* tab */

@media (min-width: 481px) and (max-width: 767px) {

  .collapse-content {
    margin-top: 10px;
    padding: 0 18px;
    display: none;
    overflow: hidden;
    line-height: 18px;
    /* background-color: #f1f1f1; */
  }


  #otherimgbox {
    margin-top: 10px;
    width: 30px;
    height: 30px;
    margin: 0 auto !important;
    display: flex;
    flex-direction: row;
    gap: 5px;
  }

  #logoimgtext {
    color: white !important;
    margin-top: 10px;
    font-size: 20px;
  }

  #logoimg2 {
    display: none;
  }

  body {
    margin: 0 auto;
  }

  #navsearchbar {
    display: none;
  }

  header {
    top: 0 !important;
    margin-top: 0% !important;
    position: fixed;
    width: 100%;
    height: fit-content;
    background: #001119;
    color: white;
    z-index: 400;
    font-family: arial !important;
  }

  #social-header-icons {
    display: none;
  }

  #header-sections {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 10px
  }

  .openx {
    margin-left: 0 auto;
    color: white !important;
    margin-top: 10px;
    font-size: 30px;
    margin-left: 10px;
    height: 100%;
    cursor: pointer;
  }

  .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }

  .nav-contents {
    margin-left: 5px;
    line-height: 30px;
  }

  .sidenav a {
    text-decoration: none;
    font-size: 12px !important;
    color: white !important;
    display: block;
    transition: 0.3s;
  }

  .sidenav .sub {
    padding: 8px 8px 8px 32px;

  }


  .sidenav .sub2 {
    padding: 8px 8px 1px 20px;

  }

  .sidenav a:hover {
    color: #f1f1f1;
  }

  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    cursor: pointer;
    color: whitesmoke
  }






  .banner-name {
    margin: 0 auto;
    text-align: center;
    font-family: 'Dejavu Sans';
    /* margin-top: 11px; */
    /* margin-left: 5px; */
    font-size: 20px;
    font-weight: bold;

  }

  #header-sections .header-section-1 {
    /* display: flex; */
    /* margin-left: 18px; */
    margin-top: 5px;
    padding: 5px;
    text-align: center;

    cursor: pointer;
    margin: 0 auto;

  }

  #header-sections .header-section-2 {
    display: none !important;

  }

  #logoimg {
    margin-top: 10px;
    margin: 0 auto !important;
  }


  #authalertbox {
    margin-top: 50px;
  }

  #navsearchicon {
    display: none !important;
  }

  .navauthbtn {
    display: none !important;
  }

}