/*
Theme Name: UCA
Theme URI: http://www.parafia.org.ua/UCA/
Description: Default theme for UCA.
Author: dor
Author URI: http://brownian.org.ua/
Version: 1.0
Tags: green, blue, white, two-columns, three-columns, fluid-width

License: CC
License URI: http://www.google.com/search?q=CC+License
*/

html { overflow-y: scroll; }

#container {
  margin: 0 auto;
  width: 100%;
  background: #fff;
}

#header {
  padding: 50px 0 0 50px;
  height: 75px;
  background-size: cover !important;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #eee;
}

#header h1 { margin: 0; }
#header h1 a {
  color: DarkOliveGreen;
  text-shadow: 0px  0px 1px rgba(255,255,255,1),
               0px  0px 5px rgba(255,255,255,1),
               3px  3px 7px rgba(255,255,255,1);
}

#header h1 a:hover {
  color: YellowGreen;
  text-decoration: none;
  text-shadow: -1px -1px 0px DarkOliveGreen,
                2px  2px 3px DarkOliveGreen,
                0px  0px 5px rgba(255,255,255,1),
                3px  3px 5px rgba(255,255,255,1);
}

#navigation {
  float: left;
  width: 100%;
  text-shadow: 1px 1px 0px #333;
  background: ForestGreen;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#588519), to(#A5EE44));
    background: -webkit-linear-gradient(#588519, #A5EE44);
    background: -moz-linear-gradient(#588519, #A5EE44);
    background: -ms-linear-gradient(#588519, #A5EE44);
    background: -o-linear-gradient(#588519, #A5EE44);
    background: linear-gradient(#588519, #A5EE44);
    -pie-background: linear-gradient(#588519, #A5EE44);
  border-bottom-color: #3884cd;
  box-shadow: #bbb 1px 1px 1px;
}

#navigation ul {
  margin: 0;
  padding: 0;
}

#navigation ul li {
  list-style-type: none;
  display: inline;
}

#navigation li a {
  display: block;
  float: left;
  padding: 5px 10px;
  color: #fff;
  text-decoration: none;
  /* border-right: 1px solid #fff; */
}

#navigation li a:hover {
  color: DarkSlateGray;
  /* background: YellowGreen; */
  background: #A5EE44;
  text-shadow: 1px 1px 0px #fff;
  /* box-shadow: 0px 1px 2px DarkOliveGreen inset; */
  /* border-radius: 5px; */
}

#navigation li a.current {
  color: DarkSlateGray;
  background: #A5EE44; /* було також YellowGreen */
  text-shadow: 1px 1px 0px #fff;
  /* box-shadow: 0px 1px 2px DarkOliveGreen inset; */
  /* border-radius: 5px; */
}

#content-container {
  float: left;
  width: 100%;
}

#content {
  /* clear: left; */
  float: left;
  width: 81%;
  padding: 20px 0;
  margin: 0 0 0 1%;
  display: inline;
  /* border: solid 1px #ddd; */
}

#sidebar {
  float: right;
  width: 16%;
  padding: 20px 0;
  margin: 0 1% 0 0;
  display: inline;
  /* border: solid 1px #ddd; */
}

#sidebar h2, #sidebar h3 { margin: 0; font-weight: 500; }

#sidebar h2 { font-size: 115%; }

#sidebar li { list-style-type: none; }

#footer {
  clear: both;
  text-align: right;
  padding: 10px 20px;
  height: 1%;
  background: /* rgba(2,207,166,0.5) */ YellowGreen /* #eee */;
  text-shadow: 1px 1px 0px #fff;
}

body {
  background: #eee;
  margin: 0;
  padding: 0;
  /* font-family: Sans, Helvetica, Arial; */
  font-family: 'Ubuntu', sans-serif;
  font-size: 13pt;
  line-height: 130%;
}

a { text-decoration: none; }
a:hover { text-decoration: underline; }

#choose, #choose-left, #choose-right {
  float: left;
}
#choose {
  width: 16%;
  margin: 0px 0 12px 5px;
  text-align: center;
  padding-top: 20px;
}

#choose-matherial, #choose-school, #choose-style, #choose-place {
  margin: 0px 0px 17px 5px;
  padding: 10px 3px;
  text-align: center;
  border: solid 1px #9b8;
  border-radius: 8px;
}

/* #choose-matherial { display: none; } */

legend {
  text-align: left;
  font-weight: 300;
  font-size: 80%;
  line-height: 0px;
  padding: 0px;
  letter-spacing: 1px;
}

/* #choose-matherial legend:before { content: "Матеріал будівлі";       padding: 0px 4px; } */
/* #choose-style     legend:before { content: "Школа";                  padding: 0px 4px; } */
#choose-matherial legend:before { content: "Церкви";                 padding: 0px 4px; }
#choose-school    legend:before { content: "Архітектурний напрямок"; padding: 0px 4px; }
#choose-style     legend:before { content: "Школи та стилі";         padding: 0px 4px; }
#choose-place     legend:before { content: "Регіон";                 padding: 0px 4px; }

#content h2, strong, b { font-weight: 500; text-shadow: 2px 2px 0px #fff; }

#content h2 { text-align: center; }

#content h3, #content h4 {
  font-weight: 300;
  letter-spacing: 2px;
  float: left;
  clear: both;
  text-align: left;
  padding: 3px 1em 3px 1em;
  margin: 2em 2em 1em 1em;
  min-width: 200px;
  width: auto;
  border-bottom: solid 1px rgba(85,107,47,0.7);
  box-shadow:               0px 8px 7px -6px DarkOliveGreen;
  -webkit-box-shadow:       0px 8px 7px -6px DarkOliveGreen;
  -moz-box-shadow:          0px 8px 7px -6px DarkOliveGreen;
  text-shadow: 2px 2px 0px #fff;
}

#content h4 { letter-spacing: 3px; }

#content h3 + *, #content h4 + * { clear: both; }

a { color: DarkOliveGreen; }
a:visited { color: OliveDrab; }
a:hover { color: DarkGreen; }

a.a-post-excerpt-divs-link span {
  position:absolute; 
  width:100%;
  height:100%;
  top:0;
  left: 0;
  /* edit: added z-index */
  z-index: 1;

  /* edit: fixes overlap error in IE7/8, 
  make sure you have an empty gif
  background-image: url('empty.gif');
  */
}


/* h2:before { content: "ѣ "; font-style: italic; } */

/* input { padding: 7px; } */

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large {
	max-width: 97.5%;
	width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.entry-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 1.625em;
}
p img,
.wp-caption {
	/* margin-top: 0.4em; */
}
.wp-caption {
	background: #eee;
	/* margin-bottom: 1.625em; */
	max-width: 96%;
	padding: 9px;
}
.wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 98%;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	color: #151;
	/* font-size: 12px; */
  font-size: 80%;
}
.wp-caption .wp-caption-text {
	/* margin-bottom: 0.6em; */
  margin: 0px;
	/* padding: 10px 0 5px 40px; */
  padding: 7px;
  padding-bottom: 0px;
	position: relative;
  text-align: center;
}
/*
.wp-caption .wp-caption-text:before {
	color: #676;
	content: '\2014';
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	margin-right: 5px;
	position: absolute;
	left: 10px;
	top: 7px;
}
*/
#content .gallery {
	margin: 0 auto 1.625em;
}
#content .gallery a img {
	border: none;
}
img#wpstats {
	display: block;
	margin: 0 auto 1.625em;
}
#content .gallery-columns-4 .gallery-item {
	width: 23%;
	padding-right: 2%;
}
#content .gallery-columns-4 .gallery-item img {
	width: 100%;
	height: auto;
}

/* Image borders */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	border: 1px solid #ddd;
	padding: 6px;
}
.wp-caption img {
	border-color: #eee;
}
a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */
	background: #eee;
	border-color: #bbb;
}
.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img {/* ... including captioned images! */
	background: #fff;
	border-color: #ddd;
}

#content p {
  text-align: justify;
  text-indent: 2em;
}

#content p.wp-caption-text {
  text-align: center;
  text-indent: 0em;
}

.post-excerpt-thumbnail-left,
.post-excerpt-thumbnail-right,
.post-excerpt-thumbnail {
  margin: 7px;
}
.post-full-thumbnail-left,
.post-full-thumbnail {
  margin: 7px 18px 18px 7px;
}
.post-full-thumbnail-right {
  margin: 7px 7px 18px 18px;
}

.post-excerpt-thumbnail-right,
.post-full-thumbnail-right {
  float: right;
}

.post-excerpt-thumbnail-left,
.post-excerpt-thumbnail,
.post-full-thumbnail-left,
.post-full-thumbnail {
  float: left;
}

.post-excerpt:hover img.attachment-thumbnail,
.post-full img.attachment-medium {
  box-shadow:               0px 0px 15px 1px DarkOliveGreen;
  -webkit-box-shadow:       0px 0px 15px 1px DarkOliveGreen;
  -moz-box-shadow:          0px 0px 15px 1px DarkOliveGreen;
}

.post-excerpt:hover img.attachment-thumbnail:hover {
  box-shadow:               0px 0px  1px 1px Gold,
                            0px 0px 15px 1px DarkOliveGreen;
  -webkit-box-shadow:       0px 0px  1px 1px Gold,
                            0px 0px 15px 1px DarkOliveGreen;
  -moz-box-shadow:          0px 0px  1px 1px Gold,
                            0px 0px 15px 1px DarkOliveGreen;
}

span.morelink {
  padding-left: 1em;
  font-style: italic;
  font-size: 90%;
}

span.morelink,
span.morelink a {
  color: #aaa;
}

#content .post-excerpt {
  position: relative;
}

.post-excerpt:hover span.morelink,
.post-excerpt:hover span.morelink a {
  color: DarkGreen;
}

.post-excerpt:hover span.morelink:hover,
.post-excerpt:hover span.morelink a:hover {
  text-shadow: 1px 1px 1px #fff,
               1px 1px 3px #999;
}

.post-excerpt,
.post-full {
  padding: 12px;
  margin-bottom: 1em;
  /* border: solid 1px #fff; */
  border: 1px solid #9b8;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}

.post-excerpt:hover {
  text-shadow: 2px 2px 0px #fff;
  border: 1px solid #696;
  -webkit-box-shadow: #676 1px 1px 5px;
  -moz-box-shadow: #676 1px 1px 5px;
  box-shadow: #676 1px 1px 5px;
  background: #E8E8E8;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#E8E8E8), to(#FFFFFF));
  background: -webkit-linear-gradient(#E8E8E8, #FFFFFF);
  background: -moz-linear-gradient(#E8E8E8, #FFFFFF);
  background: -ms-linear-gradient(#E8E8E8, #FFFFFF);
  background: -o-linear-gradient(#E8E8E8, #FFFFFF);
  background: linear-gradient(#E8E8E8, #FFFFFF);
  -pie-background: linear-gradient(#E8E8E8, #FFFFFF);
}

.post-excerpt h2 {
  font-size: 120%;
}

.post-excerpt h2 a {
  /* color: inherit; */
  color: DarkOliveGreen;
}
.post-excerpt:hover h2 a,
.post-excerpt:hover h2 {
  color: DarkGreen;
}

/* рік показувати у заголовкові, через ко́му чи у дужках: */
.year-inline:before { content: ", "; }
/**
.year-inline:before { content: " ("; }
.year-inline:after  { content:  ")"; }
**/
.year-inline { display: inline; }

/* рік показувати як підзаголовок: */
.year-sub { font-size: 80%; }
.post-full .year-sub { margin-top: 7px; }

.post-excerpt h2 #post-excerpt-subtitle,
.post-full    h2 #post-full-subtitle {
  font-size: 85%;
  font-weight: 300;
  margin: 3px 0 0 0;
  letter-spacing: 1px
}
.post-full h2 #post-full-subtitle {
  font-size: 75%;
  font-weight: 300;
  margin: 5px 0 0 0;
}

.post-full h2 {
  /* why it's empty?-) */
}

.died h2 { background: LightGray; }

/* .post-excerpt h3 { font-size: 110%; } */
.post-excerpt h3,
.post-excerpt h4 { display: none; }

.post-excerpt-bcrumbs,
.post-full-bcrumbs {
  font-style: italic;
  font-size: 90%;
  font-style: italic;
  font-weight: 300;
}

.allphotos h3 {
  margin: 2em 0 1em 2em;
  text-align: left;
}

/* .post-full-allphotos-single img { opacity:0.7; filter:alpha(opacity=70); }
   .post-full-allphotos-single img:hover { opacity:1; filter:alpha(opacity=100); } */

.clearafter:before, .clearafter:after { content: ""; display: table; }
.clearafter:after { clear: both; }
.clearafter { zoom:1; /* For IE 6/7 (trigger hasLayout) */ }

.post-poster-thumbnail {
  display: none;
}

.post-poster {
  margin: 3px 0;
  padding: 5px;
  width: 100%;
  clear: both;
  line-height: 100%;
  border: 1px solid transparent;
}

.post-poster:hover {
  border: 1px solid #9b8;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  box-shadow: 1px 1px 5px #676;
}

.post-poster h4,
.post-poster .date {
  font-size: 80%;
  margin: 0;
  margin-bottom: 0;
}

.post-poster .poster-body {
  font-size: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-poster h4 {
  font-weight: normal;
  text-shadow: 2px 2px 0px #fff;
  font-weight: 500;
  letter-spacing: 1px;
}

.post-poster .date {
  /* margin-top: 7px; */
  font-style: italic;
  color: gray;
}

.post-poster .date:after {
  content: ':';
}

.post-full-allphotos-single,
.post-thumb-thumbnail,
.post-poster-thumbnail {
  float: left;
  padding: .5em;
  margin: .5em;
  border: 1px solid #9b8;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  opacity: 0.7;
  filter: alpha(opacity=70);
}

/****/
.post-poster-thumbnail {
  margin: .3em;
  padding: .4em;
}
/****/

.post-thumb-thumbnail {
  padding: 7px;
  margin: 7px;
}

.post-full-allphotos-single:hover,
.post-thumb-thumbnail:hover,
.post-poster-thumbnail:hover,
.post-thumb-thumbnail-thechurch {
  border: 1px solid #696;
  -webkit-box-shadow: #676 1px 1px 5px;
  -moz-box-shadow: #676 1px 1px 5px;
  box-shadow: #676 1px 1px 5px;
  background: #E8E8E8;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#E8E8E8), to(#FFFFFF));
  background: -webkit-linear-gradient(#E8E8E8, #FFFFFF);
  background: -moz-linear-gradient(#E8E8E8, #FFFFFF);
  background: -ms-linear-gradient(#E8E8E8, #FFFFFF);
  background: -o-linear-gradient(#E8E8E8, #FFFFFF);
  background: linear-gradient(#E8E8E8, #FFFFFF);
  -pie-background: linear-gradient(#E8E8E8, #FFFFFF);
  opacity: 1;
  filter: alpha(opacity=100);
}

.post-thumb-thumbnail-thechurch {
  box-shadow: none;
}

.post-thumb-thumbnail-thechurch:hover {
  background: #fff;
  border: 1px solid #9b8;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  opacity: 0.7; filter: alpha(opacity=70);
  box-shadow: none;
}

.fancybox-title {
  font-family: 'Ubuntu', sans-serif;
  background: #fff /* YellowGreen */;
  opacity: 0.7; filter: alpha(opacity=70);
  color: black;
  font-weight: 500;
  letter-spacing: 2px;
  text-shadow: 1px 1px 0px #fff,
               1px 1px 2px #777;
  margin: 0px;
  padding: 7px 7px 3px 7px;
  text-align: center;
  display: block;
}

ul.mainrooms,
ul.otherchurcheshere,
ul.ucanews {
  margin-top: .5em;
}

ul#mainrooms ul,
ul#otherchurcheshere ul {
  margin-left: 1em;
  padding-left: 0px;
}

ul#mainrooms li,
ul#otherchurcheshere li {
  list-style-type: disc;
  margin-left: 0em;
  padding-left: 0px;
  font-weight: 400;
}

ul#mainrooms ul li,
ul#otherchurcheshere ul li {
  list-style-type: circle;
  font-weight: 300;
}

li + li.widget {
  margin-top: 2em !important;
}

#sidebar h2 {
  float: none;
  clear: both;
}

.widget_ucanews h2 {
  margin-bottom: 11px !important;
}

#sidebar .widget_guide h2,
.widget_other_churches_here h2 {
  font-weight: 300 !important;
  margin-bottom: 11px !important;
}

#sidebar .widget_guide h2 {
  font-style: italic;
}

#guide {
  font-style: italic;
  font-weight: 300;
  font-size: 90%;
}

#guide div + div {
  margin-top: 7px;
}

#footertech {
  font-weight: 300;
  font-size: 70%;
  line-height: 1.3em;
  /* text-shadow: none; */
}

#flagcounter {
  float: left;
}

.notfound {
  text-align: center;
}

.notfound div {
  margin: 7px;
}

/* .notfound h2 div {
  text-shadow: 1px 1px 1px #fff,
               2px 2px 1px #aaa;
} */

.notfound h2 div:first-child {
  color: #aaa;
  text-shadow: 0px 0px 1px #fff,
               1px 1px 1px DarkOliveGreen;
}

tt, pre { font-family: 'Ubuntu Mono', sans-serif; }

div.nav-links {
  text-align: center;
  margin: 0;
  padding: 0 0 .5em 0;
}

div.post-excerpt + div.nav-links {
  padding: 0 0 1em 0;
}

div.nav-links-prev {
  display: inline;
  /* margin-right: 1em; */
}

div.nav-links-next {
  display: inline;
  /* margin-left: 1em; */
}

div#widget_other_churches_here div.nav-links {
  font-size: 90%;
  padding: .1em 0 .1em 0;
}

/* Grabbed from:
 * ------------------------------------------
 * CSS3 GITHUB BUTTONS (Nicolas Gallagher)
 * Licensed under Unlicense
 * http://github.com/necolas/css3-github-buttons
 * --------------------------------------- */


/* =============================================================================
   Base Button
   ========================================================================== */

.button {
  font-family: Ubuntu, sans-serif;
  font-weight: 300;
  position: relative;
  overflow: visible;
  display: inline-block;
  padding: 0.4em 0.8em;
  /* border: 1px solid #b4b4b4; */
  margin: 2px 3px;
  text-decoration: none;
  text-align: center;
  text-shadow: 1px 1px 0 #fff;
  /* font: 11px/normal sans-serif; */
  font: 0.8em/1.2em Ubuntu, sans-serif;
  /* font: 300 80%/normal Ubuntu, sans-serif; */
  color: #333 !important;
  /* white-space: nowrap; */
  cursor: pointer;
  outline: none;
  background: #E3E3E3;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#E3E3E3), to(#FFFFFF));
  background: -webkit-linear-gradient(#E3E3E3, #FFFFFF);
  background: -moz-linear-gradient(#E3E3E3, #FFFFFF);
  background: -ms-linear-gradient(#E3E3E3, #FFFFFF);
  background: -o-linear-gradient(#E3E3E3, #FFFFFF);
  background: linear-gradient(#E3E3E3, #FFFFFF);
  -pie-background: linear-gradient(#E3E3E3, #FFFFFF);

  -webkit-box-shadow: #bbb 1px 1px 1px;
  -moz-box-shadow: #bbb 1px 1px 1px;
  box-shadow: #bbb 1px 1px 1px;

  -moz-background-clip: padding; /* for Firefox 3.6 */
  background-clip: padding-box;
  /* border-radius: 0.2em; */
  border-radius: 3px;
  /* IE hacks */
  zoom: 1;
  *display: inline;
}

.button:hover,
.button:focus,
.button:active,
.button.active,
#regmenu .button.active,
#regmenu .button:hover,
#regmenu .button:focus,
#regmenu .button:active {
  border-color: #3072b3;
  border-bottom-color: #2a65a0;
  text-decoration: none;
  /**
  text-shadow: -1px -1px 0 rgba(0,0,0,0.7);
  color: #fff; */
  text-shadow: 1px 1px 0 #fff;
  text-shadow: 1px 1px 0 rgba(0,0,0,1);
  /* color: #00f !important; */
  color: #fff !important;

  background: #A5EE44;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#A5EE44), to(#588519));
  background: -webkit-linear-gradient(#A5EE44, #588519);
  background: -moz-linear-gradient(#A5EE44, #588519);
  background: -ms-linear-gradient(#A5EE44, #588519);
  background: -o-linear-gradient(#A5EE44, #588519);
  background: linear-gradient(#A5EE44, #588519);
  -pie-background: linear-gradient(#A5EE44, #588519);
}

.button:active,
.button.active,
#regmenu .button.active {
  border-color: #2a65a0;
  border-bottom-color: #3884cd;
  text-shadow: 1px 1px 1px #fff /*rgba(0,0,0,0.9)*/;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
  background: #588519;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#588519), to(#A5EE44));
  background: -webkit-linear-gradient(#588519, #A5EE44);
  background: -moz-linear-gradient(#588519, #A5EE44);
  background: -ms-linear-gradient(#588519, #A5EE44);
  background: -o-linear-gradient(#588519, #A5EE44);
  background: linear-gradient(#588519, #A5EE44);
  -pie-background: linear-gradient(#588519, #A5EE44);
}

/* :
.button.active:hover {
  cursor: default;
}
*/
.button.active:hover,
#regmenu .button.active:hover {
  color: #fff !important;
  text-shadow: 1px 1px 0 rgba(0,0,0,1);
  background: #A5EE44;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#A5EE44), to(#588519));
  background: -webkit-linear-gradient(#A5EE44, #588519);
  background: -moz-linear-gradient(#A5EE44, #588519);
  background: -ms-linear-gradient(#A5EE44, #588519);
  background: -o-linear-gradient(#A5EE44, #588519);
  background: linear-gradient(#A5EE44, #588519);
  -pie-background: linear-gradient(#A5EE44, #588519);
}
.button.disabled,
.button.disabled:hover {
  color: #fff !important;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
  background-color: #ececec;
  border: 1px solid #d4d4d4;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#ececec));
  background-image: -moz-linear-gradient(#f4f4f4, #ececec);
  background-image: -ms-linear-gradient(#f4f4f4, #ececec);
  background-image: -o-linear-gradient(#f4f4f4, #ececec);
  background-image: linear-gradient(#f4f4f4, #ececec);
  cursor: default;
}
.button.active:active,
#regmenu .button.active:active {
  border-color: #2a65a0;
  text-shadow: -1px -1px 0 rgba(0,0,0,0.5);
  border-bottom-color: #3884cd;
  background: #588519;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#588519), to(#A5EE44));
  background: -webkit-linear-gradient(#588519, #A5EE44);
  background: -moz-linear-gradient(#588519, #A5EE44);
  background: -ms-linear-gradient(#588519, #A5EE44);
  background: -o-linear-gradient(#588519, #A5EE44);
  background: linear-gradient(#588519, #A5EE44);
  -pie-background: linear-gradient(#588519, #A5EE44);
}

.button.subbutton {
  background: none;
  border: none;
  background-image: none;
  padding: 1px 2px;
}

/* overrides extra padding on button elements in Firefox */
.button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

#regmenu {
  /* height: 2em; *//* 1.6 + 0.2 + 0.2 .) */
  /* padding: 7px 3px; */
  padding: 5px 3px;
  text-align: center;
  border: solid 1px #9b8;
  border-radius: 8px;
  text-align: center;
  position: relative;
  background: LemonChiffon /* LightGoldenrodYellow */;
  margin-bottom: 10px;
  display: none;
}

#regmenu .button {
  background: #F9DD9A;
}

#regmenu div {
	font-size: 80%;
}

/* =============================================================================
   @media dimensions
   ========================================================================== */

@media screen and (max-height: 600px) {
  #header { /* display: none; */ height: 20px; padding: 15px 20px; }
  #header h1 { font-size: 16pt; }
  #navigation li a { padding: 3px 7px; }
}

@media screen and (min-height: 601px) and (max-height: 768px) {
  #header { height: 30px; padding: 20px 20px; }
  #header h1 { font-size: 20pt; }
  #navigation li a { padding: 3px 7px; }
}

@media screen and (min-height: 769px) and (max-height: 900px) {
  #header { height: 40px; padding: 20px 20px; }
  #header h1 { font-size: 22pt; }
}

@media screen and (max-width: 1024px) {
  body { font-size: 85%; }
  #choose-school    legend:before { content: "Напрямок"; }
  #choose-matherial legend:before { content: "Церкви"; }
  #choose-matherial legend:before, #choose-school legend:before, #choose-style legend:before, #choose-place legend:before { padding: 0px 2px; }
  ul#mainrooms, ul#otherchurcheshere { padding-left: 12px; }
  #choose-matherial, #choose-school, #choose-style, #choose-place {
    margin: 0px 0px 15px 5px;
    padding: 7px 2px;
  }
  .button { padding: 0.2em 0.5em; }
  img.attachment-thumbnail { max-width: 96px; }
  .post-thumb-thumbnail img { max-width: 48px; }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
  body { font-size: 90%; }
  ul#mainrooms, ul#otherchurcheshere { padding-left: 13px; }
  .button { padding: 0.3em 0.6em; }
}

@media screen and (min-width: 1281px) and (max-width: 1600px) {
  body { font-size: 95%; }
}

@media screen and (min-width: 1601px) {
  body { font-size: 100%; }
}

