body {
   background: url(../../images/inici_bg2.jpg) no-repeat center center fixed; 
    -webkit-background-size: cover; 
    -moz-background-size: cover; 
    -o-background-size: cover; 
    background-size: cover;
}
#toc-content {
	background-color:rgba(255,255,255,0.6);
	height: calc(100% - 20px);
	width: 100%;
  max-width: 100%;
  margin-bottom: 50px;
  position: relative;
  top: 20px;
  padding: 0px 10% 0px 10%;
  overflow: hidden;

}

#toc:hover > .list-group {
  display: block;
  transition: opacity 0.5s;
  visibility: visible;
  opacity: 1;
}

h4.name {
  font-weight: bold;
}
h3.subsection-title {
  padding: 5px 0 5px 30px;
  background-position: 4px center;
  font-weight: bold;
  border-bottom: 1px solid #aaa;
}
#toc-content header {
  padding: 10px !important;
  margin-top: 10px;
  -webkit-box-shadow: 0 0 0 0;
  -moz-box-shadow: 0 0 0 0;
  box-shadow: 0 0 0 0;
}

#toc-content header .class-description {
  margin-top: 20px;
}

#toc-content header h2{
  text-align: center;
}

.tipus-classe {
  background-image: url("../img/classes.svg");
  background-position: left center;
  background-size: 20px;
  background-repeat: no-repeat;
  padding-left: 40px;
  margin-left: 0px;
}

.tipus-event {
  background-image: url("../img/events.svg");
    background-position: left center;
    background-size: 20px;
    background-repeat: no-repeat;
    padding-left: 40px;
    margin-left: 0px;
}

.tipus-namespace {
  background-image: url("../img/namespace.svg");
  background-position: left center;
  background-size: 20px;
  background-repeat: no-repeat;
  padding-left: 40px;
  margin-left: 0px;
}

.tipus-member {
  background-image: url("../img/propietats.svg");
  background-position: left center;
  background-size: 20px;
  background-repeat: no-repeat;
  padding-left: 40px;
  margin-left: 0px;
}

.tipus-method {
  background-image: url("../img/metodes.svg");
  background-position: left center;
  background-size: 20px;
  background-repeat: no-repeat;
  padding-left: 40px;
  margin-left: 0px;
}

.tipus-typedef {
  background-image: url("../img/definicions_tipus.svg");
  background-position: left center;
  background-size: 20px;
  background-repeat: no-repeat;
  padding-left: 40px;
  margin-left: 0px;
}

/*.list-group-item:first-child {
	pointer-events: none;
}

.list-group-item:first-child {
  pointer-events: all;
}    */

.list-group-item {
  pointer-events: visiblePainted;
}
.list-group {
	padding-left: 0;
  float: right;
  top: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  opacity: 0;
  width: max-content;
  margin: 0;
  /*pointer-events: visiblePainted;*/
  overflow: auto;
  height: 100%;

}

#toc .toc-h1 {
  margin-left: 0px;
  margin-right: 2px;
  font-weight: bold;
}
#toc .toc-h2 {
  margin-left: 10px;
  margin-right: 7px;
  font-weight: bold;
}
#toc .toc-h3 {
  margin-left: 20px;
  margin-right: 7px;
  font-weight: bold;
}
#toc .toc-h4 {
  margin-left: 29px;
  margin-right: 7px;
}
/*footer {
  border-top: 1px solid #022f5a;
  padding-top: 15px;
}*/
#toc {
  position: fixed;
  top: 79px;
  right: 0px;
  margin-right: 5px;
  max-height: calc(100% - 72px);
  width: 0;
  height: 0;
}

#toc:hover, .bcn-doc-menu:hover ~ #toc {
    right: 0;
    transition: opacity 0.5s;
    width: max-content;
    height: calc(100% - 100px);
}

/*#toc:hover .list-group-item:first-child span{
	visibility: initial;
}

#toc:hover .list-group-item:first-child {
	background-image: none;
	border-bottom-left-radius: 0px;
}*/

.sunlight-menu {
  display: none;
}

.bcn-doc-menu {
  background-image: url(/vaixellsenport/static/APB/doc/img/menu.png);
  background-position: center center;
  background-position-x: 6px;
  background-size: 28px;
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 10px;
  box-shadow: -1px 2px 2px #888888;
  position: fixed;
  top: 79px;
  right: 0px;
  margin-right: 5px;
  transition: 0.5s;
  max-height: calc(100% - 72px);
}

.table-scroll {
  overflow: auto;
}

@media (max-width: 750px) {
  #toc-content.container,
  .col-md-12.middle_column,
  .container-fluid {
    padding: 0px;
  }
  
  article {
    padding-right: 10px;
    padding-left: 10px;
  }
  
}

@media (min-width: 750px)(max-width: 1100px) {

  #toc-content.container {
    padding: 0px 10% 0px 10%;
  }  

}

td, th {
  min-width: 121px;
}

    