body {
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  background-image: url("skulls.png");
}
.wrapper{
  width:900px;
  max-width:100%;
}
form {
  align-items: flex-end;
  align-content: center;
  padding: 50px 0;
  align-items: stretch;
}
input:not(input[type=checkbox],input[type=submit],input[type=button]), optgroup, select, textarea {
    border-color: rgb(128,16,79) !important;
    /*background: rgb(249 248 249) !important;*/
}
.btn.btn-primary {
    background: rgb(128,16,79) !important;
    border-color: rgb(128, 16, 79) !important;
    display: inline-block;
    font-size: 1.2rem;
}
.btn.btn-primary:hover {
    background: rgb(85 2 48) !important;
}
.btn.btn-warning{
        font-size: 1.2rem;
}
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 .25rem rgb(189 46 119 / 25%);
}
.form-text {
    padding-bottom: 10px;
    font-size: 1rem !important;
}
.row>*:not(input[type=submit],input[type=button], button, .carinput) {
    background: rgb(255 244 250);
    border-bottom: 1px solid #80104f17;
    border-top: 1px solid #80104f17;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.input-group-text {
    background: #80104f;
    border-color: #80104f;
    color: white;
}
.heroimage {
    width: calc(100% + 2rem);
    margin: -1rem;
    height: 20vh;
    object-fit: cover;
    object-position: left;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}
.heroimagetext {
    position: absolute;
    left: 0;
    width: calc(100% - 50px);
    top: 0px;
    text-align: center;
    background: #80104f;
    background: linear-gradient(90deg, transparent, #80104f, transparent);
    color: white;
    font-size: 1.5rem;
    z-index: 1;
    padding: 10px 0;
    text-shadow: 2px 2px black;
}
.logouttext {
    position: absolute;
    width: 50px;
    left: auto;
    right: 0;
    top: 0;
    text-align: center;
    background: #80104f;
    background: linear-gradient(45deg, #95165d 0%, #c32980 40%);
    color: white;
    z-index: 1;
    padding: 15px 0;
    cursor:pointer;
}
.form-label {
    font-size: 1.2rem;
    font-weight: bold;
}

.alert-text {
    margin-top: 5rem !important;
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem !important;
    color: #821352 !important;
}
.form-control{
    color: #000000 !important;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAzMS4yMDEgMjkuNjc2Jz48cG9seWdvbiBwb2ludHM9JzE1LjYwMiwwIDE5LjMyNSwxMS4yNzkgMzEuMiwxMS4zMzIgMjEuNjI0LDE4LjM2IDI1LjI0MywyOS42NzYgMTUuNjAyLDIyLjczOCA1Ljk2LDI5LjY3NiA5LjU3NywxOC4zNiAwLDExLjMzMiAxMS44NzgsMTEuMjc5JyBmaWxsPScjODAxMDRmJyAvPjwvc3ZnPg==') !important;
    background-position: right 5px top 13px !important;
    background-size: 10px !important;
    background-repeat: no-repeat !important;
}
.form-select{
  color: #000000 !important;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAzMS4yMDEgMjkuNjc2Jz48cG9seWdvbiBwb2ludHM9JzE1LjYwMiwwIDE5LjMyNSwxMS4yNzkgMzEuMiwxMS4zMzIgMjEuNjI0LDE4LjM2IDI1LjI0MywyOS42NzYgMTUuNjAyLDIyLjczOCA1Ljk2LDI5LjY3NiA5LjU3NywxOC4zNiAwLDExLjMzMiAxMS44NzgsMTEuMjc5JyBmaWxsPScjODAxMDRmJyAvPjwvc3ZnPg=='), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");  background-size: 10px !important;
  background-position: right 5px top 13px, right 20px top 13px !important;
  background-repeat: no-repeat, no-repeat !important;
}

input::placeholder {
  opacity: 0.5 !important;
}
.form-control:not(input:required), .form-select:not(select:required) {
    /*border-color: #c3c3c3 !important;*/
    background-image:none !important;
}
.form-control:read-only{
    border-color: #c3c3c3 !important;
    background: #fff4fa;
}

#loader{position:absolute;top:0;left:0;width:100%;height:100%;background:white;z-index:2;opacity: 0.9;}
#loader .span{position: relative;float: left;top: 50%;left: 50%;transform: translate(-50%, -50%);font-size:2em;color:#383838;font-weight:bold;text-align:center;}
form {border: 0px solid #f1f1f1;}

#loginform input[type=submit] {
  margin-top: 10px;
}
#loginform input[type=text]:focus, #loginform input[type=password]:focus, #loginform input[type=date]:focus, #loginform input[type=tel]:focus, #loginform textarea:focus{
    border-color:rgb(67, 160, 71);background: rgb(240, 253, 238);color:rgb(67, 160, 71);cursor:pointer;
    outline: 0;
}
#loginform input[type=text], #loginform input[type=password], #loginform input[type=date], #loginform input[type=tel], #loginform input[type="number"], #loginform select, #loginform textarea {width: 100%;padding: 12px;margin: 10px 0;display: inline-block;
    border: 1px solid rgb(202, 202, 202);box-sizing: border-box;font-size:1em;
    color:rgb(54, 54, 54) !important;overflow:visible;transition: 0.2s;
    background: rgb(255, 255, 255);border-radius: 5px;}

#loginform input[type=text]:hover, #loginform input[type=password]:hover, #loginform input[type=date]:hover, #loginform input[type=tel]:hover, #loginform textarea:hover{
    border-color:rgb(67, 160, 71);background: rgb(240, 253, 238);color:rgb(67, 160, 71);cursor:pointer;}

#OKmessage{position:fixed;top:0;left:0;width:100%;padding:20px 0; background:rgb(66 165 245);color:white;text-align:center;z-index:9;font-size:2em;transform: rotateX(0deg); transition: .3s ease;} 
#NOKmessage{position:fixed;top:0;left:0;width:100%;padding:20px 0; background:rgb(229 57 53);color:white;text-align:center;z-index:9;font-size:2em;transform: rotateX(0deg); transition: .3s ease;}
.oknokdisplay{visibility: hidden;transform: rotateX(90deg) !important;}

.closebtn{
  float:right;
  padding:0px 5px;
  color:#ad5454;
  text-decoration:none;
}
.closebtn:hover{
  color:red;
}
#users, #carusers {
    display: inline-block;
    padding: 10px 0;
}
.userdiv{
  display:inline-block;
  padding:3px 5px 3px 10px;
  margin:3px;
  background: #e5d9e0;
  border-radius: 10px;
  font-size: 1.2em;
}
.input-group input, .input-group select {
    width: 100% !important;
}
table {
    margin-bottom: 20px;
    background: white;
    border-left: 2px solid #80104f;
}
tbody, td, tfoot, th, thead, tr {
    border-width: 0px;
    border-bottom: 1px solid #efd6e4;
    border: 1px solid #d5d5d5;
    padding: 5px 10px;
}
#indoklas{
    margin-top: 20px;
}
option:disabled {
    font-style: italic;
}
.form-check-input[type=checkbox]{
    border-color: #80104f;
    padding: 8px;
}
.custom-file-input {
  color: transparent;
  max-width: 1px;
}
.custom-file-input::-webkit-file-upload-button {
  visibility: hidden;
  max-width: 1px;
}
.imagediv{
  display: inline-block;
}
.delupload {
  position: absolute;
  display: inline-block;
  margin-left: 255px;
  margin-top: 4px;
  padding: 10px 15px;
  background: red;
  z-index: 1;
  color: white;
  cursor: pointer;
  border-bottom-left-radius: 10px;
  box-shadow: -2px 2px 5px -2px black;
  -webkit-box-shadow: -2px 2px 5px -2px black;
  -moz-box-shadow: -2px 2px 5px -2px black;
  -o-box-shadow: -2px 2px 5px -2px black;
  -ms-box-shadow: -2px 2px 5px -2px black;
}
#output .delupload{
  margin-left: 255px;
}
#uploadedimages{
  text-align:center;
  display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.upimage, .onimage{
  padding:3px;
  margin:5px;
  border: 1px solid lightgray;
  height: auto;
  width: 288px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0px 0px 10px -5px black;
  -webkit-box-shadow: 0px 0px 10px -5px black;
  -moz-box-shadow: 0px 0px 10px -5px black;
  -o-box-shadow: 0px 0px 10px -5px black;
  -ms-box-shadow: 0px 0px 10px -5px black;
}
.upimage{
  display:none !important;
}
#uploadform {
    margin-bottom: 50px;
}
.naplowrapper {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.naplodobozok {
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 0 15px -10px black;
    -webkit-box-shadow: 0 0 15px -10px black;
    -moz-box-shadow: 0 0 15px -10px black;
    -o-box-shadow: 0 0 15px -10px black;
    -ms-box-shadow: 0 0 15px -10px black;
    cursor: pointer;
    flex: 1 1 0;
    width: 300px;
    min-width: 250px;
    max-width: 100%;
}
.sticky{
  position:sticky;
  top:0;
  padding: 0.8rem 0.375rem;
  z-index:1;
}
.carinput {
    background: rgb(235 229 232);
    border-bottom: 1px solid #80104f7a;
    border-top: 1px solid #80104f7a;
    padding: 10px;
}
.requiredborder{
  color: rgb(189 46 119) !important;
  border-color: rgb(189 46 119) !important;
  box-shadow: 0 0 0 .25rem rgb(189 46 119);
  transition: .3s ease;
}
.lightgreen {
    background: lightgreen !important;
    border-color: lightgreen !important;
    color: black !important;
    font-size: 1.2rem;
}
.lightgreen:hover {
    background: #6add6a !important;
    border-color: #6add6a !important;
}
.popdata {
    display: none;
    position: fixed;
    /*display: block;*/
    background: white;
    width: 400px;
    max-width: 100%;
    height: 90%;
    left: calc(50% - 200px);
    top: 5%;
    padding: 20px;
    border: 1px solid rgb(128,16,79);
    border-radius: 10px;
    z-index: 2;
    box-shadow: 0 0 40px -10px black;
    -webkit-box-shadow: 0 0 40px -10px black;
    overflow-y: auto;
    overscroll-behavior: none;
}
.focim {
    font-size: 1.5rem;
    margin: 30px 0 10px;
    padding: 0 0 10px 0;
    font-weight: bold;
    border-bottom: 1px solid rgb(128,16,79);
    color: rgb(128,16,79);
}
.closbtn {
    position: sticky;
    float: right;
    right: 0px;
    top: 0px;
    background: white;
    border: 1px solid rgb(128,16,79);
    padding: 5px 15px;
    border-radius: 5px;
    color: rgb(128,16,79);
    font-weight: bold;
    text-decoration: none;
}
.infotitle {
    font-weight: bold;
    padding: 20px 0 0;
}
.infodesc {
    border-top: 1px solid #e5e5e5;
}

@media (min-width: 768px) {
  .carinput {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
  }
  .carinput .col-md-6 {
    width: calc(50% - 10px) !important;
  }
  .carinput.col-md-12{
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .popdata{
    left: 0;
  }
}
@media screen and (max-width: 490px) {
  .upimage, .onimage{
    height: 400px;
    width: calc(100% - 10px);
    margin: 10px 0;
  }
  .imagediv{
    width: 100%;
  }
  .delupload{
    margin-left: 0;
    margin-top: 10px;
    right: 20px;
    font-size: 24pt;
  }
}