﻿#page {											/* Entire web page */
  	background: #EAFFD1;								/* If gradients are unsupported */
  	background: linear-gradient(to left, #88B751, #EAFFD1 13%, #EAFFD1 87%, #88B751);
  	background: -moz-linear-gradient(to left, #88B751, #EAFFD1 13%, #EAFFD1 87%, #88B751);
  	background: -ms-linear-gradient(to left, #88B751, #EAFFD1 13%, #EAFFD1 87%, #88B751);
  	background: -o-linear-gradient(to left, #88B751, #EAFFD1 13%, #EAFFD1 87%, #88B751);
  	background: -webkit-linear-gradient(to left, #88B751, #EAFFD1 13%, #EAFFD1 87%, #88B751);
  	max-width: 100%;									/* Max. width, 100% for proper resizing */
  	padding: 0;											/* No padding to the left and right */
}

a {
	color: #0071B9;										/* A bit darker links (for selection) */
}

::selection {
	background: rgba(89, 189, 23, 0.3);					/* Can't be combined with ::-moz-selection */
}

::-moz-selection {
	background: rgba(89, 189, 23, 0.3);					/* Can't be combined with ::selection */
}

.afc_popup {									/* Advanced Floating Content */
  	box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.45);	/* Shadow */
  	-moz-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.45);
	-webkit-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.45);
  	margin: 10px 0 0 10px !important;					/* Margins to override native settings */
  	max-width: 180px !important;						/* Width limiter for widescreen */
  	padding: 0 !important;								/* Get rid of padding, was 10px */
}

.afc_popup_img {
  	border-radius: 0 0 60px 0;							/* Rounded corner for transparent image */
}

.afc_close_content img {
  	top: -8% !important;								/* Fixed vertical position */
  	right: -4% !important;								/* Fixed horizontal position */
  	max-width: 13%;										/* Width limiter for close button */
}

header#masthead {								/* Header */
  	background: #FFB547;								/* Helps to see this \"layer\" */
  	border-radius: 4px 4px 60px 60px;					/* Rounded corners */
  	-khtml-border-radius: 4px 4px 60px 60px;
  	-moz-border-radius: 4px 4px 60px 60px;
  	-webkit-border-radius: 4px 4px 60px 60px;
  	box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.45);	/* Shadows */
  	-moz-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.45);
    -webkit-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.45);
  	margin-bottom: 10px;								/* Space below main menu */
  	margin-left: auto;									/* Automatic centering */
  	margin-right: auto;									/* Automatic centering */
  	margin-top: 12px;									/* Space above header image */
  	max-width: 940px;									/* Width limiter */
  	padding-bottom: 0px;								/* No padding below (use margins) */
}

header#masthead > hgroup {
	display: none;										/* Don\'t show title and description */
}

img.header-image {
  	border-radius: 4px 4px 0px 0px;						/* Rounded top corners */
  	-khtml-border-radius: 4px 4px 0px 0px;
  	-moz-border-radius: 4px 4px 0px 0px;
	-webkit-border-radius: 4px 4px 0px 0px;
  	box-shadow: none;									/* Shadows are in header#masthead */
  	-moz-box-shadow: none;
  	-webkit-box-shadow: none;
}
  
#main-nav .navbar {								/* Main menu */
  	margin-bottom: 0;									/* Defined in header#masthead */
}

#main-nav .navbar .navbar-inner {
	background: transparent;							/* Was black */
  	box-shadow: none;									/* A blurry shadow was at the bottom */
  	-moz-box-shadow: none;
  	-webkit-box-shadow: none;
  	min-height: 0px;									/* Primarily for accessibility, was 40px */
	padding: 0;											/* Removes 20px left &amp; right padding */
}

#mega-menu-wrap-main {
  	/*background: #F59126;								/* Background colour, in MMM\'s options */
  	border: solid #FFB547;								/* Border style and colour */
	border-radius: 0px 0px 60px 60px;					/* Rounded bottom corners, match #masthead */
  	-khtml-border-radius: 0px 0px 60px 60px;
  	-moz-border-radius: 0px 0px 60px 60px;
	-webkit-border-radius: 0px 0px 60px 60px;
  	border-width: 0px 14px 0px 14px;					/* Right, bottom and left borders */
}

#mega-menu-wrap-main #mega-menu-main {
  	padding: 0;											/* No inner padding */
  	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.45);		/* Text shadows for all menu items */
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item > a.mega-menu-link {
  	height: auto;										/* Height is now controlled by MMM's padding */
  	line-height: 18px;									/* Primarily for mobile version */
  	padding: 8px 5px 8px 5px;							/* Returns height to normal */
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item-has-children > a.mega-menu-link::after {
  	margin: 0 0 0 4px !important;						/* "v" is a bit closer to the text (Was 6px) */
}

#mega-menu-wrap-main #mega-menu-main li.mega-menu-megamenu ul.mega-sub-menu {
  	box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.45);	/* Shadows of mega menus */
  	-moz-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.45);
  	-webkit-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.45);
  	/*left: 78px;*/ 									/* Mega menu's max width is 650px, no need now */
}

#mega-menu-wrap-main #mega-menu-main li.mega-menu-flyout ul.mega-sub-menu {
  	/*background: #F59126;								/* Background colour, in MMM's options */
  	border-radius: 0px 0px 8px 8px;						/* Flyout menus' rounded corners (REQ) */
  	-khtml-border-radius: 0px 0px 8px 8px;
  	-moz-border-radius: 0px 0px 8px 8px;
  	-webkit-border-radius: 0px 0px 8px 8px;
  	box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.45);	/* Shadows of flyout menus */
  	-moz-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.45);
  	-webkit-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.45);
  	/*box-shadow: 0 3px 5px rgba(0, 0, 0, 0.17), 0 3px 5px rgba(0, 0, 0, 0.17),
      			0 3px 5px rgba(0, 0, 0, 0.17);
  	-moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.17), 0 3px 5px rgba(0, 0, 0, 0.17),
      				 0 3px 5px rgba(0, 0, 0, 0.17);
  	-webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.17), 0 3px 5px rgba(0, 0, 0, 0.17),
      					0 3px 5px rgba(0, 0, 0, 0.17);*/
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
  	line-height: 18px;									/* Less line height in flyout menus */
    /*padding: 6px 5px 6px 5px;							/* More padding between items, in MMM */
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item:last-child > a.mega-menu-link {
    border-radius: 0px 0px 8px 8px;						/* Rounded corners of last flyout menu item */
  	-khtml-border-radius: 0px 0px 8px 8px;
	-moz-border-radius: 0px 0px 8px 8px;
	-webkit-border-radius: 0px 0px 8px 8px;
}

@media (min-width: 980px) {
	#mega-menu-wrap-main #mega-menu-main li#mega-menu-item-1442 ul.mega-sub-menu {
  		/*width: 325px;									/* Width of specific flyout; mega menu now */
	}

	#mega-menu-wrap-main #mega-menu-main li#mega-menu-item-650 ul.mega-sub-menu {
		width: 355px;									/* Width of particular flyout menu */
	}

	#mega-menu-wrap-main #mega-menu-main li#mega-menu-item-4097 ul.mega-sub-menu {
		width: 160px;									/* Width of particular flyout menu */
	}

	#mega-menu-wrap-main #mega-menu-main li#mega-menu-item-924 ul.mega-sub-menu {
  		width: 139px;									/* Width of particular flyout menu */
	}

	#mega-menu-wrap-main #mega-menu-main li#mega-menu-item-667 ul.mega-sub-menu {
  		width: 177px;									/* Width of particular flyout menu */
	}
}

#main-row {
  	margin-top: 0px;									/* A bit less space under the main menu */	
}

#main {											/* Page/post + sidebar area */
  	max-width: 1244px;									/* Limiter for wide screens */
  	margin-bottom: 0px;									/* Less space above footer */
  	margin-left: auto;									/* For centering (used with margin-right) */
  	margin-right: auto;									/* For centering (used with margin-left) */
}

input:focus, textarea:focus, .btn-success:focus {
	border-color: rgba(255, 181, 71, 0.8);				/* Border colour matches the theme */
  	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, /* Shadow serves as an outline */
      			0px 0px 8px rgba(255, 181, 71, 0.6);
}

p {
	margin-bottom: 0px;									/* No space after text ends */
}

#content.span9 {								/* Page/post area */
  	margin: 5px 0px 0px 5px; 							/* Preserves top and left shadows */
 	width: 81.5%;										/* Percentage of #main\'s width */
}

article {
  	background: #F5F5F5;								/* Background colour */
  	border: 0px solid #477FFF;							/* Border width, style and colour */
  	border-radius: 4px 4px 15px 15px;					/* Rounded corners */
  	-khtml-border-radius: 4px 4px 15px 15px;
  	-moz-border-radius: 4px 4px 15px 15px;
	-webkit-border-radius: 4px 4px 15px 15px;
  	box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.45);	/* Shadow */
  	-moz-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.45);
	-webkit-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.45);
}

article .entry-title {
  	background: #FFEBCC;								/* If gradents are not supported */
  	background: linear-gradient(to left, #FFB547, #FFEBCC 20%, #FFEBCC 80%, #FFB547);
  	background: -moz-linear-gradient(to left, #FFB547, #FFEBCC 20%, #FFEBCC 80%, #FFB547);
  	background: -ms-linear-gradient(to left, #FFB547, #FFEBCC 20%, #FFEBCC 80%, #FFB547);
    background: -o-linear-gradient(to left, #FFB547, #FFEBCC 20%, #FFEBCC 80%, #FFB547);
  	background: -webkit-linear-gradient(to left, #FFB547, #FFEBCC 20%, #FFEBCC 80%, #FFB547);
  	color: #0A810C;										/* Text colour of post title */
  	display: block;										/* Proper alignment for wrapped titles */
  	font-size: 112.5%;									/* Font size of post/page title */
  	line-height: 18px;									/* Less line height in titles */
  	text-align: center;									/* Centers the title */
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);		/* Shadow under title text */
}

article .entry-content {
	padding: 5px 10px 10px 10px;						/* Distance to borders and below post title */
}

article .entry-content h2 {
  	margin: 0 0 0.4em 0;								/* Less space below Tablepress table titles */
}

article .entry-content p {
	line-height: 1.575em;								/* A bit less space between lines */
}

#twoormoreimagescenter {
    text-align: center;									/* Custom container ID to center things */
}

img.size-medium, img.size-thumbnail, img.size-full {
  	border: 1px solid #C9C9C9;							/* Border style and colour */
  	border-radius: 4px 4px 4px 4px;						/* Rounded corners */
  	bottom: 0;											/* Needed for transition */
  	-khtml-border-radius: 4px 4px 4px 4px;
  	-moz-border-radius: 4px 4px 4px 4px;
	-webkit-border-radius: 4px 4px 4px 4px;
  	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.45);		/* Shadows */
  	-moz-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.45);
  	-webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.45);
  	-moz-transition: all 0.1s linear 0.0s;
  	-ms-transition: all 0.1s linear 0.0s;
  	-o-transition: all 0.1s linear 0.0s;
  	-webkit-transition: all 0.1s linear 0.0s;
  	transition: all 0.1s linear 0.0s;					/* Animations */
}

img.size-medium:hover, img.size-thumbnail:hover {
	position: relative;									/* Allows to move the image */
  	bottom: 3px;										/* Moves up */
  	box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.45);	/* Shadows */
    -moz-box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.45);
    -webkit-box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.45);
}

img.size-medium, img.size-thumbnail {
	margin: 3px;										/* Prevents overlapping shadows */
}

hr {
  	background: #FF8400;								/* If gradients are unsupported */
 	background-image: linear-gradient(to left, #f5f5f5 0%, #FF8400 50%, #f5f5f5 100%);
  	background-image: -moz-linear-gradient(to left, #f5f5f5 0%, #FF8400 50%, #f5f5f5 100%);
  	background-image: -ms-linear-gradient(to left, #f5f5f5 0%, #FF8400 50%, #f5f5f5 100%);
    background-image: -o-linear-gradient(to left, #f5f5f5 0%, #FF8400 50%, #f5f5f5 100%);
  	background-image: -webkit-linear-gradient(to left, #f5f5f5 0%, #FF8400 50%, #f5f5f5 100%);
  	border-width: 0px;									/* Old hr\'s had top, bottom borders */
  	display: block;										/* Just in case */
  	height: 1px;										/* Vertical width of line */
  	margin-bottom: 16px;								/* A bit less margin-bottom (was 18) */
  	margin-left: auto;									/* For centering */
  	margin-right: auto;									/* For centering */
  	margin-top: 16px;									/* A bit less margin-top (was 18) */
  	width: 95%;											/* Horisontal length */
}

.custom_tophr {
  	margin-bottom: 4px;									/* Redefine hr\'s margin-bottom */
}

.custom_bothr {
  	margin-top: 4px;									/* Redefine hr\'s margin-top */
}

#halfnbsp {
  	display: hidden;									/* Allocates space, doesn\'t show */
  	height: 0.775em;									/* Approx. half of \'s line height */
}

mark {
    background: #FFFF00;								/* Colour of highlighted text */
}

.tablepress-table-name {
  	font-size: 100%;									/* Table title font size (accessibility) */
  	font-style: italic;									/* Table title font style */
  	padding-left: 19px;									/* Distance from the left border */
}

iframe {
    max-width: 100%;									/* Limits width of embedded videos */
}

h2.entry-title > a {							/* Post */
  	padding: 8px 10px 8px 10px;							/* Padding around post title link */
}

h2.entry-title a:hover {
    background: #FFE675;								/* Background on hover */
    background: linear-gradient(to left, #FFE675, #FFEED4 20%, #FFEED4 80%, #FFE675);
  	background: -moz-linear-gradient(to left, #FFE675, #FFEED4 20%, #FFEED4 80%, #FFE675);
  	background: -ms-linear-gradient(to left, #FFE675, #FFEED4 20%, #FFEED4 80%, #FFE675);
    background: -o-linear-gradient(to left, #FFE675, #FFEED4 20%, #FFEED4 80%, #FFE675);
  	background: -webkit-linear-gradient(to left, #FFE675, #FFEED4 20%, #FFEED4 80%, #FFE675);
    color: #0A810C;										/* Text colour of post title on hover */
}

footer.entry-meta {
 	border-width: 0px 0px 0px 0px;						/* No line below each post */
  	margin: 10px;										/* Distance between bottom, left borders &amp; footer */
  	padding: 0px 0px 0px 0px;							/* No padding below post footer, some above */
}

.label-info[href], .badge-info[href] {
  	background-color: #41872D;							/* Category tag colour (green/orange theme) */
}

div#content > article {
 	margin: 0px 0px 15px 0px;							/* Space between posts and above page footer */
  	padding-bottom: 0px;								/* Much less padding below post footer */
}

#nav-below a {									/* Next/Prev. page buttons */
	background: #F5F5F5;								/* Background colour for prev/next buttons */
  	border: 0px solid #477FFF;							/* Border style and colour (0 width) */
  	border-radius: 15px 15px 15px 15px;					/* Rounded corners for prev/next buttons */
  	-khtml-border-radius: 15px 15px 15px 15px;
  	-moz-border-radius: 15px 15px 15px 15px;
	-webkit-border-radius: 15px 15px 15px 15px;
  	box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.45);	/* Shadows for prev/next buttons */
  	-moz-box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.45);
	-webkit-box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.45);
  	font-size: 120%;									/* Explicit font size (accesibility) */		
  	/*text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.45);		/* Text shadows for prev/next buttons */			
}

#nav-below a:hover {
  	background: #F7CD83;								/* If gradients are not supported */
  	background: linear-gradient(to top, #FFDC9E, #f5f5f5 70%);
  	background: -moz-linear-gradient(to top, #FFDC9E, #f5f5f5 70%);
  	background: -ms-linear-gradient(to top, #FFDC9E, #f5f5f5 70%);
    background: -o-linear-gradient(to top, #FFDC9E, #f5f5f5 70%);
  	background: -webkit-linear-gradient(to top, #FFDC9E, #f5f5f5 70%);
}

.pager a {
  	border: 0px solid #DDD;								/* Removes one more border (inner) */
}

.nav-previous.pull-left {
  	margin-bottom: 10px;								/* A bit of space between buttons if they overlap */
}

#nav-below {
  	margin-bottom: 15px;								/* Space below buttons (also for shadows) */
}

h1.entry-title {								/* Page */
  	font-size: 120%;									/* Font size of page title */
  	padding: 8px 10px 8px 10px;							/* Padding around page title */
  	text-decoration: none;								/* No underline from search in page title */
}

h2.tablepress-table-name {
  	line-height: 24px;									/* Less space between lines in table names */
}

.btn-success {
	font-size: 100%;									/* Font on buttons (accessibility) */
    -moz-transition: box-shadow linear 0.2s;
  	-ms-transition: box-shadow linear 0.2s;
  	-o-transition: box-shadow linear 0.2s;
	-webkit-transition: box-shadow linear 0.2s;
  	transition: box-shadow linear 0.2s;					/* Outline fades like in input:focus */
}

#comments {
  	border-top: 0px solid #EEEEEE;						/* No line below each page */
}

h1 {											/* Archives/search results page */
  	font-size: 120%;									/* Page title font size (accessibility) */
}

.page-header {
  	border-bottom: 0px;									/* No line below page title */				
	margin: 0px 0px 15px 32px;							/* Space to the left and below title */
  	padding: 0;											/* Use margins instead */
}

.page-header .page-title {
  	background: #f5f5f5;								/* Solid colour */
  	border-radius: 15px;								/* Rounded corners */
  	-khtml-border-radius: 15px;
  	-moz-border-radius: 15px;
  	-webkit-border-radius: 15px;
  	box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.45);	/* Shadows */
  	-moz-box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.45);
  	-webkit-box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.45);
  	display: inline-block;								/* Allows shrinkwrapping */
  	padding: 5px 14px;									/* Padding to make the \"button\" */
  	text-decoration: none;								/* Removes underscore */
  	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);		/* Text shadows */
}

.page-header .page-title span {
  	font-weight: normal;								/* Write search term/category not in bold */
	text-shadow: none;									/* No text shadow for normal font */
}

article.type-page footer.entry-meta {
  	display: none;										/* No page timestamp in post+page results */
}

#sidebar.span3 {								/* Sidebar */
  	/*border: solid #477FFF;							/* Border style and colour */
  	border-radius: 4px 4px 15px 15px;					/* Rounded corners */
  	-khtml-border-radius: 4px 4px 15px 15px;
  	-moz-border-radius: 4px 4px 15px 15px;
	-webkit-border-radius: 4px 4px 15px 15px;
  	border-width: 0px 0px 0px 0px;						/* 0 width removes border */
  	box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.45);	/* Shadow */
  	-moz-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.45);
	-webkit-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.45);
  	float: right;										/* Right alignment */
  	margin: 5px 5px 15px 0px;							/* Preserves shadows, space above footer */
  	width: 16.5%;										/* Percentage of #main\'s width */
}

#sidebar a:hover {
  	background: none;									/* No background colour for hovered links */
  	text-decoration: underline;							/* Underline on hover */
}

div#secondary.widget-area.well {
  	border: 0px solid #fff;								/* Removes border */
  	border-radius: 3px 3px 15px 15px;					/* Rounded corners */
  	-khtml-border-radius: 3px 3px 15px 15px;
  	-moz-border-radius: 3px 3px 15px 15px;
  	-webkit-border-radius: 3px 3px 15px 15px;
  	box-shadow: none;									/* There WAS some silly shadow */
  	margin-bottom: 0px;									/* No extra space below */
  	padding: 8px 10px 10px 10px;						/* A bit more space (less padding) */
}

aside {
  	font-size: 120%;									/* Widget font size (accessibility) */
}

.widget {
  	margin: 15px 0 0 0;									/* Space between widgets */
}

.widget a/*, .footerwidget a*/ {
  	line-height: 100%;									/* Height of a single line of text */
}

.widget ul {
  	margin: 0px 0px 0px 22px;							/* Less margin-left in sidebar lists */
}

.widget li {
  	margin-bottom: 0px;									/* Less space between lines of text */
}

h3.widget-title {
  	color: #0A810C;										/* Text colour of widget title */
  	font-size: 100%;									/* Font size of widget titles */
  	font-weight: bold;									/* No bold font in widget titles */
  	line-height: 18px;									/* Height of single line of title text */
  	margin: 0px 0 3px 0;								/* Space below widget title */
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);		/* Shadow under widget title text */
}

/*aside#accesstxt-3 {
  	margin-top: 0px;									/ Override common widget margin-top /
}

aside#accesstxt-3 ul {
  	list-style-type: none;								/ No black dot before [a] [A] /
  	margin-left: 0;										/ Removes margin to the left, was 22px /
  	text-align: center;									/ Fix centering of [a] [A] /
}*/

aside#wp_user_stylesheet_switcher_widgets-2 {
    margin-top: 0;										/* No margin-top for top widget (was 10px) */
}

button.wp_user_stylesheet_switcher_icon_s0_0 {
    display: none;										/* Don't show "Disable" button in normal mode */
}

aside#jal_widget-2.widget_jal_widget .jaw_widget {
  	display: inline-block;								/* Cuts off excessive width */
}

aside#jal_widget-2.widget_jal_widget ul li:hover {
  	list-style-type: circle;							/* Change black dot in lists on hover */
}

aside#search-3 {
  	height: auto;										/* Oddly, it was 0 */
  	margin-top: 15px;									/* Space above the search widget */
}

form#searchform {
  	margin: 0;											/* Use margin in aside#search-3 */
}

form#searchform > label.assistive-text {
	display: none;										/* Seems redundant, don\'t show */
}

input#s {
  	border-radius: 3px 0 0 3px;							/* Only top and bottom left are rounded */
  	-khtml-border-radius: 3px 0 0 3px;
  	-moz-border-radius: 3px 0 0 3px;
  	-webkit-border-radius: 3px 0 0 3px;
  	border-width: 1px 0px 1px 1px;						/* Removes right border */
  	float: left;										/* Button will be attached to the right */
	font-size: 100%;									/* Form font size (accessibility) */
  	height: 18px;										/* Explicit form height (accessibility) */
  	margin-bottom: 0;									/* Use margin in .widget instead */
    -moz-transition: box-shadow linear 0.2s;
  	-ms-transition: box-shadow linear 0.2s;
  	-o-transition: box-shadow linear 0.2s;
	-webkit-transition: box-shadow linear 0.2s;
  	transition: box-shadow linear 0.2s;					/* Was with border linear 0.2s */
  	width: 64%;											/* Field length */
}

input#searchsubmit {
  	border-radius: 0 3px 3px 0;							/* Top right and bottom right are rounded */
  	-khtml-border-radius: 0 3px 3px 0;
  	-moz-border-radius: 0 3px 3px 0;
  	-webkit-border-radius: 0 3px 3px 0;
  	display: block;										/* Set to inline or block to render them */
  	/*height: 28px;										/* Matches height of aside#search-3 */
  	margin-bottom: 0;									/* Use margin in aside#search-3 */
  	max-width: 58px;									/* Width limiter */
  	padding: 4px 0;										/* Button text centering for IE */
  	width: 30%;											/* Submit button length */
}

aside#googlestats-8 {
  	margin-bottom: 0px;									/* Less space after last widget in sidebar */
}

aside#googlestats-8 .widget-title {
  	margin-bottom: 5px;									/* More space below Google widget title */
}

aside#googlestats-8 table {
  	width: 100%											/* A bit wider table */
}

aside#googlestats-8 tr td:first-child {
  	background: #FFB547;								/* Background colour */
  	border-radius: 10px 0 0 10px;						/* Top left and bottom left corners */
  	-khtml-border-radius: 10px 0 0 10px;
  	-moz-border-radius: 10px 0 0 10px;
  	-webkit-border-radius: 10px 0 0 10px;
  	padding-right: 4px;									/* Space to the left of cell divider */
  	text-align: right;									/* Number sticks to right side */
  	vertical-align: middle;								/* Vertically centered number */
}

aside#googlestats-8 tr td:nth-child(2) {
	background: #FF9126;								/* Background colour */
  	border-radius: 0 10px 10px 0;						/* Top right and bottom right corners */
  	-khtml-border-radius: 0 10px 10px 0;
  	-moz-border-radius: 0 10px 10px 0;
  	-webkit-border-radius: 0 10px 10px 0;
  	color: #fff;										/* Text colour */
  	padding: 3px 0 3px 0;								/* A bit of distance to top and bottom */
  	text-align: center;									/* Horizontally centered text */
  	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.45);		/* Text shadows */
}

.footerwidget {
  	padding: 0px 0px 0px 0px;							/* Less space between sidebar and footer */
}

#comments {										/* Footer */
  	display: none;										/* Removes extra space above footer */
}

div#footer-row, footer#colophon {
  	background: #f5f5f5;								/* Background colour */
  	background: linear-gradient(to left, #FFB547, #f5f5f5 45%, #f5f5f5 55%, #FFB547);
  	background: -moz-linear-gradient(to left, #FFB547, #f5f5f5 45%, #f5f5f5 55%, #FFB547);
  	background: -ms-linear-gradient(to left, #FFB547, #f5f5f5 45%, #f5f5f5 55%, #FFB547);
    background: -o-linear-gradient(to left, #FFB547, #f5f5f5 45%, #f5f5f5 55%, #FFB547);
  	background: -webkit-linear-gradient(to left, #FFB547, #f5f5f5 45%, #f5f5f5 55%, #FFB547);
}

footer#colophon {
	border-top: solid 0px;								/* Removes top border of the footer */
	padding: 0;											/* 0 if widgets are in the footer */
}

div#footer-container {
    box-shadow: 0px -1px 5px 1px rgba(0, 0, 0, 0.45);	/* Shadows */
  	-moz-box-shadow: 0px -1px 5px 1px rgba(0, 0, 0, 0.45);
  	-webkit-box-shadow: 0px -1px 5px 1px rgba(0, 0, 0, 0.45);
    padding: 0;											/* Was 20px to the right &amp; to the left */
}

.row-fluid .span4 {
  	margin: 0;											/* Removes margin-left 2.5% */
  	padding: 0.5em 0 0.5em 0;							/* Space above &amp; below footer widgets */
  	width: 100%;										/* Was around 31.6% */
}

.row-fluid .span4 img {
  	max-height: 61px;									/* Same height limiter for all banners */
}

footer#colophon .span5 {
  	float: none;										/* float disallows centering */
  	min-height: 23px;									/* Less height (was 28px) */
	width: auto;										/* Copyright text space width */
}

footer#colophon .span5 p {
	font-size: 120%;									/* Explicit font size (accessibility) */
}

footer#colophon .span6 {
  	display: none;										/* Removes space to the right of copyright */
}

@media (max-width: 979px) {						/* Mobile version */
	.afc_popup {
		display: none !important;						/* No Advanced Floating Content */
	}

	header#masthead {
  		border-radius: 4px 4px 30px 30px !important;	/* Reduced radius of bottom corners */
  		-khtml-border-radius: 4px 4px 30px 30px !important;
  		-moz-border-radius: 4px 4px 30px 30px !important;
  		-webkit-border-radius: 4px 4px 30px 30px !important;
  		margin-bottom: 2px !important;
  		margin-top: 5px !important;
  		width: 98% !important;							/* Tiny spaces to the left and to the right */
	}

	#mega-menu-wrap-main {
		border-radius: 0px 0px 30px 30px !important;	/* Reduced radius of bottom corners */
  		-khtml-border-radius: 0px 0px 30px 30px !important;
  		-moz-border-radius: 0px 0px 30px 30px !important;
		-webkit-border-radius: 0px 0px 30px 30px !important;
  		border-width: 0px 8px 0px 8px !important;		/* Reduced width */
	}
	#mega-menu-wrap-main #mega-menu-main {
		padding: 0 5px 0 5px !important;				/* Some padding between items and borders */
	}
	#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item {
  		font-size: 13px !important;						/* Smaller font (was 14px) */
	}

	#mega-menu-wrap-main #mega-menu-main > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link { 
  		font-size: 13px !important;						/* Smaller font (was 14px) */
	}

	#mega-menu-wrap-main #mega-menu-main li.mega-align-bottom-left.mega-toggle-on > a.mega-menu-link {
  		border-radius: 0 !important;					/* Was rounded at the top */
	}

	#mega-menu-wrap-main #mega-menu-main li.mega-menu-flyout ul.mega-sub-menu {
  		margin-bottom: 4px !important;					/* Helps to retain shadow */
	}

	#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item > a.mega-menu-link {
    	border-radius: 0 !important;					/* No rounded border (override below) */
	}

	#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item-667 > a.mega-menu-link {
  		border-radius: 0px 0px 25px 25px !important;	/* Prevents glitch with last menu item */
  		-khtml-border-radius: 0px 0px 25px 25px !important;
  		-moz-border-radius: 0px 0px 25px 25px !important;
		-webkit-border-radius: 0px 0px 25px 25px !important;
	}

	#content.span9 {
  		float: none !important;							/* Prevents from sticking to the left */
  		margin-left: auto !important;					/* Centers the page/post area along with v */
  		margin-right: auto !important;					/* Centers the page/post area along with ^ */
 		width: 98% !important;							/* Uses the space freed by the sidebar */
	}

	img.size-medium {
  		max-width: 92.5% !important;
	}

	article .entry-content p {
  		font-size: 12px !important;						/* Smaller font (was 15px) */
  		line-height: 1.25em !important;					/* Smaller line height (was 1.575em) */
	}

	h2.tablepress-table-name {
  		line-height: 16px !important;					/* Less space between lines in table names */
	}

	.tablepress-table-name {
  		font-size: 12px !important;						/* Smaller font (was 100%=15px) */
	}

	#halfnbsp {
  		height: 0.570em !important;						/* Approx. 11/15 of normal halfnbsp */
	}

	hr {
  		margin-bottom: 10px !important;					/* A bit less margin-bottom */
  		margin-top: 10px !important;					/* A bit less margin-top */
	}

	.custom_tophr {
  		margin-bottom: 2px !important;
	}

	.custom_bothr {
  		margin-top: 2px !important;
	}

	iframe {
  		height: auto !important;						/* Original embed height (small) */
    	width: auto !important;							/* Original embed width (small) */
	}

	form#searchform {
  		font-size: 12px !important;
	}

	.wpcf7-form-control {
  		max-width: 96.7% !important;
	}

	article .entry-content {
		padding: 3px 6px 5px 6px !important;			/* Distance to borders and below post title */
	}

    #sidebar {
        display: none !important;						/* Hides the sidebar completely */
    }

	div#content > article {
 		margin-bottom: 6px !important;					/* Less space between posts &amp; above page footer */
	}

	.row-fluid .span4 {
  		display: none !important;									/* No banners */
	}

	footer#colophon .span5 {
  		min-height: 19px !important;
  		padding: 3px 0 3px 0 !important;
	}

	footer#colophon .span5 p {
		font-size: 11px !important;						/* Smaller font (was 120%=13px) */
	}
}

/*TODO:
	translate \"nothing found\" page
	404 page font consistency with 100%
	404 page widgettitles and padding
	translate mega menu \"menu\" button
	translate \"sign out\"
	try to use images in accessibility widget [?]
	color h1 (dark blue, darker than #3371FF) in archives, search, tags
	color h2 in .tablepress-table-name (use tablepress\'s native settings?)
	update documentation in the table on http://lovsnk.ru/?page_id=1425  
	finish redrawing the logo for main page
	2 RSS feeds (use one)
	embed powerpoint presentations
	edit: http://lovsnk.ru/?p=575 | http://lovsnk.ru/?p=378 | http://lovsnk.ru/?p=336
	edit: http://lovsnk.ru/?p=256 | http://lovsnk.ru/?p=21 | http://lovsnk.ru/?p=2162
	edit: http://lovsnk.ru/?p=246 | http://lovsnk.ru/?p=12
	store banners on local server
	check this: http://lovsnk.ru/?p=950
	check this: http://lovsnk.ru/?p=2157 (financial stuff in doc/pdf)
	fix shadows for chrome
	try to fix shadows for old IE, also (fix?) text shadows in titles
	fix menu for old IE (transparency not supported)
	GLOBAL: change links
	http://nicolasgallagher.com/css-drop-shadows-without-images/demo/
	http://css3pie.com/
	colorbox titles (#cboxTitle) and prev/next buttons
	use #halfnbsp
	a.entry-title instead of .entry-title
	try box-shadow: 0 2px 7px 0
	fix hr\'s for chrome, also shadows: http://lovsnk.ru/?page_id=2771
	gradient with 3 colours on submenu items hover
	use .jaw_symbol instead of dots in jQuery Archive List Widget?
	put password form and submit button on one line (like search)
	do something in case the search keyword is empty (don\'t show everything)
	put a div between article and sidebar?
	try #FBF7F0 as an article bg (set img bg to near-white), apply to h1.page-title
	bug with #rowspan# http://lovsnk.ru/?page_id=1429 (Glazkov, Nikitina, Novikov)
	http://lovsnk.ru/?p=1345 : img(-med) instead of img-thumbnail
	work schedule isn\'t 9:00-17:00 anymore?
	form outline in chrome
	proper news page numbering
	[table id=36 /] use in http://lovsnk.ru/?page_id=306
	put search bar and button in a single div?
	jQuery Archive List Widget: sort from jan to dec, not dec -> jan
	visited links\' colour
	try to remove dotted border around focused elements
	embedded presentations on mobile
	change page's bg gradient for widescreen
*/

.wpcf7-text, .wpcf7-textarea {
  	-moz-transition: box-shadow linear 0.2s;
  	-ms-transition: box-shadow linear 0.2s;
  	-o-transition: box-shadow linear 0.2s;
	-webkit-transition: box-shadow linear 0.2s;
    transition: box-shadow linear 0.2s;					/* Was with border linear 0.2s */
}
.wpcf7-textarea {
  width: auto; /* Required for wpcf7\'s attribute cols */
}
.wpcf7-form-control {
  margin-bottom: 5px;
}
div.wpcf7-response-output {
  margin-top: 0.5em;
  padding-left: 1em;
}
/*img.friendlink:hover {
  	box-shadow: 4px 0px 4px -2px rgba(0, 0, 0, 0.35);	/ Shadows /
  	-moz-box-shadow: 4px 0px 4px -2px rgba(0, 0, 0, 0.35);
  	-webkit-box-shadow: 4px 0px 4px -2px rgba(0, 0, 0, 0.35);
  	position: relative;									/ Allows to move a banner /
  	right: 5px;											/ Move left /
}*/
	/*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFD494\',
													   endColorstr=\'#F59200\', GradientType=0);*/
#sidebar, #mega-menu-wrap-main-8 #mega-menu-main-8 li.mega-menu-flyout ul.mega-sub-menu,
#mega-menu-wrap-main-8 #mega-menu-main-8 {
  	behavior: url(/wp-content/plugins/css3pie/PIE.htc);
}
article, header#masthead, #main-nav, #main-nav .navbar, footer#colophon/*,
img.size-medium, img.size-thumbnail, img.size-full*/ {
  	behavior: url(/wp-content/plugins/css3pie/PIE.htc);
  	position: relative;
}
/*#mega-menu-wrap-main-8 #mega-menu-main-8 li.mega-menu-item a {
  behavior: url(/wp-content/plugins/css3pie/PIE.htc);
  position: relative;
  zoom: 1;
}*/

/*#cboxTitle {
  float: none;
  height: auto;
  	padding: 1px 6px 0px 6px;							/ Padding of opened image\'s title in Colorbox /
}

#cboxContent {
	font-size: 15px;									/ Font size equal to \'s font size /
}

#cboxCurrent {
  border-color: grey;
  	bottom: -38px;										/ Was -26px /
  	right: ;											/ Was 80px /
}

#cboxPrevious {
  	bottom: -36px;										/ Was -26px /
  	right: ;											/ Was 45px /
}

#cboxNext {
  	bottom: -36px;										/ Was -26px /
  	right: ;											/ Was 15px /
}*/
div.wpcf7-validation-errors {
  	border-color: #F7C900;
}
div.wpcf7-validation-errors, div.wpcf7-mail-sent-ok {
  	border-width: 2px 10px;
  	box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
}
div.wpcf7-response-output {
  	margin: 5px 0 0 0;									/* Removes left, right, bottom margins */
  	padding: 0px 1em;									/* Removes top and bottom padding */
}
/*img#nospam {
  max-height: 12px;
}*/
p img {
  margin-top: 0;
margin-bottom: 0;
}
.dataTables_wrapper {
  margin-bottom: 0; /* Just in case, was 1em */
}
/*br {
  	height: 1.575em;									/ \'s line height /
}*/
span.su-tooltip {
    border-bottom: 1px dashed #000;
    cursor: default;									/* Arrow, not caret */
    line-height: 1.16em;								/* Doesn't move the next lines of text down */
}

.su-qtip {
    background: #FFE5AE;								/* If transparency is unsupported */
    border: 1px solid #FF9126;
    border-radius: 4px;								/* Rounded corners */
    -khtml-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.45);			/* Shadows */
    -moz-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.45);
    -webkit-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.45);
    color: #000;										/* Text colour */
    font-size: 15px;									/* 's font size */
}

.qtip-content {
    line-height: 1.16em;
    padding-left: 5px;									/* Was around 8 px */
    padding-right: 5px;								/* Was around 8 px */
}
#wp_user_stylesheet_switcher_widgets-3, #wp_user_stylesheet_switcher_widgets-4 {
  display: none;
}
#mega-menu-wrap-main #mega-menu-main li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a {
  z-index: 999;
}
#mega-menu-wrap-main #mega-menu-main li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
  line-height: 18px;
}
@media (max-width: 979px) {
#mega-menu-wrap-main #mega-menu-main li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-item {
  width: 100%;							/* Was 50% because it's panel */
}
#mega-menu-wrap-main #mega-menu-main li.mega-menu-megamenu ul.mega-sub-menu {
  border-radius: 0px 0px 8px 8px;						/* Flyout panel's rounded corners (REQ) */
  	-khtml-border-radius: 0px 0px 8px 8px;
  	-moz-border-radius: 0px 0px 8px 8px;
  	-webkit-border-radius: 0px 0px 8px 8px;
  margin-bottom: 4px !important;					/* Helps to retain shadow */
  padding: 0;
}
#mega-menu-wrap-main #mega-menu-main li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
  font-size: 13px !important;						/* Smaller font (was 14px) */
}
}
/*1366 width (min-width: 1367px?)*/