
* {
	margin: 0;
	border: 0;
	padding: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
    box-sizing: border-box;
}

body {
    width: 100%;
    font-family: 'Poppins','Helvetica', 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

ul {
    list-style: none; 
}

h2 {
    text-align: center;
    font-size: 28px;
}

header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    text-align: center;
}

.container {
    margin: 0 auto;
    width: 100%;
}

.flex {
    display: flex;
    flex-flow: column nowrap;
}

.flex-child {
    flex: 1 100%;
}

.flex-child-33 {
    flex-basis: 33%;
}

.flex-child-66 {
    flex-basis: 66%;
}

.logo {
    margin-top: 5px;
    height: 40px;
    color: #fff;
}

.menu {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-content: center;
}

.menu ul {
    padding-bottom: 5px;
}

.menu ul li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}

section {
    margin-bottom: 10px;
}

#hero {
    background-image: url('https://img.anpdm.com/76330/athome1-mobile.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 200px;
}

.banner {
    margin: 20px 0;
    width: 100%;
    min-height: 60px;
    color: #fff;
    text-align: center;
    font-size: 20px;
}

.banner-padding {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 30px;
    padding-right: 30px;
}


.newsletter-padding {
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 15px;
    padding-right: 15px;
}

.newsletter {
    margin: 20px 0;
    width: 100%;
    min-height: 60px;
    color: #fff;
    text-align: center;
}

.newsletter h2 {
    line-height: 1.2;
    font-size: 24px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 5px;
    padding-bottom: 10px;
}

input[type="email"]{
    min-height: 40px;
    width: 100%;
    padding-left: 8px;
}

.btn {
    text-transform: uppercase;
    min-height: 40px;
    width: 100%;
    margin-top: 5px;
    color: #fff;
    cursor: pointer;
}

.btn-center {
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 300px;
}

input[type=checkbox]{
    cursor: pointer;
}

.checkbox-group {
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.checkbox-group a {
    font-weight: bold;
}

.error-group {
    font-size: 12px;
    line-height: 1.2;
    max-width: 250px;
    margin: 0 auto;
}

.error-msg {
    color: #fff;
    background-color: darkred;
}


.green-bg {
    background-color: #2F9881;    
}

.black-bg {
    background-color: #333;
}

.cards {
    background-color: #fff;
    margin-bottom: 20px;
}

.card {
    width: 100%;
    max-width: calc(100vw - 20px);
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
    background-color: #fff;
    border: none;
}

.card-img {
    min-height: 240px;
    background: transparent center center no-repeat;
    background-size: cover;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.card-img:hover, .img-hover {
    transition: all 0.3s;
    opacity: 0.85;
}

.card-tag {
    position: absolute;
    top: 10px;
    right: 0px;
    display: inline-block;
    background-color: #2F9881;
    color: #fff;
    width: 60px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.card-source {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px 40px 15px 15px;
    display: block;
    width: 100%;
    height: auto;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 100%);
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 100%);
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-info {
    width: 100%;
    padding: 10px;
}

.card-info h3 {
    font-size: 20px;
    line-height: 1.2;
}

.title {
    font-weight: 600;
    transition: all 0.3s;
}

.title:hover, .title-hover {
    transition: all 0.3s;
    color: #2F9881;
}

.preview-text {
    margin-top: 4px;
    font-size: 14px;
    width: 100%;
}

footer {
    background-color: #333;
    color: #a0a9af;
    padding: 30px 0;
}

footer .container {
    text-align: center;
}

.footer {
    text-align: center;
    max-width: 600px;
    padding: 30px 0 10px;
    justify-content: space-between;
    margin: 0 auto;
}

.footer-link {
    text-transform: uppercase;
}

.footer-link:hover {
    transition: all 0.3s;
    text-decoration: underline;
}

.small {
    font-size: 24px;
}

#article {
    padding: 20px 10px;
    font-size: 14px;
}

#article ol {
    margin-left: 30px;
}

#article li {
    margin-top: 30px;
}

#article li > p {
    margin-top: 30px;
}

#btn-to-top {
    color: #fff;
    display: inline-block;
    position: fixed;
    bottom: 200px;
    right: 0;
    height: 60px;
    width: 60px;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    cursor: pointer;
    transition: all 0.3s;
    visibility: hidden;
    opacity: 0;
    z-index: 100;
}

#btn-to-top.show {
    visibility: visible;
    opacity: 1;
}

input, #submit {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
}

#submit {
    text-transform: uppercase;
}

.cookies-info {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    font-family: 'Poppins','Helvetica', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #fff;
    line-height: 1.5;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.cookies-info a {
    color: #fff;
    text-decoration: underline;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
}

.cookies-container {
    justify-content: space-between;
    padding: 10px;
}

#cookies-btn {
    display: block;
    border: none;
    background: #333;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #fff;
    line-height: 1.5;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    min-width: 140px;
}

@media only screen and (min-width:768px){

    .container {
        padding: 0 10px;
        max-width: 1200px;
    }

    .flex {
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: space-evenly;
    }

    .logo {
        height: 60px;
    }

    .menu ul {
        padding-bottom: 8px;
    }
    
    .menu ul li {
        display: inline-block;
        padding-left: 10px;
        padding-right: 10px;
    }

    #hero {
        background-image: url('https://img.anpdm.com/76330/athome1.jpg');
        height: 400px;
    }
    
    .banner {
        font-size: 28px;
    }

    .banner-padding {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .card {
        margin: 0;
        max-width: 360px;
    }

    input[type="email"]{
        min-height: 40px;
        width: 250px;
        padding-left: 8px;
    }
    
    #cookies-btn {
        min-height: 40px;
        min-width: 120px;
    }

    #submit {
        max-width: 140px;
    }

    .form-group span {
        display: block;
        margin-top: 15px;
    }

    .cookies-info {
        flex-direction: row;
        justify-content: space-between;
    }

    .cookies-container:first-of-type {
        justify-content: flex-start;
        align-items: center;
    }
    
    .cookies-container:last-of-type {
        justify-content: flex-end;
    }
}
