body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: 130px 45px auto 10px;
}
div, span {
  box-sizing: border-box;
  display: block;
}
form {
  margin: 0;
}
a {
  text-transform: none;
  text-decoration: none;
}
header {
  background-color: white;
  position: fixed;
  top: 0;
  border-bottom: 50px solid rgb(0, 101, 162);
  left: 0;
  right: 0;
  height: 80px;
}

header .title {
    margin: 10px 10px 0 20px;
    position: relative;
}
header .title .logo {
  width: 120px;
  height: 80px;
  position: absolute;
  top: -20px;
  left: 0;
  font-size: 0;
  background-image: url(../images/ec-logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
header .title h1 {
  margin: 40px 0 0 130px;
  padding: 0;
  color: black;
}
header .title h2 {
  margin: 0 0 0 130px;
  padding: 4px 0 0 0;
  font-size: 1.2em;
  color: white;
  font-weight: normal;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background-color: #0065a2;
}
.green { color: green; }
.red { color: #ae6363; }
.select-selection.multiple .item .button.remove {
    position: relative;
    display: grid;
    border: none;
    
    color: #656565;
    vertical-align: middle;
    font-size: 1em;
    height: 16px;
    width: 16px;
    align-items: center;
    justify-content: center;
}
.select-selection.multiple .item .button.remove i:before {
  content: "\e917";
}
.select-selection.multiple .item > span {
    width: auto;
    font-size: 0.9em;
    padding: 0 10px;
    color: black;
}
.data-grid {
    margin: 20px 0;
    border: 3px solid #583d74;
    border-radius: 10px;
    background-color: white;
    display: grid;
    grid-template-rows: min-content auto;
    overflow: auto;
    padding: 0;
}
.data-grid .thead span {
    display: block;
    padding: 0 0 5px 6px;
}
.data-grid .thead .grid-cell input[type=text], .data-grid .thead .grid-cell select {
    width: 100%;
    border-radius: 12px;
    border: none;
    background-color: #846b9e;
    color: #ccc5d7;
    outline: none;
    padding: 4px 10px;
}

.data-grid .thead .grid-cell {
    border-bottom: none;
}
.data-grid .thead .grid-row {
      background: #583d74;
    color: #e2dee8;
}
.data-grid .tbody {
    height: auto;
}
.data-grid .grid-cell { 
    color: #583d74;
    border: none;
}
.data-grid .thead .grid-cell { 
    color: white;
}

.data-grid .grid-row {
    padding: 8px 0;
    grid-gap: 5px;
}

.data-grid .tbody .grid-row.hidden {
  opacity: 0.2;
  display: grid;
}

.main {
  position: fixed;
  top: 130px;
  left: 0;
  right: 0;
  bottom: 20px;
  display: grid;  
  grid-template: 
    'appMenu appMenu'
    'sectionMenu mainContent';
  grid-template-columns: 240px auto;
    grid-template-rows: min-content auto;
}
.app-menu {
    background-color: #583d74;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding-left: 60px;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.4);
    grid-area: appMenu;
}
.app-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    /* border-left: 1px solid white; */
    grid-auto-flow: column;
    grid-gap: 10px;
  
}
.app-menu li {
    display: inline-grid;
    justify-content: center;
    align-items:center;
    padding: 0;
    /* border-right: 1px solid white; */
    cursor: pointer;
    margin: 10px;
    border-radius: 26px;
}
.app-menu li a {
    text-transform: uppercase;
    text-decoration: none;
    color: #ccc;
    font-size: 1.2em;
    padding: 6px 10px;
    display: block;
}
.app-menu li.active {
    background-color: #ffffff;
}
.app-menu li.active a {
    color: #583d74;
    font-weight: bold;
}

.section-menu {
    overflow: visible;
    background: rgb(16,41,82);
background: linear-gradient(180deg, rgba(16,41,82,1) 0%, rgba(130,117,147,1) 100%);
    grid-area: sectionMenu;
}
.section-menu .title {
  display: block;
  height: 140px;
  text-align: center;
  color: #eee;
  font-size: 1.3em;
  line-height: 200%;
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
  position: relative;
  padding-top: 20px;
}
.section-menu .title i {
  display: block;
  text-align: center;
  font-size: 3em;
}
.section-menu ul {
  list-style: none;
  margin: 0;  
  padding: 0;
}
.section-menu li {
  display: block;
  background-color: #af9fca;
  padding: 0;
  border-bottom: 1px solid white;
}
.section-menu li a {
  display: block;
  position: relative;
  padding: 10px 0 10px 10px;
  color: #583d74;
  text-transform: uppercase;
}
.section-menu li a i {
  padding: 0 10px 0 0;
}
.section-menu li a.active {
    background-color: #583d74;
    color: white;
    font-weight: bold;
}
.section-menu li a.active:after {
    content: '';
    position: absolute;
    right: 0;
    top: 60%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-left-color: #583d74;
    border-right: 0;
    margin-top: -10%;
    margin-right: -20px;
}
.content {
    overflow: auto;
    padding: 20px 20px 20px 40px;
    grid-area: mainContent;
    display: grid;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgb(168 157 183) 100%);
}
.content h1 {
    color: rgba(16,41,82,1);
    font-size: 2.1em;
    margin: 5px 0;
    padding: 0px;
}
.field {
padding: 10px 0px;
    display: grid;
    grid-template-columns: 120px auto;
    align-items: start;
}
.field label {
    display: block;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 0.8em;
    padding: 10px 0 2px 0;
}
.field select,
.field input:not([type='checkbox']),
.field textarea {
      border: 1px solid black;
    border-radius: 6px;
    width: 100%;
    padding: 6px 10px;
    margin: 0px;
}
.field select {
  display: block;
  width: 100%;
}
.field input:not([type='checkbox']) {
  
}
.field textarea{
    resize: vertical;
    min-height: 120px;
}

.tabs {
    display: block;
    list-style: none;
    border-bottom: 3px solid #132b54;
    margin: 0;
    padding: 0;
}
.tabs li {
  display: inline-block;
  padding: 0;  
}
.tabs li a {
    color: #8586a1;
    text-transform: uppercase;
    font-size: 1.2em;
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
}
.tabs li a span {
  display: inline-block;
}
.tabs li a span:before {
  content: '(';
}
.tabs li a span:after {
  content: ')';
}
.tabs li a.tab-selected {
    font-weight: bold;
    color: #132b54;
    border-bottom: 4px solid #132b54;
}

.forms {
  display: none;
}