/*
Theme Name: letuska
Theme URI: 
Author: letuska
Author URI: https://petradovolena.cz/
Description: Wordpress Theme
Version: 1.0
*/

/*
 * Globals
 */
.hp-wrap { display:none !important; }

/* Links */
a:focus,
a:hover {
  color: #27ae60;
}

a {
  color: #004ebc;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritence from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}

img {
margin: 0 auto!important;
display: block;
}
/*
 * Base structure
 */

html,
body {
  background-color: #fff;
}
body {
  color: #333;
  margin: 0px auto;
  
  text-shadow: 0 1px 3px rgba(0,0,0,.01);
}
h2 {
  font-family: 'Dosis', sans-serif;
}

/* HEADER */

#menu-hlavni-menu {
  margin-top: 50px;
  float: right;
  margin-right: 50px;
}

#header-logo {
  font-family: 'Dosis', sans-serif;
  font-size: 36px;
  color: #fff;
}

#header-logo-content {
margin-top: 8px;
margin-left: 50px;
margin-bottom: 10px;
max-width: 210px;
}

div#header-logo-content img {
max-width: 100%;
}
#header {
border-bottom: solid 3px rgba(0, 78, 188, 0.89);
margin-left:0px;
margin-right:0px;
}

.nav-menu {
  padding-left: 0;
  margin-bottom: 0;
  margin-top: 10px;
  list-style: none;
}

.nav-menu > li {
  display: inline-block;
}

.nav-menu > li > a:hover, 
.nav-menu > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255,255,255,.25);
  text-decoration: none;
}

.nav-menu > .current-menu-item > a, 
.nav-menu > .current-menu-item > a:hover, 
.nav-menu > .current-menu-item > a:focus {
color: #000;
border-bottom-color: #000;
  text-decoration: none;
}
.nav-menu > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  color: rgba(0, 0, 0, 0.59);
  border-bottom: 2px solid transparent;
}
.nav-menu > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
}

/* BTN */

.btn-default:hover {
  background: #27ae60;  
  color: #fff;
}
.btn-default {
  background: #004ebc;
  padding: 20px 30px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 30px;
  width: 100%;
  font-size: 24px;
  font-family: 'Dosis', sans-serif;
}

/* FORM CONTROL */

.form-control {
  display: block;
  width: 100%;
  height: 42px;
  padding: 14px 20px;
  font-size: 20px;
  line-height: 1.42857143;
  color: #333;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 1px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

/* MAIN */

#main {
  margin-top: 40px;
}

/* PANEL */

.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: none;
  box-shadow: none;
  margin-top: 20px;
}

.panel ul {
  list-style: none;
  padding: 0px;
  font-size: 16px;
}

.panel-grid {
  padding-bottom: 30px;
}


.widget_recent-posts a {
font-size: 17px;
}

/* FOOTER */

div#footer {
padding-top: 40px;
background: #004ebc;
color: #fff;
}


form.wpcf7-form{
width: 90%;
margin-left: 5%;
}

/* Form */

div#mc_embed_signup {
margin-bottom: 0px;
}
div#mc_embed_signup h2{
text-align: center;
}

div#ninja_forms_form_2_all_fields_wrap {
width: 50%;
margin: 0 auto;
padding-bottom: 60px;
}

div#ninja_forms_form_2_cont {
width: 50%;
margin: 0px auto;
padding: 110px 17px;
}

form#ninja_forms_form_3 {
width: 50%;
margin: auto;
}
.ninja-forms-required-items {
display: none;
}




.textwidget li {
    list-style: none;
}

.last-moment-widget {
    width: 250px;
    display: block;
    margin: auto;
}

.last-moment-widget::before {
    content: url(http://petradovolena.cz/next_arrow.png);
    margin-left: -180px;
    margin-right: 80px;
    display: block;
    width: 200px;
    height: 175px;
    float: left;
    margin-bottom: -250px;
    padding-top: 25px;
}

.last-moment-widget::after {
content: url(http://petradovolena.cz/back_arrow.png);
/* margin-right: -220px; */
margin-left: 230px;
width: 200px;
height: 175px;
float: left;
margin-top: -250px;
padding-top: 25px;
}
/* Gallery */

figure.gallery-item {
float: left;
margin: 0 20px 30px 0;
width: 28%;
}
figure.gallery-item img{
max-width: 100%;
height: 100%;
}

/**/
.nav-menu > li > a { background:#004ebc; color:#fff; border-bottom-width:5px; padding-bottom:8px; }
.nav-menu > li > a:hover { background:#004ebc; border-bottom-color: #000; }
.nav-menu > li > a:focus { background:#004ebc; border-bottom-color: #000; }
.nav-menu > .current-menu-item > a,
.nav-menu > .current-menu-item > a:hover,
.nav-menu > .current-menu-item > a:focus { color:#fff; }

/* RESP */
@media (max-width: 1140px){
    div#ninja_forms_form_2_all_fields_wrap { width:100%; }
}
@media (max-width: 991px){
    #header { height: 120px; }
    #header-logo { position:absolute; left:0px; }
    #header-menu { width:100%; }
}
@media (max-width: 768px){
    div#ninja_forms_form_2_cont { padding-top:45px; }
    #header { height:120px; }
    #header-logo { position:absolute; width:auto; left:0px; top:0px; }
    #header-logo-content { margin-left:0px; }
    #header-menu { position:absolute; width:auto; right:0px; top:0px; }
    #menu-hlavni-menu { margin-right:0px; }
    
    #main { margin-top:10px; }
    #pgc-2-1-0, #pgc-2-2-0, #pgc-2-3-0, #pgc-2-3-1,
    #pg-2-0, #pg-2-1, #pg-2-2, #pg-2-3, #pl-2 .panel-grid-cell .so-panel { margin-bottom:0px !important; }
}

@media (max-width: 699px){    
    div#ninja_forms_form_2_cont,
    form#ninja_forms_form_3 { width:auto; }
}
@media (max-width: 654px){
    #header { height:90px; }
    #header-logo-content { max-width:150px; }
    #menu-hlavni-menu { margin-top:30px; }
}
@media (max-width: 579px){
    #header { height:80px; }
    #header-logo-content { max-width:130px; }
    #menu-hlavni-menu { margin-top:20px; }
    .nav-menu > li > a { font-size:13px; padding-bottom:4px; }
    
    ul, ol { padding-left:0px; }
    #panel-2-2-0-0.widget_recent-posts.so-panel { margin-bottom:20px !important; }
    .widget_recent-posts ul { padding-left:15px; }
}

@media (max-width: 469px){
    #header { height:70px; }
    #header-logo-content { max-width:110px; }
    #menu-hlavni-menu { margin-top:10px; }
    .nav-menu > li > a { font-size:12px; padding: 10px 5px; padding-bottom:4px; }
    
    body { font-size: 13px; }
    h2, .h2 { font-size: 23px; }
    h3, .h3 { font-size: 17px; }
    .widget_recent-posts a { font-size: 14px; }
    
    #rezervace {}
    #rezervace br { display:none; }
    #rezervace img { width:60%; height:auto; }
    #rezervace .btn-default { padding: 10px 30px; margin-bottom: 0px; }
    
    #jedno-kliknuti { margin-top:-28px; padding-bottom:5px; }
    #jedno-kliknuti h2, 
    #jedno-kliknuti .h2 { margin-top:0px; margin-bottom:0px; }
    
    #maillist { margin-top:-25px; }
    #mc_embed_signup { padding-left:0px; padding-right:0px; }
    #mc_embed_signup input { width:100% !important; }
    
    div#footer { padding-top:10px; }
    div#ninja_forms_form_2_cont { padding-top:15px; }
    div#ninja_forms_form_2_all_fields_wrap { padding-bottom:0px; }
    div#ninja_forms_form_2_cont { padding-bottom:10px; }
}
@media (max-width: 416px){
    #header { height:120px; }
    #header-menu,
    #header-logo { position:static; margin:auto; float:none; padding-left:0px; padding-right:0px; }
    #menu-hlavni-menu { float:none; }
}

/* update gallery */
#gallery-1 { display:flex; flex-wrap:wrap; align-items:center; }
#gallery-1 figure.gallery-item { width:33.33%; margin:0px; margin-bottom:15px; }
#gallery-1 figure.gallery-item img { max-width:90%; height:auto; }

