/* Primary Elements */
body {
    font-family: "Roboto", sans-serif;
    background: #9E9E9E;
}

#article {
    display: block;
    position: fixed;
    top: 0px;
    bottom: 10px;
    left: 0px;
    right: 0px;
    width: auto;
    height: auto;
    max-width: 400px;
    max-height: 700px;
    margin: auto;
    background: #eaeaea;
    perspective: 2000px;
    transform-style: preserve-3d;
    box-shadow: 0 0 25px rgba(0,0,0,.6);
}

#article section {
    display: block;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    max-width: 700px;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    transform-style: preserve-3d;
    scroll-behavior: smooth;
}

#article .section-next {
    opacity: 1 !important;
}

#article .section-prev {
    opacity: 1 !important;
    z-index: 2;
    transform-origin: left center;
    transform-style: preserve-3d;
}

#article .section-active {
    z-index: 1;
    opacity: 1 !important;
    transform: rotateY(0deg);
    transform-origin: left center;
    transform-style: preserve-3d;
}

#loading-animation {
    z-index: 1000;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: #3f485b;
}

#loading-animation span {
    display: block;
    position: absolute;
    bottom: 30px;
    left: 0px;
    right: 0px;
    color: #ffffff;
    font-size: 20px;
    text-shadow: 2px 2px #292929;
    padding: 20px;
    text-align: center;
}

#article-progress-bar-container {
    background: #b8cbda;
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 10px;
    z-index: -1;
}

#article-progress-bar-container button {
    background: 0px; 
    border: 0px; 
    width: 20%; 
    height: 10px; 
    position: absolute;
}

#article-progress-bar {
    display: block;
    background: #337ab7;
    height: 10px;
    
}

#article-progress-bar-container .button-previous {
    left: 0px
}

#article-progress-bar-container .button-next {
    right: 0px;
}

#tutorial-overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8); /* Black background with opacity */
    z-index: 500; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

.tutorial-block {
    color: #000000;
    position: absolute;
    padding: 20px;
}

.tutorial-block.left {
    left: 0px;
    top: 20%;
    text-align: left;
}

.tutorial-block.right {
    right: 0px;
    top: 50%;
    text-align: right;
}

.tutorial-block img {
    width: 90px;
}

.tutorial-block h3 {
    font-weight: bold;
    font-size: 18px;
}

.tutorial-block span {
    display: block;
    text-shadow: 1px 1px #999999;
}

/* Section child elements */
#article p,#article h1,#article h2,#article h3,#article h4,#article h5,#article h6,
#article img,#article video,#article audio,#article a,#article table,#article ul,#article ol,#article dl,
#article span,#article form {
    
}

#article img {
    width: 100%;
    height: auto;
}

#article p {
    -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   user-select: none;
   margin: 0px;
}

#article h1, #article h2,#article h3,#article h4,#article h5,#article h6 {
    margin: 0px;
}

#european-cookies {
    background-color: rgba(255, 255, 255, 0.25);
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 100;
    display: none;
}

#european-cookies .warning-container {
    background-color: #ffffff;
    padding: 10px;
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 200;
    
}

#european-cookies strong {
    
}

#european-cookies p {
    
}

#down-animation {
    display: none;
    position: fixed;
    bottom: 50px;
    left: 46%;
    z-index: 1900;
    width: 30px;
    height: auto;
}


/* Scroll bars */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: transparent; 
}
::-webkit-scrollbar-thumb {
    background: #337ab7;
}
::-webkit-scrollbar-thumb:hover {
    background: #5bc0de;
}

/* SEND-IT ATOMIC OBJECTS */
.atomic-object-text-view {}

.atomic-object-image-view {
    width: 100%;
    height: auto;
}

.atomic-object-video-view {
    width: 100%;
    height: auto;
}

.atomic-object-youtube-view {
    width: 100%;
    height: auto;
}

.atomic-object-sound-view {
    width: 100%;
}

.atomic-object-frame-view {
    width: 100%;
    height: auto;
}

.atomic-object-raw-view {
    width: 100%;
    height: auto;
}