/*
    Theme Name: Floyd Child
    Author: BTown Web
    Template: floyd
*/

section#traveling-the-world-is-amazing {
    background-image: url(/wp-content/uploads/2015/04/plane3_3.jpg);
    background-size: cover;
    background-position: bottom center;
}

section#home {
    height: auto;
}

#home .hero {
    padding: 5px 0;
}

#home .hero .logo {
    display: block;
    margin-top: 5px;
    width: 125px;
}

#home .hero > .header {
    display: inline-block;
}

#home .hero > .header > h1 {
    background-color: rgba(0, 0, 0, .3);
    display: inline-block;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 6px;
    padding: 10px;
}

#home .hero > .header > h2 {
    color: #000b95;
    font-size: 32px;
    margin-top: 0;
    text-align: right;
}

#home .hero > .header > h2 + p {
    float: right;
    margin-bottom: 108px;
}

#home .hero > .header > h2 + p::after {
    color: #000b95;
    content: '14 DAY FREE TRIAL';
    display: block;
    font-size: 20px;
    margin-top: 5px;
}

#home .hero a {
    background-color: #000b95;
    border: none;
    border-radius: 16px;
    color: #FFF;
    font-size: 24px;
    padding: 15px 25px;
}

#home .hero .recent-deals {
    clear: both;
    margin-bottom: 25px;
}

#home .hero .recent-deal {
    display: inline-block;
    margin-bottom: 10px;
    margin-left: 4%;
    margin-right: 4%;
    min-width: 130px;
    width: 18%;
}

#home .hero .recent-deal:first-child {
    margin-left: 0;
}

#home .hero .recent-deal:last-child {
    margin-right: 0;
}

#home .hero .recent-deal h2 {
    background-color: rgba(0, 0, 0, .3);
    color: #FFF;
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
    padding: 10px 5px;
}

#home .hero .recent-deal p {
    background-color: #FFF;
    border-top: 5px solid #191d94;
    border-bottom: 5px solid #191d94;
    color: #464646;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    padding: 10px 0;
}

#home .hero .recent-deal p > span {
    color: #191d94;
}

@media screen and (max-width: 1200px) {
    #home .hero > .header > h1 {
        font-size: 42px;
    }
    #home .hero > .header > h2 {
        font-size: 32px;
    }
    #home .hero .recent-deal h2 {
        font-size: 15px;
    }
}


@media screen and (max-width: 992px) {
    #home .hero > .header > h1 {
        font-size: 32px;
    }
    #home .hero > .header > h2 {
        font-size: 24px;
    }
    #home .hero .recent-deal h2 > span {
        display: block;
    }
}

@media screen and (max-width: 700px) {
    #home .hero > .header > h1 {
        font-size: 26px;
    }
    #home .hero > .header > h2 {
        font-size: 20px;
    }
    #home .hero .recent-deal:nth-child(3n+3) {
        margin-right: 0;
    }
    #home .hero .recent-deal:last-child {
        margin-right: 4%;
    }
}

@media screen and (max-width: 640px) {
    #home .hero .logo {
        margin: 10px auto 0;
    }
    #home .hero a {
        font-size: 18px;
    }
    #home .hero > .header > h2 + p::after {
        font-size: 14px;
    }
    #home .hero .recent-deal h2 {
        font-size: 14px;
    }
    #home .hero .recent-deal p {
        font-size: 16px;
    }
    #home .hero > .header > h2 + p {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 516px) {
    #home .hero .recent-deal:nth-child(3n+3) {
        margin-left: 0;
        margin-right: 4%;
    }
    #home .hero .recent-deal:nth-child(2n+2) {
        margin-right: 0;
    }
}

@media screen and (max-width: 330px) {
    #home .hero .recent-deal {
        margin-left: 4% !important;
        margin-right: 4% !important;
    }
}