/*
Theme Name: Base
Author: Anonymous
Author URI:
Version: 1
Description: Base theme for Wordpress
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: base
Tags: one-column, two-columns
Theme URI:
*/

/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 */

html {
	font-family: sans-serif; /* 1 */
	-ms-text-size-adjust: 100%; /* 2 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
	margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
	display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
	display: inline-block; /* 1 */
	vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
	display: none;
	height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */

[hidden],
template {
	display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */

a:active,
a:hover {
	outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
	border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong { 
	font-weight: bold;
}



/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
	font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
	font-size: 2em;
	margin: .67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
	background: #ff0;
	color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -.5em;
}

sub {
	bottom: -.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
	border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
	overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
	margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
	box-sizing: content-box;
	height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
	overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
	color: inherit; /* 1 */
	font: inherit; /* 2 */
	margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
	overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
	text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button; /* 2 */
	cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
	cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
	line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */

input[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	box-sizing: content-box; /* 2 */
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: .35em .625em .75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
	border: 0; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
	overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
	font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}


@font-face {
    font-family: 'open_sansregular';
    src: url('fonts/OpenSans-Regular-webfont.eot');
    src: url('fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Regular-webfont.woff2') format('woff2'),
         url('fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'im_fell_english_proregular';
    src: url('fonts/FeENrm28C-webfont.eot');
    src: url('fonts/FeENrm28C-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/FeENrm28C-webfont.woff2') format('woff2'),
         url('fonts/FeENrm28C-webfont.woff') format('woff'),
         url('fonts/FeENrm28C-webfont.ttf') format('truetype'),
         url('fonts/FeENrm28C-webfont.svg#im_fell_english_proregular') format('svg');
    font-weight: normal;
    font-style: normal;
}






/* ---------------------------------------------------------
   2. General reset
   ---------------------------------------------------------*/

.nav-add ul,
#main-nav > ul,
#main-nav > ul > li > ul,
#main-nav > ul ul ul,
.add-nav ul,
.social-networks {
	margin: 0;
	padding: 0;
	list-style: none;
}

.clearfix:after,
dl:after,
.widget:after,
.search-form:after,
.post-password-form p:after,
.navigation-single:after,
.container:after,
.content-holder:after,
.history-section:after,
.bottom-area:after,
.post-section:after,
.content-section:after,
#footer:after,
#header .holder:after,
.nav-add ul:after,
#content:after {
	content: "";
	display: block;
	clear: both;
}

.top-search .form-box .submit,
.top-search .search-opener {
	-webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.ellipsis {
	white-space: nowrap; /* 1 */
	text-overflow: ellipsis; /* 2 */
	overflow: hidden;
}

html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

* {
	max-height: 1000000px;
}

/*
 * set default text color
 * set default font size, line height and font family
 * set default background
 */

body {
	color: #000;
	background: url(https://kingslanding.nb.ca/wp-content/themes/kingslandingcom/images/paperTexture.jpg) repeat;
	font: 16px/1.5 "open_sansregular", "Roboto", "Tahoma", "Arial", "Verdana", serif;
	min-width: 320px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
}

.gm-style img {
	max-width: none;
}

ul,
ol,
dl,
p,
h1,
h2,
h3,
h4,
h5,
h6,
address,
form,
table,
blockquote,
applet,
embed,
object,
iframe,
frameset {
	margin: 0 0 1.59em;
}


blockquote {
	padding: 0 9.2%;
	margin: 0 0 40px;
	color: #207186;
	font-size: 26px;
	line-height: 1.57;
}

blockquote q:after,
blockquote q:before {
	content: "";
}

th,
td {
	border: 1px solid #999;
	padding: .5em;
	text-align: left;
	vertical-align: top;
}

th {
	text-align: center;
	vertical-align: middle;
}

ul,
ol {
	padding-left: 18px;
	margin: 0 0 51px;
}

ul ul,
ul ol,
ol ul,
ol ol {
	padding-left: 18px;
	margin: 0;
}

ol ol {
	list-style-type: lower-alpha;
}

ul {
	list-style-type: disc;
}

dl dt {
	float: left;
	clear: left;
	padding-right: .3em;
	font-weight: bold;
}

dl dd {
	overflow: hidden;
}

pre {
	max-width: 100%;
}

/* set default styles in all browsers */

form,
fieldset {
	margin: 0;
	padding: 0;
	border-style: none;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea {
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	box-sizing: border-box;
	border: 1px solid #999;
	padding: .4em .7em;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus {
	border-color: #000;
}

input[type="text"]::-webkit-input-placeholder,
input[type="tel"]::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder,
input[type="search"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: #999;
}

input[type="text"]::-moz-placeholder,
input[type="tel"]::-moz-placeholder,
input[type="email"]::-moz-placeholder,
input[type="search"]::-moz-placeholder,
input[type="password"]::-moz-placeholder,
textarea::-moz-placeholder {
	opacity: 1;
	color: #999;
}

input[type="text"]:-moz-placeholder,
input[type="tel"]:-moz-placeholder,
input[type="email"]:-moz-placeholder,
input[type="search"]:-moz-placeholder,
input[type="password"]:-moz-placeholder,
textarea:-moz-placeholder {
	color: #999;
}

input[type="text"]:-ms-input-placeholder,
input[type="tel"]:-ms-input-placeholder,
input[type="email"]:-ms-input-placeholder,
input[type="search"]:-ms-input-placeholder,
input[type="password"]:-ms-input-placeholder,
textarea:-ms-input-placeholder {
	color: #999;
}

input[type="text"].placeholder,
input[type="tel"].placeholder,
input[type="email"].placeholder,
input[type="search"].placeholder,
input[type="password"].placeholder,
textarea.placeholder {
	color: #999;
}

select {
	-webkit-border-radius: 0;
}

textarea {
	resize: vertical;
	vertical-align: top;
}

button,
input[type="button"],
input[type="reset"],
input[type="file"],
input[type="submit"] {
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	cursor: pointer;
}

.widget {
	margin-bottom: 1.59em;
}

.widget ul {
	padding-left: 2em;
}

.widget select {
	min-width: 150px;
}

.comment-form label {
	display: block;
	padding-bottom: 4px;
}

.comment-form textarea {
	overflow: auto;
	margin: 0;
	height: 120px;
	min-height: 120px;
}

.comment-form textarea,
.comment-form input[type="text"] {
	margin: 0 4px 0 0;
	width: 290px;
}

.comment-form input[type="submit"] {
	display: block;
	float: none;
}

.post-password-form label {
	display: block;
}

.post-password-form input[type="password"] {
	margin: 0 4px 0 0;
	width: 290px;
}

.search-form input {
	float: left;
	height: 2em;
}

.search-form input[type="search"] {
	margin: 0 4px 0 0;
	width: 150px;
}

.post-password-form input {
	float: left;
	height: 2em;
}

.post-password-form input[type="password"] {
	width: 150px;
}

.comment-form input[type="submit"],
.post-password-form input[type="submit"],
.search-form input[type="submit"] {
	background: #000;
	color: #fff;
	height: 2em;
	border: none;
	padding: 0 .5em;
}

.comment-form input[type="submit"]:hover,
.post-password-form input[type="submit"]:hover,
.search-form input[type="submit"]:hover {
	opacity: .8;
}

.commentlist {
	margin: 0 0 1.59em;
}

.commentlist .edit-link {
	margin: 0;
}

.commentlist .avatar-holder {
	float: left;
	margin: 0 1.59em 4px 0;
}

.commentlist-item .commentlist-item {
	padding: 0;
}

.comment,
.commentlist-holder {
	overflow: hidden;
}

.commentlist-item .commentlist-item,
.commentlist-item + .commentlist-item {
	padding-top: 1.59em;
}

.widget_calendar #next {
	text-align: right;
}

.widget_calendar table {
	table-layout: fixed;
	width: 100%;
	max-width: 480px;
}

.gallery-item dt {
	float: none;
	padding: 0;
}

.navigation,
.navigation-comments {
	position: relative;
	vertical-align: middle;
	margin-bottom: 1.59em;
}

.navigation .screen-reader-text,
.navigation-comments .screen-reader-text {
	position: absolute;
	left: -99999px;
}

.navigation .page-numbers,
.navigation-comments .page-numbers {
	display: inline-block;
	vertical-align: middle;
	padding: 0 .4em;
}

.navigation .next,
.navigation .prev,
.navigation-comments .next,
.navigation-comments .prev {
	display: inline-block;
	vertical-align: middle;
	max-width: 49%;
	background: #000;
	color: #fff;
	padding: .4em;
	text-decoration: none;
}

.navigation .next:hover,
.navigation .prev:hover,
.navigation-comments .next:hover,
.navigation-comments .prev:hover {
	opacity: .8;
}

.navigation-single {
	margin-bottom: 1.59em;
}

.navigation-single .next,
.navigation-single .prev {
	float: left;
	vertical-align: middle;
	max-width: 49%;
	background: #000;
	color: #fff;
	text-decoration: none;
}

.navigation-single .next a,
.navigation-single .prev a {
	color: inherit;
	text-decoration: none;
	padding: .4em;
	display: block;
}

.navigation-single .next a:hover,
.navigation-single .prev a:hover {
	opacity: .8;
}

.navigation-single .next {
	float: right;
}

.wp-caption {
	max-width: 100%;
	clear: both;
	border: 1px solid #999;
	padding: .4em;
	margin-bottom: 1.59em;
}

.wp-caption img {
	margin: 0;
	vertical-align: top;
}

.wp-caption p {
	margin: .4em 0 0;
}

div.aligncenter {
	margin: 0 auto 1.59em;
}

img.aligncenter {
	display: block;
	margin: 0 auto;
}

.alignleft {
	float: left;
	margin: 0 1.59em 4px 0;
}

.alignright {
	float: right;
	margin: 0 0 10px 50px;
}

.mejs-container {
	margin-bottom: 1.59em;
}

.wp-caption-text,
.gallery,
.alignnone,
.gallery-caption,
.sticky,
.bypostauthor {
	height: auto;
}

#content .comments p {
	margin: 0 0 20px;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.h {	font-family: "im_fell_english_proregular", "Tahoma", "Arial", "Verdana", "Roboto", serif; 
	font-weight: normal;
	margin: 0 0 .5em;
	color: #AABC45;
	line-height: 1.2;
}

h1,
.h1 {
	font-size: 47px;
	margin: 0 0 21px;
}

h2,
.h2 {
	font-size: 35px;
	color: #207186;
	margin: 0 0 25px;
}

h3,
.h3 {
	font-size: 35px;
	margin: 0 0 23px;
}

h4,
.h4 {
	font-size: 30px;
	color: #207186;
	margin: 0 0 20px;
}

h5,
.h5 {
	font-size: 25px;
	color: #414042;
	font-weight: 700;
	margin: 0 0 22px;
}

h6,
.h6 {
	font-size: 25px;
	font-weight: 700;
	margin: 0 0 23px;
}

p {
	margin: 0 0 48px;
}

/* set styles for default page links */

a {
	color: #AABC45;
	text-decoration: none;
}

a:hover {
	color: #879535;
	text-decoration: none;
}

/* ---------------------------------------------------------
   3. Сommon site styles
   ---------------------------------------------------------*/

/* main container styles */

#wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.container,
.content-holder,
.history-section,
.bottom-area,
.post-section,
.content-section,
#footer {
	max-width: 1292px;
	padding: 0 15px;
	margin: 0 auto;
}

.btn {
	display: inline-block;
	vertical-align: top;
	min-width: 179px;
	text-align: center;
	padding: 13px 10px 12px;
	color: #fff;
	font-size: 20px;
	line-height: 1.2;
	background: #AABC45;
	-webkit-transition: background .3s ease;
	transition: background .3s ease;
	border-radius: 45px;
}

.btn:hover {
	color: #fff;
	background: #879535;
}

/* header styles */

#header {
	background: #fff;
	border-bottom: 8px solid #AABC45;
	position: relative;
	z-index: 10;
}

#header .holder {
	position: relative;
	margin: 0 -168px 0 0;
	padding: 38px 0 0;
	background: #fff;
}

.nav-drop {
	float: right;
	width: 72%;
    max-width: 1030px;
}

/* page logo styles */

.logo {
	float: left;
	width: 280px;
	margin: -38px 0 -7px -10px;
	padding: 10px 0 20px 0;
}

.logo img {
	vertical-align: top;
}

.lang {
	position: absolute;
	right: 0;
	top: 0;
	font-size: 17px;
	line-height: 1.2;
	width: 90px;
	text-align: center;
	padding: 9px 10px;
	color: #414042;
	-webkit-transition: color .3s ease;
	transition: color .3s ease;
}

.lang:hover {
	color: #AABC45;
}

.nav-add {
	position: absolute;
	right: 90px;
	top: 0;
	font-size: 17px;
	line-height: 1.2;
	background: #AABC45;
	padding: 7px 39px 11px;
	font-family: "im_fell_english_proregular", "Tahoma", "Arial", "Verdana", "Roboto", serif;	
	border-radius: 0 0 10px 10px;
}

.nav-add ul li {
	float: left;
	margin: 0 0 0 33px;
	position: relative;
}

.nav-add ul li:before {
	content: "";
	position: absolute;
	height: 12px;
	width: 1px;
	background: #fff;
	left: -17px;
	top: 4px;
}

.nav-add ul li:first-child:before {
	display: none;
}

.nav-add ul a {
	color: #fff;
	-webkit-transition: color .3s ease;
	transition: color .3s ease;
}

.nav-add ul a:hover {
	color: #414042;
}

#main-nav {
	padding: 30px 28px 0 0;
	font-family: "im_fell_english_proregular", "Tahoma", "Arial", "Verdana", "Roboto", serif;	
}

#main-nav > ul {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
}

#main-nav > ul > li {
	position: relative;
	text-align: center;
	vertical-align: middle;
	width: 20%;
}

#main-nav > ul > li:last-child > ul {
	left: auto;
	right: 0;
}

#main-nav > ul > li.hover > a {
	color: #AABC45;
}

#main-nav > ul > li.hover.has-drop-down:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 38px;
	background: rgba(255, 255, 255, .01);
}

#main-nav > ul > li.active > a {
	color: #AABC45;
}

#main-nav > ul > li > a {
	white-space: nowrap;
	text-align: center;
	display: block;
	height: 100%;
	color: #414042;
	padding: 6px 20px;
	font-size: 20px;
	line-height: 1.2;
	-webkit-transition: color .3s ease;
	transition: color .3s ease;
}

#main-nav > ul > li > a:after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 0;
	min-height: 100%;
}

#main-nav > ul > li > a > * {
	white-space: normal;
	display: inline-block;
	vertical-align: middle;
	max-width: 99%;
}

#main-nav > ul > li > a:after {
	min-height: 48px;
}

#main-nav > ul > li > a:hover {
	color: #AABC45;
}

#main-nav > ul > li > ul {
	position: absolute;
	margin-top: 38px;
	top: 100%;
	left: -2px;
	text-align: left;
	width: 320px;
	background: #AABC45;
	padding: 8px 0 0;
}

#main-nav > ul > li > ul:after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 30%;
}

#main-nav > ul > li > ul > li {
	position: relative;
	z-index: 1;
	border-bottom: 1px solid #c7d285;
}

#main-nav > ul > li > ul > li.has-drop-down > a {
	/*  &.opener {
               position: absolute; 
               top: 0;
               left: 0;
               right: 0;
               bottom: 0;
               opacity: 0;
             
             } */
	padding-right: 40px;
}

#main-nav > ul > li > ul > li.has-drop-down > a:before {
	position: absolute;
	content: ">";
	top: 12px;
	right: 20px;
	font-size: 30px;
	line-height: 1;
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	-webkit-transition: -webkit-transform .3s ease;
	transition: transform .3s ease;
	color: #fff;
}

#main-nav > ul > li > ul > li.has-drop-down.active-drop > a {
	color: #fff;
}

#main-nav > ul > li > ul > li.has-drop-down.active-drop > a:before {
	-webkit-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	transform: rotate(-90deg);
}

#main-nav > ul > li > ul > li.hover {
	z-index: auto;
}

#main-nav > ul > li > ul > li.hover ul {
	display: block;
}

#main-nav > ul > li > ul > li > a {
	background: #AABC45;
	position: relative;
	font-size: 20px;
	line-height: 1.2;
	z-index: 1;
	display: block;
	color: #fff;
	padding: 15px 29px 14px;
	-webkit-transition: color .3s ease;
	transition: color .3s ease;
}

#main-nav > ul > li > ul > li > a:hover {
	color: #414042;
}

#main-nav > ul ul ul {
	background: #bac869;
}

#main-nav > ul ul ul li {
	border-bottom: 1px solid #c7d285;
}

#main-nav > ul ul ul a {
	font-size: 17px;
	color: #fff;
	display: block;
	padding: 15px 29px 14px;
	line-height: 1.4;
}

#main-nav > ul ul ul a:hover {
	color: #414042;
}

.nav-opener {
	width: 30px;
	height: 30px;
	position: absolute;
	display: block;
	text-indent: -9999px;
	overflow: hidden;
	top: 27px;
	right: 20px;
	background: #AABC45;
	display: none;
}

.nav-opener:before,
.nav-opener:after,
.nav-opener span {
	background: #fff;
	position: absolute;
	top: 14px;
	left: 6px;
	right: 6px;
	height: 3px;
	-webkit-transition: all .2s linear;
	transition: all .2s linear;
}

.nav-opener:before,
.nav-opener:after {
	content: "";
	top: 6px;
}

.nav-opener:after {
	top: 21px;
}

.nav-opener:hover {
	opacity: .9;
}

.nav-active .nav-opener span {
	opacity: 0;
}

.nav-active .nav-opener:hover {
	opacity: .9;
}

.nav-active .nav-opener .close-btn:after,
.nav-active .nav-opener .close-btn:before,
.nav-active .nav-opener:after,
.nav-active .nav-opener:before {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 14px;
	left: 2px;
	right: 2px;
}

.nav-active .nav-opener .close-btn:after,
.nav-active .nav-opener:after {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.top-search {
	position: relative;
	padding: 0 28px;
}

.top-search .form-box {
	padding-right: 101px;
}

.top-search .form-box input {
	width: 100%;
	border: none;
	background: #f2eee5;
	line-height: 30px;
	padding: 5px 10px;
}

.top-search .form-box input:focus {
	background: #fff;
}

.top-search .form-box .submit {
	position: absolute;
	top: 0;
	right: 0;
	width: 92px;
	height: 40px;
	padding: 6px 5px 4px;
	border: none;
	color: #fff;
	font-size: 18px;
	line-height: 30px;
	letter-spacing: 1px;
	background: #2f2116;
}

.top-search .form-box .submit:hover {
	background: #523926;
}

.top-search .search-opener {
	display: none;
}

/* main informative part styles */

#main {
	position: relative;
}

/* carousel styles */

.carousel {
	position: relative;
}

.carousel .mask {
	position: relative;
	overflow: hidden;
}

.carousel .slideset {
	width: 99999px;
	float: left;
}

.carousel .slide {
	float: left;
	height: 675px;
	overflow: hidden;
	position: relative;
	padding: 181px 60px 100px;
}

.carousel .slide.active {
	z-index: 1;
}

.carousel .btn-prev,
.carousel .btn-next {
	position: absolute;
	z-index: 2;
	top: 50%;
	width: 50px;
	height: 86px;
	background: #AABC45;
	color: #fff;
	text-align: center;
	margin-top: -63px;
	line-height: 85px;
	font-size: 27px;
	-webkit-transition: background .3s ease;
	transition: background .3s ease;
}

.carousel .btn-prev:hover,
.carousel .btn-next:hover {
	color: #fff;
	background: #879535;
}

.carousel .btn-prev {
	left: 0;
	border-radius: 0 40px 40px 0;
}

.carousel .btn-next {
	right: 0;
	border-radius: 40px 0 0 40px;
}

.carousel .container,
.carousel .content-holder,
.carousel .history-section,
.carousel .bottom-area,
.carousel .post-section,
.carousel .content-section,
.carousel #footer {
	white-space: nowrap;
	text-align: center;
	height: 100%;
	text-align: left;
}

.carousel .container:after,
.carousel .content-holder:after,
.carousel .history-section:after,
.carousel .bottom-area:after,
.carousel .post-section:after,
.carousel .content-section:after,
.carousel #footer:after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 0;
	min-height: 100%;
}

.carousel .container > *,
.carousel .content-holder > *,
.carousel .history-section > *,
.carousel .bottom-area > *,
.carousel .post-section > *,
.carousel .content-section > *,
.carousel #footer > * {
	white-space: normal;
	display: inline-block;
	vertical-align: middle;
	max-width: 99%;
}

.carousel .box-text {
	position: relative;
	z-index: 2;
	background: rgba(255, 255, 255, .8);
	max-width: 488px;
	padding: 13px 25px 23px;
	font-family: "im_fell_english_proregular", "Tahoma", "Arial", "Verdana", "Roboto", serif;	
}

.carousel .title {
	display: block;
	font-weight: 400;
	font-size: 38px;
	line-height: 1.13;
	margin: 0 0 13px;
}

.carousel .bg-box {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: 50% 0;
}

/* visual block styles */

.visual-section {
	height: 675px;
	background-position: 50% 0;
	background-size: cover;
}

.content-holder {
	position: relative;
	z-index: 2;
	margin-top: -333px;
	margin-bottom: 48px;
}

/* main content styles */

#content {
	padding: 25px 55px 25px 55px;
	background: #fff;
}

#content .image {
	max-width: 50%;
}

#content .image img {
	vertical-align: top;
}

.inform-section {
	background: #414042;
	color: #fff;
	text-align: center;
	font-size: 22px;
	line-height: 1.2;
	padding: 34px 0 53px;
}

.inform-section p {
	margin: 0;
}

.inform-section .title {
	font-size: 38px;
	color: #AABC45;
	display: block;
	font-weight: normal;
	margin: 0 0 19px;
	font-family: "im_fell_english_proregular", "Tahoma", "Arial", "Verdana", "Roboto", serif;	
}

.history-section {
	text-align: center;
	position: relative;
	z-index: 2;
	margin-top: -95px;
	margin-bottom: 35px;
}

.history-section .holder {
	background: #fff;
	padding: 24px 25px 35px;
}

.history-section h1 {
	margin: 0 0 15px;
}

.history-section p {
	margin: 0 0 22px;
}

.bottom-area {
	padding: 28px 45px 20px;
	text-align: center;
	font-family: "im_fell_english_proregular", "Tahoma", "Arial", "Verdana", "Roboto", serif;	
}

.bottom-area .ttl {
	text-transform: uppercase;
	margin: 0 0 10px;
	color: #AABC45;
	display: block;
}

.bottom-area address {
	float: right;
	width: 30%;
	text-align: right;
	font-style: normal;
	line-height: 1.2;
}

.bottom-area address .ttl {
	margin: 0 0 2px;
}

.bottom-area address span {
	display: block;
	margin: 0 0 28px;
}

.bottom-area address span.phone {
	margin: 0 0 19px;
}

.bottom-area address span.phone a {
	color: inherit;
}

.bottom-area address span.phone a:hover {
	opacity: .7;
}

.add-nav {
	float: left;
	width: 30%;
	text-align: left;
}

.add-nav li {
	margin: 0 0 9px;
}

.add-nav li a {
	color: #414042;
	-webkit-transition: color .3s ease;
	transition: color .3s ease;
}

.add-nav li a:hover {
	color: #AABC45;
}

.logo-box {
	margin-top: -28px;
	display: inline-block;
	vertical-align: top;
	max-width: 358px;
}

.logo-footer {
	margin: 0 0 60px;
}

.logo-footer img {
	vertical-align: top;
}

/* social networks styles */

.social-networks li {
	display: inline-block;
	vertical-align: top;
	margin: 0 5px;
	font-size: 46px;
	line-height: 1;
}

.social-networks a {
	color: #207186;
	-webkit-transition: color .3s ease;
	transition: color .3s ease;
}

.social-networks a:hover {
	color: #1e4e5c;
}

/* post article thumbnails styles */

.post-section .holder-post {
	letter-spacing: -7px;
	margin: 0 -17px;
	text-align: center;
}

.post-section .post {
	letter-spacing: normal;
	list-style: none;
	display: inline-block;
	vertical-align: top;
	width: 33.33%;
	padding: 0 17px 35px;
}

.post-section .post .holder {
	padding: 20px;
	background: #fff;
	min-height: 280px;
}

.post-section .post .image {
	margin: 0 0 13px;
}

.post-section .post .image img {
	width: 100%;
	vertical-align: top;
}

.post-section .post h2 {
	font-size: 38px;
	line-height: 1.02;
	margin: 0 0 21px;
	padding: 0 25px;
}

.post-section .post p {
	margin: 0 0 7px;
}

.content-section {
	padding-top: 15px;
	padding-bottom: 15px;
}

.content-section #content {
	float: left;
	width: 60%;
}

.content-section #content:last-child {
	width: auto;
	float: none;
}

.content-section #sidebar {
	float: right;
	width: 37%;
	padding: 15px;
	background: #fff;
}

body.search-results .content-section #content {
	width: 100%;
}

body.search-results .content-section #content .page {
	padding-bottom: 5px;
	border-bottom: 5px solid #AABC45;
	margin-bottom: 25px;
}

/* footer styles */

#footer {
	max-width: 1262px;
	border-top: 1px solid #414042;
	padding: 18px 30px;
	color: #414042;
	font-family: "im_fell_english_proregular", "Tahoma", "Arial", "Verdana", "Roboto", serif;	
}

#footer .copy {
	float: left;
	max-width: 49%;
}

#footer .by {
	float: right;
	max-width: 49%;
}

/* ---------------------------------------------------------
   4. Styles for Responsive web design
   ---------------------------------------------------------*/

/* ---------------------------------------------------------
   1. Embedded fonts styles
   2. General reset
   3. Common site styles
   4. Styles for responsive breakpoints   
   ---------------------------------------------------------*/

@media (min-width: 768px) {
	.commentlist-item .commentlist-item {
		padding: 0 0 0 2em;
	}
}

@media (min-width: 1024px) {
	.nav-add ul li:first-child {
		margin: 0;
	}

	#main-nav > ul > li {
		border-left: 2px solid #e6e6e6;
	}

	#main-nav > ul > li.hover > ul {
		visibility: visible;
		margin-top: 38px;
	}

	#main-nav > ul > li:first-child {
		border: none;
	}

	#main-nav > ul > li > ul {
		visibility: hidden;
		z-index: -1;
		margin-top: -200%;
		-webkit-transition: margin-top .4s linear, visibility .5s linear;
		transition: margin-top .4s linear, visibility .5s linear;
	}

	.nav-add > ul {
		float: left;
	}

	.top-search {
		float: left;
		padding: 0;
		margin: -2px 0 -3px 13px;
	}

	.top-search .form-box {
		position: absolute;
		right: -15px;
		top: 100%;
		padding: 13px 109px 8px 8px;
		background: #AABC45;
		width: 340px;
	}

	.top-search .form-box .submit {
		top: 13px;
		right: 8px;
	}

	.top-search .search-opener {
		display: block;
		position: relative;
		width: 25px;
		height: 25px;
		cursor: pointer;
	}

	.top-search .search-opener:hover {
		opacity: .8;
	}

	.top-search .search-opener:before,
	.top-search .search-opener:after {
		position: absolute;
		content: "";
	}

	.top-search .search-opener:before {
		top: 0;
		left: 0;
		width: 20px;
		height: 20px;
		border: 3px solid #fff;
		border-radius: 50%;
	}

	.top-search .search-opener:after {
		top: 18px;
		left: 13px;
		width: 12px;
		height: 4px;
		background: #fff;
		border-radius: 4px;
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}
}

@media (min-width: 1200px) {
	.top-search {
		margin: 0 -14px -4px 43px;
	}

	.top-search .form-box {
		right: -25px;
	}
}

@media (max-width: 1599px) {
	#header .holder {
		margin: 0 -15px 0 0;
	}

}

@media (max-width: 1199px) {
	.logo {
		width: 280px;
	}

	.nav-add {
		padding: 7px 15px 11px;
	}

	#main-nav > ul > li > a {
		padding: 6px 10px;
	}
}

@media (max-width: 1023px) {
	body {
		font-size: 18px;
		line-height: 1.5;
	}

	.container,
	.content-holder,
	.history-section,
	.bottom-area,
	.post-section,
	.content-section,
	#footer {
		max-width: 1262px;
	}

	#header .holder {
		padding: 0 15px 6px;
		margin: 0 -15px;
		position: static;
	}

	.nav-drop {
		visibility: hidden;
		z-index: -1;
		-webkit-transition: -webkit-transform .3s ease;
		transition: transform .3s ease;
		position: absolute;
		width: auto;
		max-width: none;
		left: 0;
		right: 0;
		background: #AABC45;
		padding-bottom: 30px;
		-webkit-transform: translateY(-100%);
		-ms-transform: translateY(-100%);
		transform: translateY(-100%);
	}

	.nav-active .nav-drop {
		top: 100%;
		visibility: visible;
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
	}

	.logo {
		float: none;
		margin: 0 auto;
		width: 220px;
		padding: 5px 0 5px 0;
	}

	.lang {
		width: auto;
		left: 15px;
		right: auto;
		top: 22px;
	}

	.nav-add {
		position: static;
		padding: 0;
	}

	.nav-add ul li {
		float: none;
		margin: 0 0 24px;
	}

	.nav-add ul a {
		display: block;
		padding: 0 28px;
	}

	#main-nav br {
		display: none;
	}

	#main-nav {
		padding: 5px 0 39px;
	}

	#main-nav > ul {
		display: block;
	}

	#main-nav > ul > li {
		width: auto;
		text-align: left;
		border-bottom: 1px solid #becb72;
	}

	#main-nav > ul > li.has-drop-down > a {
		padding-right: 40px;
	}

	#main-nav > ul > li.has-drop-down > a:before {
		position: absolute;
		content: ">";
		top: 12px;
		right: 20px;
		font-size: 30px;
		line-height: 1;
		-webkit-transform: rotate(90deg);
		-ms-transform: rotate(90deg);
		transform: rotate(90deg);
		-webkit-transition: -webkit-transform .3s ease;
		transition: transform .3s ease;
		color: #fff;
	}

	#main-nav > ul > li.hover > a {
		color: #414042;
	}

	#main-nav > ul > li.hover.has-drop-down > a {
		color: #fff;
	}

	#main-nav > ul > li.hover.has-drop-down > a:before {
		-webkit-transform: rotate(-90deg);
		-ms-transform: rotate(-90deg);
		transform: rotate(-90deg);
	}

	#main-nav > ul > li.hover > ul {
		display: block;
	}

	#main-nav > ul > li.hover.has-drop-down:after {
		display: none;
	}

	#main-nav > ul > li.active > a {
		color: #414042;
	}

	#main-nav > ul > li > a {
		color: #fff;
		text-align: left;
		padding: 14px 28px;
	}

	#main-nav > ul > li > a:after {
		display: none;
	}

	#main-nav > ul > li > a:hover {
		color: #414042;
	}

	#main-nav > ul > li > ul {
		display: none;
	}

	#main-nav > ul > li > ul {
		position: static;
		width: auto;
		margin-top: 0;
		background: #bac869;
		padding: 0;
	}

	#main-nav > ul > li > ul > li > a {
		padding: 16px 29px 14px;
	}

	#main-nav > ul ul ul {
		display: none;
	}

	#main-nav > ul ul ul {
		background: #f6f3ed;
	}

	#main-nav > ul ul ul a {
		color: #AABC45;
	}

	#main-nav > ul ul ul a:hover {
		color: #879535;
	}

	.nav-opener {
		display: block;
	}

	.top-search .form-box {
		position: relative !important;
		top: auto !important;
		left: auto !important;
	}

	.top-search .form-box .submit {
		font-size: 0;
		line-height: 0;
	}

	.top-search .form-box .submit:before,
	.top-search .form-box .submit:after {
		position: absolute;
		content: "";
	}

	.top-search .form-box .submit:before {
		top: 7px;
		left: 33px;
		width: 20px;
		height: 20px;
		border: 3px solid #fff;
		border-radius: 50%;
	}

	.top-search .form-box .submit:after {
		top: 25px;
		left: 46px;
		width: 12px;
		height: 4px;
		background: #fff;
		border-radius: 4px;
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	.visual-section {
		height: 450px;
	}

	.content-holder {
		margin-top: -100px;
	}

	#content {
		padding: 25px;
	}

	.bottom-area {
		padding: 0 15px 22px;
	}

	.bottom-area address {
		float: none;
		width: auto;
		text-align: center;
		line-height: 1.27;
	}

	.add-nav {
		display: none;
	}

	.logo-box {
		display: block;
		margin: 0 auto 20px;
		width: 358px;
	}

	.logo-footer {
		margin: 0 0 30px;
	}

	.post-section .holder-post {
		margin: 0 -10px;
	}

	.post-section .post {
		padding: 0 10px 30px;
	}

	.post-section .post h2 {
		padding: 0;
	}

	.content-section #content {
		width: auto;
		float: none;
		margin: 0 0 25px;
	}

	.content-section #sidebar {
		width: auto;
		float: none;
	}

	#footer {
		padding: 15px;
		text-align: center;
		border-width: 2px;
		font-family: "im_fell_english_proregular", "Tahoma", "Arial", "Verdana", "Roboto", serif;	
	}

	#footer .copy {
		float: none;
		max-width: none;
		display: block;
		margin: 0 0 10px;
	}

	#footer .by {
		float: none;
		display: block;
		max-width: none;
	}
}

@media (max-width: 767px) {
	blockquote {
		padding: 0;
	}

	.navigation,
	.navigation-comments {
		font-size: 17px;
	}

	.navigation .page-numbers,
	.navigation-comments .page-numbers {
		padding: 0;
	}

	.navigation .next,
	.navigation .prev,
	.navigation-comments .next,
	.navigation-comments .prev {
		padding: .2em;
	}

	.navigation-single .next a,
	.navigation-single .prev a {
		padding: .2em;
	}

	.container,
	.content-holder,
	.history-section,
	.bottom-area,
	.post-section,
	.content-section,
	#footer {
		padding: 0;
	}

	.btn {
		font-size: 13px;
		padding: 8px 10px 7px;
		min-width: 115px;
	}

	.carousel {
		margin: 0 0 36px;
	}

	.carousel .slide {
		padding: 0 30px;
		height: auto;
		min-height: 300px;
	}

	.carousel .btn-prev,
	.carousel .btn-next {
		width: 31px;
		height: 52px;
		line-height: 50px;
		font-size: 24px;
		margin-top: 0;
		top: 78px;
	}

	.carousel .container,
	.carousel .content-holder,
	.carousel .history-section,
	.carousel .bottom-area,
	.carousel .post-section,
	.carousel .content-section,
	.carousel #footer {
		height: auto;
	}

	.carousel .container:after,
	.carousel .content-holder:after,
	.carousel .history-section:after,
	.carousel .bottom-area:after,
	.carousel .post-section:after,
	.carousel .content-section:after,
	.carousel #footer:after {
		display: none;
	}

	.carousel .box-text {
		max-width: none;
		margin: 0 -30px;
		background: #fff;
		text-align: center;
		display: block;
		padding: 9px 25px 15px;
		font-family: "im_fell_english_proregular", "Tahoma", "Arial", "Verdana", "Roboto", serif;	
	}

	.carousel .title {
		font-size: 24px;
		line-height: 1.125;
		margin: 0 0 8px;
	}

	.carousel .bg-box {
		margin: 0 0 24px;
		height: 300px;
	}

	.carousel .bg-box {
		height: 210px;
		display: block;
		position: static;
		margin: 0 -30px;
	}

	.visual-section {
		margin: 0 0 24px;
		height: 300px;
	}

	.content-holder {
		margin: 0 0 25px;
	}

	#content {
		padding: 10px 15px;
	}

	.inform-section {
		padding: 18px 10px 40px;
		line-height: 1.59;
	}

	.inform-section .title {
		font-size: 26px;
		line-height: 1.23;
		font-family: "im_fell_english_proregular", "Tahoma", "Arial", "Verdana", "Roboto", serif;	
	}

	.history-section {
		margin-top: 0;
	}

	.history-section .holder {
		padding: 16px 10px 40px;
	}

	.history-section h1 {
		font-size: 37px;
		line-height: 1.113;
	}

	.bottom-area {
		padding: 0 15px  2px;
	}

	.bottom-area .ttl {
		font-size: 24px;
	}

	.logo-box {
		width: 292px;
		margin: 0 auto 13px;
	}

	.logo-footer {
		margin: 0 0 13px;
	}

	.post-section .post {
		width: 50%;
		padding: 0 10px 35px;
	}

	.post-section .post .holder {
		padding: 18px 10px 10px;
	}

	.post-section .post .image {
		margin: 0 1px 19px;
	}

	.post-section .post h2 {
		margin: 0 0 17px;
	}

	#footer {
		font-size: 17px;
		line-height: 1.17;
		padding: 27px 20px;
		font-family: "im_fell_english_proregular", "Tahoma", "Arial", "Verdana", "Roboto", serif;	
	}

	#footer .copy {
		margin: 0 0 23px;
	}
}

@media (max-width: 479px) {
	.visual-section {
		height: 137px;
	}

	#content .image {
		float: none;
		max-width: none;
		margin: 0 0  10px;
	}

	.post-section .post {
		width: 100%;
	}

	.post-section .post .holder {
		min-height: 1px !important;
	}
}



