/*
         CSS-Tricks Example
         by Chris Coyier
         http://css-tricks.com
*/

* { margin: 0; padding: 0; }
body { font: 12px/1.4 Arial, Georgia, serif; }
#page-wrap { width: 800px; margin: 0 auto; }

textarea { font: 14px Arial, Georgia, Serif; overflow: hidden; resize: none; }
table { border-collapse: collapse; }
table td, table th { border: 1px solid black; padding: 1px; }

#header { height: 25px; width: 100%; margin: 10px 0; background: #222; text-align: center; color: white; font: bold 15px Arial, Helvetica, Sans-Serif; text-decoration: uppercase; letter-spacing: 20px; padding: 4px 0px; }

#address { width: 100%; height: 30px; font-size: 18px; font-weight: bold; float:right; text-align:center; }
#customer { overflow: hidden; }

#logo { text-align: right; float: right; position: relative; margin-top: 25px; border: 1px solid #fff; max-width: 540px; max-height: 100px; overflow: hidden; }
#logo:hover, #logo.edit { border: 1px solid #000; margin-top: 0px; max-height: 25px; }
#logoctr { display: none; }
#logo:hover #logoctr, #logo.edit #logoctr { display: block; text-align: right; line-height: 25px; background: #eee; padding: 0 5px; }
#logohelp { text-align: left; display: none; font-style: italic; padding: 10px 5px;}
#logohelp input { margin-bottom: 5px; }
.edit #logohelp { display: block; }
.edit #save-logo, .edit #cancel-logo { display: inline; }
.edit #image, #save-logo, #cancel-logo, .edit #change-logo, .edit #delete-logo { display: none; }
#customer-title { font-size: 16px; font-weight: bold; float: left; }

#meta { margin-top: 1px; width: 300px; float: right; }
#meta td { text-align: right;  }
#meta td.meta-head { text-align: left; background: #eee; }
#meta td textarea { width: 100%; height: 20px; text-align: right; }

#items { clear: both; width: 100%; margin: 5px 0 0 0; border: 1px solid black; }
#items th { background: #eee; width: 60px; height: 15px; }
#items textarea { width: 50px; height: 15px; }
#items tr.item-row td { border: 0; vertical-align: top; }
#items td.description { width: 340px; }
#items td.item-name { width: 85px; }
#items td.description textarea, #items td.item-name textarea { width: 100%; }
#items td.total-line { border-right: 0; text-align: right; }
#items td.total-value { border-left: 0; padding: 1px; width: 40px; height: 20px; }
#items td.total-value textarea { width: 70px; height: 20px; text-align: right; font-size: 16px; background: none; }
#items td.total-qty { border-left: 0; padding: 5px; height: 5px;}
#items td.balance { background: #eee;  height: 5px;}
#items td.blank { border: 0; }

#terms { text-align: center; margin: 20px 0 0 0; }
#terms h5 { text-transform: uppercase; font: 13px Helvetica, Sans-Serif; letter-spacing: 10px; border-bottom: 1px solid black; padding: 0 0 8px 0; margin: 0 0 8px 0; }
#terms textarea { width: 100%; text-align: center;}

textarea:hover, textarea:focus, #items td.total-value textarea:hover, #items td.total-value textarea:focus, .delete:hover { background-color:#EEFF88; }

.delete-wpr { position: relative; }
.delete { display: block; color: #000; text-decoration: none; position: absolute; background: #EEEEEE; font-weight: bold; padding: 0px 3px; border: 1px solid; top: -6px; left: -22px; font-family: Verdana; font-size: 12px; }


/* 12-december */
.p-4{
    padding:15px;
}
.px-4{
    padding-left:15px;
    padding-right:15px;
}
.py-4{
    padding-top:15px;
    padding-bottom:15px;
}
pr-2{
    padding-right: 10px;
}
pl-2{
    padding-left: 10px;
}
.mx-4{
    margin-left:15px;
     margin-right:15px;
}
.mt-4{
    margin-top: 15px;
}
.mb-4{
    margin-bottom: 15px;
}
.text-center{
    text-align:center;
}
.w-50{
    max-width:50%;
}
.white-space-nowrap{
    white-space: nowrap;
}
h3.section-title{
        margin-top: 0px;
    margin-bottom: 37px;
    text-transform: uppercase;
    color: #11998e;
    font-weight: 500;
    border-bottom: 0px;
}
#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    margin-top: 74px;
}

#wrapper.toggled {
    padding-left: 250px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

body.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}
/* section-title*/
.section-title{
    /*    margin-bottom: 20px;*/
    border-bottom: 1px solid #dcdcdc;
    text-transform: uppercase;
    color: #11998e;
}
/* Main content */
.right-content{
    position: relative;
    margin-top: 80px;
    margin-left: 270px;
    margin-right: 270px;
    /* width: 100%; */
    height: 100%;
    margin-bottom: 70px;
}
.toggled .right-content {
    margin-left: 10px;
}
body.noAdd .right-content {
    margin-right: 20px;
}
/* table style */
.table-width-manage{
    display:block;
    overflow-x:auto;
}
/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}
/* Footer Section */
.footer{
    position: fixed;
    bottom: 0;
    background: #f5f5f5;
    width: 100%;
    text-align: center;
    color: #444;
    padding: 5px;
    border-top:1px solid #dcdcdc;
}
.footer p{
    margin-bottom: 0px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#top-link {
    display: inline-block;
    background-color: #11998e;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 0px;
    right: 30px;
    transition: background-color .3s, 
        opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}
#top-link::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}
#top-link:hover {
    cursor: pointer;
    background-color: #333;
}
#top-link:active {
    background-color: #555;
}
#top-link.show {
    opacity: 1;
    visibility: visible;
}
@media (min-width: 500px) {
    #top-link {
        margin: 30px;
    }
}

@media screen and (max-width:991px){
    #wrapper {
        margin-top:54px;
    }
   
    .right-content {
        position: relative;
        margin-top: 50px;
        margin-left: 20px;
        margin-right: 100px;
        /* width: 100%; */
        height: 100%;

    }
}
@media screen and (min-width:767px) and (max-width:991px){
     .right-content {
        margin-top: 80px;
        margin-left: 20px;
    }
    #sidebar-wrapper {
        margin-top: 76px !important;
    }
    .addcomment_section label {
        font-size: 10px;
}
.addcomment_section .col-sm-3 {
            padding-right: 0px;
    }
}
@media(min-width:991px) {
    body.toggled #wrapper {
        padding-left: 0px;
    }
    
    
    #wrapper {
        padding-left: 250px;
    }
    .large-none{
        display: none;
    }
    body.toggled {
        padding-left: 0;
    }

    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    body.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
    
}


.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
.dashbord-btn a {
    font-size: 15px;
}
#searchForm {
        margin-top: 73px;
}
 #update_current_warehouse {
            margin-bottom: 12px;
    }
@media only screen  and (max-width:480px){
 
    .navbar-login {
        width: 100% !important;
        color: white;
    font-size: 18px;
    }
    .nav .glyphicon.glyphicon-user {
        display:none;
    }
    #update_current_warehouse {
            margin-bottom: 15px;
    }
}

.error_msg{
 
    color:red;
}

.margin_bottom{
    margin-bottom: 10px;
}

.has-error-custom {
    border-color: #a94442 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
