
.fancyTab {
  text-align: center;
  padding:15px 0;
  background-color: #eee;
  box-shadow: 0 0 0 1px #ddd;
  top:15px; 
  transition: top .2s;
}

.fancyTab.active {
  top:0;
  transition:top .2s;
}

.whiteBlock {
  display:none;
}

.fancyTab.active .whiteBlock {
  display:block;
  height:2px;
  bottom:-2px;
  background-color:#fff;
  width:99%;
  position:absolute;
  z-index:1;
}

.fancyTab a {
  font-family: 'Oswald', serif;
  font-size:1.65em;
  font-weight:300;
  transition:.2s;
  color:#333;
}

/*.fancyTab .hidden-xs {
  white-space:nowrap;
}*/

.fancyTabs {
  border-bottom:2px solid #ddd;
  margin: 15px 0 0;
}

li.fancyTab a {
  padding-top: 15px;
  top:-15px;
  padding-bottom:0;
}

li.fancyTab.active a {
  padding-top: inherit;
}

.fancyTab .fa {
  font-size: 40px;
  width:100%;
  padding: 15px 0 5px;
  color:#666;
}

.fancyTab.active .fa {
  color: #cfb87c;
}

.fancyTab a:focus {
  outline:none;
}

.fancyTabContent {
  border-color: transparent;
  box-shadow: 0 -2px 0 -1px #fff, 0 0 0 1px #ddd;
  padding: 30px 15px 15px;
  position:relative;
  background-color:#fff;
}

.nav-tabs > li.fancyTab.active > a, 
.nav-tabs > li.fancyTab.active > a:focus,
.nav-tabs > li.fancyTab.active > a:hover {
  border-width:0;
}

.nav-tabs > li.fancyTab:hover {
  background-color:#f9f9f9;
  box-shadow: 0 0 0 1px #ddd;
}

.nav-tabs > li.fancyTab.active:hover {
  background-color:#fff;
  box-shadow: 1px 1px 0 1px #fff, 0 0px 0 1px #ddd, -1px 1px 0 0px #ddd inset;
}

.nav-tabs > li.fancyTab:hover a {
  border-color:transparent;
}

.nav.nav-tabs .fancyTab a[data-toggle="tab"] {
  background-color:transparent;
  border-bottom:0;
}

.nav-tabs > li.fancyTab:hover a {
  border-right: 1px solid transparent;
}

.nav-tabs > li.fancyTab > a {
  margin-right:0;
  border-top:0;
  padding-bottom: 30px;
  margin-bottom: -30px;
}

.nav-tabs > li.fancyTab {
  margin-right:0;
  margin-bottom:0;
}

.nav-tabs > li.fancyTab:last-child a {
  border-right: 1px solid transparent;
}

.nav-tabs > li.fancyTab.active:last-child {
  border-right: 0px solid #ddd;
  box-shadow: 0px 2px 0 0px #fff, 0px 0px 0 1px #ddd;
}

.fancyTab:last-child {
  box-shadow: 0 0 0 1px #ddd;
}

.tabs .nav-tabs li.fancyTab.active a {
  box-shadow:none;
  top:0;
}

.fancyTab.active {
  background: #fff;
  box-shadow: 1px 1px 0 1px #fff, 0 0px 0 1px #ddd, -1px 1px 0 0px #ddd inset;
  padding-bottom:30px;
}

.arrow-down {
  display:none;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 22px solid #ddd;
  position: absolute;
  top: 14px;
  left: calc(18% - 20px);
}

.arrow-down-inner {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 12px solid #fff;
  position: absolute;
  top: -22px;
  left: -18px;
}

.fancyTab.active .arrow-down {
  display: block;
}

@media (max-width: 1200px) {
  
  .fancyTab .fa {
    font-size: 36px;
  }
  .fancyTab .hidden-xs {
    font-size:22px;
  }
}
  
@media (max-width: 992px) {
    
  .fancyTab .fa {
    font-size: 33px;
  }
    
  .fancyTab .hidden-xs {
    font-size:18px;
    font-weight:normal;
  }
}
  
@media (max-width: 768px) {
    
  .fancyTab > a {
    font-size:18px;
  }
    
  .nav > li.fancyTab > a {
    padding:15px 0;
    margin-bottom:inherit;
  }
    
  .fancyTab .fa {
    font-size:30px;
  }
    
  .nav-tabs > li.fancyTab > a {
    border-right:1px solid transparent;
    padding-bottom:0;
  }
    
  .fancyTab.active .fa {
    color: #333;
  }
}
    

/* Test*/
.projectheading {
  font-family: 'Oswald', sans-serif;
  color: #292929;
  text-align: center;
  padding-top: 1%;
  font-size: 3.0vw;
  font-weight: 500;
}


/* Style the tab */
div.tab {
  overflow: hidden;
  border-bottom: 1px solid #6996AD;
  margin-bottom: 4px;
}

/* Style the buttons inside the tab */
div.tab button {
  background-color: inherit;
  color: #6996AD;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding-top: 7px;
  padding-bottom: 1px;
  margin-right: 5%;
padding-right: 10px;
padding-left: 0px;
  font-size: 1.6vw;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
}

/* Change background color of buttons on hover */
div.tab button:hover {
  color: #ff9800;
  border-bottom: 2px solid #6996AD;

}

/* Create an active/current tablink class */
div.tab button.active {
  color: #ff9800;
  border-bottom: 2px solid #6996AD;
 
}

/* Style the tab content */
.tabcontent {
  display: none;
  -webkit-animation: fadeEffect 0.5s;
  animation: fadeEffect 0.5s;
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Text */
ul.process {
  list-style-type: square;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.3vw;
  opacity: 0.8;
  margin-left: 25px;
  font-style: italic;
}

.typewrite, a.typewrite:hover, a.typewrite:active, a.typewrite.active {
  text-decoration: none;
  cursor: default;
  color: #292929;
}
h2 {
 font-family: 'Roboto', sans-serif;
 font-weight: 300;
 font-size: 1.2vw;
 opacity: 0.8;
 text-align: left;
 font-weight: 400;
}
h3 {
 text-align: center;
 font-family: 'ABeeZee', sans-serif;
 font-size: 2.5vw;
 padding-top: 20px;
 margin-bottom: 0px;
 color: #292929;
}
h4 {
  font-family: 'ABeeZee', sans-serif;
  font-size: 1.8vw;
  padding-top: 20px;
  margin-bottom: 5px;
  color: #292929;
}

h6 {
  font-family: 'Roboto', sans-serif;
  color: white;
}

a:hover {
  text-decoration: none;
}

.display-3 {
  font-family: 'ABeeZee', sans-serif;
  color: #333;
  font-size: 3.2vw;
}

.display-1 {
  font-family: 'ABeeZee', sans-serif;
  color: #333;
  font-size: 4.5vw;
}

#Home p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.3vw;
}

#About p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.3vw;
  opacity: 0.8;
  text-align: left;
  font-weight: 400;
}

#About h5 {
 font-family: 'ABeeZee', sans-serif;
 font-size: 1.3vw;
 line-height: 1.4em;
 color: #6996AD;
 margin-bottom: 0;
}

#Home h5 {
  font-family: 'ABeeZee', sans-serif;
  font-size: 1.4vw;
  color: #6996AD;
}

#Home .title {
  font-family: 'ABeeZee', sans-serif;
  color: #292929;
  text-align: center;
  padding-top: 1%;
  font-size: 4.5vw;
}

#Home .lead {
  text-align: center;
  color: #292929;
  padding-bottom: 3%;
  line-height: 150%;
}

.titlelead {
  text-align: left;
  color: #333;
  padding-bottom: 3%;
  line-height: 150%;
  font-family: 'Roboto', sans-serif;
  font-size: 1.7vw;
  font-weight: 300;
}

#Home .headertext {
 font-family: 'ABeeZee', sans-serif;
 text-align: center;
 font-size: 1.5vw;
 color: #ff9800;
 font-weight: 500;
}

#About .headertext {
  font-family: 'ABeeZee', sans-serif;
  font-size: 1.5vw;
  color: #ff9800;
  font-weight: 500;
  margin-bottom: 3%;
}

.contactheader {
  font-family: 'ABeeZee', sans-serif;
  text-align: center;
  font-size: 1.5vw;
  color: #ff9800;
  margin-top: 3px;
  font-weight: 500;
}

.contactdetails {
  font-size: 110%;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

/* Navbar */
.navbar a {
  color: #6996AD;
  position: relative;
}

.navbar a:hover {
  color: #ff9800;
}

.navbar a:before {
  content: "";
  position: absolute;
  width: 90%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #6996AD;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
  margin-left: 5%;
}

.navbar a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.navbar #nav > .active > a {
  color: #ff9800;
  border-bottom: 1px solid #6996AD;
}

.navbar a:active {
  font-style: italic;
}

.dropdown-item, .nav-link, .navbar {
  font-family: 'ABeeZee', sans-serif;
}

.nav-item {
 padding-right: 15px;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  color: #ff9800;
}

.dropdown-item:active {
  background: none;
  font-style: italic;
}

/* Jumbotron */
#Home .headerimg {
background-image: url(images/home_header.jpg);
background-size: cover;
   margin-bottom: 0;
   height: 500px;
}


#Homepage .headerimg {
   /*background-image: url(https://i.redd.it/ophnww9cykbz.gif);
   background-image: url(https://pastelpad.com/wp-content/uploads/2017/08/road-resized.jpg);*/
   background-color: white;
   width: 100%;
   margin-bottom: 0;
   height: 300px;
 }

 #CookNook .headerimg {
  background-image: url(images/cooknook_header.jpg);
  background-size: cover;
  width: 100%;
  margin-bottom: 0;
  height: 370px;
}

#COGS102C .headerimg {
  background-image: url(images/cogs102c_header.jpg);
  background-size: cover;
  width: 100%;
  margin-bottom: 0;
  height: 370px;
}

#AMC .headerimg {
  background-image: url(https://static.pexels.com/photos/74228/night-theme-numbers-black-and-white-pen-74228.jpeg);
  background-size: cover;
  width: 100%;
  margin-bottom: 0;
  height: 370px;
}

#About .headerimg {
  background-image: url(images/cogs102c_header.jpg);
  background-size: cover;
  width: 100%;
  margin-bottom: 0;
  height: 450px;
}

.casebg {
  background-color: white;
}

#projecttext {
  height:100%;
  background-color: white;
  background-repeat:no-repeat;

  margin-bottom: auto;
  margin-top: auto; 
}

.white {
  background-color: #FFF;
  background-size: cover;
  
}

.projectsection {
  background-color: #F7F7F7;
  background-size: cover;
  padding-top: 20px;
  /*box-shadow: 0 1px 5px rgba(0,0,0,0.12), 0 -1px 5px rgba(0,0,0,0.24);*/
}

/* Case Studies images */
.cover {
 object-fit: cover;
 width:100%;
 height: 300px;
}

.cover:hover {
 -webkit-filter: grayscale(0%);
 filter: none; /* For IE8 and earlier */
}

.imgcontainer {
  height: 300px;
  display: block;
  position: relative;
  overflow: hidden;
}

.imgcontainer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.profilepic {
  width: 350px;
  height: 300px;
  display: block;
  position: relative;
  overflow: hidden;
}

.profilepic img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.gray {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}

.projectimages {
  text-align: center;
  margin-bottom: 20px;
  margin: auto;
  width: 100%;
}


.card-1 {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.enlarge:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

/* Contact forms */

.form-style-4 {
  width: 830px;
  font-size: 16px;
  padding: 10px;
}

.form-style-4 input[type=submit],
.form-style-4 input[type=button],
.form-style-4 input[type=text],
.form-style-4 input[type=email],
.form-style-4 textarea {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #000;
}

.form-style-4 input[type=text],
.form-style-4 input[type=email],
.form-style-4 textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #6996AD;
  width: 350px;
  outline: none;
  padding: 0;
  font-style: italic;
}

.form-style-4 textarea {
  height: 100px;
}

.form-style-4 textarea:focus, 
.form-style-4 input[type=text]:focus,
.form-style-4 input[type=email]:focus,
.form-style-4 input[type=email] :focus {
  border-bottom: 1px solid #ff9800;
}

::-webkit-input-placeholder { /* Chrome */
  color: #7A7A7A;
  transition: opacity 250ms ease-in-out;
}
:focus::-webkit-input-placeholder {
  opacity: 0.5;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #7A7A7A;
  transition: opacity 250ms ease-in-out;
}
:focus:-ms-input-placeholder {
  opacity: 0.5;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #7A7A7A;
  opacity: 1;
  transition: opacity 250ms ease-in-out;
}
:focus::-moz-placeholder {
  opacity: 0.5;
}
:-moz-placeholder { /* Firefox 4 - 18 */
  color: #7A7A7A;
  opacity: 1;
  transition: opacity 250ms ease-in-out;
}
:focus:-moz-placeholder {
  opacity: 0.5;
}

/* Icons */
i {
 padding: 2px;
 padding-left: 3%;
}

ul.contact {
  width:400px;
  margin-bottom:20px;
  overflow:hidden;
}
li.contact {
  line-height:1.7em;
  float:left;
  display:inline;
  width:50%;
}

/* Center 1 column */
.col-centered {
 float: none;
 margin: 0 auto;
}

.center {
  text-align: center;
}

.orange {
  color: #ff9800;
}

/* Buttons */

.btn {
  border: 0 none;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.7em;
  color: #6996AD;
  display:block; 
  margin-left:auto;
  margin-right:auto;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  cursor: pointer;
  background: none;
}


.btn:hover {
  color: #ff9800;
}

.btn:before {
  content: "";
  position: absolute;
  width: 40%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #6996AD;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
  margin-left: 30%;
}

.btn:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.btn:active, .btn.active {
/*  border-image: linear-gradient(to left, rgba(255, 255, 255, 1) 1%, rgba(21, 101, 192, 1), rgba(255, 255, 255, 1) 100%) 
  100% 0 100% 0/1px 0 1px 10 stretch;
  color: #ef6c00;*/
  box-shadow: none;
  font-style: italic;
}

.projectbutton {
  margin:1em;
  border:none;
  padding:0.25em 3em 0.25em 1em;
  text-align:left;
  background:
  linear-gradient(-120deg, transparent 1em, #6996AD 1.05em , #6996AD 1.5em, transparent 1.45em, transparent 2em, #6996AD 2.05em) top no-repeat,
  linear-gradient(300deg, transparent 1em, #6996AD 1.05em , #6996AD 1.5em, transparent 1.45em, transparent 2em, #6996AD 2.05em) bottom no-repeat ;
  background-size: 100% 50%;
  color:white;
  font-family: 'Oswald', sans-serif;
}

#toTop {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 48px;
  -ms-transform: rotate(-90deg); /* IE 9 */
  -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
  transform: rotate(-90deg);
}
#toTop {
  transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -webkit-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  opacity: 0.3;
  display:none;
  cursor: pointer;
}
#toTop:hover {
  opacity: 1;
}

/* responsive queries */

@media (max-width: 768px) {
  .btn {
    font-size:2.5vw;
    text-align: center;
  }
  .title {
    font-size: 8.5vw;
  }
  .lead {
    font-size: 3.5vw;
  }
  #Homepage p {
    font-size: 2.8vw;
  }
  #CookNook p {
    font-size: 2.7vw;
  }
  #COGS102C p {
    font-size: 2.3vw;
  }
  #About p {
    font-size: 2.3vw;
  }
  h3 {
    font-size: 3.2vw;
  }
  h4 {
    font-size: 3.2vw;
  }
  h5 {
    font-size: 1.9vw;
  } 
  #CookNook h5 {
   font-size: 2.7vw;
 }
 #COGS102C h5 {
   font-size: 2.7vw;
 }
 #About h5 {
   font-size: 2.5vw;
 }
 #Homepage .headertext {
  font-size: 2.8vw;
}
#CookNook .headertext {
  font-size: 2.8vw;
}
#COGS102C .headertext {
  font-size: 2.8vw;
  margin: auto;
}
#About .headertext {
  font-size: 2.8vw;
  margin: auto;
}
#Homepage .contactheader {
  font-size: 2.5vw;
}
.contactdetails {
  font-size: 2.9vw;
  margin: auto;
}
.imgcontainer {
  height: 150px;
}
.form-style-4 input[type=text],
.form-style-4 input[type=email],
.form-style-4 textarea
{
  background: transparent;
  border: none;
  border-bottom: 1px dashed #6996AD;
  width: 250px;
  outline: none;
  padding: 0;
  font-style: italic;
  font-size: 2.9vw;
}
ul.contact {
  width:350px;
  margin-left: auto;
}
.subtitle {
  font-size: 2.0vw; 
}
}


@media (min-width: 768px) {
  .btn {
    font-size:12px;
    padding:6px 12px;
  }

  #Homepage p {
    font-size: 1.7vw;
  }

  #CookNook p {
    font-size: 1.7vw;
  }

  #COGS102C p {
    font-size: 1.7vw;
  }

  .title {
    font-size: 6.5vw;
  }

  .lead {
    font-size: 2.2vw;
  }

  .contactdetails {
    font-size: 2.5vw;
  }
  .subtitle {
    font-size: 1.0vw; 
  }

}

@media (min-width: 992px) {
  .btn {
    font-size:14px;
    padding:8px 12px;
  }
  #Homepage p {
    font-size: 1.3vw;
  }

  #CookNook p {
    font-size: 1.3vw;
  }

  #COGS102C p {
    font-size: 1.3vw;
  }
  #About p {
    font-size: 1.3vw;
  }
  .lead {
    font-size: 2.2vw;
  }

  .subtitle {
    font-size: 1.0vw; 
  }

}

@media (min-width: 1200px) {

  .btn {
    padding:10px 16px;
    font-size:14px;
  }
  #Homepage p {
    font-size: 1.3vw;
  }

  #CookNook p {
    font-size: 1.3vw;
  }

  #COGS102C p {
    font-size: 1.3vw;
  }

  #About p {
    font-size: 1.3vw;
  }
  .lead {
    font-size: 1.7vw;
  }
  
  .contactdetails {
    font-size: 1.5vw;
  }
}

