/**
 *
 * Apply Here your Custom CSS
 *
*/

@media (max-width: 767px){
.navbar-inner {
    position: absolute;
    right: 0;
    left: 0;
    background-color: rgb(48, 54, 65);
    z-index:99;
}

.page-body .page-container .main-content {
    margin-top: 100px;
}

}

.page-container.horizontal-menu header ul.navbar-nav li.root-level a {
    padding: 28px 20px 29px;
    font-size: 22px;
}

.page-container.horizontal-menu header.navbar ul.nav > li > a, .page-container.horizontal-menu header.navbar ul.nav > li > span {
    padding: 30px 20px;
    font-size: 14px;
}

.page-container.horizontal-menu header.navbar ul.nav > li.sep {
    height: 36px;
}

.page-container.horizontal-menu header.navbar .navbar-brand {
    padding: 10px;
}

.page-container.horizontal-menu header.navbar .navbar-nav > li ul{
    margin-top:0;
}

.invoice-page .logo, .terms-page .logo {
    display: inline-block;
    vertical-align: top;
    margin-top: 17px;
}

.invoice-page .logo img, .terms-page .logo img {
    width: 200px;
    height: 100%;
}

.company_detail {
    display: inline-block;
    font-size: 12px;
    font-style: italic;
    margin-left: 15px;
    line-height: 18px;
    color: #333;
}

.text-bold {
    font-weight: 700;
}

.mt-none {
    margin-top: 0;
}

.mb-sm {
    margin-bottom: 5px;
}

@page {
  size: A4;
  margin: 5mm 10mm 0 10mm;
}
@media print {

  tr, td, th {page-break-inside:avoid}
    thead {display:table-header-group}
    a {color:#000000}

.row.signatures:not(.relative) {
    position: absolute;
    right: 15px;
    left: 15px;
bottom: 0;
}



.invoice.invoice-page {
position: relative;
    min-height: 400mm;
}


.client-info {
    padding-left: 0 !important ;
}

.client-info:nth-child(3) {
 margin-left: 0 !important ;
}


.print-break {page-break-after: always;}


}

.invoice.invoice-page {
min-width: 980px;
    max-width: 980px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.b-top-none td {
    border-top: 0 !important;
}

.signatures .invoice-left, .signatures .invoice-right {
    border-top: 1px solid #DADADA;
    width: 240px;
    padding-top: 5px;
    font-style: italic;
    font-weight: 600;
float:left;
}
.row.signatures {
    margin-top:190px;
}
.signatures .invoice-right{
    float:right;
}

.print-btns {
    text-align: right;
    padding-right: 0;
margin-top:20px;
}

.row.signatures .invoice-left > span {
    font-size: 12px;
    font-style: normal;
    position: absolute;
    top: -120px;
    white-space: nowrap;
    font-weight: normal;
}

@media screen and (orientation:portrait) {
html.mobile .cn-button {
    bottom: -2%;
    font-size: 4em;
}

html.mobile div#cn-wrapper {
font-size: 1.6em;bottom: -229px;}

}
@media screen and (orientation:landscape) {

}


.modal{
z-index:99999
}

.client-info {
    max-width: 380px;
    position: relative;
    white-space: pre;
    padding-left: 30px;
    margin-left: 20px;
    display: inline-block;
}


.remove-btn {
    color: red;
    font-size: 19px;
    position: absolute;
    cursor: pointer;
    height: 100%;
    left: 0;
    top: 32%;
}

a.add-client {
    margin: 14px 0;
}

.client-area .add-client {
    width: 136px;
    display: block;
}

.details-info .remove-btn {
    right: 0;
    top: -3px;
    left: auto;
}

.details-info {
    position: relative;
    padding-right: 30px;
    margin-top:3px;
}


tr.item-info td {
    white-space: pre-line;
    text-transform: capitalize;
}

.item-info .remove-btn {
    position: relative;
}

.terms-page  {
    min-width: 980px;
    max-width: 980px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.terms-content ul li {
    display: block;
}

.terms-content li > span {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
}

.terms-content li > p {
    line-height: 15px;
    text-align: justify;
    font-size: 12px;
}

.terms-content ul {
    padding-left: 0;
}
.action-btns > * {
    margin: 0 5px !important;
}

.action-btns {
    text-align: center;
    padding: 0 30px 14px;
}

#quotation-date-group {
    width: 190px;
    display: inline-table;
    position: relative;
    vertical-align: bottom;
}



@media print {


table.table.table-bordered tr {
    display: block;
    border: 0 !important;
}

tr.item-info td:nth-child(1), table.table.table-bordered thead tr th:nth-child(1), table.table.table-bordered tr.table-head th:nth-child(1) {
width: 56px;}

tr.item-info td:nth-child(2), table.table.table-bordered thead tr th:nth-child(2), table.table.table-bordered tr.table-head th:nth-child(2) {
    width: 35px;
}

tr.item-info td:nth-child(3), table.table.table-bordered thead tr th:nth-child(3), table.table.table-bordered tr.table-head th:nth-child(3)  {
    width: 186px;
}

tr.item-info td:nth-child(4), table.table.table-bordered thead tr th:nth-child(4), table.table.table-bordered tr.table-head th:nth-child(4) {
    width: 527px;
}

tr.item-info td:nth-child(5), table.table.table-bordered thead tr th:nth-child(5), table.table.table-bordered tr.table-head th:nth-child(5) {
    width: 70px;
}

tr.item-info td:nth-child(6), tr.item-info td:nth-child(7), table.table.table-bordered thead tr th:nth-child(6), table.table.table-bordered thead tr th:nth-child(7), table.table.table-bordered tr.table-head th:nth-child(6), table.table.table-bordered tr.table-head th:nth-child(7) {
    width: 84px;
}

table.table.table-bordered {
    border: 0;
    border-top: 1px solid #ebebeb !important;
}

.page-break.page-logo-header {
    page-break-after: always !important;
}
}


@media screen{
.print-only{
 display:none;
}
}

@media print {
.print-only{
 display:block;
}
}


@media print {
   thead {display: table-row !important;}
}