:root {
    --osn: #e5fa00;
    --black: #1D1D1D;
    --bg: #262626;
    --white: #ffffff;
    --grey: #CFD9D3;

}


html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

input {
    color: var(--white);
}

body {
    line-height: 1;
    background: var(--bg);
    font-family: "Raleway";
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    cursor: pointer;
}

/* BTN */

.btn {
    overflow: hidden;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    text-align: center;
    font-family: "Raleway";
    border-radius: 10px;
}

.general {
    width: 134px;
    height: 52px;
    background: var(--osn);
    border: 1px var(--black) solid;
    color: var(--black) !important;
    font-size: 20px;
    font-weight: 700;

}

.general:hover {
    background: #feffc0;
    cursor: pointer;

}

/* Navbar */
.now {
    color: var(--osn) !important;
}


.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 50px;
    flex-direction: column;
    gap: 20px;
}

/* Projects */
.projects-area {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    justify-content: flex-start;
}

.project {
    flex: 1 1 calc(25% - 15px);
    max-width: calc(25% - 15px);
    width: 100%;

    display: flex;
    gap: 20px;
    flex-direction: column;
    padding: 20px;
    background: var(--black);
    box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    cursor: pointer;
    justify-content: space-between;

}

.stat_p_name{
    display: flex;
    gap: 8px;
}

.project:hover {
    background: var(--osn);
    cursor: pointer;
}

.project:hover .name {
    color: var(--black);
}

.project:hover .dwn_tittle {
    color: var(--black);
}

.project:hover .data_load {
    color: var(--black);
}


.pro_up {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.pro_up img {
    width: 20px;
}


.stat {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat_red {
    width: 10px;
    height: 10px;
    background: #FA0004;
    border-radius: 1000px;

}

.stat_green {
    width: 10px;
    height: 10px;
    background: #34C759;
    border-radius: 1000px;

}

.stat_load {
    width: 100%;
    height: 100%;
    background: url(../img/load.gif);
    background-size: cover;
}

.name {
    width: 167px;
    text-overflow: ellipsis;
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    line-height: 20px;
    word-wrap: break-word;

}

.dwn_txt {
    display: flex;
    gap: 8px;
}

.dwn_tittle {
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    color: var(--white);
}

.data_load {
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    color: var(--white);
}

.owner_name {
    max-width: 125px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 5px;
    padding-right: 5px;
    background: var(--bg);
    color: var(--osn);
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
}

.arrow {
    color: var(--black);
    font-size: 20px;
}

/* New Project Form */

.form-container {
    margin: 0 auto;
    background: var(--black);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    width: 100%;
    max-width: 628px;
    color: var(--white);
}

.form-container label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 17px;

    font-weight: 600;
    line-height: 22px;
    color: var(--white);
}

.form-container input[type="text"],
.form-container input[type="password"] {
    color: var(--white);
    width: 100%;
    background: var(--black);
    padding: 12px 20px 12px 20px;
    border: 1px solid var(--grey);
    border-radius: 10px;
    box-sizing: border-box;
}

.form-container input[type="file"] {
    width: 100%;
    height: 40px;

    border: 1px solid var(--grey);
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.form-container input[type="file"]::-webkit-file-upload-button,
.form-container input[type="file"]::file-selector-button {
    background: var(--grey);

    height: 100%;
    border: none;
    outline: none;
    font-size: 17px;
    font-weight: 600;
    padding-left: 20px;
    padding-right: 20px;
    color: var(--black);
}

.form-container input[type="submit"] {
    width: 143px;
    background-color: var(--osn);
    color: var(--black);
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;

}

.form-container input[type="submit"]:hover {
    background-color: #feffc0;

}

/* In project */
.in_project_area {
    width: 100%;
    display: flex;
    gap: 20px;
}

.left_block {
    width: 50%;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.right_block {
    width: 100%;
    display: flex;
    gap: 20px;
}

.white {
    color: var(--white) !important;
    text-decoration: none !important;


}

/* Open_pro Data */
.open_project_data {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--black);
    padding: 20px;
    box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    width: 100%;
}

.o_p_d_tittle {
    color: var(--white);
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 15px;
}

.o_p_d_info {
    margin-bottom: 15px;
    color: #cccccc;
}

.o_p_d_dwn_txt {
    display: flex;
    gap: 8px;
}

.o_p_d_dwn_tittle {
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    color: var(--white);
}

.o_p_d_data_load {
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
    color: var(--white);
}

.o_p_d_owner_name {
    overflow: auto;
    word-wrap: break-word;
    color: var(--osn);
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
}

.o_p_d_buttons {
    display: flex;
    gap: 10px;
}

.o_p_d_button_dw {
    background-color: var(--osn);
    color: var(--black);
    border: none;
    padding: 10px 29px 10px 29px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    display: flex;
    align-items: center;
}

.o_p_d_button_sr {
    background-color: var(--black);
    color: var(--osn);

    border: 1px solid var(--osn);
    padding: 10px 29px 10px 29px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    display: flex;
    align-items: center;
}

.o_p_d_dropdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
}

select {
    padding: 10px;
    border-radius: 5px;
    background-color: var(--white);
    color: var(--black);
    font-weight: 600;
}

/* Persent */
.intersections {
    width: 100%;
    background: var(--black);
    padding: 20px;
    box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.intersections_title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.intersections_items_area {
    width: 100%;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.intersections_item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.intersections_item a {
    font-size: 15px;
    font-weight: 500;
    text-decoration: underline;
    color: var(--osn);
    margin-right: 15px;
    flex: 1;
}

.percent_area {
    display: flex;
    width: 150px;
    justify-content: space-between;
    align-items: center;
}

.progress {
    max-width: 70%;
    background-color: #333;
    border-radius: 5px;
    overflow: hidden;
    flex: 2;
    height: 8px;
}

.progress-bar {
    height: 8px;
    background-color: var(--osn);
    width: 1%;
}

.percentage {
    color: var(--white);
}

/* Code */
.border_warning {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.border_warning_double_item {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-direction: column;
    background: var(--black);
    box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 20px;
}

.b_w_d_i_tittle {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
}

.border_warning_double_item {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-direction: column;

}

.b_w_d_i_double {
    width: 100%;
    display: flex;
    gap: 30px;
    padding: 10px;
    border: 1px solid var(--osn);
    border-radius: 10px;
}

.b_w_d_i_double_items {
    width: 50%;
    overflow: hidden;
}

.list-group-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #313315;
}

.list-group-item:last-child {
    border-bottom: none;
}

.no_select {

    width: 100%;
    background: var(--black);
    box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    color: var(--grey);
    font-size: 20px;
    height: fit-content;
}

.b_w_d_i_txt {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;

}

.b_w_d_i_txt_block {
    display: block;
    gap: 8px;

}

.b_w_d_i_tittle {
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    color: var(--white);

}

.project_state {
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
    color: var(--white);

}

.project_link {
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
    color: var(--osn);
    text-decoration: underline;

}

.b_w_d_i_path {
    word-break: break-all;
    max-width: 270px;
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
    color: var(--white);

}

.b_w_d_i_mean {
    max-width: 270px;
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
    color: #DF8B8B;
    word-wrap: break-word;
    overflow: auto;
}

.code-container {
    margin-top: 10px;
    background-color: #1c1e26;
}

.code-header {
    background-color: var(--white);
    color: var(--black);
    height: 46px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 10px;
    padding: 12px 20px 12px 20px;
    font-size: 17px;
    line-height: 22px;
    font-weight: 600;
}

.code-content {
    display: none;
    color: #FA0004;
    max-width: 400px;
}

pre {
    margin: 0;
}


/* Users add */
.users_area {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--black);
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-width: 300px;
}

.users_area_tittle {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
    color: var(--white);
}

.user_add_form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input_group_users {
    display: flex;
    gap: 20px;
}

.input_user {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--grey);
    border-radius: 10px;

    font-size: 14px;
    background: var(--black);
}

.input_user input[type="text"] {
    color: var(--white);
}

.user_add_form_btn {
    padding: 10px 29px;
    border: none;
    border-radius: 10px !important;
    background-color: var(--osn);
    color: var(--black);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.added_user_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.added_user_list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--bg);
    border-radius: 10px;


}

.added_user_list li span {
    font-size: 17px;
    line-height: 22px;
    color: var(--white);
    font-weight: 600;
}

.user_del img {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.email_admin_box {
    background-color: var(--bg);
    padding: 20px;
    border-radius: 10px;
    color: var(--white);
    font-size: 17px;
    line-height: 22px;
}


@media (max-width: 1200px) {
    .in_project_area {
        flex-direction: column;
    }

    .left_block {
        width: 100%;
        display: flex;
        gap: 20px;
    }

    .project {
        flex: none;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
        word-wrap: break-word;
    }

    .name {
        width: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .owner_name {
        Width: auto;
        max-width: 100%;
    }

    .l_user {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1440px;
    }

    .project {
        max-width: 300px;
        width: 100%;
    }

    .name {
        width: 200px;
    }
}

.btn-primary-build {
    border-radius: 8px;
    /*padding: 10px 15px;*/
    font-size: 23px;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-align: center;
}

.btn-primary-build-unselected, .btn-primary-build-unselected:hover {
    /*background-color: var(--osn);*/
    color: var(--white);
}

.btn-primary-build-selected, .btn-primary-build-selected:hover {
    /*background-color: var(--osn);*/
    color: var(--osn);
}


.btn-delete-build, .btn-delete-build:hover {
    border-radius: 8px;
    padding: 12px 12px;
    font-size: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: var(--osn);
    border: none;
    color: var(--black);
}

.dropzone-styled {
    border-color: var(--grey);
}

.footer {
    margin-top: 10px;
    width: 100%;
    height: 78px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1d1d1d;

    text-align: center;
    color: rgb(66, 66, 66);
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
}

.o_p_d_bild {
    color: var(--grey);
    font-size: 22px;

}

.page-link {
    background-color: transparent !important;
    border: none;
    color: #e5fa00 !important;
}

.page-link:hover {
    color: #1d1d1d;
    background-color: #e5fa00;
}

.error-message {
    position: relative;
    color: #ff4d4d;
    font-size: 14px;
    text-align: left;
    width: 100%;
}


/* Form field + label + errors group */
.form-field {
    margin-bottom: 20px;
}


/* Build upload */

.create_project_area {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.create_project_area .form-container {
    margin: 0 !important;
}

.create_project_area .b_w_d_i_tittle {
    color: var(--grey);
}

/* Admin panne */

.list_user_area {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}


.l_user {
    flex: 1 1 calc(50% - 10px);
    width: 100%;
    max-width: calc(50% - 10px);
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--black);
    box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    justify-content: space-between;
}

.mbold {
    font-weight: bold;
}

.l_u_text {
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.edit_btn {
    border-radius: 10px;
    width: 42px;
    height: 42px;
    background-color: var(--osn);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.l_u_name {
    font-size: 22px !important;
}


div.build-status-img {
    display: inline-block;
    width: 23px;
    height: 23px;
    vertical-align: text-top;
}
