/*
Theme Name: Glagol.in.ua
Theme URI: http://glagol.in.ua
Description: Тема для Глагола. Базируется на "Magazine Basic"
Version: 12.08.16
Author: glagol
Tags: right-sidebar, left-sidebar, flexible-width, three-columns, two-columns, white, custom-header, theme-options, custom-background, custom-menu, threaded-comments, sticky-post, translation-ready

License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Basic Tag Elements */
a {
	text-decoration: none;
	outline: none;
	color: #ED1C24;
	}

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

img {
	border: 0;
	}

body {
	color: #111;
 	margin: 0 auto;
	font-size: 14px;
	padding: 0;
	background: #fff;
	position: relative;
	}

h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a {
	color: #222;
	font-family: Georgia, Times, serif;
	font-weight: normal;
	}

textarea {
	width: 97%;
	}

.fl {
	float: left;
	}

.fr {
	float: right;
	}

.clear {
	clear: both;
	}

embed,
object,
.format-video iframe {
	max-width: 100%;
	}

blockquote {
	margin: 1em 2em;
	border-left: 1px dashed #999;
	padding-left: 1em;
	line-height: normal;
	font-style: italic;
	}

.entry table {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 1em 0;
}

.entry th {
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	background: #eee;
	border: 1px solid #ccc;
	text-transform: uppercase;
	padding: 6px;
}

.entry td {
	border: 1px solid #ccc;
	padding: 6px;
}

/* Header Elements */

#header{
	background: #fff;
	float: left;
	width: 100%;
  position:relative;
	}

#headerad {
	margin: 24px 20px 16px;
	text-align: center;
	}

#followus {
  float:right;
  margin-right: 16px;
  margin-top:14px;
  font-family:  Helvetica,Arial,sans-serif;
  width: 195px;
}

#followus > span:nth-child(2) {
  float:right;
}

#followus > span:nth-child(1){
  color: #777777;
  text-transform: uppercase;
}

#followus .social-icon {
  width:18px;
  height:18px;
  text-indent: -999em;
  background-image: url(images/social-sprites.png);
  display: inline-block;
}

#followus .social-icon:nth-child(1){
  background-position: 0 -168px;
}

#followus .social-icon:nth-child(2){
  background-position: 0 -140px;
}

#login {
	height: 16px;
	font-size: 12px;
	color: #fff;
	text-align: right;
	padding: 10px 20px 15px;
	background: url(images/login.png) repeat-x;
	}

	#login a {
		color: #fff;
		}

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

	#login ul li {
		display: inline;
		}

.dot:before {
	content: url(images/whitedot.png) " ";
	}

#title {
  background-color: #ED1C24;
	margin: 0 16px 10px;
  width: 242px;
  height: 138px;
	padding: 0;
  clear:left;
	}

	#title h1,
	#title h2 {
    margin: 70px 0 0 10px;
  }

	#title a {
		font-size: 48px;
		color: #222;
		line-height: 50px;
    color:white;
		}

	#title.aligncenter {
		margin: 20px auto 0;
		text-align: center;
		}

	#title.fr,
	#description.fr {
		text-align: right;
		clear: right;
		}

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

  .headerimage {
    background-color: #ED1C24;
    clear: left;
    float:left;
    height: 90px;
    margin: 0 16px 10px;
    padding: 0;
    width: 248px;
  }
	.headerimage img {
  margin: 11px 0 0 5px;
    }

	.headerimage .aligncenter {
		margin: 20px auto 0 !important;
		}

#description {
	font-size: 16px;
  margin: 8px 16px;
	padding: 0;
	clear: left;
  font-family: Helvetica,Arial,Verdana,"Bitstream Vera Sans",sans-serif;
  color: #111;
  font-weight: bold;
    text-transform: uppercase;
	}

	#description.aligncenter {
		margin: 0 auto 20px;
		text-align: center;
		clear: both;
		}

.main-navigation {
	margin: 0;
	float: left;
	width: 726px;
	position: relative;
  margin-top: 10px;
	z-index: 1000;
  border-top: 3px double black;
  border-bottom: 1px solid lightGray;
	}

	.main-navigation a,
  .header-menu a
   {
		color: #000;
		}

	.main-navigation ul ul li {
		background: #888;
		}

/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;

}
.sf-menu {
	line-height:	1.0;
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			10em; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
	width:			100%;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float:			left;
	position:		relative;
}

.sf-menu li:last-child {
  float: right;
}
.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0;
	top:			28px; /* match top ul list item height */
	z-index:		99;
}

	.sub-navigation .sf-menu li:hover ul,
	.sub-navigation .sf-menu li.sfHover ul {
		top:			2.1em; /* match top ul list item height */
		left:			0;
	}

ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}



/*** DEMO SKIN ***/   
.sf-menu.header-menu {
  width: 1024px;
}

.sf-menu {
	width: 726px; /* so that the last item can be highlighted */
	margin-bottom:	0;
}

.sf-menu a {
	padding: 		7px 15px;
	text-decoration:none;
  text-transform: uppercase;
  font-family: Arial, Helvetica;
  font-size: 20px;
}

.sf-menu li li a {
	border: 0;
	}

.main-navigation .sf-menu li:hover, 
.main-navigation .sf-menu li.sfHover,
.main-navigation .sf-menu a:focus, 
.main-navigation .sf-menu a:hover,
.main-navigation .sf-menu a:active,
.sf-menu.header-menu a:hover
{
	outline:		0;
  color:#ED1C24;
}

.header-menu.header-first li {
  padding: 0 15px;
}

.header-menu.header-second li {
  padding: 0 6px;
}

.header-menu li:last-child 
{
  padding: 0;
}

.main-navigation .menu-item:last-child,
.header-menu.header-second li:last-child,
.header-menu.header-first li:first-child
 {
  ;
}

/*** arrows **/
.sf-menu a.sf-with-ul {
	padding-right: 	2.25em;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			.90em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url(images/arrows-ffffff.png) no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}

	.sub-navigation .sf-sub-indicator {
		background:	url(images/arrows-000000.png) no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
		}

a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.65em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}

	.sub-navigation a > .sf-sub-indicator {  /* give all except IE6 the correct values */
		top: .4em;
		background-position: 0 -100px; /* use translucent arrow for modern browsers*/
	}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }

	.sub-navigation .sf-menu ul .sf-sub-indicator { background-position:  -10px 0; top: .65em; }
	.sub-navigation .sf-menu ul a > .sf-sub-indicator { background-position:  0 0; top: .65em; }

/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background:	url(images/shadow.png) no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}

.sub-navigation {
	clear: both;
	border-bottom: 1px solid #888;
	float: left;
	width: 100%;
	padding: 5px 0 0;
 	z-index: 50;
 	position: relative;
	}

	.sub-navigation ul {
		margin: 0 0 0 8px;
		}

	.sub-navigation li {
		list-style-type: none;
		float: left;
		font-size: 12px;
		padding: 0 10px 0 0;
		text-transform: uppercase;
		margin: 0;
		line-height: 24px;
		background: url(images/blackdot.png) right 5px no-repeat;
		position: relative;
		}

	.sub-navigation li:last-child {
		background-image: none;
		}

	.sub-navigation a {
		color: #222;
		padding: 0 5px;
		}

		.sub-navigation a:hover {
			text-decoration: underline;
			}

		.sub-navigation ul ul a:hover {
			text-decoration: none;
			}

.sub-navigation ul ul { margin: 0; }
.sub-navigation ul ul li { background:#eee; margin:0; padding: 0; line-height: 14px;}
.sub-navigation ul ul li a {  padding: 8px; font-size: 12px; }
.sub-navigation ul ul li a:hover { background-color:#ddd; }
.sub-navigation ul ul ul { top: 0 !important; }


.sub-navigation li.nodot {
	background: none;
	z-index: -50;
	}

.sub-navigation li.right-d {
	float: right;
	}

/* Main Elements */

#mainwrapper {
	float: left;
	padding: 15px 10px;
	margin: 0;
	background: #fff;
	}

#sidebar-top {
  float:left; clear:both;
  margin: 0 16px;
  width:992px;
}

#sidebar {
	float: left;
	margin: 0 6px;
	}

#secondsidebar {
	float: left;
	margin: 0 6px;
	}

.side {
	line-height: 20px;
	font-size: 18px;
	margin-bottom: 0;
	}
/* widgets in sidebar */
.side-widget {
	float: left;
	margin: 0 0 10px;
	padding: 0 10px 5px;
    border-style: double solid solid;
    border-width: 1px 1px 1px;
    border-color: #111111 lightGray lightGray;
	}
/* adrotate */
.side-widget.widget_adrotate_widgets {
  padding: 0;
  border:none;
}
/* Bigmir, SAPE */
#sidebar #text-3, #sidebar #execphp-3 {
  border: 0;
}

#sidebar #text-3 .textwidget{
  margin: 0 40px;
  width: 90px;
}

#sidebar .side-widget.widget_adrotate_widgets {
  background: #EEEEEE;
  border: 1px solid #AAAAAA;
  padding: 10px;
  width:160px;
}

/* facebook group */

.side-widget.widget_vkapi
 {
  padding: 0;
  border:none;
}

.side-widget.widget_vkapi > h2 {
  display:none;
}

#secondsidebar .side-widget {
  width:278px;
}

	.side-widget ul {
		padding: 0;
		margin: 0;
		list-style-type: none;
		}

	.side-widget ul li {
		padding: 6px;
		margin: 0;
		font-size: 13px;
		}

	.side-widget ul li {
    /* no padding*/
		margin: 5px 0;
		}
    /* custom font for sidebars */
  .side-widget {
    font-family: Arial, Helvetica;
  }
  .side-widget h2,
  .side-widget h2 a {
    font-family: Arial, Helvetica;
    font-size: 17px;
  }

  .side-widget a {
    text-decoration: none;
    color: black;
  }

  .side-widget a:hover {
    text-decoration: none;
    color: #ED1C24;
  }

	.side-widget h2 {
		font-size: 17px;
		padding: 10px 0 5px;
		margin-top: 0;
    margin-bottom:0;
		text-transform: uppercase;
		text-align: center;
		}

	.side-widget .storycontent {
		border-bottom: 1px solid #ddd;
		}

	.side-widget .noline {
		border-bottom: 0;
		}


.side-widget #s {
	width: 90%;
  padding-left: 30px;
  height:34px;
  border:1px solid #CDCDCD;
  background: url(images/search-icon.gif) no-repeat 10px 10px;
	}
/* sidebar */
#sidebar .side-widget.widget_text {
  padding: 0;
  width: 180px;
}

#sidebar .side-widget.widget_text > h2 {
  text-align:center;
}

#sidebar div.yellow-background {
  background-color: #FFEA3E;
  font-size:14px;
  padding: 8px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 15px;
}

#sidebar .side-widget.widget_gdsw_recentposts {
  width:180px;
  padding:0;
}

#sidebar .widget_gdsw_recentposts > h2 {
  text-align: center;
  border-bottom: 1px solid #B9B9B9;
}

#sidebar .widget_gdsw_recentposts li {
  padding: 8px 0;
  border-bottom: 1px dotted #CDCDCD;
  margin: 0 10px;
}

#sidebar .widget_gdsw_recentposts li:nth-last-child(2) {
  border-bottom: none;
}

#sidebar .widget_gdsw_recentposts li:last-child {
  border-bottom: none;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  margin: 0;
  background-color: #FFEA3E;
}

#sidebar .widget_gdsw_recentposts ul .gdws-date {
  color: #ED1C24;
  margin-right: 5px;
}

#sidebar-center {
  font-family: Arial, Helvetica, Verdana;
}
#sidebar-center {
  background-color: #FFF;
  padding:0px;
  float:left;
  width: 442px;

}

#sidebar-center .widget_gdsw_randomposts h2 {
  margin:0;
}

#sidebar-center .widget_gdsw_randomposts h2 span {
  font-family: Arial, Helvetica;
  padding: 2px 5px 4px;
  background-color: #FFEA3E;
}

#sidebar-center .widget_gdsw_randomposts ul {
  padding-left: 0;
}

#sidebar-center .widget_gdsw_randomposts li {
  list-style: none;
  width: 141px;
  display: block;
  float:left;
}

#sidebar-center .widget_gdsw_randomposts li:nth-of-type(2) {
  margin: 0 9px;
}

#sidebar-center .widget_gdsw_randomposts img {
  display: block;
  width: 140px;
  height: 97px;
  margin-bottom: 7px;
}

#sidebar-center h2 {
  font-size: 22px;
  line-height: 24px;
}

#leftcontent #sidebar-center a.gdsw-category-url {
  border: 0;
  width: 100%;
}

#leftcontent #sidebar-center .gdsw-date {
  color:#777;
  font-size: 11px;
  line-height: 18px;
  text-transform: uppercase;
  display: block;
}


#leftcontent #sidebar-center .gdsw-url {
  color: #000;
}

#leftcontent #sidebar-center .gdsw-url:hover {
  color: #ED1C24;
}


/* Ctaegry posts default view */
#secondsidebar .cat-post-item {
  width:278px;
}

#secondsidebar .cat-post-item .wp-post-image, #secondsidebar .cat-post-item .avatar {
  float: right;
  clear: right;
  margin: 0 4px 0 14px;
}

#secondsidebar .cat-post-item .post-author-avatar {
  float:right;
}

#secondsidebar .cat-post-item {
  float:left;
  margin-top: 13px; /* keep some distance between posts */
}

#secondsidebar .cat-post-item .post-title {
  float:left;
  clear:left;
  width: 200px;
}

/*
#sidebar .side-widget.widget_categoryposts {
  width:180px;
  padding:0;
}


#sidebar .widget_categoryposts > h2 div {
  text-align: center;
}

#sidebar .widget_categoryposts > h2 > a > div {
  margin-bottom:8px;
}

#sidebar .widget_categoryposts > h2 > div {
  background-color: #FFEA3E;
  font-size:14px;
  padding: 8px 0;
}

#sidebar .widget_categoryposts ul {
  margin: 0 5px 0 26px;
  list-style-type: decimal;
}
*/
#secondsidebar .side-widget.widget_search {
  border:0;
  padding-left:0;
  padding-right:0;
  padding-bottom:0;
  width:298px;
}

/* gsSW widgets*/
#secondsidebar .gdsw-popular-posts > ul > li {
  margin: 0 0 16px;
  width: 278px;
  float:left; /* float element so that it completely encloses div inside */
}
.gdsw-popular-posts li > div {
  float: left;
  width: 200px;
  margin-right:14px;
}

.gdsw-popular-posts li > div > a {
  float:left;
}

.meta-link a, a.gdsw-category-url{
  font-size: 11px;
  line-height:18px;
  clear: left;
}

.meta-link a,
a.gdsw-category-url
{
  color: #ED1C24;
  text-transform: uppercase;
  font-family: Arial, Helvetica, Verdana, sans-serif;
}

.meta{
  height:20px;
}

.meta .date {
  float:left;
}

.meta .pdfprnt-top-right {
  float:right;
  margin-top: -4px;
}

.doseindex {
  margin: 10px 0 10px 45px;
  color: #777;
}


.doseindex > span:first-child {
  margin: 0 4px;
}

.doseindex a {
  color: #ED1C24;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 14px;
}

#secondsidebar .gdsw-popular-posts > ul > li:first-child {
   margin-top:10px;
}

#secondsidebar .gdsw-popular-posts > ul > li:last-child {
  margin-bottom:0;
}

/* Photo of the day */
#secondsidebar #categoryposts-4 .post-title {
  display: inline-block;
  font-family: Georgia,"Times New Roman",Times,serif;
  font-size: 24px;
  margin-bottom: 5px;
}

/* Blogs */
#secondsidebar .post-author {
  float:left;
}

#secondsidebar .post-author > a {
  color: #ED1C24;
  font-size: 11px;
  text-transform: uppercase;
}




/* wp-Calendar */
#wp-calendar td {
  color:grey;
}

#wp-calendar td#today {
  font-weight: bold;
}

.storycontent {
	line-height: 18px;
	font-size: 14px;
	word-wrap: break-word;
	}
/* Footer --> */
#footer {
	clear: both;
	float: left;
	width: 100%;
	padding: 10px 0;
	text-align: left;
	font-size: 16px;
  font-family: Georgia, Times, serif;
  border-top: 1px solid #AAAAAA;
	background: #fff;
	}

#footer > div {
  float:left;
  width: 300px;
  padding: 0 20px;
}
#footer h4 {
    border-bottom: 1px solid #CDCDCD;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 5px;
}

#footer ul {
  padding: 0;
  margin: 6px 0;
}
#footer ul li {
    border-bottom: 1px dotted #DCDCDC;
    display: block;
    padding: 3px 0;
    font-size: 12px;
    list-style: none outside none;
    margin: 0;
    line-height: 150%;
    font-family: Helvetica,Arial,Verdana,"Bitstream Vera Sans",sans-serif;
}
#footer > div:nth-child(2) {
  border-left: 1px dotted #CDCDCD;
  border-right: 1px dotted #CDCDCD;
}
#footer ul li a{
  color:#ED1C24;
}

/* <-- Footer */
/* Left Content Elements */

#leftcontent {
  width: 460px !important; /* override theme */
	float: left;
	margin: 0 19px;
	padding: 0;
	}

	#leftcontent .entry > .pformat > a > img {
		height: auto; /* locate the first image in a list but not the one in a single post */
    margin:0 10px;
		}

	#leftcontent h5.latest {
		font-family:Verdana, Arial, Helvetica, sans-serif;
		margin: 0;
		padding: 0;
		color: #cc0000;
		margin-bottom: 5px;
		font-size: 14px;
		font-weight: bold;
		}

.meta-link, #leftcontent a.gdsw-category-url{
    float:left;
    margin-right: 5px;
    padding-right: 5px;
    border-right: 1px dotted #AAAAAA;
  }

  #leftcontent .entry .norm-entry-header {
		margin: 0;
		padding: 0;
		font-size: 24px;
		}

  #leftcontent .entry .big-entry-header {
    margin: 0;
    padding: 0;
    font-size: 28px;
    line-height:28px;
    }

	#leftcontent .entry h1 { font-size: 28px; line-height: 30px; }
	#leftcontent .entry h2 { font-size: 22px; line-height: 24px; }
	#leftcontent .entry h3 { font-size: 18px; line-height: 20px; }
	#leftcontent .entry h4 { font-size: 16px; line-height: 18px; }
	#leftcontent .entry h5 { font-size: 14px; line-height: 16px; }
	#leftcontent .entry h6 { font-size: 12px; line-height: 14px; }

	#leftcontent h1.catheader {
		color: #cc0000;
		margin-bottom: 15px;
    margin-top: 0;
		font-size: 24px;
		line-height: 28px;
		}

  #leftcontent .post h1{
   margin-top: 0;
    margin-bottom: 5px;
  }

	#leftcontent .twopost h2 {
		font-size: 26px;
		line-height: 28px;
		}

	#leftcontent .threepost h2 {
		font-size: 20px;
		line-height: 22px;
		}

	#leftcontent .postmetadata {
		clear: both;
		line-height: 14px;
		}

  #leftcontent .hentry:first-child .entry {
    color:#111;
  }

	#leftcontent .hentry .entry {
		font-size: 14px;
		line-height: 18px;
    font-family: Helvetica,Arial,Verdana;
    color: #555555;
		}

	#leftcontent .date {
		text-transform: uppercase;
		color: #777;
		}

	#leftcontent .meta {
		font-family: Arial, Helvetica, Verdana, sans-serif;
		font-size: 11px;
		color: #444;
    margin-top:6px;
		}

    #leftcontent .entry .alignright img{
      margin-top:20px; /* align with the beginning of the title */
    }
	#leftcontent .catdesc {
    display:none; /* glagol - hide category description */
		background: #f7f7f7;
		border: 3px double #ddd;
		padding: 0 10px;
		color: #666;
		font-size: 13px;
		line-height: 15px;
		margin-bottom: 10px;
		}

/* This is your subtitle style */

#leftcontent p.sub {
	font-size: 24px;
	line-height: 26px;
	font-weight: bold;
	font-style: italic;
	margin: 10px 0 0;
	}

/* This is your blockquote style */

#leftcontent .entry .pullquote {
	width: 250px;
	font-size: 24px;
	line-height: 26px;
	float: right;
	margin: 0 0 0 30px;
	padding: 0;
	font-style: italic;
	}

	#leftcontent .entry .pullquote p {
		padding: 0;
		margin: 0;
		}

#leftcontent .tags{
  float:left;

}
/* VKontakte API */
#leftcontent ul.nostyle{
  padding-left:0;
  margin:0;
  clear:both;
  width:100%;
}

.source-url {
  margin-bottom: 14px;
  display: inline-block;
}

/* VK API Buttons */
#vkapi_wrapper #submit {
    background: none;
    border:0 none;
    color: #111;
    cursor: pointer;
    margin-left: 5px;
    padding: 1px 0;
    border-bottom: 1px dashed #111;
}

#vkapi_wrapper #submit:hover {
    color: #ED1C24;
    border-bottom-color: #ED1C24;
}

#vkapi_wrapper {
    font-family: Arial, Helvetica;
    margin:0px auto
}
#vkapi_wrapper td {
  border: 0;
}

#vkapi_wrapper td:first-child {
    background-color: #FFEA3E;
    font-size: 14px;
    color: black;
    font-weight: bold !important;
    padding: 0 52px;
    white-space: nowrap;
}

#vkapi_wrapper #submit.vkapi_active_tab{
    color: #ED1C24;
    border-bottom-color: #ED1C24;
}

.post .more-link {
	clear: both;
	width: 60px;
	text-align: center;
	display: block;
	color: #fff;
	margin: 12px 0;
	background: #aaa;
	padding: 0px 8px;
	font-size: 11px;
	line-height: 20px;
	float: left;
	}

	.post .more-link:hover {
		text-decoration: none;
		background: #666;
		}

.tags {
  font-family: Arial, Helvetica;
}
.tags a {
	color: #cc0000;
	}

.ind-post, .hentry {
	float: left;
	padding-bottom: 0;
	width: 100%;
	word-wrap: break-word;
}

	.ind-post img {
		margin: 0px 10px 5px 0;
		}

#twocol {
	float: left;
	margin-bottom: 3px;
	padding: 10px 0 0;
	background: url(images/line.gif) repeat-y 50% 0;
	}

	#twocol img {
		margin: 0px 8px 5px 0;
		}

	#twocol hr.two {
		height: 0;
		border: 0;
		clear: both;
		border-bottom: 1px solid #eee;
		}

.mainhr {
	float: left;
	background: #eee;
	clear: both;
	width: 100%;
	height: 1px;
	margin: 10px 0;
}

.twopost {
	width: 46%;
	float: left;
	word-wrap: break-word;
	border: 0;
	}

	.twopost img,
	.threepost img,
	.twopost embed,
	.threepost embed {
		max-width: 100% !important;
		height: auto !important;
		}

	.twopost2, .twopost4 {
		margin-left: 7.5%;
		}

	.twopost3, .twopost4 {
		border-top: 1px solid #eee;
		padding-top:5px;
		}

	.twopost1, .twopost3 {
		clear: left;
		}

	#leftcontent .twopost .wp-caption,
	#leftcontent .threepost .wp-caption {
		max-width: 100%;
	}

		#leftcontent .twopost .wp-caption img,
		#leftcontent .threepost .wp-caption img {
			max-width: 94% !important;
			margin: 0;
			}

#threecol {
	float: left;
	background: url(images/line.gif) repeat-y 31.5% 0;
	margin-top: 3px;
	width: 100%;
	}

#threecol2 {
	float: left;
	padding: 0;
	background: url(images/line.gif) repeat-y 67% 0;
	width: 100%;
}

	#threecol img {
		margin: 0px 5px 5px 0;
		}

.threepost {
	width: 29%;
	float: left;
	border: 0;
	border-top: 1px solid #eee;
	padding-top: 10px;
	word-wrap: break-word;
	}

	.threepost2, .threepost5 {
		padding: 10px 0 0;
		margin: 0 6%;
		}

	.threepost1, .threepost2, .threepost3 {
		border-top: 0;
		}

	.threepost1, .threepost4 {
		clear: left;
		}

/* Pagination */

#pagination {
	margin: 20px 0;
  font-family: Arial, Helvetica;
	width: 100%;
	padding: 8px;
	font-size: 1em;
	line-height: normal;
   	clear: both;
    float: left;
    border: 0;
    background: #eee;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    }

#pagination a,
#pagination span,
#pagination .total-pages {
   	float: left;
    background: #fff;
	text-align:center;
  width: 28px;
  padding: 5px 0;
	margin: 2px;
	text-decoration: none;
	border: 1px solid #ccc;
	color: #666;
}

#pagination a:hover,
#pagination span.current {
	border: 1px solid #999;
	color: #444;
}

/* Other Elements */

.red {
	color: #cc0000;
	}

#tagcloud {
	width: 80%;
	text-align: center;
	margin: auto;
	padding: 20px;
	}

#tagcloud a {
	color: #cc0000;
	}

table {
	width: 100%;
	}

	tr:nth-of-type(odd) {
		background: #eee;
	}

	td, th {
		background: #fff;
		padding: 6px;
		border: 0px solid #ccc;
		text-align: left;
		}

	th {
		background: #eee;
		font-weight: bold;
		}

	.widget #calendar_wrap {
		padding: 0 20px 20px;
		}

/* =Comments
-------------------------------------------------------------- */
#comments,
#respond,
.commentlist,
.commentlist ul.children,
.commentlist li.comment,
.commentlist li.pingback,
.commentlist .comment-body,
textarea#comment {
	width: 100%;
	clear: both;
	float: left;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	}

	#comments-title {
		margin-bottom: 0;
		}

	.commentlist li.comment,
	.commentlist li.pingback {
		padding-bottom: 10px;
		}

	.commentlist,
	.commentlist ul.children {
		list-style: none;
		padding: 0;
		}

		.commentlist ul.children {
			margin: 10px 0 0;
			padding-left: 10px;
			}

			.commentlist ul.children li.comment {
				position: relative;
				}

	.commentlist .comment-body {
		padding: 20px;
		background: #f6f6f6;
		display: block;
		border: 1px solid #e2e2e2;
		}

		.commentlist .children > li.comment {
			padding-left: 23px !important;
			}

	.comment-notes {
		line-height: 1.3em;
		clear: both;
		}

	.commentlist li.comment .avatar {
		float: left;
		padding: 0;
		}

	.commentlist li.comment .comment-author {
		width: 100%;
		color: #222;
		text-decoration: none;
		}

		.commentlist li.comment .comment-author {
			font-size: 16px;
			padding-left: 75px;
			line-height: 1;
			}

	.commentlist li.comment .comment-meta {
		padding-left: 75px;
		font-size: 12px;
		color: #888;
		font-style: italic;
		}

	.commentlist li.comment .comment-text {
		padding: 0 0 0 75px;
		}

	#cancel-comment-reply-link {
		font-size: 12px;
		float: right;
		}

	.comment-reply-link {
		float: right;
	 	background: #999;
	 	border: 1px solid #777;
	 	-moz-border-radius: 2px;
	 	-webkit-border-radius: 2px;
	 	border-radius: 2px;
	 	color: #fff;
	 	font: normal 11px Arial, sans-serif;
	 	padding: 6px 10px 4px;
	 	text-align: center;
	 	margin-top: 5px;
	 	text-decoration: none;
	 	text-transform: uppercase;
	 	}

		 .comment-reply-link:hover {
		 	background: #cc0000;
		 	border: 1px solid #cc0000;
		 	text-decoration: none;
		 	}

	.commentlist pre {
		background: #eee;
		border-color: #e2e2e2;
		}

	.comment .url {
		font-style: italic;
		}

	.comment #respond {
		margin-top: 10px;
		}

	#leftcontent h3#reply-title,
	#leftcontent h3#comments-title {
		font-size: 24px;
		line-height: 26px;
		}

	#respond .form-submit {
		clear: both;
		float: left
		}

/* WordPress Required Elements */

.aligncenter,
div.aligncenter {
   display: block;
   margin: 5px auto;
}

.alignleft, div.alignleft {
   float: left;
   margin: 5px 15px 5px 0;
}

.content .storycontent .alignleft,
.search .storycontent .alignleft,
.archive .storycontent .alignleft {
	margin-top: 0;
	}

.alignright, div.alignright {
   float: right;
   margin: 5px 0 5px 15px;
}

.alignnone {
	margin: 5px 0;
	}

.wp-caption {
   border: 1px solid #fff;
   text-align: center;
   background-color: #fff;
   padding-top: 5px;
   margin: 0;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text,
.gallery-caption {
   font-size: 11px;
   line-height: 14px;
   padding: 5px;
   margin: 0;
}

#today {
	color: #cc0000;
	}

#wp-calendar {
	margin: auto;
	}

.bypostauthor {}
.sticky {}


/* NEW POST FORMATS */

.gallery-thumb img {
	margin: 10px 0 0;
	padding: 5px;
	border: 1px solid #bbb;
	background: #ddd;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	width: auto\9; /* IE 8 Hack */
	}

	.twopost .gallery-thumb img,
	.threepost .gallery-thumb img {
		margin: 10px 0 0 !important;
		max-width: 90% !important;
		}

.format-aside .entry p.excerpt {
	padding-left: 30px;
	background: url(images/quotes.png) no-repeat top left;
	min-height: 30px;
	}

.format-audio .entry .pformat {
	padding-left: 38px;
	background: url(images/audio.png) no-repeat top left;
	min-height: 30px;
	display: block;
	}

.format-link .entry a {
	padding-left: 38px;
	min-height: 30px;
	display: block;
	background: url(images/link.png) no-repeat top left;
	font-size: 18px;
	line-height: 22px;
	}

.format-image .entry {
	margin: 10px 0 0;
	}

/* AD-Rotate */
#adrotate-ad-1 {
  font-size:20px;
  float:left;
}

/* blog special css*/
.blog-author {
  font-family: Arial, Helvetica;
  float:left;
  width:100%;
  padding:5px;
  background-color:#f5f5f5;
}

.blog-author-avatar {
  float:left;
  margin-right: 15px;
}

.blog-author-name {
  font-size: 20px;
}

.blog-author-description {
  font-size:12px;
}

.excerpt-single {
  color: #555555;
  font-family: Helvetica,Arial,Verdana;
  font-size: 14px;
  line-height: 18px;
}

.normal-black-text {
  font-family: Arial, Helvetica, Verdana;
  font-size: 13px;
  color: black;
}

#leftcontent .fb-like {
  height:24px;
  margin-bottom:5px;
  display:inline-block;
  float:left;
}

#leftcontent .glagol-on-fb {
  float:left;
  display: inline-block;
  margin-right: 8px;
  margin-top: 2px;
}


.xxivsmi-teaser > table {
  border:0;
}

.xxivsmi-teaser > table td {
  border: 0;
}

.xxivsmi-teaser.under-post {
  width:440px;
  float:left;
  margin: 0 10px 10px 10px;
}

.xxivsmi-teaser .smi_title_1701 {
  font-weight: normal !important;
}

.xxivsmi-teaser.under-post > table td:first-child{
  border-right: 1px dotted #CDCDCD;
}

.xxivsmi-teaser.under-post > table td:last-child{
  border-left: 1px dotted #CDCDCD;
}

/*
.header-menu {
  list-style-type: none;
  padding: 0;
  margin: 5px 0px;
  height:24px;
  text-align: left;
}

.header-menu li {
  font-size: 20px;  
  display:inline;
  padding: 0 11px;
  border-right: 1px dotted #cdcdcd;
}

.header-menu li:last-child {
  border-right: none;
  padding-right: 0;
  float:right;
}

.header-menu a {
  padding:     7px 7px;
  text-decoration:none;
  text-transform: uppercase;
  font-family: Arial, Helvetica;
  font-size: 20px;
  color: #000;
}

.header-menu a:hover {
  color: #ED1C24;
}

.header-first li:first-child, 
.header-second li:last-child{
  background-color: #FFEA3E;
}
*/
.random-links-on-top {
  font-family:  Helvetica,Arial,sans-serif;
  margin-left: 5px;
  float:right;
  padding: 2px 4px;
  font-size: 13px;
  height:15px;
  overflow: hidden;
  display:inline-block; /* to m*/
}

.yellow-bg {
  background-color: #FFEA3E;
}

.yellow-bg a {
  color: #111;
}

.yellow-bg a:hover {
  color: #ED1C24;
}

.in-text-ad {
  border: 1px dashed #FFF;
  background-color: #fbfbfb;
  padding: 5px;
  font-size:12px;
}


#leftcontent  .in-text-ad table {
  margin: 0;
}

#leftcontent .in-text-ad h3 {
  display: inline;
  font-size: 14px;
}

.in-text-ad ul {
  list-style-type: none;
  padding: 0;
  margin: 0 !important;
}

.internal-ad {
/*  background-image: url('/wp-content/themes/glagol-in-ua/images/favicon.png'); */
  background-repeat: no-repeat;
  background-position: 5px 5px;
/*  padding-left:25px; */
}

.external-ad {
/*  background-image: url('/wp-content/themes/glagol-in-ua/images/globe_designmodo.png'); 
  background-repeat: no-repeat;
  background-position: 5px 5px;
  padding-left:25px; */
}

.in-text-ad li {
  display: inline;
}

.in-text-ad a { /* retram requires this style, ok let's make them all the same */
  color: #000000 !important;
  font-family: tahoma !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: bold !important;
  text-decoration: none !important;
  text-transform: none !important;
}

.in-text-ad a:hover {
  color: #ED1C24 !important;
}

.in-text-ad td {
  border: 0;
  background: transparent !important;
}

.nostyle {
  width:auto;
}

#ok_shareWidget {
  float:left;
  margin-top:5px;
}

.top-line {
  clear:both;
  list-style-type: none;
  padding-left: 0;
}

.top-line li {
  float:left;
  height:2em; /* fix for facebook like calls height:100% for a short time */
}

.top-line li:last-child {
  float:right;
}
#apc_carousel_0 .apc_thumb{width:75px; height:75px;}
#apc_carousel_0 .apc_arrow{top:30px;}
/* #menu-item-38117 { background-color: #FFEA3E;} */

.a-single
{
border: 2px solid #3C3C3C;
line-height: 0;
}


.a-2 
{
width: 296px;
margin: 0px;
}

div.g-2
{
line-height: 0;
overflow: hidden;
border: 2px solid #3C3C3C;
width: 296px;
margin: 0px;
}

