html, body { height: 100%; }

body {  font-size: 13.5pt;   color: #878e83; margin:0; font-family: 'Roboto', sans-serif;  display: flex;
  flex-direction: column;}
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap');
* {  box-sizing: border-box;  -webkit-box-sizing: border-box;}
img{max-width:100%;}

.middle-section{ flex: 1 0 auto;}
.container { max-width: 1300px; margin: 0 auto; width: 100%; padding-left: 15px; padding-right: 15px;}
.header {box-shadow: 0 2px 10px rgba(0,0,0,0.2);}
.header-link {display: flex;align-items: center;padding: 12px 0;    text-align: center; justify-content: space-between; min-height: 98px;}
.home-link { width: 35px; float: right; background: #6cbb50; height: 35px; border-radius: 50px; padding: 9px; display:none;}
.logo { position: absolute; left: 50%; transform: translateX(-50%);}
.menu-toggle { float: left; text-decoration: none; color: #333; font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.desk-menu { display: flex; align-items: center;}
.desk-menu span { margin-left:8px;}
.mob-menu-icon { display:none;}
.logo img { max-width: 150px;}
/*.nav-link {background: #144ba0;
    background: -moz-linear-gradient(left, #144ba0 0%, #6abc4e 100%);
    background: -webkit-linear-gradient(left, #144ba0 0%,#6abc4e 100%);
    background: linear-gradient(to right, #144ba0 0%,#6abc4e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#144ba0', endColorstr='#6abc4e',GradientType=1 );}
	

.nav-link ul { padding: 0; margin: 0; display: flex; align-items: center;justify-content: center; list-style: none;}
.nav-link ul li a { color: #fff; text-decoration: none; font-size: 15px; padding: 12px 20px;  float: left;    text-align: center;}*/

.nav-link { display:none; max-width: 450px;position: absolute; background: #fff; border-radius: 10px; box-shadow: 7px 10px 17px #bdbdbd;}
.nav-link ul { flex-wrap: wrap; justify-content: space-between; padding: 0; display: flex; margin: 0;}
.nav-link ul li { display: inline-block; width: 50%; padding: 5px 1.5%;}
.nav-link ul li a { font-size: 16px; padding: 10px 2px; background: #105aa5; width: 100%; text-align: center; border-radius: 5px;text-align: center;border-radius: 5px; text-decoration:none;
min-height: 60px;display: flex;align-items: center;justify-content: center; color:#fff;}
.nav-link ul li a:hover{background: #6abc4e;}

.middle-section h1 { color: #6abc4e; text-align: center;}

.search {  display: flex;justify-content: center; align-items: center; border: 1px solid #6abc4e; border-radius: 20px;}
.search input[type="text"] { width:300px; height: 40px; border-radius: 30px;border: none; padding: 0 15px;flex: 1;}
.search input[type="submit"] { width: 40px; height: 40px; border-radius: 50px;    border: none;  color: #fff; font-weight: bold; background: #6abc4e; cursor: pointer;}

.footer {  padding: 30px 0; text-align: center; color: #fff; margin-top: 50px; border-top:6px solid #1059a6;    background: #144ba0;}
.footer p { margin: 0; text-transform: uppercase;font-size: 12px; letter-spacing: 1px; font-weight: 700;}

.footer {flex-shrink: 0;}


table.invoice-table { border: 1px solid #ccc; border-collapse: collapse; margin: 0; padding: 0; width: 100%; table-layout: fixed;}
table.invoice-table caption { font-size: 1.5em; margin: .5em 0 .75em;}
table.invoice-table tr {background-color: #f8f8f8; border: 1px solid #ddd; padding: .35em;}
table.invoice-table th {    font-size: 15px; background: #6abc4e; color: #fff; padding: 5px; text-align: center; font-weight: normal;}
table.invoice-table td { border: 1px solid #6abc4e; font-size: 12px; letter-spacing: -1px; background:#fff;    font-size: 14px;}
table.invoice-table td span { padding: 10px 5px; display: block; color: #000;word-wrap: break-word; text-align: center;}
.hide-tr{ display:none;}
.table-pagination { margin: 15px 0; display: flex; justify-content: space-between;}
.pagination {display: inline-block; width: 100%; flex: 1; background: #6cbb50; margin: 0 30px 0 0; max-width: 272px; border-radius: 100px;}

.pagination a { float: left; padding: 8px 16px; text-decoration: none; transition: background-color .3s; color:#fff;}
.pagination a.active { background-color: #4CAF50; color: #fff;}
.perpage select{ font-size: 14px; color: #333; height: 37px; border: 1px solid #ccc; padding: 0 28px 0 5px; background: #fff url(../img/select-arrow.png) no-repeat right center; -moz-appearance: none; appearance: none; -webkit-appearance: none; }
.perpage span { color: #000; font-size: 15px;}


a.edit {  display: list-item; padding: 5px 9px; text-decoration: none; vertical-align: middle; font-size: 14px; color: #FFF; border-radius: 5px; margin: auto; width: 65px;     background: #144ba0;}
a.edit img { max-width: 13px; margin: 0 5px -1px 0; }
a.edit:hover{
} 



.new-vendor .block{ width: 49%; float:left; }
.new-vendor .block:nth-child(2){   float:right; }



.creat-form{ padding: 13px 30px 30px 30px; box-shadow: 0 0 12px #DDD; max-width: 1000px; margin: auto; }

.creat-form .block .control{ margin-top: 14px; }
.creat-form .block .control label{ font-size: 14px; color: #000; padding: 0 0 10px 0; display: inline-block; width: 100%; }
.creat-form .block .control .input-text{ width: 100%; height: 33px; border-radius: 100px; border: solid 1px #ddd; padding: 0 14px; font-size: 14px;}

.fm-action { text-align: right; border-top: solid 1px #ddd; margin-top: 27px; padding-top: 14px; }
.fm-action button {   color: #FFF; border: none; padding: 11px 21px; border-radius: 100px; font-size: 15px;     background: #144ba0;}
.fm-action button:hover {    background: #6abc4e;cursor:pointer}


.login-page .creat-form{max-width: 600px;}




@media screen and (min-width:768px) {

table.invoice-table td { border: 1px solid #f2f7fd; background:none;     padding: 5px 0;}
table.invoice-table tr { border: 1px solid #f2f7fd;     background-color: #FFF;}
table.invoice-table tr:nth-child(4n-1) { background: #f2f7fd; }
}
@media screen and (max-width: 990px) {
.search input[type="text"] {
    width: 200px;
}

}
@media screen and (max-width: 767px) {
	
body{margin-top: 132px;}	
.header { position: fixed; top: 0; right: 0; left: 0; z-index: 1; background: #FFF; }	
.home-link { display:block;}
.title-search { display: inherit; margin-bottom: 24px;   text-align: center; }
.desk-menu{ display:none;}
.menu-toggle {  background: #6cbb50; border-radius: 4px;  padding: 2px 5px; float: left; }
.mob-menu-icon { display:block;}

.nav-link { max-width: 100%;  position: static; width: 100%;}


.search { position: fixed; top: 67px; right: 13px; z-index: 2;display: none; border:none; }
.search:before { content: ''; border-bottom: 16px solid #144ba0; border-left: 10px solid transparent; border-right: 10px solid transparent; position: absolute;top: 0; right: 17px; }
.search input[type="submit"] { background: #6abc4e url(../img/search-icon.png) no-repeat center center; background-size: 50%; font-size: 0;display: none; }
.search input[type="text"] {    width: 269px; border: solid #144ba0; box-shadow: 0 0 9px #8a8a8a; margin-top: 16px;}

a.edit {    display: inline-block; margin: 7px 10px;}


table.invoice-table { border: 0; }
table.invoice-table caption { font-size: 1.3em;} 
table.invoice-table thead { border: none; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;}
table.invoice-table tr {border: 0px solid #74c857;margin-bottom: .625em;} 

table.invoice-table td {border:none;display: block;font-size: .8em;text-align: right;position: relative;border: 1px solid #74c857;border-bottom: none;}
table.invoice-table td::before { content: attr(data-label); float: left; font-weight: bold;background: #6abc4e;color: #fff;height: 100%;position: absolute;left: 0;display: flex;
  align-items: center;width: 150px;padding-left: 10px;}  
table.invoice-table td:last-child { border-bottom: 0; }
table.invoice-table td span { padding: 10px 10px 10px 5px;}
.View-All {display: block;width: 100%;padding: 8px 20px;cursor: pointer;color: #ffffff;font-size: 15px;border-radius: 0;margin: 0px 0 15px 0;text-align: center;text-decoration: none;background: #144ba0;letter-spacing: 1px;text-transform: uppercase;}
  

  
table.invoice-table td.view_data, table.invoice-table tr.view_data { display: none;}
.hide-tr{ display:block;} 
table.invoice-table .hide-tr td::before { display: none;}
table.invoice-table tr.hide-tr { border: none; background: none; padding: 0;}
table.invoice-table td span { text-align:right;}
.table-pagination { justify-content: center;  flex-wrap: wrap;}
.pagination { flex: inherit; margin: 0 0 20px 0; text-align: center;} 
.pagination a { float: none; display: inline-block;}



.new-vendor .block{ width: 100%; float:left; } 



html, body { height: calc(100% - 66px); }



 
 
}
@media screen and (max-width: 575px) {
.title-search { flex-wrap: wrap;}
.search{ margin-bottom:20px;}
	
}


