.infobox {
/* In case if tooltips go out of boundary */
overflow: visible;
width: 100%;
max-width: 300px;
margin: 0px 0px 1.6rem 15px;
background: #FEFFF5;
border-spacing: 0;
text-align: left;
padding-bottom: 10px;
box-shadow: 0 0 8px rgba(0,0,0,0.1);
border-radius: 6px;
color: black;
}
/* Table elements */
.infobox tbody {
display: flex;
flex-wrap: wrap;
}
.infobox tr {
display: flex;
box-sizing: border-box;
justify-content: space-between;
flex-direction: row;
padding: 5px 0;
}
.infobox .data-tag {
background-color: #6fef93;
color: #000;
padding: 2px 8px;
margin-left: 10px;
font-size: 12px;
font-weight: 500;
margin-top: 10px;
}
/* Infobox column */
.infobox .infobox-nocol {
width: 100%;
flex-direction: row;
}
.infobox .infobox-nocol th {
width: 30%;
}
.infobox .infobox-nocol td {
width: 70%;
}
.infobox .infobox-col1 {
width: 100%;
}
.infobox .infobox-col2 {
width: 50%;
}
.infobox .infobox-col3 {
width: calc( 100% / 3 );
}
.infobox .infobox-col4 {
width: 25%;
}
.infobox .infobox-data {
margin: 0 10px;
border-bottom: 1px solid #ccc;
min-width: 25%;
}
/* Infobox image */
.infobox .infobox-image {
overflow: hidden;
padding: 0;
margin: 0;
}
.infobox-image td {
padding: 0;
}
.infobox-image--light .image {
background: rgba(29,26,31,0.50);
}
.infobox-image--dark .image {
background: rgba(29,26,31,0.50);
}
.infobox-image img {
display: block;
max-width: 100%;
max-height: 210px;
background: linear-gradient(to right bottom, #a7b1bf, #99a4b4, #8c97a8, #7e8a9d, #717e92);
object-fit: contain;
}
.infobox-image a {
border-radius: 0;
}
/* Infobox title */
.infobox .infobox-title {
width: 100%;
font-size: 26px;
margin-left: 10px;
}
.infobox .infobox-title th {
color: black;
}
/* Infobox indicator */
.infobox .infobox-indicator {
margin-top: 0;
padding: 0;
}
/* Infobox quote */
.infobox .infobox-quote {
color: #929292;
font-weight: 500;
margin: 0 10px 10px 10px;
}
.infobox .infobox-indicator th,
.infobox .infobox-quote th {
display: none;
}
/* Infobox header */
.infobox .infobox-header {
width: 100%;
padding: 5px 0 5px 0;
margin-top: 15px;
color: #F1F2F4;
font-size: 20px;
text-align: center;
border: none;
}
/* Infobox value */
.infobox-data th {
color: black;
font-weight: bold;
}
.data-mods {
text-align:center;
}
.infobox-data ul,
.infobox-data ol {
margin-top: 0;
}
/* Infobox button */
.infobox .infobox-button-bar {
width: 100%;
padding: 0;
margin-top: 25px;
text-align: center;
}
.infobox-button-bar th {
padding: 0;
}
.infobox .data-warning {
background: #DEDFD8;
color: #27282C;
padding: 14px;
font-size: 14px;
font-weight: 600;
border-radius: 6px;
margin-bottom: 15px;
}
/* Collapsible toggle */
.infobox tr:first-of-type .mw-collapsible-toggle {
position: relative;
display: none;
float: none;
}
.infobox tr:first-of-type .mw-collapsible-toggle .mw-collapsible-text {
position: absolute;
right: 0;
display: block;
padding: 5px 15px;
background: black;
color: black;
}
.infobox tr:first-of-type .mw-collapsible-toggle .mw-collapsible-text:hover {
background: #b9c0c6;
}
.infobox tr:first-of-type .mw-collapsible-toggle .mw-collapsible-text:active {
background: #b9c0c6;
}
.infobox tr:first-of-type .mw-collapsible-toggle-collapsed .mw-collapsible-text {
background: #b9c0c6;
}
.infobox tr:first-of-type .mw-collapsible-toggle-collapsed .mw-collapsible-text:hover {
background: #b9c0c6;
}
.infobox tr:first-of-type .mw-collapsible-toggle-collapsed .mw-collapsible-text:active {
background: #b9c0c6;
}
.infobox tr:first-of-type .mw-collapsible-toggle:before,
.infobox tr:first-of-type .mw-collapsible-toggle:after {
content: none;
}
@media only screen and ( max-width: 720px ) {
.infobox {
margin-right: auto;
margin-left: auto;
float: none;
}
.infobox tr:first-of-type .mw-collapsible-toggle {
display: block;
}
}