
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

html {
    font-size: 16px;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
}

.content {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

a {
    text-decoration: none;
}

h1 {
    max-width: 700px;
    font-size: 36px;
    font-weight: 400;
    font-family: 'Roboto Condensed', sans-serif;
    margin-bottom: 50px;
    color: #3C4A57;
}

.homepage {
    background-image: url("../img/bg-main.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #3C4A57;
}

.nohome {
    background-image: url("../img/bg-pages.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: black;
}

.container {
    max-width: 950px;
    margin: auto;
    padding: 50px 0;
}

.wrapper {
    max-width: 1140px;
    margin: auto;
}

.menuline, .menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin-right: 3 0px;
}

.menuline {
    padding: 15px 0;
}

.menulink {
    padding: 15px;
    text-align: left;
    display: block;
    margin-right: 15px;
}

.headmenu .menulink {
    color: #7C0000;
}

.headmenu .menulink:hover {
    text-decoration: underline;
}

.headmenu .menulink:active {
    color: #3C4A57;
    text-decoration: none;
}

.headmenu .menuline .active a {
    color: #3C4A57;
}

.footmenu .menuline .active a {
    color: #7C0000;
}

.footmenu {
    border-top: 1px dashed #FFFFFF;
    margin-top: 50px;
}

.footmenu .menulink {
    color: white;
}

.footmenu .menulink:hover {
    text-decoration: underline;
}

.footmenu .menulink:active {
    color: #7C0000;
    text-decoration: none;
}

.reflist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 50px;
    flex-direction: column;
    max-height: 160px;
}

.ref {
    color: #3C4A57;
    border-bottom: 1px dashed #3C4A57;
    padding: 10px 0;
    display: block;
}


.ref:hover {
    color: #7C0000;
}

.reflist .refitem {
    width: 33%;
}

.refitem {
    display: flex;
    align-items: center;
    position: relative;
}

.refitem:hover:before {
    content: "\2192";
    font-family: monospace;
    font-size: 22px;
    color: #7C0000;
    position: absolute;
    left: -25px;
}

.infotxt, .quoteline {
    color: white;
    margin-top: 100px;
}

.quoteline {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.quotetxt {
    font-size: 24px;
}

.quoteimg {
    padding-top: 12px;
}

.redtitle {
    color: #7C0000;
    font-size: 22px;
}

.infoblock {
    padding: 30px 0 20px;
}

.infoblock {
    border-bottom: 1px dashed #3C4A57;
}

.infoblock:first-of-type {
    padding-top: 0;
}

.infoblock:last-of-type {
   border-bottom: none;
}

.infoimg img {
    max-width: 250px;
    height: 200px;
    margin: 10px 20px 10px 0;
}

.infoimg {
    margin: 20px 0;
    display: flex;
}

.menubtn span {
    margin: 4px 0;
    background: #7C0000;
    padding: 2px;
    width: 24px;
    display: block;
}

.redlink {
    color: #7C0000;
}

.redlink:hover {
    color: #7C0000;
    text-decoration: underline;
}

.redlink:active {
    color: black;
    text-decoration: none;
}


.refmenu .active a {
    color: #7C0000;
}

.servlist {
    display: flex;
}

.gallerys {
    display: flex;
    flex-wrap: wrap;
    width: 65%;
}

.galitem {
    max-width: 270px;
    width: calc(50% - 20px);
    float: left;
    max-height: 190px;
    overflow: hidden;
    margin: 10px;
}

.serv {
    width: 35%;
}

.piclist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.picture {
    width: calc(33% - 10px);
}

.picture img {
    width: 100%;
}

.caption {
    min-height: 100px;
}

.pagination {
    display: flex;
}

.page-item {
    min-width: 36px;
    height: 36px;
    border: 1px solid #3C4A57;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    cursor: pointer;
    margin-right: 20px;
}

.page-item a {
    color: #3C4A57;
    font-size: 15px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    justify-content: space-evenly;
}

.page-item:hover {
    background-color: #3C4A57;
}

.page-item:hover a {
    color: white;
}

.page-item.active {
    background-color: #3C4A57;
}

.page-item.active a {
    color: white;
}

.arrnext:before {
    content: '\003E';
    font-family: monospace;
    font-size: 20px;
}

.arrprev:before {
    content: '\003C';
    font-family: monospace;
    font-size: 20px;
}

.map {
    margin-top: 50px;
    overflow: hidden;
}

.geo img {
    max-width: 100%;
}


.cont {
    line-height: 30px;
}

.aboutitem {
    margin: 20px 0;
}

.aboutitem img {
    min-width: 200px;
    width: 350px;
    max-width: 100%;
}

.about {
    display: flex;
}

.aboutxt {
    max-width: 450px;
    margin-left: 100px;
}

.num {
    color: black;
}