/* 
    Created on : Jul 28, 2020, 3:07:59 PM
    Author     : mbates
    Note: This file is intended for temporary development. Stylesheet rules
          will be merged into additions.css at a later date
*/


/*.page-template-page-stats-2*/ 

.page-template-page-stats-2 .map-marker-location {
    font-weight:bold;
}
.page-template-page-stats-2 .map-marker-visitor span {
    font-weight:bold;
    color:orangered;
}
.page-template-page-stats-2 div#map::after {
    position: absolute;
    bottom: 0;
    height: 100%;
    width: 100%;
    content: "";
    background: linear-gradient(to bottom,
        rgba(255,255,255, .5) 10%, 
        rgba(255,255,255, 0) 40%
        );
    pointer-events: none; /* so the text is still selectable */
}

.page-template-page-stats-2 .st2-content-wrapper {
    max-width: 1300px;
    padding: 0px 30px;
    margin: 0 auto;
}
.st2-online-now-stat-box {
    border: 1px solid #edecec;
    padding: 10%;
    background: white;
    margin-bottom: 50px;
    width: 90%;
    margin: 0 auto 2em;
    -webkit-box-shadow: 0px 0px 30px 0px rgba(64, 64, 64, 0.2);
    box-shadow: 0px 0px 30px 0px rgba(64, 64, 64, 0.2);
}
@media screen and (min-width:810px) {
    .st2-online-now-stat-box {
        margin-top: -75px;
        z-index: 3000;
        position: relative;
    }
}

.st2-online_now-stat {
    width: 33%;
    float: left;
    margin-right: 1.6949152542%;
    position: relative;
    top: -34px;
}
#st2-number-online h3 {
    font-size: 150px;
    line-height: 1.2em;
    text-align: center;
    font-weight: 400;
    margin-bottom: 0px;
    margin-top: 0px;
    color: #D9001D;
    border: 0px;
}
@media screen and (max-width:400px) {
    #st2-number-online h3 {
        font-size:36vw;  
    }
}
@media screen and (max-width:600px) {
    #st2-number-online h3 {
        font-size:32vw;  
    }
}

#st2-number-online {
    /*height:50%;*/
    width:auto;
}
.st2-online-now-stat-box h4 {
    font-size: 30px;
    line-height: 40px;
    text-align: center;
    margin-bottom: 10px;
}

.st2-online-now-stat-box p {
    text-align: center;
    line-height: 24px;
    font-weight: 300;
    color: #8d8d8d;
}





.page-template-page-stats-2 #map {
    width:auto;
    height:550px;
    max-height:50vh;
}
.mapboxgl-popup-content {
    font-size: 1.15em;
    width:350px;
    max-width: 50vw;
}

.page-template-page-stats-2 .map-marker-site-desc {
    padding-top: 0.75em;
    font-size: 12px;
}

.st2-pending {
    background-image: url("https://network211.com/wp-content/themes/network211/images/Spinner-1s-200px.svg");
}

#flyTo-progress {
    z-index: 300;
    float: right;
    margin-top: -75px;
    margin-right:20px;
    height: 5vh;
    width:5vh;
    position: relative;
}



#flyTo-progress > svg {
    height: 100%;
    display: block;
}



#st2-online-now-stat-box {
    grid-column: col-start 1 / span 1;
    grid-row: 1;
    margin-top:-10px;
}
#st2-give-form {
    grid-column: col-start 1 / span 1;
    grid-row: 2;
}
#st2-online-now-col-2 {
    grid-column: 2 / span 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#st2-visitors-by-countries ul li span, #st2-online-now-sites ul li span {
    color: #D9001D;
}

/* Grid Layout: Defaults & small devices */
#st2-online-now {
    display: grid;
    grid-template-columns: repeat(1, [col-start] 1fr);
    grid-gap: 10px;
    margin-top: 1em;
    margin-bottom:50px;
}
#st2-online-now-stat-box {
    grid-column: col-start 1 / span 3;
    grid-row: 1;
}
#st2-online-now-col-2 {
    grid-column: 1 / span 3;
    grid-row: 2;
}
#st2-give-form {
    grid-column: col-start 1 / span 3;
    grid-row: 3;
}

/* Large devices (desktops, 992px and up) */
@media screen and (min-width: 992px) {
    #st2-online-now {
        grid-template-columns: repeat(3, [col-start] 1fr);
    }
    #st2-online-now-stat-box {
        grid-column: col-start 1 / span 1;
        grid-row: 1;
    }
    #st2-online-now-col-2 {
        grid-column: 2 / span 2;
        grid-row: 1 / span 2;
    }
    #st2-give-form {
        grid-column: col-start 1 / span 1;
        grid-row: 2;
    }    
}

/* Medium devices (tablets, 768px to 991px) */
@media screen and (min-width: 768px) and (max-width: 991.98px) { 
    #st2-online-now {
        grid-template-columns: repeat(2, [col-start] 1fr);        
    }
    #st2-online-now-stat-box {
        grid-column: col-start 1 / span 1;
        grid-row: 1;
    }
    #st2-online-now-col-2 {
        grid-column: 2 / span 1;
        grid-row: 1 / span 2;
    }
    #st2-give-form {
        grid-column: col-start 1 / span 1;
        grid-row: 2;
    }
}


/* Layout inside countries & sites div */
#st2-online-now-col-2 > div {
    flex: 1 1 auto; /*grow | shrink | basis */
    width:200px;
    padding: 0 20px 20px 20px;
}
#st2-online-now ul {
    padding-left:20px;
}
#st2-online-now-col-2 h3 {
    font-weight: 600;
    margin-bottom: 0.6em;
    padding-bottom: 0.6em;
    border-bottom: 1px solid #edecec;
}


.st2-play::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 1.5vh solid transparent;
    border-left: 2.25vh solid #27882b;
    border-bottom: 1.5vh solid transparent;
    z-index: 500;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-30%,-50%);
}
.st2-pause::before {
    content: "";
    /* width: 10px; */
    /* height: 20px; */
    width:1vh;
    height:2.5vh;
    border-right: 4px solid #27882b;
    border-left: 4px solid #27882b;
    z-index: 500;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.st2-give-form {
    width:100%;    
}
.st2-give-form .give-slider {
    margin-left: 0px;
    padding: 20px 5%;
    -webkit-box-shadow: 0px 0px 0px 0px;
    box-shadow: 0px 0px 0px 0px;
    border: 0px;    
}

@media screen and (max-width: 700px) {
    .page-template-page-stats-2 .chart {
        margin-top: 25px;
    }
}

@media screen and (min-width: 701px) and (max-width: 950px) {
    .page-template-page-stats-2 .chart {
        margin-top: 200px;
    }
}


/* Stats Row */
@media screen and (max-width: 850px) {
  .page-template-page-stats-2 .stats_row .stat_section {
    width: 50%;
    margin: 10px 0px;    
  }
  .page-template-page-stats-2 .stats_row .stat_section h3 {
      font-size:30px;
      margin-bottom: 5px;
  }
}
@media screen and (max-width: 575px) {
  .page-template-page-stats-2 .stats_row .stat_section {
      width: 100%;
      margin:5px 0px;
  }
  .page-template-page-stats-2 .stats_row .stat_section h3 {
      font-size:24px;
      margin-bottom: 0px;
  }
}

