* {
    margin: 0;
    padding: 0;
}
html,
body {    
    width: 100%;
    height: 100%;
    font-family: 'Open Sans', sans-serif; 
    color: #121212;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 400;
    background-image: url(img/bg_gary.jpg);
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: #fff;
    border: 2px solid #dcd2c3;
    box-shadow:0px 2px 10px 0px rgba(0,0,0,0.20);
}

p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 8px;        
}
h1 {
    font-family: 'Ledger', serif;
    font-weight: 600;
    text-align: center;
    font-size: 28px;
    margin-bottom: 16px;

}
h2 {
    font-weight: 700;
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

h3 {
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    line-height: 24px;
    margin-bottom: 8px; 
 }
h5 {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px; 
}
a {
    color: #966;
    text-decoration: none;
}
a:active {
    color: #7d4343;
    text-decoration: underline;
}
a:visited {
    color: #a29797;
    text-decoration: none;
}
a:hover {
    color: #7d4343;
    text-decoration: underline;
}


/*index*/
.header {
    display: block; 
}
.header h1 {
    font-family: 'Ledger', serif;
    font-weight: 600;
    text-align: center;
    color: transparent;
    text-shadow: rgba(255,255,255,0.5) 0px 3px 3px; 
}
.header-index {
    width: 100%;  
    height: 330px;
    background-image: url(img/top_ind.jpg);
    background-size: cover;
    background-position: center top;
}
.header-index h1 {
    font-size: 60px;
    line-height: 0.8em;
    margin-top: 130px;
    margin-bottom: 10px;
}
.header-index h1 a {
     color: #a28374; 
}
.header-index h1 a:hover {
     text-decoration: none; 
}
.header-index h1 span {
   font-size: 25px;
    margin-top: 20px;
    line-height: 0.8em;
}

.content-index {
    font-size: 14px;
    line-height: 21px;
}

.cards-wrapper-index {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
}
.card-index {
    display: block;
    width: 30%;
    /*font-size: 14px;
    line-height: 22px;
    text-align: center;
    font-weight: bold;*/
    padding: 20px;
    border: 2px solid #dcd2c3;
    border-radius: 5px;
    margin-right: 20px;
    background-color: #faf9f6;
}
.card-index:last-child {
    margin-right: 0;
}
.card-index img {
    width: 85%;
    height: auto;
    display:  inline-block;
    vertical-align: bottom;
    margin-bottom: 20px;
    border: 2px solid #dcd2c3;
    border-radius: 5px;
}

.card-index:hover {
    background-color: #f4f0e9;
}
.card-index h3 {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}
.card-index img {
    margin: 0 auto 10px auto;
}
.card-index-link {
    font-size: 12px;
    font-style: italic;
    text-align: right;
}

.nav-index {
    text-align: center;
    display: flex;
    justify-content: center;

}
.nav-index li {
    display: block;
    list-style: none;
    margin-right: 20px; 
    font-size: 14px;
    font-weight: 700;
}
.nav-index li:last-child {
    margin-right: 0;        
}


/*article*/ 
.header-article {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-image: url(img/fonmr.jpg);
    padding: 20px 40px 8px 40px;
}
.header-article-link {
     font-family: 'Ledger', serif;
     font-weight: 600;
     font-size: 20px;
     margin-top: 26px;
}
.header-article h1 {
    display: block;
    font-size: 48px;
    line-height: 0.8em;
    margin-left: -70px; 
}

.header-article a {
     color: #a28374; 
}
.header-article h1 a:hover {
     text-decoration: none; 
}
.header-article h1 span {
   font-size: 20px;
    line-height: 0.6em;
}
/*nav-top*/

.nav-top {
    list-style: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 14px;
    margin-left: 30px;
}
.nav-top li {
    text-align: right;

    margin-bottom: 10px;
}
/*nav*/
.nav-wrapper {
      background-image: url(img/bg_light.jpg);
      border-bottom: 2px solid #ece3db;
      border-top: 2px solid #ece3db;
      margin-bottom: 20px;
}

.navigation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 20px 40px;
}
.navigation li {
    text-align: center;
    list-style: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2%;
    text-transform: uppercase;
    margin-right: 5px;
}
.navigation li:last-child {
    margin-right: 0;
}

/*article & pictures*/

.content {
    padding: 40px;
}
.content-article, .content-picture {
   flex: 1 0 auto; 
   padding: 40px  40px 50px 40px;
}
.content-article img {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-article a img {
    display: block;
    opacity: 1;
    -webkit-transform: scale(1,1);
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-duration: 550ms;
    -moz-transform: scale(1,1);
    -moz-transition-timing-function: ease-out;
    -moz-transition-duration: 550ms;
}

.content-article a img:hover {
    box-shadow: 1px 2px 12px 2px rgba(0,0,0,0.30);
    -webkit-transform: scale(1.2,1.2);
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-duration: 550ms;
    -moz-transform: scale(1.2,1.2);
    -moz-transition-timing-function: ease-out;
    -moz-transition-duration: 550ms;
}


.quoter, .content-picture .quoter {
    font-style: italic;
    text-align: left;
    
}
.right, .content-picture .right {
    text-align: right;
}
.links-bott {
    font-size: 12px;
    text-align: center;
    margin-top: 30px;
    clear: both;
}
.content-picture img {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 40px auto 25px auto;
}
.content-picture p {
 text-align: center;
}

.content-article .border {
    display: block;
    float: none;
    text-align: center;
    margin: 20px auto;
}

.footer {
    background-image: url(img/fonmr.jpg);
    border-top: 2px solid #c8b3a8;
    margin-top: 20px;
    padding: 10px;
    flex: 0 0 auto;
}
.footer p {
    text-align: center;
    font-size: 12px;

}


/*map*/

.list-map {
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #fdfbfb;
    background-image: url(img/bg_light.jpg);
    padding: 10px 20px;
    border: 2px solid #dcd2c3;
    border-radius: 5px;
    margin: 40px 10px;

}
.list-map a {
    font-size: 12px; 
    font-weight: normal;
    margin: 0 5px;
    text-indent: 0px;
}
/*links*/


.links h1, .links h2, .links h3 {
    text-align: left;
    margin: 20px 0;
}
.links p {
    margin: 10px 0 30px 0;
}
.links a img {
    text-align: left;
}
.links .border {
    display: block;
    float: none;
    text-align: center;
    margin: 50px auto 20px auto;
}

@media screen and (max-width: 1000px) {
    .header-article h1 {
        margin-left: 0;
    }
}


@media screen and (max-width: 800px) {
    .header-index h1 {
    margin-top: 110px;
    }
    .cards-wrapper-index {
    flex-direction: column;
    }

    .card-index {
        width: 90%;        
        margin-right: 0;
        margin-bottom: 20px;
    }
    .header-article {
     flex-direction: column;
     text-align: center;
     padding: 30px;
    }
    .header-article h1 {
        margin: 0 auto;
    }
    .header-article-link {
        margin-top: 0;
    }
    .nav-top {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin: 20px 0 0 0;
    }
    .nav-top li {
        margin: 0 10px;
    }
    .navigation {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    .navigation li {
        padding: 20px;
        border-top: 1px solid #f0ebe5;
        border-bottom: 1px solid #f0ebe5;
        }
    .navigation li:hover {
        background-color: rgba(255, 255, 255, 0.4);
      }
    .content-article img {
        display: block;
        width: 50%;
        height: auto;
        float: none;
        clear: both;
        margin: 20px auto;
}
        .content-picture img {
    display: block;
        width: 100%;
        height: auto;

}
    .content-article .borde0r, .content-picture .border {
    display: block;
    max-width: 250px;
    height: auto;
}
    .list-map {  
        margin: 0;
    }
    

        
    }


/*   «» ° </p>  */



