
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600');
@import url('https://fonts.googleapis.com/css?family=Arimo:400');

body {
    font-family: "Source Sans Pro", arial, sans-serif;
    font-size: 13px;
    margin: 0;
    padding: 0;
    border: 0;
}

table {
    border: 0;
    padding: 0;
    border-spacing: 0;
    border-collapse: collapse;
}

div.top-menu {
    position: fixed;
    top: 0;
    height: 26px;
    background-color: #3465A4;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    z-index: 10;
}

div.menu-button {
    display: inline-block;
    font-size: 13px;
    line-height: 25px;
    height: 26px;
    color: #FFFFFF;
    padding-left: 6px;
    padding-right: 8px;
    cursor: pointer;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
}

div.menu-button img {
    position: absolute;
    cursor: pointer;
    padding-top: 4px;
}

div.sub-menu {
    position: fixed;
    top: 26px;
    height: 26px;
    background-color: #2D588F;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    z-index: 11;
}

div.menu-button.hidden {
    display: none;
}

div.menu-button.selected {
    Background-color: #507FBA;
}

div.menu-button:hover {
    background-color: #528ED9;
}

div.menu-button:active {
    background-color: #507FBA;
}

div.coding {
    margin-top: 30px;
    max-width: 500px;
    margin-left: 8px;
}

span.fold-closed:before {
    font-family: sans-serif;
    content: '▸';
    font-size: 16px;
    float: right;
    cursor: pointer;
}

span.fold-open:before {
    font-family: sans-serif;
    content: '▾';
    font-size: 16px;
    float: right;
    cursor: pointer;
}

span.fold-open:hover {
    text-shadow: 0 0 5px #FF0000;
}

span.fold-closed:hover {
    text-shadow: 0 0 5px #FF0000;
}

h1 {
    font-weight: bold;
}

div:first-child h1.group-level-0 {
    border: 0;
    padding-top: 0;
    margin-top: 0;
}

h1.group-level-0 {
    font-size: 20px;
    border-top: 2px solid black;
    padding-top: 0px;
    margin-top: 5px;
    margin-bottom: 2px;
    color: #295082;
}

h1.fold-closed {
    color: gray;
}

h1.group-level-1:first-child {
    margin-top: 2px;
}

h1.group-level-1 {
    font-size: 17px;
    margin-top: 3px;
    margin-bottom: 0;
}

h1.group-level-2 {
    font-size: 13px;
    margin-top: 0;
    margin-bottom: 0;
}

h1.group-level-3 {
    font-size: 13px;
}

div.fold-closed {
    display: none;
}

div.element {
    font-size: 11px;
    margin-top: 3px;
}

div.element-error {
    color: red !important;
}

/* Input elements. */

input[type="text"], input[type="password"], select {
    font-family: "Source Sans Pro", arial, sans-serif;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    border: 1px solid #A0A0A0;
    background-color: #E0E0E0;
    width: 100%;
    margin: 0;
    margin-top: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 2px;
    padding-left: 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

input[type="text"]:focus, input[type="password"]:focus {
    background-color: #FCF4B3;                          
}

input[type="text"]:disabled {
    color: gray;
    background-color: white;
}

textarea {
    font-family: "Source Sans Pro", arial, sans-serif;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    resize: none;
    border: 1px solid #A0A0A0;
    background-color: #E0E0E0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 2px;
    padding-left: 2px;
}

textarea:focus {
    background-color: #FCF4B3;
}

span.element-name {
    font-weight: bold;
    cursor: help;
}

input.simple-button, button.simple-button {
    font-family: "Source Sans Pro", arial, sans-serif;
    line-height: 17px;
    padding: 3px 9px;
    padding-top: 2px;
    margin-top: 3px;
    border: none;
    background-color: #3465A4;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2),
                0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
}

input.small-button, button.small-button {
    font-size: 11px;
    line-height: 14px;
    padding: 3px 3px;
}

button.small-button {
    height: 20px;
}

input.simple-button:hover, button.simple-button:hover {
    background-color: #528ED9;
}

input.simple-button:focus, button.simple-button:focus {
    outline: 0;
    background-color: #528ED9;
}

input.simple-button:active, button.simple-button:active {
    background-color: #507FBA;
    box-shadow: none;
}

input.simple-button:disabled, button.simple-button:disabled {
    background-color: gray !important;
}

input.simple-button::-moz-focus-inner, button.simple-button::-moz-focus-inner {
  border: 0; 
}

input.save-changed {
    background-color: #710500;
}

button.save-changed {
    background-color: #710500;
}

h2 {
    font-size: 14px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    margin-top: 2px;
    margin-bottom: 2px;
}

a.action {
    font-size: 11px;
    font-weight: normal;
}

table.buttons {
    width: 100%;
    border: 0;
    padding: 0;
    border-spacing: 0;
    border-collapse: collapse;
}

table.buttons td {
    border: 0;
    padding: 0;
    margin: 0;
}

table.header {
    font-size: 13px;
    font-size: 11px;
    width: 100%;
    border: 0;
    padding: 0;
    border-spacing: 0;
    border-collapse: collapse;
    border-bottom: 1px solid black;
    margin-bottom: 4px;
}

table.header td {
    width: 33%;
}

div.element-title {
}

div.element-qtip .title {
    font-weight: bold;
    margin-bottom: 4px;
}

div.element-qtip {
}

div.element-qtip .comment p {
    margin: 0;
    padding: 0;
    margin-bottom: 4px;
}

div.element-qtip .values {
    margin-top: 0px;
    max-height: 300px;
    overflow-y: auto;
}

div.element-qtip .values p {
    margin: 0;
    padding: 0;
}

div.element-qtip table {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-spacing: 0;
    border-collapse: collapse;
}

div.element-qtip table td {
    vertical-align: baseline;
}

div.element-qtip table td:first-child {
    font-weight: bold;
    text-align: left;
    padding-right: 3px;
}

div.qtip {
    max-width: 350px;
    width: 300px;
}

div.changed {
    display: none;
    font-size: 11px;
    color: red;    
}

div.select {
    margin: 0;
    padding: 0;
    margin-top: 28px;
    width: 100%;
    text-align: center;
}

.select h1 {
    padding-top: 16px;
    font-size: 20px;
}

.select h2 {
    font-size: 16px;
    text-transform: uppercase;
}

table.job-select {
    padding-left: 10px;
}
table.job-select td {
    text-align: left;
    padding-left: 0;
}

input[type="radio"] {
    display: none;
}

input[type="radio"] + label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 22px;
    margin-right: 15px;
    font-size: 13px;
}

input[type="radio"] + label:before {
    content: "";
    display: inline-block;   
    width: 12px;
    height: 12px;
    border-radius: 6px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    bottom: 3px;
    background-color: #BFD6F5;
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3),
                0px 1px 0px 0px rgba(255, 255, 255, .8);
}

input[type="radio"]:checked + label:before {
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3),
                0px 1px 0px 0px rgba(255, 255, 255, .8);
    background-color: #3465A4;
    font-size: 30px;
    text-align: center;
    line-height: 8px;
}

input[type="radio"]:hover + label:before {
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3),
                0px 1px 0px 0px rgba(255, 255, 255, .8);
    background-color: #528ED9;
    font-size: 30px;
    text-align: center;
    line-height: 8px;
}

div.coding-view {
    position: fixed;
    overflow-y: auto;
    top: 128px;
    bottom: 0;
    width: 500px;    
    padding-right: 4px;
    padding-left: 4px;
    margin-bottom: 10px;
    border: 1px solid #A0A0A0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

div.article-view {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 32px;
    bottom: 0;
    left: 500px;
    right: 0;
    margin-left: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding-bottom: 1px;
    border: 0;
}

div.article-info {
    flex-grow: 0;
}

div.article-info-content {
    margin-bottom: 5px;
    padding-bottom: 3px;
    padding-top: 3px;
    border-bottom: 1px solid black;
    border-top: 1px solid black;    
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;    
    webkit-column-gap: 15px;
    -moz-column-gap: 15px;
    column-gap: 15px;
     -webkit-column-rule: 1px solid #aaa;
    -moz-column-rule: 1px solid #aaa;
    column-rule: 1px solid #aaa;
}

div.article-info-content p {
    margin: 0;
    padding: 0;
    text-indent: -1em;
    margin-left: 1em;
}

div.article-frame {
    display: flex;
    flex-direction: column;
    flex-grow: 200;
}

iframe {
    flex-grow: 200;
    width: 100%;
    height: 100%;
    border: 1px solid #A0A0A0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

div.small-buttons {
    height: 18px;
    background-color: #3465A4;
    margin: 0;
    padding: 0;
    border: 0;
}

div.small-button {
    display: inline-block;
    font-size: 11px;
    line-height: 17px;
    height: 18px;
    color: #FFFFFF;
    padding: 0;
    margin: 0;
    border: 0;
    padding-left: 6px;
    padding-right: 8px;
    cursor: pointer;
    vertical-align:top;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

div.small-button.selected {
    background-color: #507FBA;
}

div.small-button:hover {
    background-color: #528ED9;
}

div.small-button:active {
    background-color: #507FBA;
}

a.small-button {
    font-size: 11px;
}

div.error {
    font-weight: bold;
    color: red;
    display: none;
}

.switches {
    font-size: 13px;
}

label.check {
    vertical-align: bottom;
}

div.check {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #3465A4;
    position: relative;
    border-radius: 2px;
    vertical-align: -2px;
    background: #BCCCE0;
    background: linear-gradient(to bottom,#fcfff4 0%,#dfe5d7 40%,#b3bead 100%);
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
}

div.check input[type=checkbox] {
    margin: 0;
    padding: 0;
    vertical-align: bottom;    
    visibility: hidden;
}

div.check input[type=checkbox]:checked + label {
    background: #3465A4;
    width: 8px;
    height: 8px;
}

div.check input[type=checkbox] + label {
    display: block;
    width: 8px;
    height: 8px;
    cursor: pointer;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.2s ease;
}

div#side-panel {
    position: fixed;
    top: 26px;
    width: 150px;
    left: -150px;
    bottom: 0;
    background-color: #3465A4;
    opacity: 0.9;
    z-index: 10;
}
