@import 'elements.less';

@font-face {
  font-family: 'MSReferenceSansSerif';
  src: url('../fonts/msreferencesansserif.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@MSReferenceSansSerif: 'MSReferenceSansSerif';


@white: #ffffff;
@light-brown: #8d7a65;

/* 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;
	-webkit-appearance: button;
	font-size:14px;
	background:transparent;
	letter-spacing: 1px;
	border: none;
	.border-radius(0,0,0,0);
	height: auto;
	vertical-align: top;
	width: auto;
	line-height: 20px;
	margin: 0;
	display: inline-block;
	.gradient(#d7d0c1, #cdc5b3,#d7d0c1);
	padding: 9px 22px;
	border-bottom: 2px solid #aea28c;
	color: @white;
	&:hover{
		.gradient(#d7d0c1, #d7d0c1, #cdc5b3);
		border-bottom: 2px solid #aea28c;
	}

	&:hover {
	  .transition(all 300ms ease-in-out);
	  color: #ffffff;
	}
}
select{
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0 10px !important;
  height: 35px;
  background: @white url(images/arrow.png) no-repeat 100% 0;
}
input[type=file], select{
  line-height: 30px !important;
}
.uneditable-input, input, textarea{
  width: 206px;
}
label{
  display: block;
  margin-bottom: 5px;
}
select,
input[type=text],
input[type=email],
input[type=url],
input[type=search],
input[type=password],
textarea {
	font-size:11px;
	padding: 0 16px;
	color: #d1d1d0;
	.transition(all 300ms linear);
	border: none;
	.border-radius(0,0,0,0);
	height: 40px;
	vertical-align: top;
	box-sizing: border-box;
	line-height: 40px;
	&::-webkit-input-placeholder {
	  color: #d1d1d0;
	}
	&:-moz-placeholder {
	  color: #d1d1d0;
	  opacity: 1;
	}
	&::-moz-placeholder {
	  color: #d1d1d0;
	  opacity: 1;
	}
	&:-ms-input-placeholder {
	  color: #d1d1d0;
	}
	&:focus{
	  outline: 0;
	  box-shadow: inset 0 0 1px 1px #d7cfc1;
	}
}
textarea {
	resize:none;
}

.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:before,
.cf:after {
	content:"";
	display:table;
}
.cf:after {
	clear:both;
}
.clear {
	clear:both;
}

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

/* Headers
*******************************/
h1, h2, h3, h4, h5, h6 {
	margin-bottom: 1em;
}
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 {
	line-height:1.5;
	font-family: @MSReferenceSansSerif;

	input[type="password"]{
		.box-shadow(inset 0 0 2px 1px rgba(0,0,0,0.1));
	}
	img{
		max-width: 100%;
		height: auto;
	}
	a{
		color: #f0a900;
		.transition(all 300ms ease-in-out);
		&:hover{
			opacity: 0.6;
		}
	}
	ul {
		list-style: none;
		>li {
			list-style: none;
			&:before{
			  content: "-";
			  margin-right: 4px;
			}
		}
	}
	ol {
		list-style: decimal;
		>li {
			list-style: decimal;
		}
	}
	ul,
	ol {
		margin: 0 0 1em 1.5em;
		line-height: 1.5;
		color: #b4afaa;
		margin-bottom: 50px;

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

	ol {
		ol {
			list-style: upper-alpha;
			ol {
				list-style: lower-roman;
				ol {
					list-style: lower-alpha;
				}
			}
		}
	}
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		text-transform:none;
		margin-bottom: .5em;
		font-weight: 700;
	}

	a {
		&:link,
		&:visited,
		&:hover,
		&:active{
			text-decoration: none;
		}
	}
	table{
		width:100%;
		border-collapse:collapse;
		margin-bottom:18px;
		border: 2px solid #d7d3cf;
		thead{
		  background: #f3eee7;
		  th{
			font-size: 14px;
			line-height: 48px;
			font-weight: normal;
			text-align: center;
			&.empty{
			  background: #e8dfd3;
			}
		  }
		}
	  tbody{
		th,td {
		  line-height: 48px;
		  font-size: 12px;
		  color: @light-brown;
		  text-align:center;
		  border:1px solid #f3eee7;
		}
	  }
	}

	pre,code {
	  background: #ffffff;
	  padding: 20px;
	  box-shadow: 1px 1px 2px #d0d0d0;
	  color:#4a4a4a;
	  display: block;
	  margin: 10px 15px 10px 0px;
	}
	address {
	  display: inline-block;
	  padding: 20px;
	  background: #eaeaea;
	  line-height: 20px;
	  margin-bottom: 15px;
	}
	blockquote {
		background: #f7f7f7;
		border:1px solid #e6e6e6;
		padding: 20px;
		line-height: 20px;
		margin: 1em 0em;
		p:before {
			content: '"';
		}
		p:after {
			content: '"';
		}
	}

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

	  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;
	  overflow: auto;

	  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;
	  }
	}
	embed,iframe{
	  max-width: 100%;
	  height: 300px;
	}
	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;
	}
}


/* 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;
		}
	}
	.descr {
		position:absolute;
		bottom:0;
		left:0;
		right:0;
		padding:10px;
		background:rgba(0,0,0,0.5);
		color:#fff;
		text-align:left;
		h3 {
			text-align:left;
			color: #ffffff;
		}
		.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%;}
