/*__author__ = "sarah"*/


/*Mobile*/
@media (max-width: 319px) {
    .container {
        padding-left: 0px;
        padding-right: 0px;
    }
    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 15px;
    }

    h5 {
        font-size: 14px;
    }

    #signup-try h1 {
        margin: 0px;
    }

    #signup-try img {
        width: 28%;
    }
    .signup {
        background: #f05523 ;
        font-size: 16px !important;
        font-weight: 500 ;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 14px;
        box-shadow: none ;
        color: #fff ;
    }

    .download-app {
        background: #efbc23;
        font-size: 16px !important;
        font-weight: 500 ;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 14px;
        box-shadow: none ;
        color: #fff ;
    }
    #tour-demo li {
        margin-left: 3px;
        margin-right: 3px;
    }

    #tour-demo li a {
        font-size: 16px;
        font-weight: 500 !important;
        margin: 0;
    }
    #get-update input {
        width: 180px;
    }
    #get-update .btn, #get-update .btn-large {
        font-size: 16px;
        font-weight: 500;
    }
    .feature-data {
        padding: 10px;
        margin: 10px 0px;
    }
    .feature-data li {
        font-size: 16px;
    }
    .qty.input-border-color.col-md-3.col-xs-4 {
        width: 50%;
    }

    .table-responsive > .table > tbody > tr > td {
        white-space: normal;
    }

    .table-responsive > .table {
        table-layout: fixed;
    }

    #category_table {
        margin-bottom: 10px;
    }

    #products_table td.col-md-6.col-xs-8 {
    }

    #partners_table .center-block.text-center {
        float: left;
    }

    #preview_table .well {
        padding: 19px 5px;
    }

    #preview_table .center-block.text-center {
        float: left;
        margin-left: 12px;
        margin-top: 5px;
    }
}

/*Medium and Smaller devices*/
@media only screen and (max-width: 992px){
    .dashboard_loggedin .brand-logo{
        left: 8%;
    }
    nav .brand-logo {
        background: none;
        text-align: center;
    }
    .valign-wrapper{
        display: block;
    }
    #user-section ul{
        display: block;
    }
    #user-section li{
        display: block;
    }
    #video_banner {
	    color: white;
	    padding: 15px;
	    width: 100%;
	    margin: 0px;
        background-image: url(../img/phone_banner.png);
        background-repeat: no-repeat;
        background-size: cover;
        text-align: center;
	}
    #video_banner h1{
        font-size: 2.5em;
    }
    #video_banner h1 span {
        font-size: 0.8em;
    }
    #video_banner h3 {
        font-size: 1.6em;
    }
    #video_banner h4{
        font-size: 1.2em;
    }
    .header_box, footer{
        text-align: center;
    }
    .integrated_logo img{
        width: 50%;
        margin-bottom: 30px;
    }
    .banner5_sub img{
        width: 100%;
    }
    .padding30{
        padding: 0;
    }
    #staggered2 .right{
        float: none !important;
    }
    .banner3_sub .right li{
        text-align: left;
        padding-left:95px;
        padding-right:  0px;
        background-position: left !important;
    }
    #user-section li a{
        color: #000;
        background: transparent !important;
        padding-left: 0px !important;
    }
    .social-icons li{
        float: none;
        display: inline;
    }
    .support_team{
        text-align: justify;
    }
    .app_header{
        font-size: 20px;
    }    
    #main_features, #back_office {
        padding-left: 30px;
        padding-right: 30px;
    }   
    #main_features li, #back_office li{
        text-align: justify;
    }    
    .banner8_sub{
        position: relative;
        top: 0px;
    }
}  

@media screen and (max-device-width: 800px) {
  html { background: url('/static/video/video_thump.png') #000 no-repeat center center fixed; }
  #bgvid { display: none; }
}
@media (min-width: 767px) {
    .navbar-nav.nav-justified > li {
        float: none;
    }
}
  
@media (min-width: 992px) and (max-width: 1366px) {
    .table-container {
        width: 84.333333%

    }
}
@media (min-width: 320px) and (max-width: 479px) {
    .container {
        padding-left: 0px;
        padding-right: 0px;
    }
    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 15px;
    }

    h5 {
        font-size: 14px;
    }
    #signup-try h1{
        margin: 0px;
    }

    #signup-try img {
        width: 28%;
    }
    .signup {
        background: #f05523 ;
        font-size: 16px !important;
        font-weight: 500 ;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 14px;
        box-shadow: none ;
        color: #fff ;
    }

    .download-app {
        background: #efbc23;
        font-size: 16px !important;
        font-weight: 500 ;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 14px;
        box-shadow: none ;
        color: #fff ;
    }
    #tour-demo li {
        margin-left: 3px;
        margin-right: 3px;
    }

    #tour-demo li a {
        font-size: 16px;
        font-weight: 500 !important;
        margin: 0;
    }
    .feature-data {
        padding: 10px;
        margin: 10px 0px;
    }
    .feature-data li {
        font-size: 16px;
    }
    #get-update input {
        width: 180px;
    }
    #get-update .btn, #get-update .btn-large {
        font-size: 16px;
        font-weight: 500;
    }
    .qty.input-border-color.col-md-3.col-xs-4 {
        width: 50%;
    }

    .table-responsive > .table > tbody > tr > td {
        white-space: normal;
    }

    .table-responsive > .table {
        table-layout: fixed;
    }

    #category_table {
        margin-bottom: 10px;
    }

    #products_table td.col-md-6.col-xs-8 {
    }

    #partners_table .center-block.text-center {
        float: left;
    }

    #preview_table .well {
        padding: 19px 5px;
    }

    #preview_table .center-block.text-center {
        float: left;
        margin-left: 12px;
        margin-top: 5px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .container {
        padding-left: 0px;
        padding-right: 0px;
    }
    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 15px;
    }

    h5 {
        font-size: 14px;
    }
    #signup-try h1 {
        margin: 0px;
    }

    #signup-try img {
        width: 28%;
    }
    .signup {
        background: #f05523 ;
        font-size: 16px !important;
        font-weight: 500 ;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 14px;
        box-shadow: none ;
        color: #fff ;
    }

    .download-app {
        background: #efbc23;
        font-size: 16px !important;
        font-weight: 500 ;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 14px;
        box-shadow: none ;
        color: #fff ;
    }
    #tour-demo li {
        margin-left: 3px;
        margin-right: 3px;
    }

    #tour-demo li a {
        font-size: 16px;
        font-weight: 500 !important;
        margin: 0;
    }
    #get-update input {
        width: 180px;
    }
    #get-update .btn, #get-update .btn-large {
        font-size: 16px;
        font-weight: 500;
    }
    .qty.input-border-color.col-md-3.col-xs-4 {
        width: 50%;
    }

    .table-responsive > .table > tbody > tr > td {
        white-space: normal;
    }

    .table-responsive > .table {
        table-layout: fixed;
    }

    #category_table {
        margin-bottom: 10px;
    }

    #products_table td.col-md-6.col-xs-8 {
    }

    #partners_table .center-block.text-center {
        float: left;
    }

    #preview_table .well {
        padding: 19px 5px;
    }

    #preview_table .center-block.text-center {
        float: left;
        margin-left: 12px;
        margin-top: 5px;
    }
}
@media screen and (max-width: 600px) {
    table#quotation-table {
        width: 100% !important;
    }

    table#quotation-table caption {
        background-image: none;
    }

    table#quotation-table thead {
        display: none;
    }

    table#quotation-table tbody td {
        display: block;
        padding: .6rem;
    }

    table#quotation-table tbody tr td:first-child {
        background: #333;
        color: #fff;
    }

    table#quotation-table tbody td:before {
        content: attr(data-th);
        font-weight: bold;
        display: inline-block;
        width: 6rem;
    }
}
@media only screen and (max-width: 769px){
    .table-container {
        float: none;
        width: 100%;
    }    
}

/*Print*/
@media print {
    body, html, #final_invoice, #battery_final_invoice {
      width: 100%;
      display: block;
      height: 100%;
      overflow:visible;
      margin: 0;
    }
    .declaration_div p{
        margin:0 0 3px !important;
    }    
    .row{
        margin-bottom:0px !important;
    }
    #final_invoice .form-container, #print-test{
        font-size: 8px !important;
        padding: 10px !important;
        height: 100%;
        display: block;
        position: relative;
    }
    .pagebreak{
        page-break-after: always !important;
    }
    .invoice_footer{
        /*position: absolute !important;
        bottom: 0px !important;
        width: 100% !important;
        clear: both;
        height: 100px;
        margin-top: 100px;
        overflow: auto;*/
    }
    .invoice_table{
        overflow: auto !important;
        /*height: 620px !important;*/
        /*page-break-before : always !important;*/
    }
    .invoice_table table{
        /*max-height: 785px;*/
        /*max-height: 400px;
        height: 400px;
        overflow: auto;*/
    }
    .blue_header{
        background-image: url(../img/color_2.png) !important;
        background-color: #0690DB !important;
    }
    .blue_header span{
        color: #fff !important;
    }    
    .form_header{
        background-image: url(../img/color_3.png) !important;
        background-color: #EDEDED !important;
    }
    .invoice_table thead, #battery_invoice_table thead{
        background-image: url(../img/color_1.png) !important;
        background-color: #ADE9FF !important;
    }
    #invoice_table_default thead{
        background-color: #F3765D !important;
        -webkit-print-color-adjust:exact;
    }
    #invoice_table_default th{
        color: #fff !important;
    }    
    p.signature{
        margin-top:50px !important;
    }
    .checked_by{
        margin-top:50px !important;
    }
    .terms_con{
        font-size: 6px;
    }
    #print_copy{
        font-size: 14px !important;
    }
    .invoice_table td{
        padding: 2px !important;
    }
    #battery_invoice_table{
        margin-top: 5px !important;
    }
    #battery_final_invoice .paddin1P{
        padding: 3px !important;
    }
    #transport_invoice, #accounts_invoice{
        display: block;
    }
    .invoice_poweredby img, .declaration_div img{
        width: 60px;
    }
    #print_test{
        background: url(../img/invoice-bg.png) !important;
        overflow: auto !important;
        background-repeat: no-repeat !important;
    }
    #print_test1{
        padding-top: 130px !important;
        margin-bottom: 160px !important;
        background: url(../img/invoice-bg.png) !important;
        overflow: auto !important;
        background-repeat: no-repeat !important;
    }
    #print_test1:after {
        counter-increment: page;
        content:"Page " counter(page);
        right: 0;
        margin-top: 10px;
    }
}
@page{
    margin: 2mm 2mm 2mm 2mm;
    
/*    @bottom-right {
        content: counter(page) " of " counter(pages);
    }*/
}