:root {
  --main-second-color: #A40C04;
}

thead th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
}
.tr-link {
    cursor: pointer;
}
a {
    cursor: pointer;
    text-decoration: none;
    color: black;
}
a:hover, a:focus {
    text-decoration: none;
    color: var(--main-second-color);
}

.file-change-button input[type="file"] {
    position:absolute;
    top: -1000px;
}
.file-change-button {
    color: black;
    display: inline-block;
    margin-top: 0.5em;
}
.file-change-button:hover {
    cursor: pointer;
}
.file-change-button :invalid + span {
    color: red;
}
.file-change-button :valid + span {
    color: green;
}

* {
  margin: 0;
  padding: 0;
}

.card-in_col-6 {
    background-color: white;
    padding: 1rem;
    padding-left: 1.2em;
    padding-right: 1.2em;
    border-radius: 0.25em;
    margin-bottom: 2em;
    box-shadow: 0.5em 0.5em 0.5em #CCCCCC;
    opacity:0.85;
    transition: all .2s ease-in-out;
}
.card-in_col-6:hover {
    opacity:1;
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.transparent {
    opacity: 0.25;
}

.flip-card {
    -webkit-perspective: 1500px;
            perspective: 1500px;
}

.flip-card:hover .flip-card-inner {
    -webkit-transform: rotateY( 180deg );
            transform: rotateY( 180deg );
}

.flip-card-inner {
    -webkit-transition: -webkit-transform 0.4s;
            transition: transform 0.4s;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
}

.flip-card-front, .flip-card-back {
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
}

.flip-card-back {
    -webkit-transform: rotateY( 180deg );
            transform: rotateY( 180deg );
}

.flip-cards-container {
    display: -webkit-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.flip-card-inner {
    color: black;
    border-radius: 0.25em;
    margin-bottom: 2em;
    box-shadow: 0.5em 0.5em 0.5em #CCCCCC;
    text-align: center;
}

.flip-card-front {
    background-color: white;
    padding: 1em 1.2em 1em 1.2em;
    position: relative;
    width: 100%;
}

.flip-card-back {
    padding-top: 1em;
    position: absolute;
    padding: 1em 1.2em 1em 1.2em;
    background-color: white;
    min-width: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

#3d-flow-container {
    width: 400px;
    height: 5000px;
}

.button-custom {
    color: white;
    background-color: var(--main-second-color);
}
.button-outline-custom {
    color: var(--main-second-color);
    border-color: var(--main-second-color);
}
.button-outline-custom:hover, .button-outline-custom:focus, .button-outline-custom:active, .button-outline-custom.active {
    color: white;
    background-color: var(--main-second-color);
    border-color: var(--main-second-color);
}

.social-media-bar {
    background-color: var(--main-second-color);
    text-align: center;
    padding: 1em;
}

.button-space-top {
    margin-top: 1em;
}

.base-link {
    text-decoration: none;
    color: black;
}
.base-link:hover {
    text-decoration: none;
    color: var(--main-second-color);
}

.linkbox {
    background-color: white;
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
}
.linkbox-arrow {
    position: absolute;
    right: 50px;
    top: 50%;
    margin-top: -25px;
}
div.linkbox .arrow {
    stroke: var(--main-second-color);
}

.sticky-bottom-abo-button {
    position:absolute;
    bottom:0;
}
.sticky-bottom-abo-button2 {
    position:absolute;
    bottom:1em;
    left: 50%;
    transform: translate(-50%, 0);
}

.zero-margin-bottom {
    margin-bottom: 0;
}

.video-post {
    max-width: 100%;
    max-height: 100%;
}

.profile {
    margin: 20px 0;
}

.profile-sidebar {
    padding: 20px 0 10px 0;
    background: #fff;
}

.profile-userpic img {
    float: none;
    margin: 0 auto;
    width: 50%;
    height: 50%;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;
}

.profile-usertitle {
    text-align: center;
    margin-top: 20px;
}

.profile-usertitle-name {
    color: #5a7391;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 1.5em;
}

.profile-usertitle-username {
    color: #5b9bd1;
    font-size: 20px;
    font-weight: 500;
    margin-top: 0.25em;
    margin-bottom: 0;
}

.profile-content {
    background: #fff;
    min-height: 460px;
}

#nav-tab-shares > .active {
    background-color: var(--main-second-color);
}
#nav-tab-shares {
    background-color: white;
}
#nav-tab-board > .active {
    background-color: var(--main-second-color);
}
#nav-tab-board {
    background-color: white;
}
#board-table {
    border: 2px solid #DEE2E6;
    background-color: white;
    max-width: 100%;
}
.board-no-access {
    padding: 2.5em;
    background-color: white;
    margin-bottom: 4em;
}

.timesince{
    padding-left: 0.5em;
}

.valuation-up, .valuation-down {
    font-size: 18px;
    vertical-align: middle;
    padding: 0 2rem 0 0.5rem;
}
.valuation-result {
    font-size: 18px;
    text-align: center;
    margin-bottom: 0;
}
.comment-counter {
    font-size: 18px;
    vertical-align: middle;
    padding-left: 1rem;
}

.media {
    background-color: white;
    border: 1px solid #e3e3e3;
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 6px;
}

html {
    height:100%;
}
body {
    min-height:100%;
    padding:0;
    margin:0;
    position: relative;
    background: #f2f2f2;
    color: #333333;
    font-family: sans-serif;
}

.thumb {
    opacity: 0.2;
}

.create-inspiration {
    position: relative;
    display: inline-block;
}
.create-inspiration .tooltiptext {
    visibility: hidden;
    width: 180px;
    background-color: black;
    color: #ffffff;
    font-size: 12pt;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}
.create-inspiration:hover .tooltiptext {
    visibility: visible;
}

.thumb_visitor {
    position: relative;
    display: inline-block;
}
.thumb_visitor .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #ffffff;
    font-size: 10pt;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}
.thumb_visitor:hover .tooltiptext {
    visibility: visible;
}
.thumb:hover {
    opacity: 1;
}

header::after {
    content: '';
    display: block;
    height: 1rem;
}

main {
    padding-bottom: 20rem; /* has to be the same as the footers height!*/
}

.footer-text {
    margin-bottom: 0.5rem;
}

.footer-copyright {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: #A9A9A9;
}

@media only screen and (max-width: 768px) {
	main {
        padding-bottom: 55rem; /* has to be the same as the footers height!*/
    }
	.footer {
        position: absolute;
        width: 100%;
        min-height: 52rem;
        bottom: 0;
        background-color: #A9A9A9;
    }
    #valuation-up, #valuation-down {
        padding: 0 0.8rem 0 0.4rem;
    }
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media only screen and (max-width: 400px) {
    .timesince{
        display: block;
        padding-left: 0;
    }
    .container {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

#image-navbar1, #image-navbar2 {
    padding-top: 0;
    padding-bottom: 0;
}

.pricetable-item {
    text-align: left;
    margin-bottom: 0.8em;
}

.teaser {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 65%;
    transform: translate(-50%,-50%);
    z-index: 1000;
    border-radius: 0.25em;
    background-color: white;
    box-shadow: 1em 1em 1em grey;
    padding: 1em;
    color: black;
}
.teaser-container {
    position: relative;
    vertical-align: middle;
    text-align: center;
}
.teaser-image {
    opacity: 0.2;
    max-width: 80%;
}

.detail-image {
    max-height: 10rem;
    mex-weight: 10rem;
}

.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    margin-top: 0;
    cursor: pointer;
    min-width: 0;
    padding: 0.5rem;
}
.dropdown-item {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.nav-item a:hover {
    cursor: pointer;
}

h1, h2, h3, h4, h6 {
  color: #444444;
}

h5 {
    color: var(--main-second-color);
}

ul {
  margin: 0;
}

.bg-steel {
  background-color: #000000;
}

.site-header .navbar-nav .nav-link {
  color: #ffffff;
}

.site-header .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

.content-section {
  background: #ffffff;
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 20px;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 2em;
  width: 2em;
  margin-right: 0.5em;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e3e3e3;
  display: flex;
  justify-content: space-between;
}
.main-article-metadata {
  padding-bottom: 1px;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e3e3e3;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  height: 125px;
  width: 125px;
  margin-right: 20px;
  margin-bottom: 16px;
}
.account-img-center {
  height: 125px;
  width: 125px;
}

.account-heading {
  font-size: 2.5rem;
  padding-bottom: 0.25em;
}