.osteklenie-header {
    background-color: #e8e8e8;
}
.hidden-sm {
    display: block;
}
#a9999, #b9999{    min-height: 590px;max-height: 590px;}
.balk-slider,.will-count{display:none;}
.hidden-md {
    display: none;
}

.block-gallery {
	width:100%;
	min-height: 650px;
	max-height: 650px;
	overflow: hidden;
}
.wrap-gallery{display:none;}
.block-gallery-viewer {
	width:84.5%;
	min-height: 650px;
	float:left;
	max-height: 650px;
	background: #eee;
	margin-right:.5%;
	background-size: cover;
	background-position: center center;
	transition:all .5s;
	position: relative;
}

.block-gallery-viewer span {
	display: block;
	opacity: 0;
	position: absolute;
	width:auto;
	bottom:0px;
	left:0px;
	right:0px;
	background: rgba(0, 0, 0, 0.71);
	color:white;
	transition: all 1s;
	padding:10px 20px;
}

.block-gallery-items {
	width:15%;
	float:left;
	transition:all 1s;

}

.block-gallery-items > a {
	display: block;
	width:100%;
	margin-bottom:5px;
	overflow: hidden;
	transition:all .5s;
	position: relative;
}

.block-gallery-items > a > span {
	display: block;
	position: absolute;
	width:auto;
	bottom:0px;
	left:0px;
	right:0px;
	background: rgba(0, 0, 0, 0.71);
	color:white;
	transition: all 1s;
	padding:3px 5px;
	font-size: 11pt;
}

.block-gallery-items > a:hover {
	opacity: 1;
}

.block-gallery-item-active {
	-webkit-filter: brightness(.5);
	filter:brightness(.5);
}

.block-gallery-items > a:hover > img {
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.block-gallery-items > a > img {
	max-width: 100%;
	width:100%;
	transition: all 0.3s;
}

.background-ddd {
    background: #ddd;
}

.margin-bottom-3em {
    margin-bottom: 3em;
}

div.wpcf7 {
    margin: 0;
    padding: 0;
}
div.wpcf7 .screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    margin: 0;
    padding: 0;
    border: 0;
}
.geneo-main-form {
    background: #ddd;
    padding: 2em;
    margin: 2em 0;
}

div.wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
}

.wpcf7-display-none {
    display: none;
}
.no-margin-top {
    margin-top: 0 !important;
}
.text-center {
    text-align: center !important;
}
.flex-md-row {
    flex-direction: row;
}
.flex {
    display: flex;
	width: 86%;
    margin: 0 auto;
}
.geneo-main-form .flex > div:first-child {
    border-right: 1px solid grey;
    flex: 1;
    padding: 0 2em;
}
.geneo-main-form .flex > div {
    align-self: center;
    flex: 1;
    text-align: center;
}
.geneo-main-form p {
    text-align: center;
}
.wpcf7-form-control-wrap {
    position: relative;
}
.geneo-main-form p input[type="text"] {
    background: #fff;
    box-shadow: none;
    -webkit-box-shadow: none;
    border: 1px solid grey;
    border-radius: 0;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    padding: 10px;
}
.geneo-main-form p input {
    background: #fff;
    box-shadow: none;
    -webkit-box-shadow: none;
    border: 1px solid grey;
    border-radius: 0;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    padding: 10px;
    width: 80%;
}
.geneo-main-form p input, .geneo-main-form p textarea {
    line-height: 1.1;
}
.geneo-main-form p textarea {
    background: #fff;
    box-shadow: none;
    -webkit-box-shadow: none;
    border: 1px solid grey;
    border-radius: 0;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    padding: 10px;
    max-height: 91px;
    width: 80%;
}
span.wpcf7-form-control-wrap input, span.wpcf7-form-control-wrap textarea, .wpcf7-submit {
       filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e9e9e9');
    /* background: -webkit-gradient( linear, left top, left bottom, color-stop(.5, white), color-stop(1, rgba(233, 233, 233, .50)) ); */
    background: -moz-linear-gradient( center bottom, rgb(233,234,235) 0%, rgba(255,255,255,0) 85% );

	border: 1px solid grey;
    /* border-radius: 5px; */
    
    /* -webkit-border-radius: 5px; */
    /* box-shadow: 0 0 5px rgba(0,0,0,.2); */
    /* -webkit-box-shadow: 0 0 5px rgba(0,0,0,.2); */
    -moz-box-shadow: 0 0 5px rgba(0,0,0,.2);
    line-height: 17px;
    margin: 0 0 0 0px;
    padding: 10px;
    width: 300px;
}
.geneo-main-form p input[type="submit"] {
	    width: 300px;
    background: #FD7F24;
    border: none;
    color: #fff;
    height: 40px;
    font-size: 1.1em;
    font-family: inherit;
    padding: 10px 30px;
    margin: 0;
    text-shadow: none;
}
.wpcf7-submit {
    margin: 8px 0 0 0px;
    -moz-box-shadow: inset 0px 1px 0px 0px #fce2c1;
    -webkit-box-shadow: inset 0px 1px 0px 0px #fce2c1;
    box-shadow: inset 0px 1px 0px 0px #fce2c1;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffc477), color-stop(1, #fb9e25) );
    background: -moz-linear-gradient( center top, #ffc477 5%, #fb9e25 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc477', endColorstr='#fb9e25');
    background-color: #ffc477;
    -webkit-border-top-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-left-radius: 10px;
    text-indent: 0;
    border: 1px solid #eeb44f;
    display: inline-block;
    color: #ffffff;
    font-family: Arial;
    font-size: 19px;
    font-weight: bold;
    font-style: normal;
    height: 50px;
    width: 200px;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 1px 0px #cc9f52;
}

@media only screen and (max-width: 500px) {
	div#mo1z {
    display: none;
}
	.flex {
     width: 100%;
}
.geneo-main-form .flex > div:first-child {
    border-right: 0;
}
.flex-col {
    width: 100%;
}
.geneo-main-form p input[type="text"] {
	width:100%;
}
input#tel {
    width: 100%;
}
textarea#message {
    width: 100%;
}
input.wpcf7-form-control.wpcf7-submit {
    width: 100% !important;
}
	
}