﻿/*
Theme Name: Naucne chodniky
Theme URI: naucnechodniky.eu
Author: Progresio
Author URI: http://www.progresio.sk
Text Domain: shortcut of theme
Domain Path: SK
Description: Theme for naucnechodniky.eu by Progresio
Version: 1
*/

/* border-box */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

/* clearfix */
.group:before,
.group:after { content: " "; display: table; }
.group:after { clear: both; }

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 10px 20px 10px;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.post-cont a > img {
    margin: 5px 10px 20px 10px;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}


/* CUSTOM STYLES  */

body {
    //font-family: 'Ubuntu', sans-serif;
    //font-weight: 300;
    //font-size: 1.8em;
    font-family: 'Khand', sans-serif !important;

    margin: 0 auto;
}

p {
    margin: 0;
}

a:hover {
    text-decoration: none;
}

img.bg {
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 1200px;

    /* Set up proportionate scaling */
    width: 100%;
    height: auto;

    /* Set up positioning */
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

h2 {
   font-weight: 800;
}

@media screen and (max-width: 1024px) {
    /* Specific to this particular image */
    img.bg {
        left: 50%;
        margin-left: -512px; /* 50% */
    }
}

img.bg-product {
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    margin-top: -150px;
}

.main-content {
    padding-left: 0;
    padding-right: 0;
    //padding-top: 75px;
}

.page-content {
    padding-top: 2em;
}

.navbar-default {
    //background-color: #fff;
    //border-top: 5px solid #3365ed;
    //border-bottom: 3px solid #2bac2e;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, .15) 72.5%, rgba(0, 0, 0, 0));
    padding-right: 2em;
    padding-left: 2em;
    padding-bottom: 2em;
    margin-bottom: 0;
    border: none;
}

.navbar-default .navbar-nav > li {
    //padding: 1.3em 0;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > .a {
    display: inline-block;
    padding: 1.2em .7em;
    font-size: 18px;
    color: white;
    text-shadow: black 0 0 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-default .navbar-nav > li > a *,
.navbar-default .navbar-nav > li > .a * {
    display: inline-block;
    vertical-align: top;
}

.navbar-default .navbar-nav > li > a > span,
.navbar-default .navbar-nav > li > .a > span {
    /*width: 0;*/
    text-align: center;
    padding-left: 10px;
    overflow: hidden;
    transition: width .5s ease;
}

.navbar-default .navbar-nav > li > .a > span > span > span {
    width: 14.5em;
    height: 2em;
    border-radius: .5em;
    background: white;
}

.navbar-default .navbar-nav > li > .a > span > span > a {
    color: white;
    transition: letter-spacing .3s ease;
}
.navbar-default .navbar-nav > li > .a > span > span > a:hover {
    letter-spacing: .1em;
}

.navbar-default .navbar-nav > li > .a > span {
    position: relative;
    top: -8px;
}
.navbar-default .navbar-nav > li > .a > span input,
.navbar-default .navbar-nav > li > .a > span i {
    text-shadow: none;
    color: black;
    border: none;
    background: none;
    caret-color: green
}
.navbar-default .navbar-nav > li > .a > span input {
    width: 11em;
    margin: 5px 0 0 -.5em;
    border-right: solid black 2px;
}
.navbar-default .navbar-nav > li > .a > span i {
    font-size: 1.2em;
    margin: 7px 0 0 18px;
    cursor: pointer;
}


.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: white;
    /* background: #4e99ff; */
    background: none;
    text-decoration: none;
}

.navbar-default .navbar-nav > li > a:hover > span,
.navbar-default .navbar-nav > li > a:focus > span {
    text-decoration: underline;
}
/*
.navbar-default .navbar-nav > li > a:hover > span,
.navbar-default .navbar-nav > li > a:focus > span {
    width: 5em;
}
.navbar-default .navbar-nav > li:nth-of-type(1) > a:hover > span,
.navbar-default .navbar-nav > li:nth-of-type(1) > a:focus > span {
    width: 2.9em;
}
.navbar-default .navbar-nav > li:nth-of-type(2) > a:hover > span,
.navbar-default .navbar-nav > li:nth-of-type(2) > a:focus > span {
    width: 2.8em;
}
.navbar-default .navbar-nav > li:nth-of-type(3) > a:hover > span,
.navbar-default .navbar-nav > li:nth-of-type(3) > a:focus > span {
    width: 3.65em;
}
.navbar-default .navbar-nav > li:nth-of-type(4) > .a:hover > span,
.navbar-default .navbar-nav > li:nth-of-type(4) > .a:focus > span {
    width: 15em;
}
*/

.navbar-default .navbar-nav > .current-menu-item a, .sub-menu .current-menu-item a,
.navbar-default .navbar-nav > .current-menu-item .a, .sub-menu .current-menu-item .a {
    text-decoration: underline;
}


.dropdown-menu>li>a {
    color: #231f20;
    font-size: 16px;
}

.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    background: #edcf99;
}

.navbar-header {
    position: relative;
    //width: 9em;
    //background: #fff;
    text-align: center;
    padding: 0.4em 0.6em;
    height: 64px;
    z-index: 9;
}

#menu-logo {
    height: 100%;
}





/* RESPONSIVE MEDIA SCREENS */


@media only screen
and (min-width: 991px)
and (max-width: 1199px) {

}



@media only screen
and (min-width: 767px)
and (max-width: 991px) {

}

@media only screen
and (min-width: 0px)
and (max-width: 767px) {
    .navbar-default {
        padding-left: 1em;
        padding-right: 1em;
    }

    .navbar-default .navbar-collapse,
    .navbar-default .navbar-form {
        background: rgba(0, 0, 0, .75);
    }

    .navbar-default .navbar-nav > li > .a {
        width: 100%;
    }

    .navbar-default .navbar-nav > li > a > span,
    .navbar-default .navbar-nav > li > .a > span {
        width: auto;
    }
    .navbar-default .navbar-nav > li:nth-of-type(4) > .a > span,
    .navbar-default .navbar-nav > li:nth-of-type(4) > .a:hover > span,
    .navbar-default .navbar-nav > li:nth-of-type(4) > .a:focus > span {
        width: calc(100% - 18px);
    }

    .navbar-default .navbar-nav > li:last-of-type > .a {
        padding-bottom: 0;
    }

    .navbar-default .navbar-nav > li > .a > span > span {
        width: 100%;
    }

    .navbar-default .navbar-nav > li > .a > span input {
        width: calc(100% - 56px);
    }

    .navbar-default .navbar-nav > li > .a > span > span > span {
        width: 100%;
    }
}

#slb_viewer_wrap .slb_theme_slb_default .slb_data_title, #slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
    font-family: 'Khand', sans-serif !important;
}
