@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&display=swap');

body {
    font-family: 'Nunito', sans-serif;
    color:#7a797b;
}

.clear {
    width: 100%;
    clear: both;
}
.inner-content {
    width: 85%;
    max-width: 775px;
    padding: 25px 0;
    margin: auto;
}

.popup {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    align-items: center;
    justify-content: center;
    display: none;
    background-color:rgba(0,0,0,0.5);
}
.popup.open {
    display: flex;
}
.popup .box {
    width: 85%;
    max-width: 600px;
    background: url('../images/bg.jpg');
    border-radius: 25px;
    padding: 50px;
    border-bottom: solid 20px #c22622;
    font-weight: 700;
    font-size: 32px;
    text-align: center;
}
.popup .btn {
    background: #c22622;
    color: #fff;
    padding: 20px 50px;
    border-radius: 15px;
    margin-top: 25px;
    font-weight: 700;
}
.popup .btn a {
    color: #fff;
}


.login {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    align-items: center;
    justify-content: center;
    display: none;
    background-color:rgba(0,0,0,0.9);
}
.login.open {
    display: flex;
}
.login .box {
    width: 85%;
    max-width: 600px;
    background: url('../images/bg.jpg');
    border-radius: 25px;
    padding: 50px;
    border-bottom: solid 20px #c22622;
    font-weight: 700;
    font-size: 32px;
    text-align: center;
}
.login .btn {
    background: #6f6e70;
    color: #fff;
    padding: 20px 50px;
    border-radius: 15px;
    margin-top: 25px;
    font-weight: 700;
}
.login .btn a {
    color: #fff;
}

header,footer {
    background: #c22622;
    width: 100%;
}
header .logo-cdlm {
    float: left;
    width: 24%;
}
header .logo-cdlm img {
    width: 100%;
    max-width: 190px;
}
header .logo-marca {
    float: left;
    width: 12%;
}
header .logo-marca img {
    width: 100%;
    max-width: 190px;
}
header .btns {
    float: left;
    width: 64%;
    max-width: 740px;
    text-align: center;
}
header .btns img {
    margin: 10px 5px 0 5px;
    width: 40%;
    max-width: 192px;
}
footer img.logo-carnave{
    padding: 45px 0 75px 0;
}
footer {
    text-align: center;
}
footer .pre {
    width: 100%;
    background: #7a797b;
    padding: 20px 0 25px 0;
    text-align: center;
}

main {
    background: url('../images/bg.jpg');
}

.slider,.slider img {
    width: 100%;
}

.menu-icons {
    text-align: center;
    margin-top: -50px;
    padding-bottom: 50px;
}
.menu-icons .item {
    text-align: center;
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
}
.menu-icons .item .circle {
    background: #c22622;
    text-align: center;
    border-radius: 150px;
    max-width: 155px;
    padding: 35px 30px;
    margin: 0 35px 10px 35px;
}
.menu-icons .item img {
    width: 100%;
    max-width: 95px;
}

.news {
    padding-bottom: 75px;
}
.news .item {
    border-bottom: dotted 2px #7a797b;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.news .item .img{
    float: left;
    width: 40%;
}
.news .item .img img{
    width: 100%;
    max-width: 280px;
    border-radius: 280px;
}
.news .item .text{
    float: right;
    width: 55%;
}
.news .item .text h2{
    font-size: 40px;
    font-weight: 700;
    color: #c22622;
}
.news .item .text p{
    font-size: 18px;
    font-weight: 500;
}
.news .item .text p a{
    color: #c22622;
    font-size: 20px;
}

#news img{
    width: 100%;
    max-width: 500px;
}
#news h2{
    font-size: 40px;
    font-weight: 700;
    color: #c22622;
}
#news p{
    font-size: 18px;
    font-weight: 500;
}
#news p a{
    color: #c22622;
}

@media (max-width: 600px) {
    header .logo-cdlm,header .logo-marca {
        float: none;
        width: 100%;
        text-align: center;
    }
    header .logo-marca img {
        width: 100%;
        max-width: 140px;
    }
    header .btns {
        float: none;
        width: 100%;
        text-align: center;
        padding: 30px 0;
    }
    header .btns img {
        width: 100%;
        max-width: 194px;
    }
    footer img {
        max-width: 60%;
    }
    .news .item .img{
        float: none;
        width: 100%;
    }
    .news .item .text{
        float: none;
        width: 100%;
    }
    .news .item .text h2{
        font-size: 32px;
        margin-top: 20px;
    }
    .news .item .text p{
        font-size: 18px;
    }

    .menu-icons {
        margin-top: 20px;
        padding-bottom: 0px;
    }
    .menu-icons .item {
        font-size: 20px;
        width: 200px;
        display: block;
        margin: auto;
        padding-bottom: 20px;
    }
    .menu-icons .item .circle {
        border-radius: 200px;
        padding: 30px;
    }
    footer img.logo-carnave{
        padding: 35px 0 55px 0;
    }

    #news h2{
        font-size: 32px;
    }
    #news p{
        font-size: 18px;
    }
}


/*------------------------------------------------------------------*/
/* Pagination */
/*------------------------------------------------------------------*/
.pagination-wraper {
    display: inline-block;
    width: 100%;
    border-top: 1px solid #eee;
    padding: 30px 0;
}

.pagination-wraper > p {
    margin-bottom: 0;
    display: inline-block;
    vertical-align: middle;
}

.pagination {
    float: right;
    display: block;
    vertical-align: middle;
}

ul.pagination-numbers, .pagination .pagination-numbers, .pagination-numbers {
    display: inline-block;
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 0;
    text-align: right;
    width: 100%;
}

.pagination-numbers li {
    display: inline-block;
    float: left;
    list-style: outside none none;
    margin-bottom: 0;
    padding: 0 4px;
}

.pagination-numbers li a, .pagination-numbers li span {
    background-color: #f6f6f6;
    border: 1px solid transparent;
    box-sizing: border-box;
    display: block;
    float: left;
    font-size: 12px;
    font-weight: 600;
    height: 36px;
    line-height: 35px;
    padding: 0 12px;
    transition: all 0.2s linear 0s;
    color: #333;
}

.pagination-numbers li a:hover, .pagination-numbers li span:hover, .pagination-numbers li span.current, .pagination-numbers li a.current {
    color: #fff;
    background-color: #c22622;
}

.pagination-numbers li a.dots, .pagination-numbers li span.dots {
    background-color: transparent;
    border: medium none;
    padding: 0;
}

.pagination-numbers li a.dots:hover, .pagination-numbers li span.dots:hover {
    color: inherit;
    background: inherit;
}