*,
*:before,
*:after {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;

    background-color: #c3c3c3;

    font-family: Arial, sans-serif;
}

.body-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    background-color: #fff;
    width: 900px;
    overflow: hidden;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

footer {
    padding: 20px;
    text-align: center;
    background: #e6ebd6;
    margin-top: auto;
}

header {
    padding: 20px;
    text-align: center;
    background: #fbfbfb;
    margin-bottom: 20px;
}

h1,
h2 {
    text-align: center;
}

ul {
    list-style: none;
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #0056b3;
    /*text-decoration: underline;*/
}

.link-underline:hover {
    text-decoration: underline;
}

/* ------ navbar starts ----- */
nav {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
}

.navbar {
    display: flex;
    font-size: 1rem;
}

.nav-item {
    margin-right: 10px;
}

.nav-active {
    background-color: #e7e7e7;
    color: #555555;
}

.nav-item:last-child {
    margin: 0;
}

.nav-item a {
    text-decoration: none;
    color: #777777;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 5px;
}

.nav-item a:hover {
    background-color: #e7e7e7;
    color: #555555;
}
/* ------ navbar end ----- */

/* ------ participant start  ----- */
.participants-wrap {
    margin-bottom: 15px;
}

#participants-menu {
    width: 30%;
    float: left;
    margin-right: 20px;
}

#participants-detail {
    width: 65%;
    float: left;
}

.participant-details-item {
    margin: 0;
    width: 100%;
    padding: 15px;
    border: 1px solid #004d84;
    border-radius: 10px;
    white-space: normal;
    word-wrap: break-word;
}

.participant-name {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.participant-phone {
    display: block;
    margin-bottom: 10px;
}

.participant-img {
    max-width: 150px;
    max-height: 150px;
    display: block;
    margin-bottom: 10px;
}

form {
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin: 0 auto;

    border-radius: 5px;
    border: 1px solid green;

    padding: 10px;
}

form input,
form button {
    width: 300px;
}

#message {
    font-weight: bold;
    text-align: center;
}

input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #c4c4c4;
    color: #323232;
}

input::placeholder {
    color: green;
}

#participantPhone::-webkit-outer-spin-button,
#participantPhone::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
#participantPhone {
    -moz-appearance: textfield;
}

.notificationsList,
.participantsClients{
    max-width: 100%;
    list-style: none;
    display: flex;
    /*justify-content: space-between;*/
}

.participantsClients{
    flex-direction: column;
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 15px;
    margin: 0;
    width: 100%;
}

.notificationsList {
    flex-direction: column;
    padding: 15px;
    width: 100%;
    border-radius: 10px;
    background-color: #f2f2f2;

}

.participantsClients::after,
.notificationsList::after {
    content: "";
    flex: auto;
}

.participantsClient,
.notificationItem {
    border: 1px solid #004d84;
    border-radius: 5px;
    padding: 10px;
}

.participantsClient {
    margin-bottom: 10px;
    width: 100%;
    word-wrap: break-word;
    overflow: hidden;
    white-space: normal;
}

.participantsClient:last-child {
    margin-bottom: 0;
}


/* ------ participant end  ----- */

/* ------ notifications start ----- */
.notifications-wrap {
    margin-bottom: 15px;
}

.notificationItem {
    margin-bottom: 10px;
    overflow: hidden;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
}

.notificationItem .title {
    font-size: 2rem;
    display: block;
}

.notification-item-link {
    width: 100%;
}

.participant-item-link {
    width: 100%;
}

#menu {
    width: 30%;
    float: left;
    margin-right: 20px;
}

#menu ul {
    margin: 0;
    width: 100%;
}

#details {
    width: 65%;
    float: left;
}

#details ul {
    width: 100%;
    padding: 15px;
    border: 1px solid #004d84;
    border-radius: 10px;
}

.details-item {
    margin: 0;
    white-space: normal;
    word-wrap: break-word;
}

.details-title {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.details-content {
    display: block;
    margin-bottom: 10px;
}

.float-clear {
    clear: both;
}

.errors {
    display: none;
    color: #ff0000;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;

}

/* ------ notifications end ----- */

/* ------ buttons start ----- */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}
/* ------ buttons end ----- */