/* custom code for Daplie's profile */
#terms-of-service {
  
	background-color: rgba(2,119,189,0.02);
  	padding-top: 40px;

} 

.spacer {

	height:40px;
    width: 100%;
  	background-color: white;
}/*end custom code*/



/*


    NOTE: Copy and paste this entire stylesheet into the profile CSS


*/

section {
    margin-bottom: 75px;
}

.container-for-media,
.row-with-columns,
.content-is-metrics,
.content-is-facts {
    margin-bottom: 10px;
}

.row-with-columns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-grow: 1;
    box-sizing: border-box;
    margin-right: -5px;
    margin-left: -5px;
}

.row-with-columns > div {
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
    position: relative;
}

.row-with-columns > div:last-of-type {
    padding-bottom: 0 !important;
}

.row-with-columns.two-columns,
.row-with-columns.three-columns,
.row-with-columns.four-columns,
.row-with-columns.five-columns,
.row-with-columns.six-columns,
.row-with-columns.seven-columns,
.row-with-columns.eight-columns {
    flex-wrap: wrap;
}

.row-with-columns.two-columns > div {
    width: 50%;
}

.row-with-columns.two-columnsletter > div {
    width: 50%;
  	padding-left: 25px;
}

.row-with-columns.three-columns > div  {
    width: 33.33%;
}

.row-with-columns.four-columns > div  {
    width: 25%;
}

.row-with-columns.five-columns > div  {
    width: 20%;
}

.row-with-columns.six-columns > div  {
    width: 16.66%;
}

.row-with-columns.seven-columns > div  {
    width: 14.285%;
}

.row-with-columns.eight-columns > div  {
    width: 12.5%;
}

.row-with-columns > div > img, .row-with-columns > div > video {
    width: 100%;
    height: auto;
    display: block;
}

.row-with-columns + .row-with-columns {
    margin-top: 10px;
}

.image-with-aspect-ratio,
.image-with-aspect-ratio-4x3,
.image-with-aspect-ratio-16x9,
.image-with-aspect-ratio-3x2,
.image-with-aspect-ratio-8x5,
.image-with-aspect-ratio-5x2,
.image-with-aspect-ratio-1x1 {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.aspect-ratio-for-images-4x3 .image-with-aspect-ratio, .image-with-aspect-ratio-4x3 {
    padding-bottom: 75%;
}

.aspect-ratio-for-images-16x9 .image-with-aspect-ratio, .image-with-aspect-ratio-16x9 {
    padding-bottom: 56.25%;
}

.aspect-ratio-for-images-3x2 .image-with-aspect-ratio, .image-with-aspect-ratio-3x2 {
    padding-bottom: 66.66%;
}

.aspect-ratio-for-images-8x5 .image-with-aspect-ratio, .image-with-aspect-ratio-8x5 {
    padding-bottom: 62.5%;
}

.aspect-ratio-for-images-5x2 .image-with-aspect-ratio, .image-with-aspect-ratio-5x2 {
    padding-bottom: 40%;
}

.aspect-ratio-for-images-1x1 .image-with-aspect-ratio, .image-with-aspect-ratio-1x1 {
    padding-bottom: 100%;
}

.container-for-media img, .container-for-media video {
    width: 100%;
    display: block;
}

.videoPopup {
    display: block;
    position: relative;
    outline: none !important;
}

.videoPopup > .fa-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 30px;
    border-radius: 80px;
    border: 4px solid #fff;
    text-align: center;
    color: #fff;
    background: rgba(128,187,223,0.59);
    box-shadow: 0 0 200px #000, 0 2px 0 rgab(0,0,0,0.5);
}

.videoPopup:hover > .fa-play {
    background: rgba(0,0,0,0.6);
}

.side-scroll-on-small-screen {
    overflow-x: scroll;
    position: relative;
}

.side-scroll-on-small-screen img, .side-scroll-on-small-screen video {
    min-width: 580px;
}

.tip-for-side-scrolling {
    display: none;
}

.tip-for-side-scrolling {
    display: none;
    background: -moz-linear-gradient(left, rgba(204,204,204,0) 0%, rgba(50,50,50,0.5) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(204,204,204,0) 0%, rgba(50,50,50,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(204,204,204,0) 0%, rgba(50,50,50,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    position: absolute;
    width: 200px;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
}

.tip-for-side-scrolling::before {
    content: '';
    display: block;
    width: 149px;
    height: 92px;
    background-size: 149px 92px;
    background-position: center;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -46px;
    background-image: url('https://wefunder-production.s3.amazonaws.com/static/swipingfinger.png');
    background-repeat: no-repeat;
}

@media (max-width: 600px) {
    .tip-for-side-scrolling {
        display: block;
    }
}

.content-is-metrics, .content-is-facts {
    align-items: stretch;
}


.content-is-metrics > div, .content-is-facts > div {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.content-is-metrics > div::before {
    content: '';
    border: 1px solid #ddd;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 5px;
    left: 5px;
}

.content-is-metrics p.number {
    margin: 30px 15px 0;
    font-size: 28px;
    font-weight: 600;
}

.content-is-metrics .label {
    margin: 0 15px 30px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
}

@media (max-width: 700px) {
    .content-is-metrics .number {
        font-size: 20px !important;
    }
}

.content-is-facts > div::before {
    content: '';
    border: 5px solid #000;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 5px;
    left: 5px;
}

.content-is-facts > div p {
    color: #000;
    font-weight: 500;
    font-size: 24px;
    margin: 30px 20px;
    line-height: 1.2;
}

@media (max-width: 850px) {
    .content-is-facts > div p {
        font-size: 16px;
    }
}

.timeline-wrapper {
    position: relative;
    min-height: 250px;
}

.timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    height: 4px;
    margin-top: -2px;
    background: #d8d8d8;
}

.timeline-event {
    max-width: 140px;
    position: absolute;
    margin: 0;
    font-size: 11px;
    transition: background 0.3s;
    cursor: default;
}

.timeline-event:hover .timeline-content {
    background: #ccccff;
}

.timeline-content {
    transition: transform 0.3s;
    padding: 8px;
    background: #f3f3f3;
}

.timeline-event .timeline-content:hover {
    transform: scale(1.1);
}

.timeline-event.top {
    bottom: 50%;
    transform: translate(0, -50px);
}

.timeline-event.bottom {
    top: 50%;
    transform: translate(0, 50px);
}

.timeline-event.top .timeline-content {
    transform-origin: bottom center;
}

.timeline-event.bottom .timeline-content {
    transform-origin: top center;
}

.timeline-content {
    position: relative;
}

@media (max-width: 860px) {
    .timeline-wrapper {
        height: auto !important;
    }

    .timeline-wrapper::before {
        top: 0;
        bottom: 0;
        left: 0;
        width: 4px;
        height: 100%;
    }   

    .timeline-event {
        width: 400px;
        max-width: 80%;
        position: static;
        margin-bottom: 15px;
        transform: translate(50px, 0) !important;
    }

    .timeline-content {
        transform: none !important;
        margin: 0 !important;
    }
}

/* the circle on the line */
.timeline-event::before {
    content: "";
    width: 16px;
    height: 16px;
    background: #6666ff;
    border-radius: 12px;
    border: 4px solid white;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    transition: width 0.15s, height 0.15s, border-width 0.15s;
}

.timeline-future-event.timeline-event::before {
    background: #ccccff;
}

.timeline-event.top::before {
    top: 100%;
    margin-top: 38px;
}

.timeline-event.bottom::before {
    bottom: 100%;
    margin-bottom: 38px;
}

.timeline-event:hover::before {
    border-width: 8px;
    width: 8px;
    height: 8px;
}

@media (max-width: 860px) {
    .timeline-event::before {
        top: 50% !important;
        left: -60px !important;
        bottom: auto !important;
        transform: translate(0, -50%);
        margin: 0 !important;
    }
}

/* the arrow on the event callout */
.timeline-content::after {
    left: 50%;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-style: solid;
    border-color: transparent;
    border-width: 10px;
    margin-left: -10px;
}

.timeline-event.top .timeline-content::after {
    top: 100%;
    border-top-color: #f3f3f3;
}

.timeline-event.bottom .timeline-content::after {
    bottom: 100%;
    border-bottom-color: #f3f3f3;
}

.timeline-event.top:hover .timeline-content::after {
    border-top-color: #ccccff;
}

.timeline-event.bottom:hover .timeline-content::after {
    border-bottom-color: #ccccff;
}

@media (max-width: 860px) {
    .timeline-event .timeline-content::after {
        right: 100% !important;
        top: 50% !important;
        bottom: auto !important;
        left: auto !important;
        border-color: transparent !important;
        border-right-color: #f3f3f3 !important;
        margin: -10px 0 0 0 !important;
    }

    .timeline-event:hover .timeline-content::after {
        border-color: transparent !important;
        border-right-color: #e7f9e7 !important;
    }
}

/* the connector line if elements overlap */
.timeline-connector {
    content: '';
    position: absolute;
    width: 2px;
    left: 50%;
    margin-left: -1px;
    background: #f3f3f3;
    display: none;
    z-index: 90;
}

@media (max-width: 860px) {
    .timeline-connector {
        display: none !important;
    }
}

.timeline-event.top .timeline-connector {
    top: 100%;
}

.timeline-event.bottom .timeline-connector {
    bottom: 100%;
}

/* the date and inner content */
.timeline-event-date {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    white-space: nowrap;
    font-weight: bold;
    color: #6666ff;
    z-index: 100;
}

.timeline-event.top .timeline-event-date {
    top: 100%;
    margin-top: 22px;
}

.timeline-event.bottom .timeline-event-date {
    bottom: 100%;
    margin-bottom: 22px;
}

.timeline-event > img, .timeline-event div[class^="image-with-aspect-ratio"] {
    width: 100%;
    margin-bottom: 5px;
}

.timeline-event-head {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 13px;
}

.timeline-event-subhead {
    margin-top: 0 !important;
}

.timeline-future-event .timeline-event-date {
    color: #ccccff;
}

@media (max-width: 860px) {
    .timeline-event-date {
        transform: translate(50%, -50%) rotate(-90deg) translate(0, -25px) !important;
        left: auto !important;
        right: 100% !important;
        top: 50% !important;
        bottom: auto !important;
        margin: 0 !important;
        display: block;
        text-align: center;
        margin-left: -20px !important;
    }
}

.center-text {
    text-align: center;
}

.right-text {
    text-align: center;
}

.justify-text {
    text-align: justify;
}

.serif-text {
    font-family: "Archer SSm A","Archer SSm B", "Archer", serif;
    font-weight: 500;
    line-height: 1.7em !important;
}

.bold-text {
    font-weight: bold;
}

.italic-text {
    font-style: italic;
}

.gray-text {
    color: #ADADAD;
}

.no-margin {
    margin: 0;
}

.wide-width {
    margin-left: -250px;
    margin-right: -250px;
}

.narrow-width {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.very-narrow-width {
    max-width: 625px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1499px) {
    .wide-width {
        margin-left: -100px;
        margin-right: -100px;
    }
}

@media (max-width: 1199px) {
    .wide-width {
        margin-left: 0;
        margin-right: 0;
    }

    .wide-width.row-with-columns {
        margin-left: -5px;
        margin-right: -5px;
    }
}

@media (max-width: 830px) {
    .narrow-width {
        margin-left: 0;
        margin-right: 0;
    }

    .narrow-width.row-with-columns {
        margin-left: -5px;
        margin-right: -5px;
    }
}

@media (max-width: 655px) {
    .very-narrow-width {
        margin-left: 0;
        margin-right: 0;
    }

    .very-narrow-width.row-with-columns {
        margin-left: -5px;
        margin-right: -5px;
    }
}

@media (max-width: 699px) {
    .row-with-columns > div, .row-with-columns > div:last-of-type {
        padding-bottom: 10px !important;
    }

    .row-with-columns.content-is-facts > div, .row-with-columns.content-is-facts > div:last-of-type,
    .row-with-columns.content-is-metrics > div, .row-with-columns.content-is-metrics > div:last-of-type {
        margin-bottom: 10px;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 699px) and (min-width: 450px) {
    .row-with-columns.wrap-content-on-small-screen.four-columns > div  {
        width: 50% !important;
    }

    .row-with-columns.wrap-content-on-small-screen.five-columns > div  {
        width: 50% !important;
    }

    .row-with-columns.wrap-content-on-small-screen.six-columns > div  {
        width: 33.33% !important;
    }

    .row-with-columns.wrap-content-on-small-screen.seven-columns > div  {
        width: 33.33% !important;
    }

    .row-with-columns.wrap-content-on-small-screen.eight-columns > div  {
        width: 25% !important;
    }
}

@media (max-width: 449px) {
    .row-with-columns.wrap-content-on-small-screen {
        margin-left: 0;
        margin-right: 0;
        flex-wrap: wrap;
    }

    .row-with-columns.wrap-content-on-small-screen.content-is-metrics,
    .row-with-columns.wrap-content-on-small-screen.content-is-facts {
        margin-left: -5px;
        margin-right: -5px;
    }

    .row-with-columns.wrap-content-on-small-screen > div {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        flex-grow: 1;
        padding-bottom: 10px !important;
    }

    .row-with-columns.wrap-content-on-small-screen.content-is-facts > div,
    .row-with-columns.wrap-content-on-small-screen.content-is-metrics > div {
        padding-bottom: 0 !important;
    }
}

