html,
body,
div,
span {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-align: center;
    background: url(../images/white-bg.jpg);
}

.main {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    height: 380px;
    width: 960px;
    font-style: oblique;
    margin: 0 auto;
    padding-bottom: 20px;
}

.mainsm {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    height: 380px;
    width: 760px;
    font-style: oblique;
    margin: 0 auto;
    padding-bottom: 20px;
    background: url(../images/white-bg.jpg);
}

.podval {
    text-align: center;
}

.txt {
    font-family: times, Times New Roman, times-roman, georgia, serif;
    text-align: left;
    font-size: 18px;
    color: #229CCF;
}

.txtw {
    font-family: times, Times New Roman, times-roman, georgia, serif;
    text-align: left;
    font-size: 18px;
    color: #FFFFFF;
}

.txtr {
    font-family: times, Times New Roman, times-roman, georgia, serif;
    text-align: left;
    font-size: 18px;
    color: #FF0000;
}

h1 {
    text-align: center;
    font-size: 20px;
}

h2 {
    text-align: center;
}

h2.left {
    text-align: left;
}

a.ovalbutton {
    background: transparent url('oval-blue-left.gif') no-repeat top left;
    display: block;
    float: left;
    font: Verdana, Geneva, sans-serif 14px;
    color: #cc33ff;
    line-height: 16px;
    /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 24px) */
    height: 24px;
    /* Height of button background height */
    padding-left: 11px;
    /* Width of left menu image */
    text-decoration: none;
}

a:link.ovalbutton,
a:visited.ovalbutton,
a:active.ovalbutton {
    color: #cc33ff/* #736AFF; #72A1BD; button text color*/
    font-weight: bold;
}

a.ovalbutton span {
    background: transparent url('oval-blue-right.gif') no-repeat top right;
    display: block;
    padding: 4px 11px 4px 0;
    /*Set 11px below to match value of 'padding-left' value above*/
}

a.ovalbutton:hover {
    /* Hover state CSS */
    background-position: bottom left;
}

a.ovalbutton:hover span {
    /* Hover state CSS */
    background-position: bottom right;
    color: #FB9429;
    font-weight: bold;
}

.contacts {
    Z-INDEX: 1;
    LEFT: 45%;
    FLOAT: none;
    VISIBILITY: visible;
    MARGIN: 2px;
    POSITION: absolute;
    TOP: 320px;
}

.extrim {
    Z-INDEX: 1;
    LEFT: 15%;
    FLOAT: none;
    VISIBILITY: visible;
    MARGIN: 2px;
    POSITION: absolute;
    TOP: 320px;
}

.safari {
    Z-INDEX: 1;
    RIGHT: 15%;
    FLOAT: none;
    VISIBILITY: visible;
    MARGIN: 2px;
    POSITION: absolute;
    TOP: 320px;
}

td {
    width: 150px;
    font-family: times, Times New Roman, times-roman, georgia, serif;
    text-align: left;
    font-size: 18px;
    color: #229CCF;
}

.img {
    width: 300px;
    height: 210px;
}


/*----------      ----------*/

.main_head_img_html {
    width: 100%;
    max-width: 960px;
    margin: auto;
}

.head_img_html {
    width: 100%;
    max-width: 960px;
    height: auto;
}

.btns_nav {
    position: relative;
    margin-top: -20px;
    width: 33%;
    float: left;
    text-align: center;
    margin-bottom: 30px;
}

.btns_nav a {
    display: inline-block;
    margin: auto;
    float: none;
}

.row:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}

.container {
    max-width: 960px;
    margin: auto;
    width: 100%;
}

.main {
    max-width: 960px;
    width: 100%;
    margin: auto;
}

@media screen and (max-width: 600px) {
    .btns_nav {
        margin-top: 10px;
        width: 100%;
        margin-bottom: 0;
    }
}

.img1_wr {
    max-width: 960px;
    width: 100%;
    margin: auto;
    text-align: center;
}

.img1_wr_block {
    display: inline-block;
    width: 300px;
    height: 200px;
    overflow: hidden;
}

.img1 {
    display: block;
    width: 100%;
    height: auto;
}

.b_form {
    width: 50%;
    float: left;
    text-align: left;
}

.row {
    padding: 5px;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .b_form {
        width: 100%;
    }
}
.mainsm{
    max-width: 960px;
    width: 100%;
    margin: auto;
}