h1 {
    margin-bottom: 20px;
}

header {
    background: linear-gradient(#007bff, #0061c9);;
    padding-top: 17px;
    padding-bottom: 15px;
    display: flex;
    justify-content: center;
    position: relative;
}

.header-dev::after {
    background: linear-gradient(blue, darkgreen);
    content: 'Test environment';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    color: white;
    width: 300px;
    padding: 25px;
    text-align: center;
}

header a {
    color: #fff;
    margin-right: 20px;
    font-size: 20px;
}

header a:hover,
header a.selected {
    color: #fff;
    text-decoration: underline;
}

header .header_wrapper {
    width: 80%;
}

header nav {
    display: flex;
    justify-content: center;

}

header .logout {
    position: absolute;
    right: 15px;
}

header .logout img {
    width: 18px;
    margin-right: 5px;
}

header .logout .welcome {
    color: #fff;
}

.section_wrapper {
    padding: 30px;
}

.submit {
    text-align: center;
}
button[type=submit] {
    margin: 12px auto;
    margin-bottom: 20px;
}

#form_actions button[type=submit] {
    margin: 0;
}
#user_list table {
    width: 100%;
}
nav ul {
    display: flex;
}

nav ul li {
    list-style: none;
    margin-left: 20px;
    font-size: 20px;
}

nav ul li:first-child {
    margin-left: 0;
}

.alert {
    text-align: center;
}

.alert.alert-info {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
}

table tr td,
table tr th {
    border: 1px solid #d3d3d3;
}

table tr td {
    text-align: center;

}
table tr th {
    background: #deeff2;
}
table tr:nth-child(even) {
    background: #e8e8e8;
}

ul.nav {
    margin-bottom: 20px;
}
#user_login {
    width: 60%;
    margin: 80px auto;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border: 1px solid #e8e8e8;
    background: #deeff2;
}

#button_pin {
    margin-top: 5px;
    display: block;
}

.pin {
    display: flex;
    justify-content: space-between;
}

.show_pin {
    margin-right: 10px;
}

.pin:hover .show_pin {
    display: initial;
}

.actions-navbar .export img {
    width: 24px;
    margin-right: 5px;
}

table {
    width: 100%;
}
.actions-navbar,
.actions-manage-navbar {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    margin-bottom: 20px;
}

.actions-navbar {
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding-top: 8px;
    padding-bottom: 8px;
}

.action {
    text-align: right;
}

.action.left {
    text-align: left;
}
.action.right {
    display: flex;
    justify-content: center;
}

.list_emails {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.email_item {
    display: flex;
    justify-content: center;
    text-align: center;
    background: #e8e8e8;
    border: 1px solid #007BFE;
    padding: 5px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    margin-top: 10px;
    width: 48%;
    cursor: pointer;
}

.email_item:hover {
    background: #ffadad;
}

.email_item_content {
    display: flex;
}
.email_item_content img {
    width: 12px;
    margin-left: 20px;
}

#distributor_manage h2 {
    margin-bottom: 25px;
}
.notdelivered {
    display: flex;
    flex-wrap: wrap;
}

.notdelivered .notdelivered_item,
.deliver_container .deliver_item {
    margin-left: 15px;
    background: #e8e8e8;
    border: 1px solid #007BFE;
    line-height: 35px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    margin-bottom: 10px;
}

.deliver_container .deliver_item {
    background: #fff;

}
.deliver_container .deliver_item:first-child {
    margin-left: 0;
}
.deliver_container {
    display: flex;
    flex-wrap: wrap;
}

.deliver_container .deliver_item {
    cursor: pointer;
}

.deliver_container .deliver_item:hover,
.deliver_container .deliver_item.selected {
    background: #88ea8c;
}

.legend {
    color: #7c92b7;
    font-size: 12px;
    font-style: italic;
}

#nb_deliveries {
    background: #fff;
    border: 1px solid #007BFE;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    font-weight: bold;
}

#nb_deliveries.warn {
    color: red;
    background: #ffdbdb;
}