/**
 * Theme Name: tpSunrise
 * Theme URI: http://www.tekpals.com/tpsunrise
 * Description: tpSunrise is a 3 column theme with a vertical menu on the left. The theme supports a widgetized sidebar on right and a flexible center column that automatically adjusts for the window width. The theme supports different header and sidebar styles for the home page. Requires WordPress 3.0+
 * Version: 1.2.7
 * Author: <a href="http://www.tekpals.com">Ed Ehrgott</a>
 * Author URI: http://www.tekpals.com
 * Tags: brown, orange, three-columns, right-sidebar, flexible-width, custom-menu, custom-header, custom-background, translation-ready, editor-style, sticky-post, theme-options
 * License: GNU General Public License v2.0
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 */

/*** common styling ***/
html {
background: url(http://d-nk.com.ua/wp-content/uploads/2014/01/drogobych.jpg) no-repeat;
-moz-background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-attachment: fixed;
}

body {
    background: none !important;
	padding-top: 10px;
        margin-top: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #333333;
	font-style: normal;
	font-weight: normal;
	font-size: small;
}
h1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #333399;
	font-size: large;
}
h2 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #4E729A;
	font-size: small;
}
h3 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #4E729A;
	font-size: small;
}
hr {
    color: #180509;
}
a {
   color: #333399;
	text-decoration: none;
}
a:hover {
	color: #ff0000;
	text-decoration: none;
}
.center {
	text-align: center;
}
.text_box {
	border-style: solid;
	border-width: 1px;
	padding: 4px;
}
.indent1 {
	margin-left: 40px;
}
.indent2 {
	margin-left: 80px;
}
.indent3 {
	margin-left: 120px;
}
.caption {
    font-size: x-small;
}
/*** table styling calendar widget overrides some styling) ***/
table {
   border-width: 1px;
   border-spacing: 1;
   border-color: #180509;
   font-style: normal;
   font-weight: normal;
   font-size: small;   
   width: 100%
}
table th {
	border-width: 1px;
	padding: 1px;
	border-style: 1px;
        color: #fffff4;
	background: #180509;
}
table td {
	border-width: 1px;
	padding: 10px;
	border-style: 1px;
	border-color: #180509;
}
ins {
	background: #ffc;
	border: none;
	color: #333;
	text-decoration: none;
}
/*** page layout div styling ***/
#masthead {
    background: rgba(78,114,154,0.7);
    position: relative;
}
#header_text {
	position: absolute;
	top: 15px;
	left: 175px;
	width: 950px;
	text-shadow: 0px 0px 3px black;
}
#masthead a {
	color: #180509;
	font-size: 1.1em;
	text-decoration: none;
}
#masthead h2 {
	color: #180509;
	font-size: 0.9em;
	letter-spacing: 1.4px;
}
#headerimg {
width: 100%;
-moz-background-size: contain;
-webkit-background-size: contain;
-o-background-size: contain;
background-size: contain;
height:160px;
}
/*** wrappers used to provide column effect ***/
#wrapper1 {
	position: relative;
	text-align: left;
	width: 100%;
}
#wrapper2 {
	float: left;
	position: relative;
	text-align: left;
padding: 1%;
background: rgba(255,255,255,0.7);
}
#container {
	min-width: 950px;
	position: relative;
	margin: 0;
	padding: 0;
}
/*** primary page/post content ***/
#page_content {
	position: relative;
	overflow: hidden;
	top: 5px;
	padding: 0 15px;
	line-height: 1.4em;
background-color: white;
margin-bottom: 20px;
border-radius: 25px;
}
}
.page-link {
    clear: both;
    padding-top: 10px;
}
.edit-link {
    clear: both;    
}
#comments {
   position:relative;
   clear:both;
}
#left_col {
	position: relative;
	float: left;
	top: 0px;
	left: 0px;
	margin: 0 0 -10px 0;
	font-size: small;
	width: 210px;
}
#left_col table {
    text-align: center;
}
#left_col td {
    border-style: none;
}
#left_col ul {
	padding: 0px 0px 15px 0px;
      font-size: 1.0em;
	margin: 0px;
	}
	
#left_col ul li {
	list-style: none;
	margin: 0px;
	padding: 0;
	}
	
#left_col ul li a {
	color: #333399;
	text-decoration: none;
	}

#left_col ul li a:hover {
	color: #ff0000;
	text-decoration: underline;
	font-weight: bold;
	}

#right_col {
	position: relative;
	top: 3px;
	right: 3px;
	margin: 0 0 -10px 0;
	width: 290px;
	float: right;
	font-size: small;
	padding: 10px;
	z-index: 99;
	line-height: 1.4em;
}
#right_col table {
    text-align: center;
}
#right_col td {
    border-style: none;
}
#right_col ul {

    font-size: 1.0em;
	margin: 0px;
	padding: 0px 0px 20px 0px;
	}
	
#right_col ul li {
	list-style: none;
	margin: 0px;
	padding: 5px 0px 0px 0px;
	}
	
#right_col ul li a {
	color: #333399;
	text-decoration: none;
	}

#right_col ul li a:hover {
	color: #ff0000;
	text-decoration: underline;
	}
#footer {
    clear: both;
    height: 43px;
    width: 100%;
    background-color:#4E729A;
margin-bottom: 20px;
}
#footer_txt {
	background-image: url('images/footer_bg1.gif');
	height: 18px;
	color: #180509;
	font-size: x-small;
	text-align: center;
	line-height: 18px;
}
/*** navigation section ***/
.pagenav {
   text-align: center;
}
.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 a {
	display: block;
	position: relative;
}
.sf-menu li:hover ul, .sf-menu li.sfHover ul {
	left: 0;
	top: 2.5em; /* match top ul list item height */
	z-index: 99;
}
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: 13em; /* 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;
}
/*** MENU SKIN ***/
.sf-menu {
	float: left;
	margin-bottom: 1em;
}
.sf-menu a {
	border-left: 1px solid #fff;
	border-top: 1px solid #CFDEFF;
	padding: .75em 1em;
	text-decoration: none;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text color*/
	color: #13a;
}
.sf-menu li {
	background: #F2BE76 url(images/gradient_31.gif);
}
.sf-menu li li {
	background: #F5DEB3;
}
.sf-menu li li li {
	background: #F5DEB3;

}
.sf-menu li:hover, .sf-menu li.sfHover, .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	background: #F2BE76;
	outline: 0;
}
/*** superfish vertical menu ***/
.sf-vertical, .sf-vertical li {
	width: 200px;
}
.sf-vertical, .sf-vertical li li {
	width: 200px;
	position: relative;
	overflow:visible !important;
}
/* this lacks ul at the start of the selector, so the styles from the main CSS file override it where needed */
.sf-vertical li:hover ul, .sf-vertical li.sfHover ul {
	left:	13em; /* match ul width */
	top: 0;
}

/*** alter arrow directions ***/
.sf-vertical .sf-sub-indicator { background-position: -10px 0; } /* IE6 gets solid image only */
.sf-vertical a > .sf-sub-indicator { background-position: 0 0; } /* use translucent arrow for modern browsers*/

/* hover arrow direction for modern browsers*/
.sf-vertical a:focus > .sf-sub-indicator,
.sf-vertical a:hover > .sf-sub-indicator,
.sf-vertical a:active > .sf-sub-indicator,
.sf-vertical li:hover > a > .sf-sub-indicator,
.sf-vertical li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}
/*** navigation sub menu indicators ***/
.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: 1.05em; /* 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 */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values 
	top:			.8em;
	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*/
}
ul.sub-menu {
   width: 140px;
}
/* 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; }
/* 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*/
}
.sf-shadow ul {
	background:	url('images/shadow.png') no-repeat bottom right;
	padding: 0 85px 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;
}
/*** end navigation section ***/

/*** magazine page template styling ****/
#recent_posts {
    border-top: 1px solid #180509;
    padding: 4px;
}
#recent_posts_meta {
    font-size: 75%;
}
.recent_posts_title {
    font-size: 130%;
}
.recent_posts_item {
    width: 45%;
    display: block;
    border-bottom: 1px solid #180509;
    padding: 10px 5px 10px 5px;
}
#recent_posts li {
    list-style: none;
    margin: 0 0 20px 0;
}
#recent_posts li:nth-child(even) {
    float: left;
    clear: both;
}
#recent_posts li:nth-child(odd) {
    float: right;
}

/*** WordPress image styling ***/
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
.alignleft, img.alignleft, a img.alignleft {
	display: block;
	float: left;
	padding-right: 5px;
	border: none;
}
.alignright, img.alignright, a img.alignright {
	display: block;
	float: right;
	padding-left: 5px;
	border: none;
}
.aligncenter, img.aligncenter, a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: none;
}

/*** WordPress gallery styling ***/
/* The Gallery container (div) */
.gallery { }
 
/* A Gallery item container,
 for 3, 2, 4, & 6 column galleries */
.gallery .gallery-item { }
.gallery-columns-2 .gallery-item { }
.gallery-columns-4 .gallery-item { }
.gallery-columns-5 .gallery-item { }
.gallery-columns-6 .gallery-item { }

/* The actual image inside a container
for 3, 2, 4, 5 & 6 column galleries */
.gallery img { }
.gallery-columns-2 .attachment-medium { }
.gallery-columns-4 .attachment-thumbnail { }
.gallery-columns-5 .attachment-thumbnail { }
.gallery-columns-6 .attachment-thumbnail { }
 
/* A gallery image caption */
.gallery .gallery-caption { }
 
/* Definition lists elements */
.gallery dl, .gallery dt { }
 
/* Pick the second line break if two
line breaks are adjacent */
.gallery br+br { }

.gallery { margin: 0 auto 18px; }
.gallery .gallery-item {
    float: left;
    margin-top: 15px;
    text-align: center;
    width: 33%;
}
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery-columns-5 .gallery-item { width: 20%; }
.gallery-columns-6 .gallery-item { width: 16%; }
.gallery img {
    box-shadow: 0px 0px 4px #999;
    border: 1px solid white;
    padding: 8px;
    background: #f2f2f2;
}
.gallery img:hover {
    background: white;
}
.gallery-columns-2 .attachment-medium {
    max-width: 92%;
    height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
    max-width: 84%;
    height: auto;
}
.gallery-columns-5 .attachment-thumbnail {
    max-width: 78%;
    height: auto;
}
.gallery-columns-6 .attachment-thumbnail {
    max-width: 72%;
    height: auto;
}
.gallery .gallery-caption {
    color: #888;
    font-size: 12px;
    margin: 0 0 12px;
}
.gallery dl, .gallery dt {
    margin: 0;
}
.gallery br+br {
    display: none;
}
.gallery-image-link a {
   font-size: 2.0em;
   text-decoration: none;
   vertical-align: -35px;
   color: #180509;
}

/*** aside styling ***/
.format-aside h1 {
   display: none;
}
.format-aside .contentdate {
   display: none;
}

/*** link styling ***/
.format-link .contentdate {
   background: url(images/link-image.jpg);
   width: 68px;
}
.format-link .contentdate h3 {
   display: none;
}
.format-link .contentdate h4 {
   display: none;
}

/*** ststus styling ***/


/*** other WordPress styling ***/
blockquote{
	margin: 0px 25px 15px 25px;
	padding: 0px 25px 0px 10px;
	background: #FFF575;
	border-top: 2px solid #000000;
	border-bottom: 1px solid #000000;
}
.contentdate {    
   background: url(images/cal.png);
   float: left;
   width: 45px;
   height: 50px;
   margin: 0 10px 0 0;
   padding: 0;
}
.contentdate h3 {
   font-family: Arial, Helvetica, sans-serif;
   color: #FFFFFF;
   font-size: 10px;
   font-weight: normal;
   padding: 1px 0px 0px 4px;
   margin: 0px;
   text-transform: uppercase;
}
.contentdate h4 {
   font-family: Arial, Helvetica, sans-serif;
   color: #666666;
   font-size: 21px;
   font-weight: bold;
   padding: 5px 4px 0px 0px;
   margin: 0px;
   text-align: center;
}
.contenttitle {
   position: relative;
   margin: 0px;
   padding: 0px;
   color: #000000;
}
.postspace {
	background: url(images/spacer.png);
	width: 300px;
	height: 32px;
	margin: 0px;
	padding: 0px;
	clear: both;
}
.pagenav {
     margin-bottom: 15px;
}
.sticky {
	background: #F5DEB4;
	padding: 5px 5px 5px 5px;
}
/*** comment styling ***/
.commentlist ul {
   list-style: none;    
}
.commentlist .odd {
   background-color: #F9DFA9;
   padding: 10px;
   margin-bottom: 10px;
}
.commentlist .even {
   background-color: #F5DEB4;
   padding: 10px;
   margin-bottom: 10px;
}
.commentlist .bypostauthor {
   border-style: solid;
   border-width: 1px;
   padding: 4px;
}
.comment-form-comment label {
   display: block;
}
.comment-form-comment textarea {
   width: 90%;
}
.advanced-recent-posts { list-style:none;}
 
.advanced-recent-posts li { overflow:auto; margin:10px 0px; border-bottom:1px solid #E6E6E6; padding-bottom:5px; } 
 
.advanced-recent-posts li img { float:left; margin-right:10px; border: 1px solid #BFCFCF; padding:3px;} 
.advanced-recent-posts li a { text-decoration:none; font-weight:normal; color:#1e292b;}
.advanced-recent-posts li p { margin-top:10px; float:right;}


#tpl_menu {background-color:#FFF;height:30px;width:100%;padding:0px;z-index:99;margin-top: -12px;}
#tpl_menu ul {z-index:100;}
#tpl_menu ul li {display:block;float:left;padding-top:7px;padding-left: 10px;padding-right: 10px;margin:0px;padding-bottom:7px;position:relative;transition:background-color 0.5s linear,box-shadow 0.5s linear;}
#tpl_menu ul li:hover, .current-menu-item {background-color:#4E729A;box-shadow: 0px 0px 5px white;transition:background-color 0.5s linear,box-shadow 0.5s linear;}
#tpl_menu ul li a:hover, current-menu-item a  {color:white;transition:color 0.5 linear;}
#tpl_menu ul .sub-menu {display:none;position:absolute;float:left;padding:5px;}
.sub-menu {background-color:#FFF;margin-top:12px;z-index:101;top: 18px;}
.sub-menu li {width: 120px;}
#tpl_menu li:hover .sub-menu {display:block;z-index:100;}
#tpl_menu ul li a {font-variant: small-caps;color:#383431;border:none;font-weight:900;}


#menu-item-2178 a {color:red !important;}
#menu-item-2178 a:hover, .current-menu-item a {color:white !important;}
#menu-item-2178 {float:right !important;}

.commentlist .even {background:none;}
.commentlist .odd {background:none;}

.dcVersus {
color: black;
box-shadow: 0px 0px 15px white;
background-color: rgba(171, 221, 224, 0.7);
transition: box-shadow 1s linear,background-color 1s linear,color 1s linear;
padding:10px;
text-align:center;
float: left;
}

.dcVersus a {
color:orange;
}

.dcVersus:hover {
box-shadow: 0px 0px 15px black;
transition:box-shadow 1s linear,background-color 1s linear,color 1s linear;
background-color: rgba(254, 77,0 , 0.7);
color: black;
}

#tpl_logo {
width:50px;
margin:10px 120px 10px;
height:80px;
}

marquee {
background-color: rgba(255,255,255,0.7);
width: 100%;
}




a.button5 {
  display: inline-block;
  color: #000;
  font-size: 12px;
  text-decoration: none;
  user-select: none;
  padding: 0 5px;
  outline: none;
  border-radius: 2px;
}
a.button5:before {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;  /* для больших картинок 0 */
  padding-right: 5px;
}
a.button5[data-twitter]:before {content: url(http://favicon.yandex.net/favicon/twitter.com);}
a.button5[data-vk]:before {content: url(http://favicon.yandex.net/favicon/vk.com);}
a.button5[data-facebook]:before {content: url(http://favicon.yandex.net/favicon/facebook.com);}
a.button5:hover {
  background: linear-gradient(#ececeb, #eaeaea);
  box-shadow:
   inset rgba(0,0,0,.5) 0 -1px 1px,
   inset rgba(0,0,0,.2) 0 1px,
   inset #fff 0 2px,
   rgba(0,0,0,.2) 0 1px 1px;
}
a.button5:active {
  background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.1));
  box-shadow:
   inset rgba(0,0,0,.8) 0 1px 2px,
   inset rgba(0,0,0,.05) 0 -1px 0,
   #fff 0 1px 1px;
}


a.button27 {
  position: relative;
  display: inline-block;
  width: 2em;
  height: 2em;
  line-height: 2em;
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
  color: #000;
  outline: none;
  border-radius: 5px;
  box-shadow: 0 0 0 1px #ddd inset, 0 1px 1px #fff;
}
a.button27:hover {
  background: #dcdcdc linear-gradient(#fff, #dcdcdc);
  box-shadow: 0 0 0 1px #aaa inset, 0 1px 1px #aaa;
}
a.button27:active {
  background: none;
    box-shadow: 0 0 0 1px #bbb inset, 0 1px 3px rgba(0,0,0,.5) inset, 0 1px 2px #fff;
}



.yarpp-thumbnail {
    height: 215px !important;
}
.yarpp-thumbnail-title {
    font-size:0.8em !important;
    max-height: 75px !important;
}




#social a:hover {
background-color: transparent;opacity:0.7;
}
#social img {
-moz-transition: all 0.8s ease-in-out;
-webkit-transition: all 0.8s ease-in-out;
-o-transition: all 0.8s ease-in-out;
-ms-transition: all 0.8s ease-in-out;
transition: all 0.8s ease-in-out;
}
#social img:hover {
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
-ms-transform: rotate(360deg);
transform: rotate(360deg);
}


<!--yura-->


body.bd{
	padding: 0;
	margin: 15%;
	background: grey;
	font-family: 'Roboto', sans-serif;

}
div.box{
	
	width: 600px;
	padding: 5%;
	margin: 20px auto;
	position: absolute;
	top: 60%;
	left: 50%;
	border:  double-line #000000;
	transform: translate(-50%,-40%);
	background-image: linear-gradient(#006900, #E6EDED);
	border-radius: 15px;
	box-shadow: 0 0 40px; 
}

 p.text{
 	font-size: 22px;
 	color: #FFFFFF; 
 }
 h1.zh{
 	padding-bottom: 20px;
 	color: #FFFFFF; 
 }
label.lab{
	display: inline-block;
	font-size: 22px;
	padding-bottom: 5px;
	color: rgba(31, 36, 48, 0.8);
	font-weight: bold;
	text-transform: ;
}
input.in{
	outline: none;
	margin-bottom: 13px;
	display: inline-block; 
	width: 500px; 
	padding: 3px;
	border-radius: 8px; 
	box-shadow: 0 0 15px;
	font-size: 19px;

}
input.in:hover, input:focus{
	background: #C0C0C0;
	transform: scale(1.1);
}
button.button{
	width: 150px; 
	padding: 7px; 
	border-radius: 8px; 
	background: #066D07; 
	color: white;
	outline: none;	
}
a.a{
	font-style: none;
	color: black;
	text-decoration: none;
}


