/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2017-03-07, 09:57:45
    Author     : skucharczyk
*/

body {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    line-height: 1.3;
    background: #fff;
    background-attachment: fixed;
    color: #2a282c;
}
input,textarea {
    font-family: 'Roboto Condensed', sans-serif;
}
h1,h2,h3,h4,h5,h6,p,a,i,b {
    margin: 0;
    padding: 0;
}
a {
    color: #2a282c;
    text-decoration: none;
}
a:hover {
    color: #333;
}

ul,li {
    list-style: none;
    margin: 0;
    padding: 0;
}


.logo {
    text-align: center;
}
.logo a {
    color: #2a282c;
}

.menu {
    margin: 20px 0 50px 0;
    background: #2a282c;
    position: relative;
    padding: 30px 0;
}
.menu:before {
    content: '';
    display: block;
    background: #2a282c;
    width: 100%;
    height: 40px;
    position: absolute;
    top: -20px;
    left: 0;
    transform: skewY(0.5deg);
}
.menu:after {
    content: '';
    display: block;
    background: #2a282c;
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: -20px;
    left: 0;
    transform: skewY(0.5deg);
}
.menu a {
    font-size: 15px; 
    font-weight: 600;
}
.menu a:hover {
    color: #333;
}
.menu .innermenu {
    
    position: relative;
    border-radius: 3px;
}

.menu ul > li {
    float: left;
    position: relative;
}
.menu ul > li a {
    display: block;
    padding: 0 9px;
    line-height: 50px;
    position: relative;
    color: #fff;
}
.menu ul > li a:hover {
    color: #fefeee;
}
.menu ul > li:hover {
    background: #595959;
}
.menu ul > li > a:after {
    content: '';
    display: block;
    width: 0%;
    height: 1px;
    background: #fff;
    margin: 0;
    transition: all 0.6s;
}
.menu ul > li > a:hover:after {
    width: 100%;
}
.menu ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2111;
    background: #2a282c;
    min-width: 180px;
}
.menu ul li:hover ul {
    display: block;
}
.menu ul li ul li {
    float: none;    
}

.menu ul li ul li a {
    line-height: 30px;
}
header {
    padding: 30px 0;
}
header h1 {
    margin: 0;
}
.bread {    
    line-height: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: #2a282c;
    margin: 50px 0;
    padding: 15px 0;
    position: relative;
    color: #fff;
}
.bread:before {
    content: '';
    display: block;
    background: #2a282c;
    width: 100%;
    height: 40px;
    position: absolute;
    top: -20px;
    left: 0;
    transform: skewY(0.5deg);
}
.bread:after {
    content: '';
    display: block;
    background: #2a282c;
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: -20px;
    left: 0;
    transform: skewY(0.5deg);
}
.bread a {
    color: #fff;
}
.breadcumb {
}
.bread a:hover {
    color: #333;
}


.slider {
    position: relative;
}
.slider:before {
    content: '';
    display: block;
    background: #fff;
    width: 100%;
    height: 30px;
    position: absolute;
    top: -10px;
    left: 0;
    transform: skewY(0.5deg);
    z-index: 1111;
}
.slider:after {
    content: '';
    display: block;
    background: #fff;
    width: 100%;
    height: 30px;
    position: absolute;
    bottom: -10px;
    left: 0;
    transform: skewY(0.5deg);
    z-index: 1111;
}
.bx-wrapper {
    margin: 15px 0; 
    border-radius: 3px;
}

.articlelist {
    padding: 40px 0;
}
.articlelist .article {
    padding-bottom: 30px;
}
.articlelist .image {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    border: 2px solid #2a282c;
    border-radius: 3px;
}
.articlelist .image img {
    width: 100%;
}
.articlelist .date {
    margin-bottom: 10px;
    font-weight: 600;
}
.articlelist a {
}
.articlelist .maska {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    padding-top: 50px;
    transition: all 0.5s ease;
}
.article:hover .maska {
    opacity: 1;
}
.articlelist .maska p {
    line-height: 50px;
}
.articlelist h2 {
    padding: 10px 0;
    font-size: 19px;
}

.articlelist .desc {
    margin-bottom: 10px;
    text-align: justify;
    min-height: 120px;
    height: 120px;
    overflow: hidden;
}
.articlelist .readmore {
    display: inline-block;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin: 10px auto 0 auto;
    padding: 5px 10px;
    border: 1px solid #333;
    border-radius: 3px;
    background: #2a282c;
    transform: skew(-10deg);
}
.search {
}
.searchform .searchfield {
    width: 80%;
    float: left;
    padding: 0 15px;
    height: 30px;
    line-height: 30px;
    background: #fff;
    color: #000;
    border: none;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border: 1px solid #4bb5c2;
}
.searchform .searchbutton {
    width: 20%;
    float: right;
    padding: 0;
    height: 30px;
    line-height: 30px;
    color: #fff;
    background: #2a282c;
    border: none;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;    
}

footer {
    padding: 35px 0 50px 0;
    text-align: center;
    background: #000;
    position: relative;
    color: #fff;
    border-top: 1px solid #fff;
}

.social {
    margin: 0 0 30px 0;
    text-align: center;
}
.social li {
    display: inline-block;
}
.social li a {
    padding: 0 15px;
    font-size: 20px;
    color: #fff;
    transition: all 0.5s;
}
.social li a:hover {
    color: #ccc;
}


.back-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 11111;
    display: none;
    cursor: pointer;
    background: #2a282c;
    width: 40px;
    height: 40px;
    color: #fff;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    transition: all 0.2s ease-in;
    border: 1px solid #f5f2df;
}
.back-top:hover {
    font-size: 20px;
    color: #f8bc27;
}
.after:after {
    content: '';
    clear: both;
    line-height: 0;
    display: block;
}
.nav-tabs > li > a {
    display: block;
    line-height: 40px;
    height: 40px;
    padding: 0 10px;
}
.links {
    padding: 15px 0;
    background: #2a282c;
    position: relative;
    margin: 30px 0 50px 0;
}
.links:before {
    content: '';
    display: block;
    background: #2a282c;
    width: 100%;
    height: 40px;
    position: absolute;
    top: -20px;
    left: 0;
    transform: skewY(0.5deg);
}
.links:after {
    content: '';
    display: block;
    background: #2a282c;
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: -20px;
    left: 0;
    transform: skewY(0.5deg);
}
.links h4 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}
.links li {
    margin: 10px 0;
}
.links a {
    color: #fff;
    font-size: 15px;
}
.links a:hover {
    text-decoration: underline;
}
.links .latest {
}
.links .random {
}
.similar {
    margin-top: 30px;
}
.similar h4 {
    margin: 0 0 20px 0;
    font-size: 18px;
}
.similar h5 {
    margin: 8px 0;
}
.similar h5 a {
    font-size: 16px;
    color: #333;
}
.clr {
    clear: both;
    display: block;

}
.articleContent .title {
    margin: 15px 0;
}
.articleContent .title a {
    color: #333;
    font-size: 20px;
}
.tabs {
    background: #2a282c;
    border-radius: 3px;
    margin-top: 30px;
}
.tabs input, .tabs textarea {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    box-sizing: border-box;
    margin: 10px 0;
    color: #333;
}
.tabs input[type="checkbox"], .tabs input[type="radio"] {
    height: 15px;
    width: auto;
    margin-right: 10px;
}
.tabs .btn {
    background:#fff;
    color: #333;
    border: none;

}
.tabs a, .tabs label {
    color: #fff;
}
.social2 {
    background: rgba(255,255,255,0.6);
    padding: 15px;
    margin: 10px 0;
    border-radius: 3px;
}

.nopadding {
    padding: 0;
}

.rwdmenu {
    width: 25px;
    height: 2px;
    background: #333;
    position: absolute;
    top: 50px;
    right: 30px;  
    display: none;
    transition: all 0.3s;
}
.rwdmenu:after {
    width: 25px;
    height: 2px;
    background: #333;
    position: absolute;
    top: 8px;
    right: 0px;
    content: '';
    transition: all 0.3s;
}
.rwdmenu:before {
    width: 25px;
    height: 2px;
    background: #333;
    position: absolute;
    top: -8px;
    right: 0px;
    content: '';
    transition: all 0.3s;
}
.rwdmenu.opened:after {
    transform: rotate(45deg);
    top: 0;
}
.rwdmenu.opened:before {
    transform: rotate(-45deg);
    top: 0;
}
.rwdmenu.opened {
    background: transparent;
}

@media (max-width: 768px) {
    .menu {
        display: none;
        height: 400px;
        overflow: auto;
    } 
    .menu ul > li {
        float: none;
        width: 100%;
        background: #2a282c;
    }
    .menu ul li ul {
        display: block;
        position: relative;
        top: 0;
    }
    .menu ul li ul li a{
        line-height: 50px;
    }
    .rwdmenu {
        display: block;
    }
    .articlelist .desc {
        height: auto;
        min-height: auto;
    }
}