/* 
**
** The file with .less extension has been provided for reference to be used by other developers. Do not touch it if you don't know what it is.
**
** Main Stylesheet Document of the theme 
** This contains basic Structural Details, Styling of the theme.
*/
/* Basic Containers 
-------------------------------------------------*/
html {}

body {
  font-family: Arial, san-serif;
  background: transparent;
}
.container {
  width: 1100px;
  margin: auto;
}
#page {
  position: relative;
  z-index: 999;
  margin: auto;
}
#content {
background: transparent;
  padding: 5px 0;
  word-wrap: break-word;
  -ms-word-wrap: break-word;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  width: 98%;
  max-width: 1100px;
  margin: 35px auto 10px;
  behavior: url('PIE.htc');
}
.blog #content {

}


#top-section {max-width: 1100px; min-height: 265px; position: relative; margin: auto;}
/* Links
------------------------------------------------- */
a {
  color: #369;
  text-decoration: none;
}
a:hover,
a:focus,
a:active {
  color: #18203E;
  text-decoration: underline;
}
/* HEADER 
--------------------------------------------------*/
#header-bg {
  width: 100%;
  min-height: 265px;
  background: transparent;
  max-width: 1100px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1;
  behavior: url('PIE.htc');
}

.admin-bar #header-bg { min-height: 280px;}


#header-image {
  width: 100%;
  position: absolute;
  min-height: 180px;
  background: transparent;
  max-width: 1100px;
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 0;
  -moz-border-radius: 0 0 10px 10px;
  -webkit-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
  z-index: 1;
  behavior: url('PIE.htc');
}
/*
admin-bar #header-image{ min-height: 215px;}
*/
#header-image img {
  filter: blur(5px);
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  
}

header {
  position: relative;
  margin: auto; 
  padding: 0;
  margin-bottom: 15px;
}

#header-logo {
    position: absolute; left: 0; top: 25px;  z-index: 5;

}

#header-logo img
{-moz-border-radius:  50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -moz-box-shadow: 0 0 20px rgba(255,255,29,0.5);
    -webkit-box-shadow: 0 0 rgba(255,255,29,0.5);
    box-shadow: 0 0px 20px rgba(255,255,29,0.5);
}


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

}


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

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

@font-face {
    font-family: 'mathilderegular';
    src: url('../fonts/mathilde-webfont.eot');
    src: url('../fonts/mathilde-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/mathilde-webfont.woff') format('woff'),
         url('../fonts/mathilde-webfont.ttf') format('truetype'),
         url('../fonts/mathilde-webfont.svg#mathilderegular') format('svg');
}


header .site-branding {position: relative; z-index: 5; padding-top: 10px; margin: 0 auto; height: 117px; max-width: 1100px; }
header h1.site-title { position: relative; position: relative; left: 220px; top: 145px; text-align: center; max-width:230px;  z-index: 5;}
header .site-title a {
  text-decoration: none;
  color: #FFFF1D;
  line-height: 1.2;
  font-size: 24px;
  font-family: faraco_handregular;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: bold;
  text-shadow: #fff 2px 0px 20px;
}

header #social-icons img {
  width: 33px;
  padding-top: 0px;
  padding-right: 0px;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
header #social-icons img:hover {
  transform: rotate(10deg) scale(1.04);
  -webkit-transform: rotate(10deg) scale(1.1);
  -moz-transform: rotate(10deg) scale(1.1);
}

#social-icons .container {max-width: 33px; position: absolute; z-index: 5; left: -50px; top: 10px; text-align: left; padding-left: 10px;}

.header-logo {}
#home_link {
	display: block;
	margin: 0 auto -117px;
	border: 0px solid #c30;
	padding: 0;
	width: 212px; height: 117px; 
        position: relative;
        top:-117px;
	z-index: 100;
}

 
/* Languages Menu
----------------------------------------------------*/

#languages {position: absolute; top: 17px; left: 0px; z-index: 5; width: 100px;}
#languages ul.menu {list-style-type: none; margin: 0; padding:0;}
#languages ul.menu li { padding: 0 2px; width: 25px; display: inline;}
#languages ul.menu li img {width: 25px; opacity: 0.8;}
#languages ul.menu li img:hover {opacity: 1;}



/* Slider Styles
------------------------------------------------*/
#slideshow{
    position: absolute; top: 15px; right: 0; z-index: 10; max-width: 590px; max-height: 210px;
    border: 6px solid #FFFF1D;
    background: #FFFF1D;
    -moz-border-radius:  25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    behavior: url('PIE.htc');
}

.flex-control-nav {
    bottom: 15px !important;
    right: 15px;
    z-index: 100;
    width: auto !important; 
}

.flex-control-nav li a {
    margin: 0 3px !important;
}

.flex-control-paging li a {
    background: transparent url('../images/slide-passive.png') no-repeat !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    height: 12px !important;
    width: 12px !important;
}
.flex-control-paging li a:hover {

}
.flex-control-paging li a.flex-active {
    background: transparent url('../images/slide-active.png') no-repeat !important;
}

 .metaslider .caption-wrap {
    background: transparent !important;
	padding: 5px !important;
	color: #fff !important;
    -moz-border-radius: 0 0 20px 20px !important;
    -webkit-border-radius: 0 0 20px 20px !important;
    border-radius: 0 0 20px 20px !important;
    behavior: url('PIE.htc');
}
.slides li img {
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius:  20px;
    behavior: url('PIE.htc');
}


#slideshow img {overflow:hidden}
.slider-parent {
  position: relative;
  top: -30px;
}
.slider-wrapper {
  width: 1100px;
  border-top: solid 4px #5e5340;
  border-bottom: solid 4px #5e5340;
  margin-bottom: -40px;
  background: #111;
  box-shadow: 1px 1px 5px #4a4a4a;
  behavior: url('PIE.htc');
}

.flex-direction-nav a {
    background: none !important;
    cursor: pointer;
    display: block;
    height: 127px !important;
    margin: -20px 0 0;
    opacity: 1 !important;
    position: absolute;
    text-indent: -9999px;
    top: 30% !important;
    width: 23px !important;
    z-index: 10;
}

.flex-direction-nav .flex-next {
    background: url("../images/slide-right.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    right: -23px !important;
}
.flexslider:hover .flex-next {
    opacity: 1 !important;
    right: -23px !important;
}

.flex-direction-nav .flex-prev {
    background: url("../images/slide-left.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    left: -23px !important;
}

.flexslider:hover .flex-prev {
    opacity: 1 !important;
    left: -23px !important;
}




/* Main Navigation 
_______________________________________________*/

#nav-wrapper {position: absolute; top: 250px; left: 0; right: 0; width: 100%; max-width: 1100px; margin: 0 auto; z-index: 99;}

.main-navigation {
  clear: both;
  margin: auto;
  margin-bottom: 20px;
  height: auto;
  position: relative; text-align:left;
  max-width:1100px;
  width: 100%;
}

.main-navigation div {width: 100%; position: relative; }

.main-navigation div .nav-menu {
    background: #FFFF1D url('../images/menu_bg_2.jpg') repeat-x top left;
    padding: 0 1.5%;
    width: 97%; 
    height: 50px;
    font-size: 13px;
    font-weight: 600;
    -moz-border-radius:  20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -moz-box-shadow: 0 0 5px #FBFB1E;
    -webkit-box-shadow: 0 0 5px #FBFB1E;
    box-shadow: 0 0 5px #FBFB1E;
    text-transform: uppercase;
    behavior: url('PIE.htc');
}


.main-navigation a,
.main-navigation a:visited
{
  color: #333;
  
  padding: 18px 10px 16px;
   text-decoration: none;
}

.main-navigation a:active,
.main-navigation a:hover {
  color: #334668;
  text-decoration: none;
}

.main-navigation li.current-menu-item a {
  color: #334668;
  text-decoration: none;
}

.main-navigation li.current-menu-item .sub-menu a {
  color: #333;
  text-decoration: none;
}

.main-navigation li.current-menu-item .sub-menu a:hover {
  color: #334668;
}


.main-navigation a[href=''], 
.main-navigation a[href='#']{
    cursor: default;
}

.main-navigation ul ul {
  background: #D1C01B;
  padding-top:3px;
  top: 49px;
  border-bottom: 5px #D1C01B solid;
  -moz-border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 4px 3px 0  #334668;
  behavior: url('PIE.htc');
 
    transition: 1s all ease;
  -webkit-transition: 1s all ease;
  -moz-transition: 1s all ease;
  -o-transition: 1s all ease;
  
}
.main-navigation ul ul li {border-top: 1px dotted #E4DD1B;}
.main-navigation ul ul li:first-child {border-top: 0px;}

.main-navigation ul ul a {
  padding: 7px 10px;
}
.main-navigation ul ul a:hover {

  color: #333;
}
.main-navigation li:hover > a {
  color: #334668;
  background: #D1C01B;
}
/*
.main-navigation li.menu-item-first:hover > a {
  -moz-border-radius: 10px 0 0 10px;
   -webkit-border-radius: 10px 0 0 10px;
  border-radius: 10px 0 0 10px;
  behavior: url('PIE.htc');
}
.main-navigation li.menu-item-last:hover > a {
  -moz-border-radius: 0 10px 10px 0 ;
  -webkit-border-radius: 0 10px 10px 0 ;
  border-radius: 0 10px 10px 0 ;
  behavior: url('PIE.htc');
}
*/
.main-navigation ul ul :hover > a {

  color: #334668;
}

/* Home featured AREA 
_______________________________________________*/

.featured-container {margin: 0 auto; display: block; width: auto; max-width: 1100px; clear: both; position: relative;}
#featured-box {position: relative; left: 5%; right: 5%; max-width: 970px;}
.featured-box {
    display: inline-block; margin: 0 11px; max-width: 300px; 
    position: relative;
    transition: 1s all ease;
  -webkit-transition: 1s all ease;
  -moz-transition: 1s all ease;
  -o-transition: 1s all ease;
}
.featured-caption { 
  position: absolute; bottom: 10px; left: 0; 
  padding:2% 4%; width: 96%; 
  background: rgba(6,74,30,0.5); }

.featured-caption h3.image-title { color: #fff;}

.featured-caption a  {font-size: 19px; text-transform: capitalize; color: #fff; }
.featured-caption a:hover {text-decoration: none; color: #fff; }

.featured-box a img {
     border: 7px solid #034513;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 5px #064A1E;
    -wekit-box-shadow: 0 0 5px #064A1E;
    box-shadow: 0 0 5px #064A1E;
    behavior: url('PIE.htc');
}

.featured-box:hover {
  transform: scale(1.04);
  -webkit-transform: scale(1.04);
  -moz-transform: scale(1.04);
}


/*Homepage 
--------------------------------------------------*/
h2#page-title,
h1.page-title,
h1.entry-title,
.archive h1.page-title,
.page h1.entry-title {
  font-size: 20px;
  line-height: 1.2;
  font-family: Arial, san-serif;
  font-weight: lighter;
  display: inline-block;
  clear: both;
  font-weight: bold;
  text-shadow: #ccc 3px 0px 6px;
  padding: 0px 0 5px;
  color: #222F4F;
  /*border-bottom: solid 1px #2a2622;*/
}

.archive h2#page-title {color:#FFFF1D; }


#primary h2.widgettitle {font-size: 15px; font-weight: bold; color: #000;}
#primary .widget {border-top: 1px solid #ccc; padding: 10px 5px 0;}
.article-wrapper {
  display: block;
  width: 98%;
  margin:0 0 0px;
  float: left;
}

.homepage-article {
  background: #fff;
  padding: 10px;
  width: 100%;
  display: block;
  float: left;
  word-wrap: break-word;
  -ms-word-wrap: break-word;
   -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 0 0 10px #BEAB7D;
  -webkit-box-shadow: 0 0 10px #BEAB7D;
  box-shadow: 0 0 10px #BEAB7D;
  behavior: url('PIE.htc');
}

.homepage-article .featured-image {
  max-width: 240px;
  height: 140px;
  overflow: hidden;
  float: left;
  margin: 0 20px 0 0;
  width: 35%;
}
.entrys {
    padding-right: 15px;
    font-size: 14px;
    float: right;
    width: 62%;
}


.homepage-article img {
  transition: 1s all ease;
  -webkit-transition: 1s all ease;
  -moz-transition: 1s all ease;
  -o-transition: 1s all ease;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}
.homepage-article img:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  behavior: url('PIE.htc');
  
}
.homepage-article h1.entry-title {
  padding: 2px 0 10px;
  text-align: left;
  line-height: 1;
}
.homepage-article h1.entry-title a {
  font-family: Arial, sans-serif;
  color: #243152;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
}
.homepage-article h1.entry-title a:hover {
  color: #243152;
}

/*Articles, Pages and General Content Section Styling
----------------------------------------------------------*/
/* Floating Details of the Section, which determines the layout is present in the css/layouts folder */
section.not-found,
#primary #main .hentry {padding: 10px 10px 10px;}
#primary
{ 
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  word-wrap: break-word;
  -ms-word-wrap: break-word;
  -moz-box-shadow: 0 0 10px #18203E;
  -webkit-box-shadow: 0 0 10px #18203E;
  box-shadow: 0 0 10px #18203E;
   -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  font-size: 14px;
  behavior: url('PIE.htc');
}

#primary ul {/*overflow: auto;*/ list-style-position: outside;}

#primary-blog {
  padding: 10px;
  word-wrap: break-word;
  -ms-word-wrap: break-word;
  background: transparent;
}

.single-post {
  border-bottom: 0px dotted #6e5730;
  padding-bottom: 0px;
}
.single-post h1.entry-title {
  
}
.single-post h1.entry-title a {
  text-decoration: none;
}
.single-post .featured-image-single {
  width: 80%;
  margin: auto;
  clear: both;
  margin-bottom: 15px;
}
.single-post .featured-image-single img {
  border: solid 10px #ece5be;
}
.entry-meta {
  font-size: 12px;
  color: #666;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: lighter;
  padding: 5px 0;
  margin-top: 10px;
  border-top: 1px dotted #ccc;
  border-bottom: 1px dotted #ccc;
}
.entry-meta a {
  color: #036;
  text-decoration: none;
}
.entry-meta a:hover {
  text-decoration: underline;
}
#nav-below {
  background: #ededed;
  padding: 10px;
  border-radius: 5px;
  behavior: url('PIE.htc');
}



span.initial {
font-family:Georgia, serif;
color: #000;
font-size: 60px;
float: left;
font-weight: 400;
line-height: 1em;
margin-top: -0.1em;
margin-bottom: -0.2em;
margin-right: 0.09em;
position: relative;
}


/* Sidebar
-------------------------------------------------------*/

#secondary .widget{ 
  margin: 10px 0 0;
  padding: 10px;
  background: #fff;
  word-wrap: break-word;
  -ms-word-wrap: break-word;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  font-size: 14px;
  clear: both
      behavior: url('PIE.htc');
}

#secondary a,
#footer-sidebar a {
  color: #369;
  text-decoration: none;
}
#secondary a:hover {
  color: #000;
}
#secondary .widget-title {
  color: #243152;
  font-size: 16px;
  padding-top:5px;
  margin-bottom: 10px;
  font-weight: bold;
}
#footer-sidebar {margin-top: 10px; font-size: 14px;}
#footer-sidebar .widget-title {
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
  background: #222F4F;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding:  4px 10px;
  behavior: url('PIE.htc');
}


aside.widget div, aside.widget ul, aside.widget ol {padding: 0 10px;}

#footer-sidebar div.footer-column {border-left: 1px solid #222F4F; padding-left: 30px;}
#footer-sidebar div.footer-column:first-child {border: none; padding-left: 0px;}

#footer-sidebar a:hover {
  color: #fff;
}

#secondary .widget_tag_cloud a,
#footer-sidebar .widget_tag_cloud a {
  font-size: 14px !important;
  background: #5e5340;
  color: #d5be95;
  padding: 4px 8px;
  text-decoration: none;
  margin-top: 4px;
  display: inline-block;
}
#secondary .widget_tag_cloud a:hover,
#footer-sidebar .widget_tag_cloud a:hover {
  background-color: #6e5730;
}
#secondary ul,
#footer-sidebar ul {
  margin-left: 0px;
  list-style: none;
}
#secondary ul > li {
  padding: 4px 0;
  border-top: dotted 1px #5e5340;
}

#footer-sidebar ul > li {
  padding: 4px 0;
  border-top: dotted 1px #222F4F;
}

#secondary ul > li:first-child,
#footer-sidebar ul > li:first-child{
  border-top: none;
}


#secondary ul > li ul,
#footer-sidebar ul > li ul {
  border-bottom: none;
  margin-left: 20px;
  padding-bottom: none;
  list-style: disc;
}
#secondary ul > li ul li,
#footer-sidebar ul > li ul li {
  padding: 0px;
  border: none;
}
#secondary select,
#footer-sidebar select {
  width: 100%;
  height: 45px;
  outline: none;
  padding: 10px;
}
.widget_search input[type=submit] {
  display: inline;
  box-shadow: none;
  text-shadow: none;
 background: url('../images/search.png')no-repeat;
 cursor: pointer; border: none; 
 font-size: 0px; text-indent: -999px; 
 position: relative; top: -5px; left: 3px; height: 20px; width: 20px;
}
.widget_search input[type=search] {
  outline: none;
  background: #dbdacf;
  width: 82%;
}
#footer-sidebar {
  clear: both;
}
#footer-sidebar .footer-column {
  width: 28%;
  float: left;
  margin: 1.5%;
}
/*Comments Section */
.comment {
  background: #f7f5e7;
  border-color: #bbb;
}
/* Modification for Sidebar on Homepage */
/*
.page-template-page-full-width-php #secondary,
.blog #secondary {
  padding-left: 10px;
  float: none;
  margin: auto;
  margin-left: 5px;
  padding-right: 0px;
  width: 96%;
  position: relative;
}
.page-template-page-full-width-php #secondary .widget,
.blog #secondary .widget {
  width: 29%;
  margin-left: 2%;
  margin-right: 1.5%;
  float: left;

}
*/
#primary-home {

  margin: 10px auto 15px;
  max-width: 1100px;
}
/* Full width Template
----------------------------------------------*/
.full-width {
  width: 100% !important;
  padding: 10px;
}
/* Colophon */


#colophon {
  background: #18203E;
  color: #fff;
  width: 100%;
  min-height: 200px;
  max-width: 1100px;
  margin: auto;
  -moz-border-radius: 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
  behavior: url('PIE.htc');
}
#colophon a {
  text-decoration: none;
  color: #FFE599;
}
#colophon .site-info {
  float: right;
  padding: 0 20px 10px 10px;
  font-size: 12px;
  font-style: italic;
}
#colophon #footertext {
  float: left;
  padding: 0 10px 10px 20px;
  font-size: 12px;
  font-style: italic;
}
/* Archive & Search Pages
---------------------------------------- */
.search .entry-title a,
.archive .entry-title a {
  /*font-size: x-large;*/
  text-decoration: none;
  color: #243152;
}
.search article,
.archive article {
  background: #fff;
  padding: 15px;
}
.search h1.entry-title,
.archive h1.entry-title {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: lighter;
  display: block;
  clear: both;
  text-transform: none;
  text-shadow: #fff 0px 0px 0px;
  padding: 10px 0px;
   margin:0;
  word-wrap: break-word !important;
  -ms-word-wrap: break-word;
  color: #243152;
  box-shadow: 0px 0px 0px;
  border-bottom: none;
  margin-bottom: 0px;
}

.search .wp-post-image,
.archive .wp-post-image {
  text-align: center;
  display: block;
  margin: auto;
  max-width: 50%;
  border-bottom: solid 4px #865e18;
  box-shadow: 0px -1px 9px #666666;
}
.search .page-title {
  font-size: x-large;
  border-bottom: solid 1px black;
  display: inline-block;
  margin-bottom: 15px;
}
.archive #colophon,
.search #colophon,
.single #colophon {
  margin-bottom: -22px;
}
.category .entry-title a {
  font-size: normal;
}
.category article {
  padding: 10px;
}
.category h1.entry-title {
  font-size: normal;
  padding: 0px 0px 10px;
}

.category .wp-post-image {
  max-width: 100%;
  border-bottom: none;
  box-shadow: none;
}
/* Pagination
-----------------------------------------------*/
.pagination {
  margin: 10px 0;
  padding-top: 5px;
  text-align: center;
  width: 100%;
  clear: both;
}
.pagination ul {
  list-style: none;
  display: inline-block;
  text-align: center;
  margin-bottom: 0;
  margin-left: 0px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  padding: 5px;
  background: #0A8239;
  behavior: url('PIE.htc');
}
.pagination ul > li {
  display: inline;
}
.pagination ul > li > a {
  color: #6a5634;
  transition: all 0.4s ease;
}
.pagination ul > li > a:hover {
  color: #fff;
  background: #0A8239;
}
.pagination .current {
  background: #064A1E;
  color: #fc0;
}
.pagination ul  > li  > a,
.pagination ul  > li  > span {
  float: left;
  padding: 4px 12px;
  line-height: 20px;
  text-decoration: none;
  background-color: #064A1E;
  /*  border: 1px solid desaturate(@default-background, 55%); */

  border-left-width: 0;
  display: inline-block;
  color: #fff;
}
.pagination ul  > li:first-child  > a,
.pagination ul  > li:first-child  > span {
  border-left-width: 1px;
}
.pagination ul  > li:last-child  > a,
.pagination ul  > li:last-child  > span {
  border-rigth-width: 1px;
}
/* HTML Markup & Formatting */
.single article h1,
.page article h1 {
  font-size: 24px;
}
.single article h2,
.page article h2 {
  font-size: 20px;
}
.single article h3,
.page article h3 {
  font-size: 18px;
  padding: 10px 0;
}
.single article h4,
.page article h4 {
  font-size: 16px;
  margin: 0 0 15px;
  padding-top: 20px;
}
.single article h5,
.page article h5 {
  font-size: 15px;
}
.single article h6,
.page article h6 {
  font-size: 14px;
}
.single article blockquote,
.page article blockquote {
  background: #fff;
  padding: 10px;
  margin-bottom: 10px;
  padding-bottom: 1px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  font-family: Georgia, Times, serif;
  behavior: url('PIE.htc');
}
.single article table td,
.page article table td,
.single article table th,
.page article table th {
  padding: 5px;
  background: #fff;
}
.single article table th,
.page article table th {
  border-bottom: solid 3px #100d0a;
}
.single article ul ul,
.page article ul ul {
  list-style: circle;
}
.single article ul ul ul,
.page article ul ul ul {
  list-style: disc;
}
.single article ol ol,
.page article ol ol {
  list-style: lower-roman;
}
.single article ol ol ol,
.page article ol ol ol {
  list-style-type: lower-alpha;
}
.full-width {
  width: 98% !important;
}
/* Responsive Design Begins Below
---------------------------------------------------*/
@media screen and (max-width: 1100px) and (min-width: 960px) {
  .container,
   #top-section, #content {
    width: 96%;
  }
  #header-image {}
  #social-icons .container {  top: 5px; left: 0px;}
  #languages {top: 10px; right: 5px;}
  
  #primary-blog, #primary {width: 69%}
  .entrys {width: 58%;}
  .home #secondary {
    margin-left: 1%;
  }
  .home #secondary .widget {
    margin-right: 1%;
  }
    #slideshow {width: 99.5%; margin-left: 2px; }
}

/*---*/

@media screen and (max-width: 960px) and (min-width: 881px) {
  .container,
   #top-section, #content {
    width: 96%;
  }
  #header-image { width: 99.5%; margin: auto;}

  #header-bg {background: transparent ; width: 100%; border-left: 0; border-right: 0;}
  #content {padding:0;}

  #header-logo {}  
  #social-icons .container {  top: 5px; left: 0px;}
  #languages {top: 10px; right: 5px;}
  .site-title {display: none;}
 .entrys {width: 58%;}
  
  #primary-home, #primary {margin-left: auto; margin-right: auto;}
  #footer-sidebar .footer-column {
    width: 70%;
    margin: auto;
    float: none;
  }
  #primary {
    width: 95%;
    float: none;
  }
   #primary, #primary-blog {
    width: 95%;
    float: none;
     height: auto !important;
  }
  
  #secondary {
    width: 50%;
    float: none;
    margin: auto;
    height: auto !important;
  }
  #footer-sidebar div.footer-column {border: none; padding-left: 0px;}
}

/*---*/

@media screen and (max-width: 880px) and (min-width: 768px) {
  .container,
   #top-section, #content {
    width: 96%;
  }
  #header-image { display: none;}

  #header-bg {background: transparent ; width: 100%; border-left: 0; border-right: 0;}
  #content {padding:0;}

  #header-logo {}  
  #social-icons .container {  top: 5px; left: 0px;}
  #languages {top: 10px; right: 5px;}
  .site-title {display: none;}
  #slideshow{
    max-height: 170px;
    max-width: 480px;
    top: 35px;
  }
  
  .flex-direction-nav a {
    top: 25% !important
}
 .entrys {width: 58%;}
  
  #primary-home, #primary {margin-left: auto; margin-right: auto;}
  #footer-sidebar .footer-column {
    width: 70%;
    margin: auto;
    float: none;
  }
  #primary {
    width: 95%;
    float: none;
  }
   #primary, #primary-blog {
    width: 95%;
    float: none;
     height: auto !important;
  }
  
  #secondary {
    width: 50%;
    float: none;
    margin: auto;
    height: auto !important;
  }
  #footer-sidebar div.footer-column {border: none; padding-left: 0px;}
}


/*---*/

@media screen and (max-width: 768px) and (min-width: 480px) {
  .container,
   #top-section, #content {
    width: 96%;
  }
  #top-section {min-height: 220px;}
  #header-image {}

  #header-bg {background: transparent ; width: 100%; border-left: 0; border-right: 0;}
  #content {padding:0;}
 #header-logo {position: absolute; max-width: 120px; left: 0px;  top: 35px; text-align: left;}
   #header-logo img { max-width: 120px;}
  #social-icons .container {  top: 5px; left: 0px;}
  #languages {top: 10px; right: 5px;}
  header .site-branding {position: relative; z-index: 12; max-width: 120px; margin:0;}
  #slideshow {z-index: 9; position: absolute; top: 15px; width: 70%; max-height: 140px; max-width: 380px;}
  .flex-direction-nav a {margin: -33px 0 0 !important;}
  
  #nav-wrapper {z-index: 10;}
  .article-wrapper {width: 95%;}
  .homepage-article .featured-image {width: 25%;}
  .entrys {width: 66%;} 

#primary-home, #primary {margin-left: auto; margin-right: auto;}
  
  #featured-box { left: 0%; right: 0%; }
  .featured-box {display: block; margin: 0 auto 5px;}
    
  #primary, #primary-blog {
    width: 95%;
    float: none;
     height: auto !important;
  }
  #secondary {
    width: 70%;
    float: none;
    margin: auto;
    height: auto !important;
  }
  .pagination {
    margin-left: -50px;
  }
  
  .site-title a {
     display: none;
  }
  
  .page-template-page-full-width-php #secondary .widget,
  .home #secondary .widget {
    width: auto;;
  }
  #colophon #footertext {
    float: left;
  }
  #footer-sidebar .footer-column {
    width: 90%;
    float: none;
    margin: auto;
  }
  
  #footer-sidebar div.footer-column {border: none; padding-left: 0px;height: auto !important;}
}

/*---*/

@media screen and (max-width: 480px) and (min-width: 320px) {
 .container,
   #top-section, #content {
    width: 96%;
  }
  #top-section {min-height: 130px;}
  #header-image { display: none;}

  #header-bg {background: transparent ; width: 100%; border-left: 0; border-right: 0;}
  #content {padding:0; margin-top:0;}
  #header-logo { width: 100%; position: relative; left: 0; top: 8px; margin: auto;text-align: center;}
   #header-logo img {margin: auto; max-width: 140px;}
   
 #social-icons .container {  top: 5px; left: 0px;}
 #languages {top: 10px; right: 5px;}
 
  #footer-sidebar div.footer-column {border: none; padding-left: 0px; height: auto !important;}
  #slideshow {display: none;}
  
 .article-wrapper {width: 95%;}
 
 .homepage-article .featured-image {width: 100%;}
 .entrys {
    float: left;
    width: 100%;
 }
 #primary-home, #primary {margin-left: auto; margin-right: auto;}
  
  #featured-box { left: 0%; right: 0%; }
  .featured-box {display: block; clear: both; width: 95%; margin: 0 auto 5px;}
  #primary, #primary-blog {
    margin: 50px auto 0;
    width: 94%;
    float: none;
     height: auto !important;
  }
  #secondary {
    width: 95%;
    float: none;
    margin: auto;
    height: auto !important;
  }
  #secondary .widget {
    width: 95%;
  }
 
  .site-title a {
     display: none;
  }

  .page-template-page-full-width-php #secondary .widget,
  .home #secondary .widget {

  }
  #colophon #footertext {
    float: left;
  }

  #footer-sidebar .footer-column {
    width: 90%;
    float: none;
    margin: auto;
    height: auto !important;

  }
}

/*---*/

@media screen and (max-width: 320px) {
 .container,
   #top-section, #content {
    width: 96%;
  }
  #top-section {min-height: 130px;}
  #header-image { display: none;}

  #header-bg {background: transparent ; width: 100%; border-left: 0; border-right: 0;}
  #content {padding:0; margin-top:0;}
  #header-logo { width: 100%; position: relative; left: 0; top: 8px; margin: auto;text-align: center;}
   #header-logo img {margin: auto; max-width: 140px;}
 
  #social-icons .container {  top: 5px; left: 0px;}
  #languages {top: 10px; right: 5px;}
  #footer-sidebar div.footer-column {border: none; padding-left: 0px; height: auto !important;}
  #slideshow {display: none;}
  
  .article-wrapper {width: 90%; margin: auto;}
  .article-wrapper-gallery article {width: 80%; margin: auto; float: none;}
  .homepage-article .featured-image {
  width: 100%;
}
.entrys {
    float: left;
    width: 100%;
}
  #primary-home, #primary {margin-left: auto; margin-right: auto;}
  
  
  #featured-box { left: 0%; right: 0%; }
  .featured-box {display: block; margin: 0 auto 5px; width: 95%;}
  
  #primary, #primary-blog {
    margin: 50px auto 0;
    width: 88%;
    float: none;
     height: auto !important;
  }
 
  #secondary {
    width: 90%;
    float: none;
    margin: auto;
     height: auto !important;
  }
  
  #secondary .widget {
    width: 90%;
  }
 
  .site-title a {
    display: none;
  }

  .page-template-page-full-width-php #secondary .widget,
  .home #secondary .widget {

  }
  #colophon #footertext {
    float: left;
  }
  #footer-sidebar .footer-column {
    width: 90%;
    float: none;
    margin: auto;
    height: auto !important;
  }
  
}

/* Responsive Menu Bar 
-------------------------------------------------- */
@media screen and (max-width: 767px) {
    

  #top-section header {clear: both;}
  .menu-toggle {
      width: 100%; margin: auto;  
      text-align: center;  display: block;
      padding: 5px 0px 15px;
      background: #D1C01B url('../images/menu_bg.jpg') repeat-x top left;
      -moz-border-radius: 25px;
      -webkit-border-radius: 25px;
      border-radius: 25px;
      color: #333;
      font-size: 20px;
      text-transform: uppercase;
      font-weight: bold;
      behavior: url('PIE.htc');
      position: relative;

      z-index: 5;
    }
    
  
  .main-navigation.toggled .nav-menu {
    background: #D1C01B ;
    height: 100% !important;
    display: block;
    color: #5e5340;
    text-transform: uppercase;
    padding: 10px;
    font-size: 15px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    position: relative;
      z-index: 4;
      width: 94%; padding: 3%;
  }
  .main-navigation li {float: none !important;}
  .main-navigation ul ul {
    display: block;
    float: none;
    position: static;
    background:#D1C01B;
    border-bottom: 0;
    box-shadow: none;
    padding: 0 15px;
    overflow: hidden;
    font-size: 13px;
}

.main-navigation ul ul li {
   overflow: visible;
    border-top: none;
    margin: 0 10px;
    background: transparent;
}

.main-navigation ul ul li:before {
content: "";
display: block;
background: #333;
height: 8px;
width: 8px;
border-radius: 10px;
position: absolute;
left:-5px;
top: 8px;
}

.main-navigation ul ul li:hover:before {
background: #334668;
}
  
  .menu-toggle:before {
    content: url('../images/menu.png');
    height: 0;
    width: 0px;
    margin-right: 20px;
    position: relative;
    top: 10px;
  }
  #nav-wrapper {
    width: 100%;
    margin-bottom: 50px;
    text-align: center;
    box-shadow: none;
    position: relative;
    margin:auto;
    top: 50px;
    clear:both;
    height: auto;
  }

.main-navigation {position: static; float: none; clear:both; width: 100%;}
.main-navigation div { position: static; float: none; clear:both; width: 100%; }

  
  .main-navigation ul {
    display: none;
  }
  .main-navigation ul a {
    padding: 5px;
  }
  
  .main-navigation ul li {
    display: block;
    width: 100%;
    overflow: auto;
    height: auto;
  }
  
  #footer-sidebar .footer-column {
    width: 90%;
    margin: auto;
  }
}



/* Back to TOP */

#toTop {
	width:66px;
        height:54px;
        background: transparent url('../images/uptotop.png') no-repeat;
        position:fixed; /* this is the magic */
        bottom:0px; /* together with this to put the div at the bottom*/
        right:15px;
        cursor:pointer;
        display:none;
        z-index: 1100;
}

/*********/

.fb-like-box {margin-left: -20px; width: 100%;}
.fb-like-box span { width: 109% !important;}

.gallery {margin-bottom: 20px !important;}


/*Galériák*/

.category #page-title {text-align: center; padding-top: 5px; margin: auto;}
.article-wrapper-gallery {margin-top: 10px;}
.article-wrapper-gallery article {
    float: left; max-width: 230px; margin: 5px; 
    background: #fff; position: relative;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    box-shadow: 0 0 5px #333;
    behavior: url('PIE.htc');
}
.entry-header-gallery {text-align: center; position: absolute; bottom: 5px; width: 92%; background: rgba(255,255,255,0.5); padding-top: 5px; padding-bottom: 5px;}
.entry-header-gallery h1.entry-title-gallery a { color: #333; font-size: 15px; text-decoration: none}
.entry-header-gallery h1.entry-title-gallery a:hover { color: #333; font-size: 15px; text-decoration: none}
.article-wrapper-gallery article {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    transition: all 1s ease 0s;
    behavior: url('PIE.htc');
}
.article-wrapper-gallery article:hover {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    transform: scale(1.05);
    behavior: url('PIE.htc');
}


/*download monitor*/

.social-ring {
    clear: both; position: relative; top: 0px !important; }

.download-kiadvany {width: 90%; margin: 5px auto 10px;  padding-top: 5px; border-top: 1px dotted #ccc; clear:both; display: table;}
.download-kiadvany:first-child {border: none;}
.download-kiadvany-img {display: inline-block; max-width: 120px; vertical-align: top; padding: 5px; margin-right: 15px; background: #ddd;}
.download-kiadvany-img:hover { background: #ccc;}

.download-kiadvany-content {width: 60%;  display: inline-block; vertical-align: top;
                      padding:0 !important; background: rgba(255,255,255,0.7);}
.download-kiadvany-content h1 {margin: 0; padding:5px 0; font-size: 15px!important; color: #064A1E; font-style: italic;}
#download-btn.invisible {display: none;}

.download-kiadvany .download-button {width: 100px; clear: both; padding: 5px 10px; margin: 5px 0;}


/*Események*/

.post-type-archive-event .page-header h1.page-title {
    font-size: 0;
    color: #fff;
    margin: 10px 0 0 10px
}

.post-type-archive-event .page-header h1.page-title:before {
    content: "Esemény archívum";
    color: #243152;
    font-size: 20px;  
}


.post-type-archive-event header {
    margin: 0;
    padding: 0;
    position: relative;
}

.post-type-archive-event header.page-header {
    padding-bottom: 5px;
    border-bottom: 1px dotted #ccc;
}


.post-type-archive-event .entry-title a,
.post-type-archive-event .entry-title a:visited 
{
    text-decoration: none;
    color: #243152;
    font-size: 17px;
}

.post-type-archive-event .comments-link {display: none;}

.events-table td {vertical-align:top;}

#main ul, #main ol {overflow: hidden; margin: 10px 0 10px 10px; padding: 0 0 0 20px;}

div.sep {margin: 5px 0 10px; border-top: 1px dashed #ccc; clear: both; }

h4 {margin: 10px 0 10px;}
h1,h2,h3,h4,h5,h6 {clear: both;}