
@media (min-width: 1450px) {
  h1 {size: 650px;}
  h2 {size: 500px;}
  p {size:450px;}
  nav li {size: 500px;}
}



.header-image{
    position:relative;
    width: 100%; 
    
}

.header-text {
    margin-right: 3%;
      margin-left: 3%;
         margin-top: 3%;
         margin-bottom:3%;
    
}

.header-text-white {color:white;}
.header-text-black {color:black;}
.header-text-white h1 {font-size:500%;
}
.header-text-black h1 {font-size:500%;}


/* BODY */
p, a, h1 {
  font-family: raleway, sans-serif;
}


/* NAV */

.navbar {
  overflow: hidden;
  position: fixed; /* Set the navbar to fixed position */
  top: 0; /* Position the navbar at the top of the page */
  width: 100%; /* Full width */
  box-shadow: 0 2px 2px -2px rgba(0,0,0,.2);
}


/* Links inside the navbar */

.navbar-brand {
  font-weight: bold;
}
.navbar a {
  float: left;
  display: inline-block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
.navbar {
  background-color: white;
}

/* Change background on mouse-over */

.nav-link{
    padding: 20px 0px;
  margin: 0px 10px;
  display: inline-block;
  position: relative;
  opacity: 0.75;
}

.nav-link:hover {
  opacity: 1;
}

.nav a:hover {

      
}


.nav-link::before {
  transition: 300ms;
  height: 5px;
  content: "";
  position: absolute;
  background-image: linear-gradient(115deg, #2E3790, #3B9E8B, #3B9E8B, #65BC48, #295E2F);

 
}

.nav-link-ltr::before {
  width: 0%;
  bottom: 10px;
}

.nav-link-ltr:hover::before {
  width: 90%;
}




.nav-important{
   border: 2px solid #3B9E8B;
       border-radius: 30px;
    text-align: center;
    transition: all 420ms cubic-bezier(.165,.84,.44,1);
   color:white;
    position: relative;
    
}
.nav-important a:hover {
  font-size:110%;


}

/* INDEX*/ 
.italic {
  font-style: italic;
  font-size: 10px;
}

.masonry img {
  border: 0;
  display: block;
  width: 100%;
}

.section-1, .section-2, .section-3, .section-4 {
   padding-top:5%;
    padding-bottom:5%;
}

.section-1 p {
  font-size:250%;
}
.section-2 h2 {
  text-align: center;
  font-weight: bold;
}
.section-2 p {
  text-align:center;
}
.section-2 a {
  color:white;
  font-weight: 500px;
 
}
.section-2 a:hover{
   color:white;
  font-size: 110%;

}
.section-3 h2 {
    padding-top:5%;

}


.section-2 {
  background-image: linear-gradient(115deg, #2E3790, #3B9E8B, #3B9E8B, #65BC48, #295E2F);
  color:white;


}

/* Survey Page*/

.survey-section-2, .survey-section-3, .survey-section-4 {
  padding:5%;
}

.survey-section-2 img, .survey-section-3 img, .survey-section-4 img {
  width:200px;
}

.survey-section-2{
  margin: auto;
}
.survey-section-3{
  background-color: #F3F3F4;
  width:100%;
}

/* ABOUT Page*/
.about-section-2, .about-section-3 {
  padding:5%;
}
.about-section-2, .about-section-3 a{
  color:black;

}
.about-section-2, .about-section-3 a:hover{
  font-size: 110%;
  color:black;

}

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

/* RESOURCE Page*/
.resources-section-2 nav { 
  text-align: center; 
}

.resources-section-2 {
  padding-top:5%;
    padding-bottom:5%;
}

  .resources-section-2 .nav ul, .resources-section-2 .nav li, .resources-section-2 .nav a { display: inline-block; *display: inline; zoom: 1; }

.resources-section-3 h1, .resources-section-4 h1, .resources-section-5 h1, 
.resources-section-6 h1, .resources-section-7 h1, .resources-section-8 h1,
.resources-section-9 h1, .resources-section-10 h1, .resources-section-11 h1,  
.resources-section-12 h1, .resources-section-13 h1,   .resources-section-14 h1,  
.resources-section-15 h1, .resources-section-16 h1, .resources-section-17 h1 {
  position: relative;
  padding-bottom:1.5%;
  padding-left: 5%;
}

.resources-section-2 {
  text-align:center;
}

.resources-section-3, .resources-section-4, .resources-section-5, 
.resources-section-6, .resources-section-7, .resources-section-8,
.resources-section-9, .resources-section-10, .resources-section-11,  
.resources-section-12, .resources-section-13,   .resources-section-14,  
.resources-section-15, .resources-section-16, .resources-section-17,
.resources-section-18   {
  padding-top: 5%;
  padding-bottom: 5%;
 }

 
.resources-section-3 h2, .resources-section-4 h2, .resources-section-5 h2, 
.resources-section-6 h2, .resources-section-7 h2, .resources-section-8 h2,
.resources-section-9 h2, .resources-section-10 h2, .resources-section-11 h2,  
.resources-section-12 h2, .resources-section-13 h2,   .resources-section-14 h2,  
.resources-section-15 h2, .resources-section-16 h2, .resources-section-17 h2 {
  margin-left:5%;
}
.resources-section-3 p, .resources-section-4 p, .resources-section-5 p, 
.resources-section-6 p, .resources-section-7 p, .resources-section-8 p,
.resources-section-9 p, .resources-section-10 p, .resources-section-11 p,  
.resources-section-12 p, .resources-section-13 p,   .resources-section-14 p,  
.resources-section-15 p, .resources-section-16 p, .resources-section-17 p, 
.resources-section-18 p  {
  margin-left:5%;
}
}
 
.container-fluid {
  padding:5%;
}

.resources-section-3 h1  {
  padding-right:5%;
}

.resources-section-3 a, .resources-section-5 a, .resources-section-7 a, 
.resources-section-9 a, .resources-section-11 a {
  color:white;
} 

.resources-section-1 a, .resources-section-2 a,
.resources-section-4 a,  .resources-section-6 a,
.resources-section-8 a, 
.resources-section-10 a, .resources-section-12 a,
 .resources-section-14 a,
.resources-section-16 a, .resources-section-18 a {
  color:black;
}

.resources-section-2 a:hover,
.resources-section-4 a:hover, .resources-section-6 a:hover, 
.resources-section-8 a:hover, .resources-section-10 a:hover,
.resources-section-12 a:hover, .resources-section-14 a:hover,
.resources-section-16 a:hover, .resources-section-18 a:hover
 {
  color:black;
  font-size:110%;
}

.resources-section-3 a, .resources-section-5 a, .resources-section-7 a,
.resources-section-9 a,.resources-section-11 a, .resources-section-13 a,
.resources-section-15 a,.resources-section-17 a, .resources-section-19 a {
  color:white;
}
.resources-section-3 a:hover, .resources-section-5 a:hover, .resources-section-7 a:hover,
.resources-section-9 a:hover, .resources-section-11 a:hover, .resources-section-13 a:hover,
.resources-section-15 a:hover, .resources-section-17 a:hover {
  color:white;
  font-size:110%;
}

.resources-section-3, .resources-section-13
{

  background-color:#2E3790; 
  color:white;
  color:white;
}
.resources-section-5,.resources-section-15 {
  background-color:#3B9E8B;
  color:white;
}
.resources-section-7, .resources-section-17 {
  background-color:#6eae9f;
  color:white;
}

.resources-section-9, .resources-section-19  {
  background-color:#65BC48;
  color:white;
}

.resources-section-11 {
  background-color: #295E2F;
  color:white;
}

/* SUBMIT


*/
.heading-1 {
  font-style: italic; padding-left:5%;
  size:20px;
}
.heading-2 {
  font-style: italic; padding-left:10%;
}
.submit-section-1, .submit-section-2, .submit-section-3 {
  padding-top: 5%;
  padding-bottom:5%;
}
.bottom-text  {
padding-bottom:5%;
}
.submit-section-2 {
 background-color: #F3F3F4; 
}

.submit-section-2 img {
  width:60%;
  text-align:Center;
}
.submit-section-1 a, .submit-section-2 a, .submit-section-3 a {
  color:black;
}
.submit-section-1 a:hover, .submit-section-2 a:hover, .submit-section-3 a:hover {
  color:black;
  font-size: 110%;
}

/* CONTACT*/

.contact{
   background-color: #F3F3F4;
  position:relative;
  width:80%;
  max-width:1200px;
  margin:0 auto 0%;
  padding:2%;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px; 
 
}

.one_col{
  float:left;
  width:100%;
  position:relative;
}
 
.one_col input, .one_col textarea, .one_col  #file {
  position:relative;
  padding:5px 5px;
  margin:1% 2%;
  float:left;
  z-index:10;
  border:1px solid #ccc;

}

.one_col span.error{
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    display: block;
    font-size: 10px;
    height: 35px;
    left: 0;
    padding: 10px 15px;
    position: absolute;
    top: -33px;
  left:25%;
    width: auto;
  z-index:999999999;
  display:none;
}
 .one_col span.error:after{
    bottom: -7px;
    content: "";
    height: 7px;
    left: 47%;
    position: absolute;
    width: 17px;
} 


.one_col input, .one_col textarea, .one_col  #file {
  width:96%;
}

.one_col  #file {
  background: url("https://www.olliehusbanddesign.co.uk/form/images/Camera_icon.png") no-repeat scroll center 35px transparent;
    border: 1px dotted #CCCCCC;
    cursor: pointer;
    display: none;
    float: right;
    position: relative;
    text-align: center;
    width: 96%; 
}

.one_col  #file p{
padding: 95px 0 0;
line-height: 40px;
}

.one_col #image-list li{
  list-style:none;  
  border:1px solid #ccc;  
  margin: 2%;
  background:#fff;
}

.one_col #image-list li img{
  width:98%;
  height:98%;
  margin: 1%;
}

.one_col #submit{
  border-top-color: #4d4d4d;
   background: #4d4d4d;
   color: #d6d6d6;
}

.one_col #submit:hover{
  background: #333;
   color: #d6d6d6;
} 

.clear{
  clear:both;
  content:"";
  line-height:0px;
  display: block;
}


/* animations */


@-moz-keyframes default-to-error {
  0%{
        background-position:120% -28px;
    }
  50%{
        background-position:right -28px;
    }
}

@-moz-keyframes default-to-success {
   0%{
        background-position:120% 0px;
    }
  50%{
        background-position:right 0px;
    }
}

@-moz-keyframes error-to-success {
    0%{
        background-position:right -28px;
    } 
  50%{
        background-position:120% -28px;
    } 
  60%{
        background-position:120% 0px;
    }
  100%{
        background-position:right 0px;
    }
}

@-moz-keyframes success-to-error {
    0%{
        background-position:right 0px;
    } 
  50%{
        background-position:120% 0px;
    } 
  60%{
        background-position:120% -28px;
    }
  100%{
        background-position:right -28px;
    }
}
@-webkit-keyframes default-to-error {
  0%{
        background-position:120% -28px;
    }
  50%{
        background-position:right -28px;
    }
}

@-webkit-keyframes default-to-success {
   0%{
        background-position:120% 0px;
    }
  50%{
        background-position:right 0px;
    }
}

@-webkit-keyframes error-to-success {
    0%{
        background-position:right -28px;
    } 
  50%{
        background-position:120% -28px;
    } 
  60%{
        background-position:120% 0px;
    }
  100%{
        background-position:right 0px;
    }
}

@-webkit-keyframes success-to-error {
    0%{
        background-position:right 0px;
    } 
  50%{
        background-position:120% 0px;
    } 
  60%{
        background-position:120% -28px;
    }
  100%{
        background-position:right -28px;
    }
}


input.default-to-error{
  -webkit-animation: default-to-error 0.5s;
  -moz-animation: default-to-error 0.5s;
  -animation: default-to-error 0.5s;
    background-position:right -28px;    
    -webkit-box-shadow:0 0 7px rgba(243,38,36, 0.6); 
  -moz-box-shadow: 0 0 7px rgba(243,38,36, 0.6); 
  box-shadow:0 0 7px rgba(243,38,36, 0.6); 
}

input.default-to-success{
  -webkit-animation: default-to-success 0.5s;
  -moz-animation: default-to-success 0.5s;
  -animation: default-to-success 0.5s;
    background-position:right 0px;      
  -webkit-box-shadow:0 0 7px rgba(161,199,54, 0.6); 
  -moz-box-shadow: 0 0 7px rgba(161,199,54, 0.6); 
  box-shadow:0 0 7px rgba(161,199,54, 0.6); 
}


@media handheld, only screen and (max-width: 580px) {
  
  .contact{
    width:90%;
  }
  
  .one_col  #file{
    width:96%;
  }
  
 .one_col input, .one_col textarea{
    width:96%;
    margin:2% 2%;
  }
  
  .one_col input{
    padding-right: 21px;
  } 
  
.one_col span.error{
    display:none;
  }
}



/* Footer*/
  #footer-section {
    background-color: #F3F3F4;
    height: 300px;
    padding: 5%;
    display: block;
  }
    #footer-section a {
      color:black;
    }
    #footer-section a:hover{
       font-size: 110%;
    }
  #footer-section img {
    width:12%;
    text-align: left;
    text-decoration: none;
  }


    
 




/* Case Studies 


*/


 
.wrapper {
  display: table;
  height: 100%;
  width: 100%;
}
.case-study-section-1 h1 


.case-study-section-2 img, .case-study-section-3 img, 
.case-study-section-4 img, .case-study-section-5 img, 
 .case-study-section-7 img, .case-study-section-8 img {
  width:90%;
}

.case-study-section-6 img {
  width:100%; 
  text-align:center;
}


.case-study-section-2 a:hover{
  
  color:black;
  font-size: 110%;
}

.case-study-section-2 a {
  
  color:black;

}


.case-study-section-2, .case-study-section-3, .case-study-section-4,
 .case-study-section-5, .case-study-section-6, .case-study-section-7,
.case-study-section-8, .case-study-section-9, .case-study-section-10  {
  padding:5%;
}
.case-study-section-3, .case-study-section-9  {
  background-image: linear-gradient(to left, green, blue);;
  color:white;

}


@media (min-width: 450px) {
  h1.heading {
    font-size: 3.55em;
  }
}
@media (min-width: 760px) {
  h1.heading {
    font-size: 3.05em;
  }
}
@media (min-width: 900px) {
  h1.heading {
    font-size: 3.25em;
    margin: 0 0 0.3em;
  }
} 
.card {
  display: block; 
    margin-bottom: 5%;
    line-height: 1.2;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12); 
    transition: box-shadow .25s; 
}
.card:hover {
  box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2),0 6px 40px 0 rgba(0,0,0,0.19);
}
.img-card {
  width: 100%;
  height:200px;
  border-top-left-radius:2px;
  border-top-right-radius:2px;
  display:block;
    overflow: hidden;
}
.img-card img{
  width: 100%;
  height: 200px;
  object-fit:cover; 
  transition: all .5s ease;
} 
.card-content {
  padding:5%;
  text-align:left;
}
.card-title {
  margin-top:0px;
  font-weight: 700;
}
.card-title a {
  color: black;
  text-decoration: none;
}
.card-read-more {
  border-top: 1px solid black;
}
.card-read-more a {
  text-decoration: none;
  padding:10px;
  font-size:110%;
}








.container-fluid h2 {font-family: 'Playfair Display', serif;}

/*
  .case-study-section1 img {
    width: 100%;
    max-width: 400px;
    margin: 15px auto;
    background: #fff;
    box-shadow: 0 5px 20px 0 rgba(0,0,0,.1);
    text-align: center;
    display: block;
    padding: 10px 10px 35px;
    border-bottom: none;
    position: relative;
    z-index: 1;
    transition-property: opacity;


    } 


.container img:hover{
  background-image: linear-gradient(
    to right,
    hsl(211, 100%, 50%),
    hsl(179, 100%, 30%)
  );

  
  transition: opacity 0.5s linear;
  opacity: 2;
}
.container img:hover::before {
  opacity: 1;
}

/* Case Study Individual Pages


*/

/*




 






/* Main content */
#main {
  margin-top: 100px;
  margin-right: 3%;
  margin-left:3%;
}
.post-content {
    background: none repeat scroll 0 0 #FFFFFF;
    opacity: 0.5;
    top:0;
    left:0;
    position: absolute;
}

.header-text{ 
   position: absolute; 
   top: 200px; 
   left: 30px; 
   width: 50%; 
 }
 .section-title.has-gradient::after {
    background-color: #3B9E8B;
    background-image: linear-gradient(90deg,#2E3790, #3B9E8B, #6eae9f, #65BC48, #295E2F);
    content: "";
    display: block;
    height: 3px;
    margin: 0 auto;
    position: absolute;
    margin-top:5px;
    margin-bottom:5px;
    width: 100px;
    }

    h2 {
      font-family: 'Playfair Display', serif;
    }




/* Images*/
 .grid-item { width: 50%;}
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

/* 

h1.bottom-border:after {
    content: "";
    display: block;
    width: 2.75em;
    padding-top: 20px;
    border-bottom: 3px solid #eb1e26;
}

.underline--magical {
  background-image: linear-gradient(120deg, #66BD48 0%, #8EC4B7 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
  background-position: 0 88%;
  transition: background-size 0.25s ease-in;
  &:hover {
    background-size: 100% 88%;
  } */




