html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: normal;
    min-height: 100%;
    position: relative;
    background-color: #fff;
}
body.with-bg {
    background-color: #f5f7f7;
}

.body-content {
    /*min-width: 360px;*/ /* disabled due to h.scroll appears on iPhone 5 (320px) */
    /* 1px top: prevent margin collapse and excess scroll */
    padding: 1px 10px 1px;
    margin: auto;
    position: relative;
}
@media (min-width: 1020px) { /*20px padding*/
    .body-content {
        width: 1000px;
    }
}

@media (min-width: 550px) {
    .body-content > .narrow,
    .body-content > div > .narrow {
        width: 500px;
        margin: auto;
        display: block;
    }
}

.body-content > .min-height {
    min-height: 900px; /*replacement of 'footer-spacer x3'*/
}

/* temporary to display errors */
.message {
    color: red;
    margin: 5px 0;
}

.buttons {
    text-align: center;
    margin: 40px auto 30px;
}
.buttons .btn,
.buttons .btn-flat {
    min-width: 120px;
}

.buttons .non-mobile {
    display: inline;
}


optgroup {
    background: #f0f0f0;
}
option[value=''] {
    color: #aaa;
}

textarea {
    max-width: 100%;
}

select.compact-padding {
    padding-left: 2px;
    padding-right: 2px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.fa { /* added after v4.5->4.7 migration */
    vertical-align: middle;
}

em {
    font-style: normal;
}

.btn-flat {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    color: white;
    text-align: center;
    padding: 8px 22px;
    line-height: 22px;
    border-radius: 3px;
    /*margin-top: 3px;*/
    text-transform: uppercase;
    background-color: #009EE2;
    /*background-color: #03bfe8;*/
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: none;
    text-shadow: none;
}
.btn-flat:hover {
    color: white;
    background-color: #0090ca;
    /*background-color: #0EABCE;*/
}
.btn-flat:active,
.btn-flat:focus,
.btn-flat:active:focus /*override Bootstrap*/ {
    color: white;
}
.btn-flat .fa {
    font-size: 22px;
    margin-top: 1px;
}
.btn-flat:not(.no-text) .fa:first-child {
    margin-right: 10px !important;
}
.btn-flat:not(.no-text) .fa:last-child {
    float: right;
    margin-left: 10px;
    margin-right: 0 !important;
}

.btn-flat[disabled],
.btn-flat.disabled {
    cursor: not-allowed;
    opacity: .65;
}

.btn-flat.btn-dark:not(:hover) {
    background: #4c5355;
}

.btn-flat.btn-primary:after {
    content: " !wrong style combination!";
}

.btn-flat.btn-default:not(:hover) {
    background: #949494;
}
.btn-flat.btn-default:hover {
    background: #808080;
}

.btn-flat.btn-success {
    background: #00ca52;
}
.btn-flat.btn-success:hover {
    background: #00b85c;
}

.btn-flat.btn-warning {
    background: #f0ad4e;
}
.btn-flat.btn-warning:hover {
    background: #e6a34e;
}

.btn-flat.btn-danger {
    background: #ff4141;
}
.btn-flat.btn-danger:hover {
    background: #de4040;
}

.btn-flat.btn-default-blue {
    border: 1px solid transparent;
}
.btn-flat.btn-default-blue:not(:hover) {
    color: #019CDE;
    border: 1px solid #019CDE;
    background: white;
}
.btn-flat.btn-default-blue.transparent:not(:hover) {
    background: transparent;
}

.btn-flat.btn-sm {
    font-size: 13px;
    font-weight: normal;
    line-height: 20px;
    padding: 3px 10px;
    text-transform: none;
}
.btn-flat.btn-sm:not(.no-text) .fa:first-child {
    margin-right: 5px !important;
}
.btn-flat.btn-sm:not(.no-text) .fa:last-child {
    float: right;
    margin-left: 5px;
    margin-right: 0 !important;
}

.btn-flat.btn-lg {
    height: 50px;
    font-size: 15px;
    min-width: 140px;
    line-height: 34px;
}

.btn-flat.btn-no-border {
    color: #9f9f9f;
    border-radius: 5px;
    border: 1px solid transparent;
    background-color: transparent;
    position: relative;
}
.btn-flat.btn-no-border:not(:hover) .fa {
    color: #54ccff;
}
.btn-flat.btn-no-border:hover {
    color: #009ee2;
    border-color: #009ee2;
    background-color: #f4fcff;
}

/*.btn-flat.btn-danger {
    color: #ff6262;
    border-radius: 5px;
    border: 1px solid #ff6262;
    background-color: white;
}
.btn-flat.btn-danger:hover {
    color: #ff6262;
    background-color: #fff5f5;
}*/

.btn-flat.btn-danger-lite {
    color: #9f9f9f;
    border-radius: 5px;
    border: 1px solid transparent;
    background-color: transparent;
}
.btn-flat.btn-danger-lite:not(:hover) .fa {
    color: #ff7b7b;
}
.btn-flat.btn-danger-lite:hover {
    color: #ff6262;
    border-color: #ff6262;
    background-color: #fff5f5;
}


.btn-flat.btn-expanded {
    position: relative;
}
.btn-flat.btn-expanded:active {
    /* remove focus border while user holds mouse down, it looks bad with a triangle (it should be shown when Tab is used) */
    outline: none;
}
.btn-flat.btn-expanded:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 45%;
    left: calc(50% - 8px);
    /* triangle arrow */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 8px 0 8px;
    border-color: #009EE2 transparent transparent transparent;
}
.btn-flat.btn-expanded:hover:after {
    border-top-color: #0090ca;
}

.btn-cancel .fa.fa-angle-left {
    font-size: 20px;
    margin-top: -3px;
}

.btn-close-x {
    color: white;
    top: 10px;
    right: 12px;
    position: absolute;
    opacity: 1;
    font-weight: normal;
    cursor: pointer;
}
.btn-close-x:hover {
    color: #ddd;
}
.btn-close-x .fa {
    font-size: 18px;
}

/**************** Header v2 ******************/

.header2 {
    min-height: 50px;
    /*background-color: #384345;*/
    /*background-color: #34495e;*/
    /*background-color: #303a3c;*/
    background-color: #232a2b;
    font-size: 13px;
    /*box-shadow: 0 2px 3px rgba(0,0,0,.2);*/
}
.header2 .header-content {
    margin: auto;
    max-width: 980px;
    position: relative;
}

.header2 .logo-with-domain {
    float: left;
}
.header2 .logo-with-domain img {
    float: left;
    padding-left: 8px;
    margin-top: 10px;
    max-height: 28px;
}
.header2 .logo-with-domain span {
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 0 12px;
    line-height: 50px;
}

.header2 .header-item {
    float: right;
    line-height: 50px;
    height: 50px;
    border-right: 1px solid #566465;
    padding: 0 20px;
    transition: background-color 0.1s ease-out;
    text-transform: uppercase;
}
/* prevent link effect on hover for button */
.header2 .header-item:not(.btn-flat) {
    background-color: transparent;
}
.header2 .header-item.first {
    border-left: 1px solid #566465;
}
.header2 .header-item:hover:not(.btn-flat):not(.no-hover) {
    background-color: #101010; /*#1e292b;*/ /*#11191B;*/
}
.header2 .header-item:not(.no-text) > .fa {
    margin-right: 3px;
}
.header2 .header-item.saved-link {
    position: relative;
}
.header2 .header-item.saved-link .fa {
    font-size: 26px;
    margin-top: -1px;
}
.header2 .header-item.saved-link .badge {
    background-color: #009ee2;
    background-color: #00c51f;
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 2px 4px 3px;
    font-size: 11px;
    min-width: 16px;
}
/* do not upper case user name and dropdown menu items */
.header2 .header-item .dropdown-menu {
    text-transform: none;
}
.header2 .header-item.my-account-menu .dropdown-button {
    font-size: 14px;
    text-transform: none;
}
/*.header2 .header-item.my-account-menu .icon-contacts {
    font-size: 16px;
}*/
.header2 .header-item.my-account-menu .dropdown-menu .fa {
    margin-right: 10px;
}
.header2 .header-item.my-account-menu .icon-manager {
    max-width: 23px;
    margin-right: 6px;
}

.header2 .my-account-menu .dropdown-toggle .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 2px 4px 3px;
    font-size: 11px;
    min-width: 16px;
    background-color: #de0000;
}
.header2 .my-account-menu .dropdown-menu .badge {
    text-align: center;
    position: static;
    padding: 3px 6px 3px;
    font-size: 13px;
    min-width: 16px;
    background-color: #de0000;
    border-radius: 12px;
    margin: -3px 0 auto 8px;
}

.header2,
.header2 a {
    color: white;
}
.header2 a:hover {
    color: white;
}

.header2 .icon {
    margin-right: 0;
    position: relative;
    top: -1px;
}

.header2 img.icon-menu {
    width: 25px;
    max-width: 25px;
}
/*.header2 .fa.fa-bars {
    font-size: 18px;
}*/
.header2 .photo-link {

}
.header2 img.icon-photo {
    width: 28px;
    max-width: 28px;
}
/*.header2 .photo-link .fa {
    font-size: 18px;
    margin-right: 0;
}*/
.header2 .admin-link .fa {
    color: #ea0000;
    font-size: 24px;
}
.header2 .user-name {
    max-width: 100px;
    display: inline-block;
    vertical-align: middle;
}
.header2 img.icon-login {
    width: 20px;
    max-width: 20px;
    margin-right: 10px;
}

/* show short version of header on small screens */
@media(max-width: 800px) {
    .header2 .long {
        display: none;
    }
    .header2 .short {
        display: inline;
    }
}

@media(max-width: 550px) {
    /* hide any text on mobile */
    .header2 .non-tiny {
        display: none;
    }
    .header2 .no-text-if-tiny .fa,
    .header2 .no-text-if-tiny i,
    .header2 .no-text-if-tiny img {
        margin-right: 0 !important;
    }
    /* decrease padding */
    .header2 .header-item {
        padding: 0 12px;
    }
}

@media(max-width: 400px) {
    .header2.is-admin .saved-link {
        display: none;
    }
}
@media(max-width: 359px) {
    .header2 .saved-link {
        display: none;
    }
}

/* Language selector */
.app-menu .lang-selector {
    line-height: 32px;
    height: 32px;
}
.app-menu .lang-selector div {
    width: 50%;
    text-align: center;
    float: left;
    color: black;
}
.app-menu .lang-selector div:first-child {
    border-right: 1px solid #dbdbdb;
    box-sizing: border-box;
}
.app-menu .lang-selector div.current {
    color: #9a9a9a;
    position: relative;
    padding-left: 14px;
}
.app-menu .lang-selector div.current:before {
    content: "\f00c";
    font: normal normal normal 14px/1 FontAwesome;
    position: absolute;
    left: 16px;
    top: 9px;
}
.app-menu .lang-selector div:not(.current):hover {
    font-weight: bold;
    background-color: #e0e0e0;
    cursor: pointer;
    color: #333;
}

/**************** Header ******************/

.header {
    min-height: 36px;
    /*background-color: #384345;*/
    background-color: #232a2b;
    font-size: 14px;
    /*box-shadow: 0 2px 3px rgba(0,0,0,.2);*/
}
.header .header-content {
    margin: auto;
    max-width: 980px;
    position: relative;
}

.header .logo-with-domain {
    float: left;
}
.header .logo-with-domain img {
    float: left;
    padding-left: 8px;
    margin-top: 5px;
    max-height: 24px;
}
.header .logo-with-domain span {
    color: white;
    font-size: 17px;
    font-weight: bold;
    padding: 0 12px;
    line-height: 36px;
}

.header .header-item {
    float: right;
    line-height: 36px;
    height: 36px;
    border-right: 1px solid #767E81;
    padding: 0 13px;
    transition: background-color 0.1s ease-out;
}
.header .header-item.first {
    border-left: 1px solid #767E81;
}
.header .header-item:hover:not(.no-hover) {
    background-color: #101010; /*#11191B*/
}
.header .header-item.no-text {
    padding: 0 13px; /*a bit smaller padding*/
}
.header .header-item:not(.no-text) > .fa {
    margin-right: 3px;
}

.header,
.header a {
    color: white;
}
.header a:hover {
    color: white;
}

.header .fa.fa-bars {
    font-size: 18px;
}
.header .photo-link {
    padding: 0 12px !important;
}
.header .photo-link .fa {
    font-size: 18px;
    margin-right: 0;
}
.header .admin-link .fa {
    color: #ea0000;
    margin-top: 2px;
}

@media(max-width: 900px) {
    .header .header-item {
        padding: 0 6px;
    }
}

/* show short version of header on small screens */
@media(max-width: 720px) {
    .header .long {
        display: none;
    }
    .header .short {
        display: inline;
    }
}

/************** Info header ****************/
.info-header {
    min-height: 35px;
    background-color: #00b2ff;
    color: white;
}
.info-header.warn {
    background-color: #fb5050;
}
.info-header.warn.pulse {
    animation: info-header-pulse-red 1s infinite alternate;
}
.info-header .header-content {
    margin: auto;
    max-width: 980px;
    position: relative;
    padding: 5px 0;
    font-weight: bold;
    text-align: center;
}
.info-header .btn {
    font-weight: bold;
}
.info-header .more-link {
    display: none;
    color: #e0eeff;
    text-decoration: underline !important;
}
@media(max-width: 980px) {
    .info-header .header-content {
        padding: 10px 10px;
        text-align: left;
    }
}
@media(max-width: 500px) {
    .info-header .btn {
        display: none;
        /*padding: 3px 12px;*/
    }
    .info-header .more-link {
        display: inline-block;
    }
}
@keyframes info-header-pulse-red {
    from {
        background-color: #fb4040;
    }
    to {
        background-color: #FA6060;
    }
}

.vex-dialog-message .title {
    font-size: 18px;
    padding-bottom: 15px;
    font-weight: bold;
}

/******* Create button (header, my listings) *********/
.btn-create-ad-from-header {
    border-radius: 0;
}
.btn-create-ad-from-header i {
    padding-top: 0;
    margin-right: 10px !important;
    display: inline-block;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 25px;
    vertical-align: middle;
}
.btn-create-ad-from-header i:before {
    content: "+";
}

.btn-create-ad {
    border-radius: 0;
    font-weight: bold;
}
.btn-create-ad .fa {
    font-size: 16px;
}

@media(max-width: 640px) {
    /*adjust v.align*/
    .btn-create-ad-from-header i {
        line-height: 27px;
    }
}

/******* Ad create dialog *********/
.ad-create-dialog {

}
.ad-create-dialog .modal-dialog {
    max-width: 500px;
}
.ad-create-dialog .modal-body {
    padding: 40px 50px 60px;
}
.ad-create-dialog .modal-content {
    border-radius: 0;
}
.ad-create-dialog .dlg-t { /*title*/
    color: black;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}
.ad-create-dialog u { /*title underline*/
    display: block;
    position: relative;
    height: 0;
    line-height: 0;
    margin: 10px auto 40px;
}
.ad-create-dialog u:after {
    content: ' ';
    display: inline-block;
    width: 190px;
    height: 0;
    border-bottom: 3px solid #FDC300;
}
.ad-create-dialog .btn-flat {
    display: block;
    margin-top: 17px;
    text-align: center;
    font-size: 14px;
}
.ad-create-dialog button.close {
    font-size: 40px;
    position: absolute;
    right: 14px;
    top: 8px;
}
@media(max-width: 600px) {
    .ad-create-dialog .modal-body {
        padding: 30px 30px 45px;
    }
}

/******* Dropdowns: My account and App menu *********/

.header2 .dropdown {
    padding: 0; /* padding is on dropdown-button level */
}
.header2 .dropdown .dropdown-button {
    line-height: 50px;
    cursor: pointer;
    padding: 0 20px;
}
.header2 .dropdown .dropdown-button:hover {
    color: white;
}
.header2 .dropdown .icon-manager.fa {
    position: relative;
    left: -1px;
}
.header2 .dropdown .icon-exit {
    color: rgba(255, 0, 0, 0.64);
}
@media(max-width: 500px) {
    /* decrease padding, same as for .header-item */
    .header2 .dropdown .dropdown-button {
        padding: 0 12px;
    }
}

/******* Dropdowns: My account and App menu *********/

.header .dropdown {
    padding: 0; /* padding is on dropdown-button level */
}
.header .dropdown .dropdown-button {
    line-height: 36px;
    cursor: pointer;
    padding: 0 12px; /*easier to click*/
}
.header .dropdown .dropdown-button:hover {
    color: white;
}
.header .dropdown .icon-exit {
    color: rgba(255, 0, 0, 0.64);
}

/****************** Footer ***********************/

#footer {
    color: #e6e6e6;
    background-color: #242c2d;
    text-align: center;
    min-height: 60px;
    margin-top: 50px;
}
#footer .footer-content {
    margin: auto;
    max-width: 980px;
    position: relative;
    padding: 20px 15px 0;
}
#footer .logo-with-domain img {
    margin-top: 3px;
    max-height: 20px;
}
#footer .copy {
    /*margin-top: 5px;*/
}
#footer .copy img.logo {
    max-width: 150px;
    /*opacity: 0.9;*/
    margin-bottom: 12px;
}
#footer .version {
    color: transparent;
    position: absolute;
}
#footer a {
    color: white;
    text-decoration: underline !important;
    font-size: 13px;
}
#footer a:hover {
    text-decoration: none !important;
}
#footer .footer-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #323C3E;
    border-radius: 4px;
    min-width: 140px;
    text-align: center;
}
#footer .block {
    float: left;
    width: 100%;
    max-width: 180px;
    text-align: left;
    margin-bottom: 20px;
}
#footer .block.copy {
    max-width: 35%;
}
#footer .block.social {
    float: right;
    margin-top: 5px;
    max-width: 245px;
}
#footer .block > a {
    display: block;
}
#footer .payment-icons {
    float: right;
    margin: 18px 8px 0;
}
#footer .payment-icons img {
    max-height: 24px;
}
@media (max-width: 700px) {
    #footer .block {
        width: 50%;
        float: left;
        max-width: none !important;
    }
    #footer .block.social .hint {
        display: none;
    }
    #footer .payment-icons {
        float: none;
        margin-left: 0;
    }
    #footer a {
        font-size: 14px;
    }
}
@media (max-width: 500px) {
    #footer .block {
        width: 100%;
        float: left;
        text-align: center;
    }
}

.footer-spacer {
    height: 220px;
}
.footer-spacer.x2 {
    height: 500px;
}
.footer-spacer.x3 {
    height: 700px;
}


/*************** Errors and flash messages ********************/

.errors, .messages {
    text-align: center;
    padding: 0;
    margin: 10px 0 5px;
    font-size: 14px;
}
.errors ul, .messages ul {
    font-weight: normal;
    color: black;
    display: inline-block;
    text-align: left;
    list-style: none;
    padding: 0;
}
.errors ul .icon, .messages ul .icon {
    font-size: 24px!important;
    padding-left: 0;
    padding-right: 5px;
    margin-top: -1px;
}
.errors ul, .errors ul .icon {
    color: red !important;
}
.messages ul {
    font-weight: bold;
    color: #00ad00;
}
.messages ul .icon {
    color: #62bb46!important;
}
.errors ul li+li, .messages ul li+li {
    margin-top: 2px;
}

/* smaller inline version of errors */
.inline-messages {
    display: none;
    font-weight: normal;
    text-align: left;
    text-transform: none;
    line-height: 1.4em;
    margin: 10px 0 10px 3px;
    padding-left: 0;
    color: black;
}
.inline-messages li {
    list-style: none;
    display: block;
    text-align: left;
    clear: left;
}
.inline-messages .icon {
    font-size: 22px!important;
    padding-right: 5px;
    float: left;
}
.inline-messages .error,
.inline-messages .error .icon {
    color: red !important;
}
.inline-messages .message {
    color: black;
}
.inline-messages .message .icon {
    color: #62bb46!important;
}
.inline-messages .warning {
    color: black;
}
.inline-messages .warning .icon {
    color: #ff9100 !important;
}


.ad-status-banner {
    padding: 10px;
    margin: 3px 0 5px;
    text-align: center;
    background-color: #ff6262;
    color: white;
    font-size: 1.4em;
}
.ad-status-banner.in-review {
    background-color: #ffd441;
    color: #3287d2;
}
.ad-status-banner .details {
    font-size: 15px;
    margin-top: 5px;
}
.ad-status-banner .details a {
    color: white !important;
    text-decoration: underline !important;
    font-weight: bold;
}

.you-have-ad-draft-msg {
    text-align: center;
    font-size: 1.2em;
    margin: 15px 0;
}
.you-have-ad-draft-msg .fa {
    color: orange;
    margin-right: 4px;
}

/* see AdStatusEnum */
.status.DRAFT {
    color: #bd7c00;
}
.status.ACTIVE {
    color: green;
}
.status.INACTIVE {
    color: #909090;
}
.status.DELETED {
    color: #909090;
}

/* see AdApprovalStatusEnum */
.approval-status.PENDING {
    color: #FFB800;
}
.approval-status.APPROVED {
    color: green;
}
.approval-status.REJECTED {
    color: red;
}

/* Breadcrumbs - search chain */
.breadcrumbs {
    font-size: 14px;
    margin: 10px 0 10px;
}
.breadcrumbs .chain-spacer {
    opacity: 0.5;
    vertical-align: text-bottom;
    padding: 0 1px 0 2px;
    font-size: 17px;
}
/* capitalize first letter of text */
.breadcrumbs .chain-step {
    display: inline-block;
}
.breadcrumbs .chain-step.capitalized:first-letter {
    text-transform: uppercase;
}
.breadcrumbs .old-name {
    white-space: pre-wrap;
}

.share-buttons {
    margin-bottom: 30px;
    padding-bottom: 20px;
    padding-top: 20px;
    background: #04a9de;
    text-align: center;
}
.share-buttons .title {
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
}

.social-links {
    /*display: inline-block;*/
    /*margin-top: 10px;*/
}
.social-links img {
    width: 30px;
    height: 30px;
}
.social-links img:not(:hover) {
    opacity: 0.9;
}
.social-links a {
    margin-right: 0 !important;
}
.social-links a+a {
    margin-left: 3px;
}

/* 'Pickadate' date picker styling */
.picker {

}
.picker__holder {
    overflow-y: hidden;
}
.picker__wrap {
    margin: 0 !important;
}
.picker__year {
    font-size: 1em;
    font-style: normal;
}
.picker__month {
    text-transform: capitalize;
}
.picker__weekday {
    font-size: .85em;
    text-align: center;
    text-transform: capitalize;
}
.picker td:nth-of-type(6) .picker__day--infocus:not(.picker__day--selected) {
    color: #ffaa62;
}
.picker td:nth-of-type(7) .picker__day--infocus:not(.picker__day--selected) {
    color: red;
}
.picker__button--close:before {
    /* make close icon larger */
    font-size: 1.5em;
    top: -0.25em;
}

/****************** Photo quality ***********************/
.photo-quality-indicator {
    width: 92px;
}
.photo-quality-indicator .scale {
    width: 100%;
    height: 66px;
    background: url(/img/photo-quality/indicator-scale.png) no-repeat left top;
    background-size: contain;
    position: relative;
    /* prevent 1px shift in Chrome after rotate animation completes */
    -webkit-backface-visibility: hidden;
}
.photo-quality-indicator .arrow {
    position: absolute;
    width: 30%;
    height: 18px;
    top: 64%;
    right: 47%;
    background: url(/img/photo-quality/indicator-arrow.png) no-repeat right top;
    background-size: contain;
    /* rotation range: [0;225deg] */
    transform: rotate(0deg);
    /*transform: rotate(112deg);*/
    transform-origin: 87% 20%;
    transition: transform 0.5s ease-out;
    -webkit-transition: transform 0.5s ease-out;
    /*transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);*/
    /*-webkit-transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);*/
}
.photo-quality-indicator .title {
    font-size: 0.7em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}
.photo-quality-indicator .bottom {
    background-color: #384345;
    color: white;
    padding: 1px 4px 2px;
    /* make sure score hint text is not moved to 2nd line */
    overflow-x: hidden;
}
.photo-quality-indicator.bad .bottom {
    animation: score-color 1s infinite alternate;
}
@keyframes score-color {
    from {
        background-color: #384345;
    }
    to {
        background-color: #aa1f00;
    }
}
.photo-quality-indicator .bottom .score {
    display: inline-block;
    font-weight: bold;
    font-style: normal;
    padding-right: 4px;
    border-right: 1px solid #bbb;
}
.photo-quality-indicator .bottom .score-hint {
    /*cursor: pointer;*/
    font-size: 0.9em;
}
/* override default links color */
.photo-quality-indicator .bottom .score-hint a {
    color: white !important;
    border-bottom: 1px dashed gray;
    position: relative;
    top: -1px;
}
.photo-quality-indicator.bad .bottom .score-hint a {
    color: #fff244 !important;
}
.photo-quality-indicator .bottom .score-hint a:hover {
    color: #e0e0e0 !important;
}

.photo-warning-details {
    display: none;
    position: relative;
    background-color: #384345;
    border-color: #C7CBCC;
    color: white;
    font-size: 0.9em;
    padding: 10px 12px;
    border-radius: 3px;
    box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2);
}
.photo-warning-details .left,
.photo-warning-details .right {
    float: left;
    width: 55%;
    padding-right: 20px;
}
.photo-warning-details:not(.offer-photo) .left {
    width: auto;
}
.photo-warning-details .right {
    width: 44.9%;
}
.photo-warning-details .title {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.1em;
}
.photo-warning-details .warning-list .list-title {
    margin-bottom: 3px;
}
.photo-warning-details .warning-list ul {
    padding-left: 25px;
}
.photo-warning-details .compare-text {
    /*font-weight: bold;*/
    max-width: 250px;
}
.photo-warning-details .btn-flat {
    border: 1px solid white;
    margin: 7px 0;
}
.photo-warning-details .hint {
    margin-top: 8px;
    font-style: italic;
    color: #ddd;
    font-size: 0.95em;
}
.photo-warning-details .hint.second {
    display: none;
}
@media (max-width: 450px) {
    .photo-warning-details .left,
    .photo-warning-details .right {
        float: none;
        width: auto;
    }
    .photo-warning-details .compare-text {
        margin-top: 15px;
    }
    /* show 2nd hint, at the bottom */
    .photo-warning-details .hint.first {
        display: none;
    }
    .photo-warning-details .hint.second {
        display: block;
    }
}

/****************** Count badge ***********************/
.count-badge {
    /* later we can style as badge, not just a number inside braces: (5) */
    font-weight: bold;
}
.count-badge::before {
    content: '(';
}
.count-badge::after {
    content: ')';
}
.count-badge.count-10 {
    /*color: orange;*/
}
.count-badge.count-100 {
    color: red;
}

/****************** Small badge with check icon ***********************/
.in-cell-badge {
    display: inline-block;
    font-size: 90%;
    font-weight: bold;
    padding: 2px 5px;
    margin-top: 3px;
    border-radius: 4px;
    white-space: nowrap;
}
.in-cell-badge .fa {
    /*color: greenyellow;*/
    font-size: 15px;
    margin-right: 3px;
}

/**************** Tooltip icon *******************/
.hint-icon {
    color: #6bbee6;
    cursor: pointer;
}
.hint-icon.fa,
.hint-icon .fa {
    font-size: 18px;
}
.hint-icon.small-orange-icon.fa {
    color: orange;
    font-size: 14px;
}

/***************** Rating stars *********************/
.rating-stars {
    display: inline-block;
    width: 90px;
    height: 16px;
    cursor: pointer;
    overflow: hidden;
    background: url(/img/rating.png) -90px 0 no-repeat;
}
.rating-stars.read-only {
    cursor: default;
}
.rating-stars div {
    float: left;
    width: 18px;
    height: 16px;
}
.rating-stars.r1 {background-position: -72px 0;}
.rating-stars.r2 {background-position: -54px 0;}
.rating-stars.r3 {background-position: -36px 0;}
.rating-stars.r4 {background-position: -18px 0;}
.rating-stars.r5 {background-position: 0 0;}

/****************** Paginator ***********************/

.paginator {
    margin: 40px 0;
}
.paginator.mobile {
    display: none;
}
.paginator .prev,
.paginator .next {
    width: auto !important;
    margin: 0 !important;
    padding-left: 16px;
    padding-right: 16px;
}
.paginator .prev .fa,
.paginator .next .fa {
    color: #333;
    font-size: 16px;
}
.paginator .prev .fa {
    margin-right: 4px;
}
.paginator .next .fa {
    margin-left: 4px;
}
.paginator .pages {
    margin: 0 100px;
    text-align: center;
}
.paginator .page {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 32px; /* -border */
    border-radius: 18px;
    margin: 0 3px;
    border: 2px solid transparent;
    background-origin: border-box;
    background-color: #F4F5F6;
    color: #333;
}
.paginator .page.current,
.paginator.mobile .page {
    background-color: #009DE1;
    color: white;
}
.paginator.desktop .page:not(.current):not(.disabled):hover {
    background-color: white;
    border-color:  #F4F5F6;
}
.paginator .page.disabled {
    opacity: 0.4;
}

/* mobile*/
.paginator.mobile .prev,
.paginator.mobile .next {
    width: 36px !important;
    padding: 0;
    text-align: center;
    margin: 0 3px;
    line-height: 30px;
    position: relative;
    top: -1px;
}
.paginator.mobile .prev .fa,
.paginator.mobile .next .fa {
    color: white;
    font-size: 16px;
    margin: 0;
}
.paginator.mobile .prev .fa {
    margin-left: -3px;
}
.paginator.mobile .next .fa {
    margin-right: -3px;
}
.paginator.mobile .pages {
    line-height: 36px;
    margin: 0;
}
.paginator.mobile .pages > span {
    margin: 0 5px;
}
.paginator.mobile .pagination-dropdown {
    position: absolute;
    left: 13px;
}
.paginator.mobile .dropdown-button {
    background-color: #efefef;
    color: #565656;
}

/* adapt to gray bg */
.gray-bg .paginator.desktop .page:not(.current) {
    background-color: #e9ebed;
}
.gray-bg .paginator.desktop .page:not(.current):not(.disabled):hover {
    border-color: #ebebeb;
}

@media (max-width: 700px) {
    .paginator.desktop {
        display: none;
    }
    .paginator.mobile {
        display: block;
    }
}
@media (max-width: 359px) {
    .paginator.mobile .page-word {
        display: none;
    }
}

/*** Car type ***/
img.garazh-car-type {
    width: 42px;
    margin-right: 6px;
    position: relative;
    top: -1px;
}
img.garazh-car-type.ORDINARY {
    width: 45px;
}

/* map common */
.map-custom-hint {
    background-color: orange;
    width: auto !important;
    height: auto !important;
    padding: 1px 2px 0;
    border: 1px solid white;
    border-radius: 6px;
    font-size: 9px;
    font-weight: bold;
}
.leaflet-pane, .leaflet-top, .leaflet-bottom {
    z-index: 0; /* 400 -> 0 */
}


/**************** Generic Google map ******************/
.generic-map {
    background-color: rgba(255,255,255,0.7);
    position: relative;
    height: 500px;
    border: 1px solid #b7b7b7;
}
.generic-map .loading-bg {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: gray;
    text-align: center;
    z-index: -1;
}
.generic-map .loading-bg .fa {
    font-size: 50px;
}
.generic-map iframe {
    border: 0;
}

@media(max-width: 700px) {
    .generic-map {
        height: 400px;
    }
}

/****************** Favorite icon ***********************/
.fav-icon {
    display: block;
    z-index: 1;
    cursor: pointer;
    position: absolute;
    right: 8px;
    top: 8px;
    color: white;
}
.fav-icon .yes,
.favorite .fav-icon .no {
    display: none;
}
.fav-icon .no,
.favorite .fav-icon .yes {
    display: block;
}
.fav-icon .fa {
    font-size: 30px;
}
.fav-icon:hover .fa {
    zoom: 1.03;
    /*font-size: 32px;*/
    /*margin-left: -1px;*/
}
.fav-message {
    display: block;
    z-index: 1;
    position: absolute;
    right: 64px;
    top: 10px;
    font-size: 11px;
    color: white;
    background-color: #00a500;
    padding: 1px 4px;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(255,255,255,0.3);
    font-weight: bold;
}
.fav-message.deleted {
    background-color: #ff0000;
}

/****************** Misc styles ***********************/

/* Make some tuning when page is shown in our iframe */
.from-iframe body {
    background-color: transparent;
}
.from-iframe .header2,
.from-iframe #footer {
    display: none;
}
.from-iframe .hide-in-iframe {
    display: none;
}

a.to-main-page {
    position: absolute;
    top: 7px;
}
a.to-main-page .fa,
a.link-with-arrow .fa {
    font-size: 1.1em;
    position: relative;
    top: -1px;
}

/* circle filled with bg */
.circle {
    border-radius: 50%;
    text-align: center;
}
.circle-27 {
    width: 27px;
    height: 27px;
    padding-top: 5px;
}
.circle.primary {
    background-color: #009ee2;
}

.price .price-period {
    font-size: 0.5em;
    font-weight: normal;
}

.form-control-inline {
    display: inline;
    width: auto;
    padding: 3px 5px;
}
select.form-control-inline {
    padding: 3px 2px;
}

.form-group-title {
    font-size: 1.3em;
    margin: 30px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid lightgrey;
    color: #00699C;
}

label .sub-label {
    font-weight: normal;
    font-size: 11px;
    color: #a0a0a0;
    margin-bottom: -7px;
}
@media (max-width: 768px) { /* bootstrap *-sm breakpoint */
    label .sub-label {
        display: inline-block;
        margin-left: 16px;
    }
}

label .help-block {
    font-weight: normal;
    margin-top: 2px;
}

/* user/admin details */
.messenger-add-links a {
    margin-right: 8px;
}

a, a:hover {
    text-decoration: none !important;
}


/* upload button */
.btn-file {
    position: relative;
    overflow: hidden;
    vertical-align: middle;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block !important;
}

.fa {
    /*color: #ffffff;*/
    font-size: 22px;
}

.btn:not(.no-text) .fa {
    margin-right: 6px;
}
.btn-sm .fa {
    font-size: 18px;
}
.btn-xs .fa {
    font-size: 14px;
}
.btn-xs:not(.no-text) .fa {
    margin-right: 3px;
}
.btn-lg .fa {
    /*font-size: 32px !important;*/
}


.fa.white {
    color: white;
}

.fa.blue {
	color: #00b8de;
}
.fa.orange {
    color: orange;
}

.fa.middle {
	vertical-align: middle;
}

.fa-small {
    font-size: 15px!important;
}

.fa.dark {
	color: #b2b2b2;
}
.fa.fa-exclamation-triangle {
    color: #ff9b00;
}

.input-name {
	padding: 8px 10px!important;
	width: 180px !important;
	height: 38px;
	line-height: 20px;
}

.radio-group {
    display: inline-block;
    text-align: left;
}
/* Bootstrap radio layout is messy, use our own */
input[type=radio] {
    margin-right: 5px;
}

/*"Toggle" buttons are non-standard: with different font sizes, icon alignment, icon hover color */
.btn-toggle {
    text-transform: uppercase;
    font-size: 11px;
    font-style: italic;
    background-color: transparent;
}
.btn-toggle .btn-label {
    margin: 0 5px 0 0;
}
.btn-toggle,
.btn-toggle .fa {
    transition: 0.3s;
    color: #333;
}
.btn-toggle:hover .fa {
    color: white;
}
/** toggle on styles */
.btn-toggle.on {
    color: white;
    background-color: #0e4858;
}
.btn-toggle.on .fa {
    color: inherit;
}
.btn-toggle.on:hover .fa {
    color: inherit;
}

.btn-custom-1 {
    display: inline-block;
    text-align: center;
    border-radius: 3px;
    height: 32px;
    width: 32px;
    padding: 0;
    border: 1px solid #b2b2b2;
    cursor: pointer;
    line-height: 32px;
}
.btn-custom-1 i {
    line-height: 32px;
}

.btn-custom-1.danger {
    border-color: #b84037;
}
.btn-custom-1.danger i {
    color: #b84037;
}

.phone-selector input {
    width: calc(100% - 44px);
    display: inline-block;
}
.phone-country-dropdown {
    width: 36px;
    display: inline-block;
    margin-right: 8px;
}
.phone-country-dropdown .flag {
    width: 16px;
    height: 11px;
    display: inline-block;
    background-image: url(/img/other/flags.png);
    margin-left: 2px;
    margin-right: 2px;
    position: relative;
    top: 1px;
}
.phone-country-dropdown .flag.ua {
    background-position: -96px -154px;
}
.phone-country-dropdown .flag.by {
    background-position: -16px -22px;
}
.phone-country-dropdown .flag.md {
    background-position: -176px -88px;
}
.phone-country-dropdown .flag.pl {
    background-position: -32px -121px;
}
.phone-country-dropdown .flag.other {
    background-position: 0 0;
}

/* mobile/desktop hide/show classes for booking manager */
@media (max-width: 1023px) {
    .manager-desktop {
        display: none !important;
    }
}
@media (min-width: 1024px) {
    .manager-mobile {
        display: none !important;
    }
}

/**** Mobile title - blue strip with back arrow ****/
.with-mobile-title {
    padding-top: 56px;
}
.mobile-title {
    height: 56px;
    color: white;
    background-color: #009DE2;
    line-height: 54px;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 1;
}
.mobile-title .back {
    width: 60px;
    display: inline-block;
    text-align: center;
    vertical-align: top;
    color: white;
    padding-right: 10px; /* to shift to left */
}
.mobile-title .back .fa {
    font-size: 18px;
}
.mobile-title > span {
    display: inline-block;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    width: calc(100% - 135px);
    /* ellipsis */
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}




.open-in-admin-link .fa {
    font-size: 18px;
    margin-left: 5px;
}
.open-in-admin-link:not(:hover) .fa {
    color: #bbbbbb;
}
.open-in-admin-link:hover .fa {
    color: #5597ab;
}

.input-file {
    display: none!important;
}

.wrong {
    text-decoration: line-through;
}


/************ Dialogs ***************/


/*.modal-content > .btn {
    margin: 15px 15px 0;
    font-size: 20px;
    line-height: 1.4;
    border: 0;
    width: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.modal-content .btn.yes,
.modal-content .btn.no {
    width: 75px;
}

.modal.confirm.danger p {
    color: #b84037;
}
.modal.confirm.danger .btn.yes {
    background-color: #b84037;
}*/



/* Inline edited field */
.edit-field-form {
    position: relative;
    margin: 0;
}
.edit-field-form .input-stretcher {
    overflow: hidden;
}

input.edit-field {
    margin: 0!important;
    padding: 5px 8px !important;
    width: 100% !important;
    max-width: 205px!important;
    position: relative;
    height: 32px;
    line-height: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

button.edit-field-button {
    float: right;
    background: white;
    width: 34px;
    height: 32px;
    line-height: normal;
    margin: 0;
    cursor: pointer;
    padding: 1px 6px;
    border: 1px solid #b2b2b2;
    border-radius: 0 3px 3px 0;
    border-left: 0;
}

button.edit-field-button.save-button {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

button.edit-field-button .fa {
    color: #b2b2b2 !important;
}
button.edit-field-button.save-button .fa {
     color: green !important;
}
button.edit-field-button.cancel-button .fa {
    color: #ca0000 !important;
}

button.edit-field-button:disabled {
    background-color: #ddd;
}
button.edit-field-button:disabled .fa {
    opacity: 0.5;
}

/* Our phones section */
.our-phones {
    font-size: 15px;
    line-height: 1.9;
    margin: 15px 0 20px;
}
.our-phones .phone {
    padding-left: 20px;
    font-weight: bold;
}
.our-phones .name {
    padding-left: 10px;
}
.our-phones img {
    width: 18px;
    height: 18px;
}
@media (max-width: 600px) {
    .our-phones {
        font-size: 16px;
        line-height: 2.5;
    }
    .our-phones table {
        margin: 0 auto;
    }
    .our-phones .phone a:after {
        content: ' ';
        display: inline-block;
        margin-left: 18px;
        width: 36px;
        height: 36px;
        background: transparent url(/img/cell-operators/call-102.png);
        background-size: 36px 36px;
        vertical-align: middle;
    }
}
@media (max-width: 340px) {
    /*iPhone5*/
    .our-phones {
        font-size: 15px;
    }
}

/* ION slider overrides */
.irs-line-mid, .irs-line-left, .irs-line-right, .irs-bar, .irs-bar-edge, .irs-slider {
    /* default slider pin is too small, make it 2px wider and 1px taller */
    background-image: url(/js/3rdparty/ion-slider-2.2.0/img/sprite-skin-modern-larger.png);
}
.irs-slider {
    width: 13px;
    height: 19px;
}
.irs-bar-edge {
    width: 7px;
}
.irs-grid-text {
    bottom: 11px;
}
@media (max-width: 768px) {
    /* large mobile-friendly knob */
    .irs-slider {
        top: 12px;
        width: 32px;
        height: 32px;
        border: 1px solid #AAA;
        background: #DDD;
        background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(220,220,220,1) 20%,rgba(255,255,255,1) 100%);
        border-radius: 32px;
        -moz-border-radius: 32px;
        box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
        cursor: pointer;
    }
    .irs-single {
        top: -10px;
    }
    .irs-min,
    .irs-max,
    .irs-single {
        font-size: 12px;
    }
    .irs-bar-edge {
        width: 16px; /* must be 1/2 of slider width */
    }
    .irs .irs {
        margin-top: 5px;
    }
}

.booking-formula {

}
.booking-formula .price,
.booking-formula .price-total {
    margin: 0 3px 0 0;
    position: relative;
    display: inline-block;
    /*vertical-align: top;*/
    font-weight: bold;
}
.booking-formula .price-total {
    font-size: 18px;
    font-weight: 900;
    color: #31c702;
}
.booking-formula .sign {
    margin: 0 3px;
}
.booking-formula .other-curr-total {
    font-size: 14px;
    color: #bdbdbd;
    margin-left: 5px;
    font-weight: normal;
}

/* Tabs with blue underline */
.my-tabs {
    list-style-type: none;
    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
    padding: 0;
    margin-bottom: -2px;
    font-size: 1.2em;
    line-height: 1.4;
}
.my-tabs li {
    display: inline-block;
}
.my-tabs li a {
    display: inline-block;
    border-bottom: 4px solid transparent;
    color: #818181;
    padding: 10px 8px;
    font-weight: bold;
}
.my-tabs li.active a {
    color: #333;
    border-bottom-color: #019EE1;
}
@media (min-width: 768px) {
    .my-tabs li {
        margin-right: 15px;
    }
}
.my-tabs-content {
    min-height: 300px;
    padding: 0;
    border: none;
    border-top: 2px solid #e3e3e3;
    background-color: white;
}
@media (min-width: 768px) {
    .my-tabs-content {
        min-height: 400px;
    }
}
.my-tabs-content > .tab-pane {
    display: none;
}
.my-tabs-content > .active {
    display: block;
}

.no-data {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: #bdbdbd;
}


.accordion {

}
.accordion dt {
    position: relative;
    margin-top: 3px;
    background: #dff0f7;
    cursor: pointer;
    color: #018dca;
    display: block;
    font-size: 16px;
    line-height: 23px;
    font-weight: normal;
    border-radius: 2px;
    padding: 7px 40px 7px 20px;
}
.accordion dt.expanded {
    /*font-weight: bold;*/
}
.accordion dt:after {
    font: normal normal normal 22px FontAwesome;
    content: "\f107";
    display: block;
    line-height: 38px;
    position: absolute;
    right: 14px;
    top: 0;
    /*vertical-align: middle;
    display: inline-block;
    margin-left: 0.2em;
    font-size: 20px;*/
}
.accordion dt.expanded:after {
    content: "\f106";
    top: -3px;
}
.accordion dt:hover, .accordion dt:focus {
    background: #c1e4f3;
}
.accordion dd {
    padding: 15px 10px 20px;
    display: none;
}
.accordion dt.expanded + dd {
    display: block;
}
@media(max-width: 500px) {
    .accordion dd {
        padding: 12px 10px 15px;
    }
}

/* Neon effect */
.neon {
    -webkit-animation: neon-glow 1s ease-in-out infinite alternate;
    -moz-animation: neon-glow 1s ease-in-out infinite alternate;
    animation: neon-glow 1s ease-in-out infinite alternate;
}

@keyframes neon-glow {
    from {
        color: #fff;
    }
    to {
        color: #fff;
        text-shadow: 0 0 8px #00fff2, 0 0 16px #00fff2, 0 0 24px #00fff2, 0 0 32px #00fff2, 0 0 40px #00fff2, 0 0 48px #00fff2, 0 0 54px #00fff2, 0 0 62px #00fff2;
    }
}

/* Add to home screen */
.home-screen-popup {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    min-height: 76px;
    background-color: #f9f9f9;
    border-top: 1px solid lightgray;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
    z-index: 1;
}
.home-screen-popup .icon {
    float: left;
    margin: 12px 0 0 15px;
    width: 50px;
    height: 50px;
    padding: 9px 5px;
    border-radius: 14px;
    border: 1px solid #d4d4d4;
    background-color: white;
}
.home-screen-popup .icon img {
    max-width: 37px;
}
.home-screen-popup .content {
    margin: 12px 35px 0 80px;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    min-height: 48px;
}
.home-screen-popup .content .add-link {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.home-screen-popup .btn-close {
    color: #adadad;
    top: 22px;
}
.home-screen-popup .btn-close .fa {
    font-size: 24px;
}

.home-screen-instructions /*hsi*/ {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    padding: 0 20px;
    font-size: 16px;
    color: black;
    background-color: white;
    z-index: 1;
}
.hsi .arrow {
    position: absolute;
    top: 2px; right: 12px;
    max-height: 75px;
}
.hsi h1 {
    text-align: left;
}
.hsi h2 {
    font-weight: bold;
    font-size: 18px;
}
.hsi .screen {
    margin: 3px auto;
}
.hsi .screen.step1 {
    max-width: 318px;
}
.hsi .screen.step2 {
    max-width: 290px;
}
.hsi .screen.step3 {
    max-width: 318px;
}
.hsi .button-wrapper {
    text-align: center;
    margin-top: 30px;
}
@media (max-width: 359px) {
    .hsi h2 {
        font-size: 15px;
        margin: 10px auto 4px;
    }
}

/* Simple static table */
.simple-table {
    width: 100%;
}
.simple-table td {
    border-bottom: 1px solid #eaeaea;
    padding: 10px 10px;
    font-size: 13px;
}
.simple-table thead td {
    font-weight: bold;
    font-size: 14px;
    background-color: #f9f9f9;
    border-top: 2px solid #e3e3e3;
}
.simple-table tbody td:not(.middle) {
    vertical-align: top;
    /*padding-top: 25px;*/
}

.white-bg-table {
    width: 100%;
    font-size: 13px;
    margin: 20px auto 30px;
    background-color: white;
    border: 1px solid gray;
}
.white-bg-table th,
.white-bg-table td {
    padding: 5px 10px;
    border: 1px solid #f2f2f2;
    vertical-align: top;
}
.white-bg-table th {
    background-color: white;
    font-size: 14px;
}


.expected-payment-hint {
    font-size: 12px;
    color: gray;
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: -0.25px;
    position: relative;
    padding-left: 24px;
    text-align: left;
}
.expected-payment-hint i {
    float: left;
    margin: 3px 0 0 0;
    font-size: 18px;
    position: absolute;
    left: 0;
}
.expected-payment-hint.needs-payment i {
    color: orange;
}
.expected-payment-hint:not(.needs-payment) {
    padding-left: 20px; /*smaller icon*/
}
.expected-payment-hint:not(.needs-payment) i {
    color: #6bbee6;
    margin-top: -1px;
    font-size: 15px;
}

.re-send-sms.collapsed button {
    display: none;
}
.re-send-sms:not(.collapsed) a {
    display: none;
}


@media print {
    .header2, #footer {
        display: none;
    }
    a:after {
        content: none !important;
    }
    .abbr {
        border-bottom: none !important;
    }
}