html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.account-label {
    float: left;
}

.customers-buttons {
    display: inline-block;
    margin-bottom: 10px;
    margin-top: 5px;
}

.pre-delete-btn {
    position: absolute;
    top: 10px;
    right: 2px;
}

.profile-photo {
    float: left;
    width: 40%;
    display: block;
    margin: 10px auto 15px;
    border-radius: 3px;
}

.model-button {
    background-color: #FFC0CB;
    border: none;
    width: 120px;
}

.model-button.active {
    background-color: #FF69B4;
}

.model-button.active:hover {
    background-color: #FF69B4;
}

.model-button:hover {
    background-color: #FF69B4;
}

.user-button {
    background-color: #ADD8E6;
    border: none;
    width: 120px;
}

.user-button.active {
    background-color: #4169E1;
}

.user-button.active:hover {
    background-color: #4169E1;
}

.user-button:hover {
    background-color: #4169E1;
}

.model-from {
    width: 100%;
}

.model-from .btn {
    width: 100%;
    margin: auto;
}

.profile-photo-form {
    clear: left;
}

#submitProfileImage {
    width: calc((100% - 10px)/2);
    float: left;
}

#resetProfileImage {
    width: calc((100% - 10px)/2);
    float: left;
    margin-left: 10px;
}

.file-drop-zone {
    border: none;
}

.hidden-btn {
    display: none;
}

.model-form-private-info {
    text-align: center;
}

.calculation-details {
    color: grey;
    font-size: 12px;
}

.new-message {
    font-size: 8px;
    padding: 3px 5px;
    background-color: red;
}

.image-input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.travel-status {
    padding-top: 3px;
}

.payment-message {
    margin-bottom: 5px;
}

.reply-waiting {
    color: #0c5460;
    background-color: #d1ecf1;
}

.reply-declined {
    color: #383d41;
    background-color: #d6d8d9;
}

.reply-consider {
    color: #004085;
    background-color: #cce5ff;
}

.reply-selected {
    color: #155724;
    background-color: #d4edda;
}

.reply-action {
    color: #721c24;
    background-color: #f8d7da;
}

.btn-standard-length {
    width: 120px;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.travel-description {
    width: 100%;
    display: inline-block;
    margin-top: 15px;
}

.travel-title {
    color:green;
    padding-top: 10px;
}

.travel-finished {
    padding-top: 10px;
}

.travel-paused {
    color: #f0ad4e;
    padding-top: 10px;
}

.travel-details-image {
    padding-right: 15px;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-container .tooltip-content {
    visibility: hidden;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -160px;
    opacity: 0;
    transition: opacity 0.4s;
}

.tooltip-container .col-lg-1.control-label {
    margin-right: 30px;
}

.tooltip-container:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

.btn-left {
    margin-left: 0px;
}

.visa-mastercard-img {
    width: 150px;
    margin-top: 10px;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.alert-secondary {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.text-right {
    text-align: right!important;
}

.chat-message {
    min-width: 35%;
    max-width: 60%;
    border-radius: 12px;
    word-wrap: break-word;
    margin-bottom: 8px;
    position: relative;
    box-sizing: border-box;
    display: inline-block;
}

.message-own .chat-message {
    background-color: #337ab7;
    color: #fff;
    border-color: #337ab7;
    margin-left: auto;
    margin-right: 0;
    float: right;
    clear: right;
}

.message-own .chat-message p {
    color: #fff;
    margin-bottom: 4px;
}

.message-own .chat-message small {
    color: rgba(255, 255, 255, 0.8);
}

.message-other .chat-message {
    background-color: #f8f5f2;
    color: #000;
    border-color: #f8f5f2;
    margin-left: 0;
    margin-right: auto;
    float: left;
    clear: left;
}

.message-other .chat-message p {
    color: #000;
    margin-bottom: 4px;
}

.message-other .chat-message small {
    color: #000;
    opacity: 0.7;
}

.chat-message-wrapper {
    width: 100%;
    margin-bottom: 4px;
    clear: both;
}

.message-title {
    padding: 0 15px;
    margin-top: 4px;
}

.chat-row {
    margin-top: -20px;
}

.chat-recipient-info {
    height: 80px;
    padding: 0 15px;
    justify-content: space-between;
    display: flex;
    align-items: center;

}
.chat-back-container {
    padding-left: 0;
}
.chat-back-glyphicon {
    font-size: 25px;
}

.chat-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chat-image-container {
    height: 60px;
    width: 60px;
    min-width: 60px;
    padding: 0;
    margin: 0 15px 0 0;
    overflow: hidden;
    border-radius: 50%;
    flex-shrink: 0;
}

.chat-last-message {
    position: relative;
    float: left;
    padding: 0 15px;
}

.chat-list-item {
    cursor: pointer;
    margin-bottom: 8px;
    transition: transform 0.1s ease;
}

.chat-list-item:hover {
    transform: translateX(2px);
}

.chat-list-item:active {
    transform: translateX(0);
}

.chat-list-container {
    padding: 6px 7.5px;
    margin-bottom: 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
}

.chat-list-item:hover .chat-list-container {
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.chat-list-row {
    margin: 0;
}

.chat-list-content {
    overflow: hidden;
}

.chat-list-name {
    color: #333;
}

.chat-list-message {
    line-height: 1.4;
    max-height: 2.8em;
    overflow: hidden;
}

@media only screen and (max-width: 768px) {
    .chat-list-message {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 2.8em;
        line-height: 1.4;
    }
    
    .chat-list-content {
        flex: 1;
        min-width: 0;
        padding-right: 8px;
    }
    
    .chat-list-time {
        flex-shrink: 0;
        margin-left: 8px;
        min-width: auto;
    }
    
    .chat-list-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .chat-list-time i {
        font-size: 10px;
        line-height: 1.3;
    }
    
    .chat-list-name {
        font-size: 15px !important;
    }
    
    .chat-list-message {
        font-size: 13px !important;
        margin-top: 2px !important;
    }
    
    .message-container {
        padding: 10px 5px;
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }
    
    .chat-message-wrapper {
        width: 100%;
        clear: both;
        margin-bottom: 8px;
        position: relative;
        box-sizing: border-box;
    }
    
    .chat-input-container {
        position: relative;
        z-index: 10;
    }
    
    .message-container {
        position: relative;
        z-index: 0;
    }
}

.align-center-list {
    display: flex;
    justify-content: center;
}

#chat-request .btn {
    padding: 6px 25px;
}

.chat-message-container {
    margin-bottom: 2px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.message-container {
    padding: 10px 0;
    min-height: 200px;
    position: relative;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.message-row {
    width: 100%;
    margin: 0;
    clear: both;
    box-sizing: border-box;
}

.chat-message-wrapper {
    width: 100%;
    clear: both;
    margin-bottom: 8px;
    box-sizing: border-box;
    position: relative;
}

#message-form {
    position: relative;
    z-index: 1;
}

#message-form .emojionearea {
    position: relative;
    z-index: 1;
}

.btn-primary-interact {
    color: #fff;
    background-color: #FBB040;
    border-color: #faa627; }
.btn-primary-interact:focus, .btn-primary-interact.focus {
    color: #fff;
    background-color: #fa9b0e;
    border-color: #9f6003; }
.btn-primary-interact:hover {
    color: #fff;
    background-color: #fa9b0e;
    border-color: #e08805; }
.btn-primary-interact:active, .btn-primary-interact.active, .open > .btn-primary-interact.dropdown-toggle {
    color: #fff;
    background-color: #fa9b0e;
    border-color: #e08805; }
.btn-primary-interact:active:hover, .btn-primary-interact:active:focus, .btn-primary-interact:active.focus, .btn-primary-interact.active:hover, .btn-primary-interact.active:focus, .btn-primary-interact.active.focus, .open > .btn-primary-interact.dropdown-toggle:hover, .open > .btn-primary-interact.dropdown-toggle:focus, .open > .btn-primary-interact.dropdown-toggle.focus {
    color: #fff;
    background-color: #e08805;
    border-color: #9f6003; }
.btn-primary-interact:active, .btn-primary-interact.active, .open > .btn-primary-interact.dropdown-toggle {
    background-image: none; }
.btn-primary-interact.disabled, .btn-primary-interact.disabled:hover, .btn-primary-interact.disabled:focus, .btn-primary-interact.disabled.focus, .btn-primary-interact.disabled:active, .btn-primary-interact.disabled.active, .btn-primary-interact[disabled], .btn-primary-interact[disabled]:hover, .btn-primary-interact[disabled]:focus, .btn-primary-interact[disabled].focus, .btn-primary-interact[disabled]:active, .btn-primary-interact[disabled].active, fieldset[disabled] .btn-primary-interact, fieldset[disabled] .btn-primary-interact:hover, fieldset[disabled] .btn-primary-interact:focus, fieldset[disabled] .btn-primary-interact.focus, fieldset[disabled] .btn-primary-interact:active, fieldset[disabled] .btn-primary-interact.active {
    background-color: #FBB040;
    border-color: #faa627; }
.btn-primary-interact .badge {
    color: #FBB040;
    background-color: #fff; }
.btn-primary-interact {
    background: #FBB040;
    border: 2px solid #FBB040; }
.btn-primary-interact, .btn-success, .btn-info, .btn-warning, .btn-danger {
    border-color: transparent !important;
    padding-top: 10px;
    padding-bottom: 10px;
}
.btn-default:hover, .btn-default:active, .btn-default:focus, .btn-primary-interact:hover, .btn-primary-interact:active, .btn-primary-interact:focus, .btn-success:hover, .btn-success:active, .btn-success:focus, .btn-info:hover, .btn-info:active, .btn-info:focus, .btn-warning:hover, .btn-warning:active, .btn-warning:focus, .btn-danger:hover, .btn-danger:active, .btn-danger:focus {
    background: #444;
    color: #fff;
}
.btn-two-in-line {
    width: 44%;
}
.badge-vip {
    background-color: #3255f4;
    padding: 0.5em 1em;
    border-radius: 1rem;
    color: #fff;
}

.nav-header > li > a {
    padding: 20px 10px;
}

.category-cart {
    color: #818892;
}

.category-cart:focus, .category-cart:hover {
    text-decoration: none;
}

@media only screen and (max-width: 414px) {
    .image-input {
        display: inline-block;
    }

    #gallery-from .btn {
        margin: 5px auto;
    }

    .party-filter {
        margin-top: 40px;
    }

    .filter-item {
        margin-bottom: 20px;
    }
}

@media only screen and (min-width: 414px) {
    .party-filter {
        display: flex;
        justify-content: left;
        align-items: center;
        min-height: 70px;
        border-bottom: 1px solid #eee;
    }
}

@media only screen and (max-width: 768px) {
    .nav-header > li > a {
        padding: 10px 10px;
    }

    .travel-profile-image {
        display: inline-block;
    }

    .payment-message {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .travel-data {
        width: 50%;
        float:left;
    }

    .travel-image-div{
        width: 50%;
        float: right;
        margin-top: 5px;
    }

    .travel-image {
        width: 100%;
    }

    .customer-travel-data {
        width: 50%;
        float: left;
    }

    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }

    .file-drop-zone-title {
        padding: 0 10px 0 10px;
    }

    .full-btn {
        width: 100%;
        margin-right: 0;
    }

    .travel-details-image {
        width: 100%;
        align-content: center;
    }

    .tooltip-container .tooltip-content {
        margin-bottom: 5px;
    }

    .chat-message {
        min-width: 50%;
        max-width: 85%;
        padding: 10px 12px !important;
        font-size: 15px;
    }
    
    .message-own .chat-message {
        margin-right: 10px;
        border-bottom-right-radius: 4px;
    }
    
    .message-other .chat-message {
        margin-left: 10px;
        border-bottom-left-radius: 4px;
    }
    
    .chat-message p {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .message-title {
        margin-top: 6px;
    }
    
    .message-title small {
        font-size: 11px;
    }
    
    .chat-image-container {
        height: 50px;
        width: 50px;
        min-width: 50px;
    }
    
    .chat-list-container {
        padding: 5px 6px;
    }
    
    .chat-list-name {
        font-size: 15px;
    }
    
    .chat-list-message {
        font-size: 13px;
    }
    
    .chat-list-time {
        font-size: 10px;
    }
    
    .site-index .container {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
}

@media only screen and (min-width: 768px) {
    .payment-message {
        width: 200px;
        float: right;
    }

    .travel-data {
        width: 75%;
    }

    .travel-image-div {
        width: 25%;
        float: right;
        margin-top: 5px;
    }

    .travel-image {
        width: 200px;
        float: right;
    }

    .travel-profile-image {
        width: 35%;
        display: inline-block;
        margin-bottom: 15px;
        display: inline-block;
    }

    .customer-travel-data {
        clear: left;
    }

    .model-from {
        width: 43%;
    }

    .travel-details-image {
        width: 55%;
        float:left;
    }

    .tooltip-container .tooltip-content {
        margin-bottom: -5px;
    }
}

@media only screen and (max-width: 1199px) {
    .form-group {
        margin-bottom: 0px;
    }
}

@media only screen and (min-width: 1200px) {
    .profile-photo {
        width: 30%;
        display: inline;
        margin: 10px 0 10px 76px;
    }

    #submitProfileImage {
        width: calc((100% - 26% - 2%)/2);
        margin-left: 16%;
    }

    #resetProfileImage {
        width: calc((100% - 26% - 2%)/2);
        margin-left: 10px;
    }

    .model-from .btn {
        width: 80%;
    }

    .profile-photo-form .btn {
        width: 73.5%;
        margin-left: 16%;
    }

    .profile-photo-form div label {
        margin-left: 70px;
    }

    #submitImage{
        margin-left: 70px;
    }

    .registration-buttons {
        margin-left: 17.2%;
    }

    .party-payment-details {
        width: 33%;
    }

    .model-from .col-lg-4 {
        margin-left: 35px;
        width: 75%;
    }

    .model-from .btn-success {
        margin-left: 35px;
    }

    .tooltip-container .tooltip-content {
        left: 0px;
        margin-left: 0px;
        width: 70%;
    }

    .travel-description .col-lg-4 {
        width: 70%;
    }
}