@font-face{
  font-family:Montserrat;
  src: url(../fonts/Montserrat-Regular.otf);
}
@font-face{
  font-family:Montserrat-Light;
  src: url(../fonts/Montserrat-Light.otf);
}
@font-face{
  font-family:Montserrat-Hl;
  src: url(../fonts/Montserrat-Hairline.otf);
}
@font-face{
  font-family:Montserrat-Semibold;
  src: url(../fonts/Montserrat-SemiBold.otf);
}

/* reset */
html {
  height: 100%;
  margin: 0;
}

body{
  font-family:Montserrat;
  margin: 0 0;
  font-size: 13px;
  height: 100%;
  color: #373737;
  -webkit-text-size-adjust: none;
  background-color: #e4e6e1;
}

a {
  text-decoration: none;
}

table {
  font-size: 13px;
}

textarea {
  resize: vertical;
}

input, select, textarea {
  font-family: Montserrat-Light;
}

input, textarea{
  border: 1px solid #c5c5c5;
  border-radius: 2px;
}

input[type=text], input[type=number] {
  padding: 0 3px;
}

body .ui-autocomplete {
  font-family: Montserrat-Light;
}


/* layout */
.page {
  width: 100%;
  min-height: 100vh;
  position: absolute;
}

#sidebar {
  position: absolute;
  width:210px;
  top: 0;
  background-color: #3d4a5e;
  color: #d0d5e1;
  min-height: 100%;
  height: auto;
}

#sidebar .mcat{
  border-top: 2px solid #313746;
  font-size: 16px;
  margin-bottom: 15px;
}

.mcaption {
  font-family: Montserrat-Light;
  padding: 10px 0px 10px 15px;
  color: #a0abc1;
}

.mitem {
  padding: 10px 0px 10px 15px;
  line-height: 16px;
  margin-bottom: 5px;
}

.mitem.active {
  background-color: #303b4a;
  border-left: 4px solid #7cc829;
  padding-left: 11px;
}

.mitem a {
  text-transform: uppercase;
  color: #d0d5e1;
  font-size: 13px;
}

.task-counter {
  float: right;
  margin-right: 1em;
}

#main {
  margin-left:210px;
  transition: 0.5s;
  height: 100%;
  background-color: #e4e6e1;
}

#headline {
  height: 60px;
  background-color: #fff;
}

.headline-element {
  padding: 10px;
  border-left: 2px solid #a6a6a6;
  height: 40px;
}

#search {
  margin-left:20px;
}

#search i{
  font-size:2em;
  margin-right:20px;
}

#search input[type="text"] {
  background-color: #FFFFFF !important;
  font-family:Montserrat-Light !important;
  color: #9fa3b8 !important;
  padding-left:5px;
  border: 1px solid #a6a6a6 !important;
}

.new_case {
  width: 65px;
  height: 60px;
  background: url('/img/case.png') center center no-repeat;
}

.new_case:hover {
  background: url('/img/case_h.png') center center no-repeat;
  background-color: #33a8e0;
}

#logo {
  font-size: 1.2em;
}

#content {
  padding: 10px;
  border-top: 1px solid #a6a6a6;
  min-height: 100vh;
}

/* user */
#userframe {
  position:relative;
}

#usericon_dialog {
  top: 20px;
  left: 30px;
  border: 1px solid;
}

#user {
  position:absolute;
  left: 50;
  top: 12;
  line-height: 30px;
  font-size: 12px;
}

#umenu {
  display:none;
  background-color: #9fa3b8;
  z-index: 5;
  padding: 5px;
}

#umenu a {
  color: #d0d5e1;
}

#user:hover #umenu {
  display:block;
}

#user.oooactivated {
  animation-duration: 800ms;
  animation-name: blink;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* colors */
.thead {
  background-color: #c7c7c7;
  font-size: 11px;
}

.todo {
  background-color: #bcbcbc;
}

.done {
  background-color: #7cc829;
  color:#fff;
}

.progress {
  background-color: #b2e47c;
}

.pending {
  background-color: #f5b719;
  color:#fff;
}

.closing {
  background-color: #ed4b8e;
  color:#fff;
}

.closed {
  background-color: #5c99bd;
  color:#fff;
}

.deadline {
  color: #7cc829;
}

.ending {
  color: #f5b719;
}

.overdue {
  color: #990007;
}

/* general*/
.fl {
  float:left;
}

.fr {
  float:right;
}

.cb {
  clear:both;
}

.uc {
  text-transform: uppercase;
}

.full {
  width: 100%;
}

.full h3 {
  margin-left: 15px;
  font-weight: normal;
}

.full_xy {
  width:100%;
  min-height:100%;
  height: 100%;
}

.tc {
  text-align:center;
}

.tr {
  text-align:right;
}

.rt {
  border-radius: 4px 4px 0 0;
}

.rb {
  border-radius: 0 0 4px 4px;
}

.icon {
  color: #6c7292;
}

.error {
  color: #f00;
  font-size: 12px;
}

.main_container {
  background-color: #fff;
  border-radius: 5px;
}

.main_container[style] {
  height: auto !important;
}

.main_container .row {
  margin-left: 15px;
}

.container-head {
  background-color: #7cc829;
  color: #fff;
  padding-left: 40px;
  line-height: 25px;
}

.container-line {
  margin-left: 10px;
  clear: both;
}

.container-line img {
  max-height: 2em;
  margin: 0.5em;
}

.container-line table {
  width: 100%;
}

.circle {
  width:18px;
  height:18px;
  border-radius:50%;
  float: left;
  text-align: center;
  font-size: 12px;
  margin-right: 3px;
  color: #ffffff;
}

.cn {
  background-color: #5c99bd;
}

.btn {
  text-align: center;
  background-color: #33a8e0;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  border: none;
}

a.btn {
  font-family: Montserrat-Light;
  padding: 7px 12px;
}

.save{
  background-color: #fff;
  color: #33a8e0;
}

.nr {
  background-color: #7cc829;
  color: #fff;
  border-radius: 4px;
  margin: 1em 0;
  padding: 3px;
  padding: 3px;
  font-size: 10px;
  text-align: center;
  font-family: Montserrat;
  margin: 0 1px;
}

.dlg {
  display: none;
  position: absolute;
  background-color: #3d4a5e;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
}

.close-dlg i {
  cursor:pointer;
  margin-bottom: 0.5em;
}

#addflow_dialog {
  text-align: center;
}

#outofoffice_dialog {
  position: fixed;
  top: 200;
  left: 40%;
}

#comment_dialog textarea{
  font-size: 13px;
}

table td a {
  color: #373737;
}

.bold {
  font-family: Montserrat-Semibold;
}

/* calendar */
.calendar {
  font-size: 0.5em;
  clear: both;
  color: #d0d5e1;
}

.week {
  text-align: center;
  clear: both;
  margin-right: 10px;
}

.day {
  float:left;
  padding: 0.5em;
  width: 2.25em;
}

.day > span{
  font-size: 2em;
}

.today {
  background-color: #757d94;
}

.calendar .circle {
  background-color: #49abe4;
  color : #fff;
  font-size: 13px;
  width: 21px;
  height: 21px;
  line-height: 20px;
}

/* Login */
#login-container {
  position: absolute;
  left: 50%;
  width: 380px;
  top: 120px;
  margin-left: -190px;
  z-index: 1000;
  background: #3d4a5e;
  border-radius: 10px;
  padding: 15px;
}

#login-container input[type=text], #login-container input[type=password]{
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 6px 8px;
}

#login-container a {
  font-size: 12px;
  text-decoration: none;
  color: #d0d5e1;
}

/* forms */
.form-container {
  background-color: #eaeaea;
  border-radius: 5px;
  margin: 10px;
  font-family: Montserrat-Light;
}

.form-head {
  background-color: #6e82a1;
  color: #fff;
  border-radius: 5px 5px 0 0;
  padding: 10px 20px;
  font-size: 16px;
}

.form-content {
  padding: 10px 20px;
}

#case_info .form-content, #playlist_info .form-content, #license_info .form-content, #clearance_info .form-content, #request_info .form-content, #production_info .form-content,
#case_info_edit .form-content, #playlist_info_edit .form-content, #license_info_edit .form-content, #clearance_info_edit .form-content, #request_info_edit .form-content, #production_info_edit .form-content {
  font-size: 11px;
  line-height: 15px;
}

#case_info .form-content a, #playlist_info .form-content a, #license_info .form-content a, #clearance_info .form-content a, #request_info .form-content a, #production_info .form-content a {
  color: #33a8e0;
  font-family: Montserrat;
}

#case_info_edit .form-content input, #case_info_edit .form-content select, #case_info_edit .form-content textarea,
#playlist_info_edit .form-content input, #playlist_info_edit .form-content select, #playlist_info_edit .form-content textarea,
#license_info_edit .form-content input, #license_info_edit .form-content select, #license_info_edit .form-content textarea,
#clearance_info_edit .form-content input, #clearance_info_edit .form-content select, #clearance_info_edit .form-content textarea,
#request_info_edit .form-content input, #request_info_edit .form-content select, #request_info_edit .form-content textarea,
#production_info_edit .form-content input, #production_info_edit .form-content select, #production_info_edit .form-content textarea
{
  font-size: 11px;
}

.form-content input, .form-content select, .form-content textarea {
  font-size: 13px;
}

.form-line {
  position: relative;
  padding-bottom: 4px;
}

.form-label {
  width: 10em;
  position: absolute;
  text-align: right;
}

.form-value {
  margin: 5px 0;
  margin-left: 11em;
  min-height: 1em;
}

.form-value textarea {
  resize: none;
  overflow-y: auto;
}

.form-value input[type="file"], #usericon_dialog input[type="file"] {
  position: fixed;
  bottom: 150%;
}

.form-value input[type="file"] + label, #usericon_dialog input[type="file"] + label {
  border-radius: 4px;
  border: 1px solid #33a8e0;
  color: #33a8e0;
  text-transform: uppercase;
  padding: 1px;
  line-height: 20px;
  margin: 4px;
}

.form-value input[type="checkbox"] + label {
  font-size: 10px;
}

.form-value div textarea {
  width: 90%!important;
  height: 100px;
}

.fl2 {
  min-height: 2em;
}

.fl3 {
  min-height: 3em;
}

/* overview */
.overview {
  border-radius: 10px;
}

.overview > table {
  border-spacing: 0px;
  border-collapse: separate;
  width: 100%;
}

.overview > table > thead > tr > td:first-child {
  border-radius: 10px 0 0 0 ;
}

.overview > table > thead > tr > td:last-child {
  border-radius: 0 10px 0 0;
}

.overview > table > tbody > tr:last-child > td:first-child {
  border-radius: 10px 0 0 0;
}

.overview > table > tbody > tr:last-child > td:last-child {
  border-radius: 0 10px 0 0;
}

.overview > table > tbody {
  background-color: #fff;
}

.overview > table td {
  padding:5px;
}

.overview table td:nth-child(7)  {
  font-size: 9px;
}

.overview > table > tbody > tr.separator > td {
  background-color: #444;
  padding: 1px;
}

.status {
  font-size: 0.5em;
  text-align: center;
}

.status span{
  padding: 5px;
  border-radius: 4px;
  cursor: pointer;
}

.overview td a {
  color: #373737;
}

.overview tr:nth-child(n+2) td:nth-child(7) span {
  cursor:pointer;
}

img.profile-small {
  max-height: 2em;
  max-width: 2em;
}

.comment-count {
  background: url(../img/comments.png) center center no-repeat;
  min-width: 19px;
  text-align: center;
  color: #fff;
  padding: 0.25em 0;
  cursor: pointer;
  font-size: 10px;
}

.tasks-running {
  width: 15em;
}

.tasks-running > div {
  float: left;
  width: 10%;
  border-radius: 4px;
  margin-right:1px;
}

.tasks-pending {
  width: 1em;
}

.tasks-pending > div {
  width: 1.5em;
  border-radius: 4px;
  margin: 0 auto;
}

.tasks-closing {
  width: 10em;
}

.tasks-closing > div {
  float: left;
  width: 15%;
  border-radius: 4px;
  margin-right:1px;
}

.add-flow {
  cursor: pointer;
}

.close-case {
  cursor: pointer;
  background: url('/img/ff.png') center center no-repeat;
  width: 18px;
  height: 18px;
}

.status-lost {
  background: url('/img/lost.png') center center no-repeat;
}

.status-placed {
  background: url('/img/placed.png') center center no-repeat;
}

.status-closed {
  background: url('/img/closed.png') center center no-repeat;
}

.add-reminder {
  cursor: pointer;
  background: url('/img/clock.png') center center no-repeat;
  width: 25px;
  height: 25px;
}

.del-flow {
  color: #DDD;
}

.del-flow-now {
  color: #666;
  cursor: pointer;
}

.r-active {
  background: url('/img/reminder.png') center center no-repeat;
}

.r-reached {
  background: url('/img/reminder_h.png') center center no-repeat;
}

/* case */
.comment {
  border-top:1px solid #d1d1d1;
  clear: both;
  font-size: 11px;
}

.comment .tr {
  font-size: 10px;
  padding-bottom: 5px;
  color: #747474;
}

/* icons */
.ic-folder {
  content: '';
  background: url('/img/folder.png') center center no-repeat;
  width: 16px;
  height: 16px;
  float: left;
}

.ic-check::after {
  content: '';
  background: url('/img/check.png') center center no-repeat;
  width: 16px;
  height: 16px;
  float: left;
}

.icon.state {
  background: url("/img/icons.svg") no-repeat;
  background-size: 1024px 1024px;
  width: 32px;
  height: 32px;
}

.icon.state.Yes {
  background-position: 0 -928px;
}

.icon.state.No {
  background-position: -32px -928px;
}

/* production */
.add_composer_btn {
  width: 150px;
}

.add_composer_btn:hover {
  cursor: pointer;
}

.add_composer_btn > div {
  display: flex;
  align-items: center;
}

.summary_div {
  display: inline-flex;
  justify-content: space-between ;
}

.summary_composer_info {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  padding-top: 20px;
  border-bottom: 2px solid grey;
}

.multi-column {
  position: relative;
}

.controls {
  position: absolute;
  width: 310px;
  left: 10px;
  padding-right: 40px;
}

.cont-column {
  position: absolute;
  padding-left: 350px;
  left: 10px;
}

.close_company, .close_client, .close_track_modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  z-index:2;
  font-weight: bold;
}

.close_company:hover,
.close_company:focus,
.close_client:hover,
.close_client:focus,
.track_id_modal:hover,
.track_id_modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.client_modal, .company_modal, .track_id_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  text-align: center;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(1,1,1,0.6); /* Black w/ opacity */
}

.modal_form {
  display: block;
  width:80%;
  margin: 0 auto;
}
.modal_form .half_content {
  width: 45%;
}
select[name="client_modal_search_results"], #track_search_results {
  font-family: monospace;
}

#client_modal_search_results > option:hover {
  color:#fff;
  background-color:#33a8e0;
}

.marg-top {
  margin-top: 3%;
}

.content_before .six_row input, .content_before .six_row select{
  display: inline-block;
  width: 17%;
  margin-left:1%;
  margin-right:1%;
}

.content_before .four_row input, .content_before .four_row select{
  display: inline-block;
  width: 29%;
  margin-left:1%;
  margin-right:1%;
}

.content_before .four_row input[type='checkbox']{
  display: inline-block;
  width: 2%;
  margin-left:1%;
  margin-right:1%;
}

.content_before .five_row input, .content_before .five_row select{
  display: inline-block;
  width: 21%;
  margin-left:1%;
  margin-right:1%;
}

.content_before .five_row input[type='checkbox']{
  display: inline-block;
  width: 2%;
  margin-left:1%;
  margin-right:1%;
}

.content_before > div > .del_icon {
  width: 2%;
  top: 10px;
}

.main_row {
  margin: 2%;
  height: 50px;
  max-height: 250px;
}

.stats_menue_entry {
  height: 150px;
  width: 80%;
}

.stats_menue_entry * {
}

#show_menue_stats {
  font-size: 25px;
}

.divide_menue {
  clear: both;
  width: 80%;
}

.row {
  width: 100%;
  clear: both;
}

.col {
  float:left;
  padding-right: 5px;
}

.col[style] {
  font-weight: normal !important;
  font-family: Montserrat-Light;
}

#cases_chart p[style] {
  margin-top: -20px!important;
}

#placements_chart p[style] {
  margin-top: -20px!important;
}

#placement_rate_chart p[style] {
  margin-top: -20px!important;
}

#admin_placements_chart p[style] {
  margin-top: -20px!important;
}

#client_chart p[style] {
  margin-top: -20px!important;
}

#avg_margin_chart p[style] {
  margin-top: -20px!important;
}

#placements_menue, #case_placed_menue, #placements2_menue {
  font-family: Montserrat-Light;
}

.kpi-category + hr {
  margin-left: 15px;
  border: none;
  border-top: 1px solid #a6a6a6;
  width: 110px!important;
}

#avg_budget_chart[style] {
  color:#58585a!important;
}


.legende {
  margin-top: 100px;
}

#legende_row4 {
  padding-left: 0px;
}

.distance {
  padding-left: 50px;
}

.chart_row {
  min-height: 250px;

}

.chart_row:last-child {
  min-height: 350px;
}

#total_bookings_chart, #bookings_flow_chart, #bookings_owner_chart {
  margin-left: 5px;
}

#bookings_monthly_chart .tooltip {visibility: hidden}
#bookings_monthly_chart circle:hover + .tooltip {
  visibility: visible;
}

input[name="marked_for_contract"] + label {
  color:#aaa;
}

input[name="marked_for_contract"]:checked + label {
  color:#000;
}

#legende_r2_c1, #legende1_r2, #legende2_r2 {
  color: rgb(211,211,211)
}
