/*
Theme Name: Accounts Software
Description: Theme for standard accounts software.  
Author: Innovion Consultancy Services
Version: 1.0
*/

/* =Content
-------------------------------------------------------------- */
.login_wrap h2 {
    margin-bottom: 0;
}
.input_wrap {
    margin-top: 20px;
	margin-bottom:0px;
}
.stockdetails .input_wrap {
	margin-top:0px !important;
	margin-bottom:-14px !important;
}
.login_button {
    margin-top: 20px;
	margin-bottom:0px;
}
.row_error{
	width: 100%;
    float: left;
    color: #f00;
    font-size: 13px;
    text-align: center;
}
.popup_wrap{
	display:none;
}
.cus_delete.success{
	width: 85%;
    float: right;
    font-size: 13px;
    color: #f00;	
}
td span {
    margin-left:10px;
}
th span{
	width:70%;
	margin-left:5px;
}
.table_content{
	overflow:auto;
}
.pop{
	top:10%;
}
#add_product .pop{
	width: 600px;
	margin-left: -300px;
} 
.pform .input_wrap.quater{
	width: 23%;
    margin-right: 2%;
    min-height: 81px;
}
.pform .input_wrap.col_six{
	width: 18%;
    margin-right: 2%;
	text-align: right;
}
.add_more{    
    color: #0b9eca;
    text-decoration: none;
    cursor: pointer;
	float:right;
}
.eform{
	float: left;
    width: 60%;
}
.eform .input_wrap {
    border: none;
    padding: 0;
    margin: 0 0 15px 0;
    width: 98%;
}
.eform label {
    float: left;
    margin-bottom: 5px;
}
.eform .input_field, .pform select {
    float: left;
    width: 100%;
    font-size: 12px;
    border: 1px solid #dcdcdc;
    padding: 12px 18px;
    height: 40px;
}
.eform .input_button {
    padding: 12px 30px;
    background: #673ab7;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 2px;
}
.eform .input_button:hover {
    background: rgba(11, 175, 116, 0.89);
}
.eform .input_file_field {
    float: left;
    width: 100%;
    font-size: 12px;
    padding: 12px 0;
    height: 40px;
}
.eform label{
	font-size:13px;
}
.eform label.upload_img{
	width:100%;
}
.category_add.success, .form_msg.success{
	width: 100%;
    float: left;
    color: #4CAF50;
    font-size: 13px;
}
.input_wrap img{
	border:1px solid #ccc;
	padding:8px;
	border-radius: 4px;
}
.category_add.row_error, .form_msg.row_error{
	text-align:left;
}
.eform h2{
    float: left;
    width: 100%;
    font-size: 25px;
    padding-bottom: 15px;
    font-family: 'open_sansregular';
    font-weight: 100;
    letter-spacing: 2px;
    margin: 15px 0 0 0;
}
.addmore,.addmorerow{
	float: right;   
    padding-right: 23px;
    color: #0b9eca;
    font-size: 16px;
    font-weight: bold;
}
.composition{
	min-height:0px !important;
}
.hide{
	display:none;
}
.pform .input_wrap.third {
    width: 31%;
    margin-right: 2%;
    min-height: 81px;
}
.pform .input_wrap.third.remove{
	width: 2%;  
	margin-top:1%; 
}

.header_style{
	text-align:center; 
	width:45%; 
	min-height:10px;
}
.header_style.half{
	width:5%; 
}
.filterbtn{
	width: 29% !important;
	margin-top: 5px;
	background-color:#0b9eca;
	color:#fff;
	cursor:pointer;
}
.filterbtn:hover{
   border: solid 1px #ccc;
}
.datepicker{
	background-image:url(images/calender.png);
	background-repeat:no-repeat;
	background-position:right 10px center;
	background-size: 20px;
	cursor:pointer;
}
span.label{
	background: var(--secondary-color);
    padding: 5px;
    float: left;
    color: #FFF;
    width: 38%;
	font-size:11px;
}
span.text{
	width: 61%; 
	padding-top:4px;
	padding-left:6px;  
    padding-bottom: 4px;    
    display: inline-block;
	background: #f1f1f1;
    margin-bottom: 8px;
    border: solid 1px #ccc;
	font-size:16px;
    min-height: 38px;
}
.suggationbox{
    width: 231px;
    float: left;
    border: 1px solid #dcdcdc;
    display: none;
    position: absolute;
    margin-top: 72px;
    z-index: 9999;
    background: #ffff;
}
.suggationbox li{
	width:100% !important;
	font-weight:bold;
	cursor:pointer;
	padding-left:20px;
	margin-bottom: 0px !important;
	color:#000 !important;
}
.suggationbox li:hover,.product_suggation li:hover{
	background:#d9d9d9;	
}
.product_suggation{
	border: 1px solid #dcdcdc;	
    width: 200px;
    margin-top: 36px;
    z-index: 9999999;
    display: block;
    position: absolute;
    background-color: #fff;
	cursor:pointer;
	margin-bottom: 0px !important;
	display:none;
}
.product_suggation li{
	padding-left:5px;
}
.unit_of_measurement{
	padding: 22px !important;
}
.invoice_product_suggationbox {
    border: 1px solid #dcdcdc;
    width: 200px;
    margin-top: 36px;
    z-index: 9999999;
    display: block;
    position: absolute;
    background-color: #fff;
    cursor: pointer;
    margin-bottom: 0px !important;
    display: none;
}
.invoice_product_suggation li{
	padding:2px 5px;
}

.aypMsg {
	position: fixed;
	top: 50%;
	left: 50%;
	padding: 25px 20px 25px 70px;
	background: rgba(0, 0, 0, 0.7);
	color: #FFF;
	border-radius: 8px;
	font-size: 18px;
	display:block;
	max-width:99%;
	z-index:99999;
}
.aypMsg.success {
	background: url(images/tick.png) rgba(0, 0, 0, 0.7) no-repeat 10px center;
}
.aypMsg.error {
	background: url(images/cross.png) rgba(0, 0, 0, 0.7) no-repeat 10px center;
}
.aypMsg.warning {
	background: url(images/warning.png) rgba(0, 0, 0, 0.7) no-repeat 10px center;
}
.btn_wrap .remove_button {
    padding: 8px 15px;
    background: #673ab7;
    color: #fff;
    float: right;
    margin-top: 42px;
	cursor:pointer;
}
.filter_btn{
	background: #673ab7;
    color: #fff;
    padding: 12px 20px 9px;
    float: left;
    width: auto;
    border: 2px solid #673ab7;
    margin-top: 32px;
    cursor: pointer;
}

/****/

.pform .addstock .input_wrap.col_six {
    width: 31%;
    margin-right: 2%;
    text-align: right;
    float: left;
}

.pform .addstock {
    width: 100% !important;
}

.bar_chart {
    height: 350px;
    position: relative;
    margin-bottom: 50px;
}

.bottom_content .stock-summary {
        margin-bottom:15px; 
        font-size:16px;
    }
    .stock-bottom {
        background: #9c27b0;
        color: #fff;
        border-radius: 2px;
        padding: 3px 8px;
    }

/* Settings Page */

     .unit-wrapper {
    display: flex;
    border: 1px solid #ddd;
    min-height: 400px;
}

/* Sidebar */
.unit-sidebar {
    width: 200px;
    background: #f7f7f7;
    border-right: 1px solid #ddd;
}
.unit-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.unit-sidebar li {
    padding: 15px;
    font-weight: bold;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

/* Content */
.unit-content {
    flex: 1;
    padding: 20px;
}

.unit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.unit-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ddd;
    padding: 12px;
    font-size: 13px;
    background: #e2e2e2;
    border-radius: 5px;
}

.unit-name small {
    display: block;
    color: #777;
    font-size: 11px;
}

/* Toggle Switch */
.switch {
    position: relative;
    width: 42px;
    height: 22px;
}

/* Invoice WC */
.invoice_no_wrap .switch {
    display: block;
    top: 20px;
}

.switch input {
    display: none;
}
.slider {
    position: absolute;
    cursor: pointer;
    background: #ccc;
    border-radius: 30px;
    top: 0; left: 0; right: 0; bottom: 0;
}
.slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background: #fff;
    border-radius: 50%;
    transition: .3s;
}
input:checked + .slider {
    background: #46b450;
}
input:checked + .slider:before {
    transform: translateX(20px);
}

.settings-wrapper {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    min-height: 420px;
}

/* LEFT */
.settings-tabs {
    width: auto;
    background: #f6f7f7;
    border-right: 1px solid #ddd;
}
.settings-tabs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.settings-tabs li {
    padding: 14px 16px;
    cursor: pointer;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
}
.settings-tabs li.active {
    background: #fff;
    font-weight: 600;
    border-bottom: 4px solid #2271b1;
}
.tab-link {
    width: 35%;
    text-align:center;
}
/* RIGHT */
.settings-content {
    flex: 1;
    padding: 20px;
    background: #fff;
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.tab-content h2 {
    font-size: 18px;
}

.submit_btn {
    background: #673ab7;
    color: #fff;
    padding: 12px 20px 9px;
    float: left;
    width: auto;
    border: 2px solid #673ab7;
    margin-top: 15px;
    cursor: pointer;
}

/* .view_margin {
    background: #673ab7;
    color: #fff;
    padding: 12px 20px 9px;
    float: left;
    width: auto;
    border: 2px solid #673ab7;
    margin-top: 17px;
    cursor: pointer;
} */

.view_margin {
    text-decoration: underline;
    color: var(--secondary-color);
    width: 20px;
}

.btn.add_courier{
    background: #673ab7;
    color: #fff;
    padding: 12px 20px 9px;
    float: left;
    width: auto;
    border: 2px solid #673ab7;
    margin-top: 17px;
    cursor: pointer;
}

.remove{
    color: #f00;
}

/*Payment Section - Invoice*/
div#payment_wrapper {
    float: left;
    width: 70%;
}
.payment_row {
    position: relative;
    width: 100%;
    float: left;
    display: flex;
    flex-wrap: wrap;
}
.payment_row .left_select_box {
    float: left;
    width: 50%;
    position: relative;
}

/* Invoice Hold */
/* Invoice Hold Toggle ONLY */
.invoice-hold-switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 22px;
}

.invoice-hold-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.invoice-hold-switch .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    border-radius: 30px;
    transition: 0.3s;
}

.invoice-hold-switch .slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.invoice-hold-switch input:checked + .slider {
    background-color: #dc3232; /* HOLD = red */
}

.invoice-hold-switch input:checked + .slider::before {
    transform: translateX(20px);
}

td.product_code {
    width: 15%;
}

.invoice_no_wrap .margin {
    float: right !important;
    width: 200px;
}