html, body {
    margin: 0px;
    padding: 0px;
}

/* LOADING */

.loading {
    background: url('../img/loading_icon.gif') no-repeat center center;
    background-size: 10%;
    background-color: white !important;
}

.main {
    opacity: 0;
    -webkit-transition:opacity .6s;
    -moz-transition:opacity .6s;
    -o-transition:opacity .6s;
    transition: opacity .6s;
}

.loaded .main {
    opacity: 1;
}

/* EFFECTS */

.slideUp{
    animation-name: slideUp;
    -webkit-animation-name: slideUp;    
    animation-duration: 1s; 
    -webkit-animation-duration: 1s;
    animation-timing-function: ease;    
    -webkit-animation-timing-function: ease;
    visibility: visible !important;         
}

@keyframes slideUp {
    0% {transform: translateY(100%);}         
    100% {transform: translateY(0%);}   
}

@-webkit-keyframes slideUp {
    0% {-webkit-transform: translateY(100%);}       
    100% {-webkit-transform: translateY(0%);}   
}

.floating {
    animation-name: floating;
    -webkit-animation-name: floating;
    animation-duration: 1.5s;   
    -webkit-animation-duration: 1.5s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

@keyframes floating {
    0% {transform: translateY(0%);}
    50% {transform: translateY(8%);  }   
    100% {transform: translateY(0%);}           
}

@-webkit-keyframes floating {
    0% {-webkit-transform: translateY(0%);}
    50% {-webkit-transform: translateY(8%);}   
    100% {-webkit-transform: translateY(0%);}           
}

.fadeIn{
    animation-name: fadeIn;
    -webkit-animation-name: fadeIn;
    animation-duration: 1s;   
    -webkit-animation-duration: 1s;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    visibility: visible !important; 
}

.grid .fadeIn {
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
}

@keyframes fadeIn {
    0% {
        transform: scale(0);
        opacity: 0.0;       
    }
    100% {
        transform: scale(1);
        opacity: 1; 
    }       
}

@-webkit-keyframes fadeIn {
    0% {
        -webkit-transform: scale(0.8);
        opacity: 0.0;       
    }
    100% {
        -webkit-transform: scale(1);
        opacity: 1; 
    }       
}

/* NO WRAP */
.nowrap {
    white-space: nowrap;
}

/* COMPANY NAME */
.company-name {
    font-family: Garamond, Baskerville, 'Baskerville Old Face', 'Hoefler Text', 'Times New Roman', serif;
    white-space: nowrap;
}

/* NAVBAR */

nav {
	display: block;
}

.navbar li>a {
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 0px;
    margin: 15px 0px 0px 0px;
    padding-top: 30px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    text-transform: uppercase;
}

.nav>li>ul>li>a {
    text-transform: lowercase;
    margin: 0px auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar {
	height: 110px;
}


.navbar-nav {
    display: block;
    text-align: center;
    white-space: nowrap;
}

.navbar-default {
    background-color: rgba(248, 248, 248, 1);
    border-width: 0px;
}

#logo-name {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

@media only screen and (min-width: 999px) {
	img[id=logo] {
		display: none;

	}
}

@media only screen and (max-width: 998px) {
	img[id=logo-name] {
		display: none;
	}
}

@media only screen and (min-width: 999px) and (max-width: 1195px) {
	#logo-name { /* original dim: 80, 476*/
		position: absolute;
		width: auto;
		height: 60px;
		left: 2%;
		top:22px;
	}
}

ul.nav li:hover > a {
	font-weight: 700;
}

@media (min-width: 768px) {
	ul.nav li.dropdown:hover > ul.dropdown-menu {
		display: block;
	}
}

@media (max-width: 768px) {
    .navbar-collapse {
    	background-color: rgba(248, 248, 248, 0.90);
    	position: relative;
    	top: 10px;
    }
    .nav>li>a {
	    margin: 0px;
	    padding-top: 20px;
	    padding-bottom: 20px;
	}
	#logo {
		position: absolute;
		left: 42%;
	}
}

/* FOOTER */

.footer {
  position: fixed;
  bottom: 0;
  right: 0;
  /* Set the fixed height of the footer here */
  height: 40px;
  text-align: right;
  z-index: 99;
}

.footer p {
    font-size: 10px;
    margin-right: 10px;
}

.footer a {
    text-decoration: none;
}

.footer-white p, .footer-white a {
    color: white;
}

.footer-black p, .footer-black a {
    color: black;
}

/* INDEX */

#index {
    background-color: rgb(225,225,225);
}

.carousel {
    margin-top: 110px;
    width: 100vw;
    height: 590px;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -50;
}

.carousel .item {
    height: 590px;
}
.carousel .one {
    background: url(../img/121019_AVC_0127.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: left;
}
.carousel .two {
    background: url(../img/COCHiTech.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: center 40%;
}
.carousel .three {
    background: url(../img/IMG_3759.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: left;
}

.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}

@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}

.carousel-caption {
    font-family: 'Source Sans Pro', sans-serif;
}

#index-container {
    padding: 0;
    width: 100vw;

    position: relative;
    margin-top: 700px;
    z-index: 50;

    background-color: rgb(225,225,225);
    background-size: cover;
    -moz-background-size: cover;
}

#index-container .quote {
    height: 400px;
    margin: 0;
}

#index-container .quote h3 {
    font-family: 'Source Sans Pro', sans-serif;
    text-align: center;
    font-weight: 200;
    color: black;
    padding: 25px 0; /* to 150 */
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

#index-container .quote h3 a {
    color: black;
    text-decoration: none;
}

#index-container .quote h3 a:hover {
    color: gray;
}

#index-container .quote hr {
    border-color: black;
}

#index-container .quote br {
    vertical-align: bottom;
}

#index-container .images {
    margin: 0;
    height: 18vw;
}

#index-container .col-md-4 {
    padding: 0;
    position: relative;
    z-index: 0;
}

#index-container .col-md-4:hover {
    z-index: 1;
}

#index-container .images .image {
    width: 33.34vw;
    height: 18vw;
    overflow: hidden;
}

#index-container .images .one {
    background: url(../img/ee_drawing.png);
    background-size: cover;
    -moz-background-size: cover;
    background-position: center;
}

#index-container .images .two {
    background: url(../img/cuesta-performing-arts.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: center;
}

#index-container .images .three {
    background: url(../img/office_front.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: center;
}

#index-container .images .text {
    text-align: center;
    margin-top: 25%;
    padding: 0;
    text-transform: uppercase;
}

#index-container .images .text h5 {
    font-family: 'Raleway', sans-serif;
    letter-spacing: 3px;
    line-height: 0.5;
    text-align: center;
}

#index-container .images .text h5 span {
    display: inline-block;
    position: relative;
}

#index-container .images .text h5 span:before, #index-container .images .text h5 span:after {
    content: "";
    position: absolute;
    height: 5px;
    border-bottom: 1px solid transparent;
    border-top: 1px solid transparent;
    top: 0;
    width: 60px;

    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
}

#index-container .fade-wrapper:hover h5 span:before, #index-container .fade-wrapper:hover h5 span:after {
    border-color: white;
}

#index-container .images .text h5 span:before {
    right: 100%;
    margin-right: 15px;
}

#index-container .images .text h5 span:after {
    left: 100%;
    margin-left: 15px;
}

#index-container a {
    color: white;
}

#index-container .fade-wrapper {
    background-color: rgba(0, 0, 0, 0);
    height: 18vw;
    overflow: hidden;

    -webkit-transition: background 0.4s linear;
    -moz-transition: background 0.4s linear;
    -ms-transition: background 0.4s linear;
    -o-transition: background 0.4s linear;
    transition: background 0.4s linear;
}

#index-container .fade-wrapper:hover {
    background-color: rgba(0, 0, 0, 0.7);
    height: 18vw;
}

@media (max-width: 992px) {
    #index-container .images .image {
        width: 100vw;
        height: 50vh;
    }

    #index-container .fade-wrapper {
        height: 50vh;
    }

    #index-container .fade-wrapper:hover {
        height: 50vh;
    }

    #index-container .images .text {
        margin-top: 25vh;
    }
}

@media (max-width: 768px) {
    #services-container .images .text h1 {
        font-size: 18px;
        letter-spacing: 2px;
    }
}

/* ABOUT */

#history {
    height: 600px;
    background: url(../img/IMAG0256.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: right 100%;
    padding: 0;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -50;
}

#history-tint {
    background-color: rgba(90,119,108,0.8);
    width: 100%;
    height: 100%;
    overflow: auto;
}

#history-content {
    margin-top: 120px;
    text-align: center;
    color: white;
    visibility: hidden;
    font-family: 'Source Sans Pro', sans-serif;
}

#history-content h1 {
    margin: 25px auto 15px auto;
    font-size: 60px;
}

#history-content h4 {
    font-weight: 300;
}

#history-content #dha-logo {
    height: 70px;
}

#history-content #calpec-logo {
    height: 70px;
    /*margin: 1.5px auto; it seems a bit off...*/
}

#history-content #dhacalpec-logo {
    height: 80px;
}

#history-content #company-name {
    height: 50px;
}

@media (max-width: 992px) {
    #history-content {
        margin-top: 110px
    }
}

@media (max-width: 768px) {
    #history {
        height: 750px;
    }
    #about-services {
        margin-top: 750px !important;
    }
}

#about-services {
    height: 600px;
    background-color: rgb(255,255,255);
    background-size: cover;
    -moz-background-size: cover;
    padding: 0;

    position: relative;
    margin-top: 600px;
    z-index: 50;
}

#about-services-content {
    width: 750px;
    margin-top: 30px;
    font-family: 'Source Sans Pro', sans-serif;
    text-align: center;
}

#about-services-content h1 {
    margin: 25px auto;
    text-align: center;
    font-size: 40px;
}

#about-services-content h4 {
    font-weight: 400;
}

#about-services-content #experience .col-sm-4 {
    margin: 40px 0;
}

#about-services-content #experience img {
    height: 120px;
    visibility: hidden;
}

#about-services-content #reputation .col-sm-4 {
    margin: 68px 0;
}

#about-services-content #reputation img {
    height: 120px;
    visibility: hidden;
}

@media (max-width: 768px) {
    #about-services {
        height: 650px;
    }

    #about-services-content {
        width: 80vw;
    }

    #about-services-content #experience .col-sm-4 {
        margin: 0;
    }

    #about-services-content #experience img {
        height: 80px;
    }

    #about-services-content #reputation .col-sm-4 {
        margin: 0;
    }

    #about-services-content #reputation img {
        height: 80px;
    }
}

@media (max-width: 640px) {
    #about-services {
        height: 700px;
    }

    #about-services-content {
        width: 90vw;
    }
}

#commitment {
    height: 600px;
    background: url(../img/IMAG0256.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: center 20%;
    padding: 0;
}

#commitment-tint {
    background-color: rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
    overflow: auto;
}

#commitment-content {
    margin-top: 30px;
    width: 500px;
    font-family: 'Source Sans Pro', sans-serif;
    text-align: center;
    color: white;
}

#commitment-content h1 {
    margin: 25px auto;
    font-size: 40px;
}

#commitment-content h4 {
    font-weight: 300;
}

#commitment-content a {
    color: white;
    text-decoration: none;
}

#commitment-content a h3 {
    font-weight: 200;
    padding: 25px 0 25px 0;
}

#commitment-content a:hover h3 {
    border: 1px solid white;
    border-radius: 5px;
}

#find-us {
    height: 400px;
    background-color: rgb(240,240,240);
    background-size: cover;
    -moz-background-size: cover;
    padding: 0;
}

#find-us-content {
    width: 500px;
    margin-top: 30px;
    font-family: 'Source Sans Pro', sans-serif;
    text-align: center;
}

#find-us-content h1 {
    margin: 25px auto 15px auto;
    text-align: center;
    font-size: 40px;
}

#find-us-content h2 {
    margin-top: 40px;
}

#find-us-content h4 a {
    color: black;
    text-decoration: none;
}

#find-us-content h4 a:hover {
    color: gray;
    text-decoration: none;
}

#contact-button {
    margin: 120px 0;
}

/* CONTACT */

#map-canvas {
    height: 100vh;
    margin: 0;
    padding: 0;
}

#info-heading {
    font-family: Garamond, Baskerville, 'Baskerville Old Face', 'Hoefler Text', 'Times New Roman', serif;
}

#info-table td, #info-table th {
    border-top: none !important;
}

#info-table th {
    border-bottom: 1px gray solid !important;
    font-size: 15px;
}

#info-table a {
    color: #333;
    text-decoration: none;
}

#info-table a:hover {
    color: gray;
}

#info-table p {
    margin: 0;
    line-height: 1.8;
}

#form-container {
    margin: 25vh auto 40px auto;
}

@media (max-width: 1200px) {
    #form-container {
        margin: 15vh auto 40px auto;
    }
}

#form-container h2 {
    font-family: 'Raleway', sans-serif;
    letter-spacing: 5px;
    margin: 0 0 30px 0;
    padding: 0;
}

#form-container label {
    font-family: 'Source Sans Pro', serif;
    font-weight: 600;
}

#form-container .form-control::-webkit-input-placeholder {
    font-family: 'Source Sans Pro', serif;
}

#form-container .form-control:-ms-input-placeholder {
    font-family: 'Source Sans Pro', serif;
}

#form-container .form-control:-moz-placeholder {
    font-family: 'Source Sans Pro', serif;
}

#form-container .form-control::-moz-placeholder {
    font-family: 'Source Sans Pro', serif;
}

#form-submit {
    float: right;
    font-family: 'Source Sans Pro', serif;
}

/* SERVICES */

#services-container {
    opacity: 0;
    -webkit-transition:opacity .6s;
    -moz-transition:opacity .6s;
    -o-transition:opacity .6s;
    transition: opacity .6s;
}

.loaded #services-container {
    opacity: 1;
}

#services-container {
    padding: 0;
    height: 100vh;
    width: 100vw;
}

#services-container .images {
    margin: 0;
}

#services-container .col-xs-4 {
    padding: 0;
    position: relative;
    z-index: 0;
}

#services-container .col-xs-4:hover {
    z-index: 1;
}

#services-container .images .image {
    width: 33.34vw;
    height: 100vh;
    overflow: auto;

    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#services-container .images .image hr {
    border-color: transparent;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#services-container .images .image:hover hr {
    border-color: white;
}

#services-container .images .one {
    background: url(../img/COC,%20Exhaust-bw.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: center;
}

#services-container .images .one:hover {
    background: url(../img/COCExhaust.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: center;
}

#services-container .images .two {
    background: url(../img/West%20Valley%20Science%20Bldg%203%20cropped-bw.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: center;
}

#services-container .images .two:hover {
    background: url(../img/West%20Valley%20Science%20Bldg%203%20cropped.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: center;
}

#services-container .images .three {
    background: url(../img/Picture-2014_01_10%20EMERGENCY%20OXY%20CONN%20016-bw.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: 0% center;
}

#services-container .images .three:hover {
    background: url(../img/Picture-2014_01_10%20EMERGENCY%20OXY%20CONN%20016.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: 0% center;
}

#services-container .images .text {
    text-align: center;
    margin-top: 45vh;
    padding: 0;
    text-transform: uppercase;
}

#services-container .images .text h1 {
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    letter-spacing: 15px;

    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#services-container .images .image:hover .text h1 {
    letter-spacing: 10px;
}

#services-container .images .text h6 {
    font-family: 'Raleway', serif;
    font-weight: 300;
    letter-spacing: 4px;
    color: transparent;

    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#services-container .images .image:hover h6 {
    color: white;
}

@media (max-width: 1200px) {
    #services-container .images .text h1 {
        font-size: 26px;
        letter-spacing: 10px;
    }

    #services-container .images .image:hover .text h1 {
        letter-spacing: 5px;
    }
}

@media (max-width: 992px) {
    #services-container .images .text h1 {
        font-size: 26px;
        letter-spacing: 4px;
    }

    #services-container .images .image:hover .text h1 {
        letter-spacing: 4px;
    }
}

@media (max-width: 768px) {
    #services-container .images .text h1 {
        font-size: 18px;
        letter-spacing: 2px;
    }

    #services-container .images .image:hover .text h1 {
        letter-spacing: 2px;
    }
}

#services-container a {
    color: white; /* http://www.w3schools.com/cssref/css_colornames.asp */
}

#services-container .fade-wrapper {
    background-color: rgba(0, 0, 0, 0);
    height: 100vh;
    overflow: auto;

    -webkit-transition: background 0.3s linear;
    -moz-transition: background 0.3s linear;
    -ms-transition: background 0.3s linear;
    -o-transition: background 0.3s linear;
    transition: background 0.3s linear;
}

#services-container .fade-wrapper:hover {
    background-color: rgba(27,54,100, 0.7);
    height: 100vh;
}

/* FOR ALL SERVICES */

.service-div {
    height: 400px;
    width: 100%;
    background-size: cover !important;
    -moz-background-size: cover !important;
    padding: 0;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -50;
}

.service-tint {
    background-color: rgba(90,119,108,0.7);
    width: 100%;
    height: 100%;
    overflow: auto;
}

.service-content {
    margin-top: 200px;
    width: 750px;
    font-family: 'Source Sans Pro', sans-serif;
    text-align: center;
    color: white;
    visibility: hidden !important;
}

@media (max-width: 992px) {
    .service-content {
        width: 600px;
    }
}

@media (max-width: 768px) {
    .service-content {
        width: 400px;
    }
}

.service-content h1 {
    margin: 25px auto;
    font-size: 60px;
}

.service-service {
    min-height: 400px;
    background-color: rgb(255,255,255);
    background-size: cover;
    -moz-background-size: cover;
    padding: 0;

    position: relative;
    margin-top: 400px;
    z-index: 50;
}

.service-service-content {
    width: 60%;
    margin-top: 30px;
    font-family: 'Source Sans Pro', sans-serif;
}

.service-service-content h1 {
    margin: 50px auto;
    text-align: center;
    font-size: 40px;
}

.service-service-content .row {
    margin-bottom: 50px;
}

.service-service-content .list-left {
    text-align: left;
}

.service-service-content .list-right {
    text-align: right;
    direction: rtl;
}

.service-service-content li {
    margin: 10px 0;
}

@media (max-width: 768px) {
    .service-service-content .list-right {
        text-align: left;
        direction: ltr;
    }
}

/* MECHANICAL */

#mechanical {
    background: url(../img/IMGP1137.jpg);
    background-position: center 60%;
}

/* ELECTRICAL */

#electrical {
    background: url(../img/WestValleyScienceBldg.jpg);
    background-position: center 50%;
}

/* PLUMBING */

#plumbing {
    background: url(../img/IMGP1129.jpg);
    background-position: center 65%;
}

/* PROJECTS */

#projects-container {
    opacity: 0;
    -webkit-transition:opacity .6s;
    -moz-transition:opacity .6s;
    -o-transition:opacity .6s;
    transition: opacity .6s;
}

.loaded #projects-container {
    opacity: 1;
}

#projects-container {
    padding: 0;
    height: 100vh;
    width: 100vw;
}

#projects-container .images {
    margin: 0;
}

#projects-container .col-md-1 {
    padding: 0;
    position: relative;
    width: 16.6666666666667vw;
}

#projects-container .images .image {
    width: 16.6666666666667vw;
    height: 100vh;
    overflow: auto;

    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#projects-container .images .image hr {
    border-color: transparent;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#projects-container .images .image:hover hr {
    border-color: white;
}

#projects-container .images .one {
    /*background: url(../img/IMG_1264.jpg);*/
    background: url(../img/towerinterior-bw.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: 57%;
}

#projects-container .images .one:hover {
    background: url(../img/towerinterior.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: 57%;
}

#projects-container .images .two {
    background: url(../img/IMG_0318-bw.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: center;
}

#projects-container .images .two:hover {
    background: url(../img/pipes.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: center;
}

#projects-container .images .three {
    background: url(../img/COC+1.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: center;
}

#projects-container .images .four {
    background: url(../img/va_san_diego-bw.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: 35%;
}

#projects-container .images .four:hover {
    background: url(../img/va_san_diego.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: 35%;
}

#projects-container .images .five {
    background: url(../img/DisneyCancerCenterBuenaVista-bw.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: 6%;
}

#projects-container .images .five:hover {
    background: url(../img/DisneyCancerCenterBuenaVista.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: 6%;
}

#projects-container .images .six {
    background: url(../img/Rampart-bw.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: 33%;
}

#projects-container .images .six:hover {
    background: url(../img/Rampart.jpg);
    background-size: cover;
    -moz-background-size: cover;
    background-position: 33%;
}

#projects-container .images .text {
    text-align: center;
    margin-top: 50vh;
    padding: 0;
    text-transform: lowercase;
}

#projects-container .images .text h5 {
    font-family: 'Raleway', serif;
    font-weight: 300;
    letter-spacing: 7px;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#projects-container .images .image:hover .text h5 {
    letter-spacing: 4px;
}

#projects-container a {
    color: white;
}

#projects-container .fade-wrapper {
    background-color: rgba(0, 0, 0, 0.1);
    height: 100vh;
    overflow: auto;

    -webkit-transition: background 0.3s linear;
    -moz-transition: background 0.3s linear;
    -ms-transition: background 0.3s linear;
    -o-transition: background 0.3s linear;
    transition: background 0.3s linear;
}

#projects-container .fade-wrapper:hover {
    background-color: rgba(27,54,100, 0.7);
    height: 100vh;
}

@media (max-width: 992px) {
    #projects-container {
        margin-top: 110px;
    }

    #projects-container .col-md-1 {
        width: 100vw;
    }

    #projects-container .images .image {
        width: 100vw;
        height: 30vh;
        overflow: hidden;
    }

    #projects-container .images .text {
        margin-top: 14vh;
    }

    #projects-container .images .two hr {
        width: 215px !important;
    }

    #projects-container a:hover {
        text-decoration: none;
    }

    #projects-container .fade-wrapper {
        height: 30vh;
    }

    #projects-container .fade-wrapper:hover {
        height: 30vh;
    }
}

/* FOR ALL PROJECTS */

.project-div {
    height: 600px;
    background-size: cover !important;
    -moz-background-size: cover !important;
    padding: 0;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -50;
}

.project-tint {
    background-color: rgba(90,119,108,0.7);
    width: 100%;
    height: 100%;
    overflow: auto;
}

.project-content {
    margin-top: 200px;
    width: 750px;
    font-family: 'Source Sans Pro', sans-serif;
    text-align: center;
    color: white;
    visibility: hidden !important;
}

@media (max-width: 992px) {
    .project-content {
        width: 600px;
    }
}

@media (max-width: 768px) {
    .project-content {
        width: 400px;
    }
}

.project-content h1 {
    margin: 25px auto;
    font-size: 60px;
}

.project-gallery {
    min-height: 600px;
    background-color: rgb(255,255,255);
    background-size: cover;
    -moz-background-size: cover;
    padding: 0;

    position: relative;
    margin-top: 600px;
    z-index: 50;
}

.project-gallery-content {
    width: 90%;
    margin-top: 30px;
    font-family: 'Source Sans Pro', sans-serif;
    text-align: center;
}

.project-gallery-content h1 {
    margin: 50px auto;
    text-align: center;
    font-size: 40px;
}

.project-gallery-content .grid {
    margin-bottom: 50px;
}

/*#project-gallery-content img {
    visibility: hidden;
}*/

/* AVIATION */

#aviation {
    background: url(../img/towerinterior-bw.jpg);
    background-position: center 60%;
}

/* Central Utility Plant */

#central {
    background: url(../img/COCSCOGen1_2.jpg);
    background-position: center center;
}

/* EDUCATION */

#education {
    background: url(../img/West%20Valley%20Science%20Bldg%204.jpg);
    background-position: center center;
}

/* GOVERNMENT */

#government {
    background: url(../img/va_san_diego.jpg);
    background-position: center center;
}

/* HEALTHCARE */

#healthcare {
    background: url(../img/va_loma_linda.jpg);
    background-position: center center;
}

/* LEED */

#leed {
    background: url(../img/SBC_Platinum.jpg);
    background-position: center center;
}
