button {
  font-family: "Roboto", sans-serif;
  color: rgb(88, 88, 88);
}

/* ACTION BUTTONS */
.container-action-bttns {
  position: fixed;
  bottom: 75px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  z-index: 90;
}

.action-bttns {
  display: none;
  z-index: 90;
  margin-left: 15px;
}

/* PREVIOUS BUTTON */
.previous-bttn {
  width: 100px;
  padding: 8px 15px;
  border-radius: 1px;
  border: 0;
  box-shadow: inset 0 0 0 2px #585858;
  background-color: transparent;
  cursor: pointer;
  color: #585858 !important;
  font-size: 14pt;
  font-weight: bold;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.previous-bttn:hover {
  background-color: rgba(178, 72, 72, 0.35);
  color: #ffffff !important;
  box-shadow: inset 0 0 0 2px #b24848;
}

/* BORDER BUTTON */
.borderBttn {
  width: 32px;
  height: 32px;
  font-size: 12pt;
  cursor: pointer;
}

.borderBttn-small {
  width: 28px;
  height: 28px;
  font-size: 11pt;
  cursor: pointer;
}

.bttn-blue {
  color: #ffffff;
  background-color: #5a9ed6;
  border: 1px solid #ffffff;
  border-radius: 50%;
  /*
  color: #5a9ed6;
  background-color: #fff;
  border: unset;
  box-shadow: 2px 2px 5px #5a9ed6;
  border-radius: 50%;
  */
}

.bttn-green {
  color: #ffffff;
  background-color: #afca0f;
  border: unset;
  border-radius: 50%;
  /*
  color: #afca0f;
  background-color: #fff;
  border: unset;
  box-shadow: 2px 2px 5px #afca0f;
  border-radius: 50%;
  */
}

.bttn-red {
  color: #ffffff;
  background-color: #b24848;
  border: unset;
  border-radius: 50%;
  /*
  color: #b24848;
  background-color: #fff;
  border: unset;
  box-shadow: 2px 2px 5px #b24848;
  border-radius: 50%;
  */
}

/* NEXT BUTTON */
.next-bttn {
  width: 100px;
  padding: 8px 15px;
  border-radius: 1px;
  border: 0;
  box-shadow: inset 0 0 0 2px #585858;
  background-color: transparent;
  cursor: pointer;
  color: #585858 !important;
  font-size: 14pt;
  font-weight: bold;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.next-bttn:hover {
  background-color: rgba(175, 202, 15, 0.35);
  color: #ffffff !important;
  box-shadow: inset 0 0 0 2px #afca0f;
}

/* LEAVE PAGE NAVIGATION */
.container-leavePage {
  display: none;
}

.flex-pageNav {
  grid-area: pageNav;
  padding: 5px 0;
  background-color: #ffffff;
}

.flex-pageNav > div > a {
  display: flex;
  align-items: center;
}

.backPage,
.backPageDesktop {
  display: none;
}

/* PAGE BUTTONS */
.container-pageNav {
  position: fixed;
  top: 5em;
  right: 8em;
  z-index: 100;
}

.container-pageBttn {
  grid-area: pageBttn;
  display: grid;
  grid-column-gap: 1em;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "leftBttn middleBttn rightBttn";
}

.pageBttn {
  position: relative;
  padding: 0;
  background-color: #ffffff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: none;
  font-size: 19px;
  cursor: pointer;
  z-index: 1;
  margin: auto;
}

.bttnGreen {
  box-shadow: 1px 1px 4px 0px rgb(175, 202, 15, 1);
  color: rgb(175, 202, 15, 1);
}

.bttnGreen:hover {
  background-color: rgb(175, 202, 15, 1);
  color: #ffffff;
}

.bttnRed {
  box-shadow: 1px 1px 4px 0px #b24848;
  color: #b24848;
}

.bttnRed:hover {
  background-color: #b24848;
  color: #ffffff;
}

.bttnBlue {
  box-shadow: 1px 1px 4px 0px #5a9ed6;
  color: #5a9ed6;
}

.bttnBlue:hover {
  background-color: #5a9ed6;
  color: #ffffff;
}

.button {
  grid-area: bttn;
  justify-self: center;
  text-align: center;
}

button {
  padding: 0;
}

button:focus {
  outline: 0;
}

.bttn:hover,
.bttn-acceptance:hover {
  background-color: rgba(175, 202, 15, 0.35);
  color: #ffffff !important;
  box-shadow: inset 0 0 0 2px #afca0f;
}

.bttn:active,
.bttn-acceptance:active {
  background-color: rgba(90, 158, 214, 0.35);
  color: #ffffff !important;
  box-shadow: inset 0 0 0 2px #5a9ed6;
}

/* NEW BUTTON */
.new-button {
  border: unset;
  box-shadow: 2px 2px 5px grey;
  border-radius: 3px;
  padding: 2px 12px;
  font-size: 12pt;
  letter-spacing: 1px;
  cursor: pointer;
}

.new-button-white {
  color: #585858;
  background-color: #fff;
}

.new-button-blue {
  color: #fff;
  background-color: rgba(90, 158, 214, 1);
}

.new-button-red {
  color: #fff;
  background-color: rgba(178, 72, 72, 1);
}

.container-bttn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Generel button */
.bttn {
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  background-color: transparent;
  border-radius: 1px;
  border: 0;
  box-shadow: inset 0 0 0 2px #585858;
  color: #585858 !important;
  cursor: pointer;
  display: inline-block;
  font-size: 11pt;
  font-weight: 900;
  letter-spacing: 0.1em;
  overflow: hidden;
  padding: 15px 12px;
  margin: 1em;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.bttn:focus {
  outline: 0;
}

.subtle-bttn {
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  opacity: 0.5;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border: 0;
  box-shadow: inset 0 0 0 2px #585858;
  border-radius: 1px;
  font-size: 11pt;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  height: 46px;
  padding: 15px 12px;
  margin: 1em;
  cursor: pointer;
}

.subtle-bttn:hover {
  opacity: 1;
  color: #fff;
  background-color: rgba(178, 72, 72, 0.35);
  box-shadow: inset 0 0 0 2px rgba(178, 72, 72, 1);
}

/* Button for Smartphone-Version customer */
.bttn-acceptance {
  -moz-appearance: none;
  width: 100%;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  background-color: transparent;
  border-radius: 1px;
  border: 0;
  box-shadow: inset 0 0 0 2px #585858;
  color: #585858 !important;
  cursor: pointer;
  display: inline-block;
  font-size: 0.8em;
  font-weight: 900;
  height: 3.5em;
  letter-spacing: 0.2em;
  line-height: 3.45em;
  overflow: hidden;
  padding: 0 1.25em 0 1.6em;
  margin: 0em;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Button for Slideshow (photos) */
.bttn-photo-back {
  position: absolute;
  top: 45%;
  left: 10%;
  background-color: #555;
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
.bttn-photo-forward {
  position: absolute;
  top: 45%;
  right: 10%;
  background-color: #555;
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

/* Company pic upload */
#tohide1 {
  visibility: hidden;
  width: 0px;
}

#tohide2 {
  visibility: hidden;
  width: 0px;
}

.pic-upload {
  position: relative;
  text-align: left;
  top: 30%;
  background: none;
  border: none;
  width: 160px;
  height: 50px;
  cursor: pointer;
}

.pic-upload > i {
  font-size: 20px;
}

.p-edit-bttn {
  color: #585858;
  cursor: pointer;
  background-color: transparent;
  border: none;
}

.p-edit-bttn:hover {
  color: #afca0f !important;
}

.send-link-desktop {
  vertical-align: top;
  text-align: left;
  padding-left: 0em;
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.bttn-copy-link {
  vertical-align: middle;
  text-align: left;
  padding-left: 0.5em;
  background: none;
  border: none;
  width: 50px;
  cursor: pointer;
}

.bttn-delete-desktop {
  vertical-align: top;
  text-align: left;
  padding-left: 0em;
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.add-button {
  position: fixed;
  bottom: 75px;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: #ffffff;
  display: inline-flex;
  height: 2em;
  width: 2em;
  border-radius: 50%;
  z-index: 90;
}

.chat-bttn-big {
  padding: 0;
  position: fixed;
  bottom: 75px;
  left: 50%;
  background-color: #ffffff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: none;
  box-shadow: 1px 1px 4px 0px #5a9ed6;
  color: #5a9ed6;
  font-size: 20px;
  cursor: pointer;
  z-index: 1;
}

.chat-bttn-big > i {
  font-size: 1.5em;
  margin: auto;
}

.chat-bttn-big:hover {
  background-color: #5a9ed6;
  color: #ffffff;
}

.close-button {
  position: fixed;
  top: unset;
  bottom: 1em;
  right: 50%;
  margin-right: -1em;
  background-color: #ffffff;
  z-index: 201;
}

.update-bttn {
  padding: 0;
  position: fixed;
  bottom: 70px;
  right: 10px;
  background-color: #ffffff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: none;
  box-shadow: 1px 1px 4px 0px rgb(175, 202, 15, 1);
  color: rgb(175, 202, 15, 1);
  font-size: 20px;
  cursor: pointer;
  z-index: 1;
}

.update-bttn:hover {
  background-color: rgb(175, 202, 15, 1);
  color: #ffffff;
  z-index: 1;
}

.delete-bttn {
  padding: 0;
  position: fixed;
  bottom: 70px;
  left: 10px;
  background-color: #ffffff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: none;
  box-shadow: 1px 1px 4px 0px #b24848;
  color: #b24848;
  font-size: 20px;
  cursor: pointer;
  z-index: 1;
}

.delete-bttn:hover {
  background-color: #b24848;
  color: #ffffff;
}

.chat-bttn {
  padding: 0;
  position: fixed;
  bottom: 130px;
  right: 10px;
  background-color: #ffffff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: none;
  box-shadow: 1px 1px 4px 0px #5a9ed6;
  color: #5a9ed6;
  font-size: 20px;
  cursor: pointer;
  z-index: 1;
}

.chat-bttn:hover {
  background-color: #5a9ed6;
  color: #ffffff;
}

.google-sign-in {
  padding: 0;
  background-color: white;
  border: none;
  color: none;
  width: 250px;
  height: 60px;
  cursor: pointer;
}

.google-sign-in:hover {
  padding: 1px;
  margin: 1px;
  background-color: white;
  color: none;
  width: 250px;
  height: 60px;
  cursor: pointer;
}

/* Radio buttons for datatyp selection */
#angebot-nofunction {
  pointer-events: none;
  cursor: default;
}

#auftrag-nofunction {
  pointer-events: none;
  cursor: default;
}

#plane-nofunction {
  pointer-events: none;
  cursor: default;
}

#rechnung-nofunction {
  pointer-events: none;
  cursor: default;
}

#regie-nofunction {
  pointer-events: none;
  cursor: default;
}

#foto-nofunction {
  pointer-events: none;
  cursor: default;
}

/* Toggle Switch small */
.container-switch {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  font-weight: bold;
}

.container-switch > label {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 60px;
  height: 24px;
}

.container-switch > label > input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-small {
  border-radius: 30px;
}

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

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

.slider-small:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider-small {
  background-color: #5a9ed6;
}

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

.switch-label {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  padding-left: 1em;
}

/* Toggle Switch */
.payment-switch {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  padding-top: 1em;
  font-weight: bold;
}

.inner-payment-switch {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  padding-left: 1em;
}

.switch {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

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

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 1px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #5a9ed6;
}

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

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

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

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

/* Notification_old Button */
.notification_old {
  position: relative;
  display: inline-block;
}

.notification_old .badge {
  position: absolute;
  top: 0px;
  right: -21px;
  padding: 0px 7px;
  border-radius: 50%;
  background: red;
  color: white;
  font-size: 11px;
}

.notification_old .badge-bubble {
  position: absolute;
  top: 6px;
  right: 12px;
  padding: 0px 4px;
  border-radius: 50%;
  background: red;
  color: white;
  font-size: 11px;
}

.notification_old .badge-bubble-title {
  position: absolute;
  top: 3px;
  right: 0px;
  padding: 3px 7px;
  border-radius: 50%;
  background: red;
  color: white;
  font-size: 11px;
}

.notification_old .badge-bubble-img {
  position: absolute;
  top: 0px;
  right: -2px;
  padding: 0px 4px;
  border-radius: 50%;
  background: red;
  color: white;
  font-size: 11px;
}

.notification_old .badge-bubble-tile {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0px 10px;
  border-radius: 50%;
  background: red;
  color: white;
  font-size: 14px;
}

.notification_old .badge-bubble-pTile {
  position: absolute;
  top: -4px;
  right: 327px;
  padding: 0px 8px;
  border-radius: 50%;
  background: red;
  color: white;
  font-size: 12px;
}

.container-current-path {
  display: grid;
  overflow: auto;
  padding-top: 4.5em;
  margin-bottom: -4.5em;
  grid-template-columns: 10px minmax(340px, 748px) 10px;
  grid-template-areas: ". current-path .";
}

.current-path-holder {
  padding-top: 0;
  padding-bottom: 1em;
}

.current-path {
  grid-area: current-path;
  font-size: 12pt;
}

/* SINGLE PAGE BUTTON */
.singlePage-bttn {
  padding: 0;
  position: fixed;
  bottom: 1em;
  right: 2em;
  background-color: #ffffff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: none;
  font-size: 25px;
  cursor: pointer;
  z-index: 10;
}

@media screen and (min-width: 768px) {
  /* ACTION BUTTONS */
  .container-action-bttns {
    position: absolute;
    top: 3px;
    right: 3px;
    bottom: unset;
    left: unset;
  }

  .current-path-holder {
    padding-top: 3em;
    padding-bottom: 0;
  }

  .bttn-blue {
    border: unset;
  }

  /* CURRENT PATH */
  .container-current-path {
    padding-top: 7.5em;
    margin-bottom: -7.5em;
    grid-template-columns: 30px minmax(708px, 1250px) 30px;
    grid-template-areas: ". current-path .";
  }

  /* Page navigation*/
  .container-pageNav {
    top: 5em;
    bottom: unset;
    right: 1em;
    margin: unset;
  }

  /* PAGE CLOSE BUTTON */
  .close-button {
    position: fixed;
    top: 5em;
    bottom: auto;
    right: 35px;
    left: auto;
  }

  /* */
  .add-button {
    top: 50%;
    bottom: auto;
    right: 25px;
    left: auto;
    transform: scale(1.3);
  }

  .chat-bttn-big {
    top: 50%;
    bottom: auto;
    right: 25px;
    left: auto;
    transform: scale(1.3);
  }

  .update-bttn {
    top: 11em;
    bottom: auto;
    transform: none;
    left: auto;
    right: 1.1em;
    z-index: 1;
  }

  .delete-bttn {
    top: 1em;
    bottom: auto;
    transform: none;
    left: auto;
    right: 8.7em;
  }

  .chat-bttn {
    top: 11em;
    bottom: auto;
    transform: none;
    left: auto;
    right: 4.9em;
    z-index: 1;
  }

  .notification_old .badge-bubble {
    position: absolute;
    top: 6px;
    right: 12px;
    padding: 0px 4px;
    border-radius: 50%;
    background: red;
    color: white;
    font-size: 11px;
  }

  /* SINGLE PAGE BUTTON */
  .singlePage-bttn {
    top: 50%;
    margin-top: -35px;
    bottom: unset;
    right: 20px;
    left: unset;
    margin-left: unset;
  }
}

@media screen and (min-width: 1680px) {
  /* ACTION BUTTONS */
  .container-action-bttns {
    top: 10px;
    right: 10px;
  }

  /* CURRENT PATH */
  .container-current-path {
    padding-top: 5em;
    margin-bottom: -5em;
    grid-template-columns: 1fr 1600px 1fr;
    grid-template-areas: ". current-path .";
  }

  .current-path-holder {
    padding-top: 0;
  }

  .container-leavePage {
    display: block;
    position: fixed;
    top: 5em;
    left: 4em;
    z-index: 100;
  }

  .tabbedMenuBack {
    display: none;
  }

  /* Page navigation*/
  .container-pageNav {
    right: 6em;
  }

  /* */
  .update-bttn {
    top: 8.5em;
    right: 6.7em;
    z-index: 1;
  }

  .delete-bttn {
    top: 8.5em;
    right: 14em;
  }

  .chat-bttn {
    top: 8.5em;
    right: 10.3em;
    z-index: 1;
  }

  .notification_old .badge-bubble {
    position: absolute;
    top: 6px;
    right: 16px;
    padding: 0px 4px;
    border-radius: 50%;
    background: red;
    color: white;
    font-size: 11px;
  }
}
