﻿@font-face {
    font-family: 'roboto';
    src: url('../../../fonts/roboto/Roboto-Thin.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-bold';
    src: url('../../../fonts/roboto/Roboto-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-black';
    src: url('../../../fonts/roboto/Roboto-Black.ttf') format('truetype');
}

body {
    font-family: 'roboto-bold';
}

body > nav.navbar-default {
    background: #FFF;
    z-index: 1000 !important;
    margin-bottom: 0;
    margin-top: 27px;
    min-height: 90px;
}

body > nav.navbar-default .menu-header {
    color: #002554;
    padding: 20px 40px 20px 25px;
    min-height: 90px;
}

footer {
    font-family: "roboto-black";
    background: #FFF;
    color: #002554;
    padding: 0 40px 15px 40px;
}

footer a {
    color: #002554;
}
    
/*** LOGIN ****/
.login-form {
    background: #fff;
    /*height: calc(100vh - 65px);*/
}

.login-form-field {
    width: 280px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 100px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    padding: 15px 30px;
    border: 1px solid #aaa;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #888;
    background: #fff;
    width: 280px;
    box-shadow: none;
    border-radius: 0;
    font-size: 16px;
}

.login-form input[type="submit"] {
    display: block;
    line-height: 30px;
    height: 50px;
    letter-spacing: .2em;
    text-transform: uppercase;
    background: #000;
    border: 1px solid #000;
    border-radius: 0;
    font-size: 14px;
    color: #fff;
    width: 100%;
}

    .login-form input[type="submit"]:hover {
        background: #333;
    }

    .login-form input[type="submit"] a {
        text-decoration: none;
        color: #fff;
    }



.login-form .login-title {
    color: #333;
    font-size: 38px;
}

.login-form-field .form-group {
    margin-bottom: 15px;
}

/*** END LOGIN ***/
.link-to-order-container {
    padding: 0;
    background-size: cover;
    height: calc(100vh - 315px);
}

.link-to-order-container-riassortimento {
    background-image: url('../../../images/optima/home_riassortimenti.jpg');
}

.link-to-order-container-campagna {
    background-image: url('../../../images/optima/home_campagna.jpg');
}

.link-to-order {
}

.link-to-order-text {
    
}

.link-to-order-text {
    color: #fff;
    font-size: 16px;
    position: absolute;
    background: #FFF;
    color: #002554;
    font-family: 'roboto-black';
    border: none;
    padding: 20px;
    top: 50%;
    transform: translate(0, -50%);
}

.link-to-order-container-riassortimento .link-to-order-text {
    right: 40px;
}

.link-to-order-container-campagna .link-to-order-text {
    left: 40px;
}

.link-to-order-img {
    width: 100%;
}

#TotCapi, #TotPrice, .tot-label {
    font-family: 'roboto-bold';
    font-weight: bold;
}

.shipping-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #002554;
    text-align: center;
    z-index: 9998;
    padding: 5px 0;
    min-height: 27px;
}

.shipping-bar > span {
    font-family: "roboto-black";
    color: #FFFFFF;
    letter-spacing: 5px;
}

.navbar-default .navbar-nav > li > a {
    font-family: "roboto-black";
    color: #002554;
}

#menu {
    display: flex !important;
    justify-content: center;
}

#menu li {
    margin-right: 20px;
}

#menu li:last-child {
    margin-right: 0;
}

#LogOut {
    text-transform: uppercase;
    position: absolute;
    right: 40px;
}

.logos-container {
    display: flex;
    flex-direction: row;
    margin: 20px 0;
    min-height: 88px;
}

.logos-container > div {
    flex: 1;
    margin-right: 20px;
}

.logos-container > div:last-child {
    margin-right: 0;
}

.logos-container > div img {
    height: 60px;
}

.info-container p {
    margin-bottom: 0;
}

.social-container {
    display: flex;
    flex-direction: row-reverse;
}

.social-container > div {
    flex: 1;
}

.social-container > div img {
    height: 20px;
}

.social-container div.policy-container {
    flex: 5;
    text-align: right;
}

.social-link-container {
    display: flex;
    flex-direction: row-reverse;
}

.social-link-container div {
    margin-right: 20px;
}

.social-link-container div:first-child {
    margin: 0;
}

.social-container-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.social-container-wrapper > div:first-child {
    min-height: 140px;
}

.content-block.default-bg {
    min-height: calc(100vh - 435px);
}

#search_panel2 {
    margin: 0;
}

.title_product {
    margin-top: 20px;
}

.grid_element .colors-swatches-container {
    padding-top: 10px;
    padding-bottom: 10px;
    overflow-x: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
}

.colors-swatches-container .color-swatch-container {
    display: inline-block;
    padding-right: 6px;
}

.noteCliente, .partitarioCliente {
    position: absolute;
    right: 0;
}

.noteCliente {    
    top: 0;
}

.partitarioCliente {
    top: 40px;    
}

.noteCliente > button, .partitarioCliente > button {
    width: 20px;
    height: 20px;
    padding: 0;
    outline: none !important;
}

.noteCliente > button > img, .partitarioCliente > button > img {
    height: 100%;
    width: 100%;
}

#partitarioDialog > div.modal-dialog {
    width: 800px;
}

#partitarioDialog > div.modal-dialog div.partitario {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

tr.insoluto > td {
    background-color: red;
}

.btn-group.dropup.open > ul.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

#detTabContainer {
    height: calc(100vh - 456px);
    overflow-y: auto;

}

.orderDetails {
    padding-left: 15px;
    padding-right: 15px;
}

.info-griglia {
    float: left;
    margin-left:30px;
}

.is-in-promo-flag {
    color: #002554;
    font-weight: bold;
    position: absolute;
    right: 10px;
    font-size: 12px;
    bottom: 120px;
    z-index: 1;
}

.promo-attiva {
    color: #002554;
}

#closedorders_wrapper > div.row > div.col-sm-12,
#Ordini0_wrapper > div.row > div.col-sm-12 {
    overflow-x: auto;
}

.mbsc-sc-whl-sc > div[role="option"] > div {
    color: rgba(255,255,255,0) !important;
}

.mbsc-material .mbsc-sc-whl-l {
    border-top: 2px solid #415667 !important;
    border-bottom: 2px solid #415667 !important;
}

.mbsc-material .mbsc-fr-btn {
    color: #000 !important;
}