/*
	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/footer-bg.png') no-repeat bottom center transparent;
	font-family: 'Roboto', sans-serif;
	font-size:12px;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
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;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1172px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {
	float:left;
}
.logo-img {
	margin:30px 0 0 150px;
}
/* nav */
.nav {
	float:left;
	margin-top:30px;
	margin-left:120px;
}
.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;
}
.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%;
}
#top-block {
	max-width:900px;
	width:100%;
	display:flex;
	margin:20px auto 0;
	font-size:22px;
	line-height:28px;
	background: url('http://projektai.headex.eu/mesininkai/wp-content/uploads/2017/04/i-ikona.png') no-repeat center left transparent;
	padding-left:162px;
}
#top-block li {
	margin-bottom:10px;
}
/*------------------------------------*\
    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;}
	.form-blocks.padding {
		padding-right:0 !important;}
	#custom-block {
		min-height:330px !important;}
	#center-block {
		padding:0 !important;}
	#center-block .blocks {
		width:195px;
		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;}
	.wpcf7-number, .wpcf7-select {
		width:100% !important;
	}
	#top-block {
		background:none;
		padding:0;
	}
}
@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: flex;
    	margin: 0 auto;
    	max-width: 900px;
    	padding: 0 0 80px;
    	position: relative;
    	width: 100%;
}
.blocks {
	float:left;
	width:50%;
	text-align:center;
	margin-top:45px;
	min-height: 115px;
}
.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;
	background: url('img/border.png') no-repeat center center transparent;
	display: inline-block;
}
#slider {
	position:relative;
}
#button-dalyvauti {
	background: url('http://projektai.headex.eu/mesininkai/wp-content/uploads/2017/04/buttonas-su-overiu.png') no-repeat 0 0 transparent;
	width:242px;
	height:53px;
	display:block;
	position:absolute;
	left:11%;
	top:76%;
}
#button-dalyvauti:hover {
	background-position:0 -53px;
}
.wpcf7-submit {
	background: url('img/button-registruotis.png') no-repeat 0 0 transparent;
	display:inline-block;
	width:242px;
	height:53px;
	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 {
    	bottom: 153px;
    	position: absolute;
    	right: 4px;
}
.wpcf7-text, .wpcf7-number, .wpcf7-select {
	border:none;
	background:#ebebeb;
	font-size:14px;
	height:42px;
	width:100%;
	padding:0 10px;
	margin-top:10px;
}
.wpcf7-number, .wpcf7-select {
	width:90%;
}
.form-blocks {
	width:50%;
	float:left;
	display:inline-block;
	color:#17479b;
	font-size:14px;
	font-weight:500;
	margin:10px 0;
}
.full-width {
	margin-top:35px;
	width:100%;
}
.wpcf7-list-item-label {
	color:#17479b;
	font-size:14px;
	font-weight:500;
}
.form-blocks.padding {
	padding-right:30px;
}
div.wpcf7-response-output {
	margin:0;
	padding:0;
	color:red;
}
div.wpcf7-validation-errors {
	border:none;
	font-size:14px;
	font-weight:500;
}
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;
}
.custom-block-bottom {
	margin:20px 20px 31px;
}
.block-header {
	color:#17479b;
	text-transform:uppercase;
	font-size:13px;
	font-style: italic;
}
.custom-block-bottom .Name {
	color:#17479b;
	font-size:20px;
	font-style: italic;
	text-transform:uppercase;
	margin-bottom:10px;
}
.block-content {
	color:#666666;	
	margin-bottom:10px;
}
.custom-block-bottom .phone {
	margin-bottom:3px;
}
.custom-block-bottom .phone span, .custom-block-bottom .email span {
	font-weight:600;
}
.custom-block-bottom .email a {
	color:#07b0f3;
}
.custom-block-bottom .email a:hover {
	color:#17479b;
}
a.questions {
	background: url('img/button-questions.png') no-repeat 0 0 transparent;
	display: block;
    	height: 43px;
    	margin: 0 auto;
    	position: relative;
    	top: -32px;
    	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;
	float:left;
	display:inline-block;
	width:100%;
	background: #e3f9d9;
}
p.gray {
	color:#777;
	display:inline-block;
	margin:0 0 10px 0;
}
/*------------------------------------*\
    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;
	}
}
