html, body{
    margin:0;
    padding: 0;
    height: 100%;
}
body {
    background-color:#410000;
    color:#fff;
    font-family: "Verdana";
    font-size:13px;
}
a {
    text-decoration: none;
    color:#fff;
}
.hidden {
    display: none !important;
}

.main-cont {
    display: flex;
    height: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
}
.main-cont main{
    flex: 1;
}

/*
 * Header
 */
header {
    background: #000;
    padding:0 10px;
    text-align: center;
    font-family: 'Maven Pro', sans-serif;
    border-bottom: 1px solid #d3398b;
}
header a span {
    vertical-align: middle;
}
header a .logo {
    font-size: 50px;
    color:#fff;
}
header a .logo.job {
    color: #EC008C;
}
header a .slogan {
    font-style: italic;
    font-size: 15px;
    display: block;
    margin-bottom: 7px;
}
header .flags{
    float: right;
    font-size: 22px;
    margin-top: 13px;
    margin-right: 8px;
}
header .flags {
    position: absolute;
    top: 0;
    right: 0;
}

/*
 * Ad list
 */
.filter {
    text-align: center;
}
.filter label{
    border: 1px solid #8d4339;
    border-radius: 3px;
    padding: 3px 6px 4px 3px;
    margin: 15px 5px 0 5px;
    display: inline-block;
    background-color: #62140a;
    cursor:pointer;
}
.filter label *{
    vertical-align: middle;
}

.ad-list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap:10px;
    padding:20px;
}
.ad-list .item {
    width:565px;
    height:190px;
    border: 1px solid #fff;
    background-color: #000;
    display: inline-block;
    margin: 0 12px 12px 0;
    position: relative;
}
.ad-list .item .image {
    float: left;
    position: relative;
    z-index: 1;
    margin-right:5px;
    width:253px;
}
.ad-list .item .image img {
    width:253px;
    height: 190px;

}
.ad-list .item .details {
    position: relative;
    height: 100%;
}
.ad-list .item .details .country .flag{
    font-size: 17px;
    position: absolute;
    right: 2px;
    top: 2px;
}
.ad-list .item .details .contact a{
    font-weight: bold;
}
.ad-list .item .details .label {
    font-weight: bold;
    color: #EC008C;
    font-size: 13px;
}
.ad-list .item .details-footer {
    position: absolute;
    bottom: 0;
    right: 1px;
    width: 309px;
}
.ad-list .item .details-footer .expiry {
    color: #7f7f7f;
    font-size: 12px;
    float: left;
}
.ad-list .item .details-footer a {
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    float: right;
}
.ad-list-footer {
    text-align: center;
}
.ad-list-footer a{
    font-weight: bold;
    color: #D09D9C;
}

.ad-list-banners {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

@media screen and (max-width:768px){
    .ad-list {
        align-items: stretch;
    }
    .ad-list .item {
        width:100%;
        max-width:253px;
        height:auto;
        border: 1px solid #fff;
        background-color: #000;
        display: inline-block;
        margin: 0 0 12px 0;
        position: relative;
        padding-bottom: 22px;
    }
    .ad-list .item .image {
        float: none;
        position: relative;
        z-index: 1;
        margin-right:5px;
        width:253px;
    }
    .ad-list .item .image img {
        width:100%;
        height: auto;
    }
    .ad-list .item .details{
        margin: 0 5px;
        height:auto;
    }
    .ad-list .item .details-footer {
        position: absolute;
        bottom: 3px;
        right: 1px;
        width: 243px;
        padding: 0px 5px;
    }
}


/*
 * Footer
 */
footer {
    background-color: #000;
    border-top: 1px solid #d3398b;
    text-align:center;
    padding: 10px 0;
}
footer p {
    margin:0;
}

/**
	COOKIE BAR
 */

.cookie-bar{
    position: fixed;
    bottom:0;
    height:50px;
    width:100%;
    background-color: rgba(238, 238, 238, 0.9);
    text-align: center;
    line-height: 50px;
    text-shadow: none;
    z-index: 9999;
}
.cookie-bar *{
    display: inline-block;
}
.cookie-bar span {
    font-size: 20px;
    color:black;
}
.cookie-bar span a {
    font-weight: bold;
    color:#ac1010;
    text-decoration: underline;
}
.cookie-bar button {
    margin-left:20px;
    background: linear-gradient(to bottom, #b81313 0%,#ac1010 100%);
    height:32px;
    line-height: 32px;
    color: white;
    font-size: 15px;
    border-radius: 3px;
    border:none;
    cursor: pointer;
}

@media screen and (max-width:768px){
    .cookie-bar{
        display: flex;
        height: 60px;
        line-height: unset;
        padding:5px;
    }
    .cookie-bar span{
        align-self: center;
        float: left;
        width: 80%;
        text-align: left;
        font-size: 15px;
        text-align: left;
    }
    .cookie-bar button{
        float: left;
        align-self: center;
        margin:0;
    }
}