/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    color: #333;
    font-family: "Open Sans",sans-serif;
    font-size: 14px;
    line-height: 1.42857;
    overflow-x:hidden;
    }


.bg-color-blue {
    background-color: #3498db !important;
}


.content {
    padding-top: 40px;
    padding-bottom: 40px;
}

.top-banner-container{
   
   height:100vh;
        position: relative;
    width: 100%;
    background-image: url(../img/top-banner-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: cover;
}

.top-banner{
    width: 100%; 
   height:100%;
   position: relative;
   background:#000;
   opacity:0.3;
}

.tap-banner-content{
      position: absolute;
    top: 50%;
    left: 20%;
    z-index: 5;
    text-align: center;
    width: 60%;
}
.tap-banner-content p{
       text-align: center;
    font-size: 50px;
    font-weight: 700;
    line-height: 60px;
    text-transform: uppercase;
    color: #fff;
}


.hidden {
    display: block !important; 
   visibility: visible !important;
}

.tap-banner-content a{
background-color: #e6e6e6 ;
    border-color: #adadad;
    padding: 10px 20px;
    border-radius:4px;
    color:#000;
    font-weight:700;
    text-decoration: none;
    margin-right:10px;
}

.tap-banner-content a:last-child{
    margin-right:0px;
}
.tap-banner-content a:hover{
    text-decoration: none;
    color:#FF9800;
}




.foreword{
    width:100%;
}


.left-img-container, .left-txt-container{
    padding-left:0px;
}
.right-txt-container, .right-img-container{
    padding-right:0px;
}
.sections{
    padding:60px 0px;
}
.sections h2{
text-transform: uppercase;
    font-weight: 600;
    margin:20px 0px;
}
    
.sections h3{
    color: #3498db;
    margin-bottom: 20px;
    clear: both;
    font-family: "Open Sans",Arial,sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 40px;
    margin-top: 0px;
    margin-bottom: 0px;
    text-shadow: none;
    text-transform: none;
}
.bg-gray{
    background:#f4f5f4;
}



.counter-container{
    width:100%;
    display:block;
    text-align:center;
    margin: 30px 0px 0px 0px;
}


.columns{
    width:33%;
    display:inline-block;
    text-align:center;
  
}

.counter-image{
        width: 45%;
    margin: 0 auto;
}


.counter-image img{
    width:100%;
}
.counter-number{
    margin:15px 0px 0px 0px !important;
}

.counter{
        font-size: 35px;
    color: #3699db;
    font-weight: 500;
    margin-bottom:5px;
}
.counter-desc p{
    font-size: 16px;
    color: #656565;
    font-weight: 500;
}

.sub-sections{
        margin: 50px 0px;
    border-top: 1px solid #dcdcdc;
    padding-top: 75px;
}

/*OPTION 2*/

.col1Bg{
    background-color:#f2a120;
    background-image:url("../img/injectable-option2.png");
    background-repeat: no-repeat;
    background-position:50% 50%;
}
.col2Bg{
   background-color:#3498db;
   background-image:url("../img/pregenancy-option2.png");
    background-repeat: no-repeat;
    background-position:50% 50%;
}

.col3Bg{
    background-color:#fb842d;
    background-image:url("../img/contraceptive-option2.png");
    background-repeat: no-repeat;
    background-position:50% 50%;
}
.col1txt{
    color:#f2a120;
}
.col2txt{
    color:#3498db;
}

.col3txt{
    color:#fb842d;
}

.option2 .counter-image{
        width: 150px;
        height:150px;
        border-radius:5px;
    margin: 0 auto;
}




.option2 .counter-image img{
    width:auto;
}
.option2 .counter-desc p{
       font-size: 17px;
    color: #3e3e3e;
    font-weight: 600;
    margin-bottom: 5px;
    width: 60%;
    margin: 0 auto 15px auto;
    text-transform: uppercase;
    line-height: 22px;
}
.option2.counter-container {
    width: 100%;
    display: block;
    text-align: center;
    margin: 30px 0px 0px 0px;
    background: #fff;
    padding: 30px 0px;
    border: 1px solid #e8e8e8;
}
.option2 .counter {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 5px;
}


/*CSS FOR ----------- tablet Devices----------*/

@media only screen and (min-width: 481px) and (max-width:768px){
.tap-banner-content{
       position: absolute;
    top: 40%;
    left: 20%;
    z-index: 5;
    text-align: center;
    width: 65%;
}

.tap-banner-content p {
        text-align: center;
    font-size: 38px;
    font-weight: 700;
    line-height: 45px;
    text-transform: uppercase;
    color: #fff;
}
.columns {
    width: 40%;
    display: inline-block;
    text-align: center;
}

}


/*CSS FOR ----------- mobile Devices----------*/

@media only screen and (min-width: 300px) and (max-width:480px){
.tap-banner-content{
      position: absolute;
    top: 30%;
    left: 12%;
    z-index: 5;
    text-align: center;
    width: 85%;
}
.tap-banner-content p {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    line-height: 35px;
    text-transform: uppercase;
    color: #fff;
}

.columns {
    width: 100%;
    display: inline-block;
    text-align: center;
}

}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
