/*! 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{
   font-family: 'Josefin Sans', sans-serif;
}

.page-node-type-complex-page .node__content > h1:first-child{
    display: none;
}

.content-container{
    width:960px;
    margin:0 auto;
}
.header{
    width:100%;
}
.header img{
    width:100%;
}
.banner-container{
width:960px;
margin:0 auto;
position:relative;
    min-height: 350px;
background:#e7e7ef url('https://www.unwomen.org/sites/default/files/custom/css/img/banner-bg.png') no-repeat top right;
overflow:hidden;

}
.banner-img{
       position: absolute;
    left: 0%;
    top: 0px;
}
.banner-img img{
    width:100%;
}
.banner-txt{
        position: absolute;
    right: 0%;
    bottom: 28%;
    width: 47%;
}
.banner-txt h1{
font-size:26px;
font-weight:600;
text-transform: uppercase;
margin-bottom:10px;
}
.banner-txt p{
font-size:16px;
text-transform: uppercase;
line-height:28px;
}
a.banner-link{
        background: #fff;
    padding: 8px 24px;
    font-size: 16px;
    margin-top: 10px;
    display: inline-block;
    color: #f59e2d;
    border: 1px solid #f59e2d;
    text-transform: uppercase;
}
.banner-link:hover{
    text-decoration:none;
    color: #007dc5;
    border: 1px solid #007dc5;
}
a.content-primary-link{
     background: #fff;
    padding: 8px 24px;
    font-size: 16px;
    margin-top: 35px;
    display: inline-block;
    color: #f59e2d;
    border: 1px solid #f59e2d;
    text-transform: uppercase;
}
.content-primary-link:hover{
    color: #007dc5;
    border: 1px solid #007dc5;
    text-decoration:none;
}
.row-content{
    padding:50px 0px 50px 0px;
    width:960px;
margin:0 auto;
}
.row-content h2{
    text-transform: uppercase;
    font-size: 30px;
    margin-bottom:20px;
	margin-left:20px;
	color:#fff;
}
.row-white{
    background:#fff;
}

.row-white h2{
    color:#333;
}


.content-center{
    text-align:center;
}
.row-content p{
    color:#827f7f;
        font-size: 24px;
        line-height:32px;
}
.content-center p{
    width:80%;
    margin:0 auto;

}
.font-italic{font-style: italic;}

.row-orange{
background:#1898d5;
}

.row-blue{
background:#1898d5;
}
.row-green{
   background: #4c9f38;
}
 
.row-data{
	    padding: 30px 0px 20px 0px;
    /* min-height: 156px; */
    margin-bottom: 20px;
}
.left-wheel{
          position: absolute;
    left: 2%;
    top: -25px;
    width: 40%;
}

.left-wheel img{
    width:100%;
}
.data-txt{

    padding-bottom: 30px;
	padding-left: 20px;
}
.data-txt p{
    color:#fff;
}
.content-left{
        padding-left: 0px;
    padding-right: 0px;
}
.factsheets-links-block{
         display: inline-block;
    float: left;
    width: 45%;
    /* margin-top: 20px; */
    margin-right: 10px;
    padding: 0px 20px 20px 20px;
    /* min-height: 285px; */
	
}
.factsheets-links-block:last-child{
    margin-right:0px;
}
.factsheets-links-block .content-secondary-link{
    color:#fff;
    text-decoration:underline;
        margin-bottom: 20px;
}
.factsheets-links-block .content-secondary-link:hover{
    color:#fff;
    text-decoration:none;
}
a.content-secondary-link{
display:block;
font-size:20px;
margin-bottom:15px;
color:#f59e2d;
}
.content-secondary-link:hover{
    color:#007dc5;
    text-decoration:none;
}
.Fbold{
    font-weight:600;
}

.content-container hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 2px solid #efefef;
    margin: 0em 0;
    padding: 0;
}

.fact-sheet-container{
       position:relative;
    overflow: hidden;
    padding: 30px 0px 20px 0px;
}
.fact-sheet-bg{
        position: absolute;
    right: 0px;
    bottom: -48px;
    z-index: -1;
}
.slick-slider .slick-next {
        background: #fff url(https://www.unwomen.org/sites/default/files/custom/css/img/arrow-sprite.png) -20px 15px no-repeat;
    display: block;
    height: 60px;
    width: 38px;
    text-indent: -9999px;
    top: 50%;
    margin-top: -20px;
    right: 8px;
    padding: 0px;
}
.slick-slider .slick-prev {
        background: #fff url(https://www.unwomen.org/sites/default/files/custom/css/img/arrow-sprite.png) 8px 15px no-repeat;
    display: block;
    height: 60px;
    width: 38px;
    text-indent: -9999px;
    top: 50%;
    margin-top: -20px;
    left: 6px;
    padding: 0px;
}
.slick-slider{
margin-bottom:0px;
}
.multiple iframe{
        width:98%;
        height:98%;
    }
    .multiple{
        height:250px;
        margin-top:20px;
    }

.social-container{
    width: auto;
    /* float: left; */
    background: #f59e2d;
    padding: 20px;
    /* min-height: 250px; */
    overflow: hidden;
    position: relative;
}
.social-container h2{
    color:#333;
	margin-left:0px;
    margin-bottom:10px;
}
.social-container p{
    color:#585858;
}
.social-bg{
    position: absolute;
    right: -40px;
    bottom: -11px;
    z-index:0;
}
.contact-container{
     width: auto;
    /* float: right; */
    /* background: #fff4e6; */
    min-height: 65px;
    overflow: hidden;
    position: relative;
}
.contact-container h2, .contact-container p{
    padding:0px;
    margin:0px;
}
.contact-container h2, .contact-container p, .contact-container a{
position:relative;
z-index:1;
}
.contact-bg{
        position: absolute;
    left: -45px;
    bottom: -13px;
    z-index: 0;
}

.social-links{
        background: #fff;
    width: 40px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    height: 40px;
    padding: 6px;
    font-size: 20px;
    margin-right: 10px;
    color: #f59e2d;
    border: 1px solid #f59e2d;
}
.social-links:hover{
 color: #007dc5;
 border: 1px solid #007dc5;
}
.contact-container h2{
    display:inline-block;
}
.contact-container a{
   font-size: 24px;
    color: #f59e2d;
    display: inline-block;
    margin-left: 20px;
}
.contact-container a:hover{
    text-decoration:none;
    color:#007dc5;
}
.contact-container a svg{
    font-size:26px;
    margin-right:10px;
}
.contact-container-row{
padding:0px;
}
.social-twitter-row{

   padding: 0px;
    margin-bottom: 30px;
}
.social-contact-container{
       width: 65%;
    float: left;
    min-height: 200px;
    padding: 20px;
    background: #f59e2d;

}
.twitter-widget-container{
    width:50%;
    float:right;
min-height:250px;
}
.social-contact-container p{
    color: #616161;
    margin-bottom:35px;
}

.social-contact-container a{
    font-size: 24px;
    color: #f59e2d;
    display: inline-block;
}
 .social-contact-container a svg{
    margin-right:10px;
 }   

.social-twitter-row h2 {
    text-transform: uppercase;
    font-size: 30px;
    margin-bottom: 5px;
    margin-left: 0px;
    color: #333;
}
.grid-modules{
         position: absolute;
    right: 0px;
    bottom: -3px;
}
/*MEDIA QUERY FOR TABLET*/
@media (min-width: 481px) and (max-width: 768px) {
    body{
         width: 600px;
    margin: 0 auto;
    }
.content-wrapper {
    width: 600px;
    margin: 0 auto;
    position: relative;
}
.content-container {
    width: 480px;
    margin: 0px auto;
}
.banner-container {
        width: 600px;
    margin: 0px auto;
    position: relative;
    min-height: 390px;
    background: #e7e7ef url(https://www.unwomen.org/sites/default/files/custom/css/img/banner-bg.png) no-repeat top right;
    overflow: hidden;
}
.banner-img {
       position: absolute;
    left: 0px;
    top: 0px;
    width: 55%;
}
.banner-txt h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom:10px;
    text-transform: uppercase;
}
.banner-txt p {
    font-size: 15px;
     margin-bottom:10px;
     line-height:22px;
    text-transform: uppercase;
}
.banner-txt {
     position: absolute;
    right: -6%;
    top: 29%;
    width: 50%;
}
.content-center p {
    width: 100%;
    margin: 0 auto;
    line-height:24px;
}
.row-data{
    margin-bottom:20px !important;
}
.row-content{
    width: 600px;
    margin: 0px auto;
    position:relative;
}

.row-content p {
    color: #827f7f;
    font-size: 20px;
}
.left-wheel {
    position: absolute;
    left: 3%;
    top: -6px;
    width: 70%;
}
.data-txt {
        width: 90%;
    padding-bottom: 30px;
}

.data-txt p{
    color:#fff;
}
.content-left {
    padding-left: 0px;
    padding-right: 0px;
}
.factsheets-links-block {
    float: left;
}

.factsheets-links-block {
    display: inline-block;
    float: none;
    width: 100%;
    margin-top: 20px;
    margin-right: 20px;
    background: #4c9f38;

}
.factsheets-links-block:last-child{
           margin-top: -15px;
}
.social-container {
       width: auto;
    /* float: left; */
    background: #f59e2d;
    padding: 20px;
    /* min-height: 250px; */
    overflow: hidden;
    position: relative;
}
.contact-container {
    width: auto;
    /* float: right; */
    /* background: #fff4e6; */
    overflow: hidden;
    position: relative;
}
.social-contact-container{
    width: 50%;
    float: none;
    min-height: 218px;
    margin-bottom: 20px;

}
.twitter-widget-container{
    width:100%;
    float:none;
min-height:250px;
}
.social-twitter-row {
    margin-top:5px;
    margin-bottom: 30px;
}
.social-contact-container a {
    font-size: 20px;
    color: #f59e2d;
    display: inline-block;
}
.grid-primarycol-xlrg{
    width:auto;
}
.grid-modules{
   position: absolute;
    right: 0px;
    bottom: 35px;
}
}



/*MEDIA QUERY FOR MOBILE*/
@media (min-width: 320px) and (max-width: 480px) {
.content-container {
    width: 300px;
    margin: 0px auto;
}
.banner-container {
   width: 300px;
    margin: 0px auto;
    position: relative;
    min-height: 500px;
    background: #e7e7ef url(https://www.unwomen.org/sites/default/files/custom/css/img/banner-bg.png) no-repeat top right;
    overflow: hidden;
}
.banner-txt {
        position: absolute;
    right: 2%;
    top: 55%;
    width: 90%;
}
.banner-txt p{
    line-height:22px;
}
.banner-img {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
}
.row-content{
     width: 300px;
    margin: 0px auto;
}
.row-content p {
    color: #827f7f;
    font-size: 18px;
    line-height:26px;
}

.content-center p {
    width: 100%;
    margin: 0 auto;
}
.row-data {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom:20px;
}
.left-wheel {
        position: absolute;
    left: 5%;
    top: 0px;
    width:95%;
}
.data-txt {
        width: 85%;
 
    padding-bottom: 30px;
    margin-bottom:20px;
}
.data-txt p{
    color:#fff;
}
.data-txt a{
    margin-left:0px !important;
}
.content-left {
    padding-left: 0px;
    padding-right: 0px;
}

.social-container {
       
    /* float: left; */
    background: #f59e2d;
    padding: 20px;
    /* min-height: 250px; */
    overflow: hidden;
    position: relative;
}
.contact-container {
    width: 100%;
    /* float: right; */
    /* background: #fff4e6; */
    min-height: 100px;
    overflow: hidden;
    position: relative;
}
.factsheets-links-block {
    display: inline-block;
    float: left;
    width: auto;
    /* margin-top: 20px; */
    margin-right: 10px;
    padding: 0px 20px 20px 20px;
    /* min-height: 285px; */
}
.contact-container a {
    font-size: 20px;
    color: #f59e2d;
    display: inline-block;
    margin-left: 20px;
}
.social-contact-container{
    width:auto;
    float:none;
   min-height: 175px;

}
.twitter-widget-container{
    width:100%;
    float:none;
min-height:250px;
}
.social-contact-container a {
    font-size: 18px;
    color: #f59e2d;
    display: inline-block;
}
.social-twitter-row {
    padding: 0px;
    margin-bottom: 30px;
    min-height: 560px;
}
.grid-modules {
      position: absolute;
    right: 8px;
    bottom: 68px;
}
.grid-primarycol-xlrg{
    width:auto;
}
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * 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;
    }
}

#block-twitterblock {
  text-align: center;
}
