/* Department CSS Document */
/*For mobile first adaptive design place styles for mobile and up in the mobile and up area.
Place styles for tablet and up inside the media query in the tablet and up area.
Place styles for desktop only inside the media query in the desktop only area.

For questions or media query training contact Web Development Services.
*/
/* ====================== Mobile and Up ========================== */

section.custom-header {
	background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(39,93,56, 0.73)), url(/cet/machineshop/images/home/cover2.jpg) !important;
	background-size: cover;
	background-position: center;
}


/* Global */
.w-100 {
  width: 100%;
}

.text-shadow {
    text-shadow: 4px 4px 8px black;
}

/* ===== HOMEPAGE ===== */

/* Header */

.jumbo.fullbleed {
  height: 65vh;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  padding: 0;
}

.jumbo.fullbleed h1,
.jumbo.fullbleed p.lead {
  text-align: center;
}

/* Project Slider */

.slick-dots .slick-active button {
  background: #a7a8aa;
}

.slick-slide.slick-active:not(.slick-current) {
    opacity: 1!important;
}

/* Call To Actions */

/* --- Flat Solid Cards (Picture Card Option 3) --- */
.flat-solid .card-picture-3 {
  background-color: #3f6f4e;
  border: none;
  border-radius: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 0;
  transition: 600ms all ease;
}

.flat-solid .card-picture-3:hover {
  box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14),
    0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);
  transition: 600ms all ease;
}

.flat-solid h2.card-picture-title {
  color: white;
  text-align: center;
}

.flat-solid .card-picture-content {
  padding: 20px;
  color: white;
}

.flat-solid .card-picture-3 .card-picture-button {
  background: #3f6f4e;
  border: none;
  border-radius: 0;
  color: white;
  margin: none;
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.33);
}

.flat-solid .card-picture-3 .card-picture-button:hover {
  font-weight: bold;
}

/* ===== SERVICES ===== */

/* Tab Style */
.tabs > ul {
  margin: 10px;
}

.nav-pills>li+li,
.nav-pills>li {
    position: relative;
    display: block;
    margin: 5px;
    border: solid 1px #275d38;
    background: #275d38;
    width: 100%
}


/* Tab Width */
.tabs-w2>li>a {
    width: 100%;
    border-radius: 0;
    color: white;
}

/* Tab Hover Style */
.tabs-w2 > li > a:hover {
  background-color: #006633 !important;
  color: white !important;
}

/* Active Tab */
.anchorTab.active,
.tabs-w2 > li > a.active {
  background: #006633 !important;
  color: white !important;
}

/* Hover Card */
.card-hover-fade .card-hover-back a.button-solid {
  padding: 10px 5px;
  margin: 20px 0;
}

.card-hover-fade .card-hover-back img {
  margin: 5px 0;
}

.tab01-bg::before { background-image: url(/cet/machineshop/images/services/3dmodelingbg.jpg) }
.tab02-bg::before { background-image: url(/cet/machineshop/images/services/cnc_machining.jpg) }
.tab03-bg::before { background-image: url(/cet/machineshop/images/services/cutting.jpg) }
.tab04-bg::before { background-image: url(/cet/machineshop/images/services/fabrication_welding.jpg) }
.tab05-bg::before { background-image: url(/cet/machineshop/images/services/head_treat_casting_lab.jpg) }
.tab06-bg::before { background-image: url(/cet/machineshop/images/services/mill_lathe.jpg) }
.tab07-bg::before { background-image: url(/cet/machineshop/images/services/3dmodelingbg.jpg) }
.tab08-bg::before { background-image: url(/cet/machineshop/images/services/3dmodelingbg.jpg) }


/*End mobile and up styles*/
/* ====================== Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 768px) {
  .slick-slide img {
    padding: 5px;
  }

  .slick-arrow:before {
    color: white;
  }

  /* Services Tabs */
  .card-hover-front, .card-hover-back {
    min-height: 200px;
}

 /* Hover Card */

  .card-hover-fade .card-hover-container, .card-hover-fade .card-hover-front, .card-hover-fade .card-hover-back {
    position: relative;
}

   .card-hover {
    position: relative;
    height: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    background-color: black;
    color: white;
    overflow: hidden;
    min-height: 240px;
    width: 100%;
}

 .card-hover-fade .card-hover-img {
    position: absolute;
    z-index: 1;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 1;
}

.card-hover-fade:hover .card-hover-img {
  transform: scale(1);
}

 .card-hover-fade .card-hover-container {
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    z-index: 2;
    width: 100%;
    height: 100%;
    flex-grow: 2;
    background-color: rgba(0, 0, 0, 0.3);
}

 .card-hover-fade .card-hover-front,  .card-hover-back {
    padding: 0px 20px;
    z-index: 2;
}

.card-hover-fade:hover .card-hover-front {
    opacity: 1;
}

 .card-hover-fade .card-hover-title {
    color: white;
    margin: 0;
    padding: 20px 0px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 3em;
}

 .card-hover-fade .card-hover-back {
   padding-top: 0px;
    padding-bottom: 30px;
    opacity: 1;
}

.card-hover-fade .card-hover-back img {
  max-width: 48%;
    margin: 5px;
}

.card-hover-fade .card-hover-back ul,
.card-hover-fade .card-hover-back p {
    font-size: 1.15em;
    background: rgba(0,0,0,0.33);
    padding: 20px;
}

  
} /*end media query*/
/*End tablet and up styles*/
/* ====================== Landscape Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 992px) {
  /* Hero */
  .jumbo.fullbleed {
  height: 90vh;
  }

 
  
}
 /*end media query*/
/*End landscape tablet and up styles*/
/* ====================== Desktop Only (Overrides Mobile and Tablet Styles) ========================== */
@media only screen and (min-width: 1200px) {
} /*end media query*/
/*End desktop only styles*/
/*END OF DOCUMENT*/
