html,
body {
    height: 100%;
}

body {
    background: #FFFFFF url("/img/bg_pattern.png");
    overflow-y: scroll;
    overflow-x: auto;
    font-size: 14px;
    color: #000000;
}

html,
a,
button,
input,
select,
textarea {
    font-family: Arial,Helvetica,"Helvetica Neue",sans-serif;
}

a,
a:visited,
a:hover {
    font-size: 14px;
    color: #000000;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:hover,
a:focus,
a:active {
    outline: 0 solid rgba(0, 0, 0, 0);
}

.hidden {
    display: none;
}

.button,
.button:visited {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 0 20px 0 20px;
    margin-bottom: 0;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    /*text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);*/
    vertical-align: middle;
    cursor: pointer;
    font-size: 16px;
    /*background-color: #f5f5f5;*/
    /*border: 1px solid #cccccc;*/
    border: 0 none;
    border-bottom: 3px solid #095c87;

    background-color: #0a79b3;

    -webkit-transition: background 0.2s linear;
    -moz-transition: background 0.2s linear;
    -o-transition: background 0.2s linear;
    transition: background 0.2s linear;

    /*-webkit-transition: background-position 0.2s linear;*/
    /*-moz-transition: background-position 0.2s linear;*/
    /*-o-transition: background-position 0.2s linear;*/
    /*transition: background-position 0.2s linear;*/

    outline: solid rgba(255, 255, 255, 0);

}

.button:hover {
    color: #FFFFFF;
    font-size: 16px;
    background-color: #095c87;
    text-decoration: none;
    /*background-position: 0 -23px;*/
}

.button[disabled],
.button[disabled]:hover {
    background-color: #aaaaaa;
    border-color: #888888;
    cursor: not-allowed;
}

#flashMessage {
    font-weight: bold;
    color: #FFFFFF;
    display: none;
    text-align: center;
    padding: 15px 10px 15px 10px;
    margin-bottom: 10px;
}

#flashMessage.notice {
    background-color: #007DB7;
}

#flashMessage.message,
#flashMessage.success {
    background-color: #5AB500;
}

#flashMessage.error {
    background-color: #C00033;
}

#yandex-informer {
    position: fixed;
    right: 0;
    bottom: 0;

    opacity: 0.01;

    -webkit-transition: opacity 0.3s 1s linear;
    -moz-transition: opacity 0.3s 1s linear;
    -o-transition: opacity 0.3s 1s linear;
    transition: opacity 0.3s 1s linear;
}


#yandex-informer:hover {
    opacity: 1;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: 99;
    background-color: rgba(255, 255, 255, 0);

    -webkit-transition: background 0.3s linear;
    -moz-transition: background 0.3s linear;
    -o-transition: background 0.3s linear;
    transition: background 0.3s linear;
}

#overlay.visible {
    width: auto;
    height: auto;
    right: 0;
    bottom: 0;

    background-color: rgba(255, 255, 255, 0.8);
}

#dialog {
    position: fixed;
    top: calc(50% - 200px);
    left: -2000px;
    width: 550px;
    height: auto;
    background-color: #FFFFFF;
    overflow: hidden;
    z-index: 100;

    -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);

    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;

    opacity: 0;

    -webkit-transition: opacity 0.3s linear;
    -moz-transition: opacity 0.3s linear;
    -o-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
}

#dialog.opened {
    opacity: 1;
    left: calc(50% - 275px);
}

#dialog .dialog-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    padding-left: 1px;
    height: 17px;
    text-align: center;
    text-decoration: none;
    line-height: 18px;
    font-size: 12px;
    background-color: #a0a0a0;
    color: #FFFFFF;
    z-index: 1000;
    font-weight: bold;

    -webkit-border-radius: 0 6px 0 6px;
    -moz-border-radius: 0 6px 0 6px;
    border-radius: 0 6px 0 6px;

    -webkit-transition: background 0.2s linear;
    -moz-transition: background 0.2s linear;
    -o-transition: background 0.2s linear;
    transition: background 0.2s linear;
}

#dialog .dialog-close:hover {
    background-color: #818181;
}

#dialog .dialog-content {
    overflow: auto;
    height: auto;
}

#dialog .dialog-preloader {
    width: 100%;
    height: 300px;
    background: url("../img/preloader.gif") no-repeat center center;
}

#breadcrumbs {
    margin: 10px 0 20px 0;
}

#breadcrumbs span {
    padding: 0 6px 0 6px;
    font-size: 14px;
}

#breadcrumbs span,
#breadcrumbs a,
#breadcrumbs a:hover,
#breadcrumbs a:visited {
    color: #7f7f7f;
}

#breadcrumbs a {
    font-size: 13px;
}

#breadcrumbs a.current {
    text-decoration: none;
}

form .input {
    margin-bottom: 15px;
}

form label {
    display: inline-block;
    width: 140px;
    margin-right: 15px;
    line-height: 30px;
    vertical-align: top;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
    display: inline-block;
    padding: 0 8px 0 8px;
    width: 323px;
    border: 1px solid #cccccc;
    vertical-align: top;

    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"] {
    height: 30px;
    line-height: 30px;
}

form textarea {
    resize: none;
    padding: 5px 8px 5px 8px;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    border-color: #0a79b3;

    -webkit-box-shadow: inset 0 0 3px 1px rgba(10, 121, 179, 0.50);
    -moz-box-shadow: inset 0 0 3px 1px rgba(10, 121, 179, 0.50);
    box-shadow: inset 0 0 3px 1px rgba(10, 121, 179, 0.50);

    outline: solid rgba(255, 255, 255, 0);
}

.autocomplete-suggestions {
    border: 1px solid #cccccc;
    border-top-width: 0;
}

.autocomplete-suggestions .autocomplete-suggestion,
.autocomplete-suggestions .autocomplete-no-suggestion {
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    background-color: #ffffff;

    padding: 0 8px 0 8px;

    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-transition: background 0.1s linear;
    -moz-transition: background 0.1s linear;
    -o-transition: background 0.1s linear;
    transition: background 0.1s linear;
}

.autocomplete-suggestions .autocomplete-suggestion.autocomplete-selected,
.autocomplete-suggestions .autocomplete-suggestion:hover {
    background-color: #CCCCCC;
}

.autocomplete-suggestions .autocomplete-no-suggestion {
    text-align: center;
    font-weight: bold;
    cursor: default;
}

form .submit-container {
    text-align: right;
}

form .submit-container input {
    display: inline-block;
}

.container {
    max-width: 960px;
    min-width: 800px;
    position: relative;
    margin: 0 auto 0 auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.feedback-form {
    width: 500px;
    margin: 0 auto 0 auto;
    padding: 25px 15px 15px 15px;
}

.feedback-form form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.feedback-form form .input,
.feedback-form form .captcha {
    margin-bottom: 0;
}

.feedback-form form .input input,
.feedback-form form .captcha input,
.feedback-form form textarea {
    padding: 4px 10px 4px 10px;
    border: 1px solid #bbbbbb;

    /*-webkit-border-radius: 4px;*/
    /*-moz-border-radius: 4px;*/
    /*border-radius: 4px;*/

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

    width: 350px;

    color: #48525a;
}

.feedback-form form input[readonly] {
    background-color: #EEEEEE;
    color: #777777;
}

.feedback-form form input.error,
.feedback-form form textarea.error {
    border-color: #d80000;

    -webkit-box-shadow: 0 0 4px 0 rgba(255, 0, 0, 0.50);
    -moz-box-shadow: 0 0 4px 0 rgba(255, 0, 0, 0.50);
    box-shadow: 0 0 4px 0 rgba(255, 0, 0, 0.50);
}

.feedback-form form .input input:focus,
.feedback-form form .input input.error:focus,
.feedback-form form .captcha input:focus,
.feedback-form form .captcha input.error:focus,
.feedback-form form textarea:focus,
.feedback-form form textarea.error:focus {
    border-color: #3f81c3;
    -webkit-box-shadow: inset 0 0 4px 1px rgba(63, 129, 195, 0.7);
    -moz-box-shadow: inset 0 0 4px 1px rgba(63, 129, 195, 0.7);
    box-shadow: inset 0 0 4px 1px rgba(63, 129, 195, 0.7);
}

.feedback-form form label {
    display: inline-block;
    width: 150px;
    line-height: 28px;
    margin: 0;
}

.feedback-form form .input input,
.feedback-form form textarea {
    margin-bottom: 12px;
}

.feedback-form form textarea {
    height: 96px;
    resize: none;
}

.feedback-form form #contact-form-submit {
    margin-top: 10px;
    text-align: right;
}

.feedback-form form .feedback-form-submit {
    margin-top: 15px;
    text-align: center;
}

.feedback-form form .feedback-form-submit input {
    /*-webkit-border-radius: 4px;*/
    /*-moz-border-radius: 4px;*/
    /*border-radius: 4px;*/
}

.feedback-form form .captcha img,
.feedback-form form .captcha input,
.feedback-form form .captcha a {
    vertical-align: top;
}

.feedback-form form .captcha label {
    width: auto;
    margin-right: 10px;
    line-height: 28px;
}

.feedback-form form .captcha input {
    width: 126px;
    margin-right: 5px;
}

.feedback-form form .captcha img {
    /*-webkit-border-radius: 4px;*/
    /*-moz-border-radius: 4px;*/
    /*border-radius: 4px;*/
}

.feedback-form form .captcha a {
    display: inline-block;
    width: 26px;
    height: 26px;
    color: transparent;
    background: url("../img/reload.png") no-repeat center center;
    overflow: hidden;
    margin-left: -8px;
}

#contact-form,
#callback-form {
    display: none;
}

#callback-form.inline,
#dialog #contact-form,
#dialog #callback-form {
    display: block;
}

#dialog #contact-form h2,
#dialog #callback-form h2 {
    text-align: center;
    margin-top: 0;
}

#order-form h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
}

#contacts {
    position: relative;
    min-height: 600px;
}

#kontakty #map {
    position: absolute;
    box-sizing: border-box;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
    min-width: 800px;
}

#kontakty .container {
    position: relative;
    z-index: 2;
    min-height: 550px;
    width: 1px !important;
    min-width: 0;
    max-width: 0;
}

#kontakty #contacts-panel {
    position: absolute;
    width: 300px;
    top: 50px;
    left: -500px;
    padding: 40px 30px 30px 30px;
    background-color: #FFFFFF;
    z-index: 1;
}
/*
#contacts #contacts-panel .text {
    font-size: 16px;
    margin-bottom: 25px;
}

#contacts #contacts-panel .text p {
    white-space: nowrap;
    margin: 0 0 6px 0;
}

#contacts #contacts-panel .button {

}

#contacts h1 {
    margin: 0 0 20px 0;
    text-align: left;
}*/

.pagination {
    margin: 10px 0 10px 0;
    text-align: center;
}

.pagination .buttons {
    display: inline-block;
    white-space: nowrap;
}

.pagination .pagination-button.disabled,
.pagination .pagination-button.current,
.pagination .pagination-button a {
    padding: 4px 8px 4px 8px;
    font-size: 16px;
}

.pagination .pagination-button.disabled {
    color: #FFFFFF;
}

.pagination .pagination-button.current {
    font-weight: bold;
}

body.http-error {
    padding-top: 0;
}

body.http-error header,
body.http-error #main-menu {
    position: static;
}

body.http-error #content {
    margin-top: 0;
    padding-top: 0;
}

#http-error {
    /*background: url("../img/logo.png") center 15px no-repeat;*/
    min-height: calc(100vh - 220px);
}

#http-error #http-error-message {
    width: 700px;
    text-align: center;
    margin: 0 auto 0 auto;
    padding: 60px 0 20px 0;
}

#http-error #http-error-message h1 {
    font-size: 22px;
    text-transform: none;
    color: #000000;
    font-family: Arial, sans-serif;
}

#http-error #http-error-message div,
#http-error #http-error-message div a {
    font-size: 16px;
}
