/*!
Theme Name: doubleup
Theme URI: http://underscores.me/
Author: Nick Morgan
Author URI: http://underscores.me/
Description: This is a custom theme for double up drive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: doubleup
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

doubleup is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}



/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}


dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	max-width: 100%;
}

/* Extra wide images within figure tags don't overflow the content area. */


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

/* Make sure select elements fit in widgets. */
/*.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}*/


/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}


/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}


/* ==========================================================================
   CUSTOM AUTHOR STYLES HERE
   ========================================================================== */



/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
* {
  box-sizing: border-box; 
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    margin-top: 0 !important;
}

/*
 * 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;
}

table {
  border-collapse: collapse;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/**************************** FONTS *****************************/
body {  
  font-family: 'Overpass', sans-serif;
  background: #F6F3F3;
  display: flex;
  flex-direction: column;
  height: 100%; }

/**************************** LAYOUT COMPONENTS *****************************/
/******* COMMON COMPONENTS *******/
.wrapper {
  width: 1380px;
  margin: 0 auto;
  overflow: auto; 
  height: 100%
}

.container {
  overflow: auto; }

.content-component {
  background: #FFFFFF;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15);
  /*margin: 15px 10px;*/
  padding: 45px;
  border-top: solid #A30D11 4px;
  float: left;
  /*position: relative;*/
  display: flex;
  justify-content: space-between; }

.shade-overlay {
  position: fixed;
  height: 100vh;
  top: 0px;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: block;
  z-index: 1001; }


.info-section {
    /*padding: 40px 0;*/
    padding-bottom: 80px;
}

.center {
    text-align: center;
    margin: 0 auto;
}

.top {
	margin-top: 30px;
}

.basic-component {
	background: #FFF;
  padding: 30px 50px;
  margin: 30px auto;
  width: 90%;
  box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.05);

}


/******* FORM COMPONENTS *******/


.wp-block-button__link, .CTA {
    /*border-radius: 11px;*/
    display: block;
    background: #FF9E00;
    color: #FFF;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 20px 25px;
    width: 440px;
    align-self: flex-end;
    text-decoration: none;
    text-align: center;
    /* Safari */
    transition: color 300ms, border-color 300ms, background 300ms;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.35);  

    margin: 40px auto;

    border-radius: 80px;
}

.wp-block-button__link:hover, .CTA:hover {
  color: #FFF;
  background: #F47C30;

}


.CTA-main {
  font-size: 25px;
  width: 440px;
  padding: 20px 25px;
}


.CTA-blue {
   background: #143B83; 
}

.CTA-blue:hover {
   background: #2196F3; 
}

.CTA-secondary {
   background: none;
   color: #2196F3;
   border: 3px solid #2196F3; 
   box-shadow: none;
}

.CTA-secondary:hover {
   background: #2196F3; 
   color: #FFF;
}

.CTA-large {
  width: 550px;
}

.CTA-card {
	  width: 100%;
    font-size: 19px;
    font-weight: 700;
    margin: 30px 0 10px;
}

.bottom {
  /*position: absolute;*/
  bottom: 0px; }

.right {
  right: 0px;
  float: right; }


/*.CTA .fas {
  position: relative;
  left: 20px; }*/

/******* TEXT COMPONENTS *******/
h1 {
  color: #1B1485;
  font-size: 36px;
  margin-top: 10px; }

.section-header {
    font-weight: 800;
    color: #1B1485;
    font-size: 30px;
}


.header-full {
  margin: 100px auto 40px;}

h2 {
	color: #1B1485;
  font-size: 28px;
  font-weight: 700;
}



h3 {
	color: #1B1485;
  font-size: 22px;
  font-weight: 700;
}

h4 {
	color: #1B1485;
  font-size: 19px;
  font-weight: 600;
}

p {
  font-size: 17px;
  line-height: 1.7em;
  color: #333333; }

ol {
  padding-inline-start: 15px;
}

ol li {
  margin-bottom: 10px;
  font-size: 19px;
  padding-left: 10px;
}

.section-link {
  color: #2196F3;
  font-weight: 700;
  text-decoration: none;
}

/******* GRID COMPONENTS *******/
.main-grid {
  display: grid;
  /*grid-template-columns: auto auto;
    grid-gap: 24px 14px;*/
  grid-template-columns: 49% 49%;
  grid-gap: 24px 2%; }

.col-full {
  grid-column: span 2; }

.col-half {
  grid-column: span 1; }

/******* HEADER *******/
header.site-header {
  height: 90px;
  width: 100%;
  position: fixed;
  top: 0px;
  background: #143B83;
  /*border-bottom: solid #FFF23A 6px;*/
  z-index: 1000;
  box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.15); 
}

.custom-logo-link {
    float: left; 
    margin: 9px 0 9px 0;
}

.custom-logo-link img {
    width: 238px; 
}


/*--------------------
!!!!!
CHECK THIS .main-navigation class... It might need to be changed to .navbar or something like that
!!!!
--------------------*/


nav.main-navigation {
  float: right; 
	display: flex;
}

nav.main-navigation ul {
  margin: 0;
  padding: 0;
  overflow: auto; }

nav.main-navigation ul li {
  list-style: none;
  float: left; }

nav.main-navigation ul li a {
    text-decoration: none;
    color: #FFF;
    font-size: 16px;
    line-height: 90px;
    padding: 0 0 0 41px;
    font-weight: 300;
    height: 90px;
    display: block; 
}

nav.main-navigation ul li a:hover {
  color: #aee5ff;
  /*font-weight: 600;*/
}

#CTA-nav {
    width: 270px;
    line-height: 56px;
    padding: 0;
    font-size: 16px;
    margin: 17px 0 17px 37px;
    height: 56px;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.52);
    border: none;
}

#CTA-nav:hover {
  color: #FFF;
  background: #F47C30;
}

.active {
  font-weight: 800;
  color: #A30D11;
  border-color: #A30D11; }

.mobile-nav {
  display: none; }

/******* LANDING *******/
.section {
  position: relative; }

.landing {
    /*background: #FFFFFF url(https://doubleupdrive.com/wp-content/uploads/2019/10/landing-hands-edit.jpg) no-repeat top center;*/
    background: #FFFFFF url(https://doubleupdrive.com/wp-content/uploads/2019/11/landing-hands-2.jpg) no-repeat bottom 110px center;
    
    /*margin-top: 97px;*/
    background-attachment: fixed; 
    background-size: 100%;
    height: 100vh;
    min-height: 521px;
    /*max-height: 620px;*/
    padding: 0;
}

.landing-shade
{
  position: relative;
  height: 100%;
  width: 100%;
  background-color: rgba(40, 106, 166, 0.75);
}

.landing-wrap {
  text-align: center;
  color: #fff;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.52);
  margin-top: 138px;
}


.mega-title {
    color: white;
    font-weight: 800;
    font-size: 50px;
    text-shadow: 0px 3px 12px rgba(0, 0, 0, 0.52);
    margin: 70px auto 0;
    /*width: 66%; */
    
}

.date {
	color: #FFF;
  font-size: 20px;
  font-weight: 500;
}


.tagline {
	color: #FFF;
  margin-top: 35px;
  font-size: 30px;
  font-weight: 200;

}

.bold {
  font-weight: 600; }


.page-template-page-home .entry-header {
	display: none;
}

.page-template-page-home .page {
	/*margin-top: -90px;*/
}



/******* SUB-NAV *******/

.sub-nav {
  width: 100%;
  height: 140px;
  background: #143B83;
  position: absolute;
  bottom: 0px;
}

.land-sub-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /*align-items: stretch;*/
  height: 140px;
  margin: 0;
  padding: 28px 0;
}

.land-sub-nav li {
  color: #FFF;
  text-align: center;
  list-style: none;
  /*flex-grow: 1;*/
  width: 33.3%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.land-sub-nav li:nth-child(2) {
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
}

.land-sub-nav li a {
  color: #FFF;
  text-align: center;
  text-decoration: none;
  /*line-height: 100px;*/
  font-size: 22px;
  line-height: 1.6em;
  padding: 0 30px;

}


.land-sub-nav li a:hover {
  color: #aee5ff;;

}


.landing-logo {
  width: 600px;
}




/******* POP-UP MODULE *******/


.backdrop {
  position: fixed;
  z-index: 1001;
  background: rgba(20, 59, 131, 0.75);
  width: 100%;
  height: 100vh;
  top: 0px;
  display: none;
}

.popup {
  background: #FFF;
  width: 50%;
  margin: 100px auto 0;
  z-index: 4;
  box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.15);
  padding: 40px;
  border-radius: 30px;
  position: relative;
}

.close-btn {
    position: relative;
    top: -25px;
    left: 99%;
    display: block;
    width: 24px;
    margin: 0;
    color: #444;
    transition: color 200ms;
}

.close-btn:hover {
  color: #2196F3;
  cursor: pointer;
}

.pop-wrap {
  margin: -35px 14px 0;
}

.pop-message {
  margin: 0;
    line-height: 1.7em;
    font-size: 19px;
    color: #454545;
}


/******* MAIN *******/

section {
    padding: 60px 0;
}

section.site-content {
	padding: 0;
}

.intro {
    background: #EEF3F6;
    background: #c5d7e1;
    border-top: #1B1485 solid 10px;
}


.text-section {
    background: #FFFFFF;
    flex-grow: 1;
    padding: 50px;
    border-top: #FF9E00 solid 6px;
}



@-moz-document url-prefix() { 
  .text-section {
		width: 50%;
	}
}


.text-section p:last-child {
    margin-bottom: 0;
}

.image-component {
    /*flex-grow: 1;
    max-height: 640px;*/
    width: 50%;
    object-fit: cover;
}



main {
  /*background: #FEF9F9;*/
  padding: 45px 0 0;
  /*border-top: 30px solid yellow;*/
  flex: 1 0 auto; }

/*main > .wrapper {
  padding: 15px 10px; }*/

.comp-container {
  position: relative;
  /*width: 100%;*/
  display: flex;
  flex-direction: column;
  justify-content: space-between; }

.comp-half {
  width: 48%; }

.comp-half img {
  width: 100%;
  box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.15); 
}

/******* CHARITIES SECTION *******/

.charity-grid {
  display: grid;
  grid-template-columns: repeat(4, 25%);
  /*grid-column-gap: 2%;*/
  grid-row-gap: 20px;
  margin: 40px auto;
}

.char-item-wrap {
	display: flex;
	flex-direction: column;
	margin: 0 4%;
}


.charity-item {
  background: #fff;
  height: 220px;
  display: flex;
  margin-bottom: 10px;
  position: relative;
}

.char-item-wrap .CTA-card {
	margin: 6px auto 10px;
	width: 90%;
}


.charity-thumb {
  margin: auto;
  max-width: 82%;
  max-height: 180px;

}

.malaria-con {

}

.standalone-link {
	font-style: italic;
}


.charity-shade {
    width: 100%;
    /*background: rgba(0,0,0,0.85);*/
    background: rgba(20, 59, 131, 0.9);
    color: #FFF;
    z-index: 2;
    position: absolute;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;

}


.charity-shade:hover {
  opacity: 1;
}

.charity-shade h3 {
  margin: 0 0 10px;
  text-align: center;
  color: #FFF;
}

.charity-shade p {
  color: #FFF;
  line-height: 1.5em;
  font-size: 15px;
  font-weight: 300;
  margin: 0;
}



/******* FOOTER *******/

.footer-wrap {
  flex-shrink: 0; 
}

footer {
    background: #272A2C;
    color: #FFFFFF;
    padding: 40px 0 60px;
    width: 100%;
}

footer a {
  color: #B4C5F4;
  text-decoration: none;
}

.entry-footer {
	display: none;
}

.company-info {
  float: left;
  /*width: 20%;*/ }

.footer-logo img {
  width: 300px; }

.address {
  font-size: 20px;
  color: #FFF;
  font-weight: 500;
  line-height: 1.7em; 
  margin-top: 25px;}

p.address {
  margin: 0;
}

.address a {
  font-size: 18px;
  font-weight: 300;
}

.link-container {
  float: right; }

.col {
  width: 150px;
  margin-left: 20px;
  float: left; }

.col-head {
	color: #FFF;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom: 20px; }

.col-link {
  font-size: 16px;
  font-weight: 200;
  display: block;
  line-height: 2.5em;
  text-decoration: none;
  color: #FFFFFF; }

.col-link:hover {
  font-weight: 600;
  color: #FFFFFF; }

.donate {
  color: #B4C5F4;
  text-decoration: none;
  line-height: 2.5em;
  font-weight: 600;
}

.footer-bottom {
  width: 100%;
  margin-top: 40px;
  text-align: center; }

footer hr {
  border-color: #505C64; }

.statement {
  color: #968F8F;
  font-size: 15px;
  font-weight: 200;
  width: 800px;
  margin: 0 auto 20px;
}

.copyright {
  /*float: right;*/ 
  font-size: 18px;
}


/******* MAIN COMPONENT TEMPLATE *******/


.component-full {
    margin: 40px 20px 80px;
    display: flex;
    flex-direction: row;

    box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.15);
}

.bottom-short {
	margin-bottom: 40px;
}

.contain {
    background: #FFFFFF;
    padding: 50px;
    border-top: #1B1485 solid 6px;
}


.contain .text-section {
  
    flex-grow: 0;
    padding: 0;
    border: none;
}

.text-section p:last-child {
    margin-bottom: 0;
}

.contain .image-component {
    flex-grow: 0;
    max-height: none;

}


.fund-container {
  width: 80%;
  margin: 80px auto 40px;
}

#why {
	position: relative;
}

.mal-photo-cred {
	position: absolute;
    bottom: 10px;
    left: 10px;
    color: #FFF;
}


/******* SERVICE CARDS COMPONENT *******/

.service-card {
  color: #FFFFFF;
  background: #717595;
  background: #444673;
  background: #7e82a3;
  background: #a8abc5;
  font-family: 'Karla', sans-serif;
  padding: 25px 30px;
  font-size: 16px;
  box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.31);
  margin-bottom: 25px;
}

.service-card {
  color: #66656e;
  background: #e7e8ee;
  box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.1);

}

.service-card p {
  color: #FFFFFF;
  color: #66656e;
  font-family: 'Karla', sans-serif;
  font-size: 16px;
}

.card-header {
  font-family: 'Karla', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #BEE1F1;
  color: #eaf6fb;
  color: #1a0987;
  margin-top: 0;
}

.card-container {
  display: flex;
  flex-direction: column;
  /*justify-content: space-between;*/

}

.card-container li {
  font-size: 16px;
}

.card-half-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /*margin: 10px 0;*/

}

.start {
  justify-content: flex-start;
}

.full {
  width: 100%;
}

.half {
  width: 49%;
}




.service-grid {
  display: grid;
  /*grid-template-columns: auto auto;
    grid-gap: 24px 14px;*/
  grid-template-columns: 32% 32% 32%;
  grid-gap: 2%;

}

.col-full {
  grid-column: span 2; }

.col-half {
  grid-column: span 1; }

.third {
  /*width: 32%;*/
  grid-column: span 1;
}



/**********  FUNDS CHARTS SECTION **********/


.funds-charts {
    display: grid;
    grid-template-columns: repeat(3, 32%);
    grid-column-gap: 2%;
    grid-row-gap: 20px;
    margin: 10px auto 80px;
}

.funds-2-charts {
	display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 3%;
    grid-row-gap: 30px;
    margin: 20px 20px 80px;
}

.chart-2020-container {
  background: #FFF;
  /*width: 30%;
  margin-right: 3.2%;*/
  display: flex;
  flex-direction: column;
  padding: 25px;
  justify-content: space-between;
  position: relative;
}

@media only screen and (max-width: 415px) {
.funds-2-charts{
    display: flex;
    flex-direction: column;
    margin: 10px 10px 40px;
    }    
.fund-a{
    height: 0%;
}
.fund-b{
    height: 0%;
}
}

@media only screen and (max-width: 321px) {
.funds-2-charts{
    display: flex;
    flex-direction: column;
    margin: 60px 10px 40px;
    }    
.fund-a{
    height: 0%;
}
.fund-b{
    height: 0%;
}
}

@media only screen and (max-width: 300px) {
.funds-2-charts{
    display: flex;
    flex-direction: column;
    margin: 140px 10px 40px;
    }    
.fund-a{
    height: 0%;
}
.fund-b{
    height: 0%;
}
}



.chart-container {
  background: #FFF;
  /*width: 30%;
  margin-right: 3.2%;*/
  display: flex;
  flex-direction: column;
  padding: 25px;
  justify-content: space-between;
  position: relative;

}

.char-coll-container {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  justify-content: space-around;
}

.char-coll-row {
  display: flex;
  flex-direction: row;
  min-height: 70px;
  max-height: 110px;
}

.char-2020-coll-row {
  display: flex;
  flex-direction: row;
  min-height: 70px;
  max-height: 610px;
}

.char-coll-2 .char-coll-thumb-wrap {
  width: 50%;
}

.char-coll-thumb-wrap {
  align-items: center;
  justify-content: space-around;
  display: flex;
  width: 100%;
}

.char-coll-thumb {
      /* max-width: 60%; */
    max-width: 80%;
    /* margin: 0 auto; */
    display: block;
    margin: 0 auto;
}


.graph {
  display: flex;
  flex-direction: column;
}


.graph-container {
  width: 100%;

}

.graph-bar {
  height: 40px;
  background: #E5F1F6;
  width: 100%;
  position: relative;
}

.fill-bar {
  height: 40px;
  background: #4341A5;
  width: 1%;
  position: relative;
  top: 40px;
  z-index: 2;
}


.labels-container {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  justify-content: space-between;
}

.val-col {
  display: flex;
  flex-direction: column;
}

.match-val {
  text-align: left;
}

.total-val {
  text-align: right;
}

.match-amount, .total-amount {
  font-size: 19px;
  color: #143B83;
  font-weight: 900;
}

.match-label, .total-label {
  font-size: 19px;
  color: #2196F3;
  font-weight: 500;
}

.of {
  color: #AFB6BC;
  align-self: center;
}



/* FUND MATCHED OVERLAY */


.fund-match-overlay {
  width: 100%;
    background: rgba(20, 59, 131, 0.9);
    color: #FFF;
    z-index: 2;
    position: absolute;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 25px;
    top: 0;
    left: 0;
    -webkit-align-items: center;
    align-items: center;
}

.match-text {
    height: 100%;
    display: flex;
    align-items: center;
}

.fund-match-overlay h3 {
  text-align: center;
  color: #FFF;
  font-size: 24px;
}





/**********  FUNDS CHARTS END **********/




/******* FUND TABLE *******/

.table-wrapper {
  flex-direction: row;
  justify-content: flex-start;
  width: 90%;
  margin: 40px auto 0; }

.fund-table {
  border: none; 
  width: 100%
}

/*.drug-table {
  min-width: 25%;
  max-width: 25%; }*/

.scroll-table-container {
  width: 100%;
  width: fill-available;
  width: -webkit-fill-available;
  width: -moz-available;
}

.shadow {
  display: none; }

.scroll-table {
  width: 100%; }

.table-head {
  background: #F6F3F3;
  color: #686C71; }

.table-head th {
  color: #686C71;
  font-size: 24px;
  font-weight: 600;
  max-width: 180px; }

.fund-table tr {
  border: none;
  border-bottom: 1px solid #D9D7D7;
  height: 76px;
  /*line-height: 120px;*/ }

.fund-table thead tr:first-child {
  border: none; }


.fund-table td {
  font-size: 20px;
  color: #333333;
  background: #FFFFFF; }



.fund-table td, .fund-table th {
  text-align: left;
  vertical-align: middle;
  width: 65%;
  padding: 0 35px; }

.table-head th:nth-child(2) {
  text-align: right;
  width: 35%;
}

.fund-table tr td:nth-child(2) {
  text-align: right; 
  width: 35%;
}


/*.fund-table td.drug-title {
  font-size: 36px;
  font-weight: 600;
  color: #36454F;
  text-transform: uppercase; }*/


input, textarea {
		background: #fef9f9;
    border: 1px solid #B4ACAC;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    color: #36454F;

}


input[type="submit"] {

    background: #FF9E00;
    color: #FFF;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 20px 25px;
    width: 440px !important;
    text-decoration: none;
    text-align: center;
    transition: color 300ms, border-color 300ms, background 300ms;
    /* box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.35); */
    /* margin: 40px auto; */
    border-radius: 80px;
    border: none;
}

.ninja-forms-form-wrap {
	width: 60%;
}

.field-wrap, #ninja_forms_required_items {
    margin: 20px 0;
}

.ninja-forms-required-items {
    font-size: 15px;
    color: #827E7E;
}


.ninja-forms-field-error p {
    color: #db0303;
    font-weight: 700;
    background: #faf4f4;
}

.ninja-forms-success-msg div p {
		color: #0000ff;
		font-weight: 700;
}


/******* TEAM PAGE *******/

.page-template-page-team .entry-header {
	display: none;
}


.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 25%);
  grid-row-gap: 20px;
  margin: 40px auto;
}


.team-item {
	  background: #fff;
    /*height: 220px;*/
    display: flex;
    flex-direction: column;
		padding: 50px 36px 30px;
    border-top: #FF9E00 solid 6px;
    margin: 0 4%;

    box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.15);
}

.team-item h2 {
	  margin: 20px 0 5px;
}

.team-item h4 {
	  margin-bottom: 10px;
}

.profile-circle {
	display: block;
	height: 210px;
	width: 210px;
	background-color: gray;
	margin: 0 auto;
	border-radius: 180px;
}

.dan {
	background: url(https://doubleupdrive.com/wp-content/uploads/2018/02/Dan_Smith.jpg) top center;
	background-size: 600px;
  background-repeat: no-repeat;
}

.aaron {
	background: url(https://doubleupdrive.com/wp-content/uploads/2018/11/aaron_profile.jpg) top -40px left -124px;
	background-size: 490px;
  background-repeat: no-repeat;
}


.matt {
	background: url(https://doubleupdrive.com/wp-content/uploads/2018/11/matt-ashton-a-man-with-very-few-complaints-ld-audio-interview.jpg) top left -110px;
	background-size: 371px;
  background-repeat: no-repeat;
}

.steve {
	background: url(https://doubleupdrive.com/wp-content/uploads/2018/11/WhatsApp-Image-2018-11-26-at-18.37.27.jpeg) top center;
	background-size: 371px;
  background-repeat: no-repeat;
}

.martin {
	background: url(https://doubleupdrive.com/wp-content/uploads/2019/11/martin.jpg) top left -53px;
	background-size: 371px;
  background-repeat: no-repeat;
}


.elio {
  background: url(https://doubleupdrive.com/wp-content/uploads/2019/12/elio.jpg) top -20px left -100px;
  background-size: 400px;
  background-repeat: no-repeat;
}


/******* DONATE PAGE *******/

.instructions-text {
		text-transform: uppercase;
    color: #96949f;
    font-weight: 400;
}


.triple-grid {
	display: grid;
  grid-template-columns: repeat(3, 33.3%);
  /*grid-column-gap: 2%;*/
  grid-row-gap: 40px;
  margin: 40px auto;
}

.charity-full-container {
	margin: 40px auto;
}


.charity-card {
	  background: #fff;
    /*height: 220px;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
		padding: 50px 36px 30px;
    border-top: #FF9E00 solid 6px;
    margin: 0 4%;


    box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.15);
}

.thumb-wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 180px;
}

.charity-card h3 {
	margin-top: 25px;
	margin-bottom: 10px;
}


/*.charity-thumb {
  margin: auto;
  max-width: 82%;
  max-height: 180px;

}*/


.charity-card-hor {
	  background: #fff;
    /*height: 220px;*/
    display: flex;
    flex-direction: row;
    justify-content: space-between;
		padding: 50px 36px 30px;
    border-top: #FF9E00 solid 6px;
    margin: 0 13px 40px;


    box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.15);
}

.hor-block {
	width: 50%;
}


/* ==========================================================================
   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);
  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;
  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.
   ========================================================================== */

/* HEIGHT MEDIA QUERIES */

/* iPhone 11 landscape */
@media only screen and (max-height: 830px) {

    /* LANDING HEIGHT ADJUSTMENTS */

    .landing {
        /*background: #FFFFFF url(https://doubleupdrive.com/wp-content/uploads/2019/10/landing-hands-edit.jpg) no-repeat top center;*/
        background: #FFFFFF url(https://doubleupdrive.com/wp-content/uploads/2019/11/landing-hands-2.jpg) no-repeat bottom 110px center;
        background-size: cover;
        /*min-height: 460px;*/
        height: 100vh;

    }

    .landing-wrap {
      margin-top: 125px;
    }

    .landing-logo {
        width: 560px;
    }

    .mega-title {
        font-size: 44px;
    }

    .tagline {
        margin-top: 30px;
        font-size: 28px;
    }

    .CTA {
      margin: 30px auto;
      font-size: 23px;
      padding: 16px 25px;
    }

    .CTA-card {
      margin: 30px 0 10px;
      font-size: 19px;
      padding: 16px 25px;
    }

    /*#CTA-nav {
        width: 120px;
        line-height: 56px;
        padding: 0;
        font-size: 16px;
        margin: 17px 0 17px 37px;
        border-radius: 40px;
        height: 56px;
        text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.52);
    }*/

		.wrapper {
		overflow: hidden;
	}

    .sub-nav {
	  /*display: none;*/
    }
	
	header.site-header {
		height: 60px;
	}
	
	#nav-icon {
    width: 45px;
    height: 50px;
    position: relative;
    /*margin: 50px auto;*/
    float: right;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer; 
}

  #nav-icon span {
    display: block;
    position: absolute;
    height: 7px;
    width: 100%;
    background: #FFF;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: .25s ease-in-out; 
}

  /* Icon 3 */
  #nav-icon span:nth-child(1) {
    top: 0px; }
  #nav-icon span:nth-child(2), #nav-icon span:nth-child(3) {
    top: 13px; }
  #nav-icon span:nth-child(4) {
    top: 26px; }
  #nav-icon.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%; }
  #nav-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg); }
  #nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg); }
  #nav-icon.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%; }
	
	  nav.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 100;
    background: #272A2C;
    box-shadow: 2px 7px 8px 1px rgba(0, 0, 0, 0);
    /* Safari */
    transition: width 0.4s; 
		display: flex;
    flex-direction: column;
  }


  nav.main-navigation.slideOut {
    width: 245px;
    box-shadow: 2px 0px 8px 1px rgba(0, 0, 0, 0.55); }


  nav.main-navigation ul {
    margin-top: 25px;
    width: 245px;
    overflow: visible; }


  nav.main-navigation ul li {
    width: 100%;
    height: 55px; }

  nav.main-navigation ul li a {
    border-top: none;
    border-right: 5px solid #272A2C;
    margin: 0;
    /*padding: 15px 20px;*/
    font-size: 15px;
    text-align: left;
    color: #B4B4B4;
    height: 55px;
    line-height: 55px; }

  nav.main-navigation ul li a:hover {
    /*background-color: #fff;*/
    color: #FFFFFF;
    border-right: 5px solid #FFFFFF;
    background: #36454F; }
	
	.mobile-nav {
		display: block;
		height: 50px;
		padding: 15px 0 !important;
	}
	
	.landing-wrap {
		margin-top: 70px;
	}
	
	.landing-wrap img {
		width: 325px;
	}
	
	.custom-logo-link img {
		width: 140px;
	}

    .land-sub-nav {
      height: 116px;
      padding: 23px 0;
    }
}

/* Landscape iPhone 11 */
@media only screen and (max-height: 740px) {

    /* LANDING HEIGHT ADJUSTMENTS */

    /*.landing-wrap {
      margin-top: 90px;
    }*/

    .landing-logo {
        width: 500px;
    }

    .mega-title {
        font-size: 38px;
    }

    .tagline {
        margin-top: 20px;
        font-size: 28px;
    }

    .CTA {
      margin: 30px auto;
      font-size: 23px;
      padding: 16px 25px;
    }

    .CTA-card {
      margin: 30px 0 10px;
      font-size: 19px;
      padding: 16px 25px;
    }

    /*#CTA-nav {
        width: 120px;
        line-height: 56px;
        padding: 0;
        font-size: 16px;
        margin: 17px 0 17px 37px;
        border-radius: 40px;
        height: 56px;
        text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.52);
    }*/
	
	.wrapper {
		overflow: hidden;
	}

    .sub-nav {
	  /*display: none;*/
    }
	
	header.site-header {
		height: 60px;
	}
	
	#nav-icon {
    width: 45px;
    height: 50px;
    position: relative;
    /*margin: 50px auto;*/
    float: right;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer; 
}

  #nav-icon span {
    display: block;
    position: absolute;
    height: 7px;
    width: 100%;
    background: #FFF;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: .25s ease-in-out; 
}

  /* Icon 3 */
  #nav-icon span:nth-child(1) {
    top: 0px; }
  #nav-icon span:nth-child(2), #nav-icon span:nth-child(3) {
    top: 13px; }
  #nav-icon span:nth-child(4) {
    top: 26px; }
  #nav-icon.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%; }
  #nav-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg); }
  #nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg); }
  #nav-icon.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%; }
	
	  nav.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 100;
    background: #272A2C;
    box-shadow: 2px 7px 8px 1px rgba(0, 0, 0, 0);
    /* Safari */
    transition: width 0.4s; 
		display: flex;
    flex-direction: column;
  }


  nav.main-navigation.slideOut {
    width: 245px;
    box-shadow: 2px 0px 8px 1px rgba(0, 0, 0, 0.55); }


  nav.main-navigation ul {
    margin-top: 25px;
    width: 245px;
    overflow: visible; }


  nav.main-navigation ul li {
    width: 100%;
    height: 55px; }

  nav.main-navigation ul li a {
    border-top: none;
    border-right: 5px solid #272A2C;
    margin: 0;
    /*padding: 15px 20px;*/
    font-size: 15px;
    text-align: left;
    color: #B4B4B4;
    height: 55px;
    line-height: 55px; }

  nav.main-navigation ul li a:hover {
    /*background-color: #fff;*/
    color: #FFFFFF;
    border-right: 5px solid #FFFFFF;
    background: #36454F; }
	
	
	
	
	
	.mobile-nav {
		display: block;
		height: 50px;
		padding: 15px 0 !important;
	}
	
	.landing-wrap {
		margin-top: 70px;
	}
	
	.landing-wrap img {
		width: 325px;
	}
	
	.custom-logo-link img {
		width: 140px;
	}

    .land-sub-nav {
      height: 116px;
      padding: 23px 0;
    }

}


@media only screen and (max-height: 680px) {

  .tagline {
    margin-top: 25px;
    font-size: 26px;
  }

  .CTA-main {
    margin-top: 22px;
  }


}


@media only screen and (max-height: 640px) {

  .landing-logo {
    width: 460px;
  }

  /*.tagline {
    margin-top: 20px;
  }*/


}




@media only screen and (max-width: 1600px) {

    .wrapper {
        width: 1200px;
    }

    .land-sub-nav li a {

        font-size: 22px;
    }



    .fund-container {
      width: 90%;
    }

		.team-grid {
		  grid-row-gap: 30px;

		}

		.team-item {
    	grid-column: span 2;
    	margin: 0 3%;
    }


    .CTA-card {
    	font-size: 18px;
    }


}

@media only screen and (max-width: 1400px) {

    .land-sub-nav li a {
        font-size: 20px;
    }


    

}


@media only screen and (max-width: 1269px) {

    .landing {
        /*background: #FFFFFF url(https://doubleupdrive.com/wp-content/uploads/2019/10/landing-hands-edit.jpg) no-repeat top center;*/
        background: #FFFFFF url(https://doubleupdrive.com/wp-content/uploads/2019/11/landing-hands-2.jpg) no-repeat bottom 110px center;
        background-size: cover;

    }

    .wrapper {
        width: 92%;
        margin: 0 auto;
    }

    .mega-title {
        font-size: 44px;
    }


    .landing-logo {
        width: 530px;
    }

    .CTA {
      font-size: 23px;
      padding: 17px 25px;
    }

    .CTA-main {
      width: 400px;
    }

    .CTA-card {
    	font-size: 18px;
    }


    /*#CTA-nav {
        width: 120px;
        line-height: 56px;
        padding: 0;
        font-size: 16px;
        margin: 17px 0 17px 37px;
        border-radius: 40px;
        height: 56px;
        text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.52);
    }*/



    /******* HEADER *******/

    nav ul li a {
        font-size: 14px; 
    }


    

    /******* MAIN COMPONENTS *******/

    .section-header {
      margin-top: 0;
    }

    .component-full p {
      font-size: 16px;
      line-height: 1.6em;
    }



		.charity-shade h3 {
			font-size: 19px;
		}



    /******* FUND GRID *******/

    .fund-container {
      width: 92%;
    }

}




@media only screen and (max-width: 1169px) {

/******* COMMON COMPONENTS *******/
  .wrapper {
    width: 980px; }

/******* TEXT COMPONENTS *******/
  p {
    font-size: 18px; }


/******* POPUP *******/

  .popup {
		width: 75%;
  }



  /******* LANDING *******/

/*  .mega-title {
    font-size: 60px; }*/

  .sub-heading {
    font-size: 36px;
    margin-top: 20px; }
  /******* MAIN *******/


.image-component {
    /*max-height: 590px;*/
    /*object-fit: cover;*/
}


.col-3 {
    margin: 0 2%;
}


	.charity-shade h3 {
			font-size: 17px;
		}


  /******* FUND GRID *******/

    .fund-container {
      width: 97%;
    }


    .triple-grid {
	    grid-template-columns: repeat(2, 50%);
    }


  /******* FOOTER *******/
  .footer-logo img {
    width: 360px; 
  } 

}


@media only screen and (max-width: 1060px) {
  /******* COMMON COMPONENTS *******/
    .wrapper {
        width: 860px; 
    }


/************ MOBILE NAV **************/

.mobile-nav {
    display: block;
    height: 50px;
    padding: 30px 0;
    /*position: fixed;
        top: 0;
        right: 22px;*/ 
}



  #nav-icon {
    width: 45px;
    height: 50px;
    position: relative;
    /*margin: 50px auto;*/
    float: right;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer; 
}

  #nav-icon span {
    display: block;
    position: absolute;
    height: 7px;
    width: 100%;
    background: #FFF;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: .25s ease-in-out; 
}

  /* Icon 3 */
  #nav-icon span:nth-child(1) {
    top: 0px; }
  #nav-icon span:nth-child(2), #nav-icon span:nth-child(3) {
    top: 13px; }
  #nav-icon span:nth-child(4) {
    top: 26px; }
  #nav-icon.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%; }
  #nav-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg); }
  #nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg); }
  #nav-icon.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%; }



  nav.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 100;
    background: #272A2C;
    box-shadow: 2px 7px 8px 1px rgba(0, 0, 0, 0);
    /* Safari */
    transition: width 0.4s; 
		display: flex;
    flex-direction: column;
  }


  nav.main-navigation.slideOut {
    width: 245px;
    box-shadow: 2px 0px 8px 1px rgba(0, 0, 0, 0.55); }


  nav.main-navigation ul {
    margin-top: 25px;
    width: 245px;
    overflow: visible; }


  nav.main-navigation ul li {
    width: 100%;
    height: 55px; }

  nav.main-navigation ul li a {
    border-top: none;
    border-right: 5px solid #272A2C;
    margin: 0;
    /*padding: 15px 20px;*/
    font-size: 15px;
    text-align: left;
    color: #B4B4B4;
    height: 55px;
    line-height: 55px; }

  nav.main-navigation ul li a:hover {
    /*background-color: #fff;*/
    color: #FFFFFF;
    border-right: 5px solid #FFFFFF;
    background: #36454F; }

    /*#CTA-nav, #CTA-nav:hover {
      border: none;
    }*/

  .active {
    font-weight: 800;
    color: #F47421;
    border-color: #F47421;
    background: #36454F;
    background: #2A2727; }


  #CTA-nav {
  	align-self: flex-start;

  	width: 168px;
    line-height: 1.4em;
    height: 72px;
    padding: 14px 0;
    border-radius: 45px;
  }


 /******* END MOBILE NAV *******/



  /******* FORM COMPONENTS *******/

  /*.CTA-secondary {
    font-size: 22px;
    padding: 14px 0;
    width: 220px; 
}*/

  /******* LANDING *******/

    .landing {
        /*background: #FFFFFF url(https://doubleupdrive.com/wp-content/uploads/2019/10/landing-hands-edit.jpg) no-repeat top center;*/
        background: #FFFFFF url(https://doubleupdrive.com/wp-content/uploads/2019/11/landing-hands-2.jpg) no-repeat bottom 110px center;
        background-size: cover;
        /*min-height: 460px;*/
        height: 100vh;

    }


    .land-sub-nav li a {
        font-size: 18px;

    }

  /******* MAIN *******/

  .image-component {
    /*max-height: 530px;*/
}


/******* CHARITIES SECTION *******/

.charity-grid {
  display: grid;
  grid-template-columns: repeat(3, 31.3%);
  grid-column-gap: 2%;
  grid-row-gap: 20px;
  margin: 40px auto;
}

.charity-item {
  background: #fff;
  height: 220px;
  display: flex;
}


.charity-thumb {
  margin: auto;
  max-width: 82%;
  max-height: 180px;

}


.ninja-forms-form-wrap {
	width: 100%;
}

input[type="submit"] {
	width: 100% !important;

}



  /******* FOOTER *******/
  .footer-logo img {
    width: 300px; }
  footer .col {
    width: 140px; } 




/**********  FUNDS CHARTS SECTION **********/


.funds-charts {
    display: grid;
    grid-template-columns: repeat(1, 100%);
    grid-column-gap: 0;
    grid-row-gap: 40px;
    margin: 10px auto 80px;
}


.chart-container {
  padding: 35px;
}

.char-coll-container {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  justify-content: space-around;
}

.char-coll-row {
  display: flex;
  flex-direction: row;
  min-height: 140px;
  max-height: 150px;
  justify-content: space-around;
}

/*.char-coll-2 .char-coll-thumb-wrap {
  width: 50%;
}

.char-coll-thumb-wrap {
  align-items: center;
  justify-content: space-around;
  display: flex;
}*/

.char-coll-2 .char-coll-thumb-wrap .char-coll-thumb {
    max-width: 60%;
}
	
.char-coll-thumb {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}




}

@media only screen and (max-width: 929px) {
  
/******* COMMON COMPONENTS *******/

.wrapper {
    width: 92%;
    margin: 0 auto;
}

/******* LANDING *******/

.landing {

}

.mega-title {
    /*font-size: 55px; 
    width: 70%;*/
}

/******* MAIN *******/

.image-component {
    /*max-height: 500px;*/
}

/******* FOOTER *******/

  .footer-logo img {
    width: 260px; }
  footer .col {
    width: 130px; } 

  .statement {
    width: 90%;
  }

}

@media only screen and (max-width: 906px) {
    .image-component {
        /*max-height: 488px;*/
    }
}

@media only screen and (max-width: 860px) {


		main {
			padding-top: 105px;
		}

    section {
        padding: 20px 0;
    }

    .component-full {
        flex-direction: column;
        margin: 20px 20px 40px;
    }

    .image-component {
        max-height: none;
        /* flex-grow: 0; */
        width: 100%;
    }

		@-moz-document url-prefix() { 
		  .text-section {
				width: 100%;
			}
		}


    .header-full {
        font-size: 30px;
        margin: 60px auto 40px;
    }

    .mal-photo-cred {
		    top: 15px;
    		right: 15px;
    		bottom: unset;
    		left: unset;
		}


    /******* CHARITIES SECTION *******/

    .charity-grid {
      display: grid;
      grid-template-columns: repeat(2, 49%);
      grid-column-gap: 2%;
      grid-row-gap: 20px;
      margin: 40px auto;
    }

    .charity-item {
      background: #fff;
      height: 220px;
      display: flex;
    }

    /******* FUND TABLE *******/

    .fund-container {
        margin: 70px auto 40px;
    }

    .table-wrapper {
      width: 100%;
    }

    .top {
    	margin-top: 0;
    }


}

@media only screen and (max-width: 799px) {

  /******* COMMON COMPONENTS *******/
  .wrapper {
    width: 94%; }
  /******* LANDING *******/
    
    .landing {
        /*background: #FFFFFF url(https://doubleupdrive.com/wp-content/uploads/2019/10/landing-hands-edit.jpg) no-repeat top center;*/
        background: #FFFFFF url(https://doubleupdrive.com/wp-content/uploads/2019/11/landing-hands-2.jpg) no-repeat bottom 110px center;
        background-size: cover;
        /*min-height: 460px;*/
        height: 100vh;

    }

    .sub-nav .wrapper {
      width: 100%;
    }

    .land-sub-nav li a {
    font-size: 16px;
}


  /******* MAIN *******/

    .col-3-wrapper {
        flex-direction: column;
        margin: 50px 0 0;
    }

    .col-3 {
        margin: 0 8% 50px;
    }

    .sell-point {
        margin-bottom: 40px;
    }


  /******* FOOTER *******/
  .foot-upper {
    display: flex;
    flex-direction: column-reverse; }
  .link-container {
    float: none;
    margin: 0 auto;
    width: 80%; }
  footer .col {
    width: 46%;
    margin: 0 2%;
    text-align: center; }
  .company-info {
    margin: 40px auto 0;
    width: auto;
    float: none; }
  .address {
    text-align: center; }
  .footer-bottom {
    margin-top: 20px; }
  .copyright {
    float: none;
    text-align: center; } }

@media only screen and (max-width: 730px) {
  

  .CTA {
    font-size: 21px;
    width: 80%;
  }


  .CTA-card {
    font-size: 18px;
    width: 100%;
  }

  h1 {
  	font-size: 34px;
  }



  /******* LANDING *******/
  .landing {

}
  .mega-title {
    width: 85%; }
  /* LEADER BOX */
  .leader-thumb {
    height: 240px;
    width: 216px; } 


    /******* TEAM PAGE *******/


		.team-item {
		    grid-column: span 4;
		    margin: 0 3%;
		}

		
		/******* CHARITIES PAGE *******/

		.charity-card {
	    grid-column: span 2;
    }


  }

@media only screen and (max-width: 659px) {
  /******* LANDING *******/

  .landing {
        /*background: #FFFFFF url(https://doubleupdrive.com/wp-content/uploads/2019/10/landing-hands-edit.jpg) no-repeat top center;*/
        background: #FFFFFF url(https://doubleupdrive.com/wp-content/uploads/2019/11/landing-hands-2.jpg) no-repeat bottom center;
        background-size: cover;
        /*min-height: 460px;*/
        height: 100vh;

    }

  .landing-logo {
      width: 80%;
  }

  .value-prop {
    width: 85%; }
  /*.mega-title {
    font-size: 50px; }*/
  .sub-heading {
    font-size: 34px;
    margin-top: 18px; }
  /* LEADER BOX */
  .leader-blurb-container {
    margin: 0 0 0 20px; }
  .leader-thumb {
    height: 230px;
    width: 216px; } 

  .sub-nav {
      /*display: none;*/
    }


  /******* POPUP *******/

  .popup {
		width: 85%;
  }


  /******* FUND TABLE *******/


    .scroll-table-container {
        width: 100%;
        overflow-x: scroll;
        position: relative;
    }


    /*.scroll-table-container ::-webkit-scrollbar:vertical {
      display: none;
    }*/

    .scroll-table-wrapper {
      display: block;
      width: 100%;
      overflow: scroll;
    }

    .fund-table {
      min-width: 500px;
    }

    .table-head th {
        font-size: 23px;
    }

    .fund-table td {
      font-size: 16px;
    }


    .shadow {
      display: block;
      position: absolute;
      z-index: 10;
      height: 989px;
      width: 15px;
    }

    .shadow-left-edge {
      box-shadow: inset 6px 0px 10px 0px rgba(0, 0, 0, 0.2);
      left: 0;
    }

    .shadow-right-edge {
      box-shadow: inset -6px 0px 10px 0px rgba(0, 0, 0, 0.2);
      right: 0;
    }

    .hidden {
        display: none !important;
    }

  }

@media only screen and (max-width: 610px) {
  /******* LANDING *******/
  .value-prop {
    width: 92%; }

  
    /******* CHARITIES SECTION *******/

    .charity-grid {
      display: grid;
      grid-template-columns: repeat(2, 48%);
      grid-column-gap: 4%;
      grid-row-gap: 20px;
      margin: 40px auto;
    }

    .charity-item {
      background: #fff;
      height: 220px;
      display: flex;
    }


}

@media only screen and (max-width: 581px) {
  /******* LANDING *******/

    .landing-logo {
      width: 90%;
  }

  /*.mega-title {
    width: 100%;
    text-align: center;
    font-size: 48px;
    margin-top: 55px;
}*/

.landing .CTA {
    margin: 15px auto;
}

.CTA {
  width: 90%;
}

.CTA-card {
  width: 100%;
}

  /******* FOOTER *******/
  .link-container {
    width: 100%; } }

@media only screen and (max-width: 550px) {

	h1 {
  	font-size: 30px;
  }


  /******* LANDING *******/

    .landing {

    }

    /*.mega-title {
        font-size: 45px;
 
    }*/
  .sub-heading {
    margin-left: 74px;
    font-size: 30px; }
  /******* MAIN *******/
  main > .wrapper {
    padding: 15px 5px; }
  /* LEADER BOX */
  .leader-thumb {
    height: 188px;
    width: 180px; }
  .leader-name {
    font-size: 29px; }
  .leader-title {
    font-size: 19px; } 


    /******* CHARITIES SECTION *******/

    .charity-grid {
      width: 96%;
      display: grid;
      grid-template-columns: 100%;
      grid-column-gap: 0;
      grid-row-gap: 20px;
      margin: 40px auto;
    }

    .charity-item {
      background: #fff;
      height: 220px;
      display: flex;
    }


  }

@media only screen and (max-width: 524px) {
  /* LEADER BOX */
  .leader-thumb {
    height: 165px;
    width: 165px; }
  .leader-name {
    font-size: 27px; }
  .leader-title {
    font-size: 18px; } 


	/**********  FUNDS CHARTS SECTION **********/

	.chart-container {
	  padding: 25px;
	}

	.char-coll-container {
	  display: flex;
	  flex-direction: column;
	  min-height: 0;
	  justify-content: space-around;
	}

	.char-coll-row {
	  display: flex;
	  flex-direction: row;
	  min-height: 70px;
	  max-height: 110px;
	}

	.char-coll-2 .char-coll-thumb-wrap {
	  width: 50%;
	}

	.char-coll-thumb-wrap {
	  align-items: center;
	  justify-content: space-around;
	  display: flex;
	}

	.char-coll-2 .char-coll-thumb-wrap .char-coll-thumb {
    max-width: 80%;
}

	.char-coll-thumb {
	    max-width: 80%;
	}




  }

@media only screen and (max-width: 499px) {

    .wrapper {
        width: 92%; 
    }

    .component-full {
        margin: 20px 10px 40px;
    }

    .text-section {
        padding: 50px 30px;
    }

    .info-section {
        padding: 30px 0;
    }

    .col-3-wrapper {
        margin: 40px 0 0;
    }

    .CTA {
    /*width: 100%; */
    }


    /*footer .col {
        width: 38%;
        margin: 10px 5%;
        text-align: left;
        float: left; 
    } */

}

@media only screen and (max-width: 420px) {
    /*.custom-logo-link img {
        width: 260px;
    }*/

		main {
			padding-top: 85px;
		}

		.top {
			margin-top: 20px;
		}

    .content-component {
        padding: 35px; 
    } 

    .col-3 {
        margin: 0 2% 50px;
    }

    .CTA-card {
    	font-size: 19px;
    }

}

@media only screen and (max-width: 400px) {



/*  .custom-logo-link img {
    height: 80px; }*/
  .mobile-nav {
    padding: 25px 0; }
  .nav-toggle span {
    top: 38px; }
  .nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
    width: 40px; }

  .landing-wrap {
    margin-top: 120px;
}

.section-header {
    font-size: 28px;
}


/*  .landing {
    margin-top: 80px; }*/

    /*footer .col {
        width: 100%;
        margin: 10px 0;
        text-align: center;
        float: none; 
    } */


  .copyright {
    width: 90%;
    margin: 0 auto; } 


}

@media only screen and (max-width: 376px) {
    /*.custom-logo-link img {
        width: 250px;
    }*/
}

@media only screen and (max-width: 350px) {

    .custom-logo-link img {
        width: 220px;
    }

    .landing {
        height: 520px;
        min-height: 520px;
    }

    h3 {
      font-size: 18px;
    }

    .date {
      font-size: 18px;
    }

    .tagline {
      font-size: 22px;
    }


  .mega-title {
    font-size: 37px; }

  .content-component {
    padding: 25px; } 

    .intro {
        padding-top: 30px;
    }

    .text-section {
        padding: 25px 30px;
    }

    .CTA-card {
    	font-size: 18px;
    }

}


/* ==========================================================================
   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);
    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;
    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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        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;
    }
}
