.box {
    margin-bottom: 10px;
    box-shadow: 0 0px 2px 2px rgba(0, 0, 0, 0.2);
}

.box .box-header {
    background-color: #017882;
    color:white;
    padding:10px;
    word-wrap: break-word;
}

.box .box-content {
    padding:10px 5px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.box-content .box-data {
    width:100%;
    padding:5px;
}

.box-data .box-item {
    margin-bottom:10px;
    display: inline-flex;
    position: relative;
    width:100%;
}

.box-item .item-header {
    width:20%; float:left;
    font-weight: bold;
}

.box-item .item-content {
    float: left;
    word-break: break-all;
    white-space: normal;
    width:80%;
}

.box-content .box-action {
    padding:5px;
    font-size: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    flex-direction: column;
}

.box-action-item {
    line-height: normal;
    margin: 5px 0px;
}

.box-action-item .text{
    font-size: 10px;
    display: block;
}

.validation-error {
    display: block;
    padding: 5px;
    margin: 2px 0px;
    background-color: #f0545f;
    color: white;
}

@media screen and (max-width: 768px) {
    .box .box-content {
        display: block;
    }

    .box-content .box-action {
        justify-content: center;
        flex-direction: row;
    }

    .box-action-item {
        margin: 0px 10px;
    }
}

/* For loading Modal
Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */

.loading-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8) url('https://i.stack.imgur.com/FhHRx.gif') 50% 50% no-repeat;
    align-items: center;
}

.loading-modal .loading-message {
    position: relative;
    width: 100%;
}

.loading-message .text {
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: center;
}


/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */

body.loading .loading-modal {
    overflow: hidden;
}


/* Anytime the body has the loading class, our
   modal element will be visible */

body.loading .loading-modal {
    display: flex;
}

.pagination-bubble {
    text-align: center;
}

.pagination {
    box-shadow: 0 0px 2px 2px rgba(0, 0, 0, 0.2);
}

.card-float {
    box-shadow: 0 0px 2px 2px rgba(0, 0, 0, 0.2);
}


/* float menu */
.float-nav {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
}

.float-nav>a.menu-btn {
    text-decoration: none;
    display: block;
    background-color: #0069b0;
    color: white;
    padding: 17px 19px 12px 19px;
    text-align: center;
    box-shadow: 2px 2px 8px #777;
    border-radius: 50%;
}

.float-nav>a.menu-btn.active {
    transition: background-color 250ms linear;
    background-color: transparent;
    box-shadow: none;
}

.float-nav>a.menu-btn>ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.float-nav>a.menu-btn>.menu-txt {
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-family: sans-serif;
}

.main-nav {
    display: none;
    opacity: 0;
    font-family: sans-serif;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: opacity 250ms;
}

.main-nav.active {
    display: block;
    opacity: 1;
    transition: opacity 250ms;
}

.main-nav>ul {
    width: 100%;
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #0069b0;
    box-shadow: 2px 2px 8px #777;
    border-radius: 3px 3px 33.5px 3px;
}

.main-nav>ul>li>a {
    text-decoration: none;
    display: block;
    font-weight: 200;
    padding: 18px 80px 18px 18px;
    color: white;
}

.main-nav>ul>li>a:hover {
    font-weight: 400;
    background-color: white;
    color: #0069b0;
}

.progressbar {
    counter-reset: step;
    position: relative;
}
.progressbar li {
    list-style-type: none;
    width: 20%;
    float: left;
    font-size: 12px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    color: #7d7d7d;
}
.progressbar li:before {
    width: 30px;
    height: 30px;
    content: counter(step);
    counter-increment: step;
    line-height: 30px;
    border: 2px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
    z-index: 1;
}

.progressbar li:after {
    width: calc(100% - 30px);
    height: 2px;
    content: '';
    position: absolute;
    background-color: #7d7d7d;
    top: 15px;
    left: calc(-50% + 15px);
    z-index: 0;
}
.progressbar li:first-child:after {
    content: none;
}
.progressbar li.active {
    color: green;
}
.progressbar li.active:before {
    border-color: #55b776;
    font-family: "FontAwesome";
    content: '\f00c';
}
.progressbar li.active + li:after {
    background-color: #55b776;
}