*{
    box-sizing: border-box;
}
html, body {
    height: 100%;
}
body {
    font-family: 'Century Gothic', sans-serif;
    background: #f2f3f8;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    display: block;
    clear: both;
}

/*Login*/
.login-container {
    position: absolute;
    height: 100%;
    width: 100%;
    clear: both;
    overflow: auto;
    background-color: white;
}
.login-container .panel-login {
    position: relative;
    top: 14%;
    right: 12%;
    float: right;
    padding: 20px;
    width: 420px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, -0.5), 0 8px 20px 0 rgba(0, 0, 0, 0.19);
}
.login-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.login-container .form-group {
    width: 100%;
    padding: 6px 0;
    box-shadow: none;
}
.login-container input[type="text"],
.login-container input[type="password"] {
    height: 48px;
    font-size: 18px;
    background-color: #94bfe7;
    color: #204b8b ;
}
.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border-color: #E78DFF;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(180, 84, 237, 0.6);
}
.login-container .btn-success {
    width: 100%;
    padding: 12px 0;
    font-size: 18px;
    background-color: #00b050;
    border: 1px solid #00b050;
}
.login-container .btn-success:focus,
.login-container .btn-success:hover {
    outline: none;
    color: #fff;
    border: 1px solid #793AD3;
    background-color: #164283;
    transition: background-color 0.5s ease;
}
.login-container .logo {
    margin: 0 auto;
}
.login-container .login-link {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}
.login-container .login-link a {
    color: #434343;
    font-size: 15px;
    text-decoration: none;
}
.login-container .login-link a:hover {
    color: #000;
}
.login-container .login-text {
    display: none;
    position: relative;
    top: 35%;
    left: 8%;
    float: left;
    color: #FFF;
}
.login-text .login-title {
    font-size: 40px;
    font-weight: bold;
}
.login-text .login-desc {
    font-size: 20px;
}

/*Navbar*/
.navbar-default { 
    position: relative;
    background-color: #8981d8;
    border-color: #8981d8;
}
.navbar-default .navbar-nav > li > a {
    color: #FFF;
    padding: 18px 15px;
}
.navbar-default .navbar-nav > li > a:focus, 
.navbar-default .navbar-nav > li > a:hover {
    color: #FFF;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover {
    color: #FFF;
    background: #6A61C0;
}
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
    color: #FFF;
    background: #6A61C0;
}
.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
    color: #6a61c0;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #FFF;
}
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
    background-color: #ABB3D6;
}
 .container-fluid {
    padding: 0 25px;
}
.fa-sign-out {
    position: relative;
    top: 2px;
    padding-right: 3px; 
}
.fa-angle-down {
    padding-left: 8px;
}

/*Span*/
.new-line {
    display: block;
}
.cost-line {
    display: block;
    line-height: 0;
    padding-bottom: 10px;
}

/*Header*/
.main-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 8px 40px;
    background: #FFF;
}
.header-title {
    padding-top: 8px;
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}
.header-login {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
}
.head-banner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 40px;
    margin-bottom: 10px;
    color: #FFF;
    background: #8981d8;
}
.head-banner a {
    color: #FFF;
    text-decoration: none;
}
.head-banner .header-title {
    padding-top: 0;
}

/*Home*/
.home-container {
    padding: 0 60px;
    min-height: 71%;
}
.page-title h3 {
    display: inline-block;
    padding-bottom: 15px;
    font-family: 'Lato', sans-serif;
    font-size: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.panel-home .dashboard {
    display: flex;
}
.panel-home .panel-default:first-child {
    background-color: #63C2DE;
}
.panel-home .panel-default:nth-child(2) {
    background-color: #F86C6B;
}
.panel-home .panel-default:nth-child(3) {
    background-color: #A958CB;
}
.panel-home .panel-default:nth-child(4) {
    background-color: #FFCC30;
}
.panel-home .panel-default:nth-child(5) {
    background-color: #BC6CCA;
}
.panel-home .panel-default:nth-child(6) {
    background-color: #FFBD65;
}
.panel-home .panel-default:nth-child(7) {
    background-color: #77A4E2;
}
.panel-home .panel-default:nth-child(8) {
    background-color: #5DE98E;
}
.page-title .fa {
    padding-left: 15px;
}
.panel-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-top: 25px;
}
.panel-home .panel-default {
    padding: 20px 0;
    width: 295px;
}
.panel-home .title {
    width: 170px;
    color: #FFF;
    font-size: 20px;
    padding-left: 20px;
    font-weight: bold;
}
.panel-home .btn:hover {
    cursor: default;
}
.panel-home .btn:active {
  -moz-box-shadow:    inset 0 0 0px white;
  -webkit-box-shadow: inset 0 0 0px white;
  box-shadow:         inset 0 0 0px white;
}
.panel-home .panel-default > .panel-heading {
    background-color: transparent;
    border: none;
}
.panel-home .panel-body {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
}
.panel-icon {
    width: 95px;
    border-left: 2px solid #FFF;
}
.panel-body .fa {
    color: #FFF;
    font-size: 65px;
    float: right;
    transition: transform 0.3s ease-in-out;
}
.panel-body .text {
    padding-top: 15px;
    font-size: 18px;
}

/*Tables*/
.table {
    margin-bottom: 0;
}
.table-container {
    padding: 0 30px;
    min-height: 72%;
}
/*.table-responsive {
    overflow-x: initial;
}*/
.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}
.table > tbody >tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    vertical-align: middle;
}
.table > tbody > tr > td
{
	padding: 2px;
}
table.selection {
    width: auto;
    margin-bottom: 0;
}
.table-content {
    margin-bottom: 10px;
    border: 1px solid #D6D6D6;
    border-radius: 15px;
}
.table-content .btn-info {
    bottom: 0;
    margin: 1px 0;
    padding: 3px 10px; 
}
.table-customer .btn-info {
    bottom: 0;
    margin: 0 6px 0 12px;
    padding: 3px 0;
    width: 29px;
    font-family: FontAwesome;
}
/*.table-responsive {
    overflow-x: initial;
}*/
.table-form {
    overflow-x: initial;
}
thead {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
}
th, tr {
    text-align: center;
}
.table-rows > thead > tr > th {
    background: #8965DC;
    color: #FFF;
	padding: 8px;
}
thead a {
    color: #FFF;
}
thead a:hover {
    color: #302350;
}
a:visited, a:active, a:hover {
    text-decoration: none;
}
.selection select.form-control,
.selection input[type="text"] {
    width: auto;
}

/*Forms*/
.form-group {
    padding: 0 70px 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, -8), 0 4px 18px 0 rgba(0, 0, 0, 0.19);
    border-radius: 20px;
}
.form-content {
    padding-bottom: 10px;
}
.form-content.col-sm-12.col-md-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
}
section .form-control:focus {
    border: 3px solid #A9A3E9;
    box-shadow: none;
}
.form-control:focus {
    border: 1px solid #ADA7EC;
    box-shadow: none;
}
.form-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    font-weight: bold;
}
.form-title:after {
    content: "";
    margin-top: 7px;
    border-top: 8px solid #793AD3;
    border-radius: 200px;
    width: 65px;
    display: block;
}
.form-desc {
    margin: 0;
    padding-bottom: 20px;
    font-size: 20px;
}
select.form-control,
input[type="text"] {
    display: inline-block;
}

/*Alerts*/
.alert-danger,
.alert-success {
    padding: 10px 40px;
    font-size: 14px;
    box-shadow: 0px 2px 3px #999;
}
.fa-exclamation-circle,
.fa-check-circle {
    padding-right: 10px;
}
.error-label {
    display: block;
}

/*Position and Details*/
.detail-title {
    margin: 0;
    font-weight: bold;
    float: left;
    line-height: 32px;
    width: 160px;
}
.cost-label {
    display: inline-block;
}
.align-right {
    float: right;
}
.notes {
    width: 80%;
}
.create-update-buttons {
    text-align: center;
    padding-top: 15px;
}
.pdf-buttons {
    text-align: center;
    padding-top: 8px;
}
.order-editor {
    padding-bottom: 20px;
}
.label-display {
    overflow: hidden;
    display: block;
    line-height: 32px;
}
h3 {
    margin-top: 10px;
}
.deposit input[type="checkbox"] {
    margin-top: 10px;
}

/*Select Width*/
.date-year {
    width: 80px;
    display: inline-block;
}
.day {
    width: 70px;
}
.month {
    width: 130px;
}
.year {
    width: 85px;
}

/*Buttons*/
.btn-info {
    position: relative;
    bottom: 4px;
    margin: 0px 8px;
    padding: 10px 15px;
    margin: 0;
    border-radius: 20px;
    font-family: 'Open Sans', sans-serif;
    /*font-weight: bold;*/
    background-color: #8981d8;
    border-color: #8981d8;
	width: auto;
}
.btn-info.focus, .btn-info:focus,
.btn-info.active, .btn-info:active {
    background-color: #675DC8;
    border-color: #675DC8;
    outline: none;
    box-shadow: 0 0 0 2px #fff,0 0 0 4px #9761E4;
}
.btn-info:hover {
    background-color: #675DC8;
    border-color: #675DC8;
}

.btn-info.active.focus, .btn-info.active:focus,
.btn-info.active:hover, .btn-info:active.focus,
.btn-info:active:focus, .btn-info:active:hover,
.open>.dropdown-toggle.btn-info.focus,
.open>.dropdown-toggle.btn-info:focus, 
.open>.dropdown-toggle.btn-info:hover {
    background-color: #675DC8;
    border-color: #675DC8;
    outline: none;
    box-shadow: 0 0 0 2px #fff,0 0 0 4px #9761E4;
}

/*Section - with only one input*/
section {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 73%;
}
section input[type="text"] {
    width: 300px;
}


/*Footer*/
.footer {
    position: relative;
    margin-top: 20px;
    height: 60px;
    width: 100%;
    background: #CDCDCD;
}
.footer h4 {
    margin: 0;
    padding: 23px 20px 0 0;
    font-size: 15px;
    text-align: right;
    color: #575757;
}

/*Media Queries*/
@media (max-width: 500px) {
    /*Login*/
    .login-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .login-container .panel-login {
        top: 0;
        right: 0;
        width: 95%;
        padding: 0px;
    }
    .login-container .logo {
        padding-top: 10px;
    }
    .login-container input[type="text"],
    .login-container input[type="password"] {
        font-size: 16px;
    }
    .login-container .btn-info {
        padding: 10px 0;
        font-size: 17px;
    }

    /*Home*/
    .home-container {
        padding: 0 25px;
    }
    .page-title h3 {
        font-size: 25px;
    }
    .panel-home .panel-default {
        width: 100%;
    }
    .panel-home .panel-body {
        justify-content: space-around;
    }
    .panel-home .title {
        padding: 10px 12px;
        font-size: 18px;
    }
    .panel-body .fa {
        font-size: 80px;
    }
    .panel-body .text {
        font-size: 16px;
    }

    /*Forms*/
    .form-group {
        padding: 0;
    }
    .form-content.col-sm-12.col-md-6 {
        align-items: stretch;
    }

    /*Tables*/
    .table-container {
        padding: 0 30px;
    }

    /*Footer*/
    .footer h4 {
        padding: 23px 0 0 0;
        font-size: 13px;
        text-align: center;
    }

}

@media (max-width: 767px) and (min-width: 501px) {
    /*Login*/
    .login-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .login-container .panel-login {
        top: 0;
        right: 0;
    }

    /*Home*/
    .page-title h3 {
        font-size: 25px;
    }
    .panel-home .panel-default {
        width: 100%;
    }
    .panel-home .panel-body {
        justify-content: space-between;
    }
    .home-container {
        padding: 0 75px;
    }

    /*Navbar*/
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #FFF;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
        color: #D8D8D8;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    /*Login*/
    .login-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .login-container .panel-login {
        top: 0;
        right: 0;
    }

    /*Home*/
    .home-container {
        padding: 0 50px;
    }
    .panel-container {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .panel-home .panel-default {
        width: 45%;
    }
}

@media (max-width: 1300px) and (min-width: 1024px) {
    /*Login*/
    .login-container .panel-login {
        top: 9%;
        right: 8%;
    }
}

@media (min-width: 1024px) {
    /*Login*/
    .login-container .login-text {
        display: block;
    }

    /*Home*/
    .panel-home .fa:hover {
        transform: scale(1.2);
    }
}
/*
@media (max-width: 1300px) {
    .table-responsive>.table {
        margin-bottom: 0;
    }
}*/

/* @media screen and (max-width: 860px) {
    .table-responsive { 
        border: 1px solid #DDD;
    }
}

@media screen and (max-width: 1300px) {
    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }
    .table-responsive>.table {
        margin-bottom: 0;
    }
}
*/







/*body, html
{
	margin				: 3px 3px 3px 3px;
	font-family			: Verdana, Lucida Sans Unicode, Trebuchet MS, Sans-Serif;
    font-size           : 11px;
	background-color	: #FFFFFF;
}*/

/*table
{
    margin-top          : 1px;
    padding             : 0px;
    font-family         : Verdana, Lucida Sans Unicode, Trebuchet MS, Sans-Serif;
    font-size           : 11px;
    background-color    : #FFFFFF;
}

tr
{
    padding-left        : 3px;
    padding-right       : 3px;
    height              : 20px;
}*/

/*.trlig
{
    background-color    : #FFFFFF;
}

.trdar
{
    background-color    : #F4F3EC;
}*/

tr.fancy1 
{
    background          : #fff url(buttonbar2.gif) repeat-x top;
    height              : 20px;
}

tr.fancy2 
{
    background          : #fff url(buttonbar1.gif) repeat-x top;
    height              : 20px;
}

td.fancy1 
{
    background          : #fff url(buttonbar2.gif) repeat-x top;
    height              : 20px;
}

td.fancy2 
{
    background          : #fff url(buttonbar1.gif) repeat-x top;
    height              : 20px;
}

td
{
    padding             : 1px;    
    padding-left        : 3px;
    padding-right       : 3px;
    height              : 20px;
}

td.tdhead
{
    height              : 20px;
    background          : #fff url(buttonbar1.gif) repeat-x top;
    background-color    : #F4F3EC;
    border-top          : 1px solid #527B10;
    border-bottom       : 1px solid #527B10;
    vertical-align      : middle;
}

td.tdlbl
{
    background-color    : #F4F3EC;
    background          : #fff url(windowbg2.gif) repeat-x top;
    vertical-align      : middle;
    width               : 222px;
    font-family         : Verdana, Lucida Sans Unicode, Trebuchet MS, Sans-Serif;
    color               : #527B10;
}

td.tdsearch
{
    text-align          : left;
    padding-left        : 0px;
    font-size           : 10px;
}

td.tdfoot 
{
    vertical-align      : middle;
    border-top          : 1px solid #999;
    vertical-align      : middle;
    padding-top         : 2px;    
}

/*h1
{
    font-family         : Verdana, Lucida Sans Unicode, Trebuchet MS, Sans-Serif;
    font-size           : 24px;
    font-weight         : bold;
    color               : #527B10;
    margin              : 0px;
}*/

h2
{
    font-family         : Trebuchet MS, Lucida Sans Unicode, Sans-Serif;
    font-size           : 13pt;
    font-weight         : bold;
    color               : #527B10;
    margin              : 0px;
}

/*h3
{
    font-family         : Lucida Sans Unicode, Trebuchet MS, Sans-Serif;
    font-size           : 13px;
    font-weight         : bold;
    color               : #527B10;
    margin              : 0px;
}
*/
/*a:visited, a:active
{
    text-decoration     : none;
}

a:link
{
    text-decoration     : none;
    color               : BLUE;
}

a:hover
{
    text-decoration     : underline;
    color               : RED;
}*/

/*input
{
    height              : 20px;
    width               : 250px;
    vertical-align      : middle;
}

select
{
    font-family         : Verdana, Lucida Sans Unicode, Trebuchet MS, Sans-Serif;
    font-size           : 11px;
    height              : 20px;
    width               : 250px;
    vertical-align      : middle;
}

input, textarea
{
    font-family         : Verdana, Lucida Sans Unicode, Trebuchet MS, Sans-Serif;
    font-size           : 11px;
    border              : 1px solid #527B10;
}

.button
{
    font-family         : Verdana, Lucida Sans Unicode, Trebuchet MS, Sans-Serif;
    font-size           : 11px;
    height              : 20px;
    color               : BROWN;
    border              : 1px solid #218429;
    background-color    : #F4F3EC;
    background          : #fff url(buttonbar2.gif) repeat-x top;
    width               : auto;
    vertical-align      : middle;
    cursor              : pointer;
}*/

.check_box
{ 
    border              : none;
    width               : auto;
    background          : none;
    margin              : 0px;
}

.border_table
{
    border              : 1px solid #527B10;
}

.mainbody
{
    border              : 1px solid #527B10;
    margin-top          : 5px;
    margin-bottom       : 5px;
    padding-left        : 5px;
    padding-right       : 5px;
}

.errmsg
{
    vertical-align      : middle;
    font-weight         : bold; 
    color               : RED;
}

.sucmsg
{
    vertical-align      : middle;
    font-weight         : bold; 
    color               : #309DB5;
}

/*img.myimg:hover
{
    position            : relative;
    height              : 37px;
    width               : 37px;
}
*/
 .panel_login {
            margin-top           : 210px;
            /*background-image     : url(../../images/login_left.png);
            background-position  : 24% 0%;
            background-size      : 118%;*/
        }
        .header {
            color                : #f14231;
            font-size            : 40px;
            padding-top          : 42px;
            text-align           : right;
            font-weight          : bold;
        }
        .nopadside {
            padding-left         : 0px;
            padding-right        : 0px;
        }
        .title {
            color                : #f14231;
            font-size            : 18px;
            padding-top          : 12px;
        }
        .link {
            color               : #94bfe7;
        }