/**
 * CSS styles for forms generated by yiic.
 *
 * The styles can be applied to the following form structure:
 *
 * <div class="form">
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row buttons">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 * </div>
 *
 * The above code will render the labels and input fields in separate lines.
 * In order to render them in the same line, please use the "wide" form as follows,
 *
 * <div class="wide form">
 *     ......
 * </div>
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright Copyright &copy; 2008-2010 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

::-webkit-input-placeholder {
    color:    #aaa;
}
:-moz-placeholder {
    color:    #aaa;
}
::-moz-placeholder {
    color:    #aaa;
}
:-ms-input-placeholder {
    color:    #aaa;
}
 
div.form
{
}

div.form input,
div.form textarea,
div.form select
{
	margin: 0.2em 0 0.5em 0;
}

input[type=text],
input[type=password],
input[type=file],
select{
	background-color : white;
	border : 1px solid #cacaca;
	border-radius : 5px;
	-moz-border-radius : 5px;
	-webkit-border-radius : 5px;
	box-shadow: 
		inset 0px 1px 2px #dadada,
		0px 1px 0px #fff;
	padding : 0 5px;
	height : 28px;
	width : 300px;
	margin : 0;
}

.mobile-page input[type=text],
.mobile-page input[type=password],
.mobile-page select{
	height : 32px;
}

select{
	padding: 5px 5px;
	height:30px;
	width: 200px;
}

input[type=text]:focus,
input[type=password]:focus,
select:focus{
	box-shadow: 
		inset 0px 0px 2px #dadada,		
		0px 0px 5px #66c4dF;
	border : 1px solid #66c4dF;
}

textarea {
	width : 300px;
	height : 50px;
	background-color : white;
	border : 1px solid #cacaca;
	/*height : 32px;*/
	border-radius : 5px;
	box-shadow: 
		inset 0px 1px 2px #dadada,
		0px 1px 0px #fff;
	padding : 5px 5px;
	min-width: 50px;
	margin : 0;
	font-family: Helvetica, Arial;
	font-size: 13.33px;
}


div.form fieldset
{
	border: 1px solid #DDD;
	padding: 10px;
	margin: 0 0 10px 0;
    -moz-border-radius:7px;
}

div.form label
{
	font-weight: bold;
	font-size: 0.9em;
	display: block;
}

div.form .row
{
	margin: 5px 0;
}

div.form .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

div.form .note
{
	font-style: italic;
}

div.form span.required
{
	color: red;
}

div.form div.error label:first-child,
div.form label.error,
div.form span.error
{
	color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error
{
	background: #FEE;
	border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success
{
	background: #E6EFC2;
	border-color: #C6D880;
}


/*div.form .errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
}*/

div.form .errorMessage
{
	color: red;
	font-size: 0.9em;
}

div.form .errorSummary p
{
	margin: 0;
	padding: 5px;
	line-height : 18px;
}

div.form .errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

div.wide.form label
{
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 100px;
}

div.wide.form .row
{
	clear: left;
}

div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage
{
	clear: left;
	padding-left: 110px;
}

input[type=submit],
input[type=button],
button {
	padding : 5px 10px;
	
	background: rgb(103,103,103); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY3Njc2NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzZjNmM2YiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(103,103,103,1) 0%, rgba(63,63,63,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(103,103,103,1)), color-stop(100%,rgba(63,63,63,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#676767', endColorstr='#3f3f3f',GradientType=0 ); /* IE6-8 */

	border-radius : 3px;
	border : 1px solid #3f3f3f;
	color : #f5f5f5;
	box-shadow : 
		inset 0px 1px 0 #959595,
		0 0 7px #aaa;
	cursor : pointer;
	text-shadow : 0 1px #2f2f2f;
	font-weight : bold;	
}

.mobile-page input[type=submit],
.mobile-page input[type=button],
.mobile-page button {
	padding : 7px 13px;
	font-weight : normal;
}

input[type=submit]:hover,
input[type=button]:hover,
button:hover {
	background: rgb(135,135,135); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: -moz-linear-gradient(top,  rgba(135,135,135,1) 0%, rgba(95,95,95,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(135,135,135,1)), color-stop(100%,rgba(95,95,95,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(135,135,135,1) 0%,rgba(95,95,95,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(135,135,135,1) 0%,rgba(95,95,95,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(135,135,135,1) 0%,rgba(95,95,95,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(135,135,135,1) 0%,rgba(95,95,95,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#878787', endColorstr='#5f5f5f',GradientType=0 ); /* IE6-8 */
	border : 1px solid #575757;
}

input[type=submit]:active,
input[type=button]:active,
button:active {
	background: rgb(87,87,87); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzU3NTc1NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyZjJmMmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(87,87,87,1) 0%, rgba(47,47,47,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(87,87,87,1)), color-stop(100%,rgba(47,47,47,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(87,87,87,1) 0%,rgba(47,47,47,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(87,87,87,1) 0%,rgba(47,47,47,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(87,87,87,1) 0%,rgba(47,47,47,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(87,87,87,1) 0%,rgba(47,47,47,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#575757', endColorstr='#2f2f2f',GradientType=0 ); /* IE6-8 */
}

.errorSummary {
	border-radius: 7px;	
	position : relative;
	font-weight : bold;
	overflow: hidden;
	margin-bottom : 15px;
	background : #fbd3b1;
	border : 1px solid #f5c69a;
	color : #CE2700;
	padding : 10px;
	max-width : 500px;
}

.errorSummary ul {
	font-weight: normal;
	margin : 0;
}


input.spinner{
	height: 17px;
	border: 0px !important;
	background: none;
	box-shadow: none;
}
input.spinner:focus{
	border: 0px !important;
	background: none;
	box-shadow: none;
}
span.ui-spinner{
	background-color : white;
	border : 1px solid #cacaca;
	border-radius : 5px;
	box-shadow: 0 1px 2px #DADADA inset, 0 1px 0 #FFFFFF;
}
span.ui-spinner input.error{
	background: transparent !important;
}
span.spinnerError{
	background: #FEE !important;
	border-color: #C00 !important;
}
/*span.ui-spinner:focus {
	box-shadow: inset 0px 0px 2px #dadada, 0px 0px 5px #66c4dF;
	border : 1px solid #66c4dF;
}*/
	
	div.otherTech{
		-webkit-border-radius: 5px; /* Safari, Chrome */
		-khtml-border-radius: 5px;	/* Konqueror */
		-moz-border-radius: 5px; /* Firefox */
		border-radius: 5px;
		margin-right: 10px;
		margin-bottom: 10px;
		padding: 2px;
		border: 1px solid #3f3f3f;
		color: white;
		background-color: #959595;
		display: inline-block;
		cursor: pointer;
	}


.errorSummary p {
	line-height : 18px;
}

table.operations-items{
	border: 1px solid #ccc;
}
table.operations-items th{
	color: white;
	border : 0;
	border-top : 1px solid #676767;
	border-left : 1px solid #373737;
	/*border-left : 1px solid #6a6a6a;*/
	padding : 3px;
	box-shadow: inset 0 1px 0 #888;
	height : 26px;
	
	background: rgb(103,103,103); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY3Njc2NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzZjNmM2YiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(103,103,103,1) 0%, rgba(63,63,63,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(103,103,103,1)), color-stop(100%,rgba(63,63,63,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#676767', endColorstr='#3f3f3f',GradientType=0 ); /* IE6-8 */
	
	text-align: center;
}
table.operations-items tr td{
	border: 1px solid #ccc;
	text-align: center;
}

table.operations-items tr td td{
	border: 0px solid #ccc;
}
.label_operation{
	background-color: #eee;
}
.label_operation img{
	width: 10px;
}
table.workers-contain-item{
	border-bottom: 1px solid #ddd;
	margin-bottom: 5px;
}
td.workers-contain{
	border-left: 1px dashed #676767 !important;
	border-right: 1px dashed #676767 !important;
}

#otherTechnologyList{
	border: 1px dashed #bbb;
	padding: 5px;
}

#saveInfo{
	color: red;
	text-align: right;
	font-size: 10px;
	margin-right: 5px;
	display: none;
}

.readonlyField{
	background-color: #eee !important;
	color: #575757;
}
.readonlyField:hover{
	border : 1px solid #cacaca !important;
	box-shadow: none !important;
}
.readonlyField:focus{
	border : 1px solid #cacaca !important;
	box-shadow: none !important;
}

.sym-link {
	cursor: pointer;
}
.sym-link:hover{
	text-decoration: underline;
}

.title-info{
	cursor: help;
}

.field-bullet {
	width : 32px;
	height : 32px;
	background : url('/images/bullet_arrow_down.png') 0 4px;
	position : absolute;
	top : 0;
	left : 100px;
	cursor : pointer;	
}

.drop-box-container {
	position : relative;
}

.form label.inner-hint,
label.inner-hint {
	position : absolute;
	color : #aaa;
	top : 50%;
	left : 3px;
	top : 1px;
	bottom : 1px;
	right : 1px;
	line-height: 32px;
	padding : 0 5px;
	font-size : 13px;
	font-weight : normal;
	display : block;
	cursor : text;
	-moz-user-select : none;
}

input:disabled,
textarea:disabled {
	background-color : #eaeaea;
	border : 1px solid #bbb;
	/*height : 32px;*/
	border-radius : 5px;
	box-shadow: 
		inset 0px 1px 2px #cacaca,
		0px 1px 0px #eaeaea;
	color : #999;
}

label[disabled=disabled] {
	color : #aaa;
}

table.layout {
	border-collapse: collapse;
	margin : 0;
	padding : 0;
	width : auto;
}

table.layout td {
	padding : 0;
}

/**
 * Poprawki w wyglądzie jqGrida
 */

.ui-pager-control input, 
.ui-pager-control select {
	background-color : white;
	border : 1px solid #cacaca;
	border-radius : 0;
	-moz-border-radius : 0;
	-webkit-border-radius : 0;
	box-shadow: none;
	padding : 0;
	height : 28px;
	width : auto;
	margin : 0;
}

tr.ui-search-toolbar th {
	height : 28px !important;
}

tr.ui-search-toolbar th input {
	height : 25px;
	font-size : 12px;
	padding : 0 4px !important;
	width : 100% !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}