@import url('https://fonts.googleapis.com/css?family=Raleway:400,400i,700,700i,900');
@import url("/3rdparty/bootstrap/css/bootstrap.min.css");
@import url("/core/css/global.min.css");

/* Mobile first; then... */  
@media (min-width: 768px) {
	/* small eg iPad portrait */  
}
@media (min-width: 992px) {
	/* medium, e.g iPad landscape, older monitors, laptops  */
}
@media (min-width: 1200px) {
  /* large, e.g newer monitors, laptops */
}
/* optional for larger screens 
.visible-xl-block {
	  display:none;
  }
@media (min-width: 1400px) {
  .container {
    width: 1370px;
  }
  .visible-lg-block {
	  display:none !important;
  }
  .visible-xl-block {
	  display:block;
  }
}
@media (min-width: 1600px) {
  .container {
    width: 1570px;
  }
}

// SUGGESTION FOR THEMES https://bootswatch.com

*/

.orange {
	color:rgb(255,17,0);
}


/* TYPOGRAPHY */

a, a:link, a:visited, a:hover, a:active {
	color:inherit;
	outline:none;
}

.safari-fix {
	/* fixes z-index and font issues in Safari */
      -webkit-transform:translateZ(1px);
      transform:translateZ(1px);
}

* {
	-webkit-text-size-adjust: 100%; /* stops font size changing in iOS */
	
	/*-webkit-font-smoothing: subpixel-antialiased;  makes safaro looks like Firefox */
	-moz-osx-font-smoothing: grayscale; /* fonts don't appear heavier in Firefox */
}  

body, button, input, select, textarea, th, td { font-family: Raleway, sans-serif;  color:rgba(102,102,102,1); text-rendering: optimizeLegibility;}
 i.glyphicon  {
	
	 top:.2em;
 }


h1, h2, h3 {
	color:rgb(255,17,0);
}

article ul {
  list-style: none; /* Remove default bullets */
}

article ul li::before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color:rgb(255,17,0); /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */ 
  width: 20px; /* Also needed for space (tweak if needed) */
  margin-left: -24px; /* Also needed for space (tweak if needed) */
}


::-webkit-input-placeholder { /* WebKit browsers */
    color:    #8d7f6f;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #8d7f6f;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #8d7f6f;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
   color:    #8d7f6f;
}
input:focus::-webkit-input-placeholder 
{
    color: transparent !important;
}


hr { 
   
    border-style:none;
    border:none;
	border-top:1px solid rgba(204,204,204,1);
}

/**** RE-ORDERING IWTH CSS ******

#wrapper {display:table;}

#first {display:table-caption;}
#second {display:table-header-group;}
#last {display:table-footer-group;}

*/


/* ALWAYS SHOW SCROLL BARS

 ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}


*/

.my-parallax-element {
   ...
   background-attachment: fixed;
   ...
}

@supports (-webkit-overflow-scrolling: touch) {

        .my-parallax-element {
            background-attachment: scroll;
        }
    }


/* Truncate to number of lines */



.truncate {
  display: block; /* Fallback for non-webkit */
  display: -webkit-box;
  max-width: 400px;
  height: 36px; /* Fallback for non-webkit = font-size x line-height x lines to show */
  margin: 0 auto;
  font-size: 10px;
  line-height: 1.2;
  -webkit-line-clamp: 3; /*lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vertical-center {
 /* centers anything vertically if you don't know dimensions */
  position: relative;/* or absolute*/
  top: 50%;
   display:block; /* can use on span*/
  transform: translateY(-50%);
  /* note you can do this with absolute on x axis too  */
}

.vertical-center-page {
	 top: 50vh; /* additional for iOS */
}

/* columns of same height styles */
.container-xs-height {
    display:table;
    padding-left:0px;
    padding-right:0px;
	width:100%;
}
.row-xs-height {
    display:table-row;
	height:100%; /* firefox fix */
}
.col-xs-height {
    display:table-cell;
    float:none;
	height:100%; /* firefox fix */
}
@media (min-width: 768px) {
    .container-sm-height {
        display:table;
        padding-left:0px;
        padding-right:0px;
		width:100%;
		
    }
    .row-sm-height {
        display:table-row;
		height:100%; /* firefox fix */
    }
    .col-sm-height {
        display:table-cell;
        float:none;vertical-align:top;
		height:100%; /* firefox fix */
    }
}
@media (min-width: 992px) {
    .container-md-height {
        display:table;
        padding-left:0px;
        padding-right:0px;
		width:100%;
		
    }
    .row-md-height {
        display:table-row;
		height:100%; /* firefox fix */
    }
    .col-md-height {
        display:table-cell;
        float:none;vertical-align:top;
		height:100%; /* firefox fix */
    }
}
@media (min-width: 1200px) {
    .container-lg-height {
        display:table;
        padding-left:0px;
        padding-right:0px;
		width:100%;
    }
    .row-lg-height {
        display:table-row;
		height:100%; /* firefox fix */
    }
    .col-lg-height {
        display:table-cell;
        float:none;vertical-align:top;
		height:100%; /* firefox fix */
    }
}

/*  to make child div same height as parent make it INLINE BLOCK and 100%

display: inline-block;  height:100%; */



/** BOOTSTRAP COLUMNS EMULATION 

.container {
	width:100%;
	padding: 0 15px;
}

.container, .container * {
	box-sizing:border-box;
}

.row {
  margin-right: -15px;
  margin-left: -15px;
  
}

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


.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  float: left;
}
.col-xs-12 {
  width: 100%;
}
.col-xs-11 {
  width: 91.66666667%;
}
.col-xs-10 {
  width: 83.33333333%;
}
.col-xs-9 {
  width: 75%;
}
.col-xs-8 {
  width: 66.66666667%;
}
.col-xs-7 {
  width: 58.33333333%;
}
.col-xs-6 {
  width: 50%;
}
.col-xs-5 {
  width: 41.66666667%;
}
.col-xs-4 {
  width: 33.33333333%;
}
.col-xs-3 {
  width: 25%;
}
.col-xs-2 {
  width: 16.66666667%;
}
.col-xs-1 {
  width: 8.33333333%;
}

@media (min-width: 768px) {
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: left;
  }
  .col-sm-12 {
    width: 100%;
  }
  .col-sm-11 {
    width: 91.66666667%;
  }
  .col-sm-10 {
    width: 83.33333333%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-8 {
    width: 66.66666667%;
  }
  .col-sm-7 {
    width: 58.33333333%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-5 {
    width: 41.66666667%;
  }
  .col-sm-4 {
    width: 33.33333333%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-2 {
    width: 16.66666667%;
  }
  .col-sm-1 {
    width: 8.33333333%;
  }
 
}

@media (min-width: 992px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: left;
  }
  .col-md-12 {
    width: 100%;
  }
  .col-md-11 {
    width: 91.66666667%;
  }
  .col-md-10 {
    width: 83.33333333%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-8 {
    width: 66.66666667%;
  }
  .col-md-7 {
    width: 58.33333333%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-5 {
    width: 41.66666667%;
  }
  .col-md-4 {
    width: 33.33333333%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-2 {
    width: 16.66666667%;
  }
  .col-md-1 {
    width: 8.33333333%;
  }
}
**/

/* 100
100 = thin
200 = extra-light
300 = light
400 = normal, book
500 = medium
600 = demi-bold
700 = bold
800 = heavy
900 = black
*/

.image-wrapper {
	display:block;
	overflow:hidden;
}

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

.hero {
	background:url(../images/home_bg.jpg) no-repeat top center;
	background-size: cover;
	min-height:400px;
	min-height:100vh;
	position:relative;color:rgba(255,255,255,1);
	padding-top:170px;
}



.hero:before {
	content:"";
	display:block;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:rgba(0,0,0,.7);
	z-index:1;
}

.hero h1 {
	font-size:28px;position:relative;z-index:2;
	text-align:center;
	line-height:1;
	text-transform:uppercase;
	color:rgba(255,255,255,1);
	
}

.hero h1 strong {
	display:block;
	font-size:40px;
}

.hero h1, .hero p {
	position:relative;z-index:2;
}
.hero h1 span {
	font-size:18px;
	display:block;

color:rgb(255,17,0);
}
@media (min-width: 768px) {
	.hero h1 {
	font-size:56px;
}

.hero h1 strong {
	font-size:80px;
}

.hero h1 span {
	font-size:36px;
	
}

}

.projects-row  {
	
	
	margin:0 -15px;
	overflow:hidden;
}

.projects-row .projects-col {
	display:block;
	padding: 15px;
	float:left;
}

.hero .projects-row  {
	width: 960px;max-width:100%;
	margin:45px auto 15px auto;
	z-index:2; position:relative;
}

.hero .projects-row .projects-col {
	padding:  10px;
}

@media (min-width: 768px) {
	.projects-row .projects-col {
	width: 33.333%;
	float:left;
}
.projects-row.projects-cols-4 .projects-col {
	width: 25%;
}
}

.projects-row .projects-col span.projects-header {
	display:block;
	padding:10px;
	background-color:rgb(255,17,0);
	border-top-right-radius: 60px;
	font-weight:bold;
	font-size:18px;
	color:rgba(255,255,255,1);

}

.projects-row .projects-col img {
	transition:0.5s;
}

.projects-row .projects-col:hover {
	text-decoration:none;
}
	

.projects-row .projects-col:hover img {
	transform:scale(1.1,1.1);
}
	
	
	.funders {
		text-align:center;
	}
	.funders img {
		width:150px;
		display:inline-block;
	}
