img {
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
border: none;
}

h1 {font-size: 200%; font-weight: bold;}
h2 {font-size: 150%; font-weight: bold;}
h3 {font-size: 120%; font-weight: bold;}
h4 {font-size: 100%; font-weight: bold;}

a {color: #000000; text-decoration: underline;}
a:hover {text-decoration: none;}

table {border-collapse: collapse;}
.table {padding: 10px; border: 1px solid #cacaca;}

.field {width: 98%; margin-bottom: 10px; padding-left: 5px; min-height: 30px; font-size: inherit; font-family: inherit; resize: none; outline: none; border: 1px solid #cacaca;}

.popap-window.field {width: auto; margin-top: 20px;}

fieldset {outline: none; border: 0px none;}

.success {
color: green !important;
}
.error {
color: #ff0000 !important;
}

.no-margin {margin: 0px; padding: 0px;}

.on-field {
color: #000000 !important;
} /* Общий класс. Делает текст полей форм черным при получении фокуса. Задается через js */

.required-field {
margin-left: 5px;
color: #ff0000 !important;
}

.site-button {
margin: 0 auto;
cursor: pointer;
}
.site-button:hover {background: #eeeeee;}

.service-button {
background: linear-gradient(#ededed, #ffffff);
border: 1px solid .cacaca;
border-radius: 5px;
cursor: pointer;
font-size: 90%;
height: auto;
text-align: center;
}
.service-button:hover {
background: linear-gradient(#ffffff, #ededed);
}

.transition {
transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
-webkit-transition: all 0.5s ease-in-out;
}

.no-select-user {
-moz-user-select: -moz-none;
-o-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
user-select: none;
}

.wrapper-fixed {
width: 100% !important;
position: fixed !important;
}

.popap-background {
width: 100%;
max-width: 1920px;
min-width: 320px;
height: 100%;
margin: 0 auto;
position: fixed;
z-index: 10;
background: url('../images/popap-back-white.png') repeat;
display: none;
}

.popap-window {width: 50%; max-width: 600px; height: auto; margin: 0 auto; margin-top: 250px; padding: 20px; background: #ffffff; border: 1px solid #cacaca; border-radius: 10px; display: none;}
.popap-window-loader {width: 100px; height: 23px; font-size: 90%; font-style: italic; font-family: inherit; float: left; display: none;}
.popap-window-close {width: 23px; height: 23px; float: right; cursor: pointer;}

.form-message {width: auto; height: 100px; margin-top: 20px;}

.top-menu-default ul {width: 100%; margin: 0px auto; padding: 0px; text-align: center; list-style: none; display: table;}
.top-menu-default ul li {display: table-cell; vertical-align: middle;}
.top-menu-default ul li a {text-decoration: none; display: block;}


.justifyleft {
text-align: left;
}

.justifycenter {
text-align: center;
}

.justifyright {
text-align: right;
}

.justifyfull {
text-align: justify;
}


.clear {
clear: both;
}