html {
 color: #222;
 font-size: 1em;
 line-height: 1.4;
 background-color: #ffffff;
	/* 637136; background-image: url(/base/user/img/hg_foto.jpg); */
	background-repeat: repeat-y;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    /* resize: vertical; */
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
a:link, a:visited, a:active {
	color:#000000;
	text-decoration:none;
}

a:hover {
	color:#003000;
	text-decoration:none;
}


#menuoben	{
 margin: 0em auto;
 width: 1200px;
 height: 40px;
 border: 0px solid green;
 text-align: left;
 background-color: #ffffff;
 overflow: hidden;
}

#menuoben div	{
 display: block;
 float: left;
 width: 118px;
 height: 38px;
 border: 1px solid #ffffff;
}

#aus_menuoben div:hover {
 border: 1px solid green;
}

#menuoben a	{
 color: #3d85c6;
 padding-left: 4px;
 font-weight: bold;
 font-size: 1.46em;
 letter-spacing: -0.08em;
 font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#menuoben a:hover	{
 color: blue;
 text-decoration: underline;
}


#container	{
 margin: 0em auto;
 width: 1200px;
 height: 840px;
 border: 0px solid green;
 text-align: left;
 background-color: 0;
 overflow: hidden;
}

/* Homepage */
#home_header	{
 position: relative;
 width: 100%;
 height: 280px;
 vertical-align:bottom;
 border: 0px solid white;
 overflow:hidden;
}
#home_mitte		{
 clear: both;
 width: 100%;
 height: 280px;
 padding: 0px;
 border: 0px solid white;
 color: #ffffff;
}
#home_footer		{
 clear: both;
 width: 100%;
 height: 280px;
 padding: 0px;
 border: 0px solid white;
 color: #ffffff;
}

span.home_vs a img {
 width: 400px;
 height: 280px;
}

span.home_vs a:hover img {
 width: 398px;
 height: 278px;
 border: 1px dotted black;
}




#header	{
 position: relative;
 width: 100%;
 height: 120px;
 vertical-align:bottom;
 border: 0px solid white;
 overflow:hidden;
}

#links {
 position: relative;
 float: left;
 width: 240px;
 height: 600px;
 color: #ffffff;
 background-color: 0;
 border: 0px solid red;
 overflow:hidden;
}
#mitte_vs {
 float: left;
	width: 720px;  /*720*/
 height: 600px; /*600*/
 border: 0px solid #000000;
 overflow:hidden;
 display: block;
}
#mitte{
 float: left;
	width: 716px;  /*720*/
 height: 596px; /*600*/
 border: 2px solid #000000;
 background-color: #d9d9d9;
 overflow:hidden; 
 display: none;
}

#rechts{
 float: left;
	width: 240px;
 height: 600px;
 overflow:visible;
 border: 0px solid green;
 overflow:hidden;
}

#footer		{
 clear: both;
 width: 100%;
 height: 120px;
 padding: 0px;
 border: 0px solid white;
 color: #ffffff;
}	

#menuunder	{
 margin: 0em auto;
 width: 1200px;
 height: 40px;
 border: 0px solid green;
 text-align: left;
 background-color: #ffffff;
 overflow: hidden;
}

#menuunder a	{
 color: #3d85c6;
 padding-left: 4px;
 font-weight: bold;
 font-size: 1.46em;
 letter-spacing: -0.08em;
 font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#menuunder a:hover	{
 color: blue;
 text-decoration: underline;
}



/* Vorschau */
span.vs a img {
 width: 120px;
 height: 120px;
}

span.vs a:hover img {
 width: 118px;
 height: 118px;
 border: 1px dotted black;
}


 /* Editierbereich */

#mal_oben {
 position: relative;
 float: left;
 width: 714px;
 height: 26px;
 border: 1px solid #d9d9d9;
 text-align: right;
}
#malrahmen {
 position: relative;
 float: left;
 width: 540px;
 height: 540px;
 border: 1px solid green;
}
#malrahmen div {
 float: left;
 width: 9px;
 height:9px;
 color:#000000;
 background-color:#FFFFFF; 
	cursor: crosshair;
}

#malbedien {
 position: relative;
 float: left;
 width: 144px;
 height: 540px;
 border: 1px solid #d9d9d9;
 text-align: right;
}

#malbedien td.l {
 width: 60px;
 height: 40px;
 border: 0px solid red;
 text-align: right;
}

#malbedien td.r {
 width: 70px;
 height: 40px;
 border: 0px solid red;
 text-align: left;
}

#malbedien p.info {
 font-size: x-small;
 font-family: Verdana, Geneva, Tahoma, sans-serif;
 padding-top:30px;
 padding:10px;
 border: 0px solid red;
}  
#malbedien .archivvorschau {
 position: relative;
 width: 140px;
 height: 160px;
 padding-right:10px;
 border: 0px solid red;
 text-align: right;
}
#malbedien .archivvorschau a img {
 margin:2px;
 border: 1px solid black;
}

#malbedien .archivvorschau a:hover img {
 border: 1px dotted black;
}



#mal_rechts {
 position: relative;
 float: left;
 width: 26px;
 height: 540px;
 border: 1px solid #d9d9d9;
}
#mal_rechts div {
 position: relative;
 float: left;
 width: 10px;
 height:10px;
 color:#000000;
	cursor: pointer;
 border: 1px solid #d9d9d9;
}
#mal_unten {
 position: relative;
 float: left;
 text-align: right;
 width: 714px;
 height: 26px;
 border: 1px solid #d9d9d9;
}




/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('/base/user/img/load.gif') 
                50% 50% 
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
