/*
	Theme Name: headex
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* html element 62.5% font-size for REM use */
html {
	font-size: 62.5%;
}

body {
	background: url('img/page-bg.jpg') no-repeat top center transparent;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	color: #666;
}

body.home {
	background-position: center 750px;
}

/* clear */
.clear:before,
.clear:after {
	content: ' ';
	display: table;
}

.clear:after {
	clear: both;
}

.clear {
	*zoom: 1;
}

img {
	max-width: 100%;
	vertical-align: bottom;
	height: auto;
}

a {
	color: #01aff8;
	text-decoration: none;
}

a:hover {
	color: #17479b;
}

a:focus {
	outline: 0;
}

a:hover,
a:active {
	outline: 0;
	color: #17479b;
}

input:focus {
	outline: 0;
	border: 1px solid #04A4CC;
}

.recommend_form .success,
.recommend_form .error,
.recommend_confirm_form .success,
.recommend_confirm_form .error {
	padding: 10px;
	display: none;
}

.recommend_confirm_form .title {
	padding: 10px;
	font-size: 16px;
}

.recommend_form .success ol li {
	font-size: 16px;
	line-height: 25px;
	color: #FFF;
}

.recommend_form .success ol {
	padding-left: 20px;
}

.recommend_form .copy_success {
	font-size: 16px;
	line-height: 23px;
	color: #FFF;
	display: none;
}

.recommend_form .copy_button {
	width: 223px;
	height: 43px;
	outline: none;
	border: none;
	background-color: #17479b;
	color: #fff;
	font-size: 14px;
	display: block;
	text-align: center;
	line-height: 43px;
	letter-spacing: 0.5px;
	font-style: italic;
	text-transform: uppercase;

}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width: 1172px;
	width: 95%;
	margin: 0 auto;
	position: relative;
	background-color: #fff;
}

.single-post .wrapper {
	max-width: 960px;
}

.single-post .wrapper article.post {
	background: url('img/post-bg.png') no-repeat 0 150px #fff;
	padding: 30px;
	width: 100%;
	display: inline-block;
}

h1 {
	color: #17479b;
	font-size: 24px;
	font-weight: 500;
	font-style: italic;
	text-transform: uppercase;
	margin-bottom: 30px;
}

/* header */
.header {
	position: relative;
	z-index: 100000;
}

/* logo */
.logo {
	float: left;
}

.logo-img {
	margin: 30px 0 0 150px;
}

.single-post .wrapper .logo-img {
	margin: 30px 0 0 30px;
}

/* nav */
.nav {
	float: left;
	margin-top: 30px;
	margin-left: 0px;
}

.nav ul {
	list-style: none;
}

.nav ul li {
	display: inline;
	float: left;
	padding: 0 18px 0 14px;
	background: url('img/menu-border.png') no-repeat right 3px transparent;
}

.nav ul li:last-child {
	background: none;
}

.nav ul li a {
	font-weight: 400;
	font-size: 14px;
	font-style: italic;
	color: #17479b;
	text-transform: uppercase;
}

/* sidebar */
.sidebar {}

/* footer */
.footer {
	width: 100%;
	padding: 10px 20px 20px;
	background-color: #fff;
	display: block;
	float: left;
	margin-top: 65px;
	color: #999;
}

.single-post .footer {
	box-shadow: 0 -5px 10px #ccc;
}

.copyright {
	float: left;
}

p.contacts {
	float: right;
}

p.contacts a {
	color: #01aff8;
}

p.contacts a:hover {
	color: #17479b;
}

.wrapper2 {
	margin: 0 auto;
	max-width: 1034px;
	position: relative;
	width: 95%;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family: 'Font-Name';
	src: url('fonts/font-name.eot');
	src: url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
	font-weight: normal;
	font-style: normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {}

@media only screen and (min-width:480px) {}

@media only screen and (max-width:767px) {
	.nav {
		margin-left: 0;
		margin-bottom: 20px;
		float: none;
	}

	.header {
		text-align: center;
	}

	.logo {
		float: none;
	}

	.nav ul li {
		float: none;
	}

	.logo-img {
		margin: 20px 0 0 0;
	}

	#custom-block {
		display: block !important;
		float: none !important;
		margin: 65px auto 20px !important;
	}

	.form-blocks {
		width: 100% !important;
	}

	.align-right {
		text-align: left !important;
		margin-top: 30px;
	}

	.footer {
		padding-top: 20px !important;
	}

	a.questions {
		top: -42px !important;
	}

	p.contacts {
		float: left !important;
	}

	#custom-block {
		min-height: 330px !important;
	}

	#center-block {
		padding: 0 !important;
	}

	#center-block .blocks {
		width: 231px;
		margin: 50px auto;
		float: none !important;
	}

	.registration {
		font-size: 24px !important;
	}

	.nav ul li {
		background: none !important;
		display: list-item;
		padding: 0 18px 0 14px;
		margin-top: 20px;
	}

	#button-dalyvauti {
		left: 0 !important;
		margin: 0 auto !important;
		right: 0 !important;
	}

	#suma,
	#vietos,
	#darbo-vieta {
		float: none !important;
		margin: 30px auto 35px !important;
	}

	.custom-block-bottom {
		padding: 15px !important;
	}

	.custom-block-bottom img.foto {
		float: none !important;
		margin: 0 auto !important;
		display: block !important;
	}
}

@media only screen and (max-width:991px) {

	#left,
	#right {
		float: none !important;
		margin: 0 auto !important;
	}

	#right {
		margin-top: 40px !important;
	}

	.items {
		float: none !important;
		display: inline-block !important;
	}

	#slider {
		top: 0 !important;
	}

	#center-block {
		margin-top: 0 !important;
	}
}

@media only screen and (min-width:1024px) {}

@media only screen and (min-width:1140px) {}

@media only screen and (min-width:1280px) {}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
only screen and (min-resolution:144dpi) {}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background: #04A4CC;
	color: #FFF;
	text-shadow: none;
}

::-webkit-selection {
	background: #04A4CC;
	color: #FFF;
	text-shadow: none;
}

::-moz-selection {
	background: #04A4CC;
	color: #FFF;
	text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: #FFF;
	border: 1px solid #F0F0F0;
	max-width: 96%;
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.sticky {}

.bypostauthor {}

#slider img {
	max-width: 1172px;
	width: 100%;
}

#center-block {
	display: block;
	//float: left;
	max-width: 1172px;
	padding: 0 100px 40px;
	width: 100%;
	margin-top: -25px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
}

.blocks {
	display: inline-block;
	width: 33%;
	text-align: center;
	margin-top: 45px;
}

.registration {
	max-width: 1172px;
	width: 100%;
	font-size: 50px;
	color: #14439d;
	text-align: center;
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 3px;
	display: inline-block;
	margin-bottom: 50px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.registration.bg {
	background: url('img/border.png') no-repeat center center transparent;
	font-size: 12px;
	text-transfrom: uppercase;
	font-weight: 400;
	letter-spacing: 1px;
	margin-bottom: 50px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.registration.bg a {
	text-decoration: underline;
}

.registration.inpost {
	color: #fff;
	margin: 40px auto;
	display: block;
}

#slider {
	position: relative;
	top: -25px;
}

#button-sarasas {
	background: url('img/button-sarasas.png') no-repeat 0 0 transparent;
	width: 173px;
	height: 43px;
	display: block;
	position: absolute;
	left: 0%;
	top: 90%;
}

#button-sarasas:hover {
	background-position: 0 -43px;
}

.wpcf7-submit {
	background: url('img/rekomenduok-drauga-vidinis.png') no-repeat 0 0 transparent;
	display: inline-block;
	width: 223px;
	height: 43px;
	border: none;
}

/*.wpcf7-submit:hover {
	background-position:0 -53px;
}*/
input:focus {
	border: none;
}

#wpcf7-f12-o1 {
	background-color: #fff;
	max-width: 648px;
	width: 100%;
	min-height: 282px;
	height: auto;
	box-shadow: 0 0 10px #555;
	padding: 40px 23px 13px;
	display: inline-block;
	position: relative;
	margin-top: 65px;
}

.left {
	float: left;
}

.align-right {
	text-align: right;
}

div.wpcf7 img.ajax-loader {
	position: absolute;
	right: -22px;
}

.wpcf7-text {
	border: none;
	background: #fff;
	font-size: 14px;
	height: 42px;
	width: 100%;
	padding: 0 10px;
	margin-top: 10px;
}

.tekstas textarea {
	border: none;
	background: #fff;
	font-size: 14px;
	height: 142px;
	width: 100%;
	padding: 10px;
	margin-top: 10px;
}

.full-width {
	padding-left: 10px;
	padding-right: 10px;
	display: inline-block;
	width: 100%;
	margin-bottom: 10px;
}

.form-blocks {
	width: 50%;
	float: left;
	display: inline-block;
	color: #17479b;
	font-size: 14px;
	font-weight: 500;
}

.wpcf7-list-item-label {
	color: #17479b;
	font-size: 14px;
	font-weight: 500;
}

.form-blocks.padding {
	padding-left: 10px;
	padding-right: 10px;
}

.form-text {
	font-size: 14px;
	color: #fff;
	line-height: 21px;
	margin: 0 10px;
	display: inline-block;
}

div.wpcf7-response-output {
	margin: 0;
	padding: 0;
	color: red;
}

div.wpcf7-validation-errors {
	background-color: #fed5d5;
	border: 1px solid #fed5d5;
	color: #ff0000;
	font-size: 12px;
	font-weight: 300;
	padding: 3px 5px;
	opacity: 0.8;
	margin: 0 10px;
}

input[type="checkbox"],
input[type="radio"] {
	margin-top: 10px;
}

span.wpcf7-list-item {
	margin-left: 0;
	margin-right: 20px;
}

#custom-block {
	background: #fff;
	max-width: 294px;
	width: 100%;
	margin-right: 35px;
	box-shadow: 0 0 10px #555;
	display: inline-block;
	min-height: 282px;
	height: auto;
	position: relative;
	margin-top: 65px;
	float: left;
	margin-left: 100px;
}

p.radio {
	position: relative;
}

p.radio label {
	display: block;
	background: url('img/radio-bg.png') no-repeat 0 0 transparent;
	float: left;
	position: relative;
	height: 15px;
}

.radio input[type="radio"] {
	float: right;
	border: none;
	opacity: 0;
	width: 15px;
	height: 15px;
	display: block;
	float: left;
	border: 1px solid #333;
	background-size: 15px;
}

div.wpcf7-mail-sent-ng {
	border: none;
}

span.wpcf7-not-valid-tip {
	position: absolute;
	background-color: #fed5d5;
	color: #ff0000;
	font-size: 12px;
	font-weight: 300;
	line-height: 20px;
	padding: 0 3px;
	opacity: 0.8;
}

.custom-block-bottom {
	background-color: #01aff8;
	display: block;
	float: right;
	margin: 20px 0 0;
	max-width: 430px;
	width: 100%;
}

.custom-block-bottom img.foto {
	float: left;
	margin-right: 20px;
}

.block-header {
	color: #fff;
	text-transform: uppercase;
	font-size: 15px;
	font-style: italic;
	margin-top: 15px;
}

.custom-block-bottom .Name {
	color: #fff;
	font-size: 23px;
	font-style: italic;
	text-transform: uppercase;
	margin-bottom: 10px;
	font-weight: 500;
}

.block-content {
	color: #fff;
	margin-bottom: 10px;
	font-size: 14px;
}

.custom-block-bottom .phone {
	margin-bottom: 3px;
	color: #fff;
	font-size: 14px;
}

.custom-block-bottom .email {
	color: #fff;
	font-size: 14px;
}

.custom-block-bottom .email a {
	color: #14439d;
	text-decoration: underline;
	font-style: italic;
}

.custom-block-bottom .email a:hover {
	text-decoration: none;
}

.custom-block-bottom .phone span,
.custom-block-bottom .email span {
	font-weight: 600;
}

a.questions {
	background: transparent url("img/button-questions.png") no-repeat scroll 0 0;
	bottom: 0;
	display: block;
	height: 43px;
	left: 0;
	margin: 0 auto;
	opacity: 0.8;
	position: fixed;
	right: 0;
	width: 179px;
}

a.questions:hover {
	background-position: 0 -43px;
}

article.duk {
	background: #fff;
	border-top: 1px solid #d9d9d9;
	margin-top: 20px;
	max-width: 1172px;
	padding: 25px 25px 0;
}

article.duk h3 {
	color: #17479b;
	text-transform: uppercase;
	font-style: italic;
	font-size: 24px;
}

.wpsm_panel-default {
	background: #d9d9d9 !important;
}

.ac_title_class {
	color: #666 !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 14px;
	font-weight: 500;
	font-style: italic;
}

.wpsm_panel-collapse .wpsm_panel-body {
	font-family: 'Roboto', sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #666 !important;
	line-height: 21px;
}

div.wpcf7-mail-sent-ok {
	color: #398f14 !important;
	padding: 10px;
	margin: 0 auto;
	display: inline-block;
	width: 100%;
	background: #e3f9d9;
}

.items-block {
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
}

.items {
	width: 294px;
	display: block;
	margin: 0 13px 37px 13px;
	min-height: 520px;
	box-shadow: 0 0 10px #555;
	background-color: #fff;
	text-align: left;
	float: left;
	position: relative;
}

.items .title {
	color: #17479b;
	font-style: italic;
	text-transform: uppercase;
	font-size: 14px;
	padding: 20px;
	font-weight: 500;
}

.items .price {
	background: url('img/sum-bg.png') no-repeat 0 0 transparent;
	width: 223px;
	height: 68px;
	display: block;
	position: relative;
	margin-left: -8px;
}

.items .price span {
	color: #fff;
	font-size: 36px;
	font-weight: 700;
	font-style: italic;
	left: 128px;
	position: relative;
	top: 10px;
}

.items .text {
	padding: 20px 20px 10px;
	color: #666666;
	font-size: 12px;
}

.items .text p {
	margin: 0 0 10px 0;
}

.items .bottom {
	bottom: 0;
	color: #17479b;
	font-size: 14px;
	font-style: italic;
	font-weight: 500;
	left: 0;
	min-height: 100px;
	padding: 0 20px 20px;
	position: absolute;
	right: 0;
	text-align: center;
	text-transform: uppercase;
}

.items .bottom span {
	font-size: 24px;
	text-transform: lowercase;
}

.button-rekomenduok {
	background: url('img/button-rekomenduok.png') no-repeat 0 0 transparent;
	width: 223px;
	height: 43px;
	display: block;
	margin: 0 auto 0;
	left: 0;
	right: 0;
	bottom: 20px;
	position: absolute;
}

.button-rekomenduok:hover {
	background-position: 0 -43px;
}

#suma,
#vietos,
#darbo-vieta {
	width: 130px;
	height: 130px;
	display: block;
	float: left;
	margin: 30px 9px 35px 0;
}

#suma {
	background: #01aff8;
	text-align: center;
}

#suma span {
	top: 16px;
	text-transform: uppercase;
	font-size: 46px;
	font-weight: 500;
	color: #fff;
	font-style: italic;
	position: relative;
	text-align: center;
	width: 100%;
	display: inline-block;
}

#suma div {
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	position: relative;
	text-align: center;
	top: 22px;
}

#vietos {
	background: url('img/blocks-bg.png') no-repeat -139px 0 transparent;
}

#vietos span {
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	position: relative;
	display: block;
	text-align: center;
	top: 78px;
}

#darbo-vieta {
	background: url('img/blocks-bg.png') no-repeat -278px 0 transparent;
}

#darbo-vieta span {
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	position: relative;
	display: block;
	text-align: center;
	top: 78px;
	padding: 0 5px;
}

#left {
	max-width: 437px;
	width: 100%;
	font-size: 14px;
	float: left;
}

#left ul {
	padding: 0;
	list-style: none;
}

#left ul li {
	line-height: 21px;
	padding-left: 10px;
	background: url('img/dot.png') no-repeat 0 9px transparent;
}

#right {
	position: relative;
	margin-top: -35px;
	display: block;
	float: right;
	max-width: 430px;
}

#right .form {
	background: url('img/right-header.png') no-repeat 0 0 #01aff8;
	max-width: 430px;
	width: 100%;
	padding: 178px 10px 20px 10px;
	display: block;
	float: right;
}

#right .form.recommend_c_form {
	background: url('img/right-header_confirm.png') no-repeat 0 0 #01aff8;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " ("attr(href) ")";
	}

	abbr[title]:after {
		content: " ("attr(title) ")";
	}

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}