*, *::after, *::before { margin: 0; padding: 0; box-sizing: inherit; }
h1, h2, h3, h4, h5 { margin: 0; padding: 0; }

body {
  background-color: white;
  padding-top: 0;
  overflow-x: hidden;
}

/* #sidebar2 ul {
  list-style-type: none;
} */

/* .row.relbar {
    background-color: #f7f5fa;
} */

.header__container {
    background-color: #060606;
    /* top: 0;
    position: fixed;
    width: 100%; */
    z-index:1000;
}

.header {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  grid-column-gap: 30px;
}

@media only screen and (max-width: 900px) {
  .header {
    grid-template-columns: 150px 1fr;
    grid-template-rows: repeat(2, 50px);   
  }
}

@media only screen and (max-width: 600px) {
  .header {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 50px);   
  }
}

.header__logo {
  padding-left: 4px;
}

.header__logo > img {
  height: 44px;
  margin-top: 0;
  margin-bottom: 0;
}

.header__menu-list {
    display:flex;
    align-items: center;
    /* min-width: 360px; */
    height: 50px;
}

@media only screen and (max-width: 900px) {
  .header__menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 15px;;
    align-items: center;
    justify-items: center;
  }
}

@media only screen and (max-width: 600px) {
  .header__menu-list {
    grid-column: 1/3;  
    justify-content: space-evenly;
  }
}

.header__menu-list a {
  color: white;
}

@media only screen and (max-width: 900px) {
  .header__menu-item:first-child {
    grid-column: 1/2;
  }
}

.header__form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 330px;
    padding-right: 15px;
}

@media only screen and (max-width: 900px) {
  .header__form {
    grid-column: 1/3;  
    padding-left: 15px;
    display: grid;
    grid-template-columns: 1fr max-content;
  }
  .header__form input {
    width: 80%;
  }
}

.header__form input {
    padding: 5px 24px 4px 10px;
    border-radius: 2px;
    background-color: #d9d9d9;
    border: none;
}

.header__form input:focus { outline: none; }

.header__form img {
  margin-left: -25px;
}

.header__form button, .header__form button:link, .header__form button:visited {
    padding: 5px 14px 4px 14px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    background-color: #139db9;
    color: white;
}

/*override bootstrap styles*/
.breadcrumb {
  padding: 0 0 0 15px;
  margin: 0;
  list-style: none;
  background-color: #f7f5fa;
  border-radius: 0;
  height: 49px;
  border-bottom: 1px #ccc solid;
  display: flex;
  align-items: center;
}

/*override bootstrap styles*/
.breadcrumb li, .breadcrumb>li+li:before, .breadcrumb a {
  color: #139db9;
  /* content: "\0000BB"; */
}

.main__container {
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    /* grid-gap: 15px; */
    /* padding: 15px; */
    /* top: 50px;
    position: absolute;
    width: 100%; */
}

@media only screen and (max-width: 800px) {
  .main__container {
    /* top: 100px; */
    grid-template-columns: max-content 1fr;
  }
}

@media only screen and (max-width: 650px) {
  .main__container {
    /* top: 150px; */
    grid-template-columns: 1fr;
  }
}

.main h1, .main h2, .main h3, .main h4, .main h5, .main h6 {
  color: #888888;
}

.main ol {
  list-style-type: none;
}

.main > .section {
  padding: 15px;
  border-right: 1px #ccc solid;
  border-left: 1px #ccc solid;
}

@media only screen and (max-width: 800px) {
  .main > .section {
    border-right: none;;
  }
}

.left-sidebar {
   background-color: #f7f5fa;
   /* padding: 15px; */
   /* border-right: 1px #ccc solid; */
}

/*override bootstrap styles*/
.left-sidebar .caption {
  margin: 0;
  padding-top: 5px;
}
.left-sidebar .nav {
  margin: 0 0 10px;
}
.left-sidebar .globaltoc {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-row-gap: 20px;
}
/*override bootstrap styles*/
.main__container .col-md-3 {
   color: #139db9;
   font-weight: bold;
   width: inherit;
   padding: 15px !important;
   margin: 0;
   padding: 0;
}
.bs-sidenav .nav .nav > li > a {
  color: #139db9;
  font-weight: normal;
}
.main__container .col-md-3 a.reference {
  color: #139db9;
  font-weight: normal;
}
/*override bootstrap styles*/
.bs-sidenav {
   margin: 0;
   padding: 0;
   text-shadow: none;
   background-color: none;
   border-radius: 0;
}

/*override bootstrap styles*/
@media screen and (min-width: 992px){
  .bs-sidenav.affix {
      position: relative;
  }
}
/*override bootstrap styles*/
@media screen and (min-width: 1200px){
  .bs-sidenav.affix-bottom, .bs-sidenav.affix {
    width: inherit;
  }
}

.right-sidebar {
    background-color: #f7f5fa;
    padding: 15px;
    /* border-left: 1px #ccc solid; */
}

@media only screen and (max-width: 800px) {
  .right-sidebar {
    grid-column: 1/3;
  }
  /*override bootstrap styles*/
  .right-sidebar ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    margin: 0;
  }
}

@media only screen and (max-width: 650px) {
  .right-sidebar {
    grid-column: 1/2;
  }
}

.right-sidebar ul {
  list-style-type: none;
}

.right-sidebar li, .right-sidebar .reference {
  display: list-item;
  margin: 0 0 10px;
}

.right-sidebar a:hover {
  text-decoration: none;
  background-color: #e5e3e9;
}

.heading__container {
  display: grid;
  grid-template-columns: 1fr;
  align-content: space-evenly;
  justify-items: center;
  text-align: center;
  background-image: url(../images/Stamus_Pattern_16x9.jpg);
  background-size: cover;
  background-position: center;
  height: 360px;
}

.heading__container h1 {
  font-size: 28px;
  color: white;
}

.heading__form {
    width: 50%;
    display: grid;
    grid-template-columns: 1fr 100px;
}

@media only screen and (max-width: 600px) {
  .heading__form {
    width: 80%;
  }
}

.heading__input {
    padding: 5px 10px 4px 10px;
    border-radius: 2px;
    background-color: #d9d9d9;
    border: none;
}
.heading__input:focus { outline: none; }

.heading__button {
    padding: 5px 14px 4px 14px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    background-color: #139db9;
    color: white;
}

.contents {
  display: grid;
  grid-template-columns: repeat(6, max-content);
  justify-content: space-around;
  grid-gap: 30px;
  padding: 30px;
}

@media only screen and (max-width: 1500px) {
  .contents {
    grid-template-columns: repeat(3, max-content);
  }
}

@media only screen and (max-width: 850px) {
  .contents {
    grid-template-columns: repeat(2, max-content);
  }
}

@media only screen and (max-width: 600px) {
  .contents {
    grid-template-columns: repeat(1, max-content);
  }
}

.content h4 {
  font-size: 20px;
  color: black;
  padding-bottom: 15px;
}
.table {
    color: rgba(51, 51, 51, 1);
}
