﻿body {
    font-family: 'Open Sans', sans-serif;
}

h1 {
    font-weight: lighter;
}

header {
    background: #FFF;
}

header .logo {
    height: 48px;
    float: left;
    padding: 8px 0;
}

header .row {
    padding: 0 12px;
}

header .user-account {
    padding: 9px 0;
}

header .sign-in {
    font-size: 12px;
    color: black !important;
    margin-right: 12px;
    margin-left: 47px;
}

header .user-account .sbtn {
    height: 30px;
    line-height: 30px;
}

.live-chat {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social_icons i {
    color: black;
    margin-left: 4px;
}

.slider_text {
    position: absolute;
    top: 25%;
    left: 3%;
}

.pad_zero {
    padding: 0px
}

#slider {
    background: linear-gradient(135deg, rgba(99,201,134,0.85), rgba(110,181,243,0.85) 80%), url(/static/img/betterseo/small-business-owner-thinking-about-hiring-seo-expert.jpg) center center no-repeat;
    background-size: cover;
}

#slider .slider-content {
    height: 570px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#slider .used-by-logos {
    margin-bottom: 24px;
    width: 60%;
}

#slider .used-by-logos img {
    width: 100%;
}

section#slider .btn {
    min-height: 45px;
    padding: 15px 0;
}

section#slider {
    color: white;
}

section#section_1 .media {
    margin-bottom: 28px;
    margin-top: 52px;
}

section#section_1 .media-body {
    line-height: 27px;
}

section#section_1 h4 {
    font-weight: 600;
}

section#section_1 {
    padding: 80px 0;
}

    section#section_1 .btn-success {
        background: #63c986;
        border: #63c986;
    }

    section#section_1 .btn {
        padding: 24px 0;
        box-shadow: 1px 1px 3px 0px grey;
    }

#section_2 {
    background-image: url('/static/img/betterseo/bg_section_2.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    padding: 48px 0;
}

section#section_3 img {
    margin-bottom: 14px;
}

section#section_3 img {
    margin-bottom: 14px;
}

section#section_2 p {
    line-height: 33px;
}

section#section_2 h1 {
    margin: 42px 0;
}

section#section_3 h1 {
    margin-bottom: 71px;
}

section#section_3 {
    padding: 80px 0;
}


#section_4 {
    background-image: url('/static/img/betterseo/section_4_bg.png');
    height: 100%;
    padding: 80px 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

section#section_4 h1 {
    margin-bottom: 53px;
}

section#section_4 img {
    margin-bottom: 17px;
}

section#section_4 p {
    margin-bottom: 29px;
}

.small_banner {
    background-image: url('/static/img/betterseo/banner_small.png');
    height: 25px;
    background-size: contain;
    position: absolute;
    top: -60px;
    left: -29px;
    width: 100%;
    background-repeat: no-repeat;
    margin-top: 3px;
}


/* for Small devices  */
@media (min-width: 200px) and (max-width:480px) {
    header img {
        margin: 0 auto;
    }

    .social_icons {
        text-align: center;
    }

    .slider_text {
        top: 0%;
    }

    #slider .slider-content {
        height: 254px;
    }

    #slider .used-by-logos {
        margin-bottom: 24px;
        width: 90%;
    }

    .small_banner {
        width: 100%;
        background: #6eb5f3;
        text-align: center;
        position: relative;
        height: auto;
        top: 0;
        left: 0 !important;
    }

    .small_banner h5 {
        margin: 0;
        padding: 9px;
        padding-left: 0 !important;
    }

    section#section_4 p:before {
        content: none !important;
    }

    section#slider h1, section#section_3 h1, section#section_4 h1 {
        font-size: 28px !important;
    }

    section#section_1 h1 {
        font-size: 21px !important;
    }

    section#section_2 h1 {
        font-size: 35px !important;
    }

    .modal_login .modal-body {
        padding: 9px 10px !important;
    }
}

/* for small mobile devices landscape mode */
@media (min-width: 481px) and (max-width:750px) {
}

/* ipad portrait view 768 x 1024 */
@media (min-width: 751px) and (max-width:790px) {
    #slider .slider-content {
        height: 440px;
    }

    body {
        width: 1000px;
        overflow: scroll;
    }
}

/* ipad landscape view ipad pro 1024 x 1366*/
@media (min-width: 791px) and (max-width:1024px) {
}

@media (min-width: 1920px) and (max-width:3000px) {
    .small_banner {
        height: 44px;
    }
}

.small_banner h5 {
    margin: 0;
    padding: 5px;
    padding-left: 20%;
}

section#section_4 h4 {
    margin-bottom: 0 !important;
    font-weight: 600;
}

section#section_4 h5 {
    margin-top: 0 !important;
}

section#section_4 img:after {
    content: "";
    position: absolute;
    bottom: 0;
    background-image: url('/static/img/betterseo/testi_quote.png');
}

section#section_4 p:before {
    content: "''";
    position: absolute;
    font-size: 175px;
    left: 0;
    right: 0;
    z-index: 0;
    opacity: 0.1;
    top: 83px;
}



section#slider h1 {
    font-size: 44px;
}

section#section_1 h1 {
    font-size: 50px;
}

section#section_2 h1 {
    font-size: 52px;
}

section#section_3 h1 {
    font-size: 47px;
}

section#section_4 h1 {
    font-size: 55px;
}

.modal_login .modal-body {
    padding: 9px 80px;
    padding-bottom: 48px;
}

.modal_login .modal-header {
    border: none;
}

.modal_login .nav {
    margin-bottom: 22px;
}

    .modal_login .nav li {
        text-align: center;
        width: 50%;
        font-size: 21px;
    }

    .modal_login .nav .active {
        border-bottom: 2px solid #52b0e4;
    }

        .modal_login .nav .active a {
            border: none !important;
        }

.modal_login button[type=submit] {
    margin: 0 auto;
    display: block;
    color: white;
    background-color: #52b0e4;
    border: none;
    padding: 17px 38px;
}

.btn_forget {
    border-left: none;
    color: #52b0e4;
    height: 48px;
}

.modal_login input[type=text], .modal_login input[type=password] {
    height: 48px;
    border-radius: 0;
}

.modal_login .close {
    border: 1px solid;
    border-radius: 32px;
    padding: 4px;
    width: 30px;
}

.errors:empty {
    display: none;
}

.live-chat-button {
    box-shadow: 0 0 2px 2px rgba(0,0,0,.1);
    position: fixed;
    right: 7%;
    bottom: 0;
    background-color: #2b72bb;
    cursor: pointer;
    padding: 0 32px;
    line-height: 36px;
    z-index: 9999;
    color: white;
    text-decoration: none !important; /* I hate bootstrap */
}