html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, textarea { border: 0; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; margin: 0; outline: 0; padding: 0; vertical-align:top; font-family: Tahoma, Arial; line-height:1.4em; text-align:left;}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.page-wrapper {
    min-height: 100%;
    margin-bottom: -300px;
}
* html .page-wrapper {
    height: 100%;
}
.page-buffer {
    height: 300px;
}


a,p {vertical-align:baseline; }
table {border-collapse: collapse; border-spacing: 0; width:100%;}

p{font-size:14px; line-height:22px; padding:0 0 10px;}

b, strong {font-weight:bold;}
i, em {font-style:italic;}

h3 {font-size:33px; margin:20px 0 10px; color:#ff0000; font-family:Times;}
h4 {font-size:18px; font-weight:bold; font-style:italic; font-family:Georgia; margin:10px 0 5px;}
h5 {font-size:14px;  margin:10px 0 0px;}

h6 {font-size:18px; font-weight:bold; margin:20px 0 10px;}

.center {text-align:center;}
.right {text-align:right;}
.clear {clear: both; float: none; font-size: 0; height: 0; line-height: 0; }
.hide {display:none;}

h3 a {font-size:12px; color:#ccc;}

.content {max-width:1400px; margin:0 auto;}

.mainpage {}
.mainpage .top_right{text-align:right;}
.mainpage .top_right img{}
.igla{text-align:left; position:relative; margin:-75px 0 -300px 0px;  background: url(../img/igla.png) no-repeat 60px 0; width:100%; height:345px; max-width:1130px; display:inline-block;}

.main_bottom {background: url(../img/pic.png) no-repeat 12% center; min-width:680px; margin:-490px 0 0px; text-align:center; padding:0 100px 0 150px; position:relative;}

.main_bottom ul {margin:10px 10px 0 0;}
.main_bottom ul li {text-align:right; padding:10px 0 0;}

.prishivau {text-align:center;}
.prishivau>div {margin:-100px 0px 30px -120px; display:inline-block; text-align:right;}
.or {font-size:34px; color:#7c7c7c; padding:0 0 0 25px; text-align:left; vertical-align:baseline; font-family: 'Ubuntu';}
.or span {font-size:14px; color:#7c7c7c; padding:0 0 0 20px; vertical-align:baseline;}


.corner {width:66px; height:277px; display:inline-block; margin:0 0 -277px -66px;}

a {color:#7c7c7c; }
a:hover {color:#000;}

.portf {background: url(../img/portfolio.png) no-repeat right top; padding-bottom:50px;}
.portf .igla {margin-top:-120px;}
.portf .top_left{padding-bottom:30px;}


.gallery {background: url(../img/gallery.png) no-repeat right top; padding-bottom:50px;}
.gallery .igla {margin-top:-120px;}
.gallery .top_left{padding-bottom:30px;}


.services {background: url(../img/services.png) no-repeat right top; padding-bottom:50px;}
.services .igla {margin-top:-120px;}
.services .top_left{padding-bottom:30px;}


.contacts {background: url(../img/contacts.png) no-repeat right top; padding-bottom:50px;}
.contacts .igla {margin-top:-120px;}
.contacts .top_left{padding-bottom:30px;}



.gal_text {padding:0 30px 20px 0; font-size:14px; max-width:850px;}

.photoplitka {}
.photoplitka>div {width:250px; display:inline-block;}
.photoplitka>div>a {border:1px solid #dfdfdf; display:inline-block; box-shadow:0 1px 2px rgba(0, 0, 0, 0.3);}
.photoplitka>div>a:hover{border:1px solid #ff0000;}
.photoplitka>div>a img {border:10px solid #fff;}
.photoplitka>div p {padding:5px 0 20px; width:222px; max-height:50px; overflow:hidden; text-align:center; font-size:14px; color:#777;}



.portplitka {position:relative;}
.portplitka>div {width:250px; display:inline-block;}
.portplitka>div>a{border:1px solid #dfdfdf; display:inline-block; box-shadow:0 1px 2px rgba(0, 0, 0, 0.3);}
.portplitka>div>a:hover{border:1px solid #ff0000;}
.portplitka>div>a img {border:10px solid #fff;}
.portplitka>div p {padding:5px 0 20px; width:222px; max-height:50px; overflow:hidden; text-align:center; }
.photoplitka>div p a{font-size:14px; color:#777;}

.ispolniteli {position:relative; padding:0 10px;}
.ispolniteli>div {padding:0 0 0px 0px; white-space:nowrap;}
.ispolniteli>div.selected {}
.ispolniteli img{width:50px; border-radius:4px; margin-right:7px;}
.ispolniteli a{font-size:14px; display:block;padding:5px;}
.ispolniteli>div.selected a{background:#efefef; text-decoration:none;}
.ispolniteli a:hover{background:#f3f3f3;}

.right_block {}
.right_block h6 {padding:50px 0 10px 5px;}


.tabs {display:inline-block;  margin:5px 0px 10px -15px;}
.tabs li{display:inline-block; text-align:center; padding:5px 15px; cursor:pointer;}
.tabs li.current{background:#f1f1f1; border-radius:5px;}
.tabs li span {color:#ff0000; border-bottom:1px dotted #ff7777; font-size:14px;}
.tabs li.current span  {color:#333333; border-bottom:none;}




.buy_try {margin-top:5px;}
.buy, .try {text-decoration:none; background: url(../img/icons.png) no-repeat -7px -77px; padding:10px 0 10px 25px; font-size:14px; display:inline-block;}
.buy i, .try i {font-style:normal; text-decoration:underline;}
.try {background-position:-3px -123px; margin-left:30px; padding-left:64px;}


.osn {margin:-270px 0 0;}

.menu {width:190px;}
.menu ul {margin:120px 10px 170px 0;}
.menu li{padding:7px 30px 10px 10px; text-align:right; margin:3px 0 0;}
.menu li.selected {background:#e9e9e9; border-radius:0 4px 4px 0;}
.menu li.selected a{text-decoration:none;}

.text {background: url(../img/shadow.png) no-repeat 0px 0; padding:40px 40px 0 90px;}

.text a {color:#ff0000;}
.text a:hover{color:#000000;}

.caption {padding:0 0 10px 175px;}

.poetess {font-size:34px; color:#7c7c7c; padding:0 0 10px 235px; display:inline-block; text-align:right; vertical-align:baseline; font-family: 'Ubuntu';}
.poetess span {font-size:14px; color:#7c7c7c; padding:0 2px 0 20px; display:block; text-align:right; margin-top:-10px;}



.messagediv {margin-top:20px;}
.messagediv .name, .messagediv .email{width:400px; border:1px solid #e1e1e1; padding:8px; margin:10px 0;}
.messagediv .message  textarea{width:600px; border:1px solid #e1e1e1; padding:8px; margin:10px 0 20px; font-size:14px;}
.messagediv .controls {position:relative;}
.messagediv .controls input {padding:12px 35px;}
.messagediv .controls .loader  {vertical-align:middle; margin:0 3px 0 -19px;}

.message-error, .result-success, .loader  {display:none;}
.message-error, .result-success {font-size:14px; color:#fff; padding:10px 20px; background:#ff0000; width:576px; text-align:center; margin:-15px 0 5px;}
.result-success {background:#05c100;}

.stihi p {line-height:26px;}

.box {display: none;}
.box.visible{display: block;}

.stihi .box  {}
.stihi .box>div {display:inline-block;}
.stihi .share {}
.share  span{font-size:14px;}
.yashare-auto-init {display:inline-block;}

p.podpis em, p.podpis i{font-size:90%; display:block; margin-bottom:5px;}

iframe {margin-bottom:15px;}



.ornament {margin:-150px 0 0;}
.ornament td {vertical-align:bottom;}
.ornament .bot>div{background: url(../img/bot.jpg) no-repeat center bottom; height:216px; width:100%;}
.ornament .niz {width:200px;}
.ornament .niz>div {padding:0 15px 0 30px; margin:-0px 0 0;}
.red {height:20px; background:#ff0000;}


.ftr {font-size:12px;}
.ftr td{padding:5px 5px 7px;}
.ftr  .copy1 {color:#999;}


.Synapse {}
.Synapse p{font-size:12px; text-align:right;}
.Synapse p span{color:#ff0000; vertical-align:baseline;}
.Synapse p a:hover{color:#0070c0;}