﻿html {
    height: 100%;
}

body {
    color: #495160;
    font-family: 'Nunito Sans';
    background: #F4F4F4;
}

a {
    color: #4C5155;
    text-decoration: none;
}

    a:hover {
        color: #4C5155;
        text-decoration: none;
    }

.p-6 {
    padding: 4rem !important;
}

.p-7 {
    padding: 5rem !important;
}

.app {
    position: relative;
    display: flex;
}

.logo {
    padding: 0 0 40px 0;
}

.footer {
    color: #4C5155;
    font-size: 11px;
    font-weight: 600;
    line-height: 13px;
    opacity: 0.6;
    padding: 50px 50px 100px 50px;
    line-height: 15px;
}

.title {
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
}

.subtitle {
    font-size: 16px;
}

.sub-subtitle {
    font-size: 12px;
    font-weight: 600;
}

hr.divider {
    height: 4px;
    background-color: #4B5256;
}

.weight-600 {
    font-weight: 600;
}

.weight-700 {
    font-weight: 700;
}

.weight-300 {
    font-weight: 300;
}

.text-danger {
    font-weight: 700;
}

/* NAV SIDEBAR */
.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
    min-width: 0;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
        z-index: 999;
    }

        .main .top-row > a {
            margin-left: 1.5rem;
        }

            .btn-danger{
                border-color: #ee7202;
                background-color: #ee7202;
            }
             
            .btn-danger:hover{
                border-color: #ff5100;
                background-color: #ff5100;
            }

.navbar-toggler {
    background-color: #ee7202 !important;
}

    .navbar-toggler i {
        color: white;
    }

.sidebar {
    background-color: white;
}

    .sidebar .navbar-brand {
        font-size: 1.3rem;
        text-align: center;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #202224;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
            padding-left: 1.2rem;
            padding-right: 1.2rem;
            border-radius: 4px;
            font-weight: 700;
        }

            .sidebar .nav-item a.active {
                background-color: #ee7202;
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: #ee7202;
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link {
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .app {
        flex-direction: column;
    }

    .main .top-row {
        display: none;
    }
}

@media (min-width: 768px) {

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

/**** Inline Nav bar *****/
.inline-navbar .nav-item a {
    color: #EE7202;
    height: 1rem;
    display: flex;
    align-items: center;
    line-height: 1rem;
    padding: 1rem 2rem !important;
    border-radius: 5px;
    border: 1px solid #ee7202;
}

    .inline-navbar .nav-item a.active {
        background-color: #EE7202;
        color: white;
    }

    .inline-navbar .nav-item a:hover {
        background-color: #EE7202;
        color: white;
    }

/**** PAGE ELEMENTS*****/

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.under-title {
    border-top: 1px dashed #77859D;
}

.page-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
}

.page-hint {
    font-size: 0.8rem;
    font-weight: 600;
}

form label {
    font-size: 1em;
    font-weight: 700;
}

form input[type=text], form input[type=file], form input[type=date], form select, form .custom-file-label, form .bootstrap-tagsinput {
    max-width: 330px;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #495160;
    background-color: #495160;
}

/***************/
.detail {
    font-size: 13px;
    line-height: 16px;
}

.quantity, .price {
    font-size: 15px;
    line-height: 18px;
    text-align: right;
}

.total {
    font-size: 24px;
    font-weight: 600;
    line-height: 17px;
}

.total-amount {
    font-size: 32px;
    font-weight: 600;
    line-height: 38px;
    text-align: right;
}

.shipping-country {
    font-size: 15px;
    font-weight: 300;
    margin-top: -5px;
}

.box {
    background-color: #F7F7F7;
    box-shadow: 0 0 5px 0 rgba(72, 82, 98, 0.26);
    border-radius: 6px;
    text-align: center;
    border: 6px solid #fff;
    padding: 30px;
}

.payment .box {
    position: relative;
    height: 110px;
    padding: 30px;
}

.box .check {
    display: none;
}

.box.selected {
    border: 2px solid #D80E3A;
}

    .box.selected .check {
        display: block;
        top: 10px;
        position: absolute;
        left: 10px;
    }



.payment span {
    font-size: 11px;
    line-height: 13px;
    font-weight: 600;
}

.pay-now {
    border-radius: 23.4px;
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.5);
    width: 285.91px;
    height: 54px;
    color: #FFFFFF;
    font-size: 18.7px;
    font-weight: 600;
}

    .pay-now:hover {
        color: #fff;
    }

    .pay-now.cl {
        background-color: #D80E3A;
        border: 6.3px solid #D80E3A;
    }

    .pay-now.ip {
        background-color: #000000;
        border: 6.3px solid #000000;
    }

    .pay-now.tst {
        background-color: #3abf9e;
        border: 6.3px solid #3abf9e;
    }

    .pay-now.sc {
        background-color: #e3448b;
        border: 6.3px solid #e3448b;
    }

.goback {
    font-size: 17px;
    text-decoration: underline;
    color: #4C5155;
}

.payment-progress {
    width: 117px;
    height: 41px;
}

    .payment-progress img, .payment-progress div {
        position: absolute;
    }

.progress-symbol {
    line-height: 41px;
    font-size: 25px;
    font-weight: 600;
}

.progress-subtitle {
    font-size: 12px;
}

.linestep {
    background-image: url("../img/barra.png");
    background-repeat: repeat-x;
    height: 41px;
}

.authenticated-user .user {
    font-size: 0.8rem;
    font-weight:700;
}

.authenticated-user .role {
    font-size: 0.7rem;
}

/* Pagina di Errore */
.error-title {
    font-size: 17px;
    line-height: 20px;
}

.error-text {
    font-weight: 600;
}


/* Pagina Manifest */
.manifest {
    background: white;
}

    .manifest .note .bordered {
        height: 100px;
        border: 1px #c4c4c4 solid;
        background: #f4f4f4;
        border-radius: 10px;
    }

    .manifest .shippings tr {
        border-bottom: 1px solid rgba(0,0,0,.1)
    }


/* Pagina Routinf */

.shop-routing-table {
    border-bottom: 4px solid #77859D;
}

    .shop-routing-table .fix-width {
        width: 100px;
    }

    .shop-routing-table .thead {
        border-bottom: 4px solid #77859D;
        font-weight: 700;
        font-size: 0.8rem;
    }

    .shop-routing-table .odd {
        background-color: rgba(0,0,0,.05);
    }

    .shop-routing-table .row {
    }


/**************** OVERLAY **********************/
#overlay {
    background: #080808;
    position: fixed;
    z-index: 99999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0px;
    opacity: 0.94;
    color: #c1c1c1;
}

    #overlay ul {
        padding: 0;
        margin: 300px auto 0;
        list-style: none;
        text-align: center;
        display: block;
    }

        #overlay ul li {
            width: 10px;
            height: 10px;
            background-color: white;
            box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
            display: inline-block;
            border-radius: 50%;
            margin: 0 4px;
            -webkit-animation: loading 2.5s infinite;
            -moz-animation: loading 2.5s infinite;
            -o-animation: loading 2.5s infinite;
            -ms-animation: loading 2.5s infinite;
            animation: loading 2.5s infinite;
            -webkit-animation-fill-mode: both;
            -moz-animation-fill-mode: both;
            -o-animation-fill-mode: both;
            -ms-animation-fill-mode: both;
            animation-fill-mode: both;
            -webkit-animation-timing-function: cubic-bezier(0.030, 0.615, 0.995, 0.415);
            -moz-animation-timing-function: cubic-bezier(0.030, 0.615, 0.995, 0.415);
            -o-animation-timing-function: cubic-bezier(0.030, 0.615, 0.995, 0.415);
            -ms-animation-timing-function: cubic-bezier(0.030, 0.615, 0.995, 0.415);
            animation-timing-function: cubic-bezier(0.030, 0.615, 0.995, 0.415);
        }

            #overlay ul li.li6 {
                -webkit-animation-delay: 0.1s;
                -moz-animation-delay: 0.1s;
                -o-animation-delay: 0.1s;
                -ms-animation-delay: 0.1s;
                animation-delay: 0.1s;
            }

            #overlay ul li.li5 {
                -webkit-animation-delay: 0.25s;
                -moz-animation-delay: 0.25s;
                -o-animation-delay: 0.25s;
                -ms-animation-delay: 0.25s;
                animation-delay: 0.25s;
            }

            #overlay ul li.li4 {
                -webkit-animation-delay: 0.5s;
                -moz-animation-delay: 0.5s;
                -o-animation-delay: 0.5s;
                -ms-animation-delay: 0.5s;
                animation-delay: 0.5s;
            }

            #overlay ul li.li3 {
                -webkit-animation-delay: 0.75s;
                -moz-animation-delay: 0.75s;
                -o-animation-delay: 0.75s;
                -ms-animation-delay: 0.75s;
                animation-delay: 0.75s;
            }

            #overlay ul li.li2 {
                -webkit-animation-delay: 1s;
                -moz-animation-delay: 1s;
                -o-animation-delay: 1s;
                -ms-animation-delay: 1s;
                animation-delay: 1s;
            }

            #overlay ul li.li1 {
                -webkit-animation-delay: 1.25s;
                -moz-animation-delay: 1.25s;
                -o-animation-delay: 1.25s;
                -ms-animation-delay: 1.25s;
                animation-delay: 1.25s;
            }


@-webkit-keyframes loading {
    0% {
        -webkit-transform: translateX(-30px);
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        -webkit-transform: translateX(30px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@-moz-keyframes loading {
    0% {
        -moz-transform: translateX(-30px);
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        -moz-transform: translateX(30px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@-o-keyframes loading {
    0% {
        -o-transform: translateX(-30px);
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        -o-transform: translateX(30px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@-ms-keyframes loading {
    0% {
        -ms-transform: translateX(-30px);
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        -ms-transform: translateX(30px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes loading {
    0% {
        -ms-transform: translateX(-30px);
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        -ms-transform: translateX(30px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.bootstrap-tagsinput .tag {
    background-color: #ff5000;
    border-radius: 3px;
    padding: 1px 6px;
}
