


* {
    padding: 0;
    margin: 0;
}
html,
body {
    width: 100%;
    height: 100%;
    background-image: url(../img/pat2.jpg);
}
.content {
    min-height: 100%;
    max-width: 1200px;
    margin: 0 auto;

    padding: 0;
    background-image: url(../img/fon.jpg);
    border: 2px solid #d3c5b7;
    box-shadow:0px 2px 10px 0px rgba(0,0,0,0.20);
}
/*index*/
/*.header-index {
    width: 100%;
    padding: 0;
    display: block;
    flex-direction: row;
    background-image: url(../img/topmob.jpg);
    background-color: #fdfcfa;
}*/

.page-index {
    flex: 1;
    margin: 10px 20px; 
}
.header-top-index {
    background: url(../img/top2.jpg) no-repeat top;
   /* background-color: #f3e9e0;*/
    display: flex;
    justify-content: space-between;
    height: 295px;
    border-bottom: 2px solid #d3c5b7;

}
.top-index {
    padding-top: 10px;
   

}
.logo-index, .menu-top-index {
    padding-top: 88px;

}
.title a {
    display: block;
    margin-top: 14px;
    text-align: right;
    font-size: 30px;
}
.search {
    width: 300px; 
    margin-left: auto;
    margin-right: 8px;
}

.card-top, .card {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style-type: none;
    flex-wrap: wrap;
    margin: 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-right: 10px;
    padding: 10px;
    border-radius: 5px;
}

.card li {
    width: 22%;
    min-width: 220px;
    height: auto;
    display: block;
    text-align: center;
    margin: 5px;
    padding: 20px 10px;
    border: 2px solid #dcd2c3;
    border-radius: 5px;
}
.card h2  {
     font-family: "Verdana";
     font-size: 13px;
     margin-bottom: 10px;
}
.card h3  {
     font-family: "Verdana";
     font-size: 12px;
     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: 10px;
    font-style: italic;
    margin: 20px;
    vertical-align: bottom;
}
.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%;
    padding: 0;
    display: block;
    flex-direction: row;
    background-image: url(../img/topmob.jpg);
    background-color: #fdfcfa;
}
.header-top {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
}
.top {
    width: 220px;
}
.logo {
    display: block;
    font-size: 20px; 
    text-align: center;
    font-weight: bold;
}


/*top vertic menu*/
.menu-top, .menu-top-index {
    list-style-type: none;
    margin-right: 28px;
    margin-top: 28px;
}
.menu-top {
    margin-top: 28px;
}
.menu-top li, .menu-top-index {
    width: 200px;
    color: #930;
    flex-direction: column;
    display: block;
    font-size: 11px;
    line-height: 20px;
    text-align: right;

}

/*horizontal menu*/
.menu {
    height: auto;
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    margin: 3px 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: 7px 10px 7px 40px;
    text-indent: 0;
    text-align: left;
}
p.menu-nazv {
    font-size: 11px;
    color: #743000;
    text-align: left;
    text-indent: 0;
    margin: 15px 0 0 20px;
    font-weight: bold;
}
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;
    background-image: url(../img/fon.jpg)
}
.txt {
    display: block;
    margin: 20px 0 20px 20px;
}
p {
    font-family: "Verdana";
    font-size: 15px;
    text-align: justify;
    margin-bottom: 10px;
    text-indent: 40px;
}
h1 {
    font-family: "Verdana";
    font-size: 20px;
    color: #542504;
    text-align: center;
    margin: 20px;
}
h2 {
    font-family: "Verdana";
    color: #542504;
    font-weight: bold;
    font-size: 17px;
    text-align: center;
    margin: 15px;
}
h3 {
    font-family: "Verdana";
    font-size: 15px;
    text-align: left;
    font-weight: bold;
    margin: 8px 0 8px 40px;
}
h4 {
    font-family: "Verdana";
    color: #542504;
    font-size: 13px;
    text-align: center;
    font-weight: bold;
    margin: 10px;
}
h5 {
    font-family: "Verdana";
    font-size: 11px;
     color: #542504;
    text-align: center;
    font-weight: 600;
    clear: both;
    margin: 10px;
}
h6 {
    font-family: "Verdana";
    font-size: 13px;
    color: #542504;
    font-weight: bold;
    text-align: center;
    margin: 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: 11px;
}
.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;
    align-items: center;
    text-align: center;
    padding: 10px 10px 0 0;
}

.links-bott {
    font-size: 10px;
    text-align: center;
    margin-top: 50px;
    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: justify;
    text-indent: 0;
    margin: 20px;
    font-weight: normal;    
}

/*footer*/
.footer {

}
.copy {
    height: 30px;
    background-color: #dcd2c3;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
 }
.footer p {
    font-size: 11px;
    color: #999;
    text-align: center;
    padding: 10px;
}
.citata {
    font-size: 11px;
    color: #7b4b27;
    margin: 10px;
    text-align: center;
    text-indent: 0;

}
@media screen and (max-width: 900px) {
.header-top-index {
       height: 150px;
    }
.top-index {
    padding-top: 10px;
   height: 142px;
   

}
.logo-index, .menu-top-index {
    padding-top: 26px;
    float: left;
}
.logo-index img {
    width: 100%;
    }
.title a {
    margin-top: 14px;
    font-size: 20px;
}
    
.page {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    }
    
.txt img, .group img {
    height: auto;
    align-items: center;
    }    
  
}

@media screen and (max-width: 550px) {
 p, a, h1, h2, h3, h4, h5, h6 {
    font-size: 16px;
    margin-right: 10px;
}
.header-top-index {
     display: block;
    height: 250px;
    }
.top-index {
     display: none;   
    }
.title a {
    margin-top: 14px;
    font-size: 20px;
    text-align: center;
}
.logo-index img {
    width: 90%;
    margin-left: 10px;
    margin-right: 10px;
}
.logo-index, .menu-top-index {
    padding-top:10px;
    float: none;
}
.menu-top-index {
        display: inline-block;
        float: right;
    }
.menu-top-index a {
        font-size: 12px;
    }   
.menu-vertic {
    width: 100%;
    }
 .header-top {    
    display: block;
    flex-direction: column;
  }
.logo img {
    margin: 5px;
    width: 220px;
    height: auto;
    }
.menu-top {
     width: 90%;
     flex-direction: row;
     display: flex;
     justify-content:space-between;
    }
 .menu-top li {
        width: 90%;
        min-width: 100px;
        margin: 5px;
       font-size: 15px;
    }
   
.header {
    width: 100%;
    height: auto;
    background-image: url(../img/topmob.jpg)
    }
.menu {
    flex-direction: column;
    display: block;
    /*background-color: #fdfcfa;*/
    border: 2px solid #e9e2d8;
    border-radius: 5px;
    align-content: center;
 }
.card li {
    width: 80%;
    }
.menu li {
    text-align: left;
    margin: 10px;
    }
.menu li a {
    font-size: 16px;
    }

    
.logo img, .txt img, .group img {
    width: 95%;
    height: auto;
    align-items: center;
    }    
}

