/* IMAGE MODAL*/
md-dialog {
    max-width: 95%;
    max-height: 95%;
}
.big-image-box {
    height: 80vh;
}
.big-image-box img{
    max-height: 100%;
}
.md-toolbar-tools {
    height: 40px;
    max-height: 40px;
    padding: 0 16px;
}
md-toolbar {
    min-height: 38px;
}
md-dialog .md-dialog-content {
    padding: 10px;
}

/* Scrollbar */
::-webkit-scrollbar {
  -webkit-appearance:none;
  width:12px;
  _background-color:#f0f0f0;
}
::-webkit-scrollbar-thumb {
  border-radius:12px;
  border:4px solid rgba(255,255,255,0);
  background-clip:content-box;
  _background-color:#bfbfbf;
  background-color: #A0A0A0;
}
::-webkit-scrollbar-thumb:hover {
  border-radius:12px;
  border:4px solid rgba(255,255,255,0);
  background-clip:content-box;
  background-color:#A0A0A0;
}
::-webkit-scrollbar-corner {
  background-color:#e6e6e6;
}

.ui-loader {
    display: none;
}


/* Principal container */
md-content.principal {
    background-color: #eeeeee;
    padding: 0;
}
.bottom-progress {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 0;
}
.help-images {
    padding-bottom: 20px;
    float: left;
}
.help-images img{
    border: solid 1px #A0A0A0;
    width: 100%;
}
.help-images span{
    color: #A0A0A0;
    font-size: 0.8em;
}
.help-contact img {
    width: 20px;
    margin-bottom: -4;
}
.help-contact span {
    /*text-decoration: underline;*/
    font-weight: bold;
}
.help-contact a {
    text-decoration: none;
    color:#282828;
}
.help-contact a:hover {
   color:#A01F3B;
}
.principal>div:focus{
    outline: none;
}


/* Toolbar */
md-toolbar.principal {
    background-color: white !important;
    border-bottom:solid 2px #555354 /*#A01F3B*/; 
    padding: 10px 0;
    /*max-height: 100px;*/
}
.toolbar-logo {
    padding: 0;
    width: 167px;
    margin: auto;
}
.toolbar-logo img {    
    max-width: 100%; /*167px;*/
    max-height: 60px;
    cursor: pointer;
}
.toolbar-logomini {
    margin: 8px auto;
}
.toolbar-logomini img {    
    width: 100%;
    margin-left: -5px;
    padding-right: 5px;
    cursor: pointer;
}
@media screen and (max-width: 600px) {
    .toolbar-logo img { 
        margin-bottom: 10px;
    }
}
md-chips .md-chips.md-focused {
    box-shadow: 0 2px #A01F3B !important;
}
.md-chips {
    padding: 6px 0 5px 3px !important;
}
.md-autocomplete-suggestions-container li .highlight {
    color: #A01F3B;
}
.md-virtual-repeat-container.md-autocomplete-suggestions-container {
    min-width: 250px !important;
}
/*#toolbar .md-button {
    margin: 20px 0;
    padding-right: 0;
}*/
.top-link {
    padding: 20px 12px;
}
.top-link a {
    font-family: Open Sans,sans-serif;
    font-size: 16px;
    text-decoration: none;
    color: #707070;
}
.top-link a:hover {
    color: #282828;
}


/* Left Sidenav */
.left-link {
    padding: 10px;
    border-bottom: solid #e6e6e6 1px;
}


/* Right Sidenav */
.md-sidenav-right md-toolbar {
    background-color: inherit;
    color: #555354;
}


/* Stock items */
md-card {
    max-width: 294px;
    min-height: 430px;/*455px;*/
    font-size: 0.9em;
}
md-card.main-card {
    max-width: 100%;
    font-size: 1em;
}
table {
    font-size: inherit;
    border-spacing: 0;
    width: 100%;
}
td {
    border-bottom:1pt solid #eeeeee;
    height: 24px;
    width: 55%;
}
td.row-title {
    width: 45%;
}
.md-card-image {
    width: 295px;
    max-height: 150px;
    /*margin: 10px auto;*/
    cursor: pointer;
}
.md-card-image-border {
    width: 295px;
    margin: -150px auto 10px auto;
    cursor: pointer;
    /*border: solid 1px #A01F3B;*/
}
.md-card-image-overlap {
    position: relative;
    z-index: 2;
    /*top: 10px;*/
    width: 295px;
    margin: 0 auto;
    cursor: pointer;
}
.md-headline {
    font-size: 16px;
    font-weight: bold;
}
md-card md-card-title {
    /*display: block;*/
    flex: none;/*1 1 auto;*/
    padding: 10px 16px 10px;
}
md-card md-card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
}
md-card.main-card md-card-content {
    display: block;
}
md-card.main-card .md-headline {
    font-size: 24px;
}
/*md-card md-card-title {
    padding: 24px 16px 16px;
    display: flex;
    flex-direction: row;
}*/
md-card md-card-content {
    padding-bottom: 0;
}
md-card md-card-content>p {
    line-height: 1.8;
}
md-card md-card-content>p>i>span {
    color: #A01F3B;
    font-size: 0.9em;
}
.ng-scope.layout-column.flex {
    flex: auto; /* for IE and old browsers bug */
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
     /* IE10+ CSS styles go here */
    md-card md-card-title {
        min-height: 40px;
    }
}
.md-button {
    color: #A01F3B;
}

.ask-special-price {
    font-size: 0.9em;
}

.stock-arrival-info {
    color: #868686; /*#A0A0A0;*/
    font-size: 0.9em;
    font-style: italic;
}

.stock-allsizes-info {
    color: #525252;
    font-size: 0.9em;
    font-style: italic;
}

/* Stock popup */
.md-dialog-fullscreen {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

@media screen and (max-width: 600px) {
    .md-dialog-content {
        padding: 0 !important;
    }
}
.md-dialog-content p {
    margin-top: 0;
}
.measures-box {
    background-color: #eeeeee;
}
.measures-box p{
    margin-bottom: 0;
}
.thumbnails-box {
    background-color: #eeeeee;
    padding-top: 5px;
}
.thumbnails-box img{
    cursor: pointer;
}

footer md-toolbar {
    font-size: 12px;
    min-height: 20px;
}
footer md-toolbar:not(.md-menu-toolbar) {
    background-color: rgb(77 78 86);
    color: rgb(255,255,255);
}
footer a {
    text-decoration: none;
    color: rgb(255,255,255);
}