/*
Theme Name: new Stengazeta
Theme URI: www.stengazeta.net
Description:
Author: ss.lobov@gmail.com
Author URI: lobov.pro
Template:
Version: 1.0
*/

/**
*   дополнительные стили для главной страницы
*/
.avtor_menu_title .avtor_menu_foto .round_small {
    display:block;
    width:55px;
    height:55px;
    background-position: center;
    background-size: contain;
}
#avtor_right_box {
    overflow: auto;
    height: calc(100% - 60px) !important;
}

.footer_line A, #more A {
    color: white;
}

.avtor_data_big, .avtor_data {
    text-transform: uppercase;
}
H2 {
    text-transform: lowercase;
}
.news_small A, .news_big A, #more A {
    text-decoration: none;
}
A {
    color: black;
}
#copyright {
    position:relative;
    padding-left:50px;
    padding-top: 50px;
    font-family: FuturaFuturisC, PragmaticaCyrillic, Helvetica, Tahoma, Arial Narrow,  Verdana;
    font-size:13px;
    line-height:20px;
    clear: both;
}
#top_box {
    z-index: 100500;
}
.news_big p, .news_small p {
    font-family: Helvetica, Arial;
    font-size:14px;
    line-height:20px;
    padding-right:40px;
    padding-bottom:60px;
}

/**
* дополнительные стили для страницы публикации
*/
#page_title {
    text-transform: lowercase;
    font-family: stengazeta;
}
#page_title A {
    text-transform: uppercase;
}
#page_title P {
    text-transform: none;
}
.wp-post-image {
    display: block;
    margin: 0 auto;
}

#main_photo_wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-bottom: 60px;
}
#main_photo_wrapper::before {
	content: "";
	display: block;
	padding-top: 60%; /* С помощью этого padding мы задаем высоту равную ширине блока */
}
.main_photo {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
}
.main_photo.active {
    display: block;
}
.fotogal_text {
    background: #fff;
    position: absolute;
    bottom: 0px;
    left: 0;
    padding: 8px 0 8px;
    width: 100%;
}
#main_img_nav {
    position: absolute;
    bottom: -30px;
}
#main_img_nav img {
    cursor: pointer;
}
#main_img_nav img.disabled {
    opacity: 0.4;
    filter: alpha(Opacity=40);
}
#main_img_left {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.next_page_title {
    margin-top: 24px;
    font-size: 18px;
    line-height: 24px;
    max-height: 72px;
    min-height: 72px;
    height: 72px;
    overflow: hidden;
    font-family: stengazeta;
    position: relative;
}
.next_page_title A {
    text-transform: lowercase;
    text-decoration: none;
}
.next_page_title A:hover {
    text-decoration: underline;
}
.next_page_title::after {
    content: ''; /* Выводим элемент */
    position: absolute; /* Абсолютное позиционирование */
    left: 0; bottom: 0; /* Положение элемента */
    width: 100%; /* Ширина градиента*/
    height: 30px; /* Высота родителя */
    /* Градиент */
    background: -moz-linear-gradient(top, rgba(247,247,247, 0.1), #f7f7f7 100%);
    background: -webkit-linear-gradient(top, rgba(247,247,247, 0.1), #f7f7f7 100%);
    background: -o-linear-gradient(top, rgba(247,247,247, 0.1), #f7f7f7 100%);
    background: -ms-linear-gradient(top, rgba(247,247,247, 0.1), #f7f7f7 100%);
    background: linear-gradient(to bottom, rgba(2247,2247,247, 0.1), #f7f7f7 100%);
}
#page_title {
    margin-bottom: 40px;
}
#sub_menu {
    top: 80px;
}

P.note, CODE { 
	text-align:left; 
	padding: 0px 5px 0px 10px; 
	margin: 0px 5px 0px 0px; 
	float:right; 
	width: 160px; 
	font-size: 11px;  
}


/**
* дополнительные стили для страницы авторы
*/
#avtor_spisok_page {
    overflow: auto;
    height: 100% !important;
    min-height: 400px;
}
#avtor_spisok_page A {
    text-transform: uppercase;
}



/**
*   блок авторы по разному сверстан на разных страницах
*   привожу к единому виду
*/

.avtor_menu_title {
font-family: FuturaFuturisC, PragmaticaCyrillic, Helvetica, Tahoma, Arial Narrow,  Verdana;
font-size:12px;
line-height:18px;
color:#000000;
border-bottom:1px solid #595959;
padding-bottom:10px;
padding-top:10px;
height:65px;
}

.avtor_menu_foto {
position:relative;
width:55px;
height:55px;
float:left;
border:0px solid #000000;
}

.avtor_menu_text {
position:relative;
width:140px;
height:35px;
padding-top:20px;
padding-left:15px;
float:left;
border:0px solid #000000;
}

/**
* стили для блокируемой кнопки "more"
*/
#more.disabled, #moresearch.disabled {
    color: #777;
    border-color: #777;
}
#more.disabled A, #moresearch.disabled A {
    color: #777;
    cursor: wait;
}

#moresearch {
    position: relative;
    border: 3px solid #000;
    width: 200px;
    height: 40px;
    border-radius: 30px;
    color: #000;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    padding-top: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 50px;
    float: none;
    font-family: FuturaFuturisC, PragmaticaCyrillic, Helvetica, Tahoma, Arial Narrow, Verdana;
}
#moresearch A {
    text-decoration: none;
}
#page_in_avtor {
    margin-bottom: 50px;
}

/**
* стили для динамического меню
*/
UL.menu {
    display: block;
    margin: 4px 0 0;
    padding: 0;
}
UL.menu LI {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
UL.menu LI A {
    text-decoration: none;
}
UL.sub-menu {
    font-size: 11px;
    line-height: 20px;
    text-transform: lowercase;
    display: none;
}
LI.current-menu-item UL.sub-menu, LI.current-menu-parent UL.sub-menu {
    display: block;
}
DIV#menu_page_box {
    background: #f7f7f7;
    padding: 10px;
    max-height: 75vh;
    overflow-y: auto;
}
