body {
    height: 100%;
    min-width: 360px;
    /* padding-bottom: 20px;
    padding-top: 10px; */
    /* position: fixed;
    left: 0;
    bottom: 0;
    height: 100vh;
    width: 100%; */
    background: url('/images/backgrounds/main-min.png');
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transform: translateZ(0);
}
.error {
    color: red !important;
}
.actual-padding {
    padding-right: 8px !important;
    padding-left: 8px !important;
    margin-bottom: 6px !important;
}
h2 {
    font-size: 1.5rem !important;
}
.datepicker-inline {
    width: auto !important;
}
#logo {
    position: relative;
    top: -20px;
    left: 14px;
}
/* #background-image {
    position: fixed;
    left: 0;
    bottom: 0;
    height: 100vh;
    width: 100%;
    background: url('/images/backgrounds/main-min.png');
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transform: translateZ(0);
} */
.percents {
    font-size: 3.4em;
    font-weight: bold;
    display: inline-block;
}
.percents-text {
    display: inline-block;
    width: 200px;
    text-align: left;
    margin-left: 14px;
    position: relative;
    bottom: 7px;
}
#e-pieraksts a, .e-pieraksts h1, .e-pieraksts h3, .e-pieraksts h5, #e-pieraksts .btn-link {
    color: rgb(243, 235, 205);
}
#e-pieraksts a:hover, #e-pieraksts btn:hover {
    text-decoration: none !important
}
#e-pieraksts .btn-link {
    width: 100%;
    text-decoration: none;
    text-align: left;
}
#e-pieraksts .btn-link:hover {
    text-decoration: none !important;
    font-weight: bold;
}
.info-text {
  color: rgb(243, 235, 205);
}
.number {
    font-size: 1.4em;
    color: rgb(243, 235, 205);
    border:1px solid rgb(243, 235, 205);
    height:1.6em;
    border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    width:1.6em;
    display: inline-block;
    margin-right: 8px;
    text-align: center;
}
.card {
    background-color: inherit !important;
    border: none !important;
    border-bottom: 1px solid rgb(243, 235, 205) !important;
    padding-bottom: 8px;
}

.each-selector {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0 !important;
    padding: 8px;
    margin-bottom: 8px;
    min-height: 74px;
}
.each-selector:hover {
    border: 2px solid rgb(243, 235, 205) !important;
    cursor: pointer;
}

.active-select {
    background: rgb(243, 235, 205) !important;
    color: black !important;
}
.active-select h5, .active-select h3, .active-select p {
    color: black !important;
}
.disabled-select {
    border: none !important;
    opacity: 0.4;
    cursor: default;
}
.service-info, .service-price, .service-info p {
    display: inline-block;
    color: rgb(243, 235, 205);
}
.service-price {
    position: absolute;
    right: 10px;
}
.service-info h5 {
    margin-bottom: 0;
}
.service-info p {
    font-size: 1em;
    margin-bottom: 8px;
    color: rgb(243, 235, 205);
}
.service-price h3 {
    font-size: 2.6em !important;
}
.each-block {
    padding-right: 20px;
    padding-left: 46px;
    padding-top: 6px;
}
#e-pieraksts .menu-text {
    float: right;
    color: rgb(243, 235, 205);
    text-align: right;
    position: absolute;
    right: 0;
    top: 12px;
}
#e-pieraksts #date {
    text-align: center;
    position: relative;
    bottom: 4px;
}
#e-pieraksts .datepicker {
    display: inline-block;
}
#e-pieraksts .datepicker td, #e-pieraksts  .datepicker th {
    color: rgb(243, 235, 205) !important;
}
#e-pieraksts .datepicker table tr td.active.active {
    background: none !important;
    border: 1px solid rgb(243, 235, 205) !important;
    border-radius: 0 !important;
}

#e-pieraksts .datepicker table tr td.disabled {
    color: rgba(192,192,192,0.4) !important;
}
#e-pieraksts .datepicker table tr td.today, #e-pieraksts .datepicker table tr td.today.disabled {
    background-color: rgb(237, 27, 36) !important;
    background-image: none !important;
}
#e-pieraksts .datepicker table tr td:hover {
    background: rgb(243, 235, 205) !important;
    color: black !important;
}
#e-pieraksts .datepicker-switch:hover {
    background: none !important;
    /* color: black !important; */
    cursor: inherit;
}
#e-pieraksts input {
    outline: 0;
    border-width: 0 0 1px;
    border-color: rgb(243, 235, 205);
    background: none;
    color: rgb(243, 235, 205);
}
#e-pieraksts label {
    color: rgb(243, 235, 205);
}
#e-pieraksts input:focus {
    border: none;
    border-bottom: 1px solid #8B0000;
}
#e-pieraksts textarea {
    outline: 0;
    border: 1px solid rgb(243, 235, 205);
    background: none;
    color: rgb(243, 235, 205);
 }
#e-pieraksts textarea:focus {
    border: 1px solid #8B0000;
}
#e-pieraksts ::placeholder {
  color: #bababa;
  opacity: 1; /* Firefox */
}

#e-pieraksts :-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: #bababa;
}

#e-pieraksts ::-ms-input-placeholder { /* Microsoft Edge */
 color: #bababa;
}
#e-pieraksts .custom-button {
    background: #e60f00;
    color: rgb(243, 235, 205);
    font-weight: bold;
    font-size: 1.1em;
    border: 1px solid red;
    padding: 2px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 10px;
}
#e-pieraksts .disabled-button {
    background: #3d2b2a;
    border: 1px solid #3d2b2a;
    color: rgb(243, 235, 205);
    font-weight: bold;
    font-size: 1.1em;
    padding: 2px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 10px;
}
#e-pieraksts .times-wrapper {
    width: 150px;
}
#e-pieraksts .disabled-time {
    color: rgba(207, 208, 209, 0.4);
    cursor: default;
    width: 70px;
    margin: 0;
    padding: 0;
    font-size: 1.2em;
    text-align: center;
}
#e-pieraksts .each-time {
    width: 70px;
    margin: 0;
    padding: 0;
    font-size: 1.2em;
    text-align: center;
    min-height: 30px;
}
#e-pieraksts .each-time:hover {
    font-weight: bold;
}
.e-pieraksts .spinner-border {
    color: rgb(243, 235, 205);
}
.e-pieraksts .divider {
    width: 70%;
    margin: auto;
    margin-bottom: 10px;
    border-bottom: 1px solid rgb(243, 235, 205);
}
.remaining-text {
    color: rgb(243, 235, 205);
}
.both-info :first-child {
    margin-right: 2% !important;
}
.each-info {
    border: 1px solid rgb(243, 235, 205);
    color: rgb(243, 235, 205);
    padding: 20px;
    width: 48%;
    display: inline-block;
    vertical-align: top;
}
.each-info p {
    margin: 0;
    margin-bottom: 6px;
}
.each-info-block {
    display: inline-block;
    width: 48%;
    vertical-align: top;
    overflow: hidden;
}
.e-pieraksts a {
    color: rgb(243, 235, 205);
}
.e-pieraksts .busy {
    position: relative;
    bottom: 38px;
    color: rgb(243, 235, 205);
    text-align: center;
}
.each-info-block p {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.pointer {
    cursor: pointer !important;
}
.active-language {
    color: rgb(243, 235, 205);
}
.languages div {
    float: right;
    margin: 4px;
}
.languages img {
    height: 32px;
}
.dropdown-item:focus, .dropdown-item:active {
    background-color: transparent !important;
}


.mb-0 {
    position: relative;
}
.dropdown-menu {
    min-width: auto !important;
    background: black !important;
}
.dropright {
    margin: 10px !important;
}

.each-employee .card-body {
    position: relative;
}
.each-employee .learner {
    position: absolute;
    bottom: 0;
}

.card-img-top, .card-img-top img {
    width: 100%;
}

@media only screen and (max-width: 991px) {
    .each-info {
        width: 100%;
        margin: 0;
        margin-bottom: 2%;
        height: auto;
    }
}
@media only screen and (max-width: 767px) {
    #logo {
        position: relative;
        left: 0;
        width: 136px;
        margin: auto;
        display: block;
    }

    .each-block {
        padding-right: 20px;
        padding-left: 0;
    }

    #e-pieraksts .menu-text {
        position: relative;
    }
}
@media only screen and (max-width: 576px) {
    #background-image {
        background-attachment: scroll !important;
    }
    #e-pieraksts .btn-link {
        width: auto;
    }
}
@media only screen and (max-width: 480px) {
    .service-info {
        max-width: 190px;
    }
    .service-price h3 {
        font-size: 2em !important;
        text-align: right;
    }
    .each-employee .learner {
        position: absolute;
        bottom: 22%;
    }
}
@media only screen and (max-width: 400px) {
    .each-employee .learner {
        position: absolute;
        bottom: -20%;
        text-align: center;
    }
}
