/*
Site:			www.kuksoolwon.de
Author:			Torsten Schrade
Created:		
Modified:		
Editor:			Torsten Schrade
Usage:			Styles for image CEs from css_styled_content - 0.3.1
*/

/* CAPTIONS */

.csc-textpic-caption,
.csc-caption,
.news-single-imgcaption {
    /* padding is particularly for IE6/Win but doesn't hurt the others */
    padding: 0.1em 0 0.9em 0;
    color: #2F3B51;
    font-size: 0.8em;
    /* IE 6 needs this so that caption doesn't crash into following text */
    line-height: 1.2em;
}

/* BORDER */

.csc-textpic img {
    padding: 1px;
    border: 1px solid #7F7F7F;
    background: #EFEFEF;
}

/* RENDERING METHOD: DL */
/* This will place the images side by side */

.csc-textpic div.csc-textpic-imagewrap .csc-textpic-image {
    float: left;
    margin: 0 0.6em 0.5em 0;	
    padding: 0;
}

.csc-textpic div.csc-textpic-imagewrap .csc-textpic-image dt {
    float: none;
}

.csc-textpic div.csc-textpic-imagewrap .csc-textpic-image dd {
    float: none;
}

.csc-textpic-image dt {
    margin: 0;
    display: inline;
}

.csc-textpic-image dd { 
    margin: 0; 
}


/* MARGINS */

.csc-textpic .csc-textpic-imagerow {
    clear: both;
}

/* No margins around the whole image-block */
.csc-textpic .csc-textpic-imagewrap .csc-textpic-firstcol {
    margin-left: 0px !important;
}

.csc-textpic .csc-textpic-imagewrap .csc-textpic-lastcol {
    margin-right: 0px !important;
    border-right: none !important;
}


/* POSITIONING */

.csc-textpic {
    position: relative;
}

/* Above */
.csc-textpic-above .csc-textpic-text {
    clear: both;
}

/* Center (above or below) */
.csc-textpic-center {
    text-align: center; /* IE-hack */ 
}

.csc-textpic-center .csc-textpic-imagewrap {
    margin: 0 auto;
}

.csc-textpic-center .csc-textpic-imagewrap .csc-textpic-image {
    text-align: left; /* Remove IE-hack */
}

.csc-textpic-center .csc-textpic-text {
    text-align: left; /* Remove IE-hack */
}

/* Right (above or below) */
.csc-textpic-right .csc-textpic-imagewrap {
    float: right;
}

.csc-textpic-right .csc-textpic-text {
    clear: right;
}

/* Left (above or below) */
.csc-textpic-left .csc-textpic-imagewrap {
    float: left;
}
.csc-textpic-left .csc-textpic-text {
    clear: left;
}

/* Left (in text) */
.csc-textpic-intext-left .csc-textpic-imagewrap {
    float: left;
}

/* Left (in text, no wrap around) */
.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap {
    float: left;
}

/* Right (in text) */
.csc-textpic-intext-right .csc-textpic-imagewrap {
    float: right;
}

/* Right (in text, no wrap around) */
.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
    float: right;
}

/* CLEARING */

/*  for Geckoes clearing is done using the content:after method; 
    in IE 7 overflow:auto is used and in IE 6 width:100%;
*/

/* LAYOUT FIXES */

/* Fix for having a straight margins also when text is higher than image */
.csc-textpic-intext-left-nowrap .csc-textpic-text {
    margin-left: 1.25em;
}

.csc-textpic-intext-right-nowrap .csc-textpic-text {
    margin-right: 1.25em;
}

.csc-textpic-intext-left .csc-textpic-imagewrap {
    margin-right: 1.25em;
}

.csc-textpic-intext-right .csc-textpic-imagewrap {
    margin-left: 1.25em;
}

/* Fix to align the beginning of the text and the top border of the image */
.csc-textpic-imagewrap {
    margin-top: 0.35em;
}

.csc-frame-columnbox2 .csc-textpic-intext-right img {
    margin-bottom: 1em;
}


/* WT_GALLERY */

.wtgallery_listpic {
    position: relative;
    margin: 0 6px 6px 0;
    border: 1px solid #AFAFAF;
    border-right-color: #8F8F8F;
    border-bottom-color: #8F8F8F;
    padding: 0;
    line-height: 0;
}

#maincontent .wtgallery_listpic img {
    position: relative;
    z-index: 5;
    border: 3px solid #EFEFEF;
}

#maincontent .wtgallery_listpic:hover img {
    border: 3px solid #333;
}

#maincontent .wtgallery_listpic .pmkslimbox {
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 15;
    width: 92pt;
    height: 93px;
}

#maincontent .wtgallery_listpic .pmkslimbox:hover {
    background: transparent url(../images/clickenlarge_small.png) top left no-repeat;
}
