body {
  font-family: "Lato", sans-serif;
  background-color: #314452;
  background-image: url(../img/bg_gradient.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow-x: hidden;
}
.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}
body button {
  outline: none;
}

#kello {
  font-size: 28px;
  font-weight: 300;
  color: white;
}

h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 0;
}
h2 {
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 20px;
}

body .page-header {
  position: relative;
  border: none;
  margin-top: 0;
  margin-bottom: 0;
}
body .page-header .logos {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}
body .page-header .logos .logo img {
  display: inline-block;
  max-width: 100%;
}

html body.ulkonaytto .logo.rengastoppi img {
  height: 9vh;
  max-width: none !important;
  position: absolute;
  top: 2.25vh;
  right: 6.5vw;
}

html body.ulkonaytto .logo.rengascenter img {
  height: 10vh;
  max-width: none !important;
  position: absolute;
  top: 1.25vh;
  right: 0;
}

body .page-header .logos .logo {
}
body .page-header .logos .rengastoppi {
  float: right;
  /*margin-top:20px;*/
  max-width: 50%;
}
body .page-header .logos .rengascenter {
  float: right;
  max-width: 10%;
  margin-left: 10%;
}
body .page-main {
}
body .page-footer {
  padding-bottom: 20px;
}

#nextPalveltava {
  font-size: 100px;
  color: white;
}

.col-sm-6 {
  padding-left: 0;
  padding-right: 0;
}
.col-padding-right {
  padding-right: 30px;
}

.btn-raportit {
  background-color: transparent;
  border: solid 1px white;
  border-radius: 0;
  color: white;

  margin-top: 3px;
}

.toimenpide {
  /*border: solid 1px #c9dd00;*/
  border: solid 1px rgba(201, 221, 0, 0.25);
  margin: 3px;
}
.toimenpide > .toggle {
  width: 100%;
  border-radius: 0;
}
.toimenpide > .toggle img {
  height: 20px;
  width: 20px;
}
.toimenpide .btn-toimenpide-on {
  background-color: #c9dd00;
  color: black;
}
.toimenpide .btn-toimenpide-off {
  background-color: transparent;
  color: #c9dd00;
}

.toimenpide .toggle-on.btn,
.toimenpide .toggle-off.btn {
  width: 50%;
}

html .toimenpide span.teksti {
  max-width: calc(100% - 10px);
  display: inline-block;
  margin-right: 5px;
  text-overflow: ellipsis;
  overflow: hidden;
}

html .toimenpide label img {
  vertical-align: baseline;
}

#lisatyo-container {
  display: flex;
  flex-direction: row;
}

#lisatyo-container select {
  background-color: #6b757f;
  color: #fff;
  border: none;
}

#lisatyo-container input {
  font-weight: lighter !important;
}

#lisatyo-container input,
#lisatyo-container select {
  margin: 0px 4px;
}

/*.toimenpide{
    border: solid 1px #c9dd00;
}
.toimenpide label{
    background-color:transparent;
    color: #c9dd00;
}
.toimenpide label.active{
    background-color:#c9dd00;
    color:black;
}
.toimenpide label img{
    max-width: 100%;
}
.toimenpide label > input{
    display:none;
}
.toimenpide label > input + img{
    cursor:pointer;
    background-color: transparent;
    color:#c9dd00;
}
.toimenpide label > input:checked + img{
    background-color: #c9dd00;
    color:black;
}*/

#tulostinSelect {
  color: black;
}
#tulostinSelect > option {
  color: black;
}

/* centered columns styles */
.row-centered {
  text-align: center;
}
.col-centered {
  display: inline-block;
  float: none;
  /* reset the text-align */
  text-align: left;
  /* inline-block space fix */
  margin-right: -4px;
}

table {
  width: 100%;
}
td {
  border: 1px solid grey;
  padding: 20px;
  text-align: center;
}
td p {
  font-size: 20px;
}
.btn-none {
  border: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
}
.btn-none:hover {
  opacity: 0.6;
  filter: drop-shadow(5px 5px 1px rgba(0, 0, 0, 0.7));
}
.btn-none:focus {
  outline: none;
}
.jumbotron hr {
  border-color: darkgray;
}
.width-100 {
  width: 100%;
}
#slideshow {
  text-align: center;
}
#slideshow div {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}
#slideshow .slide-text {
  position: absolute;
  font: italic bold 60px arial;
  color: #aaaaaa;
  margin-top: 200px;
}
#slideshow img {
  width: 100%;
}
#slideshow video {
  width: 100%;
}
.trash {
  text-align: center;
  font-size: 4em;
  padding: 20px;
}
.jumbotron p {
  font-size: 16px;
}
.thumbnail {
  text-align: center;
}

body.toimisto {
  /*background:url(../img/bg_1.png) repeat-x;*/
  /*background-size: contain;*/
  color: white;
}
.row-toimisto {
  color: white;
  font-size: 16px;
}
.row-asennuspisteet {
  color: white;
  font-size: 16px;
}

html .toimisto .dark-input,
.toimisto textarea,
.toimisto input[type="text"][name="tilaaja"],
.toimisto input[name="puhelinnumero"] {
  font-size: 18px;
  background-color: #6b757f;
  color: white;
  border: none;
  border-radius: 0;
}

.toimisto textarea {
  max-height: 120px;
}

.toimisto input[type="text"][name="tilaaja"],
.toimisto input[name="puhelinnumero"] {
  margin-top: 5px;
}

.toimisto .dark-input::-webkit-input-placeholder,
.toimisto input[type="text"][name="tilaaja"]::-webkit-input-placeholder,
.toimisto textarea::-webkit-input-placeholder {
  /* Chrome */
  color: #000;
}

.toimisto .dark-input:-ms-input-placeholder,
.toimisto input[type="text"][name="tilaaja"]:-ms-input-placeholder,
.toimisto textarea:-ms-input-placeholder {
  /* IE 10+ */
  color: #000;
}

.toimisto .dark-input::-moz-placeholder,
.toimisto input[type="text"][name="tilaaja"]::-moz-placeholder,
.toimisto textarea::-moz-placeholder {
  /* Firefox 19+ */
  color: #000;
  opacity: 1;
}

.toimisto .dark-input:-moz-placeholder,
.toimisto input[type="text"][name="tilaaja"]:-moz-placeholder,
.toimisto textarea:-moz-placeholder {
  /* Firefox 4 - 18 */
  color: #000;
  opacity: 1;
}

.toimisto #soita-halytys-nappi {
  background-color: #fff;

  border-radius: 50%;
  padding: 10px;
  height: 110px;

  display: inline-block;
  position: absolute;
  right: 5px;
  bottom: -25px;
}

.toimisto #soita-halytys-nappi:hover {
  opacity: 0.8;
  cursor: pointer;
}

.toimisto #rekisteri-lisatiedot-button-container {
  padding: 15px;
  align-self: center;
}

#siirra-lisatiedot-button:hover {
  opacity: 0.8;
  cursor: pointer;
}

.ajoneuvo {
  padding-left: 3px;
  padding-right: 3px;
}
.ajoneuvo label img {
  max-width: 100%;
}
.ajoneuvo label > input {
  display: none;
}
.ajoneuvo label:hover {
  box-shadow: 5px 5px 1px rgba(0, 0, 0, 0.55);
  opacity: 0.8;
}
.ajoneuvo label > input + img {
  cursor: pointer;
  background-color: #44505c;
  padding: 8%;
}
.ajoneuvo label > input:checked + img {
  background-color: white;
}
.rekisterikilpi {
  border: none;
  background: url(../img/rekisterikilpi.png) no-repeat;
  background-size: contain;
  color: black;
  font-weight: 900;
  padding-left: 60px;
  padding-top: 12px;
  font-size: 60px;
  height: 80px;
  width: 360px;
  text-transform: uppercase;
}
#ajoneuvo_rekisteri::-webkit-input-placeholder {
  /* Chrome */
  color: #ddd;
}
#ajoneuvo_rekisteri:-ms-input-placeholder {
  /* IE 10+ */
  color: #ddd;
}
#ajoneuvo_rekisteri::-moz-placeholder {
  /* Firefox 19+ */
  color: #ddd;
  opacity: 1;
}
#ajoneuvo_rekisteri:-moz-placeholder {
  /* Firefox 4 - 18 */
  color: #ddd;
  opacity: 1;
}
/*.rekisterikilpi::-webkit-input-placeholder, .rekisterikilpi::-moz-placeholder,
        .rekisterikilpi:-ms-input-placeholder, .rekisterikilpi:-moz-placeholder{
    color:#ccc;
}*/
.content {
  margin-right: 40px;
  margin-left: 40px;
}
.content .row {
  margin-right: 0;
  margin-left: 0;
}
.col-asennuspiste {
  width: 12.5%;
  float: left;
}
.panel-asennuspiste {
  margin: 5px;
  padding: 0;
  text-align: center;
  background-color: black;
  cursor: pointer;
}
.panel-asennuspiste:hover {
  opacity: 0.75;
  box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.35);
}
.no-select .panel-asennuspiste {
  cursor: default;
}
.panel-asennuspiste-header {
  background-color: #c9dd00;
  color: black;
  font-size: 26px;
  font-weight: bold;
  padding: 0;
}
.panel-asennuspiste-content {
  /*background-color: black;*/
  color: #c9dd00;
  font-size: 30px;
  padding: 10px;
}
.panel-asennuspiste-content b.vuoronumero {
  font-weight: 900;
  font-size: 50px;
  line-height: 1em;
}
.panel-asennuspiste-rekisterinumero {
  color: white;
  font-size: 18px;
  padding: 0;
  color: #777;
  margin-bottom: 0;
}
.panel-asennuspiste-ajoneuvo img {
  width: 45px;
  margin-top: 10px;
}
.panel-asennuspiste-aika {
  font-size: 14px;
  color: white;
}

.panel-asennuspiste .panel-asennuspiste-header,
.panel-asennuspiste .panel-asennuspiste-content {
  transition: all 0.2s ease-in-out 0.3s;
}
.panel-asennuspiste.active .panel-asennuspiste-header {
  background-color: black;
  color: #c9dd00;
  /*border: solid 1px #c9dd00;*/
}
.panel-asennuspiste.active .panel-asennuspiste-content {
  background-color: #c9dd00;
  color: black;
  /*border:solid 1px black;*/
}

.circle {
  border-radius: 50%;
  text-align: center;
}
.seuraava-circle-filled {
  width: 116px;
  height: 116px;
  background-color: #e2e3e7;
  display: flex;
  align-items: center;
  text-align: center;
  align-content: center;
}
.seuraava-circle-filled h1 {
  margin-top: 0px;
  padding-top: 10px;
  line-height: 0.75;
  font-size: 36px;
  color: #283a48;
  font-weight: 900;
  flex: 1;
  text-transform: uppercase;
}
.seuraava-circle-border {
  border: 5px solid #e2e3e7;
  width: 116px;
  height: 116px;
  color: #e2e3e7;
  background-color: transparent;
  font-size: 50px;
}
.seuraava-circle-border p {
  margin-top: 18px;
  margin-bottom: 0;
}
.seuraava-circle-border h1 {
  margin-top: 0;
  font-size: 50px;
  font-weight: 900;
}
.jono-circle {
  margin-top: 40px;
  width: 50px;
  height: 50px;
  background-color: #c9dd00;
  cursor: pointer;
}
.jono-circle p {
  color: #283a48;
  font-size: 50px;
  font-weight: bold;
}
.jono-text {
  color: #c9dd00;
  font-size: 14px;
  padding-left: 5px;
}
.div-lisaa-asiakas {
  text-align: center;
  font-size: 18px;
}
.btn-lisaa-asiakas {
  background: url(../img/uusi_asiakas_btn.png) no-repeat;
  background-size: contain;
  background-color: transparent;
  border: none;
  color: black;
  height: 400px;
  width: 400px;
}
.btn-lisaa-asiakas:hover {
  opacity: 0.7;
}
.btn-lisaa-asiakas h1 {
  font-weight: 900;
  font-size: 160px;
  margin-top: -50px;

  position: relative;
  margin-bottom: 5px;
  top: -15px;

  /*letter-spacing: -0.08em;*/
}
.btn-lisaa-asiakas p {
  color: #828282;
  font-size: 30px;
  margin-top: -26px;
}

.btn-lisaa-asiakas .ajanvarausikoni {
  display: none;
}

html.is-vip .btn-lisaa-asiakas .ajanvarausikoni {
  display: block;
}

html.is-vip .btn-lisaa-asiakas .vuoronumero,
_html.is-vip .btn-lisaa-asiakas #arvioituAika {
  display: none;
}

.btn-tulosta {
  border: none;
  background-color: transparent;
  position: absolute;
  bottom: -40px;
  right: -30px;
}
.debug {
  border: 1px solid red;
}
.droppable-active-class {
  background-color: #1a631f;
}
.droppable-hover-class {
  background-color: #2f517e;
}
.panel-asiakas {
  text-align: center;
}
.trash-icon {
  font-size: 4em;
}
#varikko {
  min-height: 100px;
}
.modal .modal-body {
  /*color: black;*/
  text-align: center;
}
.modal-header {
  /* border-bottom: 1px solid rgba(255,255,255,0.2) !important; */
  background-color: #c9dd00;
  border-bottom: none !important;
  border-radius: 6px;
  margin: 15px;
  text-align: center;
}
.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  text-align: center !important;
}
.modal-title h2 {
  color: #000 !important;
  font-size: 28px;
  line-height: 1.42857143;
  font-weight: 900;
  margin: 0px;
}
.modal .modal-content {
  /*    background-image:url(../img/bg_gradient.jpg);
    width:100%;
    height:100%;*/
  background-color: #2c3e4c;
  font-size: 18px;
}
.modal-content button.close {
  font-size: 40px;
  color: #fff;
  opacity: 1;
  background-color: #000;
  padding: 0px 8px;
}
.modal-body h3 {
  color: #c9dd00;
  font-size: 28px;
  font-weight: 500;
}
.modal .modal-body .ajoneuvo {
  text-transform: capitalize;
}
.modal .modal-body .rekisterinumero {
  text-transform: uppercase;
}
.modal .modal-body .lisatietoa {
  white-space: pre-wrap;
}
.edellinen-toiminto {
  width: 14%;
  float: left;
  text-align: center;
}
.required-highlight {
  border-radius: 10px;
  box-shadow: 0 0 10px 10px red !important;
}
.required-highlight-none {
  box-shadow: 0 0 10px 10px transparent;
  transition: all 0.5s;
}

.modal-body .table,
.modal-body .table td {
  border-color: #4d6d84;
  border-left: none;
  border-right: none;
}
.modal-body table thead td {
  font-weight: bold;
}
.modal-body table tbody td p {
  font-size: 14px;
  margin-bottom: 0;
}
.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
  background-color: black;
}
.modal-body table .btn,
.btn-success,
.btn-tulostus {
  border-radius: 0;
  border: solid 1px #c9dd00;
  background-color: #c9dd00;
  color: black;
}
.modal-body table .btn:hover,
.btn-success:hover,
.btn-tulostus:hover {
  background-color: black;
  color: #c9dd00;
}
.btn-success,
.btn-tulostus,
.btn-default {
  font-size: 22px;
  font-weight: 700;
}
.btn-tulostus {
  background-image: url(../img/ikoni_print.png);
  background-size: auto 25px;
  background-repeat: no-repeat;
  background-position: 8px center;
  padding-left: 44px;
}
.btn-tulostus:hover {
  background-image: url(../img/ikoni_print_hover.png);
}
.btn-default {
  border-radius: 0;
  border: solid 1px #fff;
  background-color: #fff;
  color: black;
}
.btn-default:hover {
  background-color: black;
  color: #c9dd00;
}

/* 
###########################################################
#####    ULKONÄYTTÖ 
###########################################################
*/
body .ulkonaytto-header {
  position: relative;
  border: none;
  margin-top: 0;
  margin-bottom: 0;
}
body .ulkonaytto-header .logos {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}
body .ulkonaytto-header .logos .logo img {
  display: inline-block;
  max-width: 100%;
}
body .ulkonaytto-header .logos .logo {
}
body .ulkonaytto-header .logos .rengastoppi {
  float: right;
  /*margin-top:20px;*/
  max-width: 50%;
}
body .ulkonaytto-header .logos .rengascenter {
  float: right;
  max-width: 10%;
  margin-left: 10%;
}
body .ulkonaytto-header .content,
body.ulkonaytto .content {
  margin-left: 5vw;
  margin-right: 5vw;
}

img.ulkonaytto-valiviiva {
  max-height: 4vh;
}

#ulkonayttoKello {
  /*font-size:32px;*/
  /*font-size: 2.5vw;*/
  font-size: 9vh;
  line-height: 1em;
  font-weight: 900;
  color: white;

  /*    margin-top: 20px;*/
  margin-top: 2vh;
  margin-bottom: 0;
}
#ulkonayttoDate {
  /*font-size: 16px;*/
  font-size: 1.2vw;
  font-weight: 400;
  color: white;

  margin-bottom: 1vh;
}

.ulkonaytto-main {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  font-weight: 900;

  /*    padding-top: 40px;
    padding-bottom: 30px;
    margin-left: 40px;
    margin-right: 40px;*/
  padding-top: 4vh;
  padding-bottom: 3vh;
  margin-left: 5vw;
  margin-right: 5vw;
}
.ulkonaytto-main .left {
  width: 70%;
  margin-right: 10%;

  display: flex;
  align-items: stretch;
}
.ulkonaytto-main .right {
  width: 20%;
  width: 14%;
  color: white;
}
.ulkonaytto-main .right .seuraavana {
  text-align: center;
  font-size: 1.2vw;
  font-weight: 300;
}

.ulkonaytto-main .vuoronumero {
  color: #c9dd00;
  width: 60%;
}
.ulkonaytto-main h1 {
  text-align: center;
  margin-bottom: 20px;
}
.ulkonaytto-main .box {
  /*padding:50px;*/
  padding: 5vh;
}
.ulkonaytto-main .vuoronumero .box {
  background-color: #c9dd00;
  color: black;
  border: 5pt solid #c9dd00;
  /*    border-radius: 50px 0 0 50px;*/
  border-radius: 5vh 0 0 5vh;

  transition: all 0.2s ease-in-out 0.3s;
  -webkit-transition: all 0.2s ease-in-out 0.3s;
}
#viimeisinAjoneuvo {
  font-size: 4vw;
  text-transform: capitalize;
  letter-spacing: -0.1vw;
}
.ulkonaytto-main .vuoronumero .box.active {
  background-color: rgba(201, 211, 0, 0);
  color: rgba(255, 255, 255, 1);
  text-shadow: 6px 6px 40pt #000;
}
.ulkonaytto-main .vuoronumero p {
  font-size: 10vw;
  text-align: center;
  line-height: 8vw;
  padding-top: 4vw;

  margin-bottom: 1vh;
  min-height: 11.99vw;
  text-transform: uppercase;
}

.ulkonaytto-main .asennuspiste {
  color: white;
  margin-left: 0.5%;
  width: 39%;
}
.ulkonaytto-main .asennuspiste .box {
  background-color: white;
  color: black;
  border: solid 5pt white;
  /*    border-radius: 0 50px 50px 0;*/
  border-radius: 0 5vh 5vh 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ulkonaytto-main .asennuspiste .box.active {
  background-color: black;
  color: white;
}
.ulkonaytto-main .asennuspiste p {
  font-size: 20vw;
  text-align: center;
  line-height: 1em;

  margin-bottom: 1vh;

  align-self: center;
}

.ulkonaytto-footer .circle-black {
  background-color: black;
  border-radius: 2.5vh;

  /*max-width: 25vh;*/
  height: 20vh;

  position: relative;
}
.ulkonaytto-footer .content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  margin: 0;
  text-align: center;

  display: flex;
  justify-content: center;
  align-items: center;
}
.ulkonaytto-footer .circle-black p {
  /*font-size: 100px;*/
  font-size: 4vw;

  /*margin-top:45px;*/
  margin-top: 0vh;
  margin-bottom: 0;

  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #aaa;

  text-transform: uppercase;
}
.ulkonaytto-footer .circle-black img {
  margin-top: 5%;
  width: 35%;
}

.ulkonaytto-footer h2 {
  color: white;
  font-size: 3vw;
  text-align: center;
  /*margin-top: 40px;*/
  /*margin-top: 4vh;*/
  /*margin-bottom: 2vh;*/
}
.ulkonaytto-footer .autokuvake {
  /*max-width: 200px;*/
  max-width: 15vw;
  text-align: right;
  float: right;
  opacity: 0.5;
}

.ulkonaytto-footer .auto-otsake {
  margin: 1.75vh 0 2vh 0 !important;
}

.ulkonaytto-footer .autokuvake img {
  /*height: 7vh;*/
  width: auto;
}

.ulkonaytto-footer .autokuvake.pakettiauto img {
  margin-right: 1vw;
}

.ulkonaytto-footer .panel-asennuspiste-content .vuoronumero {
}
.ulkonaytto-footer > .row > .col-xs-2 {
  padding-left: 1.5vh;
  padding-right: 1.5vh;
}

#jonoModal button.btn {
  display: block;
  margin: 2px 0px;
  width: 100%;
  max-width: 220px;
}
#jonoModal button.btn:hover[disabled] {
  background-color: #c9dd00;
  color: black;
  border: solid 1px #c9dd00;
}

#timeslot-select option:disabled {
  color: #bf6363 !important;
}
