﻿/** Animations **/
/* slide in from the right */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/** App CSS **/
body {
    font-size: 62.5%;
    color: black;
    background-color: #eee;
    font-family: 'Open Sans', 'Segoe UI', Arial, Helvetica, sans-serif;
}

.centered > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#top {
    background-color: #999;
    color: white;
    padding: 10px 25px;
    z-index: 999;
}

#main {
    position: relative;
}

#content {
    padding: 25px 0;
    font-size: 1.3em;
    line-height: 1.3em;
    overflow: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

#nav {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: solid 1px #ddd;
    font-size: 1.2em;
    position: relative;
    z-index: 999;
}

#nav nav {
    position: relative;
}

#logo {
    height: 50px;
    width: auto;
    position: relative;
    top: 5px;
}

#welcome {
    float: right;
    font-size: 1.3em;
}

#nav nav {
    float: right;
    clear: right;
}

#nav nav > a > img {
    opacity: 0.5;
    width: 60px;
    height: auto;
}

#nav nav img.active {
    opacity: 0.8;
}

#workspace {
    position: relative;
}

#workspace > .container {
    position: absolute;
    left: 0;
    top: 0;
}

#mockSpHeader > div {
    background-image: url(/Images/Mock/mock_sp_left.png), url(/Images/Mock/mock_sp_right.png);
    background-repeat: no-repeat, no-repeat;
    background-position: -19px center, right center;
    height: 29px;
}
#mockSpHeader {
    background-color: #0072c6;
}

.container {
    padding-left: 0;
}

h1 { 
    font-size: 1.8em;
    font-weight: normal;
    margin-bottom: 0;
}

h1 .clientName {
    font-weight: bold;
}

h2 {
    color: black;
    margin-bottom: 1em;
    font-size: 1.8em;
}

h3 {
    font-weight: bold;
    margin-bottom: 1em;
    font-size: 1.4em
}

h4 {
    font-weight: bold;
    font-size: 1.0em;
    border-bottom: solid 1px #ddd;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    width: 100%;
}

#content p {
    line-height: 1.4em;
}

.login p {
    font-size: 1.2em;
}

#search {
    position: absolute;
    right: 0;
    top: 0;
    text-align: right;
    display: none;

    transition-property: all;
    transition-duration: 1s;
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

#search img {
    background-color: #fff;
    box-shadow: 3px 3px 5px -2px rgba(0,0,0,0.3);
}

#search input {
    font-size: 1.5em;
    padding: 15px 8px;
    min-height: 76px;
    width: 100%;
    min-width: 500px;
    border: none;
    box-shadow: 3px 3px 5px -2px rgba(0,0,0,0.3);
    position: absolute;
    right: 78px;
    top: 0;
}

/* The starting CSS styles for the enter animation */
#workspace.ng-enter {
    transform: translateX(-1200px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(1,.01,0,.99);
}

/* The finishing CSS styles for the enter animation */
#workspace.ng-enter-active {
    transform: translateX(0px);
    opacity: 1;
}

#workspace.ng-leave {
    transform: translateX(0);
    opacity: 1;
    transition: all 0.35s cubic-bezier(1,.01,0,.99);
}

#workspace.ng-leave-active {
    transform: translateX(1200px);
    opacity: 0;
}

/* Calendar */
.timeNav {
    cursor: pointer;
    width: 28px;
    height: auto;
    margin-top: -1px;
}

.month {
    background-color: white;
    margin-bottom: 1em;
}

.day {
    padding: 10px;
    margin: 0 5px 5px 0;
    background-color: white;
    height: 100px;
    box-shadow: 3px 3px 5px -2px rgba(0,0,0,0.3);
}

.header .day {
    height: auto;
    background-color: #0072c6;
    color: white;
}

.col:nth-child(6) .day, .col:nth-child(7) .day {
    background-color: #ddd;
}

.otherMonth .day {
    background-color: transparent;
}

.header:nth-child(6) .day, .header:nth-child(7) .day {
    background-color: #999;
}

.calendar .col {
    padding: 0;
}

.calendar .row {
    margin: 0;
}

.date {
    color: #777;
    text-align: right;
    border-bottom: solid 1px #bbb;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
}

.today .date {
    color: #0072c6;
    border-color: #0072c6;
}

.time {
    color: #0072c6;
}

.day a {
    cursor: pointer;
    display: block;
}

.day a:hover {
    text-decoration: underline;
}

.alertNr {
    background-color: #d04;
    color: white;
    display: inline-block;
    font-weight: bold;
    padding: 0 4px;
    border-radius: 2px;
}

.block {
    padding: 10px;
    background-color: white;
    box-shadow: 3px 3px 5px -2px rgba(0,0,0,0.3);
    margin-bottom: 0.5em;
    margin-left: 0;
    border-radius: 3px;
    padding: 20px;
}

.details {
    margin-bottom: 1em;
}

.row .label {
    font-weight: bold;
    padding-left: 0;
    margin-bottom: 0.5em;
}

.summary {
    width: 100%;
}

.summary .row {
    margin: 0.5em 0;
}

.appItemHeader {
    cursor: pointer;
}

.proceed {
    text-align: right;
    background-image: url(../Images/Icons/appbar.chevron.right.svg);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 32px;
    cursor: pointer;
    opacity: 0.8;
}

.expandable {
    display: none;
}

.expanded .expandable {
    display: block;
}

.appItemHeader .summary {
    margin-top: 1em;
    border-top: solid 1px #ddd;
    line-height: 1.4em;
}

.appItemHeader .label {
    padding-left: 0;
}

.docFrame {
    position: fixed;
    width: 94%;
    height: 94%;
    top: 3%;
    left: 3%;
    background-color: white;
    box-shadow: 0 0 12px 5px rgba(0,0,0,0.33);
    border-radius: 3px;
    z-index: 9999;
    border: 0;
}

.smoke {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: white;
    opacity: 0.75;
    z-index: 9998;
}

.file {
    margin-bottom: 0;
    border-bottom: solid 1px #ddd;
    padding-bottom: 0.5em;
}

.file a {
    cursor: pointer;
    display: block;
    width: 100%;
    padding: 10px 0 10px 40px;
    background-position: left center;
    background-size: 28px auto;
    background-repeat: no-repeat;
    min-height: 32px;
}

.file.pdf a {
    background-image: url(../Images/Icons/pdf.svg);
}

.ajax {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(240,240,240,0.76);
    background-image: url(../Images/loader.gif);
    background-position: center 40%;
    background-repeat: no-repeat;
    z-index: 999;
    display: none;
}

.meeting {
    cursor: pointer;
}

.meeting h3 {
    font-size: 1.3em;
    /*    margin-top: 1em;*/
}

.calday, .calmonth, .caltime {
    display: block;
    text-align: center;
    max-width: 100px;
    margin-bottom: 0.5em;
}

.calday {
    font-size: 2.5em;
    font-weight: bold;
}

.calmonth {
    font-size: 1.5em;
}

textarea {
    width: 100%;
    border: solid 1px #777;
    background: linear-gradient(to bottom right, #eee, #fff, #fff);
}

.item p {
    width: 100%;
}

#tabs {
    width: 100%;
    border-bottom: solid 1px #ddd;
    background-color: white;
    font-size: 1.3em;
}

#tabs div {
    float: left;
    border-right: solid 1px #ddd;
    margin: 3px 0 0 0;
    max-width: 150px;
    overflow: hidden;
    position: relative;
}

#tabs div:first-child {
    border-left: solid 1px #ddd;
}

#tabs div.active {
    border-bottom: solid 3px #0072c6;
}

#tabs div a.link {
    padding: 12px 40px 12px 15px;
    display: inline-block;
    white-space: nowrap;
}

#tabs div .close {
    background-color: white;
    padding: 10px 6px;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 0;
}

.pageAction {
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: right;
}
.pageAction img {
    position: relative;
    top: -18px;
    left: -12px;
    width: 60px;
    height: auto;
}

h2 .pageAction {
    position: relative;
    top: 16px;
}

.icon {
    min-height: 30px;
    background-repeat: no-repeat;
    opacity: 0.6;
    background-position: left top;
    background-size: 30px 30px;
}

.icon0 {
    background-image: url(../Images/Icons/types/court-hammer.svg);
}
.icon1 {
    background-image: url(../Images/Icons/types/appbar.message.svg);
}
.icon2 {
    background-image: url(../Images/Icons/types/appbar.clock.svg);
}
.icon3 {
    background-image: url(../Images/Icons/types/appbar.information.circle.svg);
}

/** RESPONSIVE **/
@media only screen and (max-width: 1199px) {
    .centered {
        padding-left: 15px;
    }

    #nav {
        padding-right: 15px;
    }
}
    
/** THEMING **/
#top {
    background-color: #66bfff;
    background-color: #333;
    background: linear-gradient(to right, #333, #0072c6);
}
.details {
    background: linear-gradient(to bottom right, #333, #0072c6, #0072c6);
    color: white;
}
.day.hasMeetings {
    background: linear-gradient(to bottom right, #ccc, #fff, #fff);
}
.expanded {
    background: linear-gradient(to bottom right, #fff, #fff, #eee);
}