/* GENERAL */
*{
	margin: 0px auto;
	padding: 0px;
	border: 0px;
	font-family: Calibri, Museo500, Trebuchet MS, Helvetica, Arial, Verdana, Sans-Serif;
	font-size: 16px;
}
img{
	border: 0;
	-ms-interpolation-mode: bicubic;
}
body{
	background: #f6f6f4; 
	color: #231f20;
	text-align: center; 
	-webkit-text-size-adjust: 100%;
	overflow-y: scroll;
}
table{
	width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}
hr{
	height: 1px;
	margin: 2px 0px;
	background-color: #0089c5;
	color: #0089c5;
}
iframe{
	width:100%;
	height: 100%;
}
/* COMMON */
.content{
	width: 1024px;	
}
.clear:after{
	content: '.';
	display: block;
	height: 0;
	clear: both;
	visibility: hidden; 
	font-size: 0px;
}
.clear{
	display:block;
}
.round-corners-8{
	border-radius: 8px; 
	-moz-border-radius: 8px; 
	-webkit-border-radius: 8px;
	-o-border-radius: 8px;
}
.in-edit{
	background: #ffbc3e;
	border: 1px solid #FFA200;
	color: #FFFFFF;
}
.mailingScrollList{
	width: 100%; 
	max-height: 100px; 
	overflow-x: hidden; 
	overflow-y: auto;
	text-align: justify;
}

.highlightWorld{
	font-size: 1em;
	background: #ffbc3e;
	border-radius: 2px; 
	-moz-border-radius: 2px; 
	-webkit-border-radius: 2px;
	-o-border-radius: 2px;
}

.inProgressDiv img{
	overflow-x: hidden; 
	overflow-y: hidden;
	width: 22px;
	height:  22px;
	margin: 5px;
	padding: 3px;
	background: #fff;
	border-radius: 100px; 
	-moz-border-radius: 100px; 
	-webkit-border-radius: 100px;
	-o-border-radius: 100px;
}

/* LAYERS */
.layer-bg{
	display: block;
	position: fixed;
	z-index: 100;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
}
.layer-window-center{
	display: block;
	position: fixed;
	z-index: 200;
	top: 10px;
	left: 0px;
	width: 100%;
	height: 100%;
	text-align: center;
}
.layer-window{
	display: inline-block;
	position: relative;
	z-index: 300;
	vertical-align: middle;
}

/* index */
#index{
	position: absolute;
	display: block;
	z-index: 400;
	width: 1024px;
	height: 576px;
	background: url(../index.jpg);
	background-size: 1024px 576px;
	-webkit-overflow-scrolling: touch;
}
#index .form{
	position:absolute;
	display: block;
	z-index:410;
	top: 275px;
	left: 255px;
}
#index .form .message{
	width: 100%;
	height: 25px;
	line-height: 25px;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
	color: #e23b30;
	background: #f6c4c0;
	border: 1px solid #e23b30;
	border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px;
	-o-border-radius: 4px;
}
#index .form .messageEmpty{
	height: 27px;
}
#index .form .login{
	height: 125px;
	margin-top: 10px;
}
#index .form .login .input{
	padding-bottom: 8px;
	text-align: left;
}
#index .form .login .submit{
	margin-top: 2px;
	text-align: center;
}

/* SITE */
/* header */
#header{
	width: 100%;
	height: 65px;
	background: url(../headerBG.png);
	background-size: 1024px 65px;
}
#header .links{
	float: right;
	height: 25px;
	margin: 26px 10px 0px 0px;
}
#header .user{
	float: right;
	margin: 26px 50px 0px 0px;
}
#header .user .text{
	display: table-cell; 
	height: 18px;
	vertical-align: middle; 
}

/* navigation */
#stickyMenu {
	top: 0px;
	position:static;
	z-index: 99;
}
#stickyMenu.sticky{
	position: fixed;
	top: 0px;
	left: 0;
	right: 0;
}

#navigation{
	background: #231f20;
	width: 100%;
	font-weight: bold;
}
#navigation ul{
	list-style-type: none;
	background: #231f20;
	width: 100%;
}
#navigation ul li{
	display: inline;
}
#navigation ul li a{ 
	display: block;
	float: left;
	width: auto;
	margin-bottom: -4px;
	padding-bottom: 4px; 
	color: #fff;
}
#navigation ul li a span{
	display: table-cell;
	height: 40px;
	vertical-align: middle;
	padding: 0px 10px;
}
#navigation ul li a:hover, #navigation ul li a:focus, #navigation ul li a:active, #navigation ul li.selected a{
	position: relative;
	background: url(../nav-active.png) no-repeat center bottom;
}
#navigation ul li a:hover span, #navigation ul li a:focus span,#navigation ul li a:active span, #navigation ul li.selected a span{
	background: #0089c5;
}

/* panel */
#panel, #error-bar{
	height: 40px;
	background: rgb(166, 193, 211);
	border: 1px solid rgb(166, 193, 211);
	border-left: 1px solid #231f20;
	border-right: 1px solid #231f20;
}
#panel .left{
	display: inline;
	float: left;
	margin-top: 3px;
}
#panel .center{
	display: inline;
	width: 100%;
	text-align: center;
}
#panel .right{
	display:inline;
	float: right;
	margin-top: 3px;
}
#panel .text{
	display: table-cell;
	height: 35px;
	padding: 0px 10px;
	vertical-align: middle;
	text-align: center;
}

/* search suggest */
#searchSuggestDiv {
	min-width:300px;
	max-width: 800px;
	position: absolute; 
	background-color: #F4F4F2; 
	text-align: left;
	border: 1px solid #747679;
	border-bottom: 0px;
	visibility: hidden;
	
	border-radius: 5px; 
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	
	box-shadow: 5px 5px 10px 5px #888888;
	-moz-box-shadow:    5px 3px 10px 5px #888888;
	-webkit-box-shadow: 5px 3px 10px 5px #888888;
}
#searchSuggestDiv .suggest_link {
	background-color: #F4F4F2;
	padding: 2px 6px 2px 6px;
	border-bottom: 1px solid #747679;
}
#searchSuggestDiv .suggest_link_over {
	background-color: #c3d3de;
	padding: 2px 6px 2px 6px;
	cursor: pointer;
	border-bottom: 1px solid #747679;
}

/* adv search*/
#adv_search{
	width: 100%;
	background: #cfdbe4;
	border-top: 1px solid #747679;
	text-align: left;
}
#adv_search .left{
	clear: both;
	display: block;
	float: left;
	margin: 7px 10px;
	text-align: left;
}
#adv_search .SearchButtons{
	clear: both;
	display: block;
	float: left;
	width: 100%;
	margin: 20px 0px 7px 0px;
	text-align: center;
}

/* error-bar */
#error-bar{
	padding: 15px 0px;
	border-bottom: 1px solid #231f20;
}

/* container */
#container{
	display: block;
	border: 1px solid #231f20;
	border-bottom: 0px;
	border-top: 0px;
	color: #000;
	text-align: left;
	font-weight: normal;
	overflow: hidden;
	background: #8c8d8e;
}
#container-content{
	background: #cfdbe4;
}
#container #window{
	padding: 7px 7px;
}

/* main table */
#main-table thead{
	background-color: #afafaf;
	font-weight: bold;
	top:115px;
	
	z-index: 1;
	width:100%;
}
#main-table thead td{
	border-top: 1px solid #747679;
	border-bottom: 1px solid #747679;
	padding: 0px 2px;
	text-align: center;
	height: 38px;
	white-space: nowrap;
}
#main-table thead .link{
	padding: 0px 12px 0px 5px;
	/*poprawne wszytkie link tutaj... width: 55px; stara baza 80px*/
	width: 55px;
}
#main-table tbody{
	background: #f4f4f2;
}
#main-table tbody tr:hover{
	background-color: #a8c0e2;
}
#main-table tbody tr{
	border-bottom: 1px solid #747679;
}
#main-table tbody td{
	padding: 0px 2px;
	height: 40px;
	text-align: center;
}
#main-table tbody .link{
	padding: 0px 12px 0px 5px;
	width: 55px;
}
#main-table-clone thead{
	background-color: #afafaf;
	font-weight:bold;
	visibility: visible;
	pointer-events: auto;
}
#main-table-clone thead td{
	border-top: 1px solid #747679;
	border-bottom: 1px solid #747679;
	padding: 0px 2px;
	text-align: center;
	height: 38px;
	white-space: nowrap;
}
#main-table-clone thead .link{
	padding: 0px 12px 0px 5px;
	width: 55px;
}

/* main table */
#product-table thead{
	background-color: #bfbfbf;
}
#product-table thead td{
	border-top: 1px solid #8c8c8c;
	border-bottom: 1px solid #8c8c8c;
	padding: 0px 5px;
	padding: 0px 5px;
	text-align: left;
	height: 45px;
	white-space: nowrap;
}
#product-table thead .link{
	padding: 0px 12px 0px 5px;
	width: 60px;
}
#product-table tbody{
	background: #f4f4f2;
}
#product-table tbody tr:hover, tr:focus{
	background-color: #a8c0e2;
}
#product-table tbody tr{
	border-bottom: 1px solid #8c8c8c;
}
#product-table tbody td{
	padding: 0px 0px 0px 10px;
	height: 35px;
	text-align: left;
	font-size: 0.85em;
}
#product-table #main-table tbody > tr:nth-last-child(1) { 
	border-bottom: 0px;
}
#product-table tbody .link{
	padding: 0px 12px 0px 5px;
	width: 60px;
}

/* DETALIS */
/* navigation */
#detalis-navigation{
	float: left;
	background: #8c8d8e;
}
#detalis-navigation #links{
	color: #fff;
}
#detalis-navigation #links ul{
	list-style-type:none;
}
#detalis-navigation #links ul li{
	display:table;
	width:100%;
}
#detalis-navigation #links ul li a{
	display:block;
	float:left;
	width: 100%;
	margin-right:-4px;
	padding-right:4px; 
	color:#fff;
}
#detalis-navigation #links ul li a span{
	display: table-cell;
	vertical-align: middle;
	padding: 0px 0px 0px 10px;
	width: 90px;
	height: 40px;
}
#detalis-navigation #links ul li a:hover, #detalis-navigation #links ul li a:focus, #detalis-navigation #links ul li a:active, #detalis-navigation #links ul li.selected a {
	background:url(../nav-active-right.png) no-repeat center right;
	position: relative;
}
#detalis-navigation #links ul li a:hover span, #detalis-navigation #links ul li a:focus span,#detalis-navigation #links ul li a:active span, #detalis-navigation #links ul li.selected a span {
	background-color:#5bb41d;
}

/* container */
#detalis-standard{
	display: inline;
	width: 924px;
	float: left;
	background: #cfdbe4;
	min-height:300px;
}
#detalis-standard #window{
	width: 904px;
}
#detalis-standard #window .iframe-PDF{
	width: 100%;
	height: 400px;
}

/* table */
#detalis-table{	
}
#detalis-table .group{
	padding: 8px 0px;
	vertical-align: top;
}
#detalis-table .title{
	font-size: 1.2em;
	font-weight: bold;
	text-align: left;
}
#detalis-table .element{
	margin: 6px 0px;
}
#detalis-table .element td{
	vertical-align: middle; /*top*/
}
#detalis-table .element input[type="text"], #detalis-table .element input[type="password"]{
	width: 100%;
}
#detalis-table .element textarea{
	width: 100%;
}
#detalis-table .element .nowrap{
	width: 1px;
	text-align: left;
	white-space: nowrap;
}
#detalis-table .element .underline{
	border-bottom: 1px dashed #000000;
	text-align: justify;
	text-indent: 5px;
}
#detalis-table  .inputs td{
	height: 30px;
	vertical-align: middle;
}
#detalis-table .row-underline{
	border-bottom: 1px dashed #747679;
}

/* table row */
.table-row{
	
}
.table-row caption{
	caption-side: top;
	padding: 7px 0px 5px 0px; 
	font-weight: bold;
	text-align: left;
	text-decoration: underline;
}
.table-row thead td{
	height: 25px;
	padding: 0px 2px;
	border-top: 1px solid #747679;
	border-bottom: 1px solid #747679;
	text-align: center;
	background-color: #afafaf;
	font-weight:bold;
}
.table-row tbody td{
	height: 35px;
	padding: 0px 2px;
	border-bottom: 1px solid #747679;
	vertical-align: middle;
	text-align: center;
	background: #f4f4f2;
}
.table-row tfoot td{
	height: 30px;
	padding: 5px 0px 0px 0px;
	text-align: center;
}
.table-row .tfoot td{
	height: 25px;
	background-color: #afafaf;
	font-weight: bold;
}
.table-row .left{
	text-align: left;
	padding-left: 10px;
}
.table-row .right{
	text-align: right;
	padding-right: 10px;
}
.table-row .justify{
	text-align: justify;
	padding-left: 10px;
	padding-right: 10px;
}

/* calendar */
#calendar, #calendar-clone{
	border-spacing: 1px;
	border-collapse: separate;
	margin-top: -1px;
}
#calendar .head td, #calendar .hour-2-0, #calendar .hour-2-1, #calendar-clone .head td{
	background: #c6c8ca;
	border-top: 1px solid #cfdbe4;
	border-bottom: 1px solid #cfdbe4;
	color:#000000;
	vertical-align: middle;
	text-align: center;
}
#calendar .hour-2-0, #calendar .hour-2-1{
	border: 0px;
}
#calendar .hour-1-0, #calendar .hour-1-1{
	background: #f5f6f6;
	color:#000000;
	vertical-align: middle;
	text-align: center;
}
#calendar .green-cell, .green-field{
	background: #0f980f;
	border: 1px solid #0f980f;
}
#calendar .green-field a{
	color:#FFFFFF;
}
#calendar .green-field:hover{
	background: #cfeacf;
	border: 1px solid #0f980f;
}
#calendar .green-field:hover a{
	color: #0f980f;
}
#calendar .blue-cell, .blue-field{
	background: #3f7cc1;
	border: 1px solid #3f7cc1;
}
#calendar .blue-field a{
	color:#FFFFFF;
}
#calendar .blue-field:hover{
	background: #e9f0f8;
	border: 1px solid #3f7cc1;
}
#calendar .blue-field:hover a{
	color: #3f7cc1;
}
#calendar .red-ribbon{
	padding: 1px 2px;
	background: #f6c4c0;
	color: #E23B30;
	font-size: 11px;
	font-weight: bold;
	border: 1px solid #E23B30;
}
#calendar .green-ribbon{
	padding: 1px 2px;
	background: #cfeacf;
	color: #0f980f;
	font-size: 11px;
	font-weight: bold;
	border: 1px solid #0f980f;
}
#calendar .blue-ribbon{
	padding: 1px 2px;
	background: #e9f0f8;
	color: #3f7cc1;
	font-size: 11px;
	font-weight: bold;
	border: 1px solid #3f7cc1;
}

/* footer */
#footer{
	padding: 2px 0px;
	font-size: 9px; 
	color: #8c8d8e; 
	background: #f4f4f2; 
	text-align: center;
	margin-bottom: 7px;
	border: 1px solid #231f20;
	border-top: 0px;
}

#overlay {
	display: block;
	position: fixed;
	z-index: 1000;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	background: url(../overlay.png);
}
#overlay #overlayWindow {
	display: block;
	position: fixed;
	z-index: 1100;
	top: 10px;
	left: 0px;
	width: 100%;
	height: 100%;
	text-align: center;
}
#overlay #overlayWindow #inner {
	display: inline-block;
	position: relative;
	z-index: 1200;
	vertical-align: middle;
	overflow-x: auto; 
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	padding: 4px 3px 6px 3px;
	background-color: #cfdbe4;
	border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px;
	-o-border-radius: 4px;
}
#overlay #overlayWindow #inner .closeX{
	display: block; 
	position: relative; 
	z-index: 1210;
	float: left;
	width: 100%;
	margin: -2px 0px 0px -3px;
	text-align: right;
}
#overlay #overlayWindow #inner .overlayText{
	display: block; 
	position: relative; 
	z-index: 1210;
	float: left;
	width: 100%;
	background-color: #f6f6f4;
	border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px;
	-o-border-radius: 4px;
}
#overlay #overlayWindow #inner .closeButton{
	display: block; 
	position: relative; 
	z-index: 1210;
	float: left;
	padding-top: 10px; 	
	text-align: center; 
	width: 100%;
	height: 25px;
}

#overlay-in-progress {
	display: table;
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background: url(../overlay.png);
}
#overlay-in-progress #window{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
#overlay-in-progress #window #inner{
	overflow-x: hidden; 
	overflow-y: hidden;
	width: 42px;
	height:  42px;
	padding: 8px;
	background: #fff;
	border-radius: 100px; 
	-moz-border-radius: 100px; 
	-webkit-border-radius: 100px;
	-o-border-radius: 100px;
}

#mailingSendAjaxIMG{
	width: 15px;
	height:  15px;
	padding: 1px;
	background: #fff;
	border-radius: 100px; 
	-moz-border-radius: 100px; 
	-webkit-border-radius: 100px;
	-o-border-radius: 100px;
}

#unsubscribe-image{
	width:650px;
	height: 310px;
	z-index:2;
	position: absolute;
	background: url(../mailingUnsubscribe.jpg);
	background-size: 650px 310px;
	border-radius: 8px; 
	-moz-border-radius: 8px; 
	-webkit-border-radius: 8px;
	-o-border-radius: 8px;
}
#unsubscribe-text{
	width: 650px; 
	background-color:#f6f6f4; 
	z-index:1; 
	position:relative;
	top: 290px;
	padding-top: 30px;
	border-radius: 8px; 
	-moz-border-radius: 8px; 
	-webkit-border-radius: 8px;
	-o-border-radius: 8px;
}
#unsubscribe-text .center{
	height: 65px;
	text-align: center;
}

#msg-error{
	width: 100%;
	margin-bottom: 5px;
	text-align: left;
	vertical-align: middle;
	font-weight: normal;
	color: #e23b30;
	background: #f6c4c0;
	border: 1px solid #e23b30;
	border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px;
	-o-border-radius: 4px;
}
