@import url('https://fonts.googleapis.com/css?family=Lato:400,600,700');

/* Footer styling */
html,
body {
    margin:0;
    padding:0;
    height:100%;
}

html,
button,
input,
select,
textarea,
label,
p,
.pure-menu-item,
.pure-g [class *= "pure-u"] {
    font-family: 'Lato', sans-serif !important;
    font-weight: 400;
}


div#wrapper {
    min-height:100%;
    position:relative;
}

main {
    padding-bottom: 60px;
}

footer {
    background-color: #f5f5f5;
    width:100%;
    position:absolute;
    bottom:0;
    left:0;
    line-height: 30px;
    vertical-align: middle;
    text-align: center;
    font-size: small;
}

.dev-preview {
    display: none;
}

#changelog ul li {
    padding-bottom: 5px;
}

a {
    color: #3b67a7;
    text-decoration: none;
}

a .pure-button {
    color: white;
}

a:hover {
    text-decoration: underline;
}

footer a, .container.static a {
    color: #3b67a7;
    text-decoration: none;
}

footer a:hover, .container.static a:hover {
    text-decoration: underline;
}

header, footer {
    text-transform: uppercase;
}

.container.static {
    color: #362b36;
}

.container.static img {
    max-width: 100%;
}
/**  container for shares and book extra */
.public-content {
    margin-top: 2em;
}

.public-cover-preview {
    padding:0em 2em 2em 2em; box-sizing: border-box; margin: 0 auto;
}

/* End footer styling */
/* pure responsive hamburger menu */
.custom-wrapper {
    background-color: #123C7A;
    /*margin-bottom: 1em;*/
    height: 48px;
    overflow: hidden;
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    -ms-transition: height 0.5s;
    transition: height 0.5s;
}
.menu-container {
    height: 48px;
}

.custom-wrapper.open {
    height: 227px;
}

.custom-account-menu, .custom-login-menu {
    text-align: right;
}

.custom-flexlex-menu {
    text-align: left;
}

.custom-toggle {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 62px;
    right: 10px;
    display: none;
}

.custom-toggle .bar {
    background-color: #ffffff;
    display: block;
    width: 26px;
    height: 4px;
    border-radius: 100px;
    position: absolute;
    top: 24px;
    right: 7px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.custom-toggle .bar:first-child {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
}

.custom-toggle.x .bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.custom-brand {
    float: left;
    margin-right: 1em;
    margin-top: 0.5em !important;
}

.custom-can-transform {
    float: left;
}

.open .custom-can-transform {
    width: 100%;
}

.custom-toggle.x .bar:first-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

@media (max-width: 64em) {
    .custom-wrapper {
        height: 48px;
    }
    .custom-wrapper-fixed {
        height: 48px;
    }
}

@media (max-width: 48em) {
    .custom-wrapper {
        height: 48px;
    }
    .custom-account-menu {
        text-align: left;
    }
    .custom-toggle {
        display: block;
    }
    .custom-can-transform .pure-menu-list {
        display: none;
    }
    .open .custom-brand {
        width: 100%;
    }

    .open .custom-can-transform .pure-menu-list {
        display: block;
        width: 100%;
        float:left;
        height: initial;
    }
    .open .pure-menu-item a {
        height: initial;
    }
    .open .pure-menu .pure-menu-link {
        height: initial;
        padding: 0.5em 1em;
    }
}

/* end pure response hamburger */
header.page-header .pure-menu {
    background: #123C7A;
    color: #eee;
    height: 100%;
}

.pure-skin-theme .pure-menu li a:hover {
    background-color: #3b67a7;
}

.pure-menu .pure-menu-list {
    height: 100%;
}

.pure-menu .pure-menu-item a {
    color: #fff;
    cursor: pointer;
    height: 100%;
}
.pure-menu .pure-menu-link {
    padding: 0.75em 1em 0em 1em;
}

    /* SELECTED MENU ITEM */
.pure-skin-theme .pure-menu li.pure-menu-selected a {
    background-color: #3b67a7;
    color: #fbfcfe;
}
/* FIXED MENU */
.pure-skin-theme .pure-menu-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.pure-menu-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.pure-menu-heading {
    padding-top: 4px;
    padding-right: 0px;
}

.logo {
    height: 28px;
    min-width: 80px;
    /*margin-top: 0.5em;
    margin-left: 0.3em;
    margin-bottom: 0.25em;*/
}

.wko-logo {
    height: 78px;
}

header a {
    text-decoration: none;
}

.max-cal {
    max-width: 5em;
    height: 1.1em;
    border-radius: 3px;
    margin-left: 0.2em;
    font-size: 90%;
}

.username-placeholder {
    width: 100px;
    display: inline-block;
}

.container {
    margin: 0 0.6em;
}

@media screen and (min-width: 50em) {
    .container {
        max-width: 50em;
        margin: 0 auto;
    }
}

@media screen and (min-width: 14em) {
    .login-container {
        max-width: 18em;
        margin: 0 auto;
    }
    .user-container, .settings-container {
        max-width: 28em;
        margin: 0 auto;
    }
}

.pure-skin-theme .pure-form.search-form,
.pure-skin-theme .pure-form.login-form {
    margin-top: 0.3em;
}

.pure-skin-theme .pure-form.login-form input {
    margin-bottom: 0.17em;
}

.pure-skin-theme .pure-form.search-form .search-button {
    vertical-align: middle;
    font-size: 85%;
}

.pure-skin-theme .pure-form button.search-button[type="submit"] {
    margin-top: 1em;
}

@media screen and (min-width: 35.5em) {
    .pure-skin-theme .pure-form .from-to-time {
        margin-top: 0.7em;
    }
}

.table-buttons {
    margin-bottom: 0.4em;
}

.pure-skin-theme .table-buttons button {
    font-size: 85%;
}


.login-link {
    float: left;
    display: inline-block;
    margin-top: 0.5em;
    font-size: 80%;
}

.login-links-right {
    text-align: right;
    margin-top: 0.5em;
    font-size: 80%;
}

.error-messages {
    color: #e9322d;
    font-size: 0.75em;
}

.form-field {
    height: 3.35em;
}

.last-form-field {
    height: 2.6em;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.utilities {
    margin-left: 1em;
    margin-bottom: 1em;
}

.font-small {
    font-size: small !important;
}

@media screen and (min-width: 64em) {
    .utilities {
        text-align: right;
        margin-left: auto;
        margin-bottom: auto;
    }
}

.main-controls {
    margin-left: 1em;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

.pure-skin-theme .main-controls button {
    margin-right: 0.5em;
}

.form-separator {
    margin-top: 1em;
    border-top: 1px solid #ededed;
    clear: both;
}

.pure-skin-theme .pure-form.search-form input {
    max-width: 153px;
    max-height: 29px;
    font-size: 90%;
}

.search-type-selector label{
    white-space: nowrap;
}

.search-fieldset-eu label {
    font-size:12pt;
    font-family: 'Lato', sans-serif;
    text-align: right;
    vertical-align: baseline;
}

.pure-skin-theme .pure-paginator.paginator {
    text-align: center;
    margin-top: 1em;
}

.pure-skin-theme .pure-paginator.paginator .pure-button {
    font-size: 88%;
    padding: 0.4em 0.95em;
}



.pure-skin-theme .pure-button {
    margin-top: 0.5em !important;
    margin-bottom: 0.5em !important;
}

.pure-skin-theme .form-button {
    padding: 0.5em 0em 0.5em 0em;
}

.pure-skin-theme .pure-button.no-bottom-margin {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

.no-margin-top {
    margin-top: 0 !important;
}


.rangeRow {
    margin-bottom: 0.3em;
}

.form-messages {
    margin-top: 1em;
    font-size: 0.9em;
    border-radius: 4px;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
    padding-left: 1em;
}

.form-messages.errors {
    color: #e9322d;
    background-color: #fbe8e5;
}


.messages-group {
    display: inline-block;
    vertical-align: top;
    padding-top: 0.3em;
}

.error-icon, .info-icon {
    margin-left: 0.8em;
    display: inline-block;
    height: 25px;
}

.not-ready {
    opacity: 0.5;
}

.pure-skin-theme .app-ready {
    opacity: 1;
}

.welcome-list {

}

.welcome-img-item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.welcome-img {
    margin: 5px;
    margin-top: 10px;
}
.welcome-item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-footer-welcome {
    padding: 10px;
    border-top: 1px solid #e5e5e5;
}


.info-icon {
    margin-top: 0.1em;
    margin-left: 1.2em;
}


.centered-loading {
    position: fixed;
    top: 50%;
    left: 50%;
    box-shadow: 3px 3px 5px rgba(147, 147, 147, 0.49);
    transform:translate(-50%,-50%);
    z-index: 1000;
}

.ui-notification {
    width: 600px !important;
    max-width: 90% !important;
}

.message-group {
    margin: 15px ;
    padding: 5px;
}

.error-message-group {
    background-color: #fce4e4;
    border: 1px solid rgb(202, 60, 60);
}
.info-message-group {
    background-color: #CCECFF;
    border: 1px solid #00205b;
}

.warn-message-group {
    background-color: #FFCB7A;
    border: 1px solid rgb(223, 117, 20);
}

.button-xsmall {
    font-size: 70% !important;
}

.button-small {
    font-size: 85% !important;
}

.button-large {
    font-size: 110% !important;
}

.button-xlarge {
    font-size: 125% !important;
}

.button-success,
.button-error,
.button-warning,
.button-secondary {
    color: white;
    border-radius: 4px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.button-success {
    background: rgb(28, 184, 65) !important; /* this is a green */
}

.button-error {
    background: rgb(202, 60, 60) !important; /* this is a maroon */
    color: #fff !important;
}

.button-warning {
    background: rgb(223, 117, 20) !important; /* this is an orange */
}

.button-secondary {
    background: rgb(66, 184, 221) !important; /* this is a light blue */
}

.button-long-text {
    white-space: normal !important;
}

.button-pagination {
    padding: 0.5em !important;
    margin-right: 2px !important;
}

#bookNotificationsActive, #bookNotificationsInactive {
    width: 50px;
}

.right {
    float: right;
}

ul.new-book-template-list {
    padding: 0px;
}

ul.new-book-template-list:after {
    content:'';
    display:block;
    clear: both;
}

ul.new-book-template-list li {
    float: left;
    padding: 3px 8px 3px 0px;
    list-style-type: none;
}


ul.new-book-template-list li:not(:last-child):not(:first-child):after{
    content: " \B7 ";
}

.book-item {
    list-style: none;
    vertical-align: top;
    display: inline-block;
    text-align: center;
}

.book-item .book-title {
    display: block;
}

#formContent {
    margin: auto;
    min-height: 200px;
    /* padding: 20px 40px 20px 40px; */
    /*float: left; */
    width: 90%
}

.editing-book {
    background-color: #E8A080;
    padding: 15px 40px 15px 40px;
    margin-top: 5px !important;
    overflow: auto;
}

/* Background blue */
.form-document-search,
.my-book,
.file-upload,
.form-buch-erstellung,
.form-bereich-auswahl {
    background-color: #CCECFF;
}

.form-document-search {
    padding: 15px 40px 20px 40px;
    margin-top: 5px !important;

}

.edit-document abbr {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: darkgrey;
}

.edit-document abbr:hover {
    background-color: white;
}

.editDocumentArea span.subtitle {
    display: block;
    font-style: italic;
    font-weight: normal;
    color: #333333;
    font-size: 75%;
}

.editDocumentCheckbox {
    display: inline-block;
}

.form-document-auflistung {
    background-color: #D3D3D3;
    padding: 15px 40px 20px 40px;
    margin-top: 5px !important;

}

.form-buch-erstellung {
    padding: 15px 40px 20px 40px;
    margin-top: 5px !important;

}

.cursor-pointer {
    cursor: pointer;
}

.my-books,
.my-files {
    margin: auto;
    min-height: 200px;
    width: 90%;
    background: none;
    padding: 10px 10px 10px 10px;
}

.my-book,
.my-file {
    padding: 20px 20px 20px 20px;
    margin: 5px 0px 5px 0px;
}

.my-book-image {
    width: 45px;
    float: left;
    margin-right: 10px;
    clear: both;
}

.my-book-title {
    margin-left: 0px;
    overflow: auto;
    display: block;
    margin-bottom: 5px;
    color: #123C7A;
}

.generated-book-date {
    font-size: smaller;
    margin-bottom: 2px;
}

.my-generated-book {

}

.my-book-title-description {
    margin-top: 5px;
    color: #123C7A;
}

.my-book-title-a {
    font-size: larger;
    color: #123C7A;
    cursor: pointer;
}

.my-book-title-a:hover {
    color: #efefef;
    cursor: pointer;
}

.my-book-chapter {
    margin-left: 0px;
    overflow: auto;
    display: block;
    font-style: italic;
}

.my-book-chapter-overflow {
    font-weight: bold;
    font-size: smaller;
    font-style: italic;
}

.new-edition-published {
    border: #00af3f solid thick;
    padding: 6pt;
}

.file-upload {
    background-color: #C8D6EA;
    padding: 20px 20px 20px 20px;
    margin: 5px 0px 5px 0px;
}
.file-library {
    background-color: #C8D6EA;
    padding: 20px 20px 20px 20px;
    margin: 5px 0px 5px 0px;
}

.generated-table tr td {
    text-align:center;
    width:50%;
}

.limit-book {
    margin-top: 0px;
}

.my-vergleiche {
    background-color: #b6b9be;
    padding: 20px 40px 20px 40px;
    min-height: 200px;
    width: 90%
}

.generated-container {
    padding: 5px 5px 5px 5px;
    margin-top: 5px;
}

/* Background grey */
.form-document-auflistung,
.file-library,
.generated-container {
    background-color: #CCECFF;
    border-bottom: 1px solid #EEF4ED;
}


.neuer-bereich {
    margin-bottom: 15px;
}

.label-bereich {
    vertical-align: middle;
}

.input-artikeltype {
    background-color: #B1BFD3 !important;
    color: #000 !important;
    border: none !important;
    cursor: inherit !important;
    box-shadow: none !important;
    width: 100px !important;
}

ul.book-chapters {
    padding-left: 0;
}

.final-document {
    margin-top: 10px;
    width: 100%;
    display: inline-block;

}

.final-document .handle {
    cursor: move;
}

.final-document:first-of-type:before {
    display: none;
}

.final-document:before {
    content: '';
    border-top: 1px solid #eee;
    width: 90%;
    height: 1px;
    display: block;
    margin: 0 auto;
}

ul.book-chapters .ui-sortable-helper {
    background-color: #D3D3D3;
    border: 1px solid grey;
}

ul.book-chapters .ui-sortable-placeholder {
    list-style: none;
    height: 70px;
    background-color: #EEEEEE;
    border: 2px dashed grey;
    display: block !important;
    visibility: visible !important;
}

.edit-document {
    padding: 10px;
}

#selectedDocuments {
    height: 9em;
    font-size: 100%;
}

#selectedDocuments option {
    margin-top: 2pt;
    margin-bottom: 2pt;
}

.chapter-editing {
    background-color: #eaeaea;
}

.auflistung-buttons {
    float: right;
    margin-top: 3px;
}

.auflistung-buttons button {
    height: 28px !important;
}

.auflistung-left {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: visible;
}

.auflistung-bereich {
    font-size: 80%;
    margin-top: 7px;
    display: inline-block;
}


.bearbeitung-animation {
    animation: fadein 1s;
    -moz-animation: fadein 2s; /* Firefox */
    -webkit-animation: fadein 2s; /* Safari and Chrome */
    -o-animation: fadein 2s; /* Opera */
}

/** Book Plus */
.bookplus-uptodate {
    color: darkgreen;
}

.dialog-close-button {
    margin-right: 10px;
    cursor: pointer;
}

.buttonlink {
    text-decoration: none;
}
@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-moz-keyframes fadein { /* Firefox */
    from {
        opacity:0.5;
    }
    to {
        opacity:1;
    }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity:0.5;
    }
    to {
        opacity:1;
    }
}
@-o-keyframes fadein { /* Opera */
    from {
        opacity:0.5;
    }
    to {
        opacity: 1;
    }
}

.pure-form.pure-form-secondary legend a {
    font-size: 75%;
    color: #123C7A;
    text-decoration: none;
}


.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 25px;
    color: #fff;
    margin-top: 6px;
    text-align: center;
    border-radius: 2px;
    background-color: #33538E;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}

.modal-body {
    white-space: pre-wrap;
}

.modal-body-html {
    white-space: normal;
}

.modal-printshop {
    font-size: 12pt;
    font-family: 'Lato', sans-serif;
}

.modal-header-info {
    background-color: #4D6DA8;
    color: white;
}

.modal-header-info .close {
    color: white !important;
    opacity: initial;
}

.modal-header-warning {
    background-color: #F19700;
}

.modal-header-error {
    background-color: #C63000;
}

.modal-header-success {
    background-color: #00af3f;
}


.only-one-chapter-hint {
    margin-top: 10px;
}

dt {
    font-weight: bold;
}

dd  {
    margin-left: 0;
    margin-bottom: 0.5em;
}

legend.page-title {
    font-size: 20pt;
    display: block;
    float: none;
    width: 100%;
    padding: 0.3em 0;
    margin-bottom: 0.3em;
    color: #3F3F3F !important;
    border-bottom: 1px solid #ededed;
}

.pure-skin-theme .pure-form label {
    color: #3F3F3F;
}

.fv-form-crop {
    font-size: 0.8em !important;
}

/* ----------------------------------------------------------------
	Helper Classes
-----------------------------------------------------------------*/


.uppercase { text-transform: uppercase !important; }

.lowercase { text-transform: lowercase !important; }

.capitalize { text-transform: capitalize !important; }

.nott { text-transform: none !important; }

.tright { text-align: right !important; }

.tleft { text-align: left !important; }

.fright { float: right !important; }

.fleft { float: left !important; }

.fnone { float: none !important; }

.bottommargin-sm {
    margin-bottom: 0.5em;
}

@media screen and (min-width: 50em) {
    .currentBooks.container {
        max-width:70em;
    }
}

.currentBooks {
    margin-top: 4em;
}

.currentBooks .thumbnails>div {
    box-sizing: border-box;
    padding: 1em;
}

.currentBooks .thumbnails>div img {
    max-height: 300px;
/*    margin:auto; */
}

.currentBooks .thumbnails p {
    margin-top: 1em;
}

.pure-g {
    letter-spacing: normal;
}

.fa-drag-handle:before {
    content: "\f142 \f142";
    letter-spacing: 0.1em;
    font-weight: normal;
    color: grey;
    font-size: 80%;
}

.fa-small {
    font-size: 80% !important;
}

/* pure-hidden-xs */
@media screen and (max-width:567px) {
    .pure-visible-sm:not(.pure-visible-xs){display:none}
    .pure-visible-md:not(.pure-visible-xs){display:none}
    .pure-visible-lg:not(.pure-visible-xs){display:none}
    .pure-visible-xl:not(.pure-visible-xs){display:none}
    .pure-hidden-xs {display:none !important;}
}

h4 {
    font-weight: 400;
}

.hint-fontsize {
    display: block;
    margin-left: 1.5em;
}

iframe.iframe-resizable {
    width: 1px;
    min-width: 100%;
    border: none;
}

.cover-color-preset-picker {
    height: 15px;
    width: 15px;
    display: inline-block;
    border-color: white;
    margin-right: 10px;
}

.email-alert-block {
    margin-top: 30px;
    margin-bottom: 30px;
}

.u4-preview {
    background-color: lavender;
    width: 169mm;
    height: 144mm;
    padding: 4mm;
    font-size: 13pt !important;
    transform: scale(0.7);
    transform-origin: top left;
}

.u4-preview * {
    font-family: "Source Sans Pro" !important;
}

.u4-preview p {
    margin-top: 0;
    text-align: justify;
    hyphens: auto;
    prince-hyphenate-patterns: url('hyph_de_AT.dic');
}

.u4-preview .editor-list td {
    vertical-align: top;
    text-align: justify;
    hyphens: auto;
    prince-hyphenate-patterns: url('hyph_de_AT.dic');
}
.u4-preview .editor-img {
    margin-left: 2mm;
}

.u4-preview .code-block {
    display: none;
}

.u4-preview li {
    height: 10mm;
    position: relative;
    padding: 0;
    margin: 0;
    box-sizing: border-box;

    border-bottom: 0.2mm dashed white;
    border-bottom: none;
    list-style-type: disc;
}

.u4-preview li a {
    display: block;
    position: absolute;
    bottom: 0px;
    font-size: 13pt;
    line-height: 95%;
    color: black;
    text-decoration: none;
    top: 0.5mm;
}

.u4-preview .editor-list li {
    height: auto;
}
.u4-preview .u4custom li {
    height: auto;
}

.u4-preview h1,.u4-preview h2, .u4-preview h3, .u4-preview h4 {
    font-size: 17pt !important;
    margin-top: 0;
}
.u4-preview .editor-list thead, code-block {
    display: none;
}


.chapterNo {
    font-weight: lighter;
    color: grey;
}

.pure-skin-theme .button-primary-outline {
    color: #3b67a7;
    background-color: white;
    border: 1px solid #3b67a7;
}