/* Auth pages */
.login-box-body, .register-box-body {
  box-shadow: 0px 0px 5px 0.5px rgba(0,0,0,0.25);
}

.login-box, .register-box {
  margin: 3% auto !important;
}

.float-right{
  float: right;
}

div.content-box {
    width: 60%;
    min-width:800px;
    max-width: 1150px;

    height: fit-content;
    min-height:400px;
    max-height:90%;
    
    position:absolute;
    left:0; right:0;
    top:0; bottom:0;
    margin:auto;
    padding:15px;

    background-color: #ffffff;
    border:1px solid black;
    border-left: 6px solid orange;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

    overflow:auto;
}

#left-content:after {
  content: "";
  background-color: orange;
  position: absolute;
  width: 2px;
  height: 95%;
  top: 10px;
  left: 100%;
  display: block;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 18px;
}

div#title {
    display:block;
    text-align: right;
    float:right;
    font-size: 32px;
    text-shadow: 2px 2px 4px #000000;
}

div#language {
    display:block;
    text-align: right;
    float:right;
    font-size: 32px;
}

div#version {
    text-align: right;
    font-size: 16px;
    line-height: 0.0;
}

button.btn-primary, a.btn-warning {
    font-size: 16px;
    background-color: orange;
}

div#lower-content > p {
  text-align: justify;
}

/* Pay2Gehter pages */
img.pay2gether-logo {
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: 70%;
    max-height: 100px;
}

h2.text-center.pay2gether {
    margin-top: auto;
    margin-bottom: auto;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Header Navbar */
nav.navbar {
    height: 50px;
}

.dropdown-header {
    font-size: 14px;
    font-weight: bold;
}

.dropdown-menu .divider {
    margin: 2px 20px;
}

.trustpilot-widget {
  margin-top: 0.5em;
  margin-right: -1.5em;
}

/* Sidebar Navbar */
div.user-panel>.image>i, div.user-panel>.info>p {
    color: #b8c7ce;
}

/* On-Off Toggle Switch Button */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Table: Show/Hide Rows */
@keyframes showRowAnim {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}
input[name=hide_canceled_transactions] + div > div > div > table tr.canceled-transaction {
    animation: showRowAnim 0.5s ease-in;
    transform-origin: top;
    display: table-row;
}

input[name=hide_canceled_transactions]:checked + div > div > div > table tr.canceled-transaction {
    transition: all 0.5s ease-out;
    transform-origin: top;
    display: none;
}

/* TS Banner: Steps Progress Bar */
.steps-progress {
    counter-reset: step;
}
.steps-progress li {
    list-style: none;
    display: inline-block;
    width: 18%;
    position: relative;
    text-align: center;
    cursor: pointer;
}
.steps-progress li:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    line-height : 30px;
    border: 1px solid green;
    border-radius: 100%;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    background-color: #fff;;
}
.steps-progress li:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: green;
    top: 15px;
    left: -50%;
    z-index: -1;
}
.steps-progress li:first-child:after {
    content: none;
}
.steps-progress li.active {
    color: orange;
    border-color: orange;
}
.steps-progress li.active:before {
    transform: scale(1.5);
    border-color: orange;
}
.steps-progress li.active ~ li:after {
    background-color: orange;
}
.steps-progress li.active ~ li:before {
    border-color: orange;
}

/* TS Banner: Page 3: Uploaded banner images */
img.box-shadow {
    width: max-content;
    height: max-content;
    border: solid 1px black;
    -moz-box-shadow: 5px 5px 0px #999;
    -webkit-box-shadow: 5px 5px 0px #999;
    box-shadow: -2px -2px 10px lightgrey;
}

div.img-container {
    position: relative;
    width: fit-content;
    height: fit-content;
}

div.info-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
}

div.delete-button {
    position: absolute;
    top: 0px;
    right: 20px;
    transform: translate(-30%, 10%);
    font-size: 30px;
    opacity: 0.5;
}
div.delete-button:hover {
    transition: opacity 1s ease-in;
    -moz-transition: opacity 1s ease-in;
    -webkit-transition: opacity 1s ease-in;
    -o-transition: opacity 1s ease-in;
    opacity: 1;
    color: red;
}

div.dimensions-text {
    position: absolute;
    bottom: 0px;
    right: 0px;
    transform: translate(-30%, -10%);
    font-size: 14px;
    opacity: 0.5;
}

/* TS Banner: Page 4 - Configuring and positioning texts */
div.text-level-information {
    display: block;
    border: 2px solid orange;
    border-radius: 50%;
    border-top-style: none;
    border-left-style: none;
    width: 30px;
    height: 30px;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    position: absolute;
    left: 1em;
}
div.text-level-settings {
    position: relative;
    padding-left: 5em;
    padding-right: 3em;
    padding-top: 0em;
    padding-bottom: 0em;
}

div.left-image {
    position: relative;
    width: fit-content;
    height: fit-content;
}

/* TS Banner: Page 5 - Show Configuration */
img.instruction-image {
    width: inherit;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: solid 1px black;
    -moz-box-shadow: 5px 5px 0px #999;
    -webkit-box-shadow: 5px 5px 0px #999;
    box-shadow: -2px -2px 10px lightgrey;
    transition: transform 1s;
}
img.instruction-image:hover {
    transform: scale(1.5);
    -ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -o-transform: scale(1.5);
}

/*
    Der Slider muss dynamisch angepasst werden; siehe SASS / SCSS:
    - https://codepen.io/eltonkamami/pen/hjBrE
    - https://laravel.com/docs/5.6/mix#sass
*/
.banner-slider {
  position: relative;
  width: 1024px;
  height: 300px;
  border: solid 1px black;
  -moz-box-shadow: 5px 5px 0px #999;
  -webkit-box-shadow: 5px 5px 0px #999;
  box-shadow: -2px -2px 10px lightgrey;
  border-top-color: #856036;
  border-left-color: #5d4426;
  border-bottom-color: #856036;
  border-right-color: #5d4426;
}
.banner {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  position: absolute;
  animation: round 12s infinite;
  opacity: 0;
}
@keyframes round {
  25% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
}
img:nth-child(1) {
  animation-delay: 8s;
}
img:nth-child(2) {
  animation-delay: 4s;
}
img:nth-child(3) {
  animation-delay: 0s;
}

.login-page {
  background-color: #eeeeeea8 !important;
}