/* css do komigzuf fdon */

/* podstawy
    t?o loga: #b1c8e6
    t?o og�lne: #e0e9f5 ?
    kreska pod logiem: #759ed3
    obramowanie, t?o menu: #4e76ab
    obramowanie nag?�wk�w: #7d9bc4
    czcionka: #3974a8
    aktywny wyb�r: #b0bc6b */

html, body {
    /* height: 100%; */
}

body {
    font: 11px "Verdana", "Segoe UI", sans-serif;
    background: white;
}

p {
	color: #3974a8;
    line-height: 1.5;
}

h1 {
	font: 44px "Verdana", "Segoe UI", sans-serif;
}

h2 {
	font: 22px "Verdana", "Segoe UI", sans-serif;
}

#footer p {
    color: white;
    text-align: center;
}

a {
    color: #2e568b;
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.red {
    color: red;
}

.clear {
	clear: both;
}

/* reszta badziewia */

#container {
    width: 966px;
    text-align: left;
    background: white;
    border-left: 1px solid #4e76ab;
    border-right: 1px solid #4e76ab;
    min-height: 100%;
    margin: 0 auto -19px;
}

#header {
    background: #b1c8e6;
    height: 114px;
    text-align: right;
    background-image: url('http://cleesh.org/gfx/logores.png');
}

	#header h1 {
		margin: 22px 0 0 33px;
	}

#header-line {
    background: #759ed3;
    background-image: url('http://cleesh.org/gfx/kreska.png');
    /*background-repeat: repeat-x;*/
	height: 20px;
	padding: 4px 3px 0 3px;
    border-bottom: 1px solid #4e76ab;
}

	#header-line p {
		color: white;
		width: 966px;
		padding-top: 1px;
		font-size: 10px;
	}

	#header-line a {
		background-color: #4e76ab;
		display: inline;
		float: left;
		font-weight: bold;
		color: white;
		font-size: 10px;
		margin: 0 6px 0 0;
		padding: 2px 6px 3px 6px;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
	}

	#header-line a:hover {
		background-color: #BEC086;
	}

#header-logo {
    float: left;
}

#header-login {
    background: white;
    float: right;
    margin-top: 15px;
    margin-right: 15px;
    text-align: right;
    padding: 1.0em 1.0em 0.9em 1.0em;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    width: 250px;
}

	form {
		text-align: right;
	}

	form p {
		display: inline;
		font: 10px "Verdana", "Segoe UI", sans-serif;
	}

	input {
		font: 10px "Verdana", "Segoe UI", sans-serif;
		width: 100px;
		border: 1px solid #b1c8e6;
		padding: 3px;
		color: #436598;
	}

		input.top {
			-moz-border-radius-topleft: 3px;
			-webkit-border-top-left-radius: 3px;
			-moz-border-radius-topright: 3px;
			-webkit-border-top-right-radius: 3px;
			border-bottom: 0;
		}
        input.middle {
            border-top: 1px dashed #b1c8e6;
            border-bottom: 0;
        }
        input.bottom {
            -moz-border-radius-bottomleft: 3px;
            -webkit-border-bottom-left-radius: 3px;
            -moz-border-radius-bottomright: 3px;
            -webkit-border-bottom-right-radius: 3px;
            border-top: 1px dashed #b1c8e6;
            margin-bottom: 6px;
        }

        input.both {
            -webkit-border-radius: 3px;
            -moz-border-radius-bottomleft: 3px;
            -moz-border-radius-bottomright: 3px;
            -moz-border-radius-topleft: 3px;
            -moz-border-radius-topright: 3px;
            margin-bottom: 6px;
        }
		input.confirm, input.button {
			float: right;
			display: block;
			font: 10px "Verdana", "Segoe UI", sans-serif;
			color: white;
			background: #5a7fb8;
			border: 0;
			padding: 2px 3px 3px 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
            margin-left: 3px;
		}
        input.confirm {
            background: #436598;
            font-weight: bold;
        }

		input.confirm:hover, input.button:hover {
			background: #BEC086;
		}

#menu {
    float: right;
    margin-right: 15px;
    border-right: 0.25em solid #6C89B4;
    border-left: 0.25em solid #6C89B4;
    -moz-border-radius-bottomright: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    -webkit-border-bottom-left-radius: 3px;
}

#menu li {
    display: inline;
}

#menu a {
    height: 2em;
    line-height: 2em;
    padding-left: 1em;
    padding-right: 1em;
    font-weight: bold;
    display: block;
    float: left;
    overflow: hidden;
    color: white;
    background-color: #436598;
    border-bottom: 0.25em solid #6C89B4;
    border-left: 0.125em solid #6C89B4;
}
#menu > ul > li:first-child a {
    /*This makes the first menu element drop the left border*/
    border-left: 0;
}
#menu a:hover {
    background-color: #BEC086;
}

#content {
    background-image: url('http://cleesh.org/gfx/grad.png');
    background-repeat: repeat-x;
    width: 966px;
    padding: 38px 0 0 0;
}

 /* -------------- ERROR FRAME ------------- */
.frame-error {
    border: 1px solid red;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    max-width: 920px;
    margin: 0 auto 18px auto;
}

.frame-error-header {
    color: white;
    background: #993333;
    border-bottom: 1px solid red;
    padding: 4px 8px 4px 8px;
    text-align: right;
}

.frame-error-header p {
    color: white;
}

.frame-error-content {
    color: #993333;
    padding: 6px;
}

/* -------------- CONTENT FRAME ------------- */

.frame-borderless {
    max-width: 920px;
    margin: 0 auto 18px auto;
}

.frame-main {
    border: 1px solid #7d9bc4;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    max-width: 920px;
    margin: 0 auto 18px auto;
}

	.frame-main:last-child {
	    margin-bottom: 24px; /* to żeby odsunąć trochę stopkę */
    }

    .frame-content p, .comicframe-content p {
        margin: 0 0 12px 0;
    }
    .frame-content p:last-child, .comicframe-content p:last-child {
        margin: 0 ;
    }

    .comicframe-content img { /* first-child w tym wypadku coś nie bangla w webkicie, zresztą, imo jest zbędny */
        display: block;
        margin: 0 auto;
    }

    .frame-header {
        background: #4e76ab;
        border-bottom: 1px solid #7d9bc4;
        padding: 4px 8px 4px 8px;
        text-align: right;
    }

		.up {
			width: 9px;
			height: 9px;
			background: #436598;
			border: 1px solid #7d9bc4;
			float: left;
			-moz-border-radius: 9px;
			-webkit-border-radius: 9px;
			margin: 3px 0 0 6px;
		}

		.frame-header p {
			margin: 0;
			color: white;
			text-align: right;
		}

		.frame-header p a {
			color: white;
			font-weight: bold;
		}

    .frame-content, .comicframe-content {
        padding: 6px;
    }

    .frame-content ul {
        margin-top: -1em;
        margin-left: 20px;
        list-style: square;
        color: #3974a8;
    }

    .frame-floater {
        float: left;
        color: white;
    }

	.frame-main input.confirm {
		margin: 12px 12px 0 0;
	}

	input.checkbox {
		color: #436598;
		display: inline;
		margin: 3px 6px 0 12px;
		vertical-align: text-bottom;
	}

	.frame-main form p {
		margin: 0;
	}

	.frame-main input.checkbox:first-child {
		margin-top: 12px;
	}

	input#regusername {
		-moz-border-radius-topleft: 3px;
		-webkit-border-top-left-radius: 3px;
		-moz-border-radius-topright: 3px;
		-webkit-border-top-right-radius: 3px;
		border-bottom: 0;
	}

	input#regpassword {
		border-top: 1px dashed #b1c8e6;
		border-bottom: 0;
	}

	input#regemail {
		-moz-border-radius-bottomleft: 3px;
		-webkit-border-bottom-left-radius: 3px;
		-moz-border-radius-bottomright: 3px;
		-webkit-border-bottom-right-radius: 3px;
		border-top: 1px dashed #b1c8e6;
		margin-bottom: 6px;
	}

	form#register {
		padding: 0 12px;
	}

		form#register input.confirm {
			margin-right: 0;
		}

		form#register input.checkbox {
			margin-top: 8px;
			text-align: left;
		}

/* -------------- CONFIGURATION ------------------- */


#footer, .push {
    height: 18px;
}

#footer {
    width: 966px;
    margin: 0 auto;
    background: #759ed3;
    background-image: url('http://cleesh.org/gfx/kreska.png');
    background-repeat: repeat-x;
    border-top: 1px solid #4e76ab;
    padding: 1px 0 0 0;
}

.stream-separator hr {
    color: red;
    background-color: #a52a2a;
    width: 85%
}

.stream-separator div {
    margin: 0 auto;
    position: relative;
    top: -1.5em; 
    width:100px;
    color:red;
    background: white;
    text-align:center
}

#comic-list {
    overflow: auto;
    margin: 5px auto 5px auto;
}

.comic-item {
    border: 3px solid #4e76ab;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    float: left;
    opacity: 0.5;
    width: 205px;
    margin: 3px;
    padding: 2px;
}

.comic-item > img {
    width: 64px;
    height: 64px;
    border: 1px solid black;
    margin: 0 2px 2px 0;
    float: left;
}

.comic-info em {
    font-size: 8px;
}

.comic-selected {
    opacity: 1;
    border-color: green;
}

#comic-order li {
    width: 64px;
    height: 64px;
    margin: 2px;
    border: 1px solid black;
    float: left;
}

.placeHolder {
    border: 1px dashed #7d9bc4;
}

#comic-order {
    list-style-type: none;
}
#comic-order img {
    width: 64px;
    height: 64px;
    overflow: auto;
}
#configuration-changed {
    clear: left;
    display: none;
}

/* modal window */

/* Z-index of #mask must lower than #boxes .window */
#mask {
  position:absolute;
  z-index:9000;
  background-color:#000;
  display:none;
}

#boxes .window {
  position:absolute;
  width:440px;
  height:200px;
  display:none;
  z-index:9999;
  padding:20px;
}


/* Customize your modal window here, you can add background image too */
#boxes #dialog {
  width:800px;
  height:400px;
}

#dialog {
    background-color: white;
    overflow: auto;
}


/*special comic hacks */
.feedflare img {
    /*wulff*/
    display: inline;
    margin:0;
}
