/*
Theme Name: Prelude Child Theme
Theme URI: https://designstudio.com/
Author: DesignStudio
Author URI: https://designstudio.com/
Description: Red Cross Prelude Child Theme
Template: prelude
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Child theme Css Here */

/* =======================================f==================================

Global

========================================================================== */


.elementor-edit-area-active {
  z-index: 999999;
}

body {
    overflow: hidden;
}

.dsHeader.header4 .dsMainNav {
/*     padding: 1rem 0; */
}


ul.dropdown-menu li {
    display: block !important;
}

.dropdown-menu li a {
    padding-left: 20px !important;
}

.dsHeader .dsMainNav ul li:last-child .fa {
    font-size: 26px;
}

.red-dots {
    height: 1.65rem;
}

.red-dots span span {
    background-color: #df543d;
    border-radius: 999px;
    display: inline-block;
    vertical-align: top;
    width: 10px;
    height: 11px;
    margin-right: 7.5px;
}

.intro-block span {
    padding: 0px !important;
}

.intro-block {
    padding-top: 3rem;
    max-width: 750px;
    padding-bottom: 3rem;
    display: block;
    margin: auto;
}

.intro-block h1 {
    padding-bottom: 8px;
}

a.nav-expander {
    position: initial;
}

.dsMainNav .container {
    padding: 0px;
}



/* =========================================================================

What is Measles & Commitment block

========================================================================== */

.what-is-measles {
    background: url('https://s3.amazonaws.com/wp-agility2/measles/wp-content/uploads/2016/12/bspot-img.jpg');
    background-size: contain;
    margin-top: 0px !important;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.our-commitment {
    background: url('https://s3.amazonaws.com/wp-agility2/measles/wp-content/uploads/2017/01/commitment-01.jpeg');
    background-size: contain;
    margin-top: 0px !important;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.what-is-measles span,
.our-commitment span {
    padding: 0 20px;
}

.what-is-measles .row,
.our-commitment .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    max-width: 700px;
    display: block;
    margin: auto;
}

    .what-is-measles,
    .our-commitment {
         padding-top: 100px;
         padding-bottom: 13%;
}




/* =========================================================================

Second block

========================================================================== */
.ID346 h2 {
    margin-bottom: 0rem;
}

.second-block {
    padding: 0 10px !important;
}

.second-block .row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.second-block {
    color: #ffffff;
}

.second-block a {
    color: #ffffff;
}


.left-block {
    background: url(https://s3.amazonaws.com/wp-agility2/measles/wp-content/uploads/2017/01/background-donate.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow p:nth-child(2) {
    max-width: initial;
}

.right-block {
    background: url(https://s3.amazonaws.com/wp-agility2/measles/wp-content/uploads/2017/01/background-donate.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
}

@media (max-width: 736px) {
    .second-block {
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .left-block {
        margin: 0 6px;
        width: 49%;
        padding-right: 30px;
    }

    .right-block {
        margin: 0 5px;
        width: 49%;
        padding-right: 30px;
    }

}

@media (min-width: 992px) {
    .left-copy {
        padding-left: 0px;
    }
    .left-copy h2 {
        padding-left: 30px;
    }
}

@media (max-width: 1200px) {
    .right-block,
    .left-block {
        width: 100%;
    }

    .right-block {
        margin-top: 20px;
    }
}

@media (max-width: 414px) {
    .right-block,
    .left-block {
        flex-direction: column;
    }
}

/* =========================================================================

Third block - Blog

========================================================================== */

.home-blog {
    margin-top: 10px;
    padding: 0 10px !important;
}

.home-blog .row {
    display: flex;
}

.blog-item {
    padding: 0px;
    margin: 0 0px 0 13px;
	background-color: #c41425;
}

.blog-item:nth-child(3) {
    margin-right: 13px;
}

.blog-item img {
    width: 100%;
}

.blog-copy {
    color: #ffffff;
}

.blog-item .blog-copy {
    background-color: initial;
}

.copy-container {
    background-color: #c41425;
    position: relative;
}

.blog-item a {
    color: #ffffff !important;
}

@media (min-width: 769px) {
	
	.blog-copy {
        padding: 10px 32px;
        margin-bottom: 35px;
    }
	
    .date {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
}

@media (min-width: 1024px) {
	
    .copy-container {
        /*height: 200px;*/
        padding: 10px;
    }
}

@media (min-width: 1200px) {
    .blog-copy {
        padding: 20px 62px;
        margin-bottom: 40px;
    }

    .blog-copy p {
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .home-blog .row {
        flex-wrap: wrap;
    }

    .blog-item {
        margin: 10px 14px;
    }

    .blog-copy {
        padding: 10px;
    }

    .date p {
        margin-bottom: 0rem;
        padding-bottom: 10px;
    }
}

.blog-item .blog-copy {
    position: initial;
}

/* =========================================================================

Buttons

========================================================================== */

.btn {
    font-weight: bold;
    letter-spacing: 1px;
}

/* =========================================================================

Learn More

========================================================================== */

.learn-more {
    background-color: #bed5e3;
}

.learn-container .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.learn-item a {
    color: #373a3c;
}

.learn-item img:hover {
    transition: .9s ease;
    transform: scale(1.03);
}

.learn-title {
    padding-bottom: 50px;
}


.learn-item img {
    width: 275px
}
/* =========================================================================

Video Gallery

========================================================================== */
.video-gallery {
    background-color: #294d6d;
    padding: 20px 0;
}

.slides {
    margin-left: initial !important;
    margin-right: initial !important;
    max-width: initial !important;
}

.flex-active-slide iframe {
    width: 100%;
    height: 670px;
}

@media (max-width: 414px) {
    .flex-active-slide iframe {
        height: 370px;
    }
}

.video-prefooter {
    background: url('https://s3.amazonaws.com/wp-agility2/measles/wp-content/uploads/2017/01/img.jpg');
    background-size: cover;
    margin-top: 0px !important;
    padding: 130px 0px 180px 0px;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .video-prefooter {
        background-size: contain;
        padding: 50px 0px 140px 0px;
    }
}

/* =========================================================================

Photo Gallery Page

========================================================================== */

.container.gallery-container {
    width: 1800px;
}

.container.gallery-container a:hover {
    text-decoration: none;
}

.photo-item h3 {
    padding-bottom: 30px;
    color: #ffffff;
    letter-spacing: .5px;
    text-shadow: 0px 0px 5px #000000;
}

.photo-item {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 34px;
}

.featured-photo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 34px;
}

.featured-photo h3 {
    padding-bottom: 30px;
    color: #ffffff;
    letter-spacing: .5px;
    text-shadow: 0px 0px 5px #000000;
}

.featured-container {
    padding-top: 7px;
}

/* Heights for photos */

@media (min-width: 200px) {
    .photo-item {
        height: 320px;
    }

    .featured-photo {
        height: 320px;
    }
}

@media (min-width: 540px) {
    .photo-item {
        height: 450px;
    }

    .featured-photo {
        height: 450px;
    }
}

@media (min-width: 768px) {
    .featured-photo {
        height: 770px;
    }

    .photo-item {
        height: 310px;
    }
}

@media (min-width: 1200px) {
    .featured-photo {
        height: 771px;
    }

    .photo-item {
        height: 368px;
    }
}

/* Single photo page */

/* intro */

#photo-intro {
    margin-top: 40px;
    margin-bottom: 20px;
}

/*
 * jQuery FlexSlider v2.6.3
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 */
/* ====================================================================================================================
 * FONT-FACE
 * ====================================================================================================================*/
@font-face {
    font-family: 'flexslider-icon';
    src: url('fonts/flexslider-icon.eot');
    src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
    outline: none;
}

.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-pauseplay span {
    text-transform: capitalize;
}

/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
    margin: 0;
    padding: 0;
}

.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
}

.flexslider .slides img {
    width: 100%;
    display: block;
}

.flexslider .slides:after {
    content: "\0020";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .flexslider .slides {
    display: block;
}

* html .flexslider .slides {
    height: 1%;
}

.no-js .flexslider .slides > li:first-child {
    display: block;
}

/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/

.flexslider.container {
    width: 1190px;
}

#carousel li:hover {
    cursor: pointer;
}

.flexslider {
    margin: 0 0 60px;
    position: relative;
    zoom: 1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
    -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
    box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
    margin: auto;
}

/* div#carousel {
    margin-top: -6rem;
}
.fle */
xslider .slides {
    zoom: 1;
}

.flexslider .slides img {
    height: auto;
    -moz-user-select: none;
}

#carousel .slides img {
    height: 140px;
}

.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.loading .flex-viewport {
    max-height: 300px;
}

.carousel li {
    margin-right: 5px;
}

.flex-direction-nav {
    *height: 0;
}

.flex-direction-nav a {
    text-decoration: none;
    display: block;
    width: 40px;
    height: 50px;
    margin: -20px 0 0;
    position: absolute;
    top: 50%;
    z-index: 10;
    overflow: hidden;
    opacity: 0;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.flex-direction-nav a:before {
    font-family: "flexslider-icon";
    font-size: 40px;
    display: inline-block;
    content: '\f001';
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.flex-direction-nav a.flex-next:before {
    content: '\f002';
}

.flex-direction-nav .flex-prev {
    left: -50px;
}

.flex-direction-nav .flex-next {
    right: -50px;
    text-align: right;
}

.flexslider:hover .flex-direction-nav .flex-prev {
    opacity: 0.7;
    left: 10px;
}

.flexslider:hover .flex-direction-nav .flex-prev:hover {
    opacity: 1;
}

.flexslider:hover .flex-direction-nav .flex-next {
    opacity: 0.7;
    right: 10px;
}

.flexslider:hover .flex-direction-nav .flex-next:hover {
    opacity: 1;
}

.flex-direction-nav .flex-disabled {
    opacity: 0 !important;
    filter: alpha(opacity=0);
    cursor: default;
    z-index: -1;
}

.flex-pauseplay a {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 5px;
    left: 10px;
    opacity: 0.8;
    z-index: 10;
    overflow: hidden;
    cursor: pointer;
    color: #000;
}

.flex-pauseplay a:before {
    font-family: "flexslider-icon";
    font-size: 20px;
    display: inline-block;
    content: '\f004';
}

.flex-pauseplay a:hover {
    opacity: 1;
}

.flex-pauseplay a.flex-play:before {
    content: '\f003';
}

.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -40px;
    text-align: center;
}

.flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #666;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.flex-control-paging li a:hover {
    background: #333;
    background: rgba(0, 0, 0, 0.7);
}

.flex-control-paging li a.flex-active {
    background: #000;
    background: rgba(0, 0, 0, 0.9);
    cursor: default;
}

.flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
}

.flex-control-thumbs li {
    width: 25%;
    float: left;
    margin: 0;
}

.flex-control-thumbs img {
    width: 100%;
    height: auto;
    display: block;
    opacity: .7;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.flex-control-thumbs img:hover {
    opacity: 1;
}

.flex-control-thumbs .flex-active {
    opacity: 1;
    cursor: default;
}
.video-gallery #slider .flex-direction-nav a::before {
  color: rgb(196, 20, 37);
}
#carousel .flex-direction-nav a::before {
  color: rgb(196, 20, 37);
}
#carousel .flex-direction-nav a,
.video-gallery .flex-direction-nav a {
  color: rgba(196, 20, 37,0.8);
}

.commentlist li {
    list-style: none;
}


.ID8437preludeParallax {
  height: initial !important;
  min-height: 700px;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {
        opacity: 1;
        left: 10px;
    }

    .flex-direction-nav .flex-next {
        opacity: 1;
        right: 10px;
    }
}

.cd-timeline-content p {
    line-height: 40px;
}
.fa-circle::before {

    color: #C41425!important;
}
#commentform #comment{
	border:1px solid rgba(0, 0, 0, 0.15);
}







/*-------------12/18/2018 menu navigation changes on desktop and mobile----------------*/
/*navigation bar fixes---------------------------------*/
@media(width: 992px){
    .navBars {
        display: block;
    }
    .dsHeader.header4 .dsMainNav ul li:last-child {
        display: block;
    }
}
/*navigation bar fixes---------------------------------*/
.navBars .sub-menu{
/*     border-top: 3px solid #007CAF; */
}
@media (min-width: 992px){
/*     .sub-menu:after {
        border-color: #007CAF transparent transparent transparent;
    } */
    .search-mobile-nav-bar {
        display: none;
    }
}
#mainNav ul li ul li > a:not(:only-child):after {
    color: #007CAF;
 }
 
.dsHeader.header4 .dsMainNav .sub-menu a:hover {
    color: #267FAD;
}
.navbar-header.pull-right i.fa.fa-search.fa-2x {
    margin-left: -31px;
    display: block;
    margin-bottom: -21px;
    width: 40px;
    color: #B5B5B5;
}
.dsHeader.header4 .nav-expander .fa-bars {
    color: #B5B5B5 !important;
}
.dsHeader.header4 .utility-background,.dsHeader.header4 .donate-utility,.dsHeader.header4 .topleft {
    background: #007CAF;
}
.dsMainNav i.fa.fa-search.fa-2x,.dsMainNav i.fa.fa-bars.fa-2x.white{
    font-size:1.5em;
}

.search-mobile-nav-bar.active{
    max-height: 221px;
    transition: max-height 0.25s ease-in;
}

.search-mobile-nav-bar {
    position: relative;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.15s ease-out;
    background: #F0F0F0;
}
.form-mobile-search-container {
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 20px;
    padding-right: 20px;
}
.form-mobile-search-container input#searchsubmit {
    background: #BD0029;
    color: white;
    padding: 7px 2em;
}
.form-mobile-search-container input#s {
    border-radius: 0;
    padding-right: 0;

}

#mobileMenu .navLogo {
    padding-top: 3em;
    padding-bottom: 0em;
}


@media (max-width: 991px){
    
    .search.menu-item {
        display: none !important;
    }
    .dsHeader.header4 .dsMainNav ul li a {
        text-align: left;
    }
    .dsHeader.header4 .dsMainNav .sub-menu {
        background: #267FAD;
        color: white;
    }
    .dsHeader.header4 .dsMainNav .sub-menu a:hover {
        color: white;
    }
    .dsHeader.header4 .dsMainNav ul.sub-menu li a {
        color: white;
    }
    .dsHeader.header4 .dsMainNav .sub-menu .sub-menu {
        padding-left: 25px;
    }
    .dsHeader.header4 .dsMainNav ul li:last-child {
        display: block;
    }
    .dsHeader.header4 .dsMainNav ul li:hover {
        border: none !important;
    }
    .main-menu a .caret {
        position: absolute;
        right: 35px;
        top: 37px;
    }
    body .main-menu span.caret {
        width: 20px !important;
        height: 20px !Important;
        background: url(https://s3.amazonaws.com/wp-agility2/measles/wp-content/uploads/2019/01/plus.png);
        background-size: cover;
        background-position: 50% 70%;
        background-repeat: no-repeat;
        border: 0px !important;
    }
    #mobileMenu .sub-menu a .caret {
        filter: invert(100%);
        -webkit-filter: invert(100%);
    }
    #mobileMenu .sub-menu .open a .caret {
        background: url(https://s3.amazonaws.com/wp-agility2/measles/wp-content/uploads/2019/01/minus.png);
        background-size: cover;
        background-position: 35% 70%;
        background-repeat: no-repeat;
        border: 0px !important;
        width: 17px !important;
        height: 17px !important;
    }
    #mobileMenu .open > a .caret {
        background: url(https://s3.amazonaws.com/wp-agility2/measles/wp-content/uploads/2019/01/minus.png);
        background-size: cover;
        background-position: 50% 70%;
        background-repeat: no-repeat;
        border: 0px !important;
    }
    .dsHeader.header4 .dsUtilityNav a, .dsHeader.header4 .dsMobileDonate a {
        width: 90%;
        text-align: center;
        border-radius: 10px;
        font-size: 1.4em;
    }
    li.search.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-10925 {
        display: none;
    }
}
#nav-close {
    color: #007CAF;
}


.dsHeader.header4 .dsMainNav .sub-menu .sub-menu > li {
    border: none !important;
}
.dsHeader.header4 .donate-utility{
	width: 100px !important;
    z-index: 10000;
}
.dsHeader.header4 .dsUtilityNav a{
    padding: 11px 10px !important;
}
/*-------------12/18/2018 menu navigation changes on desktop and mobile----------------*/


.page-id-6682 .middle-column,
.page-id-6705 .middle-column,
.parent-pageid-6682 .middle-column{
    display: none !important;
}

.home .ahsBuild::after {
    content: "";
    position: absolute;
    bottom:0;
    width:100%;
    height:100%;
    /* overlay from top transparent to bottom black */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.bodyContent a {
    color: #007caf;
}
.bodyContent a:hover {
    color: #c41425;
}

/* .footer3 .footer-copyright {
    background-color: #007caf !important;
}
 */
.footer-lower-links a {
    color: #fff !important;
}
#input_2_6 li input[type="radio"] {
  width: auto;
	margin-bottom: 0 !important;
}

ul, ol {
  list-style-position: outside;
  padding-left: 2em;
}

.dsHeader.header4 #menu-primary-menu {
	padding-left: 0;
	justify-content: center;
}

.postInfo {
  text-align: center;
  padding-top: 0;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  padding-bottom: 2em;
}