@import 'elements.less';
/* Reset styles
*******************************/
article,aside,details,figcaption,figure,
footer,header,hgroup,nav,section {
	display: block;
}
audio[controls],
canvas,
video {
	display: inline-block;
}
html {
	overflow-y: scroll; /* 1 */
	-webkit-tap-highlight-color: rgba(0,0,0,0); /* 2 */
	-webkit-text-size-adjust: 100%; /* 3 */
	-ms-text-size-adjust: 100%;
}
body,div,span,applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,ul,li,ol,
a,em,img,strong,fieldset,form,label,article,aside,details,
figcaption,figure,footer,header,hgroup,nav,section{
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	list-style: none;
}
:focus {outline: 0;}
img {vertical-align:middle; outline:0}

button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
	border: none;
}

html, body, textarea, input {
	-webkit-text-size-adjust:none;
}

body {
	text-align:left;
	.main-font;
	.font-shorthand();
}

/* Form Elements
*******************************/

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
	height: 38px;
	-webkit-appearance: button;
	font-size:14px;
	background:transparent;
	letter-spacing: 1px;
	border: 1px;
	text-transform:uppercase;
}
input[type=text],
input[type=email],
input[type=url],
input[type=search],
input[type=password],
textarea {
	border:1px solid #c4c5c7;
	height: 38px;
	font-size:12px;
	padding:5px;
	color:#5f6062;
	.transition();
	.box-sizing();
	.rounded(3px);
}
textarea {
	resize:none;
	font-family: 'Arial';
}

.fl{ float:left !important; }
.fr{ float:right !important; }

.l{ text-align:left; }
.c{ text-align:center; }
.j{ text-align:justify; }
.r{ text-align:right; }

/* Clearfix
*******************************/
.cf:after, .clearfix:after {
	content: " ";
	visibility: hidden;
	display: block;
	height: 0;
	clear: both;
}
.clear {
	clear:both;
}

/* Links
*******************************/
a {
	text-decoration: none;
	cursor:pointer;
	.transition();
}

/* Headers
*******************************/
h1, h2, h3, h4, h5, h6 {
	margin-bottom: 1em;
	text-transform:uppercase;
}
h1 {
	font-size: 28px;
}
h2 {
	font-size: 22px;
}
h3 {
	font-size: 18px;
}
h4 {
	font-size: 14px;
}
h5 {
	font-size: 12px;
}
h6 {
	font-size: 10px;
}

/* Text elements
*******************************/
p               {margin: 0 0 1em 0; text-align: left; line-height:1.5;}
strong      	{font-weight: bold;}
em          	{font-style: italic;}
img				{border:0;}
.small			{font-size:10px;}

hr { 
	display:block;
	height:0px;
	line-height:0px;
	border:0;
	border-top:1px solid;
	border-bottom:1px solid;
	margin:16px 0;
	float:none;
	clear:both;
	padding:0;
}

/* Framework Typo
*******************************/
.story,.content-right {
	line-height:1.5;
	padding-bottom: 40px;
	font-size: 14px;
	color: #7d7d7d;

	a{
		color: #000000;
		&:hover{
			color: #e03434;
		}
	}
	p{
		line-height: 24px;
	}
	.ui-widget-content{
		border: none;
		background: transparent;
	}
	ul {
		list-style: none;
		>li {
			list-style: none;
			position: relative;
			line-height: 34px;
			&:before{
				content: "\f192";
				position: absolute;
				font-family: FontAwesome;
				color: #e03434;
				margin-top: -3px;
				left: -26px;
				top: 3px;
			}
		}
	}
	ol {
		list-style: none;
		counter-reset: li;
		>li {
			line-height: 34px;
			position: relative;
			counter-increment: li;
			position: relative;
			&:before{
				content: counter(li);
				position: absolute;
				left: -26px;
				font-size: 20px;
				color: #e03434;
			}
		}
	}
	ul,
	ol {
		margin: 0 0 1em 1.5em;
		line-height: 1.5;

		ul,
		ol {
			margin-bottom: 0;
		}
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		text-transform:none;
		margin-bottom: .5em;
	}

	a {
		&:link,
		&:visited,
		&:hover,
		&:active{
			text-decoration: none;
		}
	}
	table{
		width:auto;
		border-collapse:collapse;
		margin-bottom:18px;
		td, th {
			padding:6px 10px;
			text-align:center;
			border:1px solid #ccc;
		}
		th {
			font-weight:bold;
		}
	}

	pre,code {
	  background: #ffffff;
	  padding: 20px;
	  box-shadow: 1px 1px 2px #d0d0d0;
	  color:#4a4a4a;
	  display: block;
	  margin: 10px 15px 10px 0px;
		overflow: auto;
	}
	address {
	  display: inline-block;
	  padding: 20px;
	  background: #eaeaea;
	  line-height: 20px;
	  margin-bottom: 15px;
	}
	blockquote {
		color: #000000;
		width: 100%;
		float: left;
		text-align: right;
		font-style: italic;
		padding: 30px;
		line-height: 20px;
		margin: 1em 0em;
		position: relative;
		&:before {
			content: "\f10d";
			font-family: 'FontAwesome';
			position: absolute;
			top: 0;
			left: 0;
			font-size: 18px;
		}
		p{
			text-align: right;
		}
	}

	.wp-caption {
	  box-shadow: 1px 1px 2px #bebebe;
	  width: auto;

	  p.wp-caption-text {
		background: #ffffff;
		text-align: center;
		color:#a1a1a1!important;
		margin: 0!important;
	  }
	}

	dl {
	  background: #ffffff;
	  padding: 20px;
	  box-shadow: 1px 1px 2px #d0d0d0;
	  color:#4a4a4a;
	  display: block;
	  margin: 10px 20px 10px 0px;

	  dt {
		width: 150px;
		float: left;
		font-size: 13px;
		line-height: 13px;
		color:#000000;
		text-transform: uppercase;
	  }
	  dd {
		margin-left: 160px;
		margin-bottom: 10px;
		line-height: 18px;
	  }
	}

	img.size-auto,
	img.size-full,
	img.size-large,
	img.size-medium,
	.attachment img {
		max-width: 100%; /* When images are too wide for containing element, force them to fit. */
		height: auto; /* Override height to match resized width for correct aspect ratio. */
	}
	.alignleft,
	img.alignleft {
		display: inline;
		float: left;
		margin-right: 1em;
	}
	.alignright,
	img.alignright {
		display: inline;
		float: right;
		margin-left: 1em;
	}
	.aligncenter,
	img.aligncenter {
		clear: both;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	img.alignleft,
	img.alignright,
	img.aligncenter {
		margin-bottom: 1em;
	}
	.wp-caption {
		line-height:1.5;
		margin-bottom: 1em;
		text-align: center;
	}
	.wp-caption img {

	}
	.wp-caption p.wp-caption-text {
		color: #888;
		font-size: 11px;
		margin:0;
		padding:5px;
	}
	.wp-smiley {
		margin: 0;
	}
	table{
		thead{
			background-color: #b5bcc0;
			color: #ffffff;
			td, th{
				border: 1px solid #a3a9ac;
			}
		}
		tbody{
			tr{
				&:nth-child(odd){
					background-color: #ffffff;
				}
			}
		}
		td, th{
			border: 1px solid #e5e5e5;
		}
	}

	.flexslider {
		position: relative;
		margin-bottom: 60px;
		ul,
		ol {
			margin:0;
			padding:0;
			li {
				margin:0;
				padding:0;
				list-style: none;
				&:before{
					display: none;
				}
			}
			list-style: none;
		}
		.slides {
			> li {
				position:relative;
				display: none;
				-webkit-backface-visibility: hidden;
				text-align:center;
			}
			img {
				max-width: 100%;
				display: block;
				margin:0 auto;
				height:auto;
				width:auto;
			}
		}
		.flex-control-nav{
			left: 0;
			width: 100%;
			text-align: center;
			li{
				display: inline-block;
				margin: 0 11px;
				a{
					display: block;
					width: 6px;
					height: 6px;
					text-indent: 200%;
					.rounded(100%);
					overflow: hidden;
					background: rgba(0,0,0,0.2);
					&.flex-active{
						background: rgba(0,0,0,0.5);
					}
				}
			}
		}
		.flex-direction-nav{
			li{
				position: inherit;
			}
			a{
				position: absolute;
				top: 50%;
				left: 1.6%;
				margin-top: -26px;
				display: block;
				width: 52px;
				height: 52px;
				line-height: 52px;
				text-align: center;
				background: rgba(0,0,0,0.1);
				font-size: 16px;
				color: #ffffff;
				text-indent: -9999px;
				overflow: hidden;
				&:before{
					content: "\f053";
					font-family: 'FontAwesome';
					text-indent: 0;
					position: absolute;
					top: 0;
					left: 0;
					width: 52px;
					height: 52px;
					line-height: 52px;
					text-align: center;
				}
				&.flex-next{
					left: auto;
					right: 1.6%;
					&:before{
						content: "\f054";
					}
				}
				&:hover{
					background: #ffffff;
					color: #000000;
				}
			}
		}
	}
}


/* FlexSlider Necessary Styles
*********************************/
.flexslider {
	position: relative;
	ul,
	ol {
		margin:0;
		padding:0;
		li {
			margin:0;
			padding:0;
			list-style: none;
		}
		list-style: none;
	}
	.slides {
		> li {
			position:relative;
			display: none;
			-webkit-backface-visibility: hidden;
			text-align:center;
		}
		img {
			max-width: 100%; 
			display: block;
			margin:0 auto;
			height:auto;
			width:auto;
		}
	}
	.descr {
		position:absolute;
		bottom:0;
		left:0;
		right:0;
		padding:10px;
		background:rgba(100,100,100,.5);
		color:#fff;
		text-align:left;
		h3 {
			text-align:left;
		}
		.text {
			p:last-child {
				margin-bottom:0;
			}
		}
	}
}
.flex-container {
	position: relative;
}
/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}
