/*
Theme Name: Polska Nauka
Theme URI: http://netilmedia.pl
Author: Netil Media
Author URI: http://netilmedia.pl
Description: Polska Nauka Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
Text Domain: polskanauka

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import url("css/blue.css");

::-moz-selection{
    background:#285e80 !important;
}

::selection{
    background:#285e80 !important;
}

html, body, a, p, ul, ol, li{
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 300;
}

p, li{
    font-size: 1rem;
}

b, strong{
    font-weight: 700;
}

a{
    color: #285e80;
}

a:hover, a:focus{
    color: #16435f;
}


.btn{
    font-family: 'Open Sans', sans-serif !important;
    text-transform:uppercase;
    font-weight:400;
}

.btn-primary, .page-item.active .page-link{
    background-color: #285e80;
    border-color: #285e80;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary.active, .btn-primary:active, .show > .btn-primary.dropdown-toggle, .page-item.active .page-link:hover, .page-item.active .page-link:focus {
    color: white !important;
    background-color: #16435f;
    border-color: #16435f;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.open, .navbar-light .navbar-nav .open > .nav-link{
    color: #285e80;
}

#main ul{
    list-style-type: square;
}


.lang-nav li a{
    text-align: center;
}

.lang-nav li a .flag-icon{
    font-size: 4rem;
    border-radius: 100%;
}

.lang-nav li a .lang-name{
    display: block;
    color:#000;
    font-weight: 400;
}



body.customize-support .navbar.fixed-top {
    margin-top: 32px;
}

header.business .box-featured{
    padding: 30px 30px 5px;
    background-color: #285e80;
    position:  relative;
    margin-top:35px;
}

header.business .box-featured h3 a{
    color:#fff;
}


header.header-single, header.header-category{
    padding-bottom:80px;
}

header.business{
    background-position: center center;
}

header.business .box-featured .img-corner{
    width:35px;
    position: absolute;
    left:0px;
    top:-35px;
}

header.business .header-inner .img-featured{
    border:1px solid #fff;
}

header.business h2{
    font-weight: 300;
    font-size:3rem;
    margin-top:2rem;
}
header.business h3{
    font-weight: 300;
}

header.business h4{
    font-weight: 700;
    line-height:1.5rem;
    text-align:right;
}

header.header-cat-id-15{
    background-image:url('images/header-cat-id-15.jpg');
}

header.header-cat-id-16{
    background-image:url('images/header-cat-id-16.jpg');
}

header.header-cat-id-17{
    background-image:url('images/header-cat-id-17.jpg');
}

header.header-cat-id-18{
    background-image:url('images/header-cat-id-18.jpg');
}

header.header-cat-id-19{
    background-image:url('images/header-cat-id-19.jpg');
}

header.header-cat-id-20{
    background-image:url('images/header-cat-id-20.jpg');
}

header.header-cat-id-21{
    background-image:url('images/header-cat-id-21.jpg');
}

header.header-cat-id-22{
    background-image:url('images/header-cat-id-22.jpg');
}

.bg-deepgrey {
    background-color: #285e80 !important;
    color:#fff;
}

footer.dark{
    background-color: #16435f !important;
}

footer.dark p{
    color:#4c7188 !important;
}



.nav-lang-list{
    margin-top:-45px;
    padding: 0 !important;
}

.nav-lang-list a{
    color:#000;
    font-weight:normal;
    padding: 0.7em 0.5em;
    font-size: 16px;
}

.nav-lang-list a:hover {
    background-color: rgba(255,255,255,0.5);
}

.nav-lang-list a.active{
    background-color: #fff;
}

#main-content{
    background: #f9f9f9;
    padding-top:30px;
    background-image: url('images/section-bg.png');
    background-repeat: repeat-y;
    background-size: 100% auto;
}

.section-title{
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background:#285e80;
    color:#fff;
    margin-left:-1.25rem;
    padding-left:1.25rem;
    margin-right:-1.25rem;
    padding-right:1.25rem;
    margin-top:-1.25rem;
    padding-top:1.25rem;
    padding-bottom:1.25rem;
}

.index-title{
    margin-bottom: 0 !important;
}

h4.article-title{
    margin-bottom: 0.5rem;
}

h4.article-title a {
    color: #285e80;
}

h4.article-title a:hover,
h4.article-title a:focus,
h4.article-title a:active {
    color: #16435f;
}

.article-card {
    margin-left: -17.5px;
    margin-right: -17.5px;
    padding: 12px 17.5px;
    border-top: 1px solid #ddd;
    transition: all 0.5s ease-in;
}

.article-card .flag-icon {
    border-radius:0.2rem;
}

.article-card:hover{
    background-color:#f8f8f8;
}

#right-sidebar {
    padding: 0;
}

#right-sidebar .card{
    margin-bottom: 2.25rem;
}

#right-sidebar  li.widget{
    background-color: white;
    border: 1px solid #eeefef;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    padding: 1.25rem
}

#right-sidebar  li.widget > ul{
    padding-left:0;
}


#right-sidebar .widgettitle{
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom:20px;
    color: #16435f;
    font-weight:400;
}

#right-sidebar  .popular-posts .wpp-list{
    padding-left:0;
}

#right-sidebar  .widget > ul li{
    border-top:1px solid #eeefef;
    padding: 10px 5px;
}

#right-sidebar  .widget > ul li a{
    font-size:16px;
}

#right-sidebar  .widget .post-date{
    display: block;
    font-size:12px;
}

#right-sidebar  .popular-posts .wpp-post-title{
    font-size:16px;
    font-weight:normal;
}

#right-sidebar  .popular-posts .wpp-date{
    font-size:12px;
    font-weight:normal;
}



/* categories */

#netil-search-filter-category-list {
    background: #fff;
    position: relative;
}

#netil-search-filter-category-list h6 {
    transition: all .3s ease;
    font-size: .9rem;
    font-weight: 400;
    padding: .25rem 0;
    border-radius: .25rem;
}

.netil-search-filter-link.category {
    position: relative;
    display: inline-block; 
}

.netil-search-filter-link.category img {
    transition: all .3s ease-out;
    padding: 0;
    border-color: transparent;
    border-width: 0;
    margin-bottom: 1em;
}

.netil-search-filter-link.category::before {
    color: #fff;
    content: "\f00c";
    font: normal normal normal 14px/1 FontAwesome;
    width: 26px;
    height: 26px;
    display: block;
    background: #285e80;
    position: absolute;
    top: -16px;
    left: 7px;
    border-radius: 2px;
    line-height: 23px;
    text-align: center;
    border: 2px #fff solid;
    opacity: 0;
    transition: all .3s ease;
}

.netil-search-filter-link.category.active::before {
    opacity: 1;
    top: -8px;
}

.netil-search-filter-link.category.active:hover::before {
    content: "\f00d";
}

#netil-filter-and-search-apply {
    position: absolute;
    width: 100%;
    bottom: -20px;
    opacity: 0;
    transition: all .3s ease;
}

#netil-filter-and-search-apply.active {
    opacity: 1;
    bottom: -10px;
}

[lang="ru-RU"] #netil-search-filter-category-list h6 {
  font-size: 85%;
}

[lang="pt-pt"] #netil-search-filter-category-list h6 {
  font-size: 75%;
}

#main ul.pagination{
    list-style:none;
}

.datepicker td, .datepicker th{
    padding:8px;
}

/*@media (min-width: 992px){*/
.lg-wb::before {
    content: "-";
}

.lg-wb {
    clear: left;
    display: inline-block;
}
/*}*/

[dir="rtl"] .input-group .input-group-append {
    margin-left: 0;
    margin-right: -1px;
}

[dir="rtl"] .input-group .input-group-append>.input-group-text {
    border-radius: .25rem 0 0 .25rem;
}

[dir="rtl"] .input-group .form-control {
    border-radius: 0 .25rem .25rem 0;
}

#right-sidebar {
    position: sticky;
    top: 100px;
}


#searchbar {
    position: fixed;
    top: -100px;
    background: rgba(0, 0, 0, .8);
    padding: 40px 0;
    width: 100%;
    z-index: 998;
    transition: all;
    opacity: 0;
    transition: top .3s ease, opacity .6s ease-out;
}

#searchbar.visible {
    top: 112px;
    opacity: 1;
}

#searchbar input {
    font-size: 36px;
    border: none;
    border-bottom: 1px #888 solid;
    border-radius: 0;
    background: transparent;
    color: #fff;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#searchbar input:focus {
    outline: none;
    box-shadow: none;
    border-bottom: 1px #888 solid;
}

#searchbar .input-group {
    margin-bottom: 0;
}

#searchbar .input-group>.input-group-prepend>.input-group-text {
    color: #fff;
    font-size: 24px;
    padding-top: 0;
    padding-left: 0;
    background: transparent;
    border-width: 0;

}

.navbar-brand {
    text-transform: uppercase;
}

.cat-label-17 {
    color: rgb(65, 199, 55);
    background: rgba(65, 199, 55, .1);
}

.cat-label-20 {
    color: rgb(95, 180, 229);
    background: rgba(95, 180, 229, .1);
}

.cat-label-21 {
    color: rgb(236, 170, 0);
    background: rgba(236, 170, 0, .1);
}

.cat-label-19 {
    color: rgb(247, 47, 47);
    background: rgba(247, 47, 47, .1);
}

.cat-label-18 {
    color: rgb(56, 93, 174);
    background: rgba(56, 93, 174, .1);
}

.cat-label-15 {
    color: rgb(96, 189, 196);
    background: rgba(96, 189, 196, .1);
}

.cat-label-16 {
    color: rgb(221, 63, 111);
    background: rgba(221, 63, 111, .1);
}

.cat-label-22 {
    color: rgb(49, 0, 111);
    background: rgba(49, 0, 111, .1);
}

.cat-underline {

}

.cat-underline-15 {
    border-color: rgb(52, 152, 219);
} 

#netil-search-filter-category-list h6{
    background-color: transparent !important;
    font-weight:800;
}

#netil-search-and-filter-date-range-after, #netil-search-and-filter-date-range-before{
    background-color:#fff;
}

#netil-search-filter-date-range .card-title, #netil-newsletter .card-title{
    font-size:1.5rem;
    font-weight:400;
    text-transform: uppercase;
    color: #16435f;
}

#netil-search-filter-language-list .flag-icon{
    box-shadow: 0px 0px 2px 0 rgba(0,0,0,0.5);
}

.owl-theme .owl-nav.disabled + .owl-dots {
    text-align: right;
    margin-top: 0;
}

[dir="rtl"] .owl-theme .owl-dots {
    text-align: left;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #002752;
}


@media (max-width: 480px) {
    .navbar-brand .title-lang{
        display: block;
        padding-left: 25px;
    }

    header.fixed-menu{
        padding-top:108px;
    }
}

@media (max-width: 400px) {
    .nav-lang-list a {
        padding-left: 2px;
        padding-right: 2px;
    }
}

@media (max-width: 768px) {
    header.business h2 {
        font-size: 2rem;
    }
}

select.form-control:not([size]):not([multiple]) {
    height: auto;
}

.box-featured .owl-nav {
    position: absolute;
    right: 10px;
    top: 0px;
}

.owl-theme .owl-nav .owl-prev, .owl-theme .owl-nav .owl-next {
    border: 1px #fff solid;
    background: transparent;
    border-radius: 0;
}

.owl-theme .owl-nav .owl-prev:hover, .owl-theme .owl-nav .owl-next:hover {
    background: #285e80;
}