/********************************************
				  Footer
********************************************/

@media all and (max-width: 1542px) and (min-width: 1001px) {
    body > footer .telephone {
        width: 60% !important;
        margin: 1.3em 0 0 0 !important;
        float: left !important;
        display: inline-block !important;
        text-align: left !important;
    }
}

@media all and (max-width: 1330px) and (min-width: 1001px) {
    body > footer > div div:first-of-type {
        display: inline-block !important;
        width: 40% !important;
        min-height: 200px !important;
        float: right !important;
        margin: 0 !important;
    }

    /* Social Icons */
    body > footer > div div:first-of-type a img {
        float: right !important;
    }

    body > footer > div div:first-of-type a img {
        padding: 1em 0 0 1em !important;
    }

    body > footer > div div:first-of-type a:nth-of-type(1) img, body > footer > div div a:nth-of-type(2) img {
        padding: 0 0 0 1em !important;
    }

    body > footer ul:first-of-type {
        display: inline-block !important;
        width: 60% !important;
        min-height: 200px !important;
        float: left !important;
        padding: 0 !important;
    }

    body > footer ul:last-of-type {
        width: 40% !important;
        margin: 2em 0 0 0 !important;
        padding: 0 !important;
        left: left !important;
        display: inline-block !important;
    }

    body > footer .telephone {
        text-align: right !important;
    }
}

@media all and (max-width: 1000px) {
    body > footer {
        text-align: center !important;
    }

    body > footer .footer_container > img {
        float: none !important;
        margin: 0 auto !important;
        padding: 0 0 2em 0;
        text-align: center !important;
    }

    body > footer > div div:first-of-type, body > footer ul:first-of-type, body > footer ul:last-of-type, body > footer .telephone {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        float: left !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body > footer > .footer_container > div:first-of-type a img {
        float: none !important;
        padding: 1em 0.5em 0 0.5em !important;
    }

    body > footer ul:first-of-type {
        margin: 3em 0 0 0 !important;
    }

    body > footer ul:last-of-type {
        margin: 0 0 3em 0 !important;
    }

    body > footer .telephone {
        text-align: center !important;
    }

}

/* Sitemap Link Styles */

body > footer .telephone p a {
    color: #5f7489 !important;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-transition: all 0.1s ease-in;
    -moz-transition: all 0.1s ease-in;
    -ms-transition: all 0.1s ease-in;
    -o-transition: all 0.1s ease-in;
    transition: all 0.1s ease-in;
}

body > footer .telephone p a:hover {
    color: #91c46c !important;
}

body > footer .telephone p:nth-of-type(1) {
    margin: 0 0 0.2em 0;
}

body > footer .telephone p:nth-of-type(3) {
    font-size: 0.7em;
}

body > footer .telephone p:nth-of-type(4) {
    font-size: 0.5em;
}

/* Remove Ecard Preview */

@media all and (max-width: 950px) {
    #ecardDetailPage .ecard_container {
        display: none;
    }

    #ecardDetailPage .container {
        width: auto !important;
    }
}

@media all and (max-width: 400px) {
    #ecardDetailPage .plain-green-btn {
        float: none !important;
        width: 90% !important;
        margin: 0.5em auto !important;
        max-width: 100% !important;
    }

    #ecardDetailPage .page_options {
        margin-top: 1em !important;
    }

}
