/* CSS Document */
* {
    vertical-align: baseline;
    font-weight: inherit;
    font-family: inherit;
    font-style: inherit;
    font-size: 100%;
    border: 0 none;
    outline: 0;
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}
html, body {
    height: 100%;
    font-family: 'Arial';
    overflow-x: hidden;
}
body {
    background-color: #393939;
}
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background-color: #dfe1e1;
}
::-webkit-scrollbar-thumb {
    background-color: #080808;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
}
::-webkit-scrollbar-button {
    display: none;
}
::-webkit-scrollbar-corner {
    background-color: #000000;
}
.vertical-align {
    height: 100%;
    display: flex;
    align-items: center;
}
.margin-bottom {
    margin-bottom: 1em;
}
.margin-top {
    margin-top: 1em;
}
h3 {
    border-radius: 10px 10px 0px 0px;
    color: #FFF;
    background-color: #eca151;
    font-weight: bold;
    padding: 1em;
    margin: 0;
}
.login-form{
    border-radius: 20px 20px 10px 10px;
    background-color: #f1f3ee;
    color: #FFF;
    padding: 0;
}
.input-group-addon.login-input{
    padding-left: 18.7px;
    padding-right: 18.7px;
}
.login-form .input-group {
    width: 90%;
    margin-left: 5%;
    margin-top: 2em;
}
.sing-in {
    text-align: center;
    font-size: 4em;
    margin: 0 auto;
    display: block;
    color: #eca151;
    background-color: transparent;
}
.input-group-addon {
    background: none;
}
.navigation{
    position: relative;
    min-height: 50px;
}
.navigation span{
    display: table-cell;
    vertical-align: middle;
    padding: 0 5px;
}
.formSelectLimit{
    display: table;
    position: absolute;
    right: 65px;
    top: 0;
}
.selectLimit{
    display: table-cell;
    padding: 5px;
    width: 100px;
}
ul.pagination{
    padding: 0;
    margin: 0;
}
/* validation */
.validation-box{
    display: block;
    clear: both;
    padding: 10px;
}
/* login */
.top-bar {
    background-color: #f1f3ee;
    width: 100%;
    text-align: right;
    padding: 1em;
    color: #333;
}
.top-bar a {
    color: #eca151;
}
.header .navbar-default{
    background-color: #eca151;
    height: 11em;
    border-bottom: 1em solid #f1f3ee;
}
.header i {
    color: #FFFFFF;
    text-align: center;
}
.btn-small {
    width: 95px;
    height: 95px;
    float: left;
    position: relative;
    cursor: pointer;
    text-align: center;
    line-height: 100px;
}
.label {
    position: absolute;
    width: 100%;
    color: #fff;
    left: 0;
    text-align: center;
}
.bottom {
    bottom: 5px;
}
.nav.navbar-nav .btn-small:hover, .btn-small:hover, .btn-active {
    background-color: #333;
    transition: all 1s ease;
}
.main {
    position: relative;
    display: block;
    margin-top: -4em;
    min-height: calc(100% - 11.5em);
    background-color: #FFF;
    padding: 0;
    z-index: 999;
}
.navbar-nav .btn-small{
    padding-top: 30px;
}
.action-menu {
    height: 60px;
    background-color: #e6e9ed;
}
.action-menu .btn-small {
    height: 60px;
    width: 100px;
    line-height: 70px;
    float: right;
    color: #eca151;
    background-color: #080808;
    border-left: 5px #313131 solid;
}
.action-menu .btn-small:hover {
    color: #eca151 !important;
    background-color: #393939;
    transition: all 1s ease;
}
.menu-title {
    padding-left: 1.5em;
    line-height: 60px;
    font-size: 2em;
    font-weight: bold;
    color: #080808;
}
.main .form-group ul {
    list-style: none;
    background-color: #f2dede;
}
.main .form-group ul li {
    padding: 10px 5px;
    font-size: 0.9em;
    font-weight: bold;
}
.clear-padding{ 
    padding: 0 !important;
}
.table{
    width: 90%;
    margin-left: 5%;
}
th{
    font-size: 1.2em;
    font-weight: bold;
}
.table-actions a{
    margin-left: 10px;
}
/* offerstajl----------------------------------------- */
#offer-product-list-table{
    margin-top: 50px;
}
#offer-product-list-table th{
    font-size: 0.9em;
    text-align: center;  
}
table #offer-product-list-table {
    border: 0px;
    padding:0; 
    margin:0;
    border-collapse: collapse;
    background-color:red;
}
.offer {
    text-align: center !important;
    padding: 8px;
    margin-bottom: 20px;
}
.add-new-product-to-list a{
    float: right;
    margin-right: 34px;
    display: block;
    margin-top: 10px;
}
.offer-summary{
    display: block;
    width: 100%;
    margin-top: 50px;
}
#offer-summary-table{
    float: right;
    margin-right: 8px;
}
.offer-comment{
    width: 50%;
    margin: 0 auto;
    padding-bottom: 20px;
}
.offer-comment textarea{
    resize:vertical;
    height: 100px;
    max-height: 200px;
}
input[name="productQuantity[]"]{
    width: 65px;
}
input[name="productUnit[]"]{
    width: 65px;
}
input[name="productPriceNetto[]"]{
    width: 90px;
}
input[name="productDiscount[]"]{
    width: 55px;
}
input[name="productVat[]"]{
    width: 72px;
}
input[name="productType[]"]{
    width: 90px;
}
input[name="productAmountNetto[]"],  input[name="productAmountBrutto[]"],input[name="productPriceWithDiscount[]"] {
    width: 90px;
}
input[name="productAmountVat[]"]{
    width: 80px;
}
#offer-product-list-table{
    margin-top: 5px;
    margin-left: -8px !important;
    margin-right: 5px;
}
#offer-product-list-table tr{
    margin: 0px;
}
.footer-action{
    width: 100%;
    border-top: 1px solid #f2dede;
    padding: 20px;
    text-align: right;
}
.product-name-input .form-control-feedback {
    width: 10px !important;
}
textarea[name="productName[]"] {
    width: 230px;  
    max-width: 230px;
    max-height: 120px;
}
.contractorType{
    padding: 20px 0;
}
.contractorType input{
    margin-right: 5px;
}
.contractorType label{
    margin-right: 20px;
}
.contractor-delete-offer-list{
    padding-left: 20px;
}
.product-search{
    width: 30%;
    margin: 30px auto;
}
.product-search input{
    width: 100%;
}
.input-center{
    width: 30%;
    margin: 30px auto;
}
.input-center input{
    width: 100%;
}
.panel {
    margin-top: 50px;
}
/* GUS button */
#contractor_nip_get{
    background-color: #eca151;
    border: 1px solid #eca151;
}
/* CMS */
.cms{
    display: inline-block;
    margin: 0 auto;
    width: 100%;
}
.cms-item{
    margin: 1%;
    width: 23%;
    background-color: #eca151;
    font-size: 1.5em;
    color: #FFF;
    transition: all 1s ease;
    float: left;
    text-align: center;
    padding: 50px;
}
.cms-item:hover{
    background-color: #333;
    color: #FFF;
    text-decoration: none;
}
/* gallery */
.gallery-img-block{
    position: relative;
    height: 200px;    
    background-color: #f1f3ee;
    overflow: hidden;
    margin-bottom: 20px;
}
.gallery-img-block-active{
    border-radius: 10px;
    border: 5px solid #d9534f;
}
.gallery-img-block img{
    width: 100%;
    height: 100%; 
    min-width: 100%;
    object-fit: cover;  
    transition: all .3s;
}
.file-delete{
    display: block;
    clear: both;
}
.file-delete-btn{
    display: block;
    width: 100%;
    padding: 20px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    background-color: #f1f3ee; 
}
.gallery-img-block input{
    position: absolute;
    top: 0;
    margin: 10px;
    left: 10px;
}
.gallery-img-delete{
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}
.gallery-img-title{
    width: 100%;
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    padding: 10px;
    color: #FFF;
}
#preview{
    display: none;
    width: 100%;
    background-color: #f1f3ee;    
}
.file-selected{ 
    font-size: 2em;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
}
#preview img{ 
    width: 100%;
}
@media(max-width: 1200px){
    .main{
        width: 100%;
    }
    #offer-product-list-table, #offer-product-list-table input{
        width: 100%;
    }
    .product-name-input textarea{
        width: 200px;
    }
}
@media(max-width: 991px){
     .input-group-lg>.form-control{    
        font-size: 14px;
        padding-left: 10px;
    }
    .add-new-product-to-list a{
        margin-right: 5px;
    }
    .action-menu .menu-title{
        padding-left: 12px;
    }
    .main{
        font-size:0.85em;
    }
    .main .menu-title{
        font-size: 1.5em;
    }
    .content{
    }
    .main, .form-group, .row{
        width: 100%;
    }
    .content .form-group{
        display: block;
        margin: 10px 0;
    }
    .panel-offer-product{
        width: 100%;
        overflow-x: scroll;
    }

    .panel-offer-product input, .panel-offer-product textarea{
        width: 70%;
        max-width: 70%;
    }
    .table{
        width: calc(100% - 20px);
        margin-left: 0;
        margin: 0 10px;
    }
    tr{
        margin-bottom: 20px;
    }
    .table tbody, tr, td{
        display: block;
        width: 100% !important;
        clear: both;
    }thead{
        display: none;
    }
    .table-actions{
        text-align: left;
    }
    .table-striped>tbody>tr:nth-of-type(odd) {
        background-color: #dfe1e1;
    }
    .table-striped>tbody>tr:nth-of-type(odd) td{
        border-bottom: 1px solid #fff;
    }
    .table-responsive-label{
        font-weight: bold;
    }
    .input-center, .product-search{
        width: 90%;
    }
    .offer {
        text-align: left !important;
        padding: 0;
    }
    .offer .col-xs-12{
        padding-right: 0 !important;
        width: 100% !important;
    }
    .offer-comment{
        width: 75%;
    }

}
#preview img{
    width: 200px;
}
@media (max-width: 991px) { 
     #offer-product-list-table, #productListBody, #productListBody tr, #productListBody td{
        width: 100%;
    }
 
    #offer-product-list-table, .panel-offer-product, .panel-default{
        margin: 0 !important;
        padding: 0 !important;
    }
 
    .panel-offer-product input, .panel-offer-product textarea{
        width: 100%;
        max-width: 100%;
    }
 
    .responsive-product-show-btn{
        width: 80px;
        height: 30px;
        position: relative;
        display: table;
        background-color: #FFF;
        border: 2px solid #5bc0de;
        padding: 0 5px;
        margin-top: -8px;
        border-radius: 25px;
        font-size: 12px;
        font-weight: normal;
    }
 
    .responsive-product-show-btn span{
        position: absolute;
        top: 6px;
        padding-left: 3px;
    }
 
    .responsive-product-show-btn i{
        position: absolute;
        right: 5px;
        top: 2px;
        color: #5bc0de;
    }
 
    .main{
        margin-top: -2em;
    }
    .product-list-title-xs{
        font-size: 1.5em;
        font-weight: bold;
        padding: 10px 5px;
    }
    .offer-pdf-respo-block{
        background-color: #f5f5f5;
        border-radius: 5px;
        padding: 10px;
        margin: 15px;
    }
 
    .offer-pdf-respo-title{
        font-size: 1.3em;
        font-weight: bold;
    }
 
    .offer-pdf-settings{
        position: relative;
        display: inline-block;
        width: 100%;
        padding: 5px 10px;
    }
 
    .offer-pdf-settings div{
        position: relative;
        width: 50%;
        float: left;
    }
 
    .offer-pdf-respo-title .responsive-product-show-btn{
        margin-top: -5px;
    }
 
    .offer-pdf-respo-set-block{
        border-top: 2px solid #FFF;
        padding: 10px 0;
        margin: 10px 0;
    }
 
    .offer-comment{
        width: 75%;
    }
}

@media (max-width: 767px) { 
    .navbar-default{
        height: 4.5em;
    }
    .main{
         margin-top: -3em;
    }
    .main .menu-title{
           line-height: 40px;
    }
    .main .action-menu{
         height: 40px;
    }
    .action-menu .btn-small{
         height: 40px;
         width: 60px;
         line-height: 50px;
         
    }
    
    .navbar-toggle {
        margin-right: 1.55em;
    }
    .collapse.in{
        display: block !important;
    }

    .login-form {
        display: block;
        width: 90%;
        margin-left: 5%;
    }
    .cms-item{
        width: 48%;
    }
    ul.pagination{
        position: relative;
        display: table;
        height: 50px;
        margin: 0 auto;           
    }
    .formSelectLimit{
        position: relative;
        margin: 0 auto;        
        right: auto;
    }
    .header .navbar-default{
        height: auto;
    }
    .navbar-nav {
        padding: 0 30px;
    }
    .navbar-collapse .navbar-right{
        border-top: 1px solid #FFF;
        margin-top: 10px;
    }
    .navbar-nav{
        margin-top: -5px;
    }
    .navbar-nav li a.btn-small{
        padding: 15px;
        width: 69px;
        height: 75px;
    }

    ::-webkit-scrollbar {
        display: none;
    }
    .file-delete-btn .row{
        width: 100% !important;
        margin: 0 !important;
    }
    .file-delete-btn .row div{
        padding: 0 !important;
    }
}
