/*
Theme Name: Corridor
Theme URI: https://yagoda-spb.ru/
Description: Corridor
Author: YaGoda
Version: 1.0
Text Domain: Corridor
*/

/* Before...
-------------------------------------------------------------- */

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

/* Main part...
-------------------------------------------------------------- */

* {
margin: 0;
padding: 0;
border-collapse: collapse;
}

html {
height: 100%;
}

div {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
overflow: hidden;
border: 0;
}

body {
background-color: #edd3a7;
color: #000000;
font-family: Arial;
font-size: 14px;
width: 100%;
height: 100%;
min-width: 980px;
min-height: 100%;
line-height: 1;
position: relative;
letter-spacing: 1;
}
a { outline: none !important; }
input { outline: none !important; }
textarea { outline: none !important; }

/* Blocks...
-------------------------------------------------------------- */

div#container-1 {
position: relative;
width: 100%;
min-width: 980px;
min-height: 100%;
background-image: url(images/bg.jpg);
background-attachment: fixed;
background-position: 50% 50%;
background-repeat: repeat;
background-size: cover;
}
div#container-1 div#ct-main {
position: relative;
width: 100%;
min-width: 980px;
padding-bottom: 189px;
}
div#container-1 div#ct-main div.bg-top {
position: absolute;
left: 0px; top: 0px;
width: 100%;
min-width: 980px;
height: 140px;
background: url(images/bg1.png) no-repeat 0% 0%, url(images/bg2.png) no-repeat 100% 0%, #edd3a7 repeat;
opacity: 0.8;
}
div#container-1 div#ct-footer {
position: absolute;
left: 0px; bottom: 18px;
width: 100%;
height: 30px;
background: url(images/bg-f.png);
color: #ffffff;
font-size: 13px;
line-height: 30px;
}
div#container-1 div#ct-ads {
position: absolute;
left: 0px; bottom: 68px;
width: 100%;
}
div#container-1 div#ct-main div#top-part {
position: relative;
width: 980px;
height: 158px;
margin: 0 auto;
}
div#container-1 div#ct-main div#content-part {
position: relative;
width: 980px;
margin: 0 auto;
}

/* Header...
-------------------------------------------------------------- */

div#top-part a#mp {
position: absolute;
right: 20px; top: 0px;
display: block;
width: 261px;
height: 155px;
background: url(images/logo.png) no-repeat;
}

/* Footer...
-------------------------------------------------------------- */

div#ct-footer div#footer-text {
position: relative;
width: 980px;
height: 30px;
margin: 0 auto;
padding: 0 20px;
}
div#ct-footer div#footer-text div.footer-text1 {
height: 30px;
float: left;
margin-right: 24px;
}
div#ct-footer div#footer-text div.footer-text2 {
height: 30px;
float: left;
margin-right: 24px;
}
div#ct-footer div#footer-text div.footer-text3 {
height: 21px;
position: absolute;
top: 5px; right: 12px;
}
div.footer-text3 a {
width: 21px;
height: 21px;
display: block;
float: left;
margin-right: 8px;
}
div.footer-text3 a#footer-fb { background: url(images/social_fb.png); }
div.footer-text3 a#footer-vk { background: url(images/social_vk.png); }
div.footer-text3 a#footer-in { background: url(images/social_in.png); }
div.footer-text3 a#footer-yt { background: url(images/social_yt.png); }

/* Upper menu...
-------------------------------------------------------------- */

div#upper-menu {
width: 100%;
overflow: show !important;
position: absolute;
left: 0; top: 96px;
font-family: Impact;
}
div#upper-menu-items {
width: 980px;
margin: 0 auto;
overflow: show !important;
position: relative;
padding: 0 20px;
}
div#upper-menu-items ul {
position: relative;
list-style: none;
height: 240px;
}
div#upper-menu-items ul li {
float: left;
padding-left: 6px;
padding-right: 6px;
z-index: 10;
position: relative;
overflow: show;
}
div#upper-menu-items ul li a {
text-decoration: none;
text-transform: uppercase;
color: #000000;
}
div#upper-menu-items ul li a:hover {
color: #ffffff;
}
div#upper-menu-items ul li ul.sub-menu {
display: none;
position: absolute;
padding-top: 0px;
}
div#upper-menu-items ul li:hover ul.sub-menu {
display: block;
padding-top: 24px;
}
div#upper-menu-items ul li.current-menu-item a {
color: #8b0000;
}
div#upper-menu-items ul li.current-menu-item a:hover {
color: #ffffff;
}
div#upper-menu-items ul li.current-menu-item ul.sub-menu a {
color: #000000 !important;
}
div#upper-menu-items ul li.current-menu-item ul.sub-menu a:hover {
color: #ffffff !important;
}
div#upper-menu-items ul li ul.sub-menu li {
background: url(images/bg-m.png);
float: none !important;
padding-top: 8px;
padding-bottom: 8px;
}
div#upper-menu-items ul li ul.sub-menu li a {
text-transform: none !important;
white-space: nowrap !important;
}

/* Content...
-------------------------------------------------------------- */

div#content-part {
padding: 0 20px;
line-height: 1.3;
}
div#content2-part {
padding: 0 20px;
line-height: 1.3;
position: relative;
width: 980px;
margin: 0 auto;
border-color: #a6a6a6;
border-style: solid;
border-width: 0 0 1px 0;
}
div#content2-part div.partners {
width: 100%;
background: url(images/bg-f.png);
padding: 16px;
margin: 20px 0 12px 0;
}
div#content2-part div.partners ul {
position: relative;
float: left;
left: 50%;
}
div#content2-part div.partners ul li {
position: relative;
float: left;
height: 60px;
left: -50%;
margin-right: 32px;
}
div#content2-part div.partners ul li.last  {
margin-right: 0px !important;
}
div#content2-part div.partners ul li a img {
max-height: 58px;
width: auto;
}
div#content2-part div.partners ul li table {
height: 60px;
}
div#content2-part div.partners ul li table td {
height: 60px;
vertical-align: middle;
}
div#content-part p {
text-align: justify;
margin-bottom: 16px;
}
div#content-part h1 {
text-align: left;
margin-bottom: 16px;
margin-top: 12px;
font-family: Impact;
font-size: 22px;
}
div#content-part span.title-span {
display: block;
text-transform: uppercase;
text-align: center;
margin-bottom: 16px;
background: url(images/bg-w.png);
font-size: 16px;
padding: 12px;
}
div#content-part a {
color: #000000;
text-decoration: underline;
}
div#content-part a:hover {
color: #8b0000;
text-decoration: none;
}
div#content-part ul {
margin-bottom: 16px;
list-style: disc;
margin-left: 18px;
}
p.bigtext {
font-size: 16px;
}
p.smalltext {
font-size: 13px;
}
div.clearstyle {
clear: both;
height: 0px;
}

div.info1 {
min-height: 132px;
position: relative;
margin-bottom: 24px;
padding-bottom: 12px;
border-color: #a6a6a6;
border-style: dashed;
border-width: 0 0 1px 0;
padding-left: 140px;
}
div.info1 img {
width: 120px;
height: 120px;
position: absolute;
top: 0; left: 0;
}
div.info1 a.info1-title {
color: #636363 !important;
text-decoration: none !important;
font-family: Impact;
font-size: 20px;
}
div.info1 a.info1-title:hover {
color: #8b0000 !important;
}

div#content-part span.title-span2 {
display: block;
text-align: center;
margin-bottom: 16px;
background: url(images/bg-w.png);
font-size: 16px;
padding: 12px;
}
div#content-part span.title-span3 {
display: block;
text-align: center;
margin-bottom: 16px;
background: url(images/bg.png);
font-size: 16px;
padding: 12px;
font-weight: bold;
color: #8b0000;
}
div#content-part span.title-span5 {
display: block;
text-align: center;
margin-bottom: 16px;
background: url(images/bg.png);
padding: 12px;
}
div#content-part span.title-span5 a.oferta-mp {
display: inline-block;
margin: 0 auto;
font-family: Impact;
font-size: 20px;
text-decoration: none !important;
background: url(images/icon_pdf.png) 0% 50% no-repeat;
height: 44px;
line-height: 44px;
width: auto !important;
padding-left: 44px;
}

div#content-part div.wb {
background: url(images/bg-w.png);
padding: 18px 32px;
margin-bottom: 16px;
}

div.info2 {
min-height: 185px;
position: relative;
margin-bottom: 24px;
padding-bottom: 12px;
border-color: #a6a6a6;
border-style: dashed;
border-width: 0 0 1px 0;
padding-left: 193px;
}
div.info2 img {
width: 173px;
height: 173px;
position: absolute;
top: 0; left: 0;
}
div.info2 a.info1-title {
color: #636363 !important;
text-decoration: none !important;
font-family: Impact;
font-size: 20px;
}
div.info2 a.info1-title:hover {
color: #8b0000 !important;
}
div.info2 span.desc {
display: block;
color: #636363;
font-size: 16px;
margin-bottom: 12px;
}
div.info2 a.more {
position: absolute;
right: 0px;
bottom: 16px;
font-family: Impact;
text-decoration: none !important;
}

div.videobox {
width: 100%;
background: url(images/bg-f.png);
padding: 24px;
margin: 20px 0 32px 0;
}
div.videobox-inner {
width: 876px;
height: 387px;
background: url(images/border2.png);
margin: 0 auto;
padding: 9px;
}
div.videobox-inner2 {
width: 858px;
height: 369px;
background: #000000;
}
div.ngg-navigation a:hover {
background: #8b0000 !important;
}
.alignleft {
float: left;
margin: 4px 24px 12px 0;
text-align: center;
}
.alignright {
float: right;
margin: 4px 0 12px 24px;
text-align: center;
}
.aligncenter {
margin: 4px auto 12px auto;
text-align: center;
}

/* Blog...
-------------------------------------------------------------- */

div.newsbox {
width: 100%;
background: url(images/bg-f.png);
padding: 24px;
margin: 20px 0 32px 0;
}
div.newsbox div.newsbox-inner {
width: 940px;
}
div.news1 {
float: left;
width: 287px;
margin-right: 16px;
}
div.news1 a.news1-img {
display: block;
width: 287px;
height: 161px;
background: url(images/border1.png);
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
overflow: hidden;
padding: 9px;
}
div.foto-block a.news1-img { height: 264px !important; background: url(images/border3.png) !important; margin-top: 6px; }
div.foto-block a.news1-img div.news1-img-2 { height: 246px !important; }
div.foto-block a.news1-img div.news1-img-2 img { height: 246px !important; }
div.news1 a.news1-img div.news1-img-2 {
background: #000000;
width: 269px;
height: 143px;
}
div.news1 a.news1-img div.news1-img-2 img {
width: 269px;
height: 143px;
}
div.news1 a.news1-link {
text-decoration: none !important;
font-family: Impact;
font-size: 20px;
color: #636363 !important;
}
div.news1 a.news1-link:hover {
color: #8b0000 !important;
}
div.news1 p.news1-date {
color: #636363;
font-size: 16px;
padding-top: 6px;
}
div.page-gallery-block {
background: none !important;
}
div.page-gallery-block a.news1-img {
margin-bottom: 6px;
}

div.ct1 {
min-height: 173px;
position: relative;
margin-bottom: 24px;
padding-bottom: 12px;
border-color: #a6a6a6;
border-style: dashed;
border-width: 0 0 1px 0;
padding-left: 307px;
}
div.ct1 a.news1-img {
display: block;
width: 287px;
height: 161px;
background: url(images/border1.png);
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
overflow: hidden;
padding: 9px;
position: absolute;
top: 0; left: 0;
}
div.ct1 a.news1-img div.news1-img-2 {
background: #000000;
width: 269px;
height: 143px;
}
div.ct1 a.news1-img div.news1-img-2 img {
width: 269px;
height: 143px;
}
div.ct1 a.info1-title {
color: #636363 !important;
text-decoration: none !important;
font-family: Impact;
font-size: 20px;
}
div.ct1 a.info1-title:hover {
color: #8b0000 !important;
}
div.ct1 span.desc {
display: block;
color: #636363;
font-size: 16px;
margin-bottom: 12px;
}
div.ct1 a.more {
position: absolute;
right: 0px;
bottom: 16px;
font-family: Impact;
text-decoration: none !important;
}
div.nav-page {
text-align: center;
}

table.donation {
width: 100%;
margin: 44px 0;
}
table.donation td {
padding: 12px;
text-align: center;
vertical-align: middle;
}
table.donation td p {
text-align: center !important;
}
table.donation td.td1 {
white-space: nowrap;
font-family: Impact;
background: #eb4a3e;
font-size: 16px;
border-color: #b07f4b;
border-style: solid;
border-width: 0 1px 0 0;
}
table.donation td.td2 {
background: url(images/bg-w.png);
border-color: #a6a6a6;
border-style: solid;
border-width: 0 1px 0 0;
}
table.donation td.td3 {
background: url(images/bg-w.png);
border-color: #a6a6a6;
border-style: solid;
border-width: 0 1px 0 0;
}
table.donation td.td4 {
background: url(images/bg-w.png);
}
table.donation td.td-i {
font-weight: bold;
white-space: nowrap;
background: url(images/bg.png);
border-color: #b07f4b;
border-style: solid;
border-width: 0 1px 0 0;
}
table.donation td.td-i-last {
border-width: 0 !important;
}
table.donation tr.sptr1 td {
padding: 0 !important;
font-size: 16px;
}
table.donation tr.sptr2 td {
padding: 0 !important;
font-size: 36px;
}
table.donation0 {
width: 100%;
margin-top: 32px;
}
table.donation0 td {
width: 14%;
text-align: center;
}
table.donation0 td a {
text-decoration: none !important;
font-family: Impact;
background: #eb4a3e;
display: block;
text-align: center;
width: 130px;
padding: 8px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
overflow: hidden;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}

#back-top {
position: fixed;
bottom: 66px;
right: 0px;
z-index: 100;
}
#back-top a {
    width: 54px;
    display: block;
    text-align: center;
    font: 11px Arial;
    text-transform: uppercase;
    text-decoration: none;
    color: #bbb;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover {
    color: #1b3a4e;
}
#back-top span {
    width: 54px;
    height: 54px;
    display: block;
    margin-bottom: 7px;
    background: #ecd2a6 url(images/arrow1.png) no-repeat center center;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
-moz-border-radius: 27px;
-webkit-border-radius: 27px;
border-radius: 27px;
}
#back-top a:hover span {
    background: #c7a174 url(images/arrow2.png) no-repeat center center;
}

button.pb1 {
background: #eb4a3e;
border: 0 !important;
outline: 0 !important;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
padding: 12px 18px;
font-size: 22px;
text-transform: uppercase;
font-family: Impact;
color: #000000;
}
button.pb1:hover {
color: #8b0000;
}
button.pb2 {
background: #ecd2a6;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
padding: 8px;
border: 0 !important;
outline: 0 !important;
color: #000000;
}
button.pb2:hover {
color: #8b0000;
}
div.ya-block {
text-align: right;
}

div#ct-footer div#footer-text div.footer-text2 a.kontakty {
color: #ffffff;
text-decoration: underline;
padding-left: 20px;
}
div#ct-footer div#footer-text div.footer-text2 a.kontakty:hover {
color: #000000;
text-decoration: none;
}