@font-face {
  font-family: "Franklin Gothic Medium";
  font-style: normal;
  font-weight: 200;
  src: url('fonts/franklingothicmedium.otf');
}
/* MAIN
----------------------------------------------- */
body {font-size: 13px; line-height: 21px;}
body,
input,
select,
textarea {font-family: Georgia, serif; color: #4d4c49;}

a,
.link {color: #630; text-decoration: none; background: url(a_underline.gif) no-repeat 0 100%;}
a:hover,
.hover {color: #930; background: url(a_underline.gif) no-repeat -1000px 100%;}

h1, h2, h3, h4, h5, h6 {font-size: 13px; line-height: 21px; color: #630; margin: 0 0 21px;}
h1 {font-size: 25px; line-height: 40px; font-weight: normal;}
.blockMsg h1 {margin: 0;}
h1 a,
h1 a:hover {background: none;}
h2 {font-size: 20px; line-height: 32px; font-weight: normal;}
h2 a,
h2 a:hover {background: none;}
h3 {font-size: 18px; line-height: 21px; font-weight: normal;}
h3 a,
h3 a:hover {background: none;}

p {margin: 0 0 21px;}

ol, ul {margin: 0 0 21px 21px; padding: 0;}
ol, ul li {padding-left: 21px;}

ul,
li {vertical-align: top; display: block;}

ul {list-style: none outside none;}
ul li {background: url(li.gif) no-repeat 5px 7px;}

hr,
.hr {height: 1px; color: #c8a370; background: #c8a370; border: 0;}



/* FORMS
----------------------------------------------- */
form,
fieldset {margin: 0; padding: 0; border: 0; display: block;}
input,
select,
textarea {font-size: 100%;}
select,
textarea,
input.text {background: #fff;}
input.image {border: 0;}
textarea,
input.text {margin: 0; padding: 5px; background: #cea873; border: 1px solid #c8a370;}
textarea {overflow: auto;}
* html textarea,
* html input.text {margin: -1px 0;}
*+html textarea,
*+html input.text {margin: -1px 0;}
input.button {padding: 1px 13px;}
* html input.button {padding: 0;}
*+html input.button {padding: 0;}
/*.holder {color: #997c56;}*/



/* LAYOUT
----------------------------------------------- */
html, body {min-width: 990px;}
body { margin: 0; padding: 0; text-align: center;}
#body {width: 990px; margin: 0 auto; text-align: left;}

#main {width: 700px; margin: 0 0 21px 20px; float: left; display: inline;}
#header {height: 250px;}
#content {margin-bottom: 42px;}

#right {width: 200px; margin: 35px 20px 21px 0; float: right; display: inline;}

#footer {text-align: left; margin-bottom: 21px;}


/* STATIC
----------------------------------------------- */
#don {margin: 32px 0 0 -10px; float: left; display: inline; position: relative;}

#logo {text-align: right; margin-top: 35px; float: right; display: inline; position: relative;}
#logo p {margin: 0 0 12px;}
#logo a {background: none;}
#logo img {vertical-align: top;}
#logo span img {margin-bottom: 8px;}
#logo a.site img {background: url(boss_ionia.gif) no-repeat;}
#logo a.site:hover img {background-position: 0 -80px;}



/* NAVIGATION
----------------------------------------------- */



/* COMMON
----------------------------------------------- */
a {cursor: pointer;}
a,
object {outline: 0;}
img {border: 0;}
li,
img,
input.image {vertical-align: top;}

/* clear */
.clear {height: 0; overflow: hidden; clear: both;}

/* wrap */
.wrap {zoom: 1;}
.wrap:after {content: '.'; height: 0; overflow: hidden; clear: both; display: block;}



/* BLOCKS
----------------------------------------------- */
.bn {}
.bn2 {margin-bottom: 20px;}
.bn3 {margin-bottom: 20px;}

/* entries */
.entries .i {margin-bottom: 5px; position: relative; zoom: 1;}
.entries .i-new {margin-bottom: 55px;}

.entries h1 {font-size: 20px; line-height: 40px; font-weight: normal; margin: 0; border-bottom: 1px solid #caa473;}
.entries .i-new h2 {font-size: 25px; line-height: 40px;}

.entries .date {font-style: italic; margin-bottom: 21px;}
.entries .date em {color: #630;}

.entries .descr {}
.entries .i-new .descr {}

.entries .img {width: 128px; height: 128px; margin: 0 21px 21px 0; position: relative; top: 5px; float: left; display: inline;}
.entries .img em {width: 128px; height: 128px; overflow: hidden; position: absolute; left: 0; top: 0; background: url(entries_img_corners.png) no-repeat; display: block;}
.entries .i-new .img {width: auto; height: auto; margin: 0 21px 0 0;}

.entries .links {margin: 21px 0; position: relative;}
.entries .links .coms {left: 13px; position: relative; cursor: pointer;}
.entries .links .coms em {width: 13px; height: 11px; left: -13px; top: 3px; background: url(entries_coms.gif) no-repeat; display: block; overflow: hidden; position: absolute;}

/* entry */
.entry .date {font-style: italic; border-top: 1px solid #c8a370; margin: -21px 0 21px;}
.entry .date em {color: #630;}
.entry .img {margin: 0 30px 10px 0; float: left;}
.entry .links {margin: 39px 0 22px 0;}
.entry .links p {margin: 0;}

/* nav */
.nav {font: 16px/26px Verdana, Geneva, Arial, Helvetica, sans-serif; width: 100%; position: relative;}
.nav:after {content: '.'; display: block; clear: both; height: 0; font-size: 0; line-height: 0; overflow: hidden;}
.nav .home {float: left;}
.nav .home a {left: 20px; position: relative; cursor: pointer;}
.nav .home em {width: 14px; height: 14px; left: -20px; top: 3px; background: url(nav_home.gif) no-repeat; display: block; overflow: hidden; position: absolute;}
.nav .prev {float: left;}
.nav .prev a {left: 20px; position: relative; cursor: pointer;}
.nav .prev em {width: 14px; height: 14px; left: -20px; top: 3px; background: url(nav_prev.gif) no-repeat; display: block; overflow: hidden; position: absolute;}
.nav .next {float: right;}
.nav .next a {right: 20px; position: relative; cursor: pointer;}
.nav .next em {width: 14px; height: 14px; right: -20px; top: 3px; background: url(nav_next.gif) no-repeat; display: block; overflow: hidden; position: absolute;}

/* commentsList */
#commentsList .i {margin-bottom: 21px; padding-bottom: 21px; border-bottom: 1px solid #c8a370;}
#commentsList .date {font-style: italic; margin-bottom: 7px;}
#commentsList .date em {color: #630;}

/* commentPost */
#commentPost .i {margin-bottom: 7px;}
#commentPost input.text {width: 255px;}
#commentPost textarea {width: 420px; height: 160px;}
#commentPost .submit {line-height: 30px; height:30px; position: relative;}
#commentPost input.button {width: auto; height: auto; background: transparent url(px.gif); border: 0; margin: 0; padding: 0; left: 0; top: 0; position: absolute; display: block; cursor: pointer;}

/* userPhoto */
#userPhoto {margin-bottom:4px;}

/* user */
#user {font-size: 12px; line-height: 19px; padding: 3px 0; background: #cea873;margin-bottom:5px;}
#user p {margin: 0;}
#user .user-about {font-style: italic; text-align: justify; width: 180px; margin: 0 auto;}
#user .user-about .row1 {margin-left: 12px;}
#user .user-about .row2 {margin-left: 12px;}
#user .user-about .row3 {margin-left: 12px;}
#user .user-about .row4 {margin-left: 6px;}
#user .user-about .row5 {margin-left: 0px;}
#user .user-logo {text-align: center; margin: 1px 0 1px;}
#user .user-logo a {background: none;margin-left:-15px;}

/* search */
.search {height: 27px; margin-bottom: 5px; background: #cea873 url(search_bg.gif);}
.search input.text {font-size: 12px; width: 118px; background: transparent; border: 0; margin: 0; padding: 6px 15px 6px 30px; float: left; display: inline;}
#main .search input.text {width: 618px;}
.search input.image {float: right;}

/* archive */
#archive {font: 12px/14px Verdana, Geneva, Arial, Helvetica, sans-serif;position:relative;}
#archive .icon{ background:  url(capoftea.png) no-repeat 100% 0;display:block;width:80px;height:48px;position:absolute;right:0px;top:-7px;}
#archive h2 {font: 14px/27px Verdana, Geneva, Arial, Helvetica, sans-serif; background: #cea873; margin: 0 0 1px; padding: 0 15px 0 50px;text-align:left;}
#archive ul {margin: 0; padding: 0;}
#archive li {background: url(a_underline.gif) no-repeat 0 100%; padding: 5px 0 6px; width: 100%;}
#archive li h2 {font: 12px/14px Verdana, Geneva, Arial, Helvetica, sans-serif; background: transparent; margin: 0; padding: 0;text-align:left;}
#archive a {background: url(archive_li.gif) no-repeat 0 2px; padding-left: 15px; cursor: pointer;}
#archive a,
#archive a:link,
#archive a:visited {color: #956c2f;}
#archive a:hover {color: #930;}

/* feedback */
#feedback .i {margin-bottom: 7px;}
#feedback input.text {width: 255px;}
#feedback textarea {width: 420px; height: 160px;}
#feedback .submit {line-height: 30px; height:30px; position: relative;}
#feedback input.button {width: auto; height: auto; background: transparent url(px.gif); border: 0; margin: 0; padding: 0; left: 0; top: 0; position: absolute; display: block; cursor: pointer;}

/* rss */
#rss {font-size: 11px; line-height: 25px; background: #cea873; margin-bottom: 5px; width: 50px;}
#rss a {padding-left: 28px; background: url(rss.png) no-repeat; display: block;font-size: 12px;}

/* email */
#email {font-size: 11px; line-height: 25px; background: #cea873; width:140px}
#email a {padding-left: 17px;background: url(email.png) no-repeat 5px 50%; display: block;font-size: 12px;}


.fototur,.fototur:hover, .rec,.rec:hover{
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
display:block;
width:200px;
height:27px;
line-height:27px;
background:url(fototur-bg.png) repeat-x 50% 50%;

color:#fff;
font:bold 14px/26px Arial;
text-align:left;
}
.fototur span{color:#f7f6de;background:url(fotoapp.png) no-repeat 95% 50%;padding-left:10px;display:block;background-size: 23px;}
.rec span{color:#f7f6de;padding-left:10px;display:block;background-size: 23px;}

/* Dialog rest for jquery UI */
.hide {
  display: none !important;
}
.throw-out {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
.ui-widget-overlay {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:#000;
  opacity:0.8;
  filter:alpha(opacity=80);
}
.dialog-reset.ui-dialog {
  overflow: visible;
  padding: 0;
  width: auto;
}
.dialog-reset.ui-dialog .ui-dialog-content {
  overflow: visible;
  padding: 0;
  color: #000;
  border: none;
  position: static;
  height: auto !important;
}
.ui-widget-overlay {
  background: #000;
  opacity: 0.8;
  filter: alpha(opacity=80);
  z-index: 999;
}

.dialog-outer {
  width: 100% !important;
  height: 100% !important;
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 9999 !important;
  padding: 0 !important;
  background: none !important;
  position: relative;
  border: none !important;
}
.dialog-outer.dialog-reset.ui-dialog .ui-dialog-content {height: 100% !important;}
.dialog-table {
  display: table !important;
  width: 100% !important;
  height: 100% !important;
}
.dialog-table-cell {
  display: table-cell !important;
  vertical-align: middle !important;
  width: 100% !important;
  height: 100% !important;
}
.dialog-table-cell .dialog {
  position: relative !important;
  margin: 20px auto;
}
.dialog,
.dialog-reset.dialog {
  font:14px/18px Tahoma, Arial, Verdana, sans-serif;
  background:#fff;
  padding: 20px;
  width:480px;
  z-index: 1000;
  -webkit-border-radius:15px;
    -moz-border-radius:15px;
      -o-border-radius:15px;
        border-radius:15px;
}
.dialog:focus,
.dialog-reset.dialog:focus {
  outline: none;
}
.dialog.w600 {width: 600px;}

.dialog a {color:#00659B;}
.dialog .button {color:#000;}
.dialog a:hover {text-decoration:none;}
.close-dialog {
  position:absolute;
  right:-24px;
  top:-24px;
  background: url(images/close-dialog.png) no-repeat;
  width:49px;
  height:49px;
  cursor:pointer;
  text-indent:-9999px;
  outline:none;
  z-index:1000;
}
.close-dialog:hover {background-position:0 -49px;}
.close-dialog:active {background-position:0 -100px;}
.dialog h2,
.dialog-title {
  font-size:15px;
  margin:0 0 20px;
  overflow: hidden;
}
.dialog p {margin:0 0 20px;}
.dialog .error {
  color: #f00;
  padding: 0;
  margin: 0 0 10px;
  font-size: 11px;
  display: block;
  clear: both;
  text-align: left;
}

/* Support question form */
.support-question label {
  display:block;
  margin-bottom:5px;
}
.support-question textarea,
.support-question textarea.error {
  display:block;
  padding:5px;
  border:1px solid #bebebe;
  height:110px;
  resize:none;
  margin-bottom:10px;
  width:468px;
  font-size: 14px;
  color: #000;
}
.support-question input[type=submit] {
  min-width: 200px;
  margin-right: 20px;
  padding: 0 20px;
}

/* Site add file block */
.add-file-holder {
  padding:10px;
  margin-bottom:10px;
  position: relative;
  background-color:#f7f7f7;
  -webkit-border-radius:10px;
    -moz-border-radius:10px;
      -o-border-radius:10px;
        border-radius:10px;
}
.add-file-holder:after {
  content: '';
  display: block;
  clear: both;
}
.add-file-holder .throbber {
  position: absolute;
  left: -27px;
  top: -2px;
}
.add-file-holder .row {margin-bottom: 5px;}
.add-file-holder .error {margin-bottom: 0;}
.remove-feedback,
.remove-file {
  position: absolute;
  right: 5px;
  top: 5px;
  background: url(/close-small.png) no-repeat;
  width: 7px;
  height: 7px;
  padding: 2px;
  cursor: pointer;
  display: none;
}
.file-edded .remove-feedback {display: block;}
.add-file-holder .jquery_form_error_message {margin-bottom: 0;}
.file-input {
  width:120px;
  position:relative;
  overflow: hidden;
  float: left;
}
.file-input input {
  position:absolute;
  right:-100px;
  top:-100px;
  font-size:200px !important;
  cursor:pointer;
  z-index:5000;
  opacity:0;
  filter:alpha(opacity=0);
}
.add-file-text {
  color:#8c8c8c;
  font-size:12px;
  line-height:13px;
}
.add-flie-name {
  width: 280px;
  float: right;
  line-height: 20px;
  height: 20px;
  overflow: hidden;
  font-size: 11px;
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.add-flie-name.error {
  margin: 0;
  border-color: #f00;
}

/* Table dialog */
.table-dialog {
  width:100%;
  table-layout:auto;
  border-collapse:collapse;
  border-spacing:0;
  font-size:12px;
}
.table-dialog tr:first-child td {border:none;}
.table-dialog td {
  height:40px;
  vertical-align:middle;
  border-top:1px solid #f2f2f2;
  text-align:right;
  padding:0 10px;
}
.table-dialog td:first-child {text-align:left;}


/* Dialog form */
.form-dialog {font:14px Tahoma, Arial, Helvetica, sans-serif;}
.form-dialog .row {margin-bottom:20px;}
.form-dialog label {
  width:60px;
  padding-right:10px;
  line-height:30px;
  float:left;
}
.form-dialog input[type=text] {
  padding:0 5px;
  margin:0;
  height:28px;
  line-height:28px;
  border:1px solid #bebebe;
  width:518px;
  float:left;
}
.form-dialog input[type=checkbox] {
  float: left;
  margin: 0;
  padding: 0;
  clear: none;
}
.form-dialog input[type=radio] {
  float:left;
  margin:0;
  padding: 0;
}
.dialog .reg-dialog {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size:14px;
  font-weight:normal;
  line-height:29px;
  height:29px;
  min-width:140px;
  padding:0 10px;
}
.back-password {
  float:left;
  clear:both;
  width:100%;
  margin:7px 0 0 70px;
}
.form-dialog .row .row {
  margin:0;
  clear:both;
  width:100%;
}
.form-dialog .row .row label {width:auto;}
.form-dialog .row .row input[type=checkbox] {margin:6px 8px 0 70px;}
.form-dialog .row.center {margin-bottom:0;}


/* Watermark dialog */
.info-link.watermark-info {float: right;}
.watermark-preview {
  position: relative;
  margin-bottom: 20px;
  min-height: 300px;
  background-color: #eee;
}
.watermark-preview img {
  display: block;
  max-width: 100%;
}
.watermark-text-holder {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  left: 0;
  top: 0;
  font-size: 30px;
  font-weight: bold;
  color: #000;
  opacity: 0.5;
  filter: alpha(opacity=50);
}
.watermark-text-inner {
  display: table;
  width: 100%;
  height: 100%;
}
.watermark-text {
  display: table-cell;
  width: 100%;
  height: 100%;
}
.watermark-text img {display: block;}
.watermark-text span {
  display: block;
  margin: 8px;
  word-break: break-all;
}
.watermark-text.top-left {
  text-align: left;
  vertical-align: top;
}
.watermark-text.top-left img {
  margin: 0;
}
.watermark-text.top-right {
  text-align: right;
  vertical-align: top;
}
.watermark-text.top-right img {
  margin: 0 0 0 auto;
}
.watermark-text.bottom-right {
  text-align: right;
  vertical-align: bottom;
}
.watermark-text.bottom-right img {
  margin: 0 0 0 auto;
}
.watermark-text.bottom-left {
  text-align: left;
  vertical-align: bottom;
}
.watermark-text.bottom-left img {
  margin: 0;
}
.watermark-text.center {
  text-align: center;
  vertical-align: middle;
}
.watermark-text.center img {
  margin: 0 auto;
}
.wattermark-form .row {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ebebeb;
}
.wattermark-form label {
  width: 180px;
  float: left;
  color: #000;
  font-size: 14px;
  line-height: 20px;
}
.wattermark-form input[type=text] {
  width: 270px;
  display: block;
  float: none;
  color: #666;
}
.wattermark-form input::-webkit-input-placeholder {color:#bebebe;}
.wattermark-form input:-moz-placeholder {color:#bebebe;}
.wattermark-form input:-ms-input-placeholder {color:#bebebe;}
.wattermark-form input.error {
  border-color: #ad2d2d;
}
.row.watermark-radio {
  padding-bottom: 10px;
  border: none;
}
.watermark-radio input[type=radio] {
  margin: 0 5px 0 0;
}
.watermark-radio label {
  line-height: 14px;
  padding-right: 20px;
  font-size: 12px;
}
.wattermark-form .left label {
  width: auto;
  padding-right: 20px;
}
.wattermark-form .row input[type=checkbox] {
  margin: 4px 10px 0 0;
}
.img-input-holder {padding: 5px 0;}
.add-file-holder.add-file-wtermark {
  padding: 0;
  background: none;
  margin: 0;
}
.add-file-wtermark .file-input {
  width: 70px;
  margin-right: 10px;
}
.add-file-wtermark .file-input input {
  top: 0;
  font-size: 12px !important;
  right: 0;
  width: 80px;
}
.add-file-wtermark .add-flie-name {
  width: 155px;
  color: #a6a6a6;
  float: none;
}
.add-file-wtermark .remove-file {display: block;}
.add-file-wtermark .error {
  color: #ad2d2d;
  clear: none;
}
.row.submit-row {
  padding-bottom: 0;
  margin: 0;
  border: none;
}
.wattermark-form input[type=submit] {
  float: left;
  margin-right: 20px;
}
.submit-error {
  color: #ad2d2d;
  overflow: hidden;
  font-size: 12px;
  line-height: 18px;
  padding-top: 5px;
}
.submit-error .error {margin-bottom: 0;}

.dialog.designs-dialog {
  width: 602px;
}

.subscribe-ear {
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 0px;
  overflow: hidden;
  z-index: 501;

  -webkit-transition-property: all;
  -webkit-transition-duration: .5s;
  -webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);

  -moz-transition-property: all;
  -moz-transition-duration: .5s;
  -moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);

  -ms-transition-property: all;
  -ms-transition-duration: .5s;
  -ms-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);

  transition-property: all;
  transition-duration: .5s;
  transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
.subscribe-ear.opened {
  height: 52px;
}
.subscribe-ear .inner {
  background: #2d2d2d;
  border-top: 2px solid #fff;
  padding: 10px 0;
}
.subscribe-ear form {
  width: 960px;
  padding: 0 0 0 75px;
  margin: 0 auto;
  color: #fff;
  font-size: 16px;
  box-sizing: border-box;
  position: relative;
  height: 30px;
  line-height: 30px;
  background: url(/userfiles/i-mail.png) 20px 0px no-repeat;
  white-space: nowrap;
}
.subscribe-ear form.success-msg input {
  display: none;
}
.subscribe-ear label {
  display: inline-block;
  width: 528px;
  min-width: 528px;
}
.subscribe-ear label.error-msg {
  color: #ff0000;
}
.subscribe-ear input[type="email"] {
  width: 170px;
  height: 30px;
  box-sizing: border-box;
  font-size: 14px;
  padding: 0 8px;
  border: none;
  position: relative;
  top: 0px;
  vertical-align: top;
  margin-left: 0px;
  -o-border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.subscribe-ear input[type="submit"] {
  width: 130px;
  padding: 0px;
  height: 30px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  background: #ffc412;
  position: relative;
  top: 0px;
  margin-right: 8px;
  box-sizing: border-box;
  cursor: pointer;
  outline: none;
  border: none;
  line-height: 30px;
  vertical-align: top;
  -o-border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.subscribe-ear .close {
  display: block;
  position: absolute;
  top: 5px;
  right: 11px;
  font-weight: bold;
  font-size: 26px;
  color: #a6a6a6;
  padding: 0px;
  height: 20px;
  cursor: pointer;
  font-family: Arial, Verdana, Tahoma, sans-serif;
  width: 20px;
  text-align: center;
  line-height: 20px;
}
.subscribe-ear .throbber {
  position: absolute;
  top: 9px;
  right: 160px;
  width: 12px;
}
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,400italic,700,700italic&subset=latin,cyrillic);
.subscribe20 {
    background: url("image/border.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    margin: 0;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow:  0 1px 0 0 rgba(255, 255, 255, 0.88) inset, 0 0 1px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow:  0 1px 0 0 rgba(255, 255, 255, 0.88) inset, 0 0 1px 0 rgba(0, 0, 0, 0.5);
    box-shadow:  0 1px 0 0 rgba(255, 255, 255, 0.88) inset, 0 0 1px 0 rgba(0, 0, 0, 0.5);
}
.subscribe20 .inner {
    background: #f6f6f6;
    font: 13px/18px Verdana,Arial,sans-serif;
    margin: 0;
    padding: 20px 90px 20px 30px;
    position: relative;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.subscribe20 .stamp {
    background: url("image/stamp.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 64px;
    position: absolute;
    right: 0;
    top: 12px;
    width: 88px;
}
.subscribe20 h3 {
    margin-top: 0;
    color: #283537;
    font: bold 20px/24px "Roboto Condensed",Arial,sans-serif;
    text-transform: uppercase;
}
.subscribe20 #asd_subscribe_form {
    display: inline-block;
    margin: 0;
    position: relative;
}
.subscribe20 p {margin: 0 0 10px;}
.subscribe20 .submit_group{position: relative;}
.subscribe20 input[name="asd_email"] {
    box-shadow: 0 0 5px 0 #bbbbbb inset, 0 1px 0 0 #ffffff;
    font: normal 18px/31px "Roboto Condensed",Arial;
    width: 385px;
    background: linear-gradient(to bottom, #ffffff 0px, #e7e7e7 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid #ababab;
    border-radius: 5px;
    color: #283537;
    margin: 0;
    padding: 4px 6px;
    position: relative;
    text-decoration: none;
    outline: 0 none;
}
.subscribe20 input[name="asd_submit"] {
    margin-top: -14px;
    padding: 4px 10px;
    position: absolute;
    right: 7px;
    top: 55%;
    border: 0 none;
    color: #ffffff;
    font: normal 16px/18px "Roboto Condensed",sans-serif;
    text-shadow: none;
    text-transform: uppercase;
    cursor: pointer;
    background: #F64214;
    background: -moz-linear-gradient(top,#f64214 0,#cb3914 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#F64214),color-stop(100%,#CB3914));
    background: -webkit-linear-gradient(top,#F64214 0,#CB3914 100%);
    background: -o-linear-gradient(top,#f64214 0,#cb3914 100%);
    background: -ms-linear-gradient(top,#f64214 0,#cb3914 100%);
    background: linear-gradient(to bottom,#F64214 0,#CB3914 100%);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-box-sizing:  border-box;
    -moz-box-sizing:  border-box;
    box-sizing:  border-box;
}
.subscribe20 input[name="asd_submit"]:hover{
    background: #CB3914;
    background: -moz-linear-gradient(top,#cb3914 0,#f64214 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#CB3914),color-stop(100%,#F64214));
    background: -webkit-linear-gradient(top,#CB3914 0,#F64214 100%);
    background: -o-linear-gradient(top,#cb3914 0,#f64214 100%);
    background: -ms-linear-gradient(top,#cb3914 0,#f64214 100%);
    background: linear-gradient(to bottom,#CB3914 0,#F64214 100%);
}
.subscribe20 input[name="asd_submit"]:active{background: #cb3914;}


.popmechanic-reset,
.popmechanic-reset * {
    line-height: normal;
    box-sizing: border-box;
}

#popmechanic-form {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 6px 0 #333;
    vertical-align: middle;
    width: 460px;
    margin: 0 80px 20px;
    background: white;
    font-size: 14px;
    z-index: 10000000;
}
.popmechanic-main {
    padding: 30px 30px 50px;
    text-align: center;
}

#popmechanic-form input {
    display: block;
    width: 300px;
    height: 50px;
    line-height: 48px;
    padding-left: 15px;
    font-size: 16px;
    border-radius: 3px;
    border: 1px solid #d1d1d1;
    margin: 20px auto;
    text-align: center;
}

#popmechanic-form button {
    display: inline-block;
    padding: 0 20px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    box-shadow:  0 0 5px 0 rgba(0,0,0,0.3);
    border-radius: 5px;
    font-weight: bold;
    background: #1eb2df;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
    transition: 50ms all;
}
#popmechanic-form button:hover {
    background: #17a7d2;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);
}

.popmechanic-header {
    font-size: 36px;
    font-weight: bold;
    font-family: 'Lobster', cursive;
}
.popmechanic-text {
    font-size: 18px;
}
.popmechanic-thankyou {
    padding: 97px 50px;
    text-align: center;
}
.popmechanic-thankyou .popmechanic-text {
    font-size: 28px;
}

.popmechanic-close {
    display: block;
    position: absolute;
    top: 0;
    right: -12px;
    text-decoration: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 36px;
    color: white;
}

/* common logic */
.popmechanic-thankyou,
.popmechanic-success .popmechanic-main {
    display: none;
}
.popmechanic-success .popmechanic-thankyou {
    display: block;
}

#popmechanic-form input.popmechanic-invalid {
    border-color: #e84e4e;
}


#popmechanic-ribbon {
    padding: 12px 20px;
    position: relative;
    color: #ffffff;
    text-align: center;
    margin-top: 0;
    margin-left: -20px;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3),
                inset 0 0 20px rgba(0,0,0,0.1),
                0 1px 1px rgba(0,0,0,0.4);
    background: #1eb2df;
    display: inline-block;
    width: 100%;
    box-sizing: content-box;
}

#popmechanic-ribbon:before, #popmechanic-ribbon:after {
    content: "";
    width:.2em;
    bottom:-.5em;
    position:absolute;
    display:block;
    border: .9em solid #1eb2df;
    box-shadow:0px 1px 0px rgba(0,0,0,0.4);
    z-index:-2;
}

#popmechanic-ribbon:before {
    left:-40px;
    border-right-width: 24px;
    border-left-color:transparent;
}

#popmechanic-ribbon:after {
    right:-40px;
    border-left-width: 24px;
    border-right-color:transparent;
}

#popmechanic-content:before, #popmechanic-content:after {
    content:"";
    bottom:-18px;
    position:absolute;
    display:block;
    border-style: solid;
    border-color: #0f5970 transparent transparent transparent;
    z-index:-1;
}

#popmechanic-content:before {
    left: 0;
    border-width: .5em 0 0 .5em;
}

#popmechanic-content:after {
    right: 0;
    border-width: .5em .5em 0 0;
}

.popmechanic-mobile #popmechanic-form {
    width: 280px;
}
.popmechanic-mobile #popmechanic-form .popmechanic-header {
    font-size: 24px;
}
.popmechanic-mobile #popmechanic-form .popmechanic-text {
    font-size: 18px;
}
.popmechanic-mobile #popmechanic-form input {
    width: 100%;
}
.popmechanic-mobile #popmechanic-ribbon {
    margin-left: -12px;
    width: 264px;
}
.popmechanic-mobile #popmechanic-ribbon:before,
.popmechanic-mobile #popmechanic-ribbon:after {
    bottom: -12px;
}
.popmechanic-mobile #popmechanic-ribbon:before {
    left: -35px;
}
.popmechanic-mobile #popmechanic-ribbon:after {
    right: -35px;
}
.popmechanic-mobile #popmechanic-content:before,
.popmechanic-mobile #popmechanic-content:after {
    bottom: -12px;
}
.popmechanic-mobile .popmechanic-close {
    font-size: 26px;
}

#zatemnenie {
        background: rgba(102, 102, 102, 0.5);
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        display: none;
      }
      #okno {

display: inline-block;

font-family: Arial, sans-serif;

box-shadow: 0 0 6px 0 #333;

vertical-align: middle;

width: 460px;

position: absolute;
        top: 10%;
        right: 0;
       
        left: 0;
        margin: auto;

background: white;

font-size: 14px;

z-index: 10000000;
      }
      #zatemnenie:target {display: block;}
      .close {
        display: inline-block;
        border: 1px solid #0000cc;
        color: #0000cc;
        padding: 0 12px;
        margin: 10px;
        text-decoration: none;
        background: #f2f2f2;
        font-size: 14pt;
        cursor:pointer;
      }
      .close:hover {background: #e6e6ff;}
