/*////////// Start CSS RESET //////////*/

* {
    box-sizing: border-box;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/*////////// End CSS RESET //////////*/

*{
font-family: lato, arial;
}

h1 {
    font-size: 1.25em;
    line-height: 1.5;
    color: #888;
}

h2 {
    font-size: 1.5em;
    line-height: 1.5;
    text-transform: uppercase;
    color: rgb(105, 104, 104);
    text-shadow: 0px 3px 7px rgba(2, 3, 3, 0.35);
}

h3 {
    font-size: 1em;
    line-height: 1.5;
    color: #888;
    text-transform: uppercase;
}

p {
    font-size: 1.2em;
    line-height: 2em;
    color: #888;
}


.wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}


header {
    background: #fff;
    padding: 10px;
}

header:after{
    content:"";
    display: block;
    clear: both;
}

#logo {
    background: url(Images/logo_03.png) no-repeat;
    height: 80px;
    width: auto;
    float: left;
    text-indent: 100px;
    margin-bottom: 20px
}


header h1 {
    padding-top: 30px;
    margin: 0;
}

header nav {
    float: right;
    margin-top: 30px;
    margin-right: 10px;
}

header nav a {
    text-decoration: none;
}

header nav h2 {
    height: 0;
    text-indent: -10000px;
}

header nav li{
    float: left;
    margin-left: 20px;
}

header nav span {
    margin-left: 20px;
}

#main-banner img {
    width: 100%;
    background-repeat: no-repeat;
    height: auto;
}

#main-banner {
    max-height: 600px;
    overflow: hidden;
    position: relative;
}

.page-heading img {
    float: right;
    margin-left: 40px;
    margin-bottom: 80px;

}

.page-heading p {
    margin-top: 80px;
    text-align: left;
}

#projects h2 {
    max-width: 100%;
    text-align: center;
}

/*
section:after{
    content:"";
    display: block;
    clear: both;
}
*/

/*
.project-title {
    text-align: center;
    margin: 10px;
}
*/


#projects {
    display: flex;
}

.project {
    flex: 1 33%;
    text-align: center;
    list-style-type: none;
}

#projects {
    flex-wrap: wrap;
}

#projects li h3, p {
    padding: 10px 10%;
    max-width: 100%;
    text-align: center;
}

#donations {
    clear: both;
}

#donations p {
    text-align: center;
}

#donations h2{
    max-width: 100%;
    margin: 40px auto;
    text-align: center;
}

#donations a {
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 5;
  -moz-border-radius: 5;
  border-radius: 5px;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  width: 200px;
  padding: 10px;
  margin: 40px auto;
}

#donations a:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: underline;
}

.buttons {
    text-align: center;
}

/*.buttons a {
 border-radius: 10px;
 background-color: rgb(0, 0, 255);
 position: absolute;
 width: 140px;
 height: 40px;
 color: #fff;
 text-align: center;
 text-decoration: none;
}*/

#donations:after{
    content:"";
    display: block;
    clear: both;
}

#bottom-banner {
    width: 100%;
    max-height: 300px;
    margin-top: 40px;
}

footer{
    background-color: #959595;
    height: 300px;
}

footer p {
    float: left;
    width: 30%;
    text-align: center;
    margin: 20px 10%;
    color: #fff;
    line-height: 3;
    font-size: 0.8em;
}

footer a {
    font-size: 0.7em;
    float: left;
    width: 100%;
    text-align: center;
    margin: 20px; 10%;
    color: #fff;
}


/*////////// About Page //////////*/

#active {
    border-style: solid;
    border-bottom: thick solid red;
    border-bottom-width: 2px;
}

.about-intro {
    max-width: 100%;
    padding: 40px 10%;
    text-align: center;
}

.about-title {
    padding-bottom: 40px;
}

.gallery img {
    width: 100%;
    padding: 40px 20%;
}

.about-intro p {
    text-align: left;
}


/*////////// End About Page //////////*/


/*////////// Contact Page //////////*/

.contact-intro {
    max-width: 100%;
    padding: 40px 15%;
    text-align: center;
    font-size: 1.2em;
}

.contact fieldset {
    max-width: 50%;
    margin: 20px auto;
}

.contact textarea{
    width: 100%;
    height: 190px;
    padding-left: 20px;
    padding-top: 20px;
}
.contact input {
    width: 100%;
    height: 50px;
    margin-bottom: 10px;
    padding-left: 20px;    
}

.contact button {
  background: #3498db;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  width: 20%;
  padding: 10px;
  margin: 40px 40%;
  border-radius: 20px;
    
}


/*////////// End Contact Page //////////*/


/*////////// Projects Page //////////*/

#wrapper-projects {
    max-width: 1600px;
    margin: 40px auto;
}

#bottom-project {
    text-align: center;
    width: 60%;
    margin: auto;
    list-style-type: none;
}

#bottom-project li{
    margin-bottom: 10px;
}

#bottom-project h3 {
    margin-bottom: 10px;
}


/*////////// End Projects Page //////////*/




/*///////// Responsive //////////*/

@media (max-width: 1166px) {
    .middle-project {
        order: +1;
        margin-top: 40px;
    }
    
    .middle-project p {
        max-width: 33%;
        margin-left: 30%;
        margin-right: 30%;
    }
}

@media (max-width: 820px) {
    .project {
        flex: 1 100%;
        margin-top: 40px;
    }
    
     .middle-project p {
        max-width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }
   
}