@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

/*Dirty image fix to catch images that have been been sized with pixels and cause content overflow*/
img {
  max-width: 100% !important;
}

/* HOMEPAGE-----------------------------*/

.RH-LAYOUT-HOMEPAGE-TITLEBAR-title-bar {
  height: 60px;
}

.RH-LAYOUT-TOOLBAR-toolbar-box {
  margin: 0;
}

.RH-LAYOUT-HOMEPAGE-TITLEBAR-caption {
  text-shadow: 2px 2px 10px black;
}

.RH-LAYOUT-HOMEPAGE-TITLEBAR-logo {
  margin: 0;
}

.RH-LAYOUT-HEADER-logo {
  margin-right: 0.5rem;
}

.RH-LAYOUT-HOMEPAGE-TITLEBAR-container {
  background-size: cover;
}

/* Homepage ToC Tile Styling-----------------------------*/

.RH-LAYOUT-HOMEPAGE-TOC-tile-box {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 8px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .2s ease-in-out;
}

.RH-LAYOUT-HOMEPAGE-TOC-tile-box:hover {
  scale: 1.05;
}


.RH-LAYOUT-HOMEPAGE-TOC-tile-box:hover .RH-LAYOUT-HOMEPAGE-TOC-details-box a {
  color: rgb(55, 158, 218)
}


.RH-LAYOUT-HOMEPAGE-TOC-details-box {
  background-color: #253238;
}

.RH-LAYOUT-HOMEPAGE-TOC-title {
  text-decoration: none;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
  font-size: 1rem;
}

.RH-LAYOUT-HOMEPAGE-TOC-image-box {
  margin: 0;
  height: 200px;
  background-size: contain;
}

#contents-panel {

  padding-left: 0;
}

.RH-LAYOUT-HOMEPAGE-TITLEBAR-title {
  font-weight: bold;
  font-size: 1.5rem;
  color: #ffffff;
  text-transform: none;
}

/* TOPIC PAGE ----------------------------- */

/* Toolbar background----------------------------------------------*/

.RH-LAYOUT-TOOLBAR-toolbar { 
  background-color: #4F6793;
}

.RH-LAYOUT-HEADER-title {
  font-weight: bold;
  font-size: 1.5rem;
  color: #ffffff;
  background-color: #253238;
  text-transform: none;
}

@media only screen and (max-width: 1001px) {

  .RH-LAYOUT-CENTERPANEL-container {
    padding: 0 !important;
  }

}

/* ToC panel styling----------------------------*/
#rh-leftpanel {
  background-color: #f2f2f2;
  height: calc(100vh - 60px) !important;
}

.RH-LAYOUT-LEFTPANEL-title {
  font-family: 'Inter', sans-serif;
  padding-left: 1rem;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-right: 10px;
}

.RH-LAYOUT-LEFTPANEL-title:hover {
  background-color: #dbdbdb;
}

.RH-LAYOUT-LEFTPANEL-selected-title {
  background-color: #dbdbdb;
  color: #4F6793;
}

.rh-layout-LEFTPANEL-tree-item-text {
  padding-right: 30px;
}

.RH-LAYOUT-LEFTPANEL-section-level-0 {
  padding-left: 1rem;
}

.RH-LAYOUT-LEFTPANEL-section-level-1 {
  padding-left: 1.2rem;
}

.RH-LAYOUT-LEFTPANEL-section-level-2 {
  padding-left: 1.3rem;
}

.RH-LAYOUT-LEFTPANEL-section-level-3 {
  padding-left: 1.4rem;
}

.RH-LAYOUT-LEFTPANEL-section-level-4 {
  padding-left: 1.5rem;
}

.RH-LAYOUT-LEFTPANEL-section-level-5 {
  padding-left: 1.6rem;
}

.RH-LAYOUT-LEFTPANEL-section-level-6 {
  padding-left: 1.7rem;
}

.RH-LAYOUT-LEFTPANEL-section-level-7 {
  padding-left: 1.8rem;
}

.RH-LAYOUT-LEFTPANEL-expanded-title+ul {
  padding-left: 0.7rem;
}

/* Topic Content Section Styling----------------------------*/

.rh-BODY-wrapperRH-LAYOUT-CENTERPANEL-container {
  overflow: visible;
}

#rh-topic {
  max-width: 900px;
  margin: auto;
  padding: 0 1rem 0 1rem;
}

.RH-LAYOUT-CENTERPANEL-container {
  overflow: visible;
  margin: 0;
  width: 100%;
}

/* Mini ToC (right panel) styling ----------------------------*/
.RH-LAYOUT-RIGHTPANEL-top-buttons {
  margin: 0 1rem 0 1rem !important;

}

.minitoc-list-item {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  text-decoration: none;
  color: #4F6793;
}

.minitoc-list-item:hover {
  color: rgb(81, 178, 235);
}


#rh-rightpanel {
  width: 300px;
  height: calc(100vh - 11rem);
  padding-left: 0;
  padding-right: 0;
  background-color: transparent;
  position: -webkit-sticky;
  position: sticky;
  align-self: flex-start;
  right: 0;
}

/* Footer Styling ----------------------------- */

.RH-LAYOUT-FOOTER-container {
  background-color: #253238;
}

#rh-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.RH-LAYOUT-HOMEPAGE-FOOTER-container {
  background-color: #253238;
}

.rh-layout-footer-inner-left-box {
  width: 25%;
}

.rh-layout-footer-inner-left-box p {
  text-align: center;
  color: white;
  line-height: 2;
  margin: 0;
  font-size: 1rem;
  align-items: center;
  cursor: pointer;
}

.rh-layout-footer-inner-left-box img {
  cursor: pointer;
}

.rh-layout-footer-inner-middle-box {
  height: 100%;
  width: 20%;
  display: flex;
  align-items: center;
}

.rh-layout-footer-inner-middle-box1 {
  padding-left: 5px;
  padding-right: 5px;
}

.rh-layout-footer-inner-middle-box2 {
  padding-left: 5px;
  padding-right: 5px;
}

.rh-layout-footer-inner-middle-box3 {
  padding-left: 5px;
  padding-right: 5px;
}

.rh-layout-footer-inner-middle-box img {
  display: flex;
  height: 20px;
  transition: 0.2;
}

.rh-layout-footer-inner-middle-box img:hover {
  transform: scale(1.2);
}

.rh-layout-footer-inner-right-box {
  width: 55%;
  justify-content: right;
  align-items: center;
}

.rh-layout-footer-inner-right-box p {
  text-align: center;
  color: white;
  line-height: 2;
  margin: 0;
  font-size: 0.9rem;
  align-items: center;
}

.rh-layout-footer-inner-right-box a {
  color: white;
  text-decoration: none;
  font-size: 0.9 rem;
  transition: 0.3s;
}

.rh-layout-footer-inner-right-box a:hover {
  color: rgb(81, 178, 235);
}


.rh-layout-footer-outer-box {
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}


.RH-LAYOUT-BODY-mobile-view .rh-layout-footer-outer-box {
  background-color: #253238;
  padding-top: 0;
  padding-bottom: 0;
}


.radius-image-container {
  display: block;
}

.radius-image-container {
  position: relative;
  display: inline-block;
}

.RH-LAYOUT-BODY-mobile-view .RH-LAYOUT-HOMEPAGE-TITLEBAR-title-bar .rh-layout-HEADER-title-link {
  font-size: 1.2rem;
  margin-left: 2rem;
}


.RH-LAYOUT-BODY-mobile-view .rh-layout-HEADER-title-link {
  margin-left: 0.5rem;
}


/* Tablet view styles-------------------------------------- */
@media (max-width: 1000px) {

  RH-LAYOUT-RIGHTPANEL-container {
    display: none;
  }

  #summary-wrapper {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
  }

  .rh-layout-footer-inner-middle-box {
    height: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .RH-LAYOUT-BODY-mobile-view .rh-layout-footer-inner-middle-box1 {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .RH-LAYOUT-BODY-mobile-view .rh-layout-footer-inner-middle-box2 {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .RH-LAYOUT-BODY-mobile-view .rh-layout-footer-inner-middle-box3 {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .rh-layout-footer-inner-right-box {
    margin-left: 30px;
  }


  .RH-LAYOUT-LEFTPANEL-container {
    margin: 0;
  }
}

.RH-LAYOUT-BODY-mobile-view .RH-LAYOUT-TOOLBAR-toolbar-box {
  padding: 0;
}

/* Styles for mini toc on topic page--------------------------------------------------*/

.RH-LAYOUT-MINITOC-container {
  margin: 0 1rem 1rem 1rem !important;
  padding: 0.5rem;
  ;
}

#minitoc-caption {
  font-size: 1rem;
}

.RH-LAYOUT-TOOLBAR-button-1 {
  text-transform: none;
  font-family: 'Roboto', sans-serif;
  text-shadow: 1px 1px rgb(0 0 0 / 29%);
  font-weight: 400;
  font-size: 1rem;
}

.RH-LAYOUT-TOOLBAR-toc-icon-div  {
  padding: 0;
}

.dropspot:hover {
  color: #7fade0 !important;
}

.rh-layout-MINITOC-item-wrapper a:hover {
  color: #4F6793;
}

/*Topic mobile view style -------------------------*/

@media(max-width: 700px) {

#rh-topic {
  padding: 0;
}
}
