body {
    background: #FFFFFF;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 13px;
    margin: 0 0 0 0;
    padding: 0;
    color: #000000;

}

a:link {
    color: #333333;
    font-weight: bold;
}

a:visited {
    color: #808080;
    font-weight: bold;
}

input, textarea {
    width: 210px;
    background: #FFFFFF url('../images/img_04.gif') repeat-x;
    font: normal 1em/normal "Trebuchet MS", Arial, Helvetica, sans-serif;
    color: #757575;
    text-align: center;
    height: 29px;
    border-style: none;
}

h1, h2, h3 {
    color: #31363B;
    letter-spacing: -1px;
}

h1, h1 a, h2, h2 a {
    text-decoration: none;
}

h1 a:hover, h2 a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 38px;
    width: 344px;
}

h2 {
    font-size: x-small;
    font-weight: normal;
    width: 373px;
}

h3 {
    font-size: 16px;
}

ul, ol {
    /*margin-top: 15px;
	line-height: 1.5;*/
    margin: 0 25px 15px 40px;
    padding: 0;
    text-indent: 0;
}

abbr {
    border-bottom-style: dotted;
    border-bottom-width: thin;
}

blockquote {
    margin-left: 3em;
    margin-right: 3em;
}

a {
    color: #000000;
}

a:hover {
    text-decoration: none;
}

a img {
    border-style: none;
    border-color: inherit;
    border-width: medium;
    margin-left: 0;
}

img.left {
    float: left;
    /*margin-right: 20px;*/
}

img.right {
    float: right;
    /*margin-right: 20px;*/
}

p {
    margin: 0;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 15px;

}

/* 1 ( :   + ) */

#header1 {
    padding: 0;
    width: 980px;
    margin: 10px auto 2px auto;
    height: 200px;
    background-image: url('../images/logo.jpg?v=2');
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}


/* 2 ( :  +   +   +    . + .  )*/
#header2 {
    width: 980px;
    margin: 0 auto 2px;
    height: auto;
    padding: 0;
    /*background-color:#5FA2D7;*/
    background-color: #00B6FF;
    overflow: hidden;
}


/* 3 (  +  )*/
#header3 {
    width: 760px;
    height: 49px;
    float: right;
    background-color: #DEEDED;
}

.hd3_null1 {
    padding: 0;
    margin: 0;
    height: 12px;
    background-color: #00407C;
    /*background-color:#00B6FF;*/
}

.hd3_null2 {
    height: 36px;
    width: 36px;
    float: left;
    background-image: url('../images/img_04.png');
    background-repeat: no-repeat;
}


/* */
.tmenu1 {
    height: 37px;
    float: left;
    width: 646px;
    margin: 0;
    padding: 0;
}

.tmenu1 ul {

    height: 37px;
    width: 645px;
    margin: 0;
    padding: 0;
}

.tmenu1 li {
    float: left;
    margin: 0 1px 0 0;
    width: 128px;
    height: 37px;
    list-style-type: none;
    line-height: 37px;
    background-image: url('../images/img_0015.png');
    background-repeat: no-repeat;
}

.tmenu1 a {

    display: block;
    margin: 0;
    width: 128px;
    height: 37px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    font-family: Tahoma;
    text-align: center;
    text-indent: 0;

}

.tmenu1 a:hover {
    text-decoration: underline;
    color: #FFFFFF;
}


.tmenu1 .cur a {
    background-image: url('../images/img_0014.png');
    background-repeat: no-repeat;
    color: #FFFFFF;
}

/* */
#lang {
    width: 72px;
    float: right;
    height: 36px;
}

#lang_rus {
    margin: 0 2px 0 0;
}

#lang_eng {

}


/* 4   (  +    )*/
#header4 {
    width: 220px;
    float: left;
    background-color: #DEEDED;

}

/* */
#hd4_null_1 {
    height: 90px;
    background-color: #00407C;
    margin-bottom: 0;
}

/*  ( )*/
.tmenu2 ul {
    margin: 0;
    padding: 0;
    vertical-align: middle;
    list-style-type: none;
    width: 100%;
    border-top: 1px solid #DEEDED;
    background-color: #DEEDED;
}

.tmenu2 li {
    font-size: 12px;
    line-height: 30px;
    height: 30px;
    font-family: Tahoma;
    font-weight: bold;
    width: 100%;
    background-image: url('../images/img_0013.png');
    background-repeat: no-repeat;
    display: block;
    border-bottom: thin solid #FFFFFF;
}

.tmenu2 a {
    padding: 0 10px 0 30px;
    background-position: 12px 8px;
    color: #000000;
    /*line-height: 31px;*/
    background-image: url('../images/marker.gif');
    background-repeat: no-repeat;
    text-decoration: none;
    display: block;

}

.tmenu2 a:hover {
    text-decoration: underline;
    text-transform: uppercase;
    color: #FFFFFF;
    height: 30px;
    width: 100%;
    /* border-bottom: thin solid #FFFFFF;*/
}

.tmenu2 .cur {
    background-image: url('../images/img_0012.png');
    background-repeat: no-repeat;

}

.tmenu2 .cur a {
    color: #FFFFFF; /*padding: 0px 10px 0px 30px;*/
    height: 30px;
    text-transform: uppercase;
}

/*  (      )*/
.tmenu3 ul {
    margin: 0;
    padding: 0;
    vertical-align: middle;
    list-style-type: none;
    width: 100%;
    border-top: 1px solid #DEEDED;
    background-color: #DEEDED;
}

.tmenu3 li {
    font-size: 12px;
    line-height: 30px;
    height: 30px;
    font-family: Tahoma;
    font-weight: bold;
    width: 100%;
    background-image: url('../images/img_0009.png');
    background-repeat: no-repeat;
    display: block;
    border-bottom: thin solid #FFFFFF;
}

.tmenu3 a {
    padding: 0 10px 0 30px;
    background-position: 12px 8px;
    color: #000000;
    /*line-height: 31px;*/
    background-image: url('../images/marker.gif');
    background-repeat: no-repeat;
    text-decoration: none;
    display: block;

}

.tmenu3 a:hover {
    text-decoration: underline;
    /*text-transform: uppercase;*/
    color: #FFFFFF;
    height: 30px;
    width: 100%;
    /* border-bottom: thin solid #FFFFFF;*/
}

.tmenu3 .cur {
    background-image: url('../images/img_0010.png');
    background-repeat: no-repeat;
}

.tmenu3 .cur a {
    /*border-bottom: thin solid #FFFFFF;*/
    color: #FFFFFF;
    /*background: url('images/marker.gif') no-repeat 12px 8px;*/
    padding: 0 10px 0 30px;
    height: 30px;
    /*text-transform: uppercase;*/
}

.specif_Razdel {
    text-indent: 0;
    padding-bottom: 8px;
}


/* */
#hd4_null_2 {
    padding: 0;
    height: 50px; /*50px*/
    width: 100%;
    /*background-image: url('../images/img_03.png');*/
    background-image: url('../images/bg_img011.jpg');
    background-repeat: repeat-x;
    margin-top: 0;
}

/* */
#hd4_null_3 {
    padding: 0;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    /*background-color: #5FA2D7;*/
    background-color: #00B6FF;
}

/*    */
.hd4_info {
    padding: 0;
    /*height: 400px;*/
    background-color: #00B6FF;
    width: 100%;
}

.hd4_info p {
    margin: 0;
    padding: 5px 8px 8px 8px;
    font-family: Tahoma;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-decoration: underline;
    line-height: 1.2;
    color: #000000;
    text-indent: 0;
}

.hd4_info a {
    display: block;
    padding: 5px 20px 20px 20px;
    font-family: Tahoma;
    font-size: 12px;
    text-align: justify;
    line-height: 1.2;
    text-indent: 0;
}


.hd4_info img {
    margin: 20px 24px 20px 35px;
    cursor: pointer;
}

.hd4_static_tmenu2 {
    text-align: center;
    font-size: 14px;
    font-family: Tahoma;
    height: 32px;
    line-height: 32px;
    background-image: url('../images/img_0011.png');
    background-repeat: no-repeat;
    text-decoration: underline;
    font-weight: bold;

}

/*  ( )*/
#main {
    padding: 20px 10px 2px 10px;
    width: 740px;
    float: right;
    background-color: #DEEDED;
    font-size: 14px;
    font-family: Tahoma;
    text-align: justify;
    text-indent: 20px;
    height: 100%;
}

/*  (  )*/
#developers {
    width: 980px;
    border-top: 4px solid #5A7AB1;
    background-color: #00407C;
    margin: 0 auto 5px auto;
    height: 65px;
}

#rulon1 {
    background-position: right;
    width: 18%;
    float: left;
    height: 61px;
    background-image: url('../images/rulon_1.png');
    background-repeat: no-repeat;
    padding-top: 3px;
}


#dev_text {
    width: 64%;
    float: left;
    font-weight: bold;
    font-family: Tahoma;
    padding-top: 25px;
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
    height: 38px;
}

#rulon2 {
    width: 18%;
    float: right;
    height: 61px;
    background-image: url('../images/rulon_2.png');
    background-repeat: no-repeat;
    background-position: left;
    padding-top: 3px;
}

.partn_Logo {
    float: left;
    width: 15%;
    height: 52px;
}

.partn_Name {
    margin: 0;
    float: right;
    width: 85%;
    height: 52px;
}

.partn_Name p {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    text-indent: 0;
}

.spoiler {
    margin-top: 5px;
    margin-bottom: 5px;
    height: auto;
}

.spoiler img {
    margin-right: 8px;
}

.spoiler_totdiv {
    height: 46px;
    width: auto;
}

.spoiler_rule {
    height: 48px;
    width: 65%;
    float: left;
}

.spoiler_rule01 {
    height: 48px;
    width: 62%;
    float: left;
}

.spoiler_text01 {
    height: 48px;
    width: 30%;
    float: left;
    margin-top: 14px;
    color: #666666;
    font-weight: bold;
    text-indent: 7px;
}

.spoiler_rule hr, .spoiler_rule_close, .spoiler_rule01 hr {
    margin-top: 24px;
    color: #808080;
    width: 90%;
}

.spoiler_rule_close {
    height: 48px;
    width: 88%;
    float: left;
    margin-right: 4%;
}

.spoiler_text {
    height: 32px;
    width: 25%;
    float: left;
    margin-top: 14px;
    color: #666666;
    font-weight: bold;
}


.spoiler_button_down, .spoiler_button_up, .hlink_button {
    margin: 8px;
    float: left;
    color: #000000;
    background-repeat: no-repeat;
    text-align: center;
    background-color: #DEEDED;
    font-weight: bold;
    display: block;
    height: 32px;
    width: 32px;
    cursor: pointer;
}

.spoiler_button_down {
    /*background-image: url('../images/arrows_down02.png');*/
    background-image: url('../images/bottom.png');
    background-repeat: no-repeat;
}

.spoiler_button_up {
    /*background-image: url('../images/arrows_up02.png');*/
    background-image: url('../images/top.png');
    background-repeat: no-repeat;
}

.spoiler_p {
    float: left;
    height: 100%;
    width: 670px;
    text-align: center;
    text-indent: 0;
    padding-bottom: 5px;
    padding-top: 10px;
}

.spoiler_picL, .spoiler_picR {
    text-align: center;
    text-indent: 0;
    width: 50%;
    padding-bottom: 20px;
}

.spoiler_picL {
    float: left;
}

.spoiler_picR {
    float: right;
}

.spoiler_picC {
    text-align: center;
    text-indent: 0;
    padding-bottom: 20px;
    width: 720px;
    height: 100%;
}


.hlink_button {
    background-image: url('../images/NextPage.png');
    background-repeat: no-repeat;
}


/*   */
.soft_info {
    margin-left: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #808080;
    height: 530px;
}

.soft_z1 p {
    font-weight: bold;
    text-decoration: underline;
    text-align: center;
    margin: 0;
    padding: 10px;
}

/*   -*/
.ref_list {
    line-height: 20px;
    padding-top: 5px;
}

.ref_list p {
    text-indent: 0;
}

.ref_list_div {
    padding-top: 5px;
    border: thin solid #999999;
    margin-bottom: 20px;
    height: auto; /*background: #007E3E; /*   */ /*color: #fff; /*   */ /*padding: 10px; /*    */
    -moz-border-radius: 15px; /*  Firefox 3 */
    -webkit-border-radius: 15px; /*  Safari 4  Chrome */
    border-radius: 15px;
}

.ref_list_div p {
    padding-bottom: 0;
    text-indent: 0;
}


.div_01 {
    background-image: url('../images/div_01.gif');
    background-repeat: no-repeat;
    width: 690px;
}

.div_block {
    line-height: 20px;
    height: 100%; /*background: #007E3E; /*   */ /*color: #fff; /*   */ /*padding: 10px; /*    */ /*-moz-border-radius: 15px; /*  Firefox 3 */ /*-webkit-border-radius: 15px; /*  Safari 4  Chrome */ /*border-radius: 15px;*/
    -moz-border-radius: 0 0 15px 15px; /*  Firefox 3 */
    -webkit-border-radius: 0 0 15px 15px; /*  Safari 4  Chrome */
    border-radius: 0 0 15px 15px;
    border-style: none solid solid solid;
    border-width: thin;
    border-color: #00B6FF #999999 #999999 #999999;
    margin-bottom: 20px;
}

.div_block00 {
    border-left: thin solid #999999;
    border-right: thin solid #999999;
    border-top: thin solid #999999;
    border-bottom: thin solid #00B6FF;
    padding: 10px 25px 5px 25px;
    background-color: #00B6FF;
    height: auto; /*background: #007E3E; /*   */ /*color: #fff; /*   */ /*padding: 10px; /*    */
    -moz-border-radius: 15px 15px 0 0; /*  Firefox 3 */
    -webkit-border-radius: 15px 15px 0 0; /*  Safari 4  Chrome */
    border-radius: 15px 15px 0 0;
    border-style: solid solid none solid;
}

.div_block01 {
    background-image: url('../images/bg_img011.jpg');
    background-repeat: repeat-x;
    height: 50px;
    padding: 0;
    text-indent: 0;
}

.div_block02 {
    background-image: url('../images/bg_img012.jpg');
    background-repeat: repeat-x;
    height: 75px;
    padding: 0;
    text-indent: 0;
}

.div_block04 {
    border: thin solid #999999;
    padding: 10px 25px 5px 25px;
    margin-bottom: 20px;
    height: auto; /*background: #007E3E; /*   */ /*color: #fff; /*   */ /*padding: 10px; /*    */
    -moz-border-radius: 15px; /*  Firefox 3 */
    -webkit-border-radius: 15px; /*  Safari 4  Chrome */
    border-radius: 15px;
}

.null_page:before {
    font-size: 36px;
    text-align: center;
    height: 353px;
    padding-top: 100px;
    content: "This page is UNDER Construction";
    font-weight: bold;
}

.li_two {
    margin-left: 30px;
    text-indent: 0;
    list-style-type: circle;
}

.li_one {
    padding-bottom: 5px;

}

.signature {
    font-style: italic;
    text-align: right;
}

.contacts {
    border: thin solid #999999;
    text-indent: 0;
    margin-bottom: 15px;
    width: 100%;
    float: left; /*background: #007E3E; /*   */ /*color: #fff; /*   */ /*padding: 10px; /*    */
    -moz-border-radius: 15px; /*  Firefox 3 */
    -webkit-border-radius: 15px; /*  Safari 4  Chrome */
    border-radius: 15px; /*    */
}

/* Адаптивна верстка: на екранах вужче за 1000px колонки стають у стовпчик */
img, video, iframe {
    max-width: 100%;
}

@media (max-width: 1000px) {
    #header1, #header2, #developers {
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }

    #header1 {
        height: auto;
        aspect-ratio: 980 / 200;
        background-size: cover;
    }

    #header2 {
        display: flex;
        flex-direction: column;
    }

    #header3, #header4, #main {
        float: none;
        width: auto;
        height: auto;
    }

    #header3 {
        order: 1;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    #main {
        order: 2;
        text-align: left;
        overflow-x: hidden;
    }

    #header4 {
        order: 3;
    }

    .hd3_null1, .hd3_null2, #hd4_null_1, #hd4_null_2, #hd4_null_3 {
        display: none;
    }

    .tmenu1, .tmenu1 ul {
        float: none;
        flex: 1;
        width: auto;
        height: auto;
        display: flex;
        flex-wrap: wrap;
    }

    .tmenu1 li {
        flex: 1 1 128px;
        width: auto;
        background-size: 100% 100%;
    }

    .tmenu1 a {
        width: auto;
    }

    #lang {
        float: none;
        width: auto;
        height: auto;
        padding: 0 8px;
    }

    .tmenu2 li, .tmenu3 li {
        background-size: 100% 100%;
    }

    p, ul, ol {
        padding-left: 10px;
        padding-right: 10px;
    }

    ul, ol {
        margin-left: 25px;
        margin-right: 10px;
    }

    #main img, #main video, #main iframe {
        height: auto;
    }

    #main iframe {
        aspect-ratio: 640 / 385;
    }

    #main [style*="width"], .spoiler_p, .spoiler_picC, .div_01 {
        max-width: 100%;
    }

    #main [style*="float:left; height:240px"], #main [style*=" float:left; height:240px"] {
        float: none !important;
        height: auto !important;
        width: auto !important;
        text-align: center;
    }

    .spoiler_p, .spoiler_picC, .spoiler_picL, .spoiler_picR {
        float: none;
        width: auto;
    }

    .spoiler_rule, .spoiler_rule01, .spoiler_text, .spoiler_text01 {
        height: auto;
    }

    #developers {
        height: auto;
        overflow: hidden;
    }

    #rulon1, #rulon2 {
        display: none;
    }

    #dev_text {
        float: none;
        width: auto;
        height: auto;
        padding: 15px 0;
    }
}
