/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    border-radius: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #e8e8e8;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #a8a8a8;
    border-radius: 8px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.modal-select2 .form-control .select2-container {
    width: 100% !important;
}

.modal-select2 .select2-container--default .select2-search--dropdown .select2-search__field,
.select2-container input:focus,
.modal-select2 .select2-container--default .select2-selection {
    outline: none !important;
}

.select2-dropdown {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
}

.modal-select2 .select2-container--default .select2-selection {
    border: 0 !important;
}

.modal-select2 .select2-container--default .select2-selection .select2-selection__rendered {
    line-height: 31px;
}

.form-control:focus,
.form-control:active,
button:focus,
button:active {
    outline: none !important;
    box-shadow: none !important;
}

select {
    /*text-transform: uppercase;*/
}

.not-permission {
    background-color: #fff;
    height: calc(100vh - 45px);
    padding-top: 15px;
}

.not-permission img {
    display: inline-block;
    max-width: 50%;
    text-align: center;
}

.cursor-pointer {
    cursor: pointer;
}

/* SPINNER */
#fa-spinner {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.2);
    z-index: 999999;
    top: 0;
    left: 0;
}

.swal2-container.swal2-shown{
    background: rgba(0, 0, 0, 0.2);
}

#i-fa-spinner {
    font-size: 100px !important;
    position: fixed;
    top: calc(50vh - 50px);
    left: calc(50vw - 50px);
    display: block;
    z-index: 99999999;
    color: #53B3F3 !important;
}

/* END SPINNER */
.btn {
    border-radius: 0;
}

.btn-brown {
    background-color: #AE7129;
    color: #fff;
    line-height: 60px;
    font-size: 1.125rem;
    padding: 0;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 70px;
}

.btn-brown-01 {
    background-color: #AE7129;
    width: 210px;
    height: 48px;
    vertical-align: top;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
}

.text-brown {
    color: #AE7129;
}

.btn-brown:hover, .customer-info .btn-brown-01:hover {
    color: #fff;
    filter: brightness(110%);
}

.login .form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #AE7129 !important;
    font-family: 'Roboto', sans-serif !important;
    text-transform: uppercase;
}

.login .form-control::-moz-placeholder { /* Firefox 19+ */
    color: pink !important;
    font-family: 'Roboto', sans-serif !important;
    text-transform: uppercase;
}

.login .form-control:-ms-input-placeholder { /* IE 10+ */
    color: #AE7129 !important;
    font-family: 'Roboto', sans-serif !important;
    text-transform: uppercase;
}

.login .form-control:-moz-placeholder { /* Firefox 18- */
    color: #AE7129 !important;
    font-family: 'Roboto', sans-serif !important;
    text-transform: uppercase;
}

body {
    font-family: 'Roboto', sans-serif !important;
    color: #656565;
}

.wrapper-customer {
    padding: 20px 40px 50px;

    border: 2px solid #AE7129;

    max-width: 830px;
    margin: 0 auto;
    text-align: center;
}

.wrapper-customer .title-border {
    color: #AE7129;
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 65px;
    font-weight: bold;
    margin-bottom: 2rem;
}

.wrapper-customer .title-border:after {
    position: absolute;
    content: "";
    display: block;
    height: 1px;
    background-color: #AE7129;
    width: 10vw;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.wrapper-customer .help-link a {
    color: #656565;
}

.form.form-authenticate {
    text-transform: uppercase;
}

.form.form-authenticate .form-group {
    margin-bottom: 1.975rem;
}

.form.form-authenticate .label-input {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #AE7129;
    margin-bottom: 1.09rem;
}

.form.form-authenticate .form-control {
    border: 1px solid #AE7129;
    border-radius: 0;
    height: 60px;
    padding-left: 2rem;
}

.form.form-authenticate .help-link {
    font-size: 1.125rem;
    margin-bottom: 3.2rem;
}

.form.form-authenticate .help-link a {
    color: #656565;
}

@media only screen and (min-width: 1200px) {
    .form.form-authenticate .btn-brown {
        max-width: 583px;
        margin-left: auto;
        margin-right: auto;
    }
}

.select-send select.form-control {
    color: #AE7129;
    background-image: url(../img/select-arrow.png);
    background-position: 97% 50%;
    background-repeat: no-repeat;
    background-size: 17px 20px;
    cursor: pointer;
}

.select-send .form-control {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.user-account {
    padding-top: 20px;
    padding-bottom: 20px;
    max-width: 100%;
    margin: 0 auto;
}

.user-account > .nav-tabs {
    background-color: #EEE2D3;
    text-transform: uppercase;
    font-weight: bold;
}

.user-account > .nav-tabs a {
    color: #AE7129;
    border-radius: 0;
    border: 1px solid #AE7129;
    border-left: 0;
    padding-top: 1.5rem;
    padding-bottom: 1.25rem;
    font-size: 1.125rem;
}

.user-account > .nav-tabs a:hover {
    border: 1px solid #AE7129;
    background-color: #BF7C2D;
    color: #fff;
}

.user-account > .nav-tabs a.active {
    background-color: #AE7129;
    color: #fff;
    border: 1px solid #AE7129;
}

.user-account > .nav-tabs li:first-child .nav-link {
    border-left: 1px solid #AE7129;
}

.user-account > .tab-content {
    /*border: 1px solid #AE7129;*/
    border-top: 0;
    padding: 1rem;
}

.document-page .nav .nav-link {
    color: #AE7129;
    padding: 18px 14px;
    text-transform: uppercase;
    text-align: center;
}

.document-page .nav .nav-link.active {
    background: #AE7129;
    color: #fff;
}

.user-account textarea {
    resize: none;
}

.select-2 .form-control {
    margin: 0;
}

.customer-info {
    margin-top: 1rem;
}

.customer-info .title {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #AE7129;
    margin-bottom: 3.81rem;
    margin-top: 1.56rem;
}

.customer-info label {
    border-bottom: 1px solid #AE7129;
    font-weight: bold;
    width: 100%;
    display: block;
    padding-top: 1.5rem;
    padding-bottom: 0.85rem;
    padding-left: 1rem;
    text-align: left;
}

.customer-info .captcha-block {
    /*margin-top: 0.5rem;*/
}

.customer-info .text {
    border-bottom: 1px solid #E6E6E6;
    width: 100%;
    display: block;
    padding-top: 1.5rem;
    padding-bottom: 0.85rem;
    padding-left: 1rem;
    text-align: left;
    min-height: 62px;
}

.btn-border {
    border: 1px solid #AE7129;
    color: #AE7129;
    padding: .175rem .75rem;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.btn-border img {
    margin-right: .55rem;
}

.btn-border:hover {
    border: 1px solid #AE7129;
    background-color: #BF7C2D;
    color: #fff;
}

.btn-border:hover img {
    filter: brightness(500%);
}

.img-cmnd {
    background-color: #F8F8F8;
    padding: 16px 20px;
}

.img-cmnd {
    /*width: 235px;*/
}

.img-cmnd img {
    max-width: 235px;
}

.img-cmnd.edit-mode > div {
    margin-left: 10px;
}

.img-cmnd.edit-mode > div:first-child {
    margin-left: 0;
}

.img-cmnd.edit-mode .attachment {
    width: 235px;
    position: relative;
    cursor: pointer;
}

.img-cmnd.edit-mode .attachment input {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.img-cmnd.edit-mode .attachment .text-select-file {
    color: #C4C4C4;
    font-size: 14px;
}

.img-cmnd.edit-mode .uploaded-image {
    position: relative;
}

.img-cmnd.edit-mode .uploaded-image .close {
    background: #fff;
    border-radius: 50%;
    border: 1px solid #AFAFAF;
    color: #AFAFAF;

    position: absolute;
    right: -3px;
    top: -12px;

    width: 30px;
    height: 30px;
    text-align: center;
    padding: 2px;
    z-index: 1;
    opacity: 1;
}

.img-cmnd.edit-mode .uploaded-image:hover .close {
    display: inline-block !important;
}

.attachment {
    position: relative;
}

.user-account > .tab-content {
    padding-bottom: 80px;
}

.customer-info .form-control {
    border-radius: 0;
    height: 48px;
    margin-bottom: 1rem;
    margin-top: 0.875rem;
}

.customer-info textarea.form-control {
    height: auto;
}

.customer-info .input-group {
    margin-bottom: 1rem;
    margin-top: 0.875rem;
}

.customer-info .input-group .form-control {
    margin-bottom: 0;
    margin-top: 0;
}

.customer-info .btn-border {
    width: 210px;
    margin-left: 25px;
    height: 48px;
    font-weight: 600;
    text-transform: uppercase;
}

.manage-product.accordion {
    margin: 1rem 4rem;
    /*max-height: 600px;*/
    overflow: auto;
}

.manage-product.accordion > .card > .card-header {
    border-radius: 0;
    background-color: #EEEDE8;
    color: #AE7129;
    text-transform: uppercase;
    margin-bottom: 0;
}

.manage-product.accordion > .card {
    border: 0;
    border-radius: 0;
}

.manage-product .btn {
    color: #AE7129;
    text-transform: uppercase;
    font-weight: 600;
}

.product-status {
    position: absolute;
    right: 15px;
    top: 20px;
    text-transform: none;
    font-size: 0.85rem;
    color: #AE7129;
}

.product-status img {
    margin-left: 0.5rem;
    vertical-align: middle;
}

.text-brown {
    color: #AE7129;
}

.timeline {
    list-style-type: none;
    margin-left: 15px;
    padding-left: 25px;
    text-align: left;
    border-left: 2px solid #E5E5E5;
}

.timeline li {
    position: relative;
    margin-bottom: 30px;
    font-size: 0.85rem;
}

.timeline li:after {
    content: "";
    left: -36px;
    top: 0;
    position: absolute;
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 30px;
    border: 2px solid #AE7129;
    background-color: #fff;
}

.timeline .product-status {
    position: relative;
    text-align: right;
    top: auto;
    right: auto;
}

.text-bold {
    font-weight: 600;
}

.timeline .row div:nth-child(2) {
    text-align: right;
}

.modal-address-select .form-control {
    margin-bottom: 14px;
}

.customer-documents .list-documents-view {
    padding: 0 10px;
}

.customer-documents .list-documents-view .name {
    font-size: 18px;
    line-height: 1;
}

.customer-documents .list-documents-view .name img {
    margin-right: 35px;
}

.customer-documents .list-documents-view .time {
    font-size: 14px;
    font-family: Segoe UI;
}

.customer-documents .list-documents-view .item {
    padding: 25px 30px 25px 46px;
    border-bottom: 1px solid #E6E6E6;
}

.customer-documents .list-documents-view .item:last-child {
    border-bottom: none;
}

.coming-soon-block img {
    max-width: 500px;
}

.swal2-container.swal2-top .swal2-popup {
    margin-top: 100px;
}

@media only screen and (max-width: 1119px) {
    .manage-product.accordion {
        margin-left: 0;
        margin-right: 0;
    }

    .customer-documents .list-documents-view {
        padding: 0 1rem;
    }
}

@media only screen and (min-width: 1200px) {
    .container {
        max-width: inherit;
        /*padding: 0 10vw;*/
    }
}

@media only screen and (max-width: 767px) {
    .input, .select, .form-control {
        height: 40px !important;
        font-size: 12px;
        padding: 0 15px;
    }

    .wrapper-customer {
        padding-top: 50px;
    }

    .wrapper-customer .title-border:after {
        width: 50vw;
    }

    .wrapper-customer .title-border {
        font-size: 1.5rem;
        line-height: normal;
        padding-bottom: 35px;
    }

    .form.form-authenticate .label-input {
        font-size: 1rem;
    }


    .form.form-authenticate .form-control {
        height: 40px;
    }

    .btn-brown {
        line-height: 48px;
        margin-top: 20px
    }

    .user-account {
        padding-top: 30px
    }

    .user-account .nav-tabs a {
        font-size: 0.75rem;
    }

    .customer-info .btn-brown-01,
    .customer-info .btn-brown,
    .customer-info .btn-border {
        min-width: 100px;
        margin: auto auto 10px;
    }

    .customer-documents .list-documents-view .item {
        padding: 10px 0;
    }

    .customer-documents .list-documents-view .name {
        font-size: 14px;
    }

    .customer-documents .list-documents-view .name img {
        margin-right: 20px;
        width: 30px;
    }

    .coming-soon-block img {
        max-width: 100%;
    }

    .coming-soon-block h4 {
        font-size: 16px;
    }

    .document-page .nav .nav-link {
        padding: 10px;
        font-size: 14px;
    }
}

.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: 13%;
}

.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 {
    opacity: 0;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    opacity: 1;
}

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

.timeline-status-journey {
    white-space: nowrap;
    overflow-y: auto;
    padding-top: 24px;
    padding-bottom: 10px;
}

.timeline-status-journey .item-status {
    display: inline-block;
    text-align: center;
    position: relative;
}

.timeline-status-journey .item-status .item-circle {
    display: inline-block;
    position: relative;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 2px solid #50B566;
    margin: auto 20px;
    padding: 10px 0 0 0;
}

.timeline-status-journey .item-status .item-circle.green {
    background-color: #50B566;
}

.timeline-status-journey .item-status .item-circle .icon.white {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.timeline-status-journey .item-status .item-circle:before {
    content: "";
    position: absolute;
    right: calc(100% + 2px);
    top: 50%;
    width: 22px;
    height: 2px;
    background: #50B566;
}

.timeline-status-journey .item-status .item-circle:after {
    content: "";
    position: absolute;
    left: calc(100% + 2px);
    top: 50%;
    width: 24px;
    height: 2px;
    background: #50B566;
    z-index: 3;
}

.timeline-status-journey .item-status .display.green {
    color: #50B566;
}

.timeline-status-journey .item-status:first-child .item-circle {
    margin-left: 0;
}

.timeline-status-journey .item-status:first-child .item-circle:before {
    display: none;
}

.timeline-status-journey .item-status:last-child .item-circle {
    margin-right: 0;
}

.timeline-status-journey .item-status:last-child .item-circle:after {
    display: none;
}

.timeline-status-journey .item-status .due-date {
    position: absolute;
    top: -24px;
    width: 100%;
    text-align: center;
    color: red;
    font-size: 14px;
}

.timeline-status-journey .item-status .overdue-days {
    position: absolute;

    text-align: center;
    color: red;
    font-size: 12px;
    display: inline;
    left: 100%;
    transform: translate(-50%, 0);
    z-index: 4;
    top: 5px;
}

.timeline-status-journey .item-status .overdue-days:before {
    content: "";
    width: 5px;
    height: 5px;
    background-color: red;
    border-radius: 50%;

    position: absolute;
    right: 0;
    top: 100%;
    z-index: 4;
}

.timeline-status-journey .item-status.delayed .item-circle:after,
.timeline-status-journey .item-status.overdue .item-circle:after {
    background: red;
}

.timeline-status-journey .item-status.delayed .item-circle,
.timeline-status-journey .item-status.overdue .item-circle {
    border-color: red !important;
    background-color: white !important;
}

.timeline-status-journey .item-status.delayed .display,
.timeline-status-journey .item-status.overdue .display {
    color: red !important;
}

.timeline-status-journey .item-status.due .display {
    color: #656565;
}

.timeline-status-journey .item-status.delayed .item-circle .icon,
.timeline-status-journey .item-status.overdue .item-circle .icon {
    -webkit-filter: invert(40%) grayscale(100%) brightness(40%) sepia(100%) hue-rotate(-50deg) saturate(400%) contrast(2);
    filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(-50deg) saturate(600%) contrast(0.8);
}

.timeline-status-journey .item-status.due .item-circle .icon {
    -webkit-filter: none;
    filter: none;
}

.button-circle-wrapper button[type="submit"], .button-circle-wrapper .btn.btn-brown-01, .button-circle-wrapper .btn.btn-border{
    background-color: rgba(169,107,17,0.08) !important;
    color: rgba(169,107,17,0.84) !important;
    border-radius: 30px;
}

.button-circle-wrapper button[type="submit"]:hover, .button-circle-wrapper .btn.btn-brown-01:hover, .button-circle-wrapper .btn.btn-border:hover{
    background-color: #A96B11 !important;
    color: #fff !important;
}

body.table-login{
    font-family: 'Montserrat', 'Roboto', sans-serif !important;
}