@import url('https://fonts.googleapis.com/css?family=Noto+Sans');
@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);
@import url(https://fonts.googleapis.com/css?family=Podkova);
@import url(https://fonts.googleapis.com/css?family=Scada);
/*
@import url(https://fonts.googleapis.com/css?family=Cormorant);
- за бутоните на рубриките: Podkova.
- за заглавията на статиите: Open Sans Condensed.
- за имената на авторите (под заглавието): Scada.
- за текстовете (навсякъде): Cormorant.
 <link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet"> 
font-family: 'Open Sans Condensed', sans-serif;

 <link href="https://fonts.googleapis.com/css?family=Podkova" rel="stylesheet"> 
font-family: 'Podkova', serif;

<link href="https://fonts.googleapis.com/css?family=Scada" rel="stylesheet"> 
font-family: 'Scada', sans-serif;

<link href="https://fonts.googleapis.com/css?family=Cormorant" rel="stylesheet"> 
@import url('https://fonts.googleapis.com/css?family=Cormorant');
font-family: 'Cormorant', serif;


@font-face{
    font-family:"Irvin Heading";
    src:url("fonts/irvin_heading.woff2") format("woff2"),
        url("fonts/irvin_heading.woff") format("woff")
}
*/


html {
    height: 100%;
    margin: 0 !important;
}
html,body{box-sizing: border-box;position:relative;}
*,
*:before,
*:after {
    box-sizing: inherit;
}
body{
    margin:0;
    min-height: 100%;
    padding:0 1% 4.5em 1%;
    font:18px 'Noto Sans',georgia,times new roman,serif;
    letter-spacing: 0.05em;
    color:#000;
    line-height: 1.6em;
    overflow-x: hidden;
}

.alignright{float:right;margin-left: 0.6em;}
.alignleft{float:left;margin-right: 0.6em;}

a{
    color:#000;
    text-decoration: none;
}
a:hover, .current-menu-item a,.current-post-parent a{
    color:#f90 !important;
    text-decoration: underline;
}
h1, h2, h3{margin:0;font-family: 'Open Sans Condensed',georgia,serif;}
h1{font-size: 2em;line-height: 1.2em;letter-spacing: 0.1em;padding-left:3%;padding-right:40px;}
h2{font-size: 1.6em;line-height: 1.8em;}
h3{font-size: 1.3em;line-height: 1.6em;margin-top:0.5em;margin-bottom:0.5em;}
h3.author{padding-left:3%;}
h4{font-size: 1em;line-height: 1.6em;margin:0;}
/*
h1.categoryName{text-align: center;}
*/
#header{position:relative;background: #fff;}
#logo{width:60%;margin: 0.5em 0;min-width: 330px;}
#menuIcon{position:absolute;top:1em;right:0;}
#currentDate{color:#ccc;position:absolute;top:0;right:0;margin:0.5em 0 1em 0.5em;display:none;}
#search{text-align: right;}
#mainMenuContainer{
    position:absolute;
    top:0;
    left: 0;
    width:100%;
    display: none;
    z-index: 1000 !important;
    height:1px;
    overflow: show;
}
#mainMenu{background: #000;}
#mainMenu, #mainMenu a{
    color: #fff;
    text-decoration: none; 
    font-size:1.6em;
    font-family: 'Podkova',georgia,times new roman,serif;
}
#mainMenu ul{list-style:none;margin:0;padding:0;}
#mainMenu li{padding:0.5em;}
#menuClose{text-align:right;}
#slideshow{position:relative;line-height: 2em;padding:0.5em 0 1em 0;}
#slideshow .flexslider{margin:0;}
#manifesto{position:absolute;bottom:0.9em;left:0;width:100%;text-align: center;}
#manifesto a{
    background:#fff !important;
    display: inline-block;
    padding: 0 1.5em;
    font-weight:bold;
    border-radius: 0.6em 0.6em 0 0;
    font-size:1.4em;
    opacity:0.9;
}
#manifesto a:hover{
    opacity:1;
}
#content{position:relative;}
#content.articleList{padding:0;}
.contentText p:first-child{margin-top: 0;}
#footer{
    padding-top: 0em;
    padding-bottom: 1em;
    font-weight: normal;
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    font-size:1.2em;
    font-family: 'Podkova',georgia,times new roman,serif;
    background: #000;
}
#footer,#footer a{color:#fff;}
#footer ul{list-style:none;padding:1em 0 0 0;font-size:0.95em;}
#copyright{text-align:center;font-weight:bold;margin-top:1em;color:#000;}
#footer li{float:left;margin-left:0.8em;}
#gototop{
    width:60px;
    border:1px solid #ccc;
    background:#f7f7f7;
    text-align:center;
    padding:5px 5px 0 5px;
    position:fixed; 
    bottom:10px; 
    right:10px;
    cursor:pointer;
    opacity:0;
    color:#333;
    font-family:verdana;
    font-size:11px;
    transition:opacity 0.8s;
}

.postImg{margin-right:0.5em;display: block;float:left;max-width:50%;position:relative;}
.postImg .img{width:100%;display:block;}
.articles{margin-top:1.5em;}
.article .text{z-index:0;padding-right:0.5em;line-height:1.1em;}
.article .text p{margin:0;}
.more-link{font-weight: bold;}
.postImg .category{
    font-family: 'Podkova',georgia,times new roman,serif;
    font-weight:bold;
    display:inline-block;
    background: #ddd;
    color:#555;
    position:absolute; 
    bottom:0;
    left:0.5em;
    line-height:1.2em;
    border-radius: 0.1em 0.1em 0 0;
    padding:0  0.6em 0 0.6em;
    font-size:1.2em;
}
.article{
    margin: 1em 0 1em 0;
    border-bottom:1px solid #eee;
    padding: 0 0 0.5em 0;
}
.article h3{text-align:left;line-height:1em;}
.article .author{text-align:right;font-weight:bold;margin-top:0.3em;margin-right:0.5em;}
.leaveComment{text-align:right;}
.postOpenedImg{float:right;}
.author,.category{font-family: 'Scada',georgia,times new roman,serif;}

.searchResults .item{padding:0.5em;border-bottom:1px dashed #eee;}
.searchResults img{float:left;margin-right:0.5em;}
.searchResults h2{text-align:left;}
.searchResults p {margin:0;}

.ngg-galleryoverview{text-align:center;}
form p{margin:0.5em 0 0 0;}
.wpcf7{margin:0 auto !important;min-width:330px;width:30%;}
input,select,textarea{
    border: 1px solid #ddd;
    border-radius: 0.2em;
    padding:0.5em;
}
input[type=submit] {
    font-weight:bold;
    padding:0.3em 0.7em;
    margin-top:0.7em;
}
input[type=submit]:hover{
    background: #f90;
    cursor: pointer;
    
}

#social{white-space:nowrap;position:absolute;top:0;right:0;}
.social{width:35px;height:35px;background:url(images/sprite.png) no-repeat;display:block;;margin:0.5em 0 0.1em 0.2em;opacity:0.6;}
.tweet{background-position: -37px 0px;}
.gplus{background-position: -74px 0px;}
.social:hover{opacity:1;}
/* Galleries */
.galleryList{margin-top:1em;}
.galleryList .gallery .title{font-weight: bold;font-size:1.1em;}
.galleryList .gallery img{padding:5px;}
.galleryList .gallery{position:relative;}
.galleryList .gallery .author{
    position:absolute;
    right:10px;
    bottom:12px;
    background: #ddd;
    line-height:1em;
    opacity:0.6;
    padding:0.2em 0.5em;
    border-radius: 0.2em 0.2em 0 0;
    color:#000;
}
.ngg-gallery-thumbnail,.galleryList .gallery img{border:1px solid #eee !important;}
.ngg-gallery-thumbnail-box,
.galleryList .gallery
{margin-bottom:0.5em;}
.ngg-gallery-thumbnail:hover,
.galleryList .gallery:hover img{background:#f90;}
.galleryList .gallery:hover .author{opacity:1;}
.ngg-gallery-thumbnail-box, .ngg-gallery-thumbnail-box img,
.galleryList .gallery,.galleryList .gallery img{
    width:100%;
}
.ngg-gallery-thumbnail{margin:0 !important;}
/* \ Galleries */
@media screen and (max-width:1100) {
    #header, #content, #footer,#mainMenu{padding:0 1%;}
    body{padding:0 1%;}
    #footer li{float:left;margin-right:0.8em;margin-left:0;}
}
@media screen and (min-width:760px) {
    #search{position:absolute;bottom:0;right:0;}
}
@media screen and (min-width:700px) {
    .ngg-gallery-thumbnail-box,
    .galleryList .gallery
    {width:49%;margin-right:1%;display:inline-block;}
    .ngg-gallery-thumbnail-box:nth-child(even),
    .galleryList .gallery:nth-child(even)
    {margin-right:0;}
}
@media screen and (min-width:900px) {
    .galleryList .gallery,
    .galleryList .gallery:nth-child(even)
    {width:32.6%;margin-right:1%;display:inline-block;}
    .ngg-gallery-thumbnail-box,
    .ngg-gallery-thumbnail-box:nth-child(even)
    {width:32.5%;margin-right:0.5%;display:inline-block;}
    .ngg-gallery-thumbnail-box:nth-child(3n+0),
    .galleryList .gallery:nth-child(3n+0)
    {margin-right:0;}
    .article{
        height: 230px;}
}
@media screen and (min-width:660px) {
    #slideshow{margin-bottom:1em !important;}
    body{font-size: 14px;}
    #currentDate{display:block;}
    #header, #mainMenu, #footer ul, #content,#searchAndDate,#slideshow{width:100%;max-width: 1100px;margin: 0 auto;}
    #search{margin:0.5em 0 1em 0.5em;}
    #mainMenuContainer,#mainMenuContainer a{
        font-size: 0.9em;
    }
    #mainMenuContainer{
        height:auto;
        display:block !important;
        font-weight: bold;
        position:relative;
        margin:0;
    }
    #mainMenu{background: #fff !important;}
    #mainMenu, #mainMenu a{color: #000;}
    #mainMenu{
        padding: 1em 0;
        border-top:1px solid #eee;
        border-bottom:1px solid #eee;
    }
    #mainMenu li{
        padding:0 1.3em 0 0;
        float:left;
    }
    #menuClose{display:none;}
    #menuIcon{display:none;}
    #social{float:right;}
    .social{float:left;}
    .article{width: 49%;margin-left:1%;}
    .articles{margin-left: -1%;width:101%;overflow: show;}
    .article{
        vertical-align: top;
        display:inline-block;
        overflow:hidden;
        border-right:1px solid #eee;
    }
}

.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;} 
.clearfix {display:block; margin:0; padding:0; overflow:hidden; clear:both; font-size:0; line-height:0; height:0}
