@import url('style.css');
html, body {
height: 100%; border: 0;
}
* {
margin: 0; padding: 0;
}
img {
border: 0;
}

.indent {
text-indent: 30px;
}
.aimg {
float: left;
margin: 6px 10px 4px 2px;
border-radius: 60px;
border: 2px;
width: 120px;
height: 120px;
}
img.aimg {
border: 5px;
}

.bimg {
float: right;
margin: 6px 2px 4px 10px;
border-radius: 60px;
width: 120px;
height: 120px;
}
.zagol {
font-family: 'Gabriela';
color: #c55727;
font-size: 17px;
}
.zagol a {
text-decoration: none;
color: #c55727;
}
p a {
text-decoration: none;
color: #191515;
}

.frubo {
font-family: 'Gabriela';
color: #000;
font-size: 15px;
}
a:focus {
outline: none;
}
body {
background: #ffe7ba;
color: #191515;
font: normal 15px/1.5 "Trebuchet MS";
}
.header {
margin: auto;
padding: 10px 0;
width: 100%;
height: 219px;
background: #d28f4b;
}
p a strong {
color: #c55727;
}
.header img {
display:block; 
margin:0 auto;
width: 520px;
}
h1 {
font-size: 21px;
color: #000;
text-align: center;
}
h1#header {
margin: auto;
text-align: center;
color: #fff;
justify-content: center;
flex-direction: column;
height: 250px;
font-family: 'Gabriela';
-webkit-font-smoothing: subpixel-antialiased;
font-size: 25px;
}
@font-face {
font-family: 'Gabriela';
src: url('fonts/gabriela-regular.eot');
src: url('fonts/gabriela-regular.eot?#iefix') format('embedded-opentype'), url('/fonts/gabriela-regular.woff') format('woff'), url('fonts/gabriela-regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
h1#inter {
clear: both;
margin: auto;
padding-top: 50px;
text-align: center;
color: #d28f4b;
font-family: 'Gabriela';
-webkit-font-smoothing: subpixel-antialiased;
font-size: 24px;
}
@font-face {
font-family: 'Gabriela';
src: url('fonts/gabriela-regular.eot');
src: url('fonts/gabriela-regular.eot?#iefix') format('embedded-opentype'), url('/fonts/gabriela-regular.woff') format('woff'), url('fonts/gabriela-regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
.footer {
margin: auto;
text-align: center;
color: #fff;
display: flex;
justify-content: center;
flex-direction: column;
width: 100%;
min-height: 100px;
background: #d28f4b;
}
.small {
width: 38%;
margin: 20px auto;
overflow: hidden;
text-align: justify;
}
.smalland {
width: 67%;
margin: 20px auto;
overflow: hidden;
text-align: justify;
}
.small a, .smalland a {
text-decoration: none;
}
.s-block {
float: left;
width: 32%;
margin: 0 2% 20px 0;
min-height: 245px;
max-height: 245px;
overflow: hidden;
}
.s-block p.up {
clear: both;
text-align: left;
}
.s-block p.up a {
text-decoration: underline;
color: #009900;
}
.s-block p.up a:hover {
text-decoration: none;
color: #fff;
}
.s-block h2 {
font-family: 'Gabriela';
-webkit-font-smoothing: subpixel-antialiased;
font-size: 20px;
}
@font-face {
font-family: 'Gabriela';
src: url('fonts/gabriela-regular.eot');
src: url('fonts/gabriela-regular.eot?#iefix') format('embedded-opentype'), url('/fonts/gabriela-regular.woff') format('woff'), url('fonts/gabriela-regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
.t-block {
float: left;
position: relative;
width: 49%;
margin: 0 2% 20px 0;
min-height: 200px;

}
.s-block:nth-child(3n+3) {
margin: 0 0 20px 0;
}
.t-block:nth-child(2n+2) {
margin: 0 0 20px 0;
}
.t-block p.tx {
text-align: justify;
padding: 0;
}
.t-block p.tx span {
display: block;
float: left;
width: 178px;
height: 100px;
margin-right: 10px;
margin-top: 4px;
}
.t-block p.tx span a.ny {
position: absolute;
display: block;
float: left;
width: 178px;
height: 100px;
}
.t-block p.tx span a.ny:hover {
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
height: 65%;
z-index: 2000;
background: url(i/ny001.jpg) center top no-repeat;
}
.t-block p.tx span a.ny:hover img {
visibility: hidden;
}
@media screen and (min-width: 400px) and (max-width: 800px) {

.s-block {
width: 48%;
}

.s-block:nth-child(odd) {
margin: 0 2% 0 0;
}
.t-block {
width: 98%;
}

.t-block:nth-child(odd) {
margin: 0 4% 20px 0;
}
}

@media screen and (max-width: 400px) {
.s-block {
width: 100%;
}
@media screen and (max-width: 400px) {
.t-block {
width: 100%;
}
}  