html, body {
    font-family: "Montserrat", sans-serif;
    background-color: #f6f6f6;
    font-weight: 400;
    font-size: 13px;
    color: #777;
    padding: 0;
    margin: 0;
}

* {
    box-sizing: border-box;
    outline: medium none !important;
    transition: all 0.2s ease-out 0s;
}

.container {
    width: 100% !important;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

#page_container{
    padding-top: 15px;
    margin-top: 60px;
}

hr{
    border-top: 1px solid #ddd;
    margin-bottom: 12px;
    margin-top: 12px;
}

/* ------------------------------- content ------------------------------- */

.base_box{
    border:1px solid #dddddd;
    background-color: #fff;
    border-radius: 3px;
    padding: 15px;
}

h1, h2, h3{display: inline-block;}

h1 {
    margin: 20px 0 30px;
    font-size: 20px;
    color: #555;
}

h2 {
    font-size: 18px;
    color: #37bc9b;
}

h3 {
    font-size: 16px;
    color: #37bc9b;
    margin: 0px;
}

span.greenColor,
p.greenColor{color: #37bc9b;}

p.overview{color: #888;}

p.overview a{
    text-decoration: underline;
    color: #37bc9b;
}

p.overview span.big_number{
    display: inline-block;
    margin: 0 5px 0 10px;
    font-size: 20px;
    color: #666;
}

.header_pull_right {padding-top: 15px;}

/* ------------------------------- header ------------------------------- */

nav.navbar.navbar-default{
    background-color: #ffffff;
    height: 60px;
}

nav.navbar div.navbar-header{height: 60px;}

nav.navbar div.navbar-header a.navbar-brand{
    display: block;
    width: 120px;
    height: 60px;
    margin: 0px;
}

nav.navbar div.navbar-header a.navbar-brand img {height: 25px;}

/* ------------------------------- menu ------------------------------- */
nav.navbar ul.nav {
    margin: 0 -15px 0 0;
    height: 60px;
}

nav.navbar ul.nav > li {
    height: inherit;
    float: left;
}

nav.navbar ul.nav > li > a {
    padding: 20px;
    color: #666;
}

nav.navbar ul.nav > li:last-of-type > a:hover {color: #ff0000;}

nav.navbar ul.nav > li > a:focus,
nav.navbar ul.nav > li > a:hover {
    background-color: #f3f3f3;
    color: #37bc9b;
}

nav.navbar ul.nav > .active > a,
nav.navbar ul.nav > .active > a:hover,
nav.navbar ul.nav > .active > a:focus {
    background-color: #fff;
    box-shadow: none;
    color: #37bc9b;
}

nav.navbar ul.nav li .dropdown-menu {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-clip: padding-box;
    background-color: #ffffff;
    margin-bottom: 20px;
    right: 0 !important;
    border-radius: 3px;
    padding-left: 0;
    font-size: 13px;
    width: 250px;
    left: auto;
}

nav.navbar ul.nav > li.dropdown.open .dropdown-menu {
    border-top: 3px solid #37bc9b;
    border-radius: 2px;
    margin-top: 3px;
    padding: 0;
}

nav.navbar ul.nav > li.dropdown.menu-merge.open .dropdown-menu,
nav.navbar ul.nav > li.dropdown.disable-arrow.open .dropdown-menu {margin-top: 1px;}

nav.navbar ul.nav > li.dropdown.open .dropdown-menu::after {
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #37bc9b;
    border-width: 0 10px 10px;
    border-style: solid;
    position: absolute;
    bottom: 100%;
    content: "";
    right: 11px;
    height: 0;
    width: 0;
}

nav.navbar ul.nav li .dropdown-menu li{border-bottom: 1px solid #eee;}

nav.navbar ul.nav li .dropdown-menu li a{
    text-overflow:ellipsis;
    white-space: nowrap;
    padding: 10px 15px;
    overflow: hidden;
    color: #666;
}

nav.navbar ul.nav li .dropdown-menu li.nav-header a{
    text-transform: uppercase;
    text-align: center;
    padding: 5px 15px;
    color: #37bc9b;
    cursor: auto;
}

nav.navbar ul.nav li .dropdown-menu > li > a:hover,
nav.navbar ul.nav li .dropdown-menu > li > a:focus {color: #37bc9b;}

nav.navbar ul.nav li .dropdown-menu > .active > a,
nav.navbar ul.nav li .dropdown-menu > .active > a:hover,
nav.navbar ul.nav li .dropdown-menu > .active > a:focus {
    background-color: #f3f3f3;
    color: #37bc9b;
}

nav.navbar ul.nav li .dropdown-menu > li.nav-header > a:hover,
nav.navbar ul.nav li .dropdown-menu > li.nav-header > a:focus {background-color: #fff;}

/* ------------------------------- footer ------------------------------- */

footer{
    transition: margin 0.2s ease 0s;
    border-top: 1px solid #dddddd;
    background-color: #f8f8f8;
    padding: 12px 15px;
    overflow: hidden;
    position: fixed;
    color: #aaaaaa;
    z-index: 9999;
    height: 44px;
    bottom: 0;
    right: 0;
    left: 0;
}

/* ------------------------------- form items ------------------------------- */

.form-control {
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: none;
    font-size: 13px;
    min-width: 0px;
    height: 42px !important;
    color: #777;
}

textarea{
    min-height: 100px;
    resize:vertical;
}

input:focus,
textarea:focus,
.form-control:focus{
    box-shadow: none !important;
    border-color: #37bc9b;
}

div.form_btn_container{
    background-color: #fff;
    border: 1px solid #ddd;
    border-top-color: #eee;
    padding-bottom: 15px;
    margin-top: -1px;
}

div.checkboxContainer{margin-top: 34px;}

.filter-container .form-control{height: 30px !important;}

/* ------------------------------- alerts ------------------------------- */

.alert-orange{
    background-color: #f8f1e4 !important;
    border-color: #f4bf63 !important;
    color: #e19208 !important;
}

/* ------------------------------- buttons ------------------------------- */

.btn{font-size: 13px;}

.btn-default {color: #666;}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
    background-color: #f2f2f2;
    border-color: #ccc;
    color: #555;
}

.overview_btn{
    margin-right: 10px;
    float: right;
}

/* ------------------------------- nav-tabs ------------------------------- */

ul.nav-tabs li{margin: 0 0 -1px 0;}

ul.nav-tabs > li > a {
    border-radius: 0px;
    margin-right: 0px;
    color: #aaa;
}

ul.nav-tabs > li.active > a,
ul.nav-tabs > li.active > a:hover,
ul.nav-tabs > li.active > a:focus {
    border-top-color: #37bc9b;
    border-bottom-color: #fff;
    color: #37bc9b;
}

ul.nav-tabs > li > a:hover,
ul.nav-tabs > li > a:focus {
    background-color: #eee;
    border-color: #ddd;
}

div.tab-content{
    background-color: #fff;
    border:1px solid #ddd;
    border-top: none;
}

/* nav-tabs + grids */
div.tab-content div.grid-view {padding-top: 0px;}

/* ------------------------------- table ------------------------------- */

.table > thead > tr > th {border-bottom: 1px solid #ddd;}

table.items th a,
.table > thead > tr > th{color: #444;}

table thead tr th:hover{background-color: #f3f3f3;}
table thead tr th:hover a{text-decoration: none;}

table thead tr th,
table tbody tr td{ padding: 8px 15px;}

table tr.selected td {background: transparent !important;}
table tr td.coloured_background {background-color:#f6f6f6 !important;}

table thead tr th.button-column{text-align: center;}

table tbody tr td.actions_container{
    border-left:1px solid #ddd;
    text-align:center;
    width:10%;
}

table tbody tr td.actions_container a,
table tbody tr td.actions_container a i{color:#37bc9b;}

.grid-view .summary,
.summary{
    border-top: 1px solid #ddd;
    margin-bottom: 0px;
    text-align: right;
    padding: 5px;
}

.pagination {margin:5px 15px 15px 0;}

/*  detail-view  */
table.detail-view tbody tr th{color: #37bc9b;}

/* container of tables */
div.white_table{
    background-color: #fff;
    border:1px solid #ddd;
}

/* presence table */
span.legend {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    margin-left: 5px;
}

.white_cell{
    background-color: #fff;
}

table.presence_sheet_employee_mobile{
    background-color: transparent !important;
    border:none !important;
}

table.presence_sheet_employee_mobile tr td:nth-child(1),
table.presence_sheet_employee_mobile tr td:nth-child(2),
table.presence_sheet_employee_mobile tr td:nth-child(3),
table.presence_sheet_employee_mobile tr td:nth-child(4),
table.presence_sheet_employee_mobile tr td:nth-child(5){
    width: 20%;
    height: 35px;
}

table.presence_sheet tr.days_row td,
table.presence_sheet tr.rows td{
    height: 38px !important;
	font-size: 11px;
}

table.presence_sheet tr.days_row td{color: #555;}
table.presence_sheet tr.rows td{padding: 2px 5px;}

table.presence_sheet tr.rows td:first-child{
    text-align: left !important;
    width: 150px !important;
    font-size: 13px;
}

table.tableAlignmentSpace > thead > tr > th,
table.tableAlignmentSpace > tbody > tr > th,
table.tableAlignmentSpace > tfoot > tr > th,
table.tableAlignmentSpace > thead > tr > td,
table.tableAlignmentSpace > tfoot > tr > td,
table.tableAlignmentSpace > tbody > tr > td{
    text-align: center !important;
    vertical-align: middle;
    padding: 8px 5px;
}

table.allocations tr td:first-child{
    text-align: left !important;
    width: 350px !important;
    font-size: 13px;
}

tr.projectRow{background-color: #eee;}

div.green_cell,
td.green_cell,
th.green_cell,
span.green_cell{
    background-color: #d9f1d5;
    border:1px solid #afe1a8;
    color: #3f9532;
}

div.red_cell,
td.red_cell,
th.red_cell,
span.red_cell{
    background-color: #f8e7e4;
    border:1px solid #eea79c;
    color: #ac311d;
}

div.blue_cell,
td.blue_cell,
th.blue_cell,
span.blue_cell{
    background-color: #d3e8f5;
    border:1px solid #82c0e9;
    color: #196090;
}

div.azure_cell,
td.azure_cell,
th.azure_cell,
span.azure_cell{
    background-color: #ceeef9;
    border-color: #88cfe9;
    color: #1c7393;
}

div.yellow_cell,
td.yellow_cell,
th.yellow_cell,
span.yellow_cell{
    background-color: #fdf0d4;
    border:1px solid #fadb9a;
    color: #c88a0a;
}

div.orange_cell,
td.orange_cell,
th.orange_cell,
span.orange_cell{
    background-color: #fde2d4;
    border:1px solid #face9a;
    color: #f17418;
}

div.grey_cell,
td.grey_cell,
th.grey_cell,
span.grey_cell{
    background-color: #f6f6f6;
    border:1px solid #f2f2f2;
    color: #999;
}

div.violet_cell,
td.violet_cell,
th.violet_cell,
span.violet_cell{
    background-color: #f4e2ff;
    border:1px solid #dcb7f3;
    color: #b562e9;
}

td div.green_cell,
td div.red_cell,
td div.blue_cell,
td div.azure_cell,
td div.yellow_cell,
td div.orange_cell,
td div.grey_cell,
td div.violet_cell{border-color: transparent;}

td.green_cell a{color: #3f9532;}
td.red_cell a{color: #ac311d;}
td.blue_cell a{color: #196090;}
td.azure_cell a{color: #1c7393;}
td.yellow_cell a{color: #c88a0a;}
td.grey_cell a{color: #999;}
