#loadingImage {
    padding: 40px 0;
}

#ownuploadbox {
    margin-bottom: 30px !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#ownuploadbox>div {
    padding: 0 10px;
}

#ownuploadbox>div>a {
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, .125);
    box-shadow: none !important;
}

#ownuploadbox>div>a .h2 {
    font-size: 1.25rem;
}

#ownuploadbox>div>a .h4 {
    font-size: 1rem;
}

.reduce-prom {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
}

.box-tab:not(.active) {
    display: none;
}

.new-box {
    margin-bottom: 60px;
}

.new-box .card-body {
    position: relative;
}

.new-box #photo_of_the_day_box .card-header {
    background-color: rgba(245, 245, 220, 0.80);
}

.new-box .card-header {
    position: relative;
    padding: 10px 15px;
}


.new-box .card-header .name {
    font-style: normal;
}

.new-box .card-header .note {
    margin-left: 5px;
    font-style: italic;
}

.new-box h5.photo-title {
    font-weight: 400;
}

#photo_of_the_day_box .card-body.p-3 {
    background-color: rgba(245, 245, 220, 0.40);
}

.tag-of-the-day {
    position: absolute;
    right: 12px;
    top: 15px;
    background-color: transparent;
    color: teal;
    border: none;
    width: auto;
    padding: 0;
}

.tag-of-the-day h5 {
    font-size: 1.25rem;
    font-weight: 400;
}

.timeTag {
    position: absolute;
    right: 17px;
    top: 15px;
    line-height: 1.2;
    font-size: 1.25rem;
}

.recent-header {
    margin-top: 30px;
}

.filters {
    margin-bottom: 25px;
}

.filters a {
    padding: 5px 20px;
    margin-right: 10px;
    color: #007bff;
    background-color: transparent;
    border-radius: 4px;
    display: inline-block;
}

.add-text {
    margin-top: 5px;
    text-align: center !important;
}

.id-face-block {
    margin-top: 30px !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 20px 0;
}

.id-face-block .col-md-2 {
    padding-right: 0;
}

.id-face-block .col-md-2>img {
    width: 100%;
    height: auto;
}

.id-face-block .card-body {
    padding: 0 !important;
}

.id-face-block .identity-wrapper .identity-block {
    position: relative;
    padding: 15px 0;
    border-bottom: 1px rgba(0, 0, 0, .125) solid !important;
    margin-bottom: 5px;
}

.id-face-block .identity-wrapper .identity-block:first-of-type {
    padding-top: 0;
}

.id-face-block .identity-wrapper .identity-block:last-of-type {
    padding-bottom: 0;
    border: none !important;
    margin-bottom: 0;
}

.id-face-block .identity-block .id-status {
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 3px 10px;
    border-radius: 4px;
}

.id-face-block .card-body .identity-block .id_title_comparison {
    padding-right: 155px;
}

.id-face-block .identity-block:first-of-type .id-status {
    top: 0;
}

.identity-block .name {
    padding-right: 160px;
}

.identity-block .unit,
.identity-block .rank {
    margin-bottom: 0px;
    margin-top: 0.3rem;
}

.identity-block .service.row {
    -webkit-box-align: start;
    -ms-flex-align: start;
    -ms-grid-row-align: flex-start;
    align-items: flex-start;
    margin-bottom: 5px;
    margin-top: 3px;
}

.identity-block .service.row h6 {

    margin-bottom: 10px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.identity-block #units_table td {
    padding: 0 3px;
}

.identity-block .rank .badge,
.activities>ul li .badge {
    color: #6c757d;
    background: white;
    border: 1px#6c757d solid;
    line-height: 1.5;
    font-weight: 400;
    display: inline-block;
    margin-bottom: 4.8px;
    margin-bottom: 4.8px;
    margin-bottom: 0.3rem;
    margin-right: 5px;
}

.activities>ul li .badge {
    font-size: 0.9rem;
}

.inner-subtitle {
    margin: 15px 0 0px;
}

.activities>ul {
    padding-left: 0px;
}

.activities>ul li {
    list-style: none;
    position: relative;
    padding-bottom: 15px;
}

.activities>ul li {
    margin: 15px 0;
}


.activities>ul li:first-of-type {
    margin-top: 10px;
}

.activities>ul li .mr-2 {
    width: 25px;
    overflow: visible;
}

.activities>ul li .mr-2+span {
    width: calc(100% - 25px);
    padding-right: 125px;
}

.activities>ul li .text-muted {
    padding-left: 33px;
}

.activities {
    padding-bottom: 60px;
}

.cta-block {
    position: absolute;
    bottom: 0px;
    left: 35px;
    border-top: 1px solid rgba(0, 0, 0, .125);
    padding: 15px 0 0;
    width: calc(100% - 35px);
}

.cta-block>div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5px;
}

.cta-block .cta-text {
    font-size: 1.15em;
}

.cta-block .cta-btn {
    font-size: 1.15em;
    padding: 5px 25px;
    border-radius: 4px;
    margin-left: 25px;
    cursor: pointer;
    display: block;
}

.show-more.cta-btn {
    margin: auto;
    display: block;
    border: none;
}

#ownuploadbox .w-100 {
    display: none;
}

.activities>ul li .badge {
    white-space: normal;
    text-align: left;
}

.activities>ul li .badge .key,
.activities ul li .badge .val {
    display: inline-block;
}

.activities>ul li .badge .key {
    margin-right: 5px;
}

.activities>ul li .date-from {
    position: absolute;
    right: 5px;
    top: 2px;
    font-weight: 400;
    width: 125px;
    text-align: right;
}


@media all and (max-width: 991px) {
    .activities {
        padding-bottom: 85px;
    }

    .cta-block {
        padding-top: 10px;
    }

    .cta-block>div {
        display: block;
        text-align: center;
    }

    .cta-block .cta-text {
        text-align: left;
        margin-bottom: 10px;
    }

    .cta-block .cta-btn {
        width: 240px;
        margin: 5px auto 0 0;
    }

    .filters a {
        margin-bottom: 5px;
    }
}

@media all and (max-width: 767px) {
    .tooltip {
        display: none !important;
    }
    .identity-block .card-footer {
        text-align: left !important;
    }

    .identity-block .name {
        padding-right: 0px;
    }

    .cta-block {
        border-top: none;
        width: 100%;
        margin: auto;
    }

    .cta-block .cta-text {
        text-align: center;
    }

    .cta-block .cta-btn {
        margin: 5px auto 0;
    }

    .cta-block>div {
        padding: 0;
    }

    .filters {
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        padding-top: 10px;
        pointer-events: all;
        padding-left: 5px;
    }

    .tag-of-the-day,
    .timeTag {
        position: static;
        text-align: center;
        margin-bottom: 10px;
        display: block;
    }

    .activities>ul li .mr-2+span {
        padding-right: 0;
        width: 100%;
    }

    .dono-row .btn-lg {
        font-size: 1.2rem;
        padding: 0.5rem !important;
    }

    #ownuploadbox .w-100 {
        display: block;
    }

    #ownuploadbox .col {
        padding: 0 5px;
        margin: 5px 0;
    }

    #ownuploadbox>div>a .h4 {
        font-size: 0.9rem;
    }

    .id-face-block .identity-block .id-status {
        position: static;
    }

    .id-face-block .card-body .identity-block .id_title_comparison {
        padding-right: 0px;
    }

    .id-face-block>.col-md-2 {
        width: 125px;
    }

    .id-face-block .col-md-10 {
        width: calc(100% - 125px);
    }

    #units_table td {
        padding: 0.1rem;
    }

    .activities {
        padding-bottom: 0px;
    }

    .cta-block {
        position: static;
    }

    .activities>ul li {
        padding-bottom: 20px;
    }

    .activities>ul li .date-from {
        right: auto;
        left: 38px;
        bottom: 0;
        top: auto;
        text-align: left;
    }
}

@media all and (max-width: 450px) {
    .id-face-block {
        padding: 10px 0;
    }

    .id-face-block>.col-md-2 {
        width: 75px;
        padding-left: 10px;
    }

    .id-face-block .col-md-10 {
        width: calc(100% - 75px);
        padding: 0 10px;
    }

    .cta-block .cta-btn {
        margin: 5px auto 0;
    }

    .cta-block .cta-text {
        text-align: center;
    }
}

@media all and (max-width: 395px) {
    .id-face-block>.col-md-2 {
        width: 75px;
    }

    .id-face-block .col-md-10 {
        width: calc(100% - 75px);
    }
}