﻿/*
 Theme Name:   Sergio Online
 Theme URI:    http://p0vidl0.info
 Description:  Sergio-Online.ru Theme
 Author:       p0vidl0
 Author URI:   http://p0vidl0.info
 Template:     adaptive-flat
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  adaptive-flat
*/

@import url('../adaptive-flat/style.css');

article.post-prev {
    display:inline-block;   
    position:relative;
    //overflow: hidden;
}

article.post-prev a {
    max-height: 216px;
    max-width: 350px;
    height: 216px;
    width: 350px;
    overflow: hidden;
    display: inline-block;  
    position:relative;
    border-radius: 10px;
    transition: 1s;
    box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75);
}

article.post-prev a:hover {
    box-shadow: none;
}

article.post-prev a.prev-title {
    display:inline-block;
    position:absolute;
    top:158px;   
    left:0px;
     
    /* Фон */
    background-color:rgba(0,0,0,.4);
    padding:10px 30px;
    transition: 1s;
    min-width: 290px;
    padding:0 auto;    
    border-top-right-radius: 0;
    border-top-left-radius: 0;    
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: none;
    width: auto !important;
    height: auto;
}
article.post-prev:hover a.prev-title h2 {
    color: #f37934;
}
article.post-prev:hover a.prev-title {
    background-color:rgba(0,0,0,.7);
}

article.post-prev h2.prev-title {
    font-size:18px;
    min-height:48px;
    max-height:48px;
    color: white;
    transition: 1s;
}

article.post-prev span.prev-post-category {
    list-style:none;
    display:inline-block;
    position:absolute;
    top:20px;   
    left:10px;
    background-color:rgba(0,0,0,.4);
    min-width: 35px;
    padding: 0 10px;
    font-weight: 400;
    transition: 1s;
    border-radius: 10px;
    text-align:center;
    width: auto !important;
    height: auto;
    box-shadow: none;
}

article.post-prev span.prev-post-category:hover {
    background-color:rgba(0,0,0,.7);    
    box-shadow: 2px 2px 2px 2px rgba(50, 50, 50, 0.75);
}

article.post-prev span.prev-post-category a  {
    color: white;
    font-size: 14px;
    border-radius:0;
    width: auto !important;
    height: auto;
    box-shadow: none;
}

article.post-prev span.prev-post-category:hover a  {
    color: #f37934;
}

article.post-prev span.prev-post-date {
    display:inline-block;
    position:absolute;
    top:20px;   
    right:10px;
    background-color:rgba(0,0,0,.4);
    min-width: 35px;
    padding: 0 10px;
    font-weight: 400;
    border-radius: 10px;
    text-align:center;
    color:white;
    font-size:14px;
}

article.post-prev span.prev-post-date:hover {
    box-shadow: 2px 2px 2px 2px rgba(50, 50, 50, 0.75);
}

li.cat-item { 
    list-style-type:none;
    display:inline-block; 
    width:45%;
}
li.cat-item:nth-child(odd) {
    margin-right:5px;
}

div.widget ul li {
    padding: 0;
}

div.widget ul li:before {
    content: none !important;
}

div.widget ul li a{
    display:block;
    width:100% !important;
    text-decoration: none;
    padding: 5px;
    transition:.3s;
    font-size:16px;
}

div.widget ul li a:hover{
    text-decoration: none;
    background-color: #f37934;
    color: white;
}

h1.site-title, span.site-title a {
    font-family: 'Oranienbaum', serif;
    font-size: 65px !important;
    letter-spacing: 10px;
}

#header-left {
    height: auto !important;
    min-height: 78px;
}

#header-left p {
    margin: 0;
    //letter-spacing: 10px;    
    font-weight: 900;
    font-size: 8px;  
    display:block;
    position:relative;  
    margin-top: -80px;
    font-stretch:ultra-expanded;
    text-transform: uppercase;
}

.site-title-sl {
    display:none;
    position:relative;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    margin-top: -16px;
    color:black;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

footer small {
    display: block;
    text-align: center;
}

select[name="archive-dropdown"] {
    overflow:hidden;
    width:70%;
    border-radius: 9px 9px 9px 9px;
   // box-shadow: 1px 1px 3px #330033;
    font-size: 20px;
    font-weight: bold;
    padding: 2px 10px;
    background: #f37934;
    color: white;
}