* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #EAE8E8;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 1200px;
    max-width: 100vw;
    margin: auto;
    padding: 15px;
}

.header {
    background-color: white;
}

.header .header_top {
    height: 32px;
    background-color: #69bd43;
}

.header .header_bottom {
    text-align: center;
    padding: 25px 0;
}

.header .header_bottom h1 {
    font-size: 26px;
    margin: 0;
}

.main {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

.footer {
    background-color: #212832;
    color: #fff;
    height: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col {
    padding-left: 5px;
    padding-right: 5px;
}

.card {
    background-color: white;
    cursor: pointer;
    margin: 10px 0;
}

.card .photo {
    height: 200px;
    overflow: hidden;
    text-align: center;
}

.card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.card .title h2 {
    font-size: 14px;
    overflow-y: hidden;
    color: #ff8c00;
    text-align: center;
    font-weight: normal;
    margin: 0;
}

.popup-custom {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: #21283280;
    width: 100vw;
    height: 100vh;
    display: none;
}

.popup-custom .popup_main {
    width: 100vw;
    max-height: 80vh;
    height: 800vh;
    position: absolute;
    top: 50%;
    transform: scale(0) translateY(-50%);
    overflow: hidden;
    padding: 15px;
    background-color: #ffffff;
}


.popup-custom #close {
    position: absolute;
    right: 5px;
    top: 5px;
    border: none;
    background: no-repeat;
    font-size: 16px;
}

.popup-custom .popup_main iframe {
    width: 100%;
    height: 100%;
}

.popup-custom.show {
    display: block;
}

.popup-custom.show .popup_main {
    transform: scale(1) translateY(-50%);
}

@media screen and (min-width: 1200px) {
    .col {
        width: 25%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    .col {
        width: 50%;
    }
}

@media screen and (max-width: 767px) {
    .col {
        width: 100%;
    }
}