﻿html {
    background-color: rgb(245,245,245);
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}
/*Michael har lavet disse:*/
body {
    background: -moz-radial-gradient(center, ellipse cover, rgb(255,255,255) 0%,rgb(245,245,245) 50%);
    background: -webkit-radial-gradient(center, ellipse cover, rgb(255,255,255) 0%,rgb(245,245,245) 50%);
    background: radial-gradient(ellipse at center, rgb(255,255,255) 0%,rgb(245,245,245) 50%);
    background-repeat: no-repeat;
}
/*.row{overflow:hidden;}*/

.fadeIn {
    transition: opacity .8s ease-in-out;
}

#wrapper {
    min-height: 100%;
    position: relative;
}

#contentSection {
    padding-bottom: 230px; /* Height of the footer element */
    overflow: hidden;
}

@media all and (max-width: 1100px) {
    #contentSection {
        overflow: visible;
    }
}

#footerSection {
    width: 100%;
    height: 230px;
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
}


.navbar-inverse {
    background-color: #434a54;
}

    .navbar-inverse .navbar-text, .navbar-inverse .navbar-nav > li > a {
        color: #dddddd;
    }

    .navbar-inverse .navbar-brand, .navbar-inverse .navbar-link, .navbar-inverse .btn-link {
        color: #dddddd;
    }

.modal-content {
    padding: 18px;
}

#frontpage-screenshot {
    margin-bottom: 40px;
}

#editTitleForm {
    display: none;
}

#input-authors {
    font-size: 1.3em;
    width: 80%;
    margin-bottom: 3px;
}

#input-title {
    font-size: 1.7em;
    font-weight: bold;
    height: 2.1em;
    width: 80%;
}

#btnSaveTitle {
    margin: 15px 0px 0px 20px;
}

.guruContainer {
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 20px;
    margin-right: auto;
    margin-left: auto;
}

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.footer {
    margin-top: 30px;
}

.top-pad15 {
    padding-top: 15px;
}

.pagesize1 {
    width: 485px;
    min-height: 600px;
}

.panel-photo img {
    width: 100%;
    margin-top: -15px;
    margin-bottom: 15px;
}

.gurupage {
    margin-bottom: 40px;
}

.dropshadow {
    -webkit-box-shadow: 4px 7px 20px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 4px 7px 20px 0px rgba(0,0,0,0.33);
    box-shadow: 4px 7px 20px 0px rgba(0,0,0,0.33);
}

.toppanel {
    vertical-align: middle;
    margin-bottom: 20px;
}

.page-editor .toppanel {
    width: 638px;
}

.toppanel button {
    margin-left: 10px;
    /*    margin-top:10px;*/
}

.pageHeader h3 {
    margin-top: 0px;
}

.pageHeader img {
    margin-top: 10px;
}

.jumbotron-contents {
    height: 163px;
    overflow-y: hidden;
}

    .jumbotron-contents h6 {
        margin: 0px 0px;
    }

    .jumbotron-contents h2 {
        margin-top: 15px;
    }

.bookList .jumbotron {
    transition: all .2s ease-out;
}

    .bookList .jumbotron:hover {
        box-shadow: 4px 4px 16px rgba(0,0,0,.2);
    }

.jumbotron-photo {
    background-position: center center;
    background-size: cover;
    height: 250px;
    overflow: hidden;
}
.jumbotron-labels {
    display: block;
    background-color: orange;
    border-radius: 0px 0px 4px 4px;
    -webkit-border-radius: 0px 0px 4px 4px;
    -moz-border-radius: 0px 0px 4px 4px;
    text-align: center;
    margin-top: -20px;
    color: white;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small {
    color: #808080;
}

#bookThumb {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.book {
    position: relative;
    /*height: 635px;*/ height: 100vh;
    height: calc(100vh - 180px);
    min-height: 635px;
    overflow: visible;
    z-index: 0;
}
/* Portrait tablet */
@media all and (max-width:1020.5px) and (min-height:800px) {
    .book {
        height: 60vw;
        min-height: 0;
    }
}

.book__inner {
    background-image: none;
    top: 1%;
}

.book__footer {
    padding-top: 30px;
}

.fullbg {
    background: url(/assets/img/fullbg.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    min-height:100%;
    background-size: cover;
    background-attachment:fixed;
}

#playBtn img:hover {
    margin-top:-2px;
    width:132px;
    height:132px;
}

#videoModal .modal-dialog {
    max-width: 1000px;
    width: 80%;
    margin: 30px auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .modal-content {
    background-color:transparent;
    box-shadow:none;
}

#videoModal .close {
    position: absolute;
    right: -30px;
    top: 0;
    z-index: 999;
    font-size: 2rem;
    font-weight: normal;
    color: #fff;
    opacity: 1;
}

#addNewBook {
    border: 4px dashed #f6bb42;
    width:100%;
    height:513px;
    padding:10%;
}

.textBtn {
    color: #434a54;
    margin-left: 10px;
    margin-right: 10px;
}
    
.textBtn .glyphicon {
    margin-right: 8px;
}

.no-left-right-padding {
    padding-left: 0;
    padding-right: 0;
}

.page-viewer .container .btn-row {
    height: 0;
    position: absolute;
    top: 50%;
    margin: -92px 0 0 0;
    left: 0;
    text-align: center;
}

.page-editor .btn-row {
    position: absolute;
    top: 30px;
    margin: 12px 0 0 0;
    right: 112px;
    width: auto;
}

    .page-editor .btn-row button {
        float: left !important;
        margin-right: 10px;
        transition: color .2s ease-out;
    }

.toppanel button {
    transition: all .2s ease-out;
}

.page-editor #btnViewBook {
    float: right !important; /*border:0;*/
}
/*.page-editor #btnViewBook, .page-editor #btnSavePageContent{box-shadow:2px 2px 8px 0px rgba(0,0,0,0.2);}*/

@media (max-width: 1200px) {
    .page-editor .btn-row {
        right: 46px;
    }
}

@media (max-width: 991.5px) {
    .page-editor .btn-row {
        right: 21px;
    }

    .page-viewer .btn-row {
        width: 100%;
    }
}

.page-viewer #addPages {
    margin-left: 4%;
    margin-top: 25px;
}


/*.col-md-12.btn-row{
top:0;margin:0;}*/
.btn-row .btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-primary, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
    color: white;
    background-color: #3bafda;
    border-color: #3bafda;
}
/*.btn-primary, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled]{
	color:#434a54;
    background-color: #fff;
	box-shadow: 2px 2px 8px 0px rgba(0,0,0,0.2);
}*/
.page-viewer #editEven, .page-viewer #editOdd {
    transition: all .2s ease-out;
    padding: 0;
    border-radius: 80px;
    width: 80px;
    height: 80px;
    opacity: .2;
    background-color: #f9f9f9;
    border: 0;
    box-shadow: 2px 2px 8px 0px rgba(0,0,0,0.08);
    font-size: 30px;
    line-height: 60px;
    padding-top: 5px;
    transform: scale3d(1,1,1);
    outline: 0;
}

    .page-viewer #editEven:hover, .page-viewer #editOdd:hover {
        background-color: #f9f9f9;
        color: #3bafda;
        opacity: 1;
        transform: scale3d(1.04,1.04,1);
    }

#bookContainer .shadow {
    /*-webkit-box-shadow: 4px 7px 20px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 4px 7px 20px 0px rgba(0,0,0,0.33);*/
    box-shadow: 4px 4px 16px 0px rgba(0,0,0,0.08);
}

.lnkImageSettings {
    display: none;
}

.ui-tip {
    text-align: center;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.5em;
    color: #808080;
}

#snippettip {
    margin-top: 25px;
}

#guruSnippetList {
    width: 100%;
    max-height: 800px;
    margin: 0;
    padding: 5px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
}

    #guruSnippetList div {
        cursor: move;
        margin: 0 10px 12px 0;
        padding: 0;
        float: left; /*background:#fff;*/
        min-height: 80px;
    }

        #guruSnippetList div:hover img {
            outline: rgba(0, 0, 0, 0.5) 1px solid;
            opacity: 0.5;
            transition: all 0.2s ease-in-out;
        }

        #guruSnippetList div img {
            width: 100%;
            max-width: 150px;
            margin: 0;
            box-sizing: border-box;
            display: block;
            -webkit-box-shadow: 0 0 7px rgba(0, 0, 0,0.2);
            -moz-box-shadow: 0 0 5px rgba(0, 0, 0,0.2);
            box-shadow: 0 0 5px rgba(0, 0, 0,0.2);
        }

    #guruSnippetList::-webkit-scrollbar {
        width: 8px;
    }

    #guruSnippetList::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.49);
        border-radius: 5px;
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    }

    #guruSnippetList::-webkit-scrollbar-thumb {
        border-radius: 5px;
        /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);*/
        background-color: #3bafda;
    }

#contentarea {
    min-height: 600px !important; /* page height */
}

.block-placeholder {
    /*background-color:#8cc152 !important;*/
}

#pagelenghtindicator {
    border-bottom: 2px dashed #808080;
    position: absolute;
    top: 680px;
    margin-left: 8%;
    margin-right: 12%;
    width: 80%;
    display: none;
}

#alertSave {
    margin-top: 8px;
    position: absolute;
    top: 0;
    right: -120px;
    float: none;
}

input {
    margin-bottom: 20px;
}



/* iframe solution*/

#bookFrame {
    width: 100%;
    height: 760px;
    overflow: no-display;
}

@media (min-width: 768px) {
    .guruContainer {
        width: 750px;
    }

    .navbar {
        border-radius: 0px;
    }
}

@media (min-width: 992px) {
    .guruContainer {
        width: 970px;
    }

    .bookList .panel, .bookList .jumbotron {
        height: 446px;
    }

    .jumbotron-photo {
        height: 283px;
    }

        .jumbotron-photo img {
            width: 100%;
            height: 283px;
        }
}

@media (min-width: 1200px) {
    .guruContainer {
        width: 1170px;
    }

    .bookList .panel, .bookList .jumbotron {
        height: 513px;
    }

    .jumbotron-photo {
        height: 350px;
    }
}

/*@media (min-width: 40rem) {
    .sitecolumn {
        float: left;
        padding-left: 1.32rem; 
        padding-right: 1.32rem;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .sitecolumn.full { width: 100%; }
    .sitecolumn.two-third { width: 66.7%; }
    .sitecolumn.two-fourth { width: 75%; }
    .sitecolumn.two-fifth { width: 80%; }
    .sitecolumn.two-sixth { width: 83.3%; }
    .sitecolumn.half { width: 50%; }
    .sitecolumn.third { width: 33.3%; }
    .sitecolumn.fourth { width: 25%; }
    .sitecolumn.fifth { width: 20%; }
    .sitecolumn.sixth { width: 16.6%; }
    .sitecolumn.flow-opposite { float: right; }  

}*/

@media (max-width: 1200px) {
    .page-editor .toppanel {
        width: 570px;
    }
}

@media (max-width: 991.5px) {
    .page-editor .toppanel {
        width: 100%;
    }

        .page-editor .toppanel .col-md-4 {
            width: 33.3%;
            float: left;
        }
}

@media (max-width: 991.5px) {
    .page-editor .toppanel .col-md-8 {
        width: 66.6%;
        float: right;
    }

    .page-editor #btnSavePageContent {
        margin-right: 70px;
    }

    #alertSave {
        right: -45px;
        float: none;
    }
}
