﻿/** General Information:
    Main color scheme: #ED2E21
*/

body {
    background-color:#F5F7FA;
    font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size:12px;
    line-height: 1.7; /* Specified to fix label - checkbox misalign.*/
}

/* A class for the text placed in a div which is supposed for form-control. */
.form-control-text {
    padding-top: 7px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.nav .caret {
    border-top-color: #FFF;
    border-bottom-color: #FFF;
}

/* z-index fix for datepicker */
.datepicker.dropdown-menu {
    z-index: 1031;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.label-currency {
    /*text-align:right;*/
}

.footer-btn {
    text-align: right;
    margin-top: 30px;
    margin-bottom: 30px;
}

#modal-container .pagination {
    margin: 0;
}

/* Css fix for create/edit contact */
.contact-mobile-wrap {
    padding-left: 0px;
    padding-right: 0px;
}

.contact-email-wrap {
    padding-left: 0px;
    padding-right: 0px;
}

@media (min-width: 992px) {
    .contact-email-wrap {
        margin-left: -30px;
        margin-right: -30px;
    }
}

.row-submit-btn {
    text-align: right;
}

/*
 * Property Purchase
*/
.selected-lot {
    text-align: center;
    color: #333;
    padding: 3px 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
}

.progress-indicator {
    margin-bottom: 20px;
}

.package-price-table {
    width: 100%;
    text-align: right;
    font-weight: 600;
}

.package-price-table td:nth-of-type(3):before {
    content: 'RM';
    font-weight: 600;
}

.package-price-table td:nth-of-type(1) {
}


.table-select-package tr td:nth-child(n+4):before{
    content: 'RM ';
    font-weight: 600;
}

.table-select-package tr td:nth-child(n+4){
    text-align: right;
    font-weight: 600;
}

.table-select-discount tr td:nth-child(n+4):before{
    content: 'RM ';
    font-weight: 600;
}

.table-select-discount tr td:nth-child(n+4){
    text-align: right;
    font-weight: 600;
}



/*
 * Notifications
*/
.alert.alert-warning > a {
    color: #c09853;
}

.alert.alert-notification > a {
    color: #c09853;
}

/*
 * Charts
*/
.report-chart {
    text-align: center;
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Sidebar
 */

.content-area {
    margin-left:25px;
    margin-right:25px;
}

.navbar {
    border-bottom:0px solid #FFFFFF;
}

.navbar a.nav-main-link {
    font-size:14px;
}

.navbar a.nav-main-link i.fa {
    font-size:18px;
}

.navbar-inverse .navbar-nav > .dropdown > a .caret {
    border-top-color:#FFFFFF;
    border-bottom-color:#FFFFFF;
}

.navbar-app {
    background-color:#E32219;
}

.navbar-brand {
    padding-top:10px;
    padding-bottom:0px;
}

.navbar-brand IMG {
    height:32px;
}

.navbar-header .navbar-brand span {
	color: #30a5ff;
}

.navbar-app .navbar-nav > li > a {
    color:#FFFFFF;
}

.navbar-app .navbar-nav > li > a:hover {
    color:#337ab7;
}

.navbar-app .navbar-nav > li.open > a {
    color:#337ab7;
}

.navbar-toggle {
    border:1px solid #FFFFFF;
}

.navbar-toggle .icon-bar {
    border:1px solid #FFFFFF;
}

/*
 * Main content
 */

.modal-header {
    background-color:#ED2E21;
}

.modal-header h5 {
    color:#FFFFFF;
    font-weight:bold;
}

i.fa {
    margin-right:4px;
}

.main {
    background-color:#FFFFFF;
    border:1px solid #F5F7FA;
}

div.page-header h1, div.page-header h3, div.page-header h4 {
    color:#ED2E21;
    margin-bottom:0px;
}

.div.page-header h3, .page-header h4 {
    color:#337ab7;
}

div.page-toolbar {
    margin-bottom:15px;
}

.advanced-search {
    text-align: right;
    padding-top: 5px;
}

.advanced-search > a {
    font-size: 1.1em;
}

div.page-tab-bar {
    margin-top:10px;
    margin-bottom:10px;
}

.list-group-item {
    padding-top:3px;
}

.list-group-item h5 {
    margin-top:5px;
    margin-bottom:5px;
}

.list-customer-opportunities {
    margin-top:10px;
}

.list-customer .list-group-item-text {
    padding-top:2px;
    padding-bottom:2px;
}

.list-customer .list-group-item-text i.fa {
    color: #ED2E21;
}

/* Hide the actual file input to replace with our own (fake) control */
.input-group input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 50;
}

.overlay .loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
}

.package-form.loading {
    opacity: 0.9;
    pointer-events: none;
}

#divList.loading {
    opacity: 0.7;
    pointer-events: none;
}

.list-table.loading {
    opacity: 0.7;
    pointer-events: none;
}

div.form {
    margin-top:10px;
    padding-left:5px;
    padding-right:5px;
}


.glyphicon {
    margin-right:8px;
}

.btn .glyphicon {
    margin-right:0px;
}

.main .page-header {
  margin-top: 5px;
  margin-bottom:10px;

}
.main .page-subheader {
  margin-bottom:30px;
}

.main .page-sectionheader {
    margin-top: 10px;
    margin-bottom:10px;
    border-bottom:1px solid #eeeeee;
}

.main .page-sectionheader h5 {
    font-weight:bold;
}

font.actiontext {
    font-size:15px;
    text-transform:uppercase;
    font-weight:bold;
    margin-right:7px;
    margin-top:3px;
}

.btn-primary {
    background-color:#4A89DC;
    border-color:#4A89DC;
}

.btn-warning {
    background-color:#FFC107;
    border-color:#FFC107;
}

.btn-danger {
    background-color:#ED2E21;
    border-color:#ED2E21;
}

.btn-success {
    background-color:#4CAF50;
    border-color:#4CAF50;
}

.label-warning {
    background-color:#ED2E21;
}

.label-danger {
    background-color:#F44336;
}

.label-success {
    background-color:#4CAF50;
}

.link-sort {
    color: #000;
}

.link-sort:visited {
    color: #000;
}

.link-sort:hover {
    color: #000;
}

.link-sort:active {
    color: #555;
}

table.table tr.tableheader {
    background-color:#ED2E21;
}


table.table tr.tableheader td {
    border-top:0px solid #FFFFFF;
    font-weight:bold;
    color:#FFFFFF;
}

.modal-dialog-large {
    width:80%
}

ul.dropdown-menu li {
    text-align:left;
}

.bigdescription {
    height:125px;
}

/** Dashboard **/
.dashboard-link a {
    color: #ED2E21;
}

.align-right {
    text-align: right;
}

/** For View Project Details Icon / Title Listing **/

div.detailiconlist {
    margin-bottom:15px;
}

div.detailicon {
    font-size:12.5px;
}

div.detailiconrow {
    margin-top:3px;
    margin-bottom:3px;
}

b.detailiconlabel {
    margin-left:2px;
    margin-right:10px;
}

/** For Project Auto Complete item listing  **/
li .lookup-item {
    font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size:12px;
}

.lookup-item .lookup-icon {
    width: 50px;
    margin-right: 5px;
}

.lookup-item .lookup-item-name {
    font-weight: 600;
}

.lookup-item .lookup-item-description {
    color: #777;
}

/** For Project Auto Complete item listing  **/
.row-sorter td.sorter i {
    cursor: pointer;
}

.sorting-table tr:nth-of-type(n+2) {
    opacity: 0.5;
}

.sorting-row {
    opacity: 1.0 !important;
}

/** For Lot Selection **/
div.lot {
    padding-top:5px;
    padding-bottom:5px;
    margin-bottom:5px;
}


div.project-preview {
    margin-top:15px;
    margin-bottom: 10px;
}

div.signaturepad {
    width:100%;
    height:150px;
    border:1px solid #CCCCCC;
}

button#clearsignature{
    margin-top:5px;
}

/* Cater for col-sm and above width. */
@media (min-width: 768px) {
  .main {
    margin-top:51px;
    padding-top:10px;
    padding-right: 20px;
    padding-left: 20px;
    border:1px solid #F5F7FA;
    min-height:700px;    
  }

  .table-responsive {
        overflow: visible;
   }
}

/* Cater for all below col-md width. */
@media (max-width: 991px) {
    /* Fix to add spacing between button group and search bar in listing pages on small devices */
    div.page-toolbar .btn-group {
        margin-bottom:5px;
    }
}

/* Cater for col-xs width. */
@media (max-width: 767px) {
    .content-area {
        margin-left:0px;
        margin-right:0px;
    }

    .main {
        margin-top:51px;
        padding-top:10px;
        padding-right: 20px;
        padding-left: 20px;
        border:1px solid #F5F7FA;
        min-height:700px;    
    } 

    .dropdown-menu {
        font-size:11.5px;
    }

    .navbar-nav .open .dropdown-menu {
        background-color: #EEE;
    }


    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
       color:#FFFFFF;
    }

    div.signaturepad {
        width:100%;
        height:200px;        
    }

    .table-responsive .dropdown-menu {
        position: static !important;
    }
}

/* Fix for col-sm showing 2 rows of navigation */
@media (min-width: 768px) and (max-width: 991px) {
    .hidden-sm-inline {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .hidden-sm-inline {
        display: inline !important;
    }
}

@media (min-width: 992px) {
    .hidden-sm-inline {
        display: inline !important;
    }
}

/* Used to hide notification span */
@media (min-width: 768px) {
    .hidden-notification-inline {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .hidden-notification-inline {
        display: inline !important;
    }
}

.icon-badge {
    position: absolute;
    bottom: 10px;
    left: 20px;
}

.alert-notification {
    position: fixed;
    top: 60px;
    right: 20px;
    z-index: 4500;
}

.notification-wrap {
    border-bottom: 1px solid #eee;
    padding-left: 5px;
    padding-right: 5px;
}

.notification-wrap::first-line {
    line-height: 40px;
}

.notification-wrap.unread {
    background-color: #f6f7f9;
}

.notification-wrap:hover {
    background-color: #eee;
}