
* {
    padding: 0;
    margin: 0;
}
html,
body {
    width: 100%;
    height: 100%;
    background-image: url(../img/fon2.jpg);
}

.content {
    min-height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-image: url(../img/fon4.jpg);
    border: 2px solid #d3c5b7;
    box-shadow:0px 2px 10px 0px rgba(0,0,0,0.20);
}
/*index*/
.page-index {
    flex: 1;
    margin: 20px 20px 0 20px; 
}
.header-index {
    width: 100%;
    padding: 0;
    flex-direction: row;
    background-color: #fdfcfa;
    border-bottom: 2px solid #e9e2d8;
}
.header-top-index {
    width: 100%;
    height: 55px;
    background-color: #f3e9e0;
    background-image: url(../img/fon4.jpg);
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #d3c5b7;
    padding: 0;
}
 .header-index img {
    width: 100%;
    height: auto;
}
img.logo-img {
    width: 265px;
    height: 50px;
}
.card-top, .card {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style-type: none;
    flex-wrap: wrap;
    margin: 20px 0;
}
.card-top-1 {
    flex: 3;
    border: 0;
}
.card-top-2 {
    flex: 1;

}
.card-top li {
    width: auto;
    height: auto;
    display: block;
    text-align: center;
    margin: 0;
    padding: 0;
    border-radius: 5px;
}
.card li {
    width: 21%;
    min-width: 200px;
    height: auto;
    display: block;
    text-align: center;
    padding: 10px;
    border: 2px solid #dcd2c3;
    border-radius: 5px;
}
.card h2  {
     font-family: "Verdana";
     font-size: 13px;
     margin-bottom: 10px;
}
.card-top-2 h3  {
     font-family: "Verdana";
     font-size: 13px;
     margin-bottom: 10px;
    text-align: left;
}

.card p {
    font-size: 12px;
    text-align: left;
    text-indent: 0px;
    margin: 10px;
   }
p.right-i {
    text-align: right;
    font-size: 11px;
    font-style: italic;
    margin: 20px;
    vertical-align: bottom;
}
.right-i a {
    font-weight: normal;
}
.card img {
    display: inline-block;
    width: 100%;
    border: 1px solid #dcd2c3; 
    margin-bottom: 10px;
}
.card img:hover {
    border: 1px solid #963; 
}

/*txt*/
.header {
    width: 100%;
    height: auto;
    padding: 0;
    flex-direction: row;
    background-color: #fdfcfa;
    border-bottom: 2px solid #e9e2d8;
}
.header-top {
    width: 100%;
    background-color: #f3e9e0;
    display: flex;
    justify-content: space-between;
    padding: 0;
    border-bottom: 2px solid #d3c5b7;

}
/*.top {
    width: 325px;
    border: 1px solid red;
}*/
.logo {
    display: block;
    padding: 0;
    margin: 0 0 0 20px;
}

/*top vertic menu*/
.menu-top {
    width: auto;
    list-style-type: none;
    margin: 20px 0;
    flex-direction: row;
    display: flex;
    float: left;
}
.menu-top li {
    width: 120px;
    display: block;
    color: #993300;
    font-size: 10px;
    margin: 0 20px 0 10px;
    text-align: right;
}
/*horizontal menu*/
.menu {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    margin: 10px 20px;
}
.menu li {
    display: block;
    text-align: center;
}
.menu li a {
    font-size: 11px;
    font-weight: bold;
}
/*menu-vertic*/
.menu-vertic {
    display: block;
    flex-direction: column;
    margin: 20px;
    background-color: #fdfcfa;
    border: 2px solid #e9e2d8;
    border-radius: 5px;
    height: auto;
    align-content: center;
}
.menu-vertic p {
    font-family: "Verdana"; 
    width: 250px;
    display: block;
    font-size: 11px;
    font-style: italic;
    margin: 10px 10px 10px 40px;
text-indent: 0;
    text-align: left;
}
p.menu-nazv {
    font-size: 12px;
    text-align: left;
    text-indent: 0;
    margin-left: 20px;
}
p.menu-razd {
    font-size: 8px;
    font-style: italic;
    text-align: right;
    margin-bottom: 25px;
}

.page {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.txt {
    display: block;
    margin: 20px 0 20px 20px;
}
p {
    font-family: "Verdana";
    font-size: 14px;
    text-align: justify;
    margin-bottom: 10px;
    text-indent: 40px;
}
h1 {
    font-family: "Verdana";
    font-size: 20px;
    text-align: center;
    margin: 5px 10px 30px 10px;
}
h2 {
    font-size: 16px;
    text-align: center;
    margin: 15px 0;
}
h3 {
    font-family: "Verdana";
    font-size: 15px;
    text-align: left;
    font-weight: bold;
    margin: 10px 0 10px 25px;
}
h4 {
    font-size: 13px;
    text-align: left;
    font-weight: bold;
    margin: 10px 0;
}
h5 {
    font-size: 12px;
    padding: 10px;
    text-align: center;
    clear: both;
    margin: 0 20px;
}
.center {
    text-align: center;
        font-size: 12px;
}
.txt img {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}
.quoter {
    font-style: italic;
    text-indent: 0;
    margin-top: 6px;
    margin-bottom: 6px;
}
.right {
    text-align: right;
    margin-top: 6px;
    font-size: 15px;
}
.group {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 30px 0 10px 0;
}
.group img {
    margin: 5px;
}
.publ {
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
}

.links-bott {
    font-size: 10px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    clear: both;
}

a {
    font-family: "Verdana";
    color: #CC6633;
    font-weight: bold;
}
a:link {
    color: #963;
    text-decoration: none;
}
a:active {
    color: #c30;
    text-decoration: underline;
}
a:visited {
    color: #c96;
    text-decoration: none;
}
a:hover {
    color: #c30;
    text-decoration: underline;
}
.col {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0;
}
.col-txt {
    width: 47%;
}
.col-txt h2 {
    font-size: 15px;
    text-align: left;
    text-indent: 0;
    margin: 15px 0;
}
.col-txt h3 {
    font-size: 13px;
    text-align: left;
    font-weight: bold;
    margin: 10px 0 10px 25px;
}
.col-txt p {
    font-size: 11px;
    text-align: left;
    margin: 5px 0 5px 50px;
    text-indent: 0;
}

/*links*/
.links {
    display: block;
    margin: 20px;
    padding: 5px;
}
.links img {
    text-align: left;
}
.links p {
    text-align: left;
    text-indent: 0;
    margin: 30px;

}
.links p a {
    font-weight: normal;    
}

/*footer*/
.footer {
    height: 25px;
    background-color: #dcd2c3;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.footer p {
    font-size: 12px;
    color: #fff;
    margin: 5px;
    text-align: center;
}

@media screen and (max-width: 800px) {
 p {
    font-size: 14px;
   text-align: left;
}
.page {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    }
.txt {
     width: 95%;
     margin-right: 20px;
    }
.txt img, .group img {
    width: 60%;
    height: auto;
    align-items: center;
}
.header, .header-top, .menu-top {
    width: 100%;
    height: auto;
}
.top {
     width: 10px;
    }
 .header-top-index, .header-index {
     width: 100%;
     height: auto;
     vertical-align: top;
}
.card-top {
    display: block;
    flex-direction: column;
  } 
.card {
    display: block;
    width: 60%;
    flex-direction: row;
    }
.card li {
    width: 60%;
    min-width: 300px;
    
    }
 .card li img {
     width: 60%;
    }    
}

@media screen and (max-width: 550px) {
     p {
    font-size: 12px;
    margin: 10px;
    text-align: left;
    }
    .menu-top li {
    text-align: center;
    }
     .menu-vertic {
    width: 100%;
    }
    .header-top-index, .header-top {
    height: 80px;
    display: block;
    text-align: center;
    }  
    .header {
    width: 100%; 
    height: auto;
    text-align: center;    
    }
    .menu-top {
     margin: 0 auto;
    }
    .menu {
    flex-direction: column;
    }
    .menu li {
    text-align: left;
    margin: 10px;
    }
    .txt img, .group img {
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
}
    .card-top, .card {
    width: 100%; 
    flex-direction: column;
    }
    .card-top li, .card li {
    width: 100%;
    min-width: 270px;
    border: 0px; 
     }
    .col {
    width: 100%;
    flex-direction: column;
    }
   .col-txt {
    width: 100%;
    }
 }