/*  Blue #00509E rgba(0,80,158,1) */

html,
body {
  font-size: 18px;
}

.maincontent {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

p {
  font-family: 'Montserrat', sans-serif;
}

h1, h2 {
  font-size: clamp(1.7rem, 3vw, 60px);
  margin: 0;
  padding: 0;
}

h2 {
  font-size: clamp(1.5rem, 2vw, 48px);
  line-height:1.4em;
}
h3{
  font-size: clamp(1.5rem, 1.5vw, 42px);
}
h1,
h2,
h3 {
  font-family: 'Anton', sans-serif;
  letter-spacing:.1em;
}
.row {
  padding: 0 !important;
  margin: 0 !important;
}

.col-md-6 {
  padding: 0 !important;
  margin: 0 !important;
}

img {
  width: 100%;
}

.main-hr {
  height: 0px;
  max-width: 60%;
  margin: 20px 0;
  border: 1px solid #024382;
}

.lrg-hr {
  max-width: 80%;
  margin: 20px 0;
  border:1px solid #024382;
}

/* ----------------------------------- BTN Black ------------------------------------------ */

.reusable-btn {
  border-radius: 100px;
  text-align: center;
  display: inline-block;
  padding: 1.8rem 3.2rem;
  color: #fff;
  background: radial-gradient(ellipse at center, #024382, transparent 70%);
  font-family: 'Anton', sans-serif;
  letter-spacing: .2rem;
  transition: all .1s;
  font-size: 1.1rem;
}

.btn-drk {
  background: radial-gradient(ellipse at center, #4FA3F7 0%, transparent 70%);
  padding: 2rem 3.5rem;
}

.reusable-btn a {
  color: #fff;
}

.reusable-btn-white {
  color: #000;
}

.reusable-btn:hover {
  display: inline-block;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));
  transform: scale(.98);
  text-decoration: none;
  color: #fff;
}
.hero {
  background-image:
    url('/imageserver/Reusable/carlisle21/logo-bgr2.png'),
    url('/imageserver/Reusable/carlisle21/hero-bg-r.png'),
    linear-gradient(to right, rgba(255, 255, 255, 0)0%, rgba(255, 255, 255, 1)95%),
    url('/imageserver/Reusable/carlisle21/hero-bg-full3.png');
  background-repeat: no-repeat;
  background-size: 0%, 18%, 100%, 100%;
  background-position: 25% 15%, right, center, -10px center;
  height: 30vw;
}

.hero-content {
  padding: 0% 35% 5% 5%;
  height: 100%;
  display: grid;
  align-content: center;
}

.hero-content h2 {
  font-size: 3vw;
}

.section-divider {
  background: #00509E;
  color: #fff;
  text-align: center;
  padding: 1% 2% 1%;
  border: 1px solid #000;
  border-left: 0;
  border-right: 0;
}

.section-divider h2 {
  text-transform: uppercase;
  letter-spacing: .18rem;
}

.section1 {
  display: grid;
  grid-template-columns:repeat(2, 50%);
  background-image: url('/imageserver/Reusable/carlisle21/CCM-training-LR.jpg');
  background-repeat: no-repeat;
  background-size:clamp(820px, 50vw, 80vw);
  background-position: left;
}

.section1-intro-col {
  background:linear-gradient(to bottom,#e8e8e8, #e8e8e8);
  padding:3%;
}

.section1 .col-md-6 {
  margin: 0;
  padding: 0;
}

.section1 img {
  width: 100%;
  height: 510px;
  object-fit: cover;
}

.section1-intro {
  padding: 4%;
  margin-left: 10px;
}

.section1-intro h2 {
  margin-top: 0;
}

.section2 {
  background-image:
    url('/imageserver/Reusable/carlisle21/fixed-reroofing-logo-rbg.png'),
    linear-gradient(to bottom, rgba(255, 255, 255, .5)0%, rgba(255, 255, 255, .5)100%),
    url('/imageserver/Reusable/carlisle21/tpo.png'),
    /* url('/imageserver/Reusable/carlisle21/pvc.png'), */
    url('/imageserver/Reusable/carlisle21/fleece.png'),
    url('/imageserver/Reusable/carlisle21/insulation4.png'),
    url('/imageserver/Reusable/carlisle21/eco-right.png');
  background-repeat: no-repeat;
  background-size: 25%, 100%, 20%, 20%, 20%, 20%;
  background-position: 95% top, -2% top, left 10%, -2% clamp(20%,30vw, 500px), 102% clamp(15%,18vw, 400px), right clamp(25%,27vw, 600px);
}

.section2-wrapper {
  padding: 3%;
  text-align:center;
}

.arrow-link {
  max-width: 200px;
}

.arrow-link:hover i {
  transform: scalex(2) translateX(10px);
  transition: all .2s ease-in;
}
.convenience-wrapper {
  padding: 4% 19% 0;
}

.section2 h2:nth-child(2) {
  text-align: center;
  margin-top: 80px;
}


/* ---------------------------------- Cards ------------------------------------------- */

.section3 {
  background-image: url('/imageserver/Reusable/carlisle21/tpo-bgr.png'), url('/imageserver/Reusable/carlisle21/pvc.png'),
    url('/imageserver/Reusable/carlisle21/eco-bgr.png'), url('/imageserver/Reusable/carlisle21/TaperedISO-removebg-preview.png');
  background-repeat: no-repeat;
  background-size: 20%;
}
.card-list {
  display: flex;
  flex-direction: row;
  padding-right: 4%;
  justify-content: center;
}

.card {
  height: 350px;
  width: 300px;
  min-width: 250px;
  padding: 1.5rem;
  border-radius: 16px;
  background: white;
  -webkit-box-shadow: -2px 4px 12px 2px rgba(0, 0, 0, 0.49);
  box-shadow: -2px 4px 12px 2px rgba(0, 0, 0, 0.49);
  display: flex;
  flex-direction: column;
  transition: .2s;
  margin: 50px;
  text-align:left;
  position: relative;
}

.card.single {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .8) 100%), url('/imageserver/Reusable/carlisle21/membrane-card.png');
  background-repeat: no-repeat;
  background-size: cover, 80%;
  background-position: center, -25% bottom;
}

.card.insulation {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .8) 100%), url('/imageserver/Reusable/carlisle21/insulation3.png');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center, -30px 50px;
}

.card:focus-within~.card,
.card:hover~.card {
  transform: translateX(80px);
}

.card:hover {
  transform: scale(1.1) translateY(-30px);
  z-index: 2;
}

.card:not(:first-child) {
  margin-left: -80px;
}

.card-header {
  margin-bottom: auto;
}

.card-header h2 {
  font-size: 2rem;
  margin: .25rem 0 auto;
  text-decoration: none;
  color: inherit;
  border: 0;
  display: inline-block;
  cursor: pointer;
}

.card-header h2:hover {
  background: linear-gradient(140deg, #00509E, #000);
  text-shadow: none;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.card-author a {
  font-size: 1.5em;
  color: black;
  line-height: 2;
  padding-right: 5px;
  text-decoration: none;
  font-weight: 700;
}

.section4 {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .7) 100%), url('/imageserver/Reusable/carlisle21/warranty2.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  padding: 5% 8%;
  margin-bottom: 50px;
  letter-spacing: 1.1px;
  color: #ececec;
}

.section4 h2 {
  text-align: center;
}

.section4 p {
  margin-top: 20px;
  max-width: 1400px;
  text-align: center;
  margin: 0 auto;
}


@media only screen and (max-width: 1200px) {
  .card-list {
    display: flex;
    flex-direction: row;
    padding-right: 0%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .card:not(:first-child) {
    margin-left: 0;
  }
  .card:first-child {
    margin-left: 0;
  }
  .card:focus-within~.card,
  .card:hover~.card {
    transform: translateX(0);
  }
}


@media only screen and (max-width: 992px) {
  .section1-intro {
    height: 100%;
  }
  .main-hr {
    height: 0px;
    max-width: 60%;
    margin: 20px auto;
  }
  .section1{
    display:block;
    text-align:center;
    background-size:cover;
  }
  .section1-intro-col{
    background-color: rgba(255, 255, 255, 0.85);
    background:linear-gradient(to bottom,rgba(255, 255, 255, 0.7), #fff 95%);

  }
  .section2-img {
    display: flex;
    justify-content: center;
    padding-top: 2%;
  }
}

@media only screen and (max-width: 768px) {
  .section2-img {
    display: none;
  }

  .section1 img {
    height: auto;
    object-fit: cover;
  }

  .section2{
    text-align:center;
  }

  .card {
    margin: 25px;
  }
}

@media only screen and (max-width: 700px) {
  .section2 {
    background-size:0%;
  }
  .convenience-wrapper {
    padding: 4% 5% 0;
  }
  .hero-content {
    padding: 0 5px;
  }
}
@media only screen and (max-width: 450px) {
  html, body{
    font-size:14px;
  }
  .card {
    height: 300px;
    width: 260px;
    min-width: 260px;
    padding: 1.5rem;
    margin: 10px;
  }
  h1{
    font-size:22px;
  }
  h2{
    font-size:20px;
  }
}