/* BASE */
body {
	font: normal 14px/20px Tahoma, Geneva, sans-serif;
}

/*
* TODO: перезапилить все что с формами
*/
input, textarea {
	font: normal 14px/18px Tahoma, Geneva, sans-serif;
}

input[type=text] {
	border: 1px solid #a8c7e7;
	box-shadow: #e5e5e5 0 0 3px 0 inset;
	font-size: 12px;
	padding: 0 10px;
	height: 28px;
	margin: 0;
	color: #5c5c5c;
	outline: none;
}
input[type=text]:hover { box-shadow: 0 0 3px #a8c7e7; border-color: #a8c7e7; }

input[type=text]::-webkit-input-placeholder { color: #bbbbbb; font-style:italic; }
input[type=text]::-moz-placeholder { color: #bbbbbb; font-style:italic; }
input[type=text]::-ms-input-placeholder { color: #bbbbbb; font-style:italic; }

button, input[type=submit], input[type=button] {
	height: 30px;
	cursor: pointer;
	padding: 0;
	color: #175fb9;
	font-size: 12px;
	border: 1px solid #a8c7e7;
	box-shadow: #ffffff 0 1px 0 0 inset, 0 1px 2px #e5e5e5;
}
button:hover, input[type=submit]:hover, input[type=button]:hover {
	box-shadow: #ffffff 0 1px 0 0 inset, 0 0 3px #a8c7e7;
}
button:active, input[type=submit]:active, input[type=button]:active {
	box-shadow: none;
	background-image : -webkit-linear-gradient(#dff0ff, #edf6ff) #dff0ff;
	background-image : -moz-linear-gradient(#dff0ff, #edf6ff) #dff0ff;
	background-image : -o-linear-gradient(#dff0ff, #edf6ff) #dff0ff;
	background: linear-gradient(#dff0ff, #edf6ff) #dff0ff;
}
button:disabled, input[type=submit]:disabled, input[type=button]:disabled {
	color: #bbbbbb;
	border-color: #bbbbbb;
	background-image : -webkit-linear-gradient(#ffffff, #f3f3f3);
	background-image : -moz-linear-gradient(#ffffff, #f3f3f3);
	background-image : -o-linear-gradient(#ffffff, #f3f3f3);
	background: linear-gradient(#ffffff, #f3f3f3) #f3f3f3;
	box-shadow: 0 1px 2px #e5e5e5;
	cursor: default;
}
button:focus, input[type=submit]:focus, input[type=button]:focus {
	outline: none;
}

input[type="checkbox"], input[type="radio"] {
	display:none;
}
input[type="checkbox"] + label, input[type="radio"] + label {
	cursor: pointer;

}
input[type="checkbox"]:disabled + label, input[type="radio"]:disabled + label {
	color: #bbbbbb;
}
input[type="checkbox"]:checked:disabled + label, input[type="radio"]:checked:disabled + label {
	color: #5c5c5c;
}
input[type="checkbox"] + label:before, input[type="radio"] + label:before {
	content: "";
	display: inline-block;
	height: 16px;
	width: 15px;
	background: no-repeat left center;
	vertical-align: bottom;
	padding-left: 10px;
}
input[type="checkbox"] + label:before {
	background-image: url("../../img/unchecked.png");
}
input[type="checkbox"]:checked + label:before {
	background-image: url("../../img/checked.png");
}
input[type="checkbox"]:disabled + label:before {
	background-image: url("../../img/unchecked_disabled.png");
}
input[type="checkbox"]:checked:disabled + label:before {
	background-image: url("../../img/checked_disabled.png");
}
input[type="radio"] + label:before {
	background-image: url("../../img/radio.png");
}
input[type="radio"]:checked + label:before {
	background-image: url("../../img/radio_checked.png");
}
input[type="radio"]:disabled + label:before {
	background-image: url("../../img/radio_disabled.png");
}
input[type="radio"]:checked:disabled + label:before {
	background-image: url("../../img/radio_checked_disabled.png");
}

a {
	line-height: 18px;
	text-decoration: none;
}

b, strong {
	font-weight: bold;
}

hr {
	border     : 0 none;
	border-top : 1px solid #e6f3ff;
	height     : 0;
	margin     : 2px 0;
}

h1, h2, .static-page h3 {
	font: normal 30px/30px 'Poiret One';
	color: #5c5c5c;
}

.static-page h3 { 
	font-size:24px; 
}

div#header-page-title h2 {
	font: bold 24px/24px 'Tahoma';
	text-transform: uppercase;
	color: #bbbbbb;
}

p { margin:1em 0; }

p.position-description { font-size:12px; color:#5c5c5c; font-style:italic; }

span.rating { background-repeat:no-repeat; width: 70px; height: 14px; display:inline-block; vertical-align:bottom; overflow:hidden; margin:0px 10px 2px 10px; }
.rating-10,
.rating-8,
.rating-6,
.rating-4,
.rating-2,
.rating-0 { background-image:url(../../img/rating.png); }

.rating-10 { background-position: 0 0; }
.rating-8 { background-position: -14px 0; }
.rating-6 { background-position: -28px 0; }
.rating-4 { background-position: -42px 0; }
.rating-2 { background-position: -56px 0; }
.rating-0 { background-position: -70px 0; }

.rating-9,
.rating-7,
.rating-5,
.rating-3,
.rating-1 { background-image:url(../../img/rating-half.png); }

.rating-9 { background-position: 0 0; }
.rating-7 { background-position: -14px 0; }
.rating-5 { background-position: -28px 0; }
.rating-3 { background-position: -42px 0; }
.rating-1 { background-position: -56px 0; }

.base-table { width:100%; border-collapse:separate; margin:15px 0 20px; }
.base-table td,
.base-table th { border:1px solid #e5f3ff; border-bottom:none; border-right:none; text-align:left; padding:9px 10px; font-size:12px; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; vertical-align:middle; }
.base-table td { color:#5c5c5c; }
.base-table th { color:#bbb; background:#fbfdfd; }

.base-table tr:nth-child(2n+1) td { background:#fbfdfd; }

.base-table tr td:last-child,
.base-table tr th:last-child { border-right:1px solid #e5f3ff; }

.base-table tr:first-child td:first-child { border-radius:4px 0 0 0; }
.base-table tr:first-child td:last-child { border-radius:0 4px 0 0; }
.base-table tr:last-child td:first-child { border-radius:0 0 0 4px; }
.base-table tr:last-child td:last-child { border-radius:0 0 4px 0; }
.base-table tr:last-child td { border-bottom:1px solid #e5f3ff; }

.base-table tr:first-child th:first-child { border-radius:4px 0 0 0; }
.base-table tr:first-child th:last-child { border-radius:0 4px 0 0; }
.base-table tr:last-child th:first-child { border-radius:0 0 0 4px; border-bottom:1px solid #e5f3ff; }
.base-table tr:last-child th:last-child { border-radius:0 0 4px 0; border-bottom:1px solid #e5f3ff; }

.base-table td a { z-index:3; }

.clearfix:before,
.clearfix:after {
    content: " "; 
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.hidden { display: none !important; visibility: hidden; }