/*
  SYNOPSIS:
    (from witin project rooot directory)
      sassc scss/main.scss public/css/style.css
*/
body {
  font: 14px "Open Sans", Helvetica, Arial, sans-serif;
  color: #61686b;
}

a {
  color: #5ba4e5;
}

/*
  Simple class that makes its content's font size little bit bigger
 */
.text-bigger {
  font-size: 16px;
}

/*
  Add special class to remove default buttom space
*/
.no-bottom-space {
  margin-bottom: 0px;
}

.large-bottom-space {
  margin-bottom: 300px;
}

/*
  Increase space between form groups so they are more prominent
*/
.form-group {
  margin-bottom: 20px;
}

/*
  Make help blocks in forms to be more distinguishable
 */
.form-group .help-block {
  font-style: italic;
}

/*
 Make certain progress bars to be taller
 */
.progress.bigger {
  height: 38px;
}
.progress.bigger .progress-bar {
  line-height: 38px;
}

/* Space out content a bit */
body {
  padding-top: 20px;
  padding-bottom: 20px;
}

label.label-plain {
  font-weight: normal;
}

/* Make breadcrumbs to be transparant */
.breadcrumb {
  background: none;
  padding-right: 0;
  padding-left: 0;
}

/* Make the masthead heading the same height as the navigation */
.header h3 {
  padding-bottom: 19px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}

.header, .marketing {
  padding-right: 0;
  padding-left: 0;
}

/* Space out the masthead */
.header {
  margin-bottom: 30px;
}

.popover {
  min-width: 300px;
}

/* styling calendar*/
.calendar_month {
  width: 100%;
}

.calendar_month td {
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}

.calendar_month thead {
  text-align: center;
  font-weight: bolder;
}

div.month_container {
  height: 250px;
}

.team-view-table {
  width: 100%;
}

.team-view-table td {
  padding-top: 5px;
  padding-bottom: 5px;
}

td.team-view-header {
  height: 43px;
  text-align: center;
}

td.calendar_cell {
  width: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  position: relative;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}

td.calendar_cell span {
  position: relative;
  left: 9px;
  top: -1px;
  display: block;
  text-align: center;
  z-index: 10;
}

td.current_day_cell {
  background: #FFCDD2;
  color: #ffffff;
}

td.weekend_cell {
  background: #F5F7F8;
}

td.bank_holiday_cell {
  background: #31B0D5;
  color: #ffffff;
}

td.leave_cell {
  background: #9fbb58;
  color: #61686b;
  font-weight: bolder;
}

td.leave_cell_pended {
  background: #FFCBA4;
  color: #61686b;
  font-weight: bolder;
}

.modal-dialog {
  max-width: 450px;
}

.left-column-cell {
  text-overflow: ellipsis;
  /* Cannot avoid specifying width with pixels... */
  width: 165px;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}

.main-row_header { /* TODO refactore */
  border: none;
  font-weight: normal;
  color: #5ba4e5;
  letter-spacing: -0.01em;
  font-size: 19px;
  line-height: 1.15em;
  text-align: left;
  padding-top: 30px;
  padding-bottom: 30px;
}

/* Feeds */
.feed-calendar-big {
  font-size: 450px;
  color: #F8F8F8;
}

.feed-calendar-big-picture-holder {
  text-align: center;
}

p.description-paragraph {
  padding-top: 20px;
  padding-left: 15px;
}

div.feeds-holder {
  margin-top: 20px;
}

/* Calendars */
.top-leave-type-statistics {
  text-align: center;
}

.top-leave-type-statistics dt {
  font-size: 75px;
  color: #61686b;
  font-weight: 100;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 20px;
}

.top-leave-type-statistics dd {
  font-size: 16px;
}

.secondary-leave-type-statistics {
  font-size: 16px;
}

.secondary-leave-type-statistics dt {
  text-align: center;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.secondary-leave-type-statistics dd {
  padding-left: 10px;
  padding-right: 10px;
}

.calendar-section-caption {
  text-align: center;
  font-size: 1.2em;
}

.setting-general-2nd-column {
  padding-left: 30px;
}

.label.bigger {
  font-size: large;
}

/* Fix for issue with modal scrollings on mobiles */
@media (max-width: 768px) {
  body.modal-open {
    position: fixed;
  }
}
/* To be used for selected items in lists */
.selected-item {
  background: #F5F7F8;
  font-weight: bolder;
}

.leave_type_color_1 {
  background: #96c521 !important;
}

.leave_type_color_2 {
  background: #40C4FF !important;
}

.leave_type_color_3 {
  background: #FF5722 !important;
}

.leave_type_color_4 {
  background: #FF80AB !important;
}

.leave_type_color_5 {
  background: #00BCD4 !important;
}

/* Current language in the navigation bar */
.language-code {
  text-transform: uppercase;
}

/*
  Right-to-left languages. bootstrap-rtl mirrors the components but leaves
  the pull-*, text-* and navbar-* helpers as they are unless marked with "flip"
*/
[dir=rtl] .pull-right {
  float: left !important;
}
[dir=rtl] .pull-left {
  float: right !important;
}
[dir=rtl] .text-right {
  text-align: left;
}
[dir=rtl] .text-left {
  text-align: right;
}
@media (min-width: 768px) {
  [dir=rtl] .navbar-right {
    float: left !important;
    margin-right: 0;
    margin-left: -15px;
  }
  [dir=rtl] .navbar-left {
    float: right !important;
  }
}
[dir=rtl] .fa-chevron-left, [dir=rtl] .fa-chevron-right, [dir=rtl] .fa-angle-left, [dir=rtl] .fa-angle-right,
[dir=rtl] .fa-angle-double-left, [dir=rtl] .fa-angle-double-right, [dir=rtl] .fa-long-arrow-left, [dir=rtl] .fa-long-arrow-right {
  transform: scaleX(-1);
}
[dir=rtl] .main-row_header {
  text-align: right;
}
[dir=rtl] .setting-general-2nd-column {
  padding-left: 0;
  padding-right: 30px;
}
[dir=rtl] p.description-paragraph {
  padding-left: 0;
  padding-right: 15px;
}
[dir=rtl] td.calendar_cell span {
  left: -9px;
}
