@font-face {
    font-family: 'Roboto';
    src: url('./../fonts/Roboto/Roboto-Light.ttf');
}

@font-face {
    font-family: 'Roboto-Bold';
    src: url('./../fonts/Roboto/Roboto-Bold.ttf');
}

@font-face {
    font-family: 'Open Sans';
    src: url('./../fonts/opensans/OpenSans-Regular.ttf');
}

@font-face {
    font-family: 'Open Sans Semi Bold';
    src: url('./../fonts/opensans/OpenSans-Semibold.ttf');
}

@font-face {
    font-family: 'Open Sans Bold';
    src: url('./../fonts/opensans/OpenSans-Bold.ttf');
}

@font-face {
    font-family: 'Roboto-Bold';
    src: url('./../fonts/Roboto/Roboto-Bold.ttf');
}

html, body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

body {
    width: 100%;
    padding: 30px 15px;
    margin-right: auto;
    margin-left: auto;
    font-family: 'Open Sans';
}

#lab {
    display: none;
    position: absolute;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-size: 16px;
    line-height: 21px;
}

#lab div:not(#ua) {
    position: relative;
    top: 10px;
    padding: 15px;
}

#lab strong, #lab span {
    display: flex;
}

#ua {
    height: 30px;
    width: 15px;
    background: #0056B4;
}

#ua::after {
    content: '';
    display: block;
    height: 30px;
    width: 15px;
    background: #FFC108;
    position: relative;
    top: 30px;
}

#h {
    width: 100%;
    display: flex;
    align-self: center;
    justify-content: center;
}

h1, h2 {
    text-align: center;
}

h1 {
    font-size: 30px;
    letter-spacing: 5px;
    line-height: 20px;
}

h2 {
    position: relative;
    left: -5px;
    font-size: 15.5px;
}

#tit {
    width: calc(100% - 30px);
    height: 50px;
    background-color: #E9ECEF;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-top: 35px;
}

.background {
    height: 220px;
    margin: 25px 0 20px 0;
    background: url(../images/bigbud.png) no-repeat center;
    background-size: contain;
    width: calc(100% - 30px);
}

main {
    /*min-height: 484px;*/
    margin: 25px 0;
    /*background: url(../images/bigbud.png) no-repeat center;*/
    background-size: cover;
    width: calc(100% - 30px);
    display: flex;
    justify-content: center;
}

main > div {
    margin-bottom: 25px;
}

nav {
    /*margin: 15px;*/
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

nav p {
    display: flex;
    min-height: 50px;
}

nav > div {
    width: 30.3333333%;
    margin: 5px;
    border: 2px solid #E9ECEF;
    border-radius: 15px;
    /*max-height: 175px;*/
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
    text-align: center;
    padding: 5px;
}

nav > div:hover {
    transition: .1s;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

/*nav > div img {*/
/*    -webkit-filter: grayscale(100%); !* Safari 6.0 - 9.0 *!*/
/*    filter: grayscale(100%);*/
/*}*/

/*nav > div:hover img {*/
/*    -webkit-filter: none; !* Safari 6.0 - 9.0 *!*/
/*    filter: none;*/
/*}*/

nav p {
    font-size: 18px;
}

nav button {
    /*display: inline-block;*/
    /*margin: 5px;*/
    /*max-width: 126px;*/
    /*height: 48px;*/
    /*background: #0056B4;*/
    /*border-radius: 9px;*/
    /*border: none;*/
    /*font-size: 20px;*/
    /*line-height: 26px;*/
    /*color: #fff;*/
    cursor: pointer;
}

footer {
    position: absolute;
    text-align: center;
    left: 0;
    width: 100%;
    background: #E9ECEF;
}

iframe {
    width: calc(100% - 30px);
    height: 100%;
    min-height: 320px;
}

iframe:not([src]) {
    display: none;
}

.place-image {
    height: 160px;
    overflow: hidden;
    margin: 19px 24px 20px 24px;
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
    width: 90%;
    border-radius: 6px;
}

.place-image img {
    object-fit: cover;
    width: 100%;
    border-radius: 8px;
}

.place-card .info {
    width: 100%;
}

.place-card {
    height: 400px;
    border-radius: 10px !important;
}

.place-card p {
    word-break: break-word;
    margin: 3px 18px;
    padding: 0;
    display: block;
    min-height: auto;
    text-align: left;
    height: 20px;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    color: #747474;
}

.place-card p.object {
    height: 90px;
    font-family: 'Open Sans Semi Bold';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 16px;
    color: #383838;
}

.place-card .buttons {
    margin-top: 24px;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.place-card .buttons button{
    padding: 16px 0;
    width: 145px;
    font-family: "Open Sans Bold";
    color: #2057AE;
    background: #EFEFEF;
    font-size: 16px;
    line-height: 20px;
    border-radius: 6px;
    border: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.place-card .buttons button.in-process{
    width: 100%;
    cursor: default;
    color: #747474;
    font-family: "Open Sans";
}

.place-card .buttons button.js-append-video:hover{
    color: white;
    background: #2057AE;
}

.logos img {
    width: 90px;
    height: 90px;
}

@media (min-width: 576px) {
    body {
        max-width: 540px;
    }

    nav > div {
        /*width: calc(100% / 1 - 20px);*/
    }
}

@media (min-width: 768px) {
    body {
        max-width: 720px;
    }

    iframe {
        width: 640px;
        height: 480px;
    }

    nav > div {
        /*width: calc(100% / 2 - 20px);*/
    }

    #lab {
        display: flex;
    }

    #tit {
        position: static;
    }
}

@media (min-width: 992px) {
    body {
        max-width: 960px;
    }

    nav > div {
        /*width: calc(100% / 3 - 20px);*/
        margin: 5px;
    }
}

@media (min-width: 1200px) {
    body {
        max-width: 1140px;
    }


    nav > div {
        /*width: calc(100% / 4 - 20px);*/
        margin: 5px;
    }
}

@media screen and (max-width: 992px) {
    body {
        width: auto !important;
    }

    .background {
        background-size: cover;
        height: 80px;
        margin-top: 60px;
        margin-bottom: 0;
    }

    .category h1 {
        margin: 50px 0;
        line-height: 38px;
        word-break: break-word;
        font-size: 24px;
        font-family: Roboto-Bold;
    }

    nav .place-card {
        width: 100% !important;
    }

    main {
        margin: 0;
        width: auto;
    }

    /*nav button {*/
    /*    max-width: 300px;*/
    /*}*/

    .place-card p {
        margin: 3px 35px;
    }
}

@media screen and (max-width: 768px){
    .place-card p {
        margin: 3px 25px;
    }
}

@media screen and (max-width: 1200px) {
    .place-card .buttons button {
        width: 125px;
    }
    #mel{
        line-height: 18px;
        font-size: 17px;
    }
}