

/* ==========================================================================
   Structural Styles
   ========================================================================== */

html, body {
    height: 100%;
    width: 100%;
    min-width: 860px;
    min-height: 643px;
}

body {
    display: table;
}

    /*editor.ui.view.editable.element*/
    body.cke_editable {
        margin: 0px !IMPORTANT;
        padding: 0px !IMPORTANT;
        font-size: 13px;
        line-height: normal !IMPORTANT;
        /* Fix for missing scrollbars with RTL texts. (#10488) */
        word-wrap: break-word;
        overflow-y: auto;
    }

.LineHeightNormal {
    line-height: 1 !important;
}

.sortcontainer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

div.portraitBook, div.landscapeBook {
    text-align: center;
    font-size: 11px
}

div.portraitBook .show_page_thumb {
    width: 102px;
    height: 140px;
}

div.landscapeBook .show_page_thumb {
    width: 128px;
    height: 91px;
}

div.portraitBook img, div.portraitBook img {
    width: 96px;
    height: 134px;
    border: 3px solid #878787;
}


div.landscapeBook img, div.landscapeBook img {
            /*        width: 128px;
        height: 91px;
*/ border: 3px solid #878787;
        }

div.landscapeSingle {
    /*    width: 134px;
    height: 138px;
*/ text-align: center;
    font-size: 11px
}

    div.landscapeSingle img {
        /*        width: 128px;
        height: 91px;
*/ border: 3px solid #878787;
    }

div.portraitSingle {
    width: 102px;
    height: 184px;
    text-align: center;
    font-size: 11px
}

    div.portraitSingle img {
        width: 96px;
        height: 134px;
        border: 3px solid #878787;
    }

.bookTitle div {
    max-width: 45%;
}

.inputbox {
    width: 100%;
    min-width: 400px;
}

.picturenoframe {
    background-color: transparent;
    align-content: center;
    vertical-align: middle;
    text-align: center;
}

div.ck.ck-editor__editable {
    padding: 0px 0px 0 0 !important;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px !important;
    border: 1px solid #4A90E2 !important;
}

.page_element, .page_element div, .page_element span, .page_element strong, .page_element b {
    margin: 0px;
    padding: 0px 0px 0px 0px;
    line-height: 1 !important;
}

.editHandle {
    padding: 0px !important;
}

.page_element p {
    padding: 0px;
    margin: 0em 0em .5em 0em !important;
    line-height: 1 !important;
}

.ui-tooltip {
    z-index: 9000;
}

span, strong, em, i, p, u {
    cursor: pointer;
}

div.ck span, div.ck strong, div.ck em, div.ck i, div.ck p, div.ck u {
    cursor: text;
}

.Dedication .Portrait {
    background-image: url(~/scripsi/img/Dedication/DedicatedPortrait.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.Dedication .Landscape {
    background-image: url(~/scripsi/img/Dedication/DedicatedLandscape.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.flipped {
    transform: scale(-1, 1) !important;
    -moz-transform: scale(-1, 1) !important;
    -webkit-transform: scale(-1, 1) !important;
    -o-transform: scale(-1, 1) !important;
    -khtml-transform: scale(-1, 1) !important;
    -ms-transform: scale(-1, 1) !important;
}

.imageAddLinkWrapper {
    height: 40px;
    width: 100px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    /*Using a background color, but you can use a background image to represent a button*/
    background-color: transparent;
}

*.unselectable {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
}

.SelectList {
    position: absolute;
    background-color: lightgray;
    margin-left: 60px;
    opacity: 1;
    width: 102px;
    border: solid 1px darkgray;
    overflow-y: auto;
}

.SelectItem {
    background-color: lightgray;
    color: dimgray;
    opacity: 1;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    border-bottom-color: #ccc;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    cursor: pointer;
    min-height: 30px;
    width: 100px;
    margin-left: 0px;
}

    .SelectItem:hover {
        background-color: white;
    }

#fileupload {
    cursor: pointer;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99;
    /*This makes the button huge. If you want a bigger button, increase the font size*/
    font-size: 50px;
    /*Opacity settings for all browsers*/
    opacity: 0;
    -moz-opacity: 0;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}

a.imageNavLink:hover, a.imageNavLink:active, a.imageNavLink:visited, a.imageNavLink:link,
a.thumbnaiLCategoryLink:hover, a.thumbnaiLCategoryLink:active, a.thumbnaiLCategoryLink:visited, a.thumbnaiLCategoryLink:link {
    text-decoration: none;
}

a.bookTitleEdit:hover {
    text-decoration: underline;
}

a:hover {
    color: lightblue;
}

.topPanel {
    width: 100%;
    padding-right: 1px;
    height: 50px;
    background: #fdbb30;
    display: flex;
    flex-direction: row;
}

.topLogo {
    height: 50px;
    width: 200px;
    background: #fff;
}

.bookTitle {
    width: auto;
    margin-top: auto;
    margin-bottom: auto;
}

    .bookTitle p {
        font-size: 14px;
        font-weight: bold;
        color: #fff;
        margin-left: 5px;
        margin-top: auto;
        margin-bottom: auto;
    }

.bookTitleEditDiv {
    width: auto;
    color: #fff;
    flex-grow: 1;
    margin: 10px 10px 0px 5px;
}

    .bookTitleEditDiv a {
        background: #4A90E2;
        height: 22px;
        border-radius: 5px;
        padding: 5px 10px;
        color: #fff;
    }

#titleEdit {
    font-weight: normal;
}

.logoImg {
    height: 50px;
    width: 200px;
    background: transparent url('../img/logo.png') 50% 50% no-repeat;
    background-size: contain;
}

.sportslogoImg {
    height: 65px;
    width: 200px;
    background: transparent url('../img/SportingMemories.png') 50% 50% no-repeat;
    background-size: contain;
}

.account_control {
    width: 80px;
}

.account_control_link {
    display: inline-block;
    cursor: pointer;
}

.account_control_avatar {
    height: 40px;
    margin-top: 5px;
    display: inline-block;
    border-radius: 50%;
}

.bodyPanel {
    flex-grow: 1;
    display: flex;
    min-width: 1300px;
}

.centerColumn {
    flex-grow: 1;
}

.page_area, .sort_area {
    background: #e8e9e7 url('../img/rough_diagonal.png');
    width: 100%;
}

.page_area {
    margin: 0px auto -45px;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.sort_area {
    flex-grow: 1;
}

.arrow_column {
    height: 100%;
    margin-top: auto;
    margin-bottom: auto;
    flex-grow: 1;
}

.page_canvas {
    height: 100%;
}

.page_canvas, .sort_zone {
    display: flex;
}

.imagesPanel {
    width: 200px;
    background: lightgrey;
    height: 100%;
}

.CategoryHeader {
    font-size: 14px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: bolder;
    cursor: pointer;
    height: 30px;
    background-color: rgb(74, 74, 74);
    color: lightgrey;
    border: 1px solid lightgrey;
    vertical-align: middle;
    padding-top: 10px;
}

.imageNav {
    height: 50px;
    display: block;
}

.imageNavLink {
    width: 100px;
    height: 44px;
    border-bottom: #333;
    float: left;
    text-align: center;
    padding-top: 5.4%;
    color: #fff;
}

.active_imageNav {
    box-shadow: inset 0 0 4px rgba(0,0,0,0);
}

.imageLinkInactive {
    background-color: #9B9B9B;
    color: #333;
    box-shadow: inset 0 0 4px rgba(0,0,0,.5);
}

div.imageAddLink {
    width: 160px;
    height: 40px;
    border: solid 1px #787878;
    margin: 5px 5px 10px 21px;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-top: 8px;
    color: #fff;
    background-color: #4A90E2;
}

.imageAddLinkWrapper {
    width: 172px;
    height: 25px;
    color: #fff;
    text-align: center;
    float: left;
    margin: 0px 0px 0px -6px;
    padding-top: 2px;
    text-decoration: none;
}

.thumbnailLinkActive {
    background: #000;
}

img.source_image {
    z-index: 900;
}

div.imageDecoration {
    position: relative;
    z-index: 1000;
    float: none;
    margin-top: 0px;
}

div.imageDecorationbr {
    position: relative;
    z-index: 1000;
    float: none;
    margin-bottom: 0px;
}

img.imageDecoration {
    margin-left: -16px;
    width: 16px;
    height: 16px;
    resize: none;
    z-index: 1000;
}

.imageNavLink:hover {
    text-decoration: none;
    color: darkblue;
}

.imageAddLinkWrapper:hover {
    color: lightblue;
}

.main_tools {
    /* Rectangle 2: */
    /* Rectangle 2: */
    /* Rectangle 2: */
    border: 1px solid #9B9B9B;
    text-align: center;
}

.tool_container {
    white-space: nowrap;
    width: 63px;
    background-color: #dfdfdf;
    margin-bottom: 20px;
}

    .tool_container .fa {
        font-size: 14pt;
    }

.toolbar_group {
    vertical-align: top;
    height: 43px;
    width: 43px;
    margin: 0;
    margin-right: 0px;
    padding: 0;
    border-left: 1px solid #9B9B9B;
}

.tool_group {
    width: 43px;
    margin: 0;
    margin-right: 6px;
    padding: 0;
    border-left: 1px solid #9B9B9B;
}

.toolbar_button {
    height: 46px;
    width: 63px;
    border-bottom: 1px solid #9B9B9B;
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
}

    .toolbar_button .fa {
        font-size: 14pt;
    }

    .toolbar_button a {
        display: block;
        height: 45px;
        width: 62px;
        padding-top: 5px;
        font-size: .8em;
        color: #4a4a4a;
        text-shadow: 0px 1px 0px rgba(255,254,255,0.20);
        -webkit-transition: box-shadow .1s ease-in-out;
        -moz-transition: box-shadow .1s ease-in-out;
        -o-transition: box-shadow .1s ease-in-out;
        transition: box-shadow .1s ease-in-out;
    }

        .toolbar_button a:hover {
            text-decoration: none;
            box-shadow: 2px 2px rgba(0,0,0,0.20) inset;
        }

        .toolbar_button a:active {
            background-color: #888;
        }

.tool_button {
    position: relative;
    height: 42px;
    width: 63px;
    border-bottom: 1px solid #9B9B9B;
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
}

    .tool_button a {
        display: block;
        height: 42px;
        width: 62px;
        padding-top: 5px;
        font-size: .8em;
        color: #4a4a4a;
        text-shadow: 0px 1px 0px rgba(255,254,255,0.60);
        -webkit-transition: box-shadow .1s ease-in-out;
        -moz-transition: box-shadow .1s ease-in-out;
        -o-transition: box-shadow .1s ease-in-out;
        transition: box-shadow .1s ease-in-out;
    }

        .tool_button a:hover {
            text-decoration: none;
            box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.50);
        }

        .tool_button a:active {
            background-color: #888;
        }

    .tool_button .unapprove_menu {
        background: url('../img/unapprove.png') no-repeat 21px 4px;
    }

    .tool_button .approve_menu {
        background: url('../img/star.png') no-repeat 21px 4px;
    }

    .tool_button .approved_menu {
        background: url('../img/goldstar.png') no-repeat 21px 4px;
    }

    .tool_button .unapproved_menu {
        background: url('../img/star.png') no-repeat 21px 4px;
    }

.tool_cmd {
    position: absolute;
    background-color: lightgrey;
    border-right: 1px solid #9B9B9B;
    border-bottom: 1px solid #9B9B9B;
    z-index: 1000;
    cursor: pointer;
    display: block;
    height: 42px;
    width: 62px;
    font-size: .8em;
    color: #4a4a4a;
    text-shadow: 0px 1px 0px rgba(255,254,255,0.60);
    -webkit-transition: box-shadow .1s ease-in-out;
    -moz-transition: box-shadow .1s ease-in-out;
    -o-transition: box-shadow .1s ease-in-out;
    transition: box-shadow .1s ease-in-out;
    margin-left: 1px;
}

.page_cmd div:hover {
    text-decoration: none;
    box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.50);
}


.account_cmd {
    background-color: lightgrey;
    text-align: center;
    padding-top: 15px;
}

.account_control .exit_account {
    margin-top: 1px;
}

.account_control .logout_account {
    margin-top: 43px;
    visibility: hidden;
}

.tool_button .approve_page {
    background: url('../img/approvepage.png') no-repeat 21px 3px;
    margin-top: 1px;
    background-color: lightgrey;
}

.tool_button .approve_book {
    background: url('../img/approvebook.png') no-repeat 21px 3px;
    margin-top: 43px;
    background-color: lightgrey;
}

.tool_button .unapprove_page {
    background: url('../img/unapprovepage.png') no-repeat 21px 3px;
    margin-top: 1px;
    background-color: lightgrey;
}

.tool_button .unapprove_book {
    background: url('../img/unapprovebook.png') no-repeat 21px 3px;
    margin-top: 43px;
    background-color: lightgrey;
}

.zoom_cmd, .page_cmd {
    left: -30px;
}

.tool_button .zoom_in {
    margin-top: 1px;
    background-color: lightgrey;
}

.tool_button .zoom_out {
    margin-top: 43px;
    background-color: lightgrey;
}

.tool_button .add_page {
    margin-top: 1px;
    background-color: lightgrey;
}

.tool_button .remove_page {
    margin-top: 43px;
    background-color: lightgrey;
}

.tool_button .add_pictureframeP {
    background: url('../img/pictureframeP.png') no-repeat 21px 4px;
}

.tool_button .add_pictureframeL {
    background: url('../img/pictureframeL.png') no-repeat 21px 4px;
}

.tool_button .add_pictureframeS {
    background: url('../img/pictureframeS.png') no-repeat 21px 4px;
}

.page_nav {
    height: 45px;
    background: #9B9B9B;
    border: 1px solid #787878;
    text-align: center;
}

#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    vertical-align: bottom;
    margin: 0 auto;
    height: 100%;
}

#header-spacer-top {
    flex-grow: 1;
}

#footer-spacer-bottom {
    flex-grow: 1;
}

.sort_targets .dragMe {
    display: flex;
    flex-direction: column;
    margin: 15px;
}

.image-wrapper {

}

.student-label {
    text-align: center;
}

.show_page_group {
    position: absolute;
    z-index: 900;
    border: 1px solid gray;
    background: #d3d3d36b;
    margin: 2px 2px;
    width: auto;
    height: 169px;
    top: 0px;
    margin-left: 0px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.show_page_thumb {
    position: relative;
    display: inline-block;
    border: 2px solid #EFEFEF;
    background-repeat: no-repeat;
    background-color: lightgray;
    background-size: 100% 100%;
    margin-top: 2px;
    margin-bottom: 10px;
    margin-left: 3px;
    width: 109px;
    height: 140px;
    z-index: 9;
    text-align: center;
    vertical-align: bottom;
    float: none;
}

.landscapeBook .show_page_thumb {
    padding-top: 90px;
}

.portraitBook .show_page_thumb {
    padding-top: 138px;
}

    .show_page_thumb:hover {
        text-decoration: none;
        color: black;
        font-weight: bold;
        border: 2px solid black;
    }

.show_pages, .reorder_pages, .save_pages, .generate_pages, .bookTitleEdit {
    margin-top: auto;
    margin-bottom: auto;
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    text-align: center;
    background-color: #4A90E2;
    color: #fff;
    margin-right: 10px;
    border-radius: 5px;
}

.save_pages {
    background-color: #8DC63F;
}

.page_nav_left {
    height: 44px;
    width: 25px;
    text-align: center;
    color: #fff;
    float: right;
    background: transparent url('../img/arrow_left.png') no-repeat 50% 50%;
}

.page_nav_right {
    height: 44px;
    width: 25px;
    text-align: center;
    color: #fff;
    float: left;
    background: transparent url('../img/arrow_right.png') no-repeat 50% 50%;
}

.pages_visible {
    height: 100%;
    align-content: center;
    vertical-align: middle;
    background: transparent;
}

.page_focused {
    position: relative;
    height: 528px;
    width: 408px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 60px;
    border: solid 1px #bbb;
    background: #FFFFFF;
    -moz-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.50);
    -webkit-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.50);
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.50);
    z-index: 0;
}

.page_element {
    position: absolute;
}

div.page_notes {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 300px;
    height: auto;
    border: solid;
    color: black;
    background-color: lightyellow;
    z-index: 100;
    border-width: thin;
    border-style: inset;
    margin-top: 2px;
    margin-left: 2px;
}

div.page_notes i {
    margin-right: 3px;
}

textarea.page_notes {
    width: 100%;
    height: auto;
    color: black;
    background-color: transparent;
    font-size: 9px;
    font-family: Arial;
}

div.page_notes_sticky {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border: solid;
    border-width: thin;
    border-style: inset;
    background-color: yellow;
    float: none;
}

div.page_notes_sticky i {
    margin-top: 5px;
    margin-left: 5px;
    font-size: 16pt;
}

.delete_command {
    background-color: red;
}

div.page_number {
    position: absolute;
    z-index: 10000;
    align-self: center;
    bottom: 10px;
    margin-left: 50%;
    margin-right: 50%;
    height: auto;
    padding-bottom: 1px;
    border: none;
    text-align: center;
    color: black;
    float: none;
    background: transparent;
}

div.page_number_sb {
    position: absolute;
    z-index: 10000;
    align-self: center;
    bottom: 56px;
    width: 100%;
    height: auto;
    padding-bottom: 10px;
    border: none;
    text-align: center;
    color: black;
    float: none;
    background: transparent;
}

textarea.page_element {
    resize: none;
}

.sidebar_button {
    display: block;
    text-decoration: none;
    border: 1px solid rgb(153, 153, 153);
    padding: 3px 10px 3px 10px;
    color: rgb(255, 255, 255);
    font-size: 14px;
    font-family: arial, serif;
    text-shadow: 2px 3px 5px rgb(132, 132, 128);
    font-size: 14px;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    box-shadow: 0px 0px 0px rgb(0, 0, 0);
    -moz-box-shadow: 0px 0px 0px rgb(0, 0, 0);
    -webkit-box-shadow: 0px 0px 0px rgb(0, 0, 0);
    background: #89aa6f; /* Old browsers */
    background: -moz-linear-gradient(top, #89aa6f 0%, #82c964 50%, #89aa6f 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#89aa6f), color-stop(50%,#82c964), color-stop(100%,#89aa6f)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #89aa6f 0%,#82c964 50%,#89aa6f 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #89aa6f 0%,#82c964 50%,#89aa6f 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #89aa6f 0%,#82c964 50%,#89aa6f 100%); /* IE10+ */
    background: linear-gradient(to bottom, #89aa6f 0%,#82c964 50%,#89aa6f 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#89aa6f', endColorstr='#89aa6f',GradientType=0 ); /* IE6-9 */
}

textarea {
    margin-bottom: 12px;
    width: 95%;
    padding: .4em;
}

fieldset {
    padding: 0;
    border: 0;
    margin-top: 25px;
}

.ui-dialog .ui-state-error {
    padding: .3em;
}

.validateTips {
    border: 1px solid transparent;
    padding: 0.3em;
}

.editHandle {
    display: inline-block;
    border: 1px solid blue;
    max-width: 100px;
    max-height: 40px;
    cursor: pointer;
    background-color: transparent;
    right: 0px;
    top: -33px;
    position: absolute;
    font-size: 16px;
    border: solid 1px blue;
}

.modalSpinner {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('../img/loading_book.gif') 50% 50% no-repeat;
}
