@import 'https://fonts.googleapis.com/css?family=Droid+Sans|Lato:300,400,700';

* {
  -webkit-user-select: none;
  cursor: default;
}

body {
    font-family: 'Droid Sans', sans-serif;
}

body > div {
    display: none;
}

body.disablescrolling{
    overflow: hidden;
}

#topBar {
    width: 100%;
    height: 54px;
    background: #5DBCD8;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
}

#topBar img.header-logo {
    height: 28px;
    margin-top: 13px;
    padding-left: 40px;
}

#topBar .right-buttons {
    display: inline-block;
    opacity: 0;
    position: absolute;
    right: 20px;
    margin-top: 13px;
}
#topBar .right-buttons:focus {
    outline: 0;
}

#topBar .right-buttons button#warning-icon {
    display: none;
    padding: 0;
    vertical-align: sub;
    margin-right: 10px;
    background: #ffa500;
    border-radius: 14px;
    width: 28px;
    height: 28px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    outline: 0;
    border: 2px solid transparent;
}
#topBar .right-buttons button#warning-icon:hover {
    border: 2px solid rgb(255, 210, 129);
}
#topBar .right-buttons button#warning-icon.active, #topBar .right-buttons button#warning-icon:active {
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.4) inset;
    border: 2px solid #62bbd6!important;
}
#topBar .right-buttons button#warning-icon img {
    width: 100%;
    cursor: pointer;
}

#topBar .right-buttons button#sign-out {
    color: white;
    border: none;
    background: none;
    font-size: 22px;
    font-family: 'Droid Sans', sans-serif;
    cursor: pointer;
}

#topBar .right-buttons button#sign-out:focus, #topBar .right-buttons button#sign-out:hover {
    outline: 0;
    /* color: #c4f2ff; */
    text-shadow: 0px 0px 2px #c4f2ff;
}

#topBar .right-buttons button#sign-out:active {
    text-shadow: none;
}

#header {           
    width: 100%;
    width: calc(100% - 100px);
    top: 24px;
    height: 90px;
    position: fixed;
    padding: 20px 50px;
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    background: white;
    z-index: 3;
}

#header .menu table tr:hover {
    color: white;
    font-weight: normal;
    background: #5DBCD8;
}
#header .menu table td:hover {
    cursor: pointer;
}

#header .right-aside {
    display: inline-block;
    border-radius: 10px;
    height: 28px;
    padding: 10px 25px;
    padding-top: 50px;
    float: right;
    font-size: 20px;
}
#header .right-aside .menu {
    display: block;
    position: absolute;
    top: 63px;
    right: 75px;
    height: 36px;
    width: 36px;
    border-radius: 10px;
    transition: box-shadow 0.2s;
    overflow: hidden;
}
#header .right-aside .menu:not(.open):hover {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    /*box-shadow: 0px 0px 25px rgba(0,0,0,0.15);*/
    cursor: pointer;
}
#header .right-aside .menu.open {
    box-shadow: 0px 0px 25px rgba(0,0,0,0.15);
}
#header .right-aside .menu img {
    width: 26px;
    height: 26px;
    float: right;
    padding-top: 5px;
    padding-right: 5px;
}
#header .right-aside .menu table {
    font-weight: lighter;
    margin-bottom: 10px;
    min-width: 230px;
    margin-top: 36px;
    border-collapse: collapse;
}
#header .right-aside .menu table td {
    padding: 5px 17px;
}
#header .right-aside span {
    margin-right: 100px;
}
#header .right-aside span:first-of-type {
    margin-right: 50px;
}

.menu {
    background: white;
    display: inline-block;
    overflow: hidden;
    z-index: 99;
}
.menu.open {
    overflow: scroll;
}
.menu img:hover {
    cursor: pointer;
}
.menu table {
    white-space: nowrap;
    width: 100%;
}

#header .left {
    width: 350px;
    border-radius: 10px;
    height: 60px;
    margin-top: 30px;
    transition: box-shadow 0.2s;
    cursor: pointer;
}
#header .left:not(.open):hover {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}
#header .left.open {
    box-shadow: 0px 0px 25px rgba(0,0,0,0.15);
    /*height: 200px;*/
}

#header .left .title {
    display: inline-block;
    padding-right: 15px;
    cursor: pointer;
    padding-top: 10px;
    padding-left: 25px;
}

#header .left .caret {
    width: 15px;
    top: 75px;
    position: absolute;
}

#header .left table {
    margin-top: 15px;
    margin-bottom: 12px;
    border-collapse: collapse;
}
#header .left table td {
    padding: 4px 0px 4px 24px;
}

.centered {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
}

.inline-block {
    display: inline-block;
}

.modal {
    min-height: 100px;
    background: white;
    max-width: 615px;
    width: 80%;
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.15);
}

.fullscreen {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.slide {
    margin: -15px auto 0px auto;
    min-height: 0;
    padding: 15px 30px;
    margin-top: -15px!important;
}

.separator {
    background: white;
    height: 4px;
    box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.25);
}

#form {
    background: rgba(0, 0, 0, 0.3);
}

#login {
    background: rgba(0, 0, 0, 0.3);
}

#login .modal {
    min-height: 340px;
}

.modal .header {
    text-align: center;
    padding-top: 38px;
    font-size: 36px;
}

.droid-sans {
    font-family: 'Droid Sans', sans-serif;
}

.lato {
    font-family: 'Lato', sans-serif;
}

.modal .body {
    text-align: center;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
}

.modal .body .flex {
    display: inline-block;
    width: auto;
    margin-top: 25px;
    font-size: 22px;
    height: 28px;
    font-weight: lighter;
    float: left;
    margin-bottom: 10px;
    text-align: left;
}
.modal .body .flex.open {
    position: inherit;
    margin-bottom: 6px;
    margin-top: 15px;
    padding-bottom: 8px;
}
.modal .body .flex img.caret {
    margin-top: 11px;
}
.modal .body .flex .extension table {
    margin-left: -2px;
    margin-top: 3px;
}
.modal .body .flex .extension td {
    font-weight: lighter;
    font-size: 22px;
}

.body .field {
    font-size: 22px;
    height: 46px;
    border-radius: 7px;
    border: 1px solid #E7E7E7;
    background: none;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.15) inset;
    padding: 2px 15px;
    width: 100%;
}
.modal .body .field {
    margin-top: 14px;
}
.modal .body .first.field {
    margin-top: 38px;
}
.modal .body .field.small {
    width: 80px;
    margin-left: 15px;
}
.modal .body .label {
    font-size: 22px;
    font-weight: lighter;
}

.modal .body .caption {
    text-align: left;
    padding-left: 16px;
    padding-top: 8px;
    font-size: 18px;
}
.modal .body a{
    color: #5DBCD8;
    text-decoration: none;
}

.body .submit {
    margin-top: 34px;
    width: 100%;
    font-size: 25px;
    color: #5DBCD9;
    background: none;
    border: 4px solid #5DBCD8;
    border-radius: 7px;
    height: 48px;
    margin-bottom: 45px;
    cursor: pointer;
}

.modal input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #727272;
}
.modal input::-moz-placeholder { /* Firefox 19+ */
  color: #727272;
}
.modal input:-ms-input-placeholder { /* IE 10+ */
  color: #727272;
}
.modal input:-moz-placeholder { /* Firefox 18- */
  color: #727272;
}
.modal input:focus {
    outline: 0;
}
.modal input.field:focus {
    border: 1px solid #5DBCD9!important;
}
.modal .body .submit:hover {
    background: rgba(93, 188, 216, 0.12)!important;
    /*border: 4px solid rgba(93, 188, 216, 0.77)!important;*/
}
.modal .body .submit:active {
    background: #5dbcd8!important;
    color: white!important;
}
#table {
    margin-top: 140px;
    font-family: 'Lato', sans-serif;
    width: 99%;
}

#table>table {
    padding: 20px 70px;
    width: 100%;
}

#table th {
    font-weight: normal;
    font-size: 16px;
    text-align: left;
    padding-bottom: 20px;
}

#table td {
    font-weight: lighter;
    padding-bottom: 9px;
}

#table span.readonly {
    -webkit-user-select: text;
    cursor: pointer;
}

#table span.editable {
    cursor: text;
}
#table span.editable:focus {
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-radius: 5px;
    background: white;
    padding: 4px;
    outline: none;
    margin-left: -5px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2) inset;
    color: rgba(0, 0, 0, 0.85);
}

.flex {
    width: calc(100% - 30px);
    display: inline-block;
    height: 19px;
    overflow: hidden;
    cursor: pointer;
}

.flex span {
    cursor: pointer;
}

.flex.organization:not(.open):hover{
    transition: background 0.2s ease-in-out;
    background: rgba(93, 188, 217, 0.05);
    border-radius: 10px;
}

.flex > span:first-of-type {
    display: inline-block;
    min-width: 20px;
}

.flex > img {
    margin-left: 10px;
    cursor: pointer;
}

.flex > .extension {
    display: block;
}

.flex.open, #table td.flex.open {
    z-index: 1;
    background: white;
    border-radius: 20px;
    height: 100px;
    position: absolute;
    width: 208px;
    padding: 10px;
    margin-left: -19px;
    margin-top: -9px;
    box-shadow: 0px 0px 25px rgba(0,0,0,0.15);
    padding-left: 20px;
    padding-bottom: 4px;
}

#table td.flex {
    transition: box-shadow 1s;
}
#table td.flex[data-open='yes'] {
    transition: box-shadow 0s;
}
#table td.flex[data-open='no'] {
    box-shadow: none;
}

#table td.flex.accounts[data-open='yes'] {
    box-shadow: 0px 0px 25px rgba(0,0,0,0.15), 0px -2px 1px rgba(0, 0, 0, 0.2) inset;
}

.flex img {
    width: 15px;
    margin-top: 7px;
}

.flex img.caret {
    float: right;
}

.flex.accounts img.caret {
    float: none;
    margin-left: 5px;
}

#table .success {
    color: #6FCF97;
    font-weight: normal;
}

#table .danger {
    color: #F24E4E;
    font-weight: normal;
}

#table .placeholder {
    color: #929292;
}

#table .ghost {
    color: #eae9e9;
}

#table .link:hover {
    text-decoration: underline;
    cursor: pointer;
}

#table>table table.picker {
    border-collapse: collapse;
    margin-top: 5px;
    width: 100%;
}

.flex {
    max-height: 280px;
}

.flex.open {
    overflow-y: scroll;
}

#table>table table.picker td {
    padding-bottom: 5px;
}

table.picker td {
    cursor: pointer;
}

table.picker td:hover {
    font-weight: normal!important;
    color: #5DBCD8;
}

#spinner {
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    display: block;
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#spinner > div {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.4);
    background: rgba(207,244,255,0.5);
}

#spinner > div:after {
    width: 100%;
    height: 100%;
    position: absolute;
    content: '';
    background: url(img/spinner.png) transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px;
    -webkit-animation: rotating 1.5s linear infinite;
    -moz-animation: rotating 1.5s linear infinite;
    -ms-animation: rotating 1.5s linear infinite;
    -o-animation: rotating 1.5s linear infinite;
    animation: rotating 1.5s linear infinite;
}

#headerShadow {
    width: 100%;
    position: fixed;
    top: 150px;
    left: 0px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

#headerShadow.on {
    opacity: 1;
}

#notifications {
    background: rgba(0, 0, 0, 0.3);
    overflow: scroll;
}

#notifications .slide {
    display: none;
}

#notifications .separator {
    margin-left: -30px;
    width: calc(100% + 60px);
}

#notifications table th {
    text-align: left;
    font-weight: normal;
    padding: 0px 10px;
    vertical-align: bottom;
}

#notifications table tbody td {
    font-weight: lighter;
    padding: 5px 10px;
    word-wrap: break-word;
    word-break: break-all;
}