﻿/* General */
/*$app-mediumgrey: #48535C;
$app-darkgrey: #3E4851;*/
/*$app-mediumgrey: #48535C;
$app-darkgrey: #3E4851;*/
@import url("https://fonts.googleapis.com/css?family=Homenaje");
@import url("https://fonts.googleapis.com/css?family=Lato:300,400");
button, .button {
  background-color: #55A4D3;
  color: #F2F2F2;
  border: none;
  border-radius: 4px;
  padding: 0.4em 1.25em !important;
  height: auto !important;
  font-size: 1.5em;
  font-weight: 300 !important;
  font-family: 'Montserrat', sans-serif !important;
  -webkit-appearance: none;
  cursor: pointer;
  -webkit-filter: brightness(100%); }

button.small, .button.small {
  padding: 0.5em 0.75em !important;
  font-size: 1em; }
  button.small a, button.small a:active, button.small a:visited, .button.small a, .button.small a:active, .button.small a:visited {
    color: #F2F2F2;
    text-decoration: none; }

a.button, a.button:active, a.button:visited {
  color: #F2F2F2;
  text-decoration: none; }

button:enabled:hover, .button:enabled:hover {
  -webkit-filter: brightness(80%);
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease; }

button:disabled {
  background-color: #808080 !important;
  color: #F2F2F2 !important;
  cursor: default; }

button.secondary, .button.secondary {
  background-color: #EF283D;
  color: #F2F2F2; }

button.secondary:hover, .button.secondary:hover {
  -webkit-filter: brightness(100%);
  background-color: #cf2134; }

select.dropdown-select {
  background-color: #55A4D3;
  color: #F2F2F2;
  border: none;
  border-radius: 4px;
  height: auto !important;
  padding: 0.5em 0.75em !important;
  font-size: 1em;
  font-weight: 300 !important;
  font-family: 'Montserrat', sans-serif !important;
  cursor: pointer;
  -webkit-filter: brightness(100%); }

/*$app-mediumgrey: #48535C;
$app-darkgrey: #3E4851;*/
.modal {
  z-index: 10003; }

.screen-modal {
  z-index: 10003;
  background-color: rgba(255, 255, 255, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  padding-top: 96px; }

.screen-modal-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10004;
  width: 85%;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  padding: 2em;
  max-height: 85%;
  overflow-y: auto;
  background-color: #F2F2F2;
  border-radius: 5px; }
  @media all and (max-width: 490px) {
    .screen-modal-content {
      width: 85%; } }
  .screen-modal-content .edit-dialog {
    display: flex;
    flex-direction: column; }
    .screen-modal-content .edit-dialog div:first-of-type {
      flex: 0 0 1;
      flex-grow: 1;
      overflow-y: auto; }

.screen-modal-inner {
  flex: 1;
  flex-grow: 1;
  overflow-x: auto;
  position: relative;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: left; }
  .screen-modal-inner .close {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.25rem;
    color: #1C2B36;
    -webkit-filter: brightness(75%);
    cursor: pointer; }
  .screen-modal-inner .close:hover {
    -webkit-filter: brightness(100%);
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    transition: all 0.25s ease; }
  .screen-modal-inner .buttons-right {
    text-align: right;
    margin-top: 1em; }
    .screen-modal-inner .buttons-right p {
      display: inline-block;
      width: 15rem;
      text-align: left;
      margin-right: 1rem; }
      @media all and (max-width: 490px) {
        .screen-modal-inner .buttons-right p {
          display: block; } }
  .screen-modal-inner .button-line button {
    margin: 0.5em 0; }

.screen-modal-inner .header {
  font-size: 3em;
  color: #1C2B36; }

.screen-modal-actions {
  width: 100%;
  text-align: right;
  padding: 1rem 1rem 0 1rem;
  box-sizing: border-box; }

.cropArea {
  overflow: hidden;
  width: 65%;
  height: 350px;
  display: inline-block; }
  @media all and (max-width: 490px) {
    .cropArea {
      width: 90%; } }

.cropArea img {
  height: 100%;
  width: 100%;
  margin-top: 21px; }

/*$app-mediumgrey: #48535C;
$app-darkgrey: #3E4851;*/
#shell {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0; }
  #shell #topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 15rem;
    height: 3em;
    box-sizing: border-box;
    display: flex;
    z-index: 10000; }
    #shell #topbar .gap {
      flex-grow: 1;
      flex: 0 0 1; }
    #shell #topbar .icon-bar {
      margin-left: 1rem;
      margin-top: 0.75rem;
      display: inline-block;
      vertical-align: top; }
      #shell #topbar .icon-bar svg {
        fill: #1C2B36;
        margin-right: 1rem;
        height: 1.5rem;
        width: 1.5rem;
        cursor: pointer; }
    #shell #topbar .notifications {
      position: relative;
      vertical-align: top;
      margin-top: 0.5em;
      margin-right: 1.5em; }
      #shell #topbar .notifications svg {
        width: 1em;
        height: 1em;
        fill: #1C2B36;
        margin-top: 0.5rem;
        vertical-align: top; }
      #shell #topbar .notifications .count {
        position: absolute;
        top: -0.25rem;
        left: 0.5em;
        padding: 0.2rem 0.25em;
        height: 1em;
        border-radius: 1rem;
        background-color: #EF283D;
        color: #ffffff;
        line-height: 1em; }
    #shell #topbar .account-dropdown {
      display: inline-block;
      vertical-align: top;
      cursor: pointer;
      position: relative; }
      #shell #topbar .account-dropdown p {
        display: inline-block;
        margin: 0;
        line-height: 3em;
        margin-right: 2rem;
        font-weight: 600; }
      #shell #topbar .account-dropdown .dropdown {
        position: fixed;
        top: 3rem;
        right: 1rem;
        background-color: #F2F2F2;
        padding: 0;
        z-index: 10002;
        border: 1px solid rgba(100, 100, 100, 0.4);
        border-radius: 0 0 2px 2px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25); }
        #shell #topbar .account-dropdown .dropdown ul {
          padding: 0;
          list-style: none; }
          #shell #topbar .account-dropdown .dropdown ul li {
            padding: 0.5rem 1rem; }
            #shell #topbar .account-dropdown .dropdown ul li a {
              color: #000000;
              text-decoration: none; }
          #shell #topbar .account-dropdown .dropdown ul li:hover {
            background: #478AB4;
            color: #ffffff; }
            #shell #topbar .account-dropdown .dropdown ul li:hover a {
              color: #ffffff; }
    #shell #topbar .account-dropdown p::after {
      content: "";
      width: 0;
      height: 0;
      position: absolute;
      border-style: solid;
      border-width: 0.5rem 0.45rem 0 0.45rem;
      border-color: #1C2B36 transparent transparent transparent;
      top: 50%;
      transform: translateY(-50%);
      margin-left: 0.5em; }
  #shell #topbar.menu-shrunk {
    left: 3rem; }
  #shell #menubar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15rem;
    box-sizing: border-box;
    padding: 1rem;
    background-color: #1C2B36;
    color: #F2F2F2; }
    #shell #menubar .logo svg.logo {
      fill: #F2F2F2;
      height: 2.5rem; }
    #shell #menubar .logo h1 {
      display: inline-block;
      font-family: Homenaje, sans-serif;
      color: #F2F2F2;
      margin: 0;
      line-height: 2.5rem;
      vertical-align: top;
      margin-left: 0.5rem;
      font-size: 1.5rem; }
    #shell #menubar #nav {
      border-top: 1px solid #000000;
      margin: 1em -1em;
      padding: 0 1em; }
      #shell #menubar #nav h4 {
        font-size: 0.8rem;
        color: #83A9C4; }
      #shell #menubar #nav ul {
        list-style: none;
        padding: 0; }
        #shell #menubar #nav ul li {
          margin-bottom: 1rem;
          cursor: pointer; }
          #shell #menubar #nav ul li svg {
            max-width: 1rem;
            max-height: 1rem;
            fill: #F2F2F2; }
          #shell #menubar #nav ul li p {
            display: inline-block;
            margin: 0;
            line-height: 1rem;
            vertical-align: top;
            margin-left: 1rem;
            color: #83A9C4; }
          #shell #menubar #nav ul li ul {
            list-style: none;
            display: block;
            margin-left: 2.25rem; }
            #shell #menubar #nav ul li ul li {
              margin-bottom: 0.5rem; }
              #shell #menubar #nav ul li ul li a, #shell #menubar #nav ul li ul li a:visited, #shell #menubar #nav ul li ul li a:active {
                color: #ffffff;
                text-decoration: none; }
            #shell #menubar #nav ul li ul li.selected {
              font-weight: 600; }
        #shell #menubar #nav ul li.selected > div {
          margin-bottom: 1rem; }
          #shell #menubar #nav ul li.selected > div p {
            color: #ffffff;
            font-weight: 600; }
  #shell #menubar.menu-shrunk {
    width: 3rem; }
    #shell #menubar.menu-shrunk .logo svg.logo {
      width: 1.5rem;
      margin-top: -0.5rem;
      margin-left: -0.25rem; }
    #shell #menubar.menu-shrunk ul li ul {
      display: none !important; }
    #shell #menubar.menu-shrunk ul li.selected svg {
      fill: #55A4D3 !important; }
  #shell > .content {
    position: fixed;
    overflow-y: auto;
    top: 3em;
    right: 0;
    left: 15rem;
    bottom: 0;
    background-color: #F2F2F2; }
  #shell .content.menu-shrunk {
    left: 3rem; }
  #shell .content.no-shell {
    top: 0;
    left: 0; }

#errors {
  z-index: 10100;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  color: white; }
  #errors ul {
    list-style: none;
    margin: 0;
    padding: 0; }
    #errors ul li.error {
      background-color: #EF283D;
      border-bottom: 1px solid #cf2134; }
    #errors ul li.warning {
      background-color: #F87E62;
      border-bottom: 1px solid #ff6a00; }
    #errors ul li.info {
      background-color: #55A4D3;
      border-bottom: 1px solid #478AB4; }
    #errors ul li {
      position: relative;
      padding: 0.5rem 1rem; }
      #errors ul li p {
        margin: 0; }
      #errors ul li .dismiss {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer; }
    #errors ul li:last-of-type {
      border-bottom: none; }

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background-color: #ffffff;
  color: #1C2B36; }

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important; }

h1 {
  font-weight: 200; }

h2 {
  font-weight: 200;
  font-size: 1.4em; }

a, a:visited, a:active {
  color: #cf2134; }

@media all and (max-width: 450px) {
  .desktop-only {
    display: none !important; } }

@media all and (min-width: 451px) {
  .mobile-only {
    display: none !important; } }

@media all and (max-width: 450px) {
  .content {
    margin-top: 3rem; } }

@media print {
  .no-print, .no-print * {
    display: none !important; }
  .always-print.ng-hide {
    display: initial !important; }
  #shell {
    position: relative; }
  #shell > .content {
    top: 0;
    left: 0;
    position: relative; }
  .mainarea {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: 0 !important; }
  .item-list {
    display: none !important; } }

.chart-box {
  max-height: 100vh;
  max-width: 100%; }
  .chart-box canvas {
    max-width: 100% !important;
    max-height: 100% !important; }

global-search-bar .search-bar input {
  background-color: #fff !important; }

/*#nav {
    background-color: $app-secondary-light;
    margin-top: 1em;
    padding: 0.5em 1em;

    .brand {

        .title {
            display: inline-block;
            line-height: 1.5em;
            font-size: 1.2em;
            vertical-align: top;

            @media all and (min-width:451px) and (max-width:1315px) {
                font-size: 0.9em;
            }
        }

        .icon {
            display: inline-block;
            width: 1.5em;
            margin: 0 1.5em;
            vertical-align: top;

            @media all and (min-width:451px) and (max-width:1315px) {
                width: 1.5em;
                margin: 0 0.5em;
            }

            svg {
            }
        }
    }

    .nav {
        position: absolute;
        right: 1em;
        top: 1.5em;
        line-height: 1.5em;


        ul {
            margin: 0;
            padding: 0;
            list-style: none;

            li {
                display: inline-block;
                margin: 0 0.25em;
                font-size: 0.85em;

                @media all and (min-width:451px) and (max-width:1315px) {
                    font-size: 0.8em;
                }
            }
        }
    }
}*/
/*@media all and (max-width:450px) {
    #nav {
        position: fixed;
        background-color: $app-secondary-light;
        top: 0;
        left: 0;
        right: 0;
        margin-top: 0;
        padding: 0.5em 1em;
        z-index: 10001;

        .brand {

            .title {
                display: inline-block;
                line-height: 1.5em;
                font-size: 1.2em;
                vertical-align: top;
                margin-left: 0.5em;
            }

            .icon {
                display: inline-block;
                width: 1.5em;
                margin: 0;
                vertical-align: top;

                svg {
                }
            }
        }

        .nav {
            position: absolute;
            right: 1em;
            top: 0.5em;
            line-height: 1.5em;

            button {
                padding: 0 5px !important;

                svg {
                    fill: #ffffff;
                    width: 20px;
                    height: 20px;
                }
            }

            ul {
                display: none;
            }
        }

        .nav.menu-open {

            ul {
                display: block;
                position: fixed;
                right: 0;
                top: 3em;
                bottom: 0;
                width: 90%;
                margin: 0;
                padding: 0;
                list-style: none;
                z-index: 10001;
                background-color: $app-primary-light;

                a, a:visited, a:active {
                    color: #ffffff;
                }

                li {
                    display: block;
                    margin: 1em;
                    font-size: 0.85em;
                }
            }
        }
    }
}*/
.page-bar {
  background-color: #55A4D3;
  color: #ffffff;
  padding: 1em;
  margin-top: 4em;
  margin-bottom: 1em;
  position: relative; }
  .page-bar h1 {
    display: inline-block;
    font-weight: 200;
    margin: 0; }
    @media all and (max-width: 450px) {
      .page-bar h1 {
        font-size: 1.25em; } }

.fetching img {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%); }
