body {
    margin: 0;
}
.centered {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.message {
    text-decoration: none;
    font-size: 20px;
    color: #000;
}
.formStyle {
    max-width: 500px;
    padding: 10px 20px;
    background: #f4f7f8;
    margin: auto;
    padding: 20px;
    background: #f4f7f8;
    border-radius: 5px;
    font-family: 'Muli', sans-serif;
    margin-top: 140px;
    /* font-family: Georgia, "Times New Roman", Times, serif; */
}
.formStyle fieldset{
    border: none;
}
.formStyle legend {
    font-size: 1.4em;
    margin-bottom: 10px;
}
/* .formStyle label {
    display: block;
    margin-bottom: 8px;
} */
.formStyle input[type="text"],
.formStyle input[type="password"],
.formStyle select {
    font-family: 'Muli', sans-serif;
    /* font-family: Georgia, "Times New Roman", Times, sans-serif; */
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    margin: 0;
    outline: 0;
    padding: 7px;
    width: 100%;
    box-sizing: border-box; 
    background-color: #e8eeef;
    color:#8a97a0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
    margin-bottom: 30px;
}
.formStyle input[type="text"]:focus,
formStyle input[type="password"]:focus,
.formStyle select:focus{
    background: #d2d9dd;
}
.formStyle .number {
    background: #1abc9c;
    color: #fff;
    height: 30px;
    width: 30px;
    display: inline-block;
    font-size: 0.8em;
    margin-right: 4px;
    line-height: 30px;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255,255,255,0.2);
    border-radius: 15px 15px 15px 0px;
}
.formStyle input[type="submit"],
.formStyle input[type="button"],
.button
{
    position: relative;
    display: block;
    padding: 19px 39px 18px 39px;
    color: #FFF;
    margin: 0 auto;
    background: #1abc9c;
    font-size: 18px;
    text-align: center;
    font-style: normal;
    width: 100%;
    border: 1px solid #16a085;
    border-width: 1px 1px 3px;
    /* border-radius: 5px; */
    margin-bottom: 15px;
}
.formStyle input[type="submit"]:hover,
.formStyle input[type="button"]:hover,
.button
{
    background: #109177;
    cursor: pointer;
}
#panel1, #panel2, #panel3, #panel7 {
    margin-bottom: 50px;
}
/* .formStyle input[type="button"]:first-of-type {
    margin-bottom: 25px;
} */
.smaller {
    font-size: 14px;
}
.nameFont {
    font-size: 18px;
    color: #2e5752;
}
.dataFont {
    font-size: 14px;
    color: #4375a1;
}
.dataFontType {
    font-weight: bold;
    color: #2e5752;
}
.spacerBig {
    height: 30px;
    clear: both;
}
.spacerMedium {
    height: 20px;
    clear: both;
}
.spacer {
    height: 10px;
    clear: both;
}
.spacerSmall {
    height: 5px;
    clear: both;
}
/* Stilizacija viewPanel-a */
.viewStyle {
    max-width: 1000px;
    padding: 10px 20px;
    background: #f4f7f8;
    margin: auto;
    padding: 20px;
    background: #f4f7f8;
    border-radius: 5px;
    font-family: 'Muli', sans-serif;
    overflow: auto;
    margin-top: 130px;
}
.viewStyle legend {
    font-size: 1.4em;
    margin-bottom: 50px;
}
.viewStyle .number {
    background: #1abc9c;
    color: #fff;
    height: 30px;
    width: 30px;
    display: inline-block;
    font-size: 0.8em;
    margin-right: 4px;
    line-height: 30px;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255,255,255,0.2);
    border-radius: 15px 15px 15px 0px;
}
.wrapper:nth-child(odd) {
    padding: 0 10px;
    background: rgba(234, 232, 237, 0.3);
}
.wrapper:nth-child(even) {
    padding: 0 10px;
    background: rgba(241, 239, 244, 0.3);
}
.driverName {
    background-color: #e8eeef;
    color:#8a97a0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
    padding: 10px;
    margin-right: 10px;
    margin-top: 10px;
    width: 47.4%;
    border-radius: 5px;
    float: left;
}
.driverFiles {
    background-color: #e8eeef;
    color:#8a97a0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
    padding: 10px;
    margin-top: 10px;
    width: 47.4%;
    border-radius: 5px;
    float: left;
}
.driverData {
    background-color: #e8eeef;
    color:#8a97a0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
    padding: 10px;
    /* margin-right: 10px; */
    margin: 10px 0;
    width: 98%;
    border-radius: 5px;
    /* float: left; */
    /* clear: both; */
    overflow: auto;
}
.timeBars {
    float: left;
    margin-right: 31px;
    width: 30%;
}
.outer{
    height: 10px;
    width: 100%;
    border: 1.5px solid #8a97a0;
    border-radius: 4px;
}
.inner{
    height: 10px;
    /* border-right: 1px solid black; */
    background-color: /*#a9b2b9*/#1abc9c;
}
.whiteBg {
    background: white;
    padding: 1px 2px;
    border-radius: 3px;
}
.deleteDb {
    float: right;
    margin-top: 10px;
    
    background-color: white; 
    color: black; 
    border: 2px solid #cc3b30;
    border-radius: 5px;
    padding: 10px 15px;
    margin-right: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.deleteDb:hover {
    background-color: #f44336;
    color: white;
    border-color: #f44336;
}
.editDb {
    float: right;
    margin-top: 10px;

    background-color: white; 
    color: black; 
    border: 2px solid #008CBA;
    border-radius: 5px;
    padding: 10px 23px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.editDb:hover {
    background-color: #008CBA;
    color: white;
}
.logoutbtn {
    float: right;
    margin-top: 10px;

    background-color: white; 
    color: black; 
    border: 2px solid #1abc9c;
    border-radius: 5px;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.logoutbtn:hover {
    background-color: #1abc9c;
    color: white;
    border-color: #1abc9c;
}
.roundbtn {
    float: right;
    margin-top: 10px;

    background-color: white; 
    color: black; 
    border: 2px solid #1abc9c;
    border-radius: 25px;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.roundbtn:hover {
    background-color: #1abc9c;
    color: white;
    border-color: #1abc9c;
}
.acceptbtn {
    /* float: right; */
    background-color: white; 
    color: black; 
    border: 2px solid #1abc9c;
    border-radius: 5px;
    padding: 5px 10px;
    text-align: center;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.acceptbtn:hover {
    background-color: #1abc9c;
    color: white;
    border-color: #1abc9c;
}
.rejectbtn {
    /* float: right; */
    background-color: white; 
    color: black; 
    border: 2px solid #cc3b30;
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.rejectbtn:hover {
    background-color: #f44336;
    color: white;
    border-color: #f44336;
}
.dfwrap {
    display: flex;
  	align-items: center;
    justify-content: space-between;
}
#clearfix > div.centered {
    margin-top: 130px;
}
.regdrvrswrap {
    width: fit-content;
    text-align: left;
    margin: 0 auto;
}
.regdrvrs {
    background: #e0e0e0;
    margin-top: 4px;
    padding: 5px;
    border-radius: 3px;
}
.regdrvrs:nth-child(even) {
    background: #d1d1d1;
    margin-top: 4px;
    padding: 5px;
    border-radius: 3px;
    width: auto;
}
.regdrvrs2 {
    background: #afafaf;
    margin-top: 5.5px;
    padding: 5px;
    border-radius: 3px;
    color: black;
}
.regdrvrs2:nth-child(even) {
    background: #a5a5a5;
    margin-top: 5.5px;
    padding: 5px;
    border-radius: 3px;
}

#search {
    position: relative;
    margin-bottom: 17px;
}
#search p {
    display: inline;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    
}
#search input {
    float: right;
    height: 20px;
    border-radius: 5px;
    padding: 3px;
    border: solid 1.5px #C6C6C6;
}
#search input:focus {
    background: #dae5e3;
    outline: 0;
    box-shadow: 0 0 10px #C6C6C6;
}

@media only screen and (max-width: 1000px) {

    .centered {
        width: 90%;
    }
    .regdrvrs span {
        display: block;
        line-height: 0.25;
    }

    .regdrvrs, .regdrvrs2, .regdrvrs:nth-child(even) {
        padding-top: 10px;
        padding-bottom: 10px; 
    }

    .regdrvrs2 span {
        display: block;
        line-height: 0.25;
    }

    .regdrvrs2:nth-child(even) {
        padding-top: 10px;
        padding-bottom: 10px; 
    }

    .regdrvrswrap {
        width: auto;
    }

    .driverName {
        float: none;
        width: auto;
        margin-right: 0;
    }

    .driverFiles {
        float: none;
        width: auto;
    }

    .driverFiles button {
        float: none;
    }
    .rejectbtn {
        margin-right: 0;
    }
    table, table th {
        width: auto !important;
    }
    body > div:nth-child(7) > div { 
        background-color: #F4F7F8 !important;
    }
    .driverFiles > form {
        float: right;
    }
    .timeBars {
        float: none;
        margin: 0;
        width: auto;
        margin-bottom: 15px;
    }
    .driverData {
        margin: 0;
        width: auto;
    }
    #stored3, #stored4, #stored5 {
        margin-bottom: 5px!important;
    }
    #search {
        position: static;
    }
    #search p {
        position: static;
        left: 0;
        transform: translate(-50%);
        
    }
}
