/*-----------------------------------------------------------------------------------
 
  Theme Name: Okayokna
  Author: VPdesign
 
-----------------------------------------------------------------------------------*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Russo+One&subset=latin-ext,latin);


body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #033276;
  font-size: 14px;
}

#top-line {
	background: #033175;
	height: 10px;
	width: 100%;
}

.container {
    min-width: 320px;
  }

@media screen and (min-width: 992px) {
  .container {
    width: 960px;
  }
}
@media screen and (min-width: 1200px) {
  .container {
    width: 960px;
  }
}

#header {
	margin: 0 auto;
	min-height: 108px;
	background: url(img/header-bg.jpg) center top no-repeat;
	background-size: auto;
	overflow: hidden;
}

@media screen and (min-width: 768px) {

#header {
	background-size: auto;
}

}

#logo-container {
	z-index: 1000;
}

.logo-content {
	position: relative;
	bottom: 10px;
	width: 100%;
}

.logo {
	height: 93px;
	width: 306px;
	margin: 0 auto;
}

.logo-img {
	display:block;
	height: 93px;
	background: url(img/logo-mobile.png) no-repeat; 
}

@media screen and (min-width: 768px) {

#logo-container {
	position: absolute;
	z-index: 1000;
}

.logo-content {
	position: relative;
	right: 290px;
	bottom: 11px;
	width: 880px;
	background: url(img/logo-container.png) no-repeat;
background-size: contain;
}

.logo {
	height: 93px;
	width: 306px;
	margin: 0 auto;
}

.logo-img {
	display:block;
	height: 93px;
	background: url(img/logo.png) no-repeat; 
}

.modal-dialog {
    width: 760px;
}

}


#footer {
	background: #033276;
	min-height: 210px;
	margin-top: 55px;
}

#undfooter {
	padding: 15px 0;
	background: #192959;
	min-height: 40px;
}

@media screen and (min-width: 768px) {

#undfooter {
	padding: 0;
	background: #192959;
	height: 40px;
}

}

/* BASIC TAGS -------------------------------------------------------------------------------------------- */

h1 {
	font-size: 24px;
	font-weight: 800;
	color: #e00e19;
	margin: 35px 0 20px 0;
}

h2 {
	font-size: 20px;
	font-weight: 800;
	color: #e00e19;
}

h3 {
	font-size: 18px;
	font-weight: 800;
	margin: 35px 0 20px 0;
}

h4 {
	font-size: 14px;
	font-weight: 800;
	margin: 25px 0 10px 0;
}


.home h1 {
	margin: 35px 0 0 0;
}

.home h3 {
	margin: 5px 0 20px 0;
}


.title h2 {
	margin: 20px 0 0 0;
}

.title h3 {
	margin: 5px 0 20px 0;
}

.subtitle h3 {
	color: #e00e19;
}

.intro-content .intro h2 {
	text-align: right;
	background: #e00e19;
	height: 75px;
	width: 92%;
	line-height: 75px;
	color: white;
	font-weight: 400;
	padding-right: 20px; 
	margin-bottom: 0;
	margin-top: 0;
	float: right;
}

.intro-content .intro h2:hover {
	background: #ce121c;
	color: white;
}

.intro-content .intro h2 a {
	color: white;
	text-decoration: none;
}

@media screen and (min-width: 768px) {


.intro-content .intro h2 {
	width: 92%;
}

}

@media screen and (min-width: 992px) {

.intro-content .intro h2 {
	width: 85%;
}

}

p {
	margin: 0px 0px 15px;
}

hr {
  border: 0;
  height: 1px;
  width: 100%;
  color: #033276;
  background-color: #033276;
  clear: both;
  margin-top: 30px;
  display: inline-block;
}


/* MENU -------------------------------------------------------------------------------------------- */



#main-menu {
	background: #e00e19;
	min-height: 65px;
}

#main-menu .navbar {
	margin-bottom: 0;
}

#main-menu .container {
	margin: 0 auto;
	padding-left: 0;
	padding-right: 0;
}

#main-menu .navbar-default {
	border: none;
	background: none;
}

#main-menu .navbar-default .navbar-collapse {
	border: none;
	max-height: none;
}

#main-menu .navbar-default .navbar-toggle {
  border-color: white;
  margin-top: 15px;
  margin-bottom: 15px;
}

#main-menu .navbar-default .navbar-toggle .icon-bar {
  background-color: white;
}

#main-menu .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
  background-color: #ce121c;
}

#main-menu .navbar-default .navbar-header {
  height: 65px;
}

#main-menu .navbar-nav {
  margin: 0 -15px;
}

#main-menu .navbar-nav a {
	margin-top: 1px;
}

#main-menu .navbar-nav a:hover {
	background: #ce121c;
}

#main-menu .navbar-nav > .open > a {
	background: none;
}

#main-menu .navbar-nav > .open > a:hover {
	background: #ce121c;
}

#main-menu .navbar-nav .dropdown-menu {
	padding: 0;
}

#main-menu .navbar-nav .active > a {
	background: #ce121c;
}

#main-menu .navbar-nav .open .dropdown-menu > .active > a {
	background: #ce121c;
	margin-top: 1px;
}

#main-menu ul{
	font-weight: 600;
}

#main-menu ul li a{
	color: white;
	font-weight: 600;
}

@media screen and (min-width: 768px) {

#main-menu .container {
	padding-left: 15px;
	padding-right: 15px;
}

#main-menu ul{
	list-style-type:none;
	font-size: 16px;
	padding: 0;
}

#main-menu .navbar-nav a:hover {
	background: #ce121c;
}

#main-menu .navbar-nav a {
	line-height: 65px;
	padding: 0px 25px;
	display: block;
	height: 65px;
	text-decoration: none;
	margin-top: 0;
}

#main-menu .active {
	background: #ce121c;
}

#main-menu .active a {
	background: #ce121c;
}

#main-menu .navbar-nav .dropdown-menu a {
	background: white;
	line-height: 35px;
	height: 35px;
	margin-top: 1px;
}

#main-menu .navbar-nav .active > a {
	margin-top: 0;
}

#main-menu .navbar-nav .open .dropdown-menu > .active > a {
	background: none;
}

#main-menu .navbar-nav .dropdown-menu a:hover {
	background: #F5F5F5;
}

#main-menu .navbar-nav .dropdown-menu .active {
	background: #F5F5F5;
}

#main-menu .navbar-nav .dropdown-menu .active a {
	background: #F5F5F5;
	margin-top: 1px;
}

#main-menu ul .menu-separator {
	width: 1px;
	height: 65px;
	background: url(img/separator.png) center center no-repeat;
}

#main-menu ul .menu-separator:last-child {
	width: 1px;
	height: 65px;
	background: none;
}

#main-menu .menu-item-391 a {
	background: url(img/ico-home.png) center center no-repeat !important;
	font-size: 0;
	
}

#main-menu .menu-item-391 a:hover {
	background: #ce121c url(img/ico-home.png) center center no-repeat !important;
}

#main-menu .navbar-default .navbar-collapse {
	padding-left: 0;
	padding-right: 0;
}

#main-menu .navbar-nav {
  margin: 0;
}

#main-menu .open a {
	background: none;
}

.dropdown:hover .dropdown-menu {
   display: block;
}

#main-menu ul ul li a{
	color: #e00e19;
	line-height: 30px;
	padding: 0px 30px;
	display: block;
	height: 30px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}

}

/* PAGE -------------------------------------------------------------------------------------------- */

.page-content  {
	text-align: justify;
}

.page-content h2 {
	margin: 35px 0 15px 0;
}

.page-content a {
	color: #e00e19;
	text-decoration: underline;
}

.page-content a:hover {
	color: #b7111a;
}


.page-content ul {
  list-style: none;
  padding-left: 15px;
}

.page-content ul li {
  padding-bottom: 0px;
  padding-left: 15px;
}


.page-content ul li:before {
  content: "";
  width: .5em;
  height: .5em;
  background-color: #033276;
  float: left;
  margin: .5em 0px 0 0;
  position: absolute;
  left: 15px;
}


.col {
  padding-left: 0;
  padding-right: 0;
}

/* SIDEBAR CONTENT ------------------------------------------------------------------------------------- */

#sidebar {
  margin-top: 8px;
}

#sidebar h2 {
  margin-top: 30px;
}


#sidebar ul {
  list-style: none;
  padding-left: 0px;
  margin-bottom: 0;
}

#sidebar ul li {
  padding-bottom: 15px;
  padding-left: 15px;
}


#sidebar ul li:before {
  content: "";
  width: .5em;
  height: .5em;
  background-color: red;
  float: left;
  margin: .5em 10px 0 0;
  position: absolute;
  left: 0px;
}

/* FOOTER CONTENT ------------------------------------------------------------------------------------- */

#footer {
	color: white;
}

#footer .services {
	display: none;
}

#footer .services-mobile {
	position: relative;
	bottom: 20px;
	display: block;
}

#footer .services-mobile img {
	height: auto;
	max-width: 100%;
	margin: 0 auto;
	display: block;
}

.allow-cookies {
    position: fixed;
    width: 100%;
    min-width: 320px;
    bottom: 0;
    z-index: 50000000;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
    margin: 0;
    border-radius: 0px;
    color: #fff;
}
.allow-cookies a,
.allow-cookies a:hover,
.allow-cookies a:focus {
    color: #fff;
    text-decoration: underline;
}
.allow-cookies .close,
.allow-cookies .close:hover,
.allow-cookies .close:focus {
    color: #fff;
}
.allow-cookies .close {
    opacity: 0.6;
}
.allow-cookies .close:hover {
    opacity: 1;
}

@media screen and (min-width: 768px) {

#footer .services {
	position: relative;
	bottom: 20px;
	display: block;
}

#footer .services img {
	height: auto;
	max-width: 100%;
	margin: 0 auto;
	display: block;
}

#footer .services-mobile {
	display: none;
}

}

#footer .contacts {
	margin-top: 20px;
}

#footer .col{
	width: auto;
	padding-left: 0;
	padding-right: 0;
}

#footer .col-last {
	width: auto;
	padding-left: 0;
	padding-right: 0;
}

#footer .separator {
	width: 1px;
	height: 117px;
	background: url(img/footer-separator.png) center center no-repeat;
	float: left;
	display: none;
}

@media screen and (min-width: 768px) {

#footer .col-last {
	float: right;
}

#footer .separator {
	margin: 0 46px;
	display: block;
}

}

@media screen and (min-width: 992px) {

#footer .separator {
	margin: 0 99px;
	display: block;
}

}

#footer .title {
	color: #8199bb;
	font-size: 18px;
	display: block;
	margin-bottom: 10px;
}

#footer .two {
	margin-top: 25px;
}


#footer .text, .text-last {
	font-size: 14px;
	margin-right: 5px;
}

#footer .text-first {
	font-size: 14px;
	margin-right: 5px;
	display: block;
}

#footer .text:after {
	content: ", "
}

#footer .phone {
	font-size: 14px;
	margin-right: 25px;
	padding-left: 27px;
	background: url(img/ico-phone.png) left center no-repeat;
}

#footer .email {
	font-size: 14px;
	margin-right: 25px;
	padding-left: 27px;
	background: url(img/ico-email.png) left center no-repeat;
}

#footer .email a {
	font-size: 14px;
	color: white;
}

@media screen and (min-width: 768px) {

#footer .two {
	margin-top: 0;
}

#footer .text {
	font-size: 14px;
	display: block;
}

#footer .text-first {
	margin-right: 0;
}


#footer .text:after {
	content: none;
}

#footer .phone {
	margin-right: 0;
	display: block;
}

#footer .email {
	margin-right: 0;
	display: block;
}

}

#footer .certificates {
	margin-top: 45px;
	margin-bottom: 25px;
}


@media screen and (min-width: 768px) {

#footer .certificates {
	margin-top: 45px;
	margin-bottom: 0;
}

}

#footer .certificates img {
	margin-right: 35px;
}

#footer .certificates .last {
	margin-right: 0;
}

#undfooter a {
	color: white;
	text-decoration: none;
}

#undfooter .copyrights {
	color: white;
	font-size: 12px;
	font-weight: 400;
}

#undfooter .registers {
	color: white;
	font-size: 12px;
	font-weight: 400;
	float: left;
}

@media screen and (min-width: 768px) {

#undfooter .copyrights {
	line-height: 40px;
	float: left;
}

#undfooter .registers {
	line-height: 40px;
	float: right;
}

}
			
			
/* OTHERS -------------------------------------------------------------------------------------------- */


.slider {
	display: none;
}

@media screen and (min-width: 768px) {

.slider {
	height: 340px;
	display: block;
}

}

.intro-content .intro {
	margin-top: -60px;
	padding-left: 0;
	padding-right: 0;
}

@media screen and (min-width: 992px) {

.intro-content .intro {
	margin-top: -60px;
	padding-left: 15px;
	padding-right: 15px;
}

.intro-content .left {
	padding-left: 0;
	padding-right: 15px;
}

.intro-content .right {
	padding-left: 15px;
	padding-right: 0;
}

}

.intro-content .text {
	padding: 95px 20px 20px 20px;
	text-align: justify;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.01, #F4F4F4), color-stop(1, #FFFFFF));
	background-image: -o-linear-gradient(bottom, #F4F4F4 1%, #FFFFFF 100%);
	background-image: -moz-linear-gradient(bottom, #F4F4F4 1%, #FFFFFF 100%);
	background-image: -webkit-linear-gradient(bottom, #F4F4F4 1%, #FFFFFF 100%);
	background-image: -ms-linear-gradient(bottom, #F4F4F4 1%, #FFFFFF 100%);
	background-image: linear-gradient(to bottom, #F4F4F4 1%, #FFFFFF 100%);
}

.intro-content .block {
	xposition: relative;
	xbottom: 130px;
}

.intro-content .plastic {
	background: url(img/intro-plastova-okna.png) center top no-repeat;
	height: 188px;
	width: 115px;
	position: relative;
	top: 105px;
	right: 10px;
	z-index: 100;
}

.intro-content .wood {
	background: url(img/intro-drevena-okna.png) center top no-repeat;
	height: 188px;
	width: 119px;
	position: relative;
	top: 105px;
	right: 10px;
	z-index: 100;
}

.intro-content .alu {
	background: url(img/intro-hlinikova-okna.png) center top no-repeat;
	height: 188px;
	width: 104px;
	position: relative;
	top: 105px;
	right: 10px;
	z-index: 100;
}

.navbar-collapse {
  max-height: 340px;  /* *** THIS IS YOUR ISSUE *** */
  padding-right: 15px;
  padding-left: 15px;
  overflow-x: visible;
  border-top: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-overflow-scrolling: touch;
}

.navbar-collapse.in {
  overflow-y: auto;
}

.btn {
  border: none;
  background: #e00e19;
  color: white !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 600;
  width: 152px;
  heigth: 42px;
}

.btn:hover {
  background: #ce121c;
}

.btn:focus {
  background: #ce121c;
}

.map {
  margin: 30px 0 0 0;
}

.map iframe {
  border: 1px solid #cccccc;
}

.contacts-form {
  margin-top: 20px;
  margin-bottom: 20px;
  padding-bottom: 30px;
  background: #eeeeee;
  border: 1px solid #cccccc;
}

.contacts-form h2 {
  margin-left: 15px;
  margin-bottom: 30px;
}

.contacts-form .formcol {
  margin-top: 20px;
}

.contacts-form input {
  height: 40px;
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  border: 1px solid #cccccc;
}

.contacts-form textarea {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 10px;
  border: 1px solid #cccccc;
}

.contacts-form input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { 
  color: #999999;
}
.contacts-form input:-moz-placeholder, textarea:-moz-placeholder { 
  color: #999999;
}
.contacts-form input::-moz-placeholder, textarea::-moz-placeholder { 
  color: #999999;
}
.contacts-form input:-ms-input-placeholder, textarea:-ms-input-placeholder { 
  color: #999999;
}

.contacts-form .wpcf7-submit {
  border: none;
  background: #e00e19;
  color: white !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 600;
  width: 92px;
  height: 42px;
  float: right;
  padding: 6px 12px;
  border-radius: 4px;
}
.contacts-form .wpcf7-submit:hover {
  background: #ce121c;
}

.wpcf7-validation-errors {
  color: #e00e19 !important;
  clear: both !important;
  margin: 0 !important;
  border: 2px solid #e00e19 !important;
}

.wpcf7-mail-sent-ok {
  color: #033276 !important;
  clear: both !important;
  margin: 0 !important;
  border: 2px solid #033276 !important;
}



html, .modal, .modal.in, .modal-backdrop.in {
    overflow-y: auto;
    overflow-x: auto;
    overflow-y: auto;
    min-width: 320px;
    font-size: 16px;
}

.modal-open {
    overflow-y: scroll;
}

.modal-header {
    border: none;
}

.modal-content {
    border-radius: 0;
    z-index: 300;
}

.modal-content img {
    width: 100%;
    height: auto;
}

.modal-content .close:hover, .close:focus {
  color: #e00e19;
  opacity: 1;
}

.modal-content .modal-title {
  color: #e00e19;
  font-weight: 600;
}

.gallery img {
  margin: 0 0 15px 0;
  border: 1px solid #CCC;
  display: block;
}

.gallery .col-md-4 {
  padding-right: 0;
  width: auto;
}

.pull-right {
  margin: 0 0 25px 25px;
}

.da-dots {
    z-index: 1000 !important;
}


.sider {
position: fixed;
top: 40%;
left: 0;
width: 100px;
padding: 15px;
color: #bf1021;
}

.okay-dum {
margin-bottom: 10px;
background: #fff url(/wp-content/uploads/2016/10/internetovy-obchod-okay-dum-cz.jpg) right center no-repeat;
width: 90px;
height: 290px;
-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
margin-left: -30px;
transition: all 0.5s ease;
}

.okay-dum:hover {
margin-left: -20px;
}

.okay-dum-img {
position: relative;
z-index: 100;
}

@media screen and (max-width: 768px) {

.sider {
display: none;
}
}


@media screen and (max-width: 480px) {

.okay-dum-img {
width: 100%;
height: auto;
}
}