body {
    color:#000;
}

body * {
    font-family: Roboto;
}

a:link, a:visited {
    color: black;
}

h1 {
    font-weight: 700;
}

#header {
    background-color: #ccc;
    color: #000;
}

#branding h1, #branding h1 a:link, #branding h1 a:visited {
    color: #000;
}

td, th {
    border: none;
}

#result_list tbody, .containerMod, .not_modification_table tbody {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: fit-content;
    height: -moz-fit-content;
    padding-bottom: 100px;
    align-content: space-between;
}

.not_modification_table tbody {
    width: fit-content;
    width: -moz-fit-content;
}

.door_header {
    display: flex;
    justify-content: center;
    text-transform: capitalize;
}

#result_list tbody th a, .not_modification_table tbody th a {
    text-decoration: none;
    border: none;
    text-transform: inherit;
}

.field-_image_tag {padding: 0 !important;}

.field-_image_tag a img {max-width: 30px; max-height: 30px;}

.table_result .field-number_of_doors {
    display: none;
}

#site-name > a {
    color:#000;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
}

#site-name:hover {
    transform: scale(1.2);
    transition: all 0.5 ease; 
}

div.breadcrumbs {
    background: white;
    color: #000;
}

div.breadcrumbs a {
    color: #000;
}

#result_list tr, .not_modification_table tr {
    background-color: white;
    width:fit-content;
    display: flex;
    align-items: center;
    height: fit-content;
    margin-bottom: 10px;
}

#result_list tr a, .not_modification_table tr a {
    color: #000;
}

.field-edit_button, .field-delete_button, .field-duplicate,#result_list .field-name, .not_modification_table .field-name  {
    display: none;
}

#header a:link, #header a:visited {
    color: #000;
    font-weight: 900;
}

.field-count {
    padding: 0 !important;
    color: #747474;
}

.field-name {
    padding-right: 5px !important;
}

.module h2, .module caption, .inline-group h2 {
    background:#ccc;
    color: #000;
    font-weight: 700;
}

#changelist-filter h3 {
    font-weight: 700 !important;
}

#nav-sidebar .current-app .section:link, #nav-sidebar .current-app .section, a.section:link, a.section {
    color: #000 !important;
}

#changelist-filter li.selected {
    border-left: 5px solid #ccc !important;
}

#changelist-filter a {
    text-decoration: none;
}

#changelist-filter li.selected a {
    color: var(--body-quiet-color) !important;
}

.change-list .filtered #result_list tbody th, .not_modification_table tbody th {
    padding: 0 0px !important;
}

.modelsColor .field-generations a {
    color: #447e9b !important;
}


.modelsColor {
    border-bottom: 1px solid #ccc;
    
}

.editor {
    width:20px;
    height:20px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    margin-left: 8px;
    padding:0 !important;
    visibility: hidden;
}

.editImg {
    width: 100%;
    height:100%;
    background: transparent;
}

.editContainer {
    position: relative;
}

.modalwindow {
    position: absolute;
    left: 25px;
    top: 0px; 
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 5px 0;
    display: none;
    width: 115px;
    z-index: 5;
}

.modalwindow p {
    padding-left: 15px;
}

.modalwindow a {
    width: 100%;
    
}

.modalwindow p:hover {
    background-color: darkgrey;
    font-weight: 900;
    border-radius: 5px;
    cursor: pointer;
}



.field-generations {
    padding: 0 8px;
}

.model-modification #result_list .field-name {
    display: inline-block;
    font-weight: normal;
}


.name {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-decoration: none;
    width: fit-content;
    
}

.name:first-child {
    margin-top: 0%;
}

 .editContainer {
     display: inline-block;
 }

.bodyType {
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    background: none !important;
    padding:0 !important;
    margin-top: 50px !important;

}

.bodyType:first-child {
    margin-top: 0 !important;
}

.mod_submit-row {
    display: flex;
    justify-content: flex-end;
    width: calc(100% - 80px);
    height: fit-content;
    padding: 10px 40px;
    background-color: #C7D5EE;
}

.mod_submit-row button {
    text-decoration: none;
    margin-left: 25px;
    padding: 0;
    border:none;
    background: transparent;
    cursor: pointer;
}


.saveButton {
    background: #0063F7 !important;
    border-radius: 8px;
    padding:10px 25px !important;
    color: #FFFFFF;
    margin-left: 25px;
}

.submit-content {
    display: flex;
    align-items: center;
}

.submit-content > * {
    margin-left:25px;
}

#nav-sidebar {
    border: 1px solid var(--hairline-color) !important;
    height: fit-content !important;
}

.add_new {
    background: url("../images/note_add.png") center center no-repeat !important;
}

.duplicate {
    background: url("../images/file_copy.png") center center no-repeat !important;
    width: 30px;
    height: 35px;
}

.deleteButton {
    background: url("../images/delete.png") center center no-repeat !important;
    width: 30px;
    height:35px;
}

 .double {
    display: none;
} 

.breadcrumbs {
    font-weight: 500;
    font-size: 20px;
    line-height: 25px;
    color: black;
}

.aligned label {
    font-size: 14px;
}

@media (max-width:560px) {
    .mod_submit-row {
        padding: 10px 0;
        justify-content: center;
        width: 100%;
    }

    .submit-content {
        max-width: 100%;
    }

    .submit-content > * {
        margin-left: 10px;
    }
}

@media (max-width:300px) {
    .submit-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

th {
    font-weight: normal !important;
}

#result_list {
    border-spacing: 1px;
}
.table_header {
    width:100%;
    margin-right: 0;
    
}

.table_header tr th {
    border:1px solid white;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-transform: none;
    font-size: 12px;
    font-weight: bold !important;
    color: #000;
}

.modification_table tr th {
    text-align: center;
}

.modification_table tr th a {
    cursor: pointer;
}

.modification_table tr th a img {
    width:100%;
    max-width: 25px;
}

.model-modification #result_list tr {
    margin-right:0;
    width:100%;
}

.modification_table .field-name {width: 18%;}
.modification_table .field-production_from_year{width: 6%;}
.modification_table .field-production_to_year{width:5%;}
.modification_table .field-engine_type,.field-summary_power,.field-gear_box,.field-body_type {width:10%;}
.modification_table .field-drive_wheels {width:16%;}

.modification_table td {
    padding:8px 0;
    text-align: center;
}

#changelist table thead th  {
    white-space:normal !important;
}

.mod_header {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0 !important;
}

.mod_header th {
    width: 100%;
}

.mod_header th h2 {
    text-align: center;
}

.field-gear_box, .field-body_type, .field-engine_type, .field-name a {
    text-transform: capitalize;
}

form .aligned ul {
    margin-left: 0 !important;
}

.form-row.field-production_country.field-production_from_year {
    display: flex;
    align-items: flex-end;
}

.modification_table {
    overflow-x: auto !important;
    min-width: 840px !important;
}

.not_modification_table {
    padding-right: 150px;
    box-sizing: border-box;
    width: auto;   
}

.modification_table {
    width: 100%;
}

.bodyType  {
    font-size: 16px !important;
}

.avatar {
    display: none;
}

.ava_img {
    max-width: 30%;
    max-height: 100%;
}

.change-form .field-body_type {
    width:100% !important;
}

.change-form .field-gear_count {
    width: 100% !important;
}

.change-form .errors {
    width: 100% !important;
}

.avatar_add,.avatar_delete,.avatar_change {
    display: none;
}

.drafted {
    background: rgba(255,41,41,0.2) !important;
}

.table_result .field-draft {
    display: none;
}

.change_list_form-row {
    width:100% !important
}

.change_list_form-row label {
    display: inline-block;
    width:160px;
    margin:20px 0;
}

.change_list_form-row {
    width:100% !important
}

.change_list_form-row label {
    display: inline-block;
    width:160px;
    margin:20px 0;
}

.avatar_container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}