/*
        Name: main.css
        Description: Structure css.
*/

/*
Times New Roman,Times,serif
*/

/* Imports */
@import url("reset.css");

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
}
hr {
    margin-left: 10px; 
    margin-right: 10px;
}
b {
    font-weight: bold;
}

i {
    font-style: italic;
}

.disabled {
    opacity: 0.3;
}

.article p {
    line-height: 140%;
}

.deep-link {
    line-height: 3em;
}

#header {
    height: 30px;
    width: 100%;
    border-bottom: 1px solid #888888;
    position: fixed;
    z-index: 100;

    background-color: #e5e5e5;
    background-image: url(http://www.e-pages.dk/flash/v1/assets/ep_header_gradient.png);
    background-repeat: repeat-x;
}

#scroller {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    top: 30px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    position: absolute;
}

#main-container {
    height: 100%;
    margin: 0 auto;
    max-width: 660px;
    text-align: center;
    margin-top: 0px;
}

#main {
    padding: 10px;
    text-align: left;
    padding-top: 0px;
}

#comments-box {
    width: 100%;
    padding: 10px;
    display: inline-block;
}

#share-content {
    width: 100%;
    padding: 10px;
}

#size-buttons{
    height: 30px;
    width: 96px;
    float: right;
}
#size-buttons span{
    width: 30px;
    height: 30px;
    display: block;
    float: left;
    border: 0;
    border-left: 2px groove #999;
    text-align: center;
    font-size: 20px;
    font-weight: bolder;
}

#size-up {
    background-position: 0px 0px;
    background-repeat: no-repeat;
}
#size-up:hover {
    background-position: 0px -30px;
}

#size-down {
    background-position: 0px 0px;
    background-repeat: no-repeat;
}
#size-down:hover {
    background-position: 0px -30px;
}

#size-normal {
    background-position: 0px 0px;
    background-repeat: no-repeat;
}
#size-normal:hover {
    background-position: 0px -30px;
}

#size-buttons span:hover{
    color: #888;
}
#print-content {
    height: 30px;
    width: 30px;
    float: left;
    border: 0;
    border-right: 2px groove #999;
    background-position: 0px 0px;
    background-repeat: no-repeat;
}
#print-content:hover {
    background-position: 0px -30px;
}
#mail-sharing {
    height: 30px;
    width: 30px;
    float: left;
    border: 0;
    border-right: 2px groove #999;
    background-position: 0px 0px;
    background-repeat: no-repeat;
    cursor: pointer;
}
#mail-sharing:hover {
    background-position: 0px -30px;
}

#article-nav {
    width: 60px;
    height: 30px;
    border-right: 2px groove #999;
    float: left;
}

#previous-article {
    height: 30px;
    width: 30px;
    display: inline-block;
    background-position: 0px 0px;
    background-repeat: no-repeat;
}

#previous-article:hover:not(.disabled) {
    background-position: 0px -30px;
}

#next-article {
    height: 30px;
    width: 30px;
    display: inline-block;
    background-position: 0px 0px;
    background-repeat: no-repeat;
}

#next-article:hover:not(.disabled) {
    background-position: 0px -30px;
}

#galleryblock {
    margin: 0 auto;
    position: relative;
    width: 100%;
    height: auto;
    padding: 0;
    padding-top: 10px;
    background-color: #000;
    margin-bottom: 5px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#slide-back,
#slide-next {
    width: 60px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    display: inline-block;
    background-image: none;
    vertical-align: middle;
    top: 30%;
    background-color: rgb(255, 255, 255);
    opacity: 0.2;
    filter: alpha(opacity = 20);
    cursor: pointer;
}
#slide-back {
    left: 0;
    background-image: url(http://www.e-pages.dk/flash/v1/assets/arrow_left.png);
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
    background-position: left center;    
}
#slide-next {
    right: 0;
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
    background-image: url(http://www.e-pages.dk/flash/v1/assets/arrow_right.png);
    background-position: right center;
}
#slide-back:hover {
    opacity: 0.6;
    filter: alpha(opacity = 60);
}
#slide-next:hover {
    opacity: 0.6;
    filter: alpha(opacity = 60);
}
#imagegallery {
    width: 100%;
    margin: 0 auto;
    display: inline-block;
}
#imagegallery .image-wrap {
    width: 100%;
    text-align: center;
    background-color: #222;    
}
#imagegallery .image-wrap img {
    cursor: pointer;
}
#imagegallery .image-caption {
    display: block;
    padding: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    color: #fff;
    min-height: 30px;
    vertical-align: middle;
    text-align: center;
    line-height: 130%;
    left: 0;
    right: 0;
    user-select: auto;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
}

#open-publication {
    padding-left: 10px;
}

.error {
    position: absolute;
    top: 10%;
    width: 100%;
    font-size: 20px;
    font-family: Helvetica,Arial,Helvetica,sans;
    vertical-align: middle;
    text-align: center;
    color: #AAAAAA;
}

.smiley {
    font-size: 10em;
    padding-bottom: 0.7em;
}

.error .text {
    padding-bottom: 2em;
}

/* MAIL SHARING WINDOW */
#mail-sharing-window {
    position: absolute;
    background-color: #ff0000;
    top: 36px;
    left: 31px;
    width: auto;
    border: 10px solid transparent;
    outline: 1px solid #888888;
    font-family: Helvetica;
    font-size: 14px;
    visibility: hidden;
    opacity: 0;
}

#mail-sharing-window.visible {
    visibility: visible;
    opacity: 1;
}

#mail-sharing-window-header {
    font-size: 20px;
    margin-bottom: 10px;
}

#mail-sharing-window-fields > div {
    margin-bottom: 5px;
}

#mail-sharing-window-fields > div > input.input-error {
    outline: 2px solid #ff0000;
}

#mail-sharing-window-from > label {
    min-width: 80px;
    display: inline-block;
}

#mail-sharing-window-to > label {
    min-width: 80px;
    display: inline-block;
}

#mail-sharing-window-status {
    height: 20px;
}

#mail-sharing-window-status-error {
    display: none;
    line-height: 21px;    
}

#mail-sharing-window-status-error.show-status {
    display: inline-block;
}

#mail-sharing-window-status-success {
    display: none;
    line-height: 21px;    
}

#mail-sharing-window-status-success.show-status {
    display: inline-block;
}

#mail-sharing-window-submit {
    position: absolute;
    right: 0px;
    cursor: pointer;
    display: inline-block;
}
#mail-sharing-window-submit:disabled {
    cursor: default;
}

#mail-sharing-window-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background-size: 14px 28px;
    background-position: 0px 0px;
    background-repeat: no-repeat;
    cursor: pointer;
}

#mail-sharing-window-close:hover {
    background-position: 0px -14px;    
}