/* -----REUSEABLE COMPONENTS----- */

/* background colour #fffaf6 */
/* font color #282828 */
/* ion color #ff9744 */


* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background-color: #fffaf6;
  color: #282828;
  padding-top: 80px;
  font-family: 'Lora', Georgia, serif;
}


/* TYPOGRAPHY */

/* header font: open sans condensed */
/* font: Lora */

h1,
h2,
h3 {
  font-family: 'Open Sans Condensed', Helvetica, sans-serif;
}

h2 {
  text-align: center;
}

.anchor {
  padding-top: 80px;
  padding-bottom: 50px;
}

.header {
  text-align: center;
}

hr {
  border: 0;
  height: 1px;
  width: 75%;
  background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), color-stop(rgba(255, 151, 68, 0.75)), to(rgba(0, 0, 0, 0)));
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(255, 151, 68, 0.75), rgba(0, 0, 0, 0));
  background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0), rgba(255, 151, 68, 0.75), rgba(0, 0, 0, 0));
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 151, 68, 0.75), rgba(0, 0, 0, 0));
}

/* ---- ICONS ---- */

.icon-sml {
	color: #ff9744;
	margin-right: 10px;
	/* secret to aligning text and icons: */
	line-height: 120%;
	vertical-align: middle;
	margin-top: -10px; /* moves icon up */
}

/*---- BUTTONS  ----*/

.btn-default {
  -o-transition: color 400ms, background-color 400ms, border-color 400ms;
  transition: color 400ms, background-color 400ms, border-color 400ms;
  -webkit-transition: color 400ms, background-color 400ms, border-color 400ms;
}

.btn-default:hover {
  background-color: #ff9744;
  border-color: #ff9744;
  color: #fffaf6;
}

.btn-default:focus {
  background-color: #fff;
  color: #282828;
  outline: none !important;
  border:1px solid #ff9744;
  box-shadow: 0 0 10px #ff9744;
}

/*------------------------*/
/* -------- Links ------- */
/*------------------------*/

a {
  color: #282828;
  font-family: 'Open Sans Condensed', Helvetica, sans-serif;
  -o-transition: color 400ms;
  transition: color 400ms;
  -webkit-transition: color 600ms;
}

a:hover {
  color: #ff9744;
  text-decoration: none;
}

/*------------------------*/
/* -------- NAV --------- */
/*------------------------*/

#menu-nav, #projects {
  background-color: #282828;
}

#menu-nav {
  font-size: 120%;
  padding:15px 45px;
}

#menu-nav a {
  color: #fffaf6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#menu-nav a:hover {
  color: #ff9744;
  text-decoration: none;
}

/*------------------------*/
/***** INDEX SECTION ******/
/*------------------------*/

.carousel {
  margin: 0 -15px;

}

.carousel-inner .item img {
  height: calc(100vh - 81px);
  width: 100vw;
  object-fit: cover;

}
.carousel-caption {
  color: #fffaf6;
  bottom: 20%;
}

.carousel-caption h1 {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

.carousel-caption p {
  font-family: 'Open Sans Condensed', Helvetica, sans-serif;
  letter-spacing: 0.05em;
  font-size: 120%;
}

.carousel-caption hr {
  border: 0;
  height: 2px;
  width: 75%;
  background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), color-stop(rgba(255, 250, 246, 0.75)), to(rgba(0, 0, 0, 0)));
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(255, 250, 246, 0.75), rgba(0, 0, 0, 0));
  background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0), rgba(255, 250, 246, 0.75), rgba(0, 0, 0, 0));
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 250, 246, 0.75), rgba(0, 0, 0, 0));
}

#info-tooltip {
  font-family: 'Lora', Georgia, serif;
}

#info-tooltip:hover {
  color: inherit;
}

/*------------------------*/
/******* ABOUT PAGE *******/
/*------------------------*/

.about-me {
  padding: 10px;
}

.about-me img {
  margin: 0 15px;
  height: 300px;
  padding-top: 10px;
  float: left;
}
.about-me h3 {
  margin-top: 10px;
}

/*------------------------*/
/**** CONTACT SECTION *****/
/*------------------------*/

.contact-list li {
  padding: 10px;
  font-size: 1.5em;
  list-style: none;
  margin-left: -50px;
  word-wrap: break-word;
}

.contact-details h3 {
  margin-top: 0;
}

.contact-list-item {
  text-transform: uppercase;
  font-weight: 600;
}

#contact {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(40, 40, 40, 0.4)), to(rgba(40, 40, 40, 0.4))), url("../../Web_resources/img/contactBG.jpg");
    background-image: -webkit-linear-gradient(rgba(40, 40, 40, 0.4), rgba(40, 40, 40, 0.4)), url("../../Web_resources/img/contactBG.jpg");
    background-image: -o-linear-gradient(rgba(40, 40, 40, 0.4), rgba(40, 40, 40, 0.4)), url("../../Web_resources/img/contactBG.jpg");
    background-image: linear-gradient(rgba(40, 40, 40, 0.4), rgba(40, 40, 40, 0.4)), url("../../Web_resources/img/contactBG.jpg");
    background-attachment: fixed;
    background-size: cover;
    color: #fffaf6;
    padding:100px;
    height: 850px;
}

.name, .tel {
  display: inline-block;
  width: 48%;
}

.tel {
  float: right;
}

.form-control:focus {
  outline: none !important;
  border:1px solid #ff9744;
  box-shadow: 0 0 10px #ff9744;
}

.visible-form {
  display: block;
  font-size: 1.2em;
  background-color: #DBF4F3;
  color: #282828;
  border-radius: 7px;
}

#map {
  height: 250px;
  width: 100%;
}

/*------------------------*/
/******* WORK PAGE *******/
/*------------------------*/

#project-one, #project-two {
  padding-top: 100px;
}

.work-img {
  display: block;
  margin: auto;
  max-width: 400px;
  position: relative;
}

.info {
  display: none;
  position: absolute;
  top: 15%;
  left: 10%;
  right: 10%;
  color:#282828;
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:0.5em;
  line-height:1.6;
}

.proj-title {
  font-weight:100;
}

/*------------------------*/
/******* FAQs PAGE *******/
/*------------------------*/

#FAQ {
  padding-bottom: 80px;
}
.panel-body {
  background-color: #DBF4F3;
  font-weight: 400;
}

.panel-default .panel-heading {
  background-color: #282828;
  color: #fffaf6;
}

.panel-heading a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.learn-more {
  display: inline-block;
  text-align: left;
  float: left;
  padding-left: 15px;
}

.modal-button {
  float: right;
  padding-top: 20px;
  padding-right: 15px;
}

#modal-embed {
  height: 500px;
  width: 100%;
  padding: 10px;
}

/*----------------------*/
/*--------FOOTER--------*/
/*----------------------*/

#footer {
  margin-top: 20px;
  background-color: #282828;
  color: #fffaf6;
  height: 80px;
}

.footer-button {
  margin-top: 30px;
}

.copyright {
  float: left;
}
.twitter {
  float: right;
}

.fb-like {
  float: right;
}

/*----------------------*/
/*----MEDIA QUERIES-----*/
/*----------------------*/

/*Big tablet to 1200px for width smaller than pixel than the 1140px row - copy original definitions from .hero-text-box in the CSS*/
@media only screen and (max-width: 1200px) {

  .carousel-caption h1 {
    font-size: 70px;
  }

  .carousel-caption p {
    font-size: 30px;
  }

}

/*Small tablet to big tablet: from 768px to 1023px*/
@media only screen and (max-width: 1023px) {

  #contact {
    height: 1200px;
  }

}
@media only screen and (min-width: 992px) {

  h2 { height: 66px; }


}
/* Small phones to small tablets: from 481px to 767px */
@media only screen and (max-width: 767px) {

  .carousel-caption {
    bottom: 25%;
  }

  .carousel-caption h1 {
    font-size: 50px;
  }

}

/* Small phones: from 0 to 480px */
@media only screen and (max-width: 480px) {

  .carousel-caption h1 {
    font-size: 40px;
  }

  #contact {
    padding: 100px 20px 20px;
  }

  .contact-list li {
    padding: 10px;
    font-size: 1.25em;
    list-style: none;
    margin-left: -50px;
  }

}
