/* COLOUR REFERENCES
Green: #719239
Dark Grey #2d2d2d
Salmon: #dd5638
Blue Grey: #141414
*/
/* General */
body {
  font-family: 'Raleway', Helvetica, sans-serif;
  font-size: 16px;
  color: #636b6f;
}

/* Global */
h1, h2, h3, h4, h5, h6 {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  font-weight: bold;
}

h1 {
  font-size: 3em;
}

h2 .mb-0 {

}

h3 {
  margin: 20px 0;
}

h4 {
  font-size: 18px;
}

p {
  margin: 0 0 15px;
}

p.lead {
  font-weight: normal;
}

.content-list, .content-list li {
  margin-bottom: 16px;
}

.feature-list, .feature-list li {
  list-style-type: circle;
  margin-bottom: 16px;
}

a:link, a:visited {
  color: #dd5638;
}

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

button, input, .bt n, a.btn {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  color: #fff;
}

.btn {
  font-weight: bold;
}

.btn:focus {
  outline: none !important;
}

.btn.focus, .btn:focus, .btn:hover {
  color: #e1e1e1;
  text-decoration: none;
}

.btn-danger {
  background-color: #dd5638;
  border-color: #d95131;
}

.btn-dark {
  background-color: #719239;
  border-color: #719239;
}

.btn-dark:hover {
  background-color: #101010;
  border-color: #101010;
  color: #fff;
}

.btn-success, .btn-success.focus, .btn-success:focus {
  background: #719239;
  border: none;
}

.btn-success:hover {
  background: #101010;
  border-color: #101010;
}

.drawer {
  position: absolute;
  overflow: hidden;
  right: 0px;
  top: 20%;
  width: 150px;
  height: 150px;
  text-align: center;
}

.initial-text {
    position: absolute;
    left: 55px;
    top: 55px;
    width: 150px;
    height: 40px;
    background :#dd5638;
    border-radius: 0 0 10px 10px;
    transform: rotate(90deg);
    vertical-align: bottom;
    z-index: 1;
}

.slide-tab {
    position: absolute;
    left: 150px;
    width: 150px;
    height: 150px;
    border-radius: 10px 0 0 10px;
    background: #dd5638;
    padding: 10px;
    text-align: left;
    transition: 1s;
    z-index: 2;
    font-size: 20px;
}

.slide-tab a {
  color: #f9f1a9;
}

.drawer:hover .slide {
    transition: 2s;
    left: 0;
}

.special {
  color: #dd5638;
  font-size: 2em;
  vertical-align: middle;
}

/* NAVBAR & NAV LINKS */

.bg-dark {
  background-color: #141414 !important;
}

.nav-link {
  padding: 0 20px !important;
}

img {
  max-width: 100%;
}

.farcebook {
  width: 16px;
  height: 16px;
}

.book {
  border: 1px solid #dd5638;
  border-radius: 10px;
  padding: 10px 20px;
  height: 100%;
}

.book h3 {
  font-size: 18px;
  color: #fff;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 10px;
  border: 1px solid #dd5638;
  border-radius: 5px;
  padding: 5px;
}

.book input[type="text"] {
  margin-bottom: 15px;
  border: 1px solid #dd5638;
  color: #fff;
  border-radius: 5px;
  line-height: 1.5em;
  background: none;
}

#hero .book h1 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 5px;
}

.card-body {
  padding: 0 10px 20px 10px;
}

.modal-content {
  background: url(../img/tile.jpg) top left repeat;
}

.badge.social {
  background: #ccc;
  font-size: 24px;
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 40px;
  margin: 0 5px 20px 0;
  padding: 0;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  color: #fff;
}

.badge.social.twitter:hover {
  background: #55acee;
}

.badge.social.facebook:hover {
  background: #3b5998;
}

.badge.social.gplus:hover {
  background: #db4b39;
}

/* Hero */
#hero {
  background: url('../img/heroback3.png') rgba(53, 83, 1, 1) 50% 20px no-repeat fixed;
  background-size: cover;
  background-blend-mode: multiply;
  padding: 0;
  color: #fff;
  height: 100%;
}

#hero h1 {
  color: #fff;
  padding: 5px;
  font-size: 6em;
}

#hero h1 a {
  color: #eeeeee;
}

#hero h1 a:hover {
  text-decoration: underline;
}

#hero h2 {
  color: #fff;
  padding: 5px;
  font-size: 42px;
  font-weight: 300;
  width: 90%;
  margin-bottom: 40px;
}

#hero h2 a {
  color: #eeeeee;
}

#hero h2 a:hover {
  text-decoration: underline;
}

#hero article {
  width: 100%;
  text-align: left;
  padding: 70px 0 20px;
}

#hero .hero-text {
  margin: 0;
  color: #fff;
  width: 90%;
}

.hero-main {
  height: auto;
}

.hero-primary {
  height: 430px;
}

.hero-text .lead, .hero-text .offer {
  padding: 3px;
  font-size: 24px;
}

.dropdown {
  display: inline-block;
  width: auto;
  color: #fff;
}

.dropdown a {
  color: #fff;
  font-family: 'Raleway', Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 16px;
  line-height: 1.3333333;
  border-radius: 6px;
  border: 1px solid transparent;
  vertical-align: middle;
}

a.dropdown:active {
  color: #fff;
}

.dropdown-item {
  display: block;
}

.dropdown-menu {
  background: #719239;
  width: 100%;
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: transparent;
}

a.dropdown-item {
  color: #fff;
  font-family: 'Raleway', Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 16px;
}

a.dropdown-item:hover {
  background: #fff;
  color: #2d2d2d;
  border-radius: 0;
}

#testimonials-carousel {
  margin-bottom: 20px;
}

#testimonials-carousel .carousel-inner {
  padding: 20px;
}

#testimonials-carousel .blockquote p {
  position: relative;
  padding: 20px 0 0 20px;
  font-size: 1.2em;
  font-style: italic;
}

#testimonials-carousel .blockquote p:before {
	content: "\201C";
  position: absolute;
  left: -10px;
  font-size: 3em;
  line-height: 0.5em;
	}

#testimonials-carousel .blockquote p:after {
	content: "\201D";
	position: absolute;
  font-size: 3em;
  line-height: 1em;
  }

#testimonials-carousel cite {
  padding: 0 30px 0;
  font-size: 1.5em;
  position: relative;
  float: right;
  line-height: 1em;
  margin-bottom: 20px;
  color:#dd5638
}

#rebuild {
  margin: 30px 0 60px;
  text-align: center;
}

#rebuild .price {
  display: inline-block;
  margin: 0;
  width: 30%;
  webkit-border-radius: 5px;
  moz-border-radius: 5px;
  border-radius: 5px;
  padding: 10px 10px 50px;
  position: relative;
  vertical-align: top;
}

#rebuild .price.basic {
  background: rgba(217, 112, 74, 0.95);
}

#rebuild .price.smallbus {
  background: rgba(242, 152, 73, 0.95);
}

#rebuild .price.pro {
  background: rgba(242, 184, 75, 0.95);
}

.rebuild-col {
  webkit-border-radius: 5px;
  moz-border-radius: 5px;
  border-radius: 5px;
  color: #000;
  padding: 10px;
  text-align: center;
  color: #fff;
  height: 380px;
}

.rebuild-col a {
  color: #2d2d2d;
}

.rebuild-col h1 {
  webkit-border-radius: 5px 5px 0 0;
  moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  padding: 10px;
  font-size: 24px;
  margin-bottom: 20px;
  background: #2d2d2d;
}

.rebuild-col.basic {
  background: rgba(217, 112, 74, 1);
}

.rebuild-col.smallbus {
  background: rgba(242, 152, 73, 1);
}

.rebuild-col.pro {
  background: rgba(242, 184, 75, 1);
}

#rebuild .price span {
  background: #101010;
  display: block;
  height: 100px;
  width: 100px;
  text-align: center;
  line-height: 100px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  position: absolute;
  bottom: -50px;
  left: 50%;
  margin-left: -50px;
}

#rebuild h4 {
  margin: 0 0 10px;
}

#rebuild h4 small {
  color: #fff;
  font-weight: bold;
  display: block;
  padding-bottom: 5px;
  padding-top: 5px;
}

#rebuild a {
  color: #fff;
  text-decoration: underline;
}

/* Layout */
.row+.row {
  margin-top: 20px;
}

section {
  padding: 80px 0;
}

section.main-content {
  padding: 40px 0;
}

section.main-content-a {
  border: 1px solid green;
}

.section-header {
  text-align: center;
}

section h2 {
  20px 0 40px;
}

section h3 {
  30px 0 10px;
}

#primary {
  padding-top: 40px;
  padding-bottom: 40px;
}

.feature-image {
  display: table;
  width: 100%;
}

.feature-image-default {
  background: url('../img/homedesk-header.png') no-repeat;
  background-size: cover;
}

.feature-image h1 {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  color: #fff;
}

#optin {
  background: #141414;
  padding: 20px 0;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 1.2em;
}

#optin p {
  margin: 7px 0 0 0;
}

#rebuild-explained {
  background: #fff;
}

#ecommerce {
  background: #719239;
  color: #fff;
  text-align: center;
}

#rebuild-features {
  color: #fff;
  text-align: center;
}

#featurette {
  background: url('../img/stuff-bg.jpg') 50% 100% repeat fixed;
  background-size: cover;
  text-align: center;
  color: #fff;
}

#services {
  background: #141414;
  color: #fff;
  text-align: center;
}

/* Portfolio Gallery Grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(12, 5vw);
  grid-gap: 1.5rem;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

.gallery__img:hover {
  filter: grayscale(0%);
}

.interior {
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(0, 0, 0, 0);
  background-color: rgba(0, 0, 0, 0);
  font-size: 1.3rem;
  padding: 5px;
  letter-spacing: 0.15rem;
  width: 100%;
  height: auto;
}

.interior:hover {
  background-color: rgba(0, 0, 0, 0.7);
  color: rgba(255, 255, 255, 1);
}

.interior:hover strong {
  color: yellow;
  font-weight: normal;
}

.gallery__item--1 {
  position: relative;
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
}

.gallery__item--2 {
  position: relative;
  grid-column-start: 3;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 3;
}

.gallery__item--3 {
  position: relative;
  grid-column-start: 5;
  grid-column-end: 7;
  grid-row-start: 1;
  grid-row-end: 6;
}

.gallery__item--4 {
  position: relative;
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 3;
  grid-row-end: 6;
}

.gallery__item--5 {
  position: relative;
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 6;
  grid-row-end: 9;
}

.gallery__item--6 {
  position: relative;
  grid-column-start: 7;
  grid-column-end: 9;
  grid-row-start: 1;
  grid-row-end: 4;
}

.gallery__item--7 {
  position: relative;
  grid-column-start: 4;
  grid-column-end: 5;
  grid-row-start: 6;
  grid-row-end: 11;
}

.gallery__item--8 {
  position: relative;
  grid-column-start: 7;
  grid-column-end: 9;
  grid-row-start: 4;
  grid-row-end: 7;
}

.gallery__item--9 {
  position: relative;
  grid-column-start: 5;
  grid-column-end: 7;
  grid-row-start: 6;
  grid-row-end: 8;
}

.gallery__item--10 {
  position: relative;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 11;
  grid-row-end: 12;
}

.gallery__item--10 {
  position: relative;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 9;
  grid-row-end: 11;
}

.gallery__item--11 {
  position: relative;
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 9;
  grid-row-end: 12;
}

.gallery__item--12 {
  position: relative;
  grid-column-start: 5;
  grid-column-end: 7;
  grid-row-start: 8;
  grid-row-end: 11;
}

.gallery__item--13 {
  position: relative;
  grid-column-start: 4;
  grid-column-end: 7;
  grid-row-start: 11;
  grid-row-end: 13;
}

.gallery__item--14 {
  position: relative;
  grid-column-start: 7;
  grid-column-end: 8;
  grid-row-start: 7;
  grid-row-end: 12;
}

.gallery__item--15 {
  position: relative;
  grid-column-start: 8;
  grid-column-end: 9;
  grid-row-start: 7;
  grid-row-end: 13;
}

.gallery__item--16 {
  position: relative;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 11;
  grid-row-end: 13;
}

/* End Portfolio Gallery Grid */

#signup {
  text-align: center;
  background: url('../img/homedesk.png') center center repeat fixed;
  background-size: cover;
  color: #fff;
  padding: 140px 0;
}

#signup h2 {
  color: #fff;
  font-weight: normal;
}

#signup h2 strong {
  border-bottom: 2px solid #dd5638;
}

#signup btn {
  font-size: 24px;
}

footer {
  background: #141414;
  color: #fff;
  padding: 20px 0 10px;
  font-size: 12px;
}

footer a:link, footer a:visited {
  color: #fff;
}

footer a:hover {
  color: #dd5638;
}

footer li.signup-link a {
  color: #dd5638;
}

footer li.signup-link a:hover {
  font-weight: bold;
}

/* Blog */
.post, .widget #comments {
  position: relative;
  border: 1px solid #ddd;
  background: #fff;
  margin: 0 0 40px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.post header,
.post .post-excerpt,
.post .post-body,
#comments .comments-wrap {
  padding: 20px;
}

.post header h1,
.post header h3 {
  margin: 0 0 15px;
  padding: 0 0 15px;
  border-bottom: 1px solid #ddd;
}

.post header h1 {
  font-size: 24px;
}

.post-image {
  height: auto;
}

.post-details {
  font-size: 12px;
  width: 90%;
}

.post-details i.fa {
  padding-left: 10px;
}

.post-details i.fa:first-child {
  padding-left: 0;
}

/* Widgets */
.widget {
  padding: 20px;
}

.widget h4 {
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid #ddd;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget ul li {
  margin: 0 0 5px;
}

.widget ul li:hover {
  position: relative;
  left: 1px;
}

/* Comments */
.post-comments-badge {
  height: 70px;
  width: 70px;
  position: absolute;
  top: 25px;
  right: 20px;
  border: none;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  background: #79b044;
  text-align: center;
  display: table;
}

.post-comments-badge a {
  display: table-cell;
  vertical-align: middle;
  color: #fff;
  font-size: 20px;
  line-height: 20px;
}

.post-cooments-badge i.fa {
  display: block;
  font-size: 15px;
  padding: 0;
  margin-bottom: 4px;
}

.post-comments-badge:hover {
  background-color: #8bc653;
}

#comments h3 {
  text-align: center;
}

#comments h4 {
  font-size: 1.3em;
}

#comments ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

#comments ol li {
  background: rgba(0, 0, 0, 0.02);
  padding: 10px 20px;
  margin: 10px 0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

#comments ol li ol.children {
  padding: 0;
  list-style: none;
  font-size: 0.96em;
}

#leave-comment {
  margin: 40px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #eee;
}

/* Resources */
.resource {
  width: 31.33333333%;
  float: left;
  margin: 0 3% 40px 0;
}

.resource:nth-child(3n) {
  margin-right: 0;
}

/* Custom Icon Sprites */
i.ci {
  display: inline-block;
  height: 40px;
  width: 40px;
  background: url('../img/icon-sprite.png') no-repeat;
}

.ci.ci-computer {
  background-position: 0 0;
}

.ci.ci-watch {
  background-position: -40px 0;
}

.ci.ci-calendar {
  background-position: -80px 0;
}

.ci.ci-community {
  background-position: -120px 0;
}

.ci.ci-instructor {
  background-position: -160px 0;
}

.ci.ci-device {
  background-position: -200px 0;
}

/* Forms */
label {
  display: block;
  font-weight: 300;
}

h4 label {
  color: #2d2d2d;
}

/* iCharge Styles

.ICJX_container {
	width: 100% !important;
	border: solid 1px #e3e3e3;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

#ICJX_BodyDiv {
	width: 100% !important;
}


#ICJX_Panel1 {
	width: 600px !important;
	position:relative;
	float:left;
	border: 1px dashed #ff0000;
}

.left-panel {
	border: 1px solid purple;
	width: 50%;
	float: left;
}
.right-panel {
	border: 1px solid blue;
	width: 50%;
	float: left;
}

#ICJX_Panel2 {
	width: auto !important;
	position:relative;
	float:left;
}

#ICJX_Panel3 {
	width: auto;
	position:relative;
	float:left;
	border: 1px dashed #000;
}

*/
.ICJX_title {
  font-family: inherit;
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
  color: #333333;
  text-decoration: none;
}

.ICJX_container {
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

#ICJX_CardTypeName {
  -webkit-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

input.ICJX_textfield {
  display: inline-block !important;
  width: auto !important;
  margin: 3px 0 3px 0;
}

div.ICJX_selectorbox1 {
  position: absolute;
  z-index: 1;
  opacity: 0.8;
  -moz-opacity: 0.8;
  filter: alpha(opacity=80);
  width: 20px;
  height: 0px;
  display: block;
  width: auto;
  background-color: #DDEEFF;
}

div.ICJX_errorpopupbox {
  position: absolute;
  z-index: 2;
  opacity: 0.7;
  -moz-opacity: 0.7;
  filter: alpha(opacity=70);
  display: none;
  border: solid 3px #666;
  background-color: #f5f5f5;
  padding: 0;
}

.ICJX_button {
  background-color: #f5f5f5;
  font-family: Verdana, Helvetica, sans-serif;
  font-size: 10pt;
  font-weight: bold;
  color: #333333;
  border: solid 1px #333333;
}

.ICJX_rounded-corners {
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -khtml-border-radius: 4px;
  border-radius: 4px;
}

.ICJX_usernote {
  color: #dd5638;
}

/* End iCharge */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 0;
}

input[type="submit"],
button[type="submit"] {
  display: inline-block;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.33;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: none;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  - border-radius: 6px;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  outline: none;
  border: none;
  background: #aaa;
}

/* Media Queries */
@media screen and (max-width : 1024px) {
  #rebuild .price {
    height: auto;
  }

  .rebuild-col p {
    font-size: 14px;
  }

  .hero-main {
    height: auto;
  }

  #testimonials-carousel .blockquote p {
    position: relative;
    padding: 20px 0 0 20px;
    font-size: 0.9em;
    font-style: italic;
  }

  #testimonials-carousel .blockquote p:before {
    content: "\201C";
    position: absolute;
    left: -10px;
    font-size: 2em;
    line-height: 0.5em;
    }

  #testimonials-carousel .blockquote p:after {
    content: "\201D";
    position: absolute;
    font-size: 2em;
    line-height: 1em;
    }

  #testimonials-carousel cite {
    padding: 0 30px 0;
    font-size: 1em;
    position: relative;
    float: right;
    line-height: 1em;
    margin-bottom: 20px;
    color:#dd5638
  }
}

@media screen and (max-width : 991px) {
  #instructor .container {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
  }
  .hero-primary {
    height: auto;
  }

}

@media screen and (max-width : 812px) {
  .logo {
    width: 50%;
  }

  .navbar-brand {
    padding: 10px 0;
  }

  .col-sm-9 {
    width: 65%;
}

.col-sm-3 {
  width: 35%;
}

.hero-primary {
  height: auto;
  display: block;
}

 #hero .book {
   margin-bottom: 10px;
 }

  #hero article {
    padding: 0;
  }

  #hero h1 {
    font-size: 4rem;
    margin: 10px 0;
  }

  #hero h2 {
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 300;
    clear: both;
  }

  #hero .hero-text {
    margin-top: 0;
    font-size: 1rem;
  }

  #testimonials-carousel .blockquote p {
    position: relative;
    padding: 20px 0 0 20px;
    font-size: 0.9em;
    font-style: italic;
  }

  #testimonials-carousel .blockquote p:before {
  	content: "\201C";
    position: absolute;
    left: -10px;
    font-size: 2em;
    line-height: 0.5em;
  	}

  #testimonials-carousel .blockquote p:after {
  	content: "\201D";
  	position: absolute;
    font-size: 2em;
    line-height: 1em;
    }

  #testimonials-carousel cite {
    padding: 0 30px 0;
    font-size: 1em;
    position: relative;
    float: right;
    line-height: 1em;
    margin-bottom: 20px;
    color:#dd5638
  }
}

#optin p {
  margin: 0 0 10px;
}

#featurette iframe {
  height: 240px;
}

#rebuild .price {
  padding: 10px 5px 40px;
  height: auto !important;
}

.dropdown {
  margin-top: 10px;
}

.resource {
  width: 30%;
}

.resource a.btn {
  width: auto;
  display: block;
  white-space: normal;
}

.rebuild-col {
  margin-bottom: 10px;
  height: 460px;
}
}

@media screen and (max-width : 768px) {

  #hero article {
    padding: 0;
  }

  #hero h1 {
    font-size: 3.5rem;
  }

  #hero h2 {
    font-size: 1.5rem;
    line-height: 3rem;
    font-weight: 300;
  }

  #hero .hero-text {
    margin-top: 0;
    font-size: 1rem;
  }
}

@media screen and (max-width : 740px) {
  .navbar-brand {
    padding: 10px;
  }
  .rebuild-col {
    margin-bottom: 10px;
    height: auto;
  }

  .hero-primary {
    height: auto;
  }

  #hero h1 {
    font-size: 2.5rem;
    margin: 20px 0;
    text-align: center;
  }

  #hero h2 {
    font-size: 1.5rem;
    margin: 10px 0;
    text-align: center;
  }

  #testimonials-carousel .blockquote p {
    position: relative;
    padding: 20px 0 0 20px;
    font-size: 0.9em;
    font-style: italic;
  }

  #testimonials-carousel .blockquote p:before {
  	content: "\201C";
    position: absolute;
    left: -10px;
    font-size: 2em;
    line-height: 0.5em;
  	}

  #testimonials-carousel .blockquote p:after {
  	content: "\201D";
  	position: absolute;
    font-size: 2em;
    line-height: 1em;
    }

  #testimonials-carousel cite {
    padding: 0 30px 0;
    font-size: 1em;
    position: relative;
    float: right;
    line-height: 1em;
    margin-bottom: 20px;
    color:#dd5638
  }

}

@media (max-width: 667px) {
  .gallery__item {
    display: block;
  }

  #hero h1 {
    font-size: 2.5rem;
    margin: 20px 0;
    text-align: center;
  }

  #hero h2 {
    font-size: 2.5rem;
    margin: 10px 0;
    text-align: center;
  }

  .hero-primary {
    height: auto;
  }

  #rebuild .price {
    padding: 5px 5px 30px 5px !important;
    font-size: 11px;
  }

  #rebuild .price p {
    margin-bottom: 30px;
  }

  #rebuild .price h4 {
    font-size: 1.5rem;
  }

  .fa-4x {
    font-size: 1.5em;
  }

  .resource {}
}

/* @media 667px end */
@media screen and (max-width : 568px) {
  #instructor .num {
    height: 80px;
    width: 80px;
    font-size: 18px;
  }

  #instructor .num span {
    font-size: 16px;
  }

  .btn-dark {
  width: 100%;
}

 .row + .row {
    margin-top: 0;
  }

  .col-sm-9 {
  width: 100%;
  }

  .col-sm-3 {
  width: 100%;
  }

  #hero h2 {
    width: 100%;
  }

  .resource {
    width: 100%;
    margin-right: 0;
    min-height: 0;
  }

  .btn {
    margin-bottom: 5px;
  }

  #rebuild .price {
    height: 140px;
    width: 30%;
  }

  .price small {
    font-size: 1.5rem;
    margin-top: 5px;
  }
}

@media screen and (max-width : 414px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .dropdown, .dropdown a {
    display: block;
  }

  #rebuild .price {
    height: 145px;
  }

  .hero-primary {
    height: auto;
  }

  #hero article {
      padding: 0;
  }

  #hero h1 {
    font-size: 2rem;
    margin: 20px 0;
    text-align: center;
  }

  #hero h2 {
    font-size: 2rem;
    line-height: 3rem;
    margin: 20px 0;
    text-align: center;
  }

  #hero .book {
		width: 90%;
    margin: 0 auto;
    margin-bottom: 10px;
	}

  #testimonials-carousel {
    margin-bottom: 20px;
  }

  #testimonials-carousel .carousel-inner {
    padding: 20px;
  }

  #testimonials-carousel .blockquote p {
    position: relative;
    padding: 20px 0 0 20px;
    font-size: 0.9em;
    font-style: italic;
  }

  #testimonials-carousel .blockquote p:before {
  	content: "\201C";
    position: absolute;
    left: -10px;
    font-size: 3em;
    line-height: 0.5em;
  	}

  #testimonials-carousel .blockquote p:after {
  	content: "\201D";
  	position: absolute;
    font-size: 3em;
    line-height: 1em;
    }

  #testimonials-carousel cite {
    padding: 0 30px 0;
    font-size: 1em;
    position: relative;
    float: right;
    line-height: 1em;
    margin-bottom: 20px;
    color:#dd5638
  }
}

#case-studies article {
  width: 100%;
}

#case-studies .summary {
  background: #141414;
  color: #fff;
}

#case-studies .client-site {
  background: rgba(0, 0, 0, 1);
  padding: 0;
  }

#case-studies .client-site img {
  object-fit: cover;
  opacity: 0.5;
}

#case-studies .client-site img:hover {
  opacity: 1;
}
