/*   
Theme Name: Наши Новости
Version: 0.2
*/
/* -------------- NEWS Start -------------- */
#rightpole {
    //background: rgba(247, 247, 247, 0.9) none repeat scroll 0 0;
    //border-radius: 5px;
    float: right;
    padding: 5px;
    width: 220px
}
#rightpole img {
    border: 2px solid rgba(245, 245, 245, 0.8);
    border-radius: 5px;
    padding: 1px
}
#rightpole .news_div img {
    max-width: 200px
}
#newsopenclose {
    position: fixed;
    right: 0;
    top: 9%;
    z-index: 0;
}
.sub-on {
    background-color: rgba(247, 247, 247, 0.9);
    margin-bottom: 20px;
    border-radius: 5px;
}
#subscribe button {
    background: rgba(250, 57, 57, 0.9) none repeat scroll 0 0;
    border: 1px solid #ff0;
    color: #fff;
    border-radius: 3px
}

#subscribe button:hover {
    background: rgba(30, 180, 30, 0.9) none repeat scroll 0 0;
    border: 1px solid #ff0;
    color: #fff
}

#subscribe > input {
    background: rgba(50, 30, 30, 1) none repeat scroll 0 0;
    border: 1px solid #ff0;
    color: #ff0;
    border-radius: 3px
}

.sub-on form {
    padding-bottom: 5px
}
.news_div {
    transition: 0.5s;
    text-align: left;
    width: 300px;
    margin-bottom: 15px;
    -webkit-box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.4);
}
.news_div:hover {
    -webkit-box-shadow: 0 0 12px 1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 0 12px 1px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 12px 1px rgba(0, 0, 0, 0.4);
    
}
.news_div .project {
    position: absolute;
    left: -1.2em;
    top: 0;
    background:#960303;
    writing-mode: sideways-lr;
    -webkit-writing-mode: vertical-lr;
    -moz-writing-mode: sideways-lr;
    -ms-writing-mode: vertical-lr;
    height: 100%;
    width: 1.3em;
    color:#fff;
    text-align: center;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding-right: 0.1em;
}
.news_div .project:hover {
    background:#db0403;
    color:#fff;
}
.our_news .news_div:nth-child(odd) {
    background-color: rgba(232, 232, 232, 0.9);
}
.our_news .news_div:nth-child(even) {
    background-color: rgba(247, 247, 247, 0.9);
}
.news_zag {
    padding: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #252a2f;
    line-height: 1.5em;
}
.news_zag > a:link {
    font-size: 1.1em;
	text-decoration: none;
	font-family: Roboto Condensed, sans-serif;
	line-height: 1em;
}
.news_zag > a {
    color: #252a2f;
}
.news_zag > a:hover {
    color: #960303;
}
.news_block {
    position: relative;
    padding-bottom: 5px;
}
.i_news > .news_div {
    box-shadow: 0px 0px 4px 1px #dd0504;
}
.i_news > .news_div:hover {
    box-shadow: 0px 0px 12px 1px #dd0504;
}
.news_block_1 {
    order: 1;
    height: 50px;
    -webkit-transition: opacity 0.4s ease-in-out;
    -moz-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
    display: table-row;
}
.news_img {
    display: table-cell;
    order: 1;
    height: 50px;
    width: 50px;
    border-radius: 2px;
    font-size: 0.7em;
    line-height: 1em;
}
.news_img img{
    max-width: 50px;
    height: 50px;
    overflow-y: hidden;
    object-fit: cover;
}
.news_mini_content {
    display: table-cell;
    order: 2;
    height: 50px;
    width: 100%;
    overflow-y: hidden;
    vertical-align: top;
}
.news_mini_content h4{
    margin-top: 2px;
    font-size: 14px;
}
.news_mini_content a{
    overflow: hidden !important;
}
.news_block_2{
    order: 2;
    clear: both;
    width: 220px;
    font-size: 1em;
    height: 0.5em;
    font-size: 0.85em;
}
.news_data {
    float: left;
    width: 110px;
    color: #505050;
    border-color: #d93939;
    position: absolute;
    bottom: 0;
    padding-left: 0.3em;
    font-style: italic;
}
.news_social {
    background-color: #dd0504 ;
    float: right;
    color: white;
    cursor: pointer;
    padding: 0.5em;
    position: absolute;
    right: 0.5em;
    bottom: -0.8em;
    text-transform: uppercase;
}
.news_social:hover {
    background-color:#960303;
    transition: all 0.3s ease-out;
}
.news_social a, .news_social a:hover{
    color: white;
}
.news_content .news_div:nth-child(odd) > div > div > .news_share {
    background-color: rgba(232, 232, 232, 0.9);
}
.news_content .news_div:nth-child(even) > div > div > .news_share {
    background-color: rgba(247, 247, 247, 0.9);
}
.i_news > .news_block {
    box-shadow: 0px 0px 4px 1px #dd0504;
}
.i_news > .news_block:hover {
    box-shadow: 0px 0px 12px 1px #dd0504;
}
/* -------------- NEWS END -------------- */