html,
body {
    height: 100%;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
}

.user-panel {
    color: #b8c7ce;
    text-align: center;
}

.skin-blue .main-header .logo, .skin-blue .main-header .logo:hover {
    background-color: #222d32;
}

.main-header .navbar {
    background-color: #3c8dbc;
}

.btn {
    font-size: 13px;
}

.input-group-btn .btn {
    font-size: 14px;
}

.blur {
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -ms-filter: blur(3px);
    -o-filter: blur(3px);
    filter: blur(3px);
}

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

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

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

.jumbotron {
    text-align: center;
    background-color: #ffffff;
    color: #3a3a3a;
}

.jumbotron .btn {
    font-size: 17px;
    padding: 10px 40px;
}

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

/* 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: "\e151";
}

a.desc:after {
    content: "\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 td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.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;
}

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

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

.table-bordered > thead,
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border: 0.5px solid lightgrey;
    text-align: center;
    vertical-align: middle;

}

.table-bordered > thead > tr > th,
.table-bordered > tfoot > tr > th {
    background-color: #dedede;
    color: #333;
    line-height: 13px;
    height: 37px;
    border-bottom: 1px solid #3c8dbc;
}

.table-bordered > thead > tr > th a,
.table-bordered > tfoot > tr > th a {
    color: #333;
}

.sidebar-collapse .main-sidebar .user-panel {
    display: none;
}

.site-index .box {
    padding-top: 0px;
}

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background: #4bdd29;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 2px;
}

p.message {

    padding: 3px 3px 3px 22px;
    border: solid 1px yellow;
    margin: 2px 0 2px 0;
    color: #333300;
}

.bg-grey {
    background-color: #eee;
    /*background-color: lightskyblue;*/
}

.direct-chat-messages {
    min-height: 250px;

}

.custom-modal.size-xs > .modal-dialog {
    width: 450px;
}

.custom-modal.size-sm > .modal-dialog {
    width: 600px;
}

.custom-modal.size-md > .modal-dialog {
    width: 800px;
}

.custom-modal.size-lg > .modal-dialog {
    width: 1000px;
}

p.message {
    background: #FFFFEE url("../img/ico_message.gif") no-repeat;
}

.content-wrapper {
    background-color: #F9FAFC;
}

table {
    background-color: white;
}

nav.navbar-static-top div.pull-right {
    top: 13px;
    right: 10px;
    position: relative;
}

#payment-form .form-group, #verification-form .form-group {
    margin-bottom: 0px;
}

#payment-form .field-paymentform-address1 label {
    padding-top: 27px;
}

#payment-form .control-label {
    padding-right: 0px;
}

#payment-form .form-control {
    padding: 6px;
}

#payment-form .select2-container--krajee .select2-selection--single {
    padding: 6px 24px 6px 6px;
}

.shop-services-list tbody tr {
    cursor: pointer;
}

.table-hover > tbody > tr:hover {
    background-color: #E6E6E6;
}

.table-hover > tbody > tr > td > a:hover {
    text-decoration: underline;
}

/** Message **/
.chat-body {

    display: block;
    min-height: 250px;
    max-height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 10px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-top: none;
}

.chat-body ul {
    margin: 0;
    padding: 0;
}

.chat-body li.message {
    display: block;
    position: relative;
    margin: 20px 0px 0;
}

.chat-body li:first-child {
    margin-top: 10px;
}

.chat-body li.message img {
    display: inline-block;
    border-left: 4px solid #fff;
    position: absolute;
}

.chat-body li.message img.online {
    border-left-color: #00a300;
}

.chat-body li.message img.offline {
    border-left-color: #ddd;
}

.chat-body li.message img.busy {
    border-left-color: #A90329;
}

.chat-body li.message img.away {
    border-left-color: #ffc40d;
}

.chat-body li.message .message-text {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 0;
    margin-left: 0px;
    line-height: normal;
}

.chat-body li.message .message-text time {
    position: absolute;
    top: 1px;
    right: 0px;
    font-size: 10px;
    line-height: 10px;
    color: #AFAFAF;
}

.chat-body li.message .message-text .chat-file:nth-child(3) {
    margin-top: 15px;
}

.chat-body li.message .message-text .chat-file {
    display: block;
    margin: 3px 0;
    padding: 4px;
    border: 1px dotted #ddd;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    text-align: right;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.chat-body li.message .message-text .chat-file.row-fluid [class*="span"] {
    min-height: 10px !important;
}

.chat-body li.message .message-text .chat-file b {
    font-style: italic;
    white-space: nowrap;
    width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.chat-body li.message .message-text a.username {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    vertical-align: top;
    line-height: 14px;
    font-size: 14px;
    letter-spacing: -1px;
    text-decoration: none !important;
}

/* message reply */
.profile-message {
    background: none !important;
    height: auto !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    overflow: hidden;
}

.profile-message li.message.message-reply {
    margin-left: 85px !important;
    background: #F7F7F7;
    padding: 10px;
    margin: 3px 0 0 20px;
}

.profile-message li.message.message-reply img {
    width: 35px !important;
}

.profile-message li.message.message-reply .message-text {
    margin-left: 45px !important;
}

.profile-message .wall-comment-reply {
    margin-left: 85px;
    margin-bottom: 20px;
}

.chat-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    position: relative;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.textarea-div {
    background-color: #FFF;
    border: 1px solid #CCC;
    border-bottom: none;
    margin: 10px 0 0;
}

.typearea {
    cursor: text;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 90px;
    padding: 5px 25px 5px 5px;
    position: relative;
    border-bottom: 1px solid #EEE;
}

.typearea textarea {
    width: 100%;
    border-color: transparent !important;
    box-sizing: border-box;
    box-shadow: none;
    -moz-box-shadow: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-box-shadow: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
    -webkit-transition: height 0.2s;
    -moz-transition: height 0.2s;
    transition: height 0.2s;
    outline: none;
    resize: none;
    min-height: 61px;
}

textarea.clone {
    position: absolute;
    visibility: hidden;
}

.textarea-controls {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 5px;
    display: block;
    background-color: #FFF;
    border: 1px solid #CCC;
    border-top: none;
    height: 43px;
    line-height: 33px;
    overflow: hidden;
}

.textarea-controls > label {
    margin: 3px 10px 0 10px;
}

.textarea-controls .smart-form .checkbox {
    padding-left: 22px !important;
}

@media (min-width: 768px) and (max-width: 880px) {
    .chat-body li.message .message-text .chat-file b {
        width: 150px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
    .chat-body li.message .message-text .chat-file b {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .chat-body li.message .message-text .chat-file b {
        width: 150px;
    }

    .custom-modal.size-xs > .modal-dialog {
        width: auto;
    }

    .modal-body, .modal-content {
        height: auto !important;
    }
}

/** Message **/
/*div.checkbox{*/
/*padding: 15px;*/
/*}*/
@media (max-height: 480px) {

    .modal-body, .modal-content {
        height: auto !important;
    }
}

.skin-blue-light .sidebar-menu > li.active > a, .skin-blue-light .sidebar-menu > li > a {
    font-weight: normal !important;
}

.select2-container .select2-selection--multiple {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    min-height: 34px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    text-align: left;
    display: block;
    padding-left: 8px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select2-container--default .select2-selection--multiple {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 0;
}

.select2-container li.select2-selection__choice {
    color: black !important;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 34px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    text-align: left;
    display: block;
    padding-left: 8px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 0;
}

.badge-xs {
    position: absolute;
    top: 7px;
    right: -7px;
    font-size: 10px;
    background: #d8e7fc;
    padding: 5px;
    color: #333;
}

.site-login .well h4 {
    padding: 20px;
}

.btn-messages {
    position: relative;
}

.btn-messages > .label {
    position: absolute;
    font-size: 10px;
    top: -8px;
    right: 3px;
    padding: 3px 3px 2px 3px;
}

.new-shipment-container {
    border: 1px solid #cecece;
    margin-bottom: 20px;
    position: relative;
    padding: 5px;
}

.info-box.info-box-sm {
    min-height: 60px;
}

.info-box.info-box-sm .info-box-content {
    margin-left: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
}

.info-box.info-box-sm .info-box-icon {
    height: 60px;
    width: 3px;
    line-height: 60px;
    font-size: 32px;
}

@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (orientation: portrait) {
    .info-box.info-box-sm {
        min-width: auto !important;
    }

    .info-box.info-box-sm .info-box-content {
        font-size: 10px;
        margin-left: 0px !important;
    }

    .info-box.info-box-sm .info-box-content > div:first-child {
        margin-right: 8px !important;
        padding-right: 8px !important;
    }

    .info-box.info-box-sm .info-box-content > div:last-child {
        margin-right: 8px !important;
    }
}

@media (max-width: 375px) {
    .info-box.info-box-sm {
        min-width: auto !important;
    }

    .info-box.info-box-sm .info-box-content {
        font-size: 7px !important;
    }
}

#add-message-form .form-group {
    margin-bottom: 0px;
}

.container-form-message .well {
    margin-bottom: 0px;
}

#packageSend .alert-info {
    background-color: #d9edf7 !important;
    color: black !important;
    border: none;
    margin-bottom: 10px;
}

.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled + .cr,
.radio label input[type="radio"]:disabled + .cr {
    opacity: .5;
}

.move-package-to-box {
    margin: 10px 10px;
    width: auto;
}

.checkbox label {
    padding-left: 0;
}

.border-shadow {
    box-shadow: inset 0 0 10px 3px rgba(220, 31, 31, 1)
}

.label-preview {
    height: 50px;
}

.thank-you-msg {
    position: absolute;
    height: 100%;
    display: none;
    color: #444;
    text-shadow: 0px 0px 1px #777777;
}

.thank-you-msg h2 {
    position: relative;
}

@media (max-width: 768px) {
    .thank-you-msg h2 {
        top: -80%;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .thank-you-msg h2 {
        top: -50%;
    }
}

@media (min-width: 992px) {
    .thank-you-msg h2 {
        top: 20%;
    }
}

.verify-user-preview {
    height: 100px;
    width: 160px;
    margin: 6px 8px;
}

.submit-upload-user-verify-form {
    display: none;
}

.modal-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

#clock {
    display: inline-block;
    height: 26px
}

#clock span {
    color: #dcdcdc;
    font-size: 17px;
    font-weight: bold;
}

#clock > iframe {
    margin-bottom: -4px;
}

/*.language-picker {*/
/*top: 5px;*/
/*}*/

.thumbnail-file {
    position: relative;
}

.user-files-status-icon {
    position: absolute;
    right: 13px;
    top: -35px;
}

.site-index .body-content:first-child div {
    padding-right: 5px;
    padding-left: 5px;
}

.site-index .body-content:first-child .btn-lg {
    padding: 10px 5px;
}

@media only screen and (min-width: 1200px) and (max-width: 1226px) {
    .info-box.info-box-sm .info-box-content {
        font-size: 10px;
    }
}

@media only screen and (min-width: 1227px) and (max-width: 1291px) {
    .info-box.info-box-sm .info-box-content {
        font-size: 11px;
    }
}

@media only screen and (min-width: 1292px) and (max-width: 1356px) {
    .info-box.info-box-sm .info-box-content {
        font-size: 12px;
    }
}

@media only screen and (min-width: 1357px) and (max-width: 1374px) {
    .info-box.info-box-sm .info-box-content {
        font-size: 12px;
    }
}

@media only screen and (min-width: 375px) and (max-width: 393px) {
    .info-box.info-box-sm .info-box-content {
        font-size: 9px;
    }
}

@media only screen and (min-width: 394px) and (max-width: 420px) {
    .info-box.info-box-sm .info-box-content {
        font-size: 10px;
    }
}

@media only screen and (min-width: 421px) and (max-width: 449px) {
    .info-box.info-box-sm .info-box-content {
        font-size: 11px;
    }
}

@media only screen and (min-width: 450px) and (max-width: 476px) {
    .info-box.info-box-sm .info-box-content {
        font-size: 12px;
    }
}

.btn.view-service-results, .btn.service-rejected {
    width: 115px;
}

.btn.cancel-service, .btn.order-service {
    width: 157px;
}

.brokerage-fee-input {
    display: none;
}

.access-brokerage-fee {
    display: none;
}

.category-row {
    margin-left: -5px !important;
    padding-right: 0px;
    margin-bottom: 10px;
}

.modal {
    overflow: auto;
}

.delivery-type .btn-app {
    margin: 10px 10px;
    width: auto;
}

.delivery-type .hint {
    font-size: 12px;
}

.delivery-type a {
    font-size: 17px;
}

.category-row div {
    padding-left: 5px;
    padding-right: 5px;
}

.select-type-delivery {
    background-color: #00c0ef;
    /*border-color: #00acd6;*/
    color: white;
    border-radius: 3px;
    position: relative;
    padding: 15px 5px;
    min-width: 80px;
    height: 60px;
    text-align: center;
    border: 1px solid #ddd;
    margin: 10px 10px;
    width: auto;
}

.qty-goods {
    padding: 6px 2px;
}

.setDeliveredButton {
    padding: 1px 6px;
}

.shipping-type-btn {
    text-decoration: none !important;
    font-size: 17px;
    text-align: left;
    padding-left: 20px;
}

.shipping-type-btn .fa-check {
    display: none;
}

.btn-flat {
    filter: progid:DXImageTransform.Microsoft.Gradient(enabled='false');
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-image: none;
    border: 0;
}

.select2-container--krajee .select2-selection {
    border-radius: 0px !important;
}

.select2-container--krajee .select2-selection--single .select2-selection__rendered {
    padding-top: 3px !important;
}

.select2-container {
    z-index: 10000;
}

@media only screen and (max-width: 770px) {
    #payment-form {
        padding: 0 10px;
    }

    #pjax-payment-form > div > div.col-md-7 {
        height: auto !important;
    }

    #pjax-payment-form > div > div.col-md-5 {
        height: 90px !important;
    }

    #payment-form .field-paymentform-exp_year .col-sm-3 {
        padding-left: 15px !important;
    }
}

.header-change-password {
    background-color: #3c8dbc;
    color: white;
    text-align: center;
}

.confirm-edit-user-security, .confirm-edit-user-email {
    margin-right: 16px;
}

.video-instruction {
    position: relative;
    margin: 4em auto;
    box-shadow: none;
    max-width: 1024px;
}

.video-instruction .video-container {
    font-size: 100%;
    font-family: ' Open Sans', sans-serif;
    color: #4e5359;
    background: #ffffff;
    margin-bottom: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    -webkit-transition: box-shadow 0.2s;
    -moz-transition: box-shadow 0.2s;
    transition: box-shadow 0.2s;
}

.video-instruction a.video-support {
    position: relative;
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    padding: 16px 72px 16px 24px;
    text-decoration: none;
}

.video-instruction-nav {
    border-bottom: none;
}

.video-instruction-nav > li {
    float: none;
    margin-right: -11px;
    margin-top: -1px;
    font-size: 16px;
}

.video-instruction-nav > li.active > a,
.video-instruction-nav > li.active > a:hover,
.video-instruction-nav > li.active > a:focus {
    color: #2669a3;
    font-weight: bold;
    border: none;

}

.video-instruction-nav > li > a:hover {
    background-color: transparent;
    border-color: transparent;
    /*border: none;*/
}

.video-instruction-nav > li > a {
    text-align: left;
    border-radius: 4px 0 0 4px;
    margin-right: 0;
    display: block;
    padding: 15px 15px;
}

.video-instruction-nav > li > a > img, .video-instruction img {
    width: 20px;
}

.video-instruction .video-container a {
    position: relative;
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    padding: 16px 72px 16px 24px;
    text-decoration: none;
}

@media only screen and (max-width: 770px) {
    .video-instruction {
        position: relative;
        margin: auto auto;
        box-shadow: none;
        max-width: 1024px;
    }
}

.pagination-simple {
    position: relative;
    padding: 0px !important;
}

.pagination-simple .summary {
    display: inline-block;
    margin-top: 18px;
    margin-left: -4px;
}

.pagination-simple .pagination {
    margin: 0px;
    position: absolute;
    right: 0px;
}

.pagination-simple.bottom .summary {
    margin-top: 0px;
    margin-bottom: 18px;
}

.pagination-simple.bottom {
    margin-top: -15px;
}

@media (min-width: 550px) {
    #description_block {
        zoom: 0.8;
    }
}

@media (min-width: 400px) and (max-width: 550px) {
    #description_block {
        zoom: 0.6;
    }
}

@media (min-width: 300px) and (max-width: 400px) {
    #description_block {
        zoom: 0.5;
    }
}

@media (max-width: 300px) {
    #description_block {
        zoom: 0.4;
    }
}

@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.77);
        -webkit-transform: scale(0.77);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}

@media (max-width: 767px) {
    .login-block {
        display: block !important;
    }
}

hr.thin {
    margin-top: 5px;
    margin-bottom: 5px;
}

#GoodsRowTmpl .total-row {
    display: flex;
}

#GoodsRowTmpl .total-row div {
    padding-left: 5px;
    padding-right: 5px;
}

#GoodsRowTmpl .total-row .total-text {
    font-size: 26px;
}

@media (max-width: 400px) {
    #GoodsRowTmpl .total-row .total-text {
        font-size: 22px;
    }
}

@media (max-width: 340px) {
    #GoodsRowTmpl .total-row .total-text {
        font-size: 14px;
    }
}

.thumb-img-uf {
    display: inline-table;
    width: 170px;
    height: 150px;
}

.data-address-block, .data-address-block div.form-group {
    margin-bottom: 0;
}

.ui-autocomplete {
    z-index: 2475;
}
.fixedHeight {
    max-height: 150px;
    margin-bottom: 10px;
    overflow-x: hidden;
    overflow-y: auto;
}

.info-pass-block {
    padding: 20px 10px;
}
