html,body {
	margin: 0;
	padding: 0;
}
body {
  font-family: 'Open Sans', sans-serif;
	color: black;
	font-size: 16px;
	background-color: #F8F8F8;
}

h1 {
font-size: 28px;
text-align: left;
margin-top:0px;
color: #474747;
}

h2 {
font-size: 20px;
text-align: left;
color: #474747;
}

h3 {
font-size: 18px;
text-align: left;
color: #474747;
}

h4 {
margin:5px 0 5px 0;
font-size: 16px;
text-align: left;
color: #474747;
}

#page {
    margin: 10px auto 0 auto;
    padding: 0 1em;
    max-width: 80em;      /* для  1366 */
}

#menu{
  width: 100%;
  float: left;
  text-align: left;
  line-height: 38px;
  margin:10px 0 0px 0;
}
#menu-stick{
width: 100%;
background-color: #F8F8F8; 
display:none;
padding-top:10px;
line-height: 28px;
}
#menu-pushy-stick{
background-color: #F8F8F8; 
height:50px;
width: 100%;

}
.topmenu-stick{
font-size: 14px;
padding: 5px 7px 5px 7px;
background-color: #D7D7D7;
}

.topmenu-stick-dark{
font-size: 14px;
padding: 5px 7px 5px 7px;
background-color: #EEEEEE;
}


#pushy-logo-stick{
margin-top:-15px;
}
.fixed{
  position: fixed;
  top:0;
  /*left: 0;*/
  z-index:1000;
}

.fixed-right{
  position: fixed;
  top:0;
  right: 0;
  z-index:1000;
}

#social{
  width: 100%;
}

#mainWrapper{
  width: 100%;
  float: left;
  margin:-20px 0 0 0;
}

#main{
  margin-right: 330px;
  text-align: justify;

}
#ad{
  float: left;
  width: 300px;
  margin-left:-300px;
}

#adResp {
    margin: 20px 0 20px 0px;
    width: 100%;
    clear: both;
}
  
#footer_wrapper{
  width: 100%;

}
#footer{
      margin-left: auto;
    margin-right: auto;
  max-width: 1276px;
  text-align:center;
  font-size: 14px;
  /*clear: both;*/
  margin-top: 20px;
  padding: 10px 0 20px 0; 
	background-color: #D7D7D7;   
}
#footer_social{
  width: 100%;
  text-align:center;
  float: left;
  clear: both;
}
a {
	color: Black;
	text-decoration: underline;
}

a:hover {
	color: black;
	text-decoration: none;
}

.topmenuSocial {
  display:inline;
  font-size: 20px;
	padding-top: 10px;
	text-align:bottom;
}

a.topmenu {
  font-size: 17px;
	padding: 5px 15px 5px 15px;
	margin: 0px;
	white-space: nowrap;
	background-color: #D7D7D7;
}


a.topmenuDark {
  font-size: 17px;
	padding: 5px 15px 5px 15px;
	margin: 0px;
	white-space: nowrap;
	background-color: #EEEEEE;
}

a.topmenuFA {
  font-size: 1.1em;
	padding: 0px;
	margin-left: 5px;
	white-space: nowrap;
}

a.topmenuFA2 {
  font-size: 1.7em;
	padding: 0px;
	margin-left: 5px;
	white-space: nowrap;
}

img {
   max-width: 100%;
   height: auto;
   width: auto\9; /* ie8 */
   margin: 0 0 0 0;
}

.imgAdd {
  border: 1px solid #8F8F8F;
  padding: 0px;
  margin: 3px;
  height: 120px;
}


.imgAdd2 {
  border: 1px solid #8F8F8F;
  padding: 0px;
  margin: 3px;
}

.imgGallery {
  border: 1px solid #8F8F8F;
  padding: 0px;
  margin: 0;
}
.imgGalleryPhoto {
  border: 1px solid #8F8F8F;
  padding: 0px;
  margin: 0;
  cursor: pointer;
}
.imgLeft {
border:1px solid #8F8F8F;
padding:0px;
margin: 0 15px 15px 0;
}
.imgLeftPhoto {
border:1px solid #8F8F8F;
padding:0px;
margin: 0 15px 15px 0;
cursor: pointer;
}


.imgLeftBig {
border:1px solid #8F8F8F;
padding:0px;
margin: 0 0px 0px 0;
}
.byYears{margin: 0 0px 0px 0;}
.photos {
border:1px solid #8F8F8F;
padding:0px;
margin: 0 5px 5px 0;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video iframe,
.video object,
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.scrollup{
    width:40px;
    height:40px;
    opacity:0.3;
    position:fixed;
    z-index:1000;
    bottom:20px;
    right:10px;
    display:none;
    text-indent:-9999px;
    background: url('images/icon_top.png') no-repeat;
}

.fa-external-link:before {
  font-size:0.9em;
  margin-left: 5px;
}
a.dsq-widget-user {font-weight: normal !important;}
li.dsq-widget-item { list-style-type:disc !important; margin-left:-20px !important;}
.comment-count {display: block !important;}
.imgCenterDiv {font-size:12px; margin: 0 0 0 0;text-align:center;}
.imgCenter {border:1px solid #8F8F8F;padding:0px;}


.photo-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
}
.photo-lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.photo-lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    object-fit: contain;
}

/* Подпись прямо под картинкой */
.photo-caption {
    margin-top: 15px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    text-align: center;
    font-size: 16px;
    border-radius: 8px;
    max-width: 80%;
    word-wrap: break-word;
}


.photo-close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 30px;
    font-weight: 300;
    cursor: pointer;
    font-family: Arial, sans-serif;
}
.photo-close-btn:hover {
    color: #ccc;
}

.photo-container {
    font-family: system-ui, sans-serif;
    padding: 20px;
    text-align: center;
}


.ya-bounty {
  width: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 12px;
  padding: 12px 16px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  margin: 12px 0;
  border: 1px solid #ff9900;
  transition: transform 0.1s ease, background 0.2s ease;
}

.ya-bounty:hover {
  background: linear-gradient(135deg, #222240 0%, #1a1a3a 100%);
  transform: scale(1.01);
}

.ya-bounty-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 6px 8px;
  height: 36px;
  box-sizing: border-box;
}

.ya-bounty-logo svg {
  height: 22px;
  width: auto;
}

.ya-bounty-text {
  flex: 3;
}

.ya-bounty-badge {
  background: #ff9900;
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 5px;
  letter-spacing: -0.2px;
  text-transform: uppercase;
}

.ya-bounty-title {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin: 3px 0;
  line-height: 1.3;
}

.ya-bounty-title strong {
  color: #ff9900;
}

.ya-bounty-sub {
  color: #ffd580;
  font-size: 11px;
  font-weight: 500;
}

.ya-bounty-price {
  flex: 1;
  text-align: right;
}

.ya-bounty-price .free {
  color: #ff9900;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.ya-bounty-price .small {
  color: #aaa;
  font-size: 9px;
}

.ya-bounty-arrow {
  color: #ff9900;
  font-size: 22px;
  font-weight: bold;
  opacity: 0.8;
  flex-shrink: 0;
}
