﻿@media screen {
    .noscreen
    {
        display: none !important;
    }
}
@media print {

    body {
        margin: 1.6cm;
    }

    @page {
        size: A4 portrait;
        margin-right: 0.5cm;
    }

    .noprint, .nav-tabs, .btn  {
        display: none !important;
    }

    .table
    {
        font-size:10px !important;
    }

    .table  thead > tr > th, .table  tr > th
    {
        font-size:10px !important;
    }

    .table tbody > tr > td, .table tr > td {
            font-size:10px !important;
    }

    label {
    
    font-size: 12px;
    
}



    .table-responsive {
        overflow: visible;
        width: auto;
        height: auto;
    }

    .modal-content {
        border: 0;
        padding: 0;
        margin: 0;
    }



    .modal {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        padding: 0;
        visibility: visible;
        /**Remove scrollbar for printing.**/
        overflow: visible !important;
    }

    .modal-dialog {
        visibility: visible !important;
        /**Remove scrollbar for printing.**/
        overflow: visible !important;
    }

    #formCRUD {
        display: block !important;
        position: relative !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        margin-left: 0 !important;
    }


}



body {
    line-height: normal;
}

.ng-invalid {
    background-color: #ffedf8;
    border-radius: 4px;
}


.search-control.ng-dirty {
    background-color: #ffffff;
    border-radius: 4px;
}

form.ng-invalid {
    background-color: #ffffff;
    border-radius: 6px;
}


.formDetail.ng-invalid {
    background-color: #ffffff;
    border-radius: 6px;
}


form.ng-dirty {
    background-color: #ffffff;
    border-radius: 4px;
}


.table th {
    font-size: 12px;
    background-color: #F8F8F8;
}

.table td {
    font-size: 12px;
}

.table tbody > tr > td {
    vertical-align: middle;
}

    .table tbody > tr > td.td-right {
        vertical-align: middle;
        text-align: right;
    }

    .table tbody > tr > td.td-left {
        vertical-align: middle;
    }


    .table tbody > tr > td.td-center {
        vertical-align: middle;
        text-align: center;
    }

.table thead > tr > th.th-center {
    vertical-align: middle;
    text-align: center;
}

.table thead > tr > th.th-left {
    vertical-align: middle;
}

.table thead > tr > th.th-right {
    vertical-align: middle;
    text-align: right;
}



.table tfoot > tr > td.td-right {
    vertical-align: middle;
    text-align: right;
}

.table tfoot > tr > td.td-left {
    vertical-align: middle;
}


.table tfoot > tr > td.td-center {
    vertical-align: middle;
    text-align: center;
}

table > tbody > tr.primary > td, .table > tbody > tr.primary > th, .table > tbody > tr > td.primary, .table > tbody > tr > th.primary, .table > tfoot > tr.primary > td, .table > tfoot > tr.primary > th, .table > tfoot > tr > td.primary, .table > tfoot > tr > th.primary, .table > thead > tr.primary > td, .table > thead > tr.primary > th, .table > thead > tr > td.primary, .table > thead > tr > th.primary {
    background-color: rgb(46, 109, 164);
    color: #ffffff;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.modal-header {
    padding-bottom: 0px;
}

.input-group {
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.btn-command {
    margin: 0;
    padding: 5px;
    color: #337AB7;
}

.panel {
    margin-bottom: 10px;
}

.panel-body {
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
}

.nav-tabs {
}

    .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
        background-color: #f8f8f8;
        border: 1px solid #ccc;
        border-bottom-color: transparent;
        color: #000000;
        font-size: 12px;
    }

    .nav-tabs > li > a {
        color: #000000;
        font-size: 12px;
    }

.tab-pane {
    padding: 10px;
    padding-bottom: 0px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    border-top-color: transparent;
}

label {
    margin-bottom: 1px;
    font-weight: 600;
    font-size: 12px;
    padding-left: 1px;
}

.form-group {
    margin-bottom: 8px;
}

select.form-control {
    padding-left: 4px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-top: 0px;
    height: 28px;
    border-radius: 4px 4px;
    font-size: 12px;
}

input.form-control {
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 0px;
    padding-top: 0px;
    height: 28px;
    border-radius: 4px;
    font-size: 12px;
}

div.form-control {
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 4px;
    padding-top: 4px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid rgb(204, 204, 204);
    background-color: rgb(238, 238, 238);
    font-size: 12px;
}

textarea.form-control {
    font-size: 12px;
}


input[type=checkbox].form-control {
    box-shadow: none;
    width: 28px;
    height: 28px;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 5px;
    padding-bottom: 0px;
    font-size: 12px;
}

.btnx {
    height: 28px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.navbar {
    position: relative;
    min-height: 20px;
    margin-bottom: 0px;
}

.navbar-nav > li > a {
    padding-top: 7px;
    padding-bottom: 7px;
}

h3.form-title {
    padding-bottom: 0px;
    padding-top: 5px;
    margin-top: 5px;
    font-size: 20px;
}

h3.modal-title {
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 10px;
    font-size: 20px;
}

.number3 {
    text-align: right;
    width: 50px;
}


.number5 {
    text-align: right;
    width: 50px;
}

.number6 {
    text-align: right;
    width: 60px;
}


.number8 {
    text-align: right;
    width: 76px;
}

.number10 {
    text-align: right;
    width: 100px;
}


input.form-control.ng-valid-date {
    width: 80px;
}

.small, small {
    font-weight: bold;
    color: #404040;
}

.navbar-inverse .navbar-nav > li > a {
    color: #FFF8F7;
}

.typeahead {
    background-image: url(backgrounds/find_text.png?v=1);
    background-repeat: no-repeat;
    background-position: center right 4px;
}


.loadingBox {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 1em;
    background: rgba(192,192,192,0.3);
    z-index: 1060;
}

.loadingMessage {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    position: fixed;
    width: 180px;
    height: 60px;
    padding: 1em;
    text-align: center;
    color: #000000;
    font-weight: bold;
    z-index: 1060;
}

#form2 {
    background-color: white;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
    border-radius: 4px;
    min-height: 400px;
    margin-top: 5px;
    margin-bottom: 20px;
}

.table-super-condensed {
    margin-bottom: 0px;
}

    .table-super-condensed > tbody > tr > td, .table-super-condensed > tbody > tr > th, .table-super-condensed > tfoot > tr > td, .table-super-condensed > tfoot > tr > th, .table-super-condensed > thead > tr > td, .table-super-condensed > thead > tr > th {
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 2px;
        padding-right: 2px;
    }

div.form-control-disabled {
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 4px;
    padding-top: 6px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid rgb(204, 204, 204);
    background-color: rgb(238, 238, 238);
    font-size: 12px;
}

.th-sort {
    white-space: nowrap;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}


.table-report tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;

}

.table-report tfoot tr,
.table-report thead tr {
    display: table;
    width: -webkit-calc(100% - 18px) !important;
    width: -moz-calc(100% - 18px) !important;
    width: calc(100% - 18px) !important;
    table-layout: fixed;

}


.table-report tbody {
    display: block;
    overflow-x: hidden;
    overflow-y: scroll;
}


.table-report tfoot tr {
    background-color: teal;
    color: white;
    font-weight: bold;
}


.form-title-heart-unselected {
    font-size: 20pt;
    color: lightgray;
    cursor: pointer;
}

.form-title-heart-selected {
    font-size: 20pt;
    color: #F00016;
    cursor: pointer;
}

.favorites-border-odd {
    border-radius: 4px 4px;
    border-width: 1px;
    padding: 4px;
    border-style: solid;
    border-color: #E8C7C7;
}

.favorites-border-even {
    border-radius: 4px 4px;
    border-width: 1px;
    padding: 4px;
    border-style: solid;
    border-color: #E8C7C7;
}

.favorites-container-odd {
    text-align: center;
    height: 100px;
    vertical-align: middle;
    background-color: #838385;
    
}

.favorites-container-even {
    text-align: center;
    height: 100px;
    vertical-align: middle;
    background-color: #EEEEEE;
}

.favorites-container-odd > a {
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    display:block;
    height:85px;
    
    
}


.favorites-container-even > a {
    text-align: center;
    color: #404040;
    text-decoration: none;
    display:block;
    height:85px;
}

.favorites-heart {
    float: right;
    padding-right: 2px;
    padding-top: 1px;
}

    .favorites-heart > i {
        font-size: 16pt;
        color: #F00016;
        cursor: pointer;
    }

.favorites-move {
    float: left;
        color:#C1C1C1;

}
.btn-wine, .btn-wine:hover {
    background-color: #800080;
    color: #ffffff;
}

.btn-pink, .btn-pink:hover {
    background-color: #FF00DC;
    color: #ffffff;
}
