* {
    padding: 0;
    margin: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: 'PT Sans', sans-serif;
    font-size: 18px;  
}


a { 
    color: #CC6633;
}

a:link {
    color: #993300;
    text-decoration: none;
}

a:active {
    color: #FF0000;
    text-decoration: underline;
}

a:visited {
    color: #CC6633;
    text-decoration: none;
}

a:hover {
    color: #FF0000;
    text-decoration: underline;
}
p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 14px;
}

h1 {
    font-family: 'Merriweather', serif;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}
h2 {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 25px;
    font-weight: 700;
}
h3 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}
h5 {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    clear: both;
    margin: 10px 0;
}

.page-border {
    width: 99.9%;
    height: auto;
    border: 2px solid #bb9f76;
    border-radius: 10px;
    background-image: url(img/f2.jpg);
}
/*
div {
    border: 1px solid red;
}*/



/*index*/

.container, .container-index {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0;    
}

.header, .header-index {
    height: auto;
    padding: 30px 30px 20px 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: 0;
}

.header-link, .header-index-link {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 8px;
}
.name, .header-index h1 {
    display: block;
    font-family: 'Merriweather', serif;
    letter-spacing: 1px;
    text-align: center;
    font-weight: 700;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 0;
}
.header-index h1 span  {
    font-size: 14px;
    line-height: 0.8em;
}

.nav-top, .nav-top-index {
    display: block;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
}

.nav-top li, .nav-top-index li {
    flex-direction: row;
    display: block;
    font-size: 14px;
    text-align: right;
    margin-right: 20px;
    font-weight: 700;
}
.nav-top li:last-child, .nav-top-index li:last-child {
    margin-right: 0;
}

.picture-index {
    width: 100%;
    height: 600px;
    background: url(img/madonna_top.jpg) top center fixed no-repeat;
    background-size: cover;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.content, .content-text-index {
    background-color: #fff;
    padding: 30px;
    border: 1px solid #dcd2c3;
}
.cards-wrapper-index {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 30px 0;
}
.card-index {
    display: block;
    width: 18%;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    font-weight: bold;
    padding: 20px 10px;
    border: 2px solid #dcd2c3;
    border-radius: 5px;
    margin-right: 20px;
}
.card-index:last-child {
    margin-right: 0;
}
.card-index img {
    max-width: 75%;
    height: auto;
    display:  inline-block;
    vertical-align: bottom;
    margin: 20px 0 10px 0;
}

.card-index:hover {
    background-color: #f8f6f2;
}

.columnes-wrapper-index {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 40px 0 10px 0;
    background: #f8f6f2;
    border: 2px solid #dcd2c3;
    border-radius: 5px;
}
.column-index {
    display: block;
    width: 45%;
    height: auto;
    padding: 20px;
}


/*footer*/
.footer, .footer-index {
    
    background-color: #d2c7b1;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.footer p, .footer-index p {
    font-size: 14px;
    line-height: 14px;
    color: #654f2f;
    text-align: center;
    margin: 10px;
}


/*articles pictures*/ 
.content-text {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;

    border: 1px solid #dcd2c3;
    display: flex;
    flex-direction: column;
}
.name-text {
    font-size: 22px;    
}


.menu-top {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    margin-bottom: 20px;
}
.menu-top li {
    max-width: 300px;
    display: block;
    font-size: 14px;
    line-height: 22px;    
    text-align: center;
    font-weight: bold;
    margin-right: 20px;
}
.menu-top li:last-child {
    margin-right: 0;
}


.article-wrapper, .pictures-wrapper { 
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #fff;
    padding: 0;
    margin-top: 20px;
} 
.article-text, .picture {
    display: block;
    margin-right: 30px;
    max-width: 820px;
}
.article-text img {
    float: right;
    margin: 3px 0 5px 20px;    
}

.article-text 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;
}
.article-text 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;
}





.picture h1, .picture h2 {
    text-align: center;
}

.picture img {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    
}
.picture p {
    text-align: center;
}


/*sidebar*/
.sidebar {
    display: block;
    flex-direction: column;
    list-style-type: none;
    background: #f8f6f2;
    border: 2px solid #dcd2c3;
    border-radius: 5px;
    height: auto;
    padding: 10px;

}
.sidebar li {
    display: block;
    width: 280px;
    font-size: 16px;

    margin: 10px;
    padding: 0px;
}
.sidebar-title {
    font-size: 16px;
    font-weight: 700;

}
li.sidebar-link {
    font-size: 12px;
    font-style: italic;
    text-align: right;
}






.group-pic {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}
.group-pic img, .group-pic a {
    display: block;
    margin: 0 auto;
    padding: 10px;

}
.links-bott {
    font-size: 14px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    clear: both;
}

/*canvas*/
.canvas {
    width: 69%;
    display: block;
    margin: 20px;
}


.canvas p {
    font-size: 14px;
}
.canvas img {
    display: block;
    max-width: 730px;
    margin: 0 auto;
    padding: 20px 5px;
}
.publ li {
    font-size: 14px;
    text-align: center;
    margin: 30px 0;
}

/*link*/
.link {
    display: block;
    margin-right: 30px;
    width: 100%;
}
.link img {
    text-align: left;
}
.link p {
    margin-bottom: 20px;
}

/*map*/  


.all-pic a {
    font-size: 12px;
    font-weight: normal;
    font-style: italic;
    margin: 20px 5px;
    text-indent: 0px;
}

@media screen and (max-width: 860px) {
    
    
    .picture-index {
    width: 100%;
    height: 600px;

    background-size: cover;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

    .article-wrapper, .pictures-wrapper { 
    width: 100%;
    display: flex;
    flex-direction: column;

    background-color: #fff;
    padding: 0;
    margin-top: 20px;
} 
.article-text, .picture, .link {
    display: block;
    margin-right: 30px;
    width: 100%;
}

.picture h1, .picture h2 {
    text-align: center;
}

.picture img {
    display: block;
    margin: 30px auto;
    width: 100%;
    height: auto;    
}
 
.sidebar {
    display: block;
    flex-direction: column;
}
    .sidebar li {
    display: block;
    width: 70%;
    font-size: 16px;

    margin: 10px;
    padding: 0px;
}
.sidebar-title {
    font-size: 16px;
    font-weight: 700;

}
li.sidebar-link {
    font-size: 12px;
    font-style: italic;
    text-align: right;
}
 

.cards-wrapper-index {
    flex-direction: column;
    margin: 20px 0;
}
    .card-index {
       width: 90%;
      margin: 0 0 10px 0;
      
    }
    

.card-index img {
    max-width: 50%;
    height: auto;
    display:  block;
    margin: 20px auto;

}
    
 .header, .header-index {
     flex-direction: column;

    height: auto;
    padding: 25px 30px 0 30px;

    border: 0;
}


.header-link, .header-index-link {
    text-align: center;
    margin-bottom: 10px;
    


}
.name {
    text-align: center;
    margin-bottom: 30px;
}

    
    .nav-top, .nav-top-index {
     margin: 0 auto 10px auto;   
    }
 
}


@media screen and (max-width: 630px) {
  .menu-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    list-style-type: none; 
    margin: 0 auto;
}
.menu-top li {
    width: 100%;
    display: block;
    font-size: 14px;
    line-height: 22px;    
    text-align: center;
    font-weight: bold;
    margin-right: 0;
    margin-bottom: 20px;
}
    .article-text img {
    display: block;
    width: 50%;
    height: auto;
    float: none;
    margin: 10px auto 20px auto;    
}
    .group-pic {
        width: 100%;

    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
}
    .group-pic img, .group-pic a {
    display: block;
    width: 60%;
    height: auto;
    margin: 0 auto;
}

}


/* </p> «» <strong> </strong>   */


