 *, *::before, *::after {
  box-sizing: border-box;
}

.cf::before,
.cf::after  {
    content: "";
    display: block; 
  }
.cf::after {
  clear: both;  
  }
.cf {
  zoom: 1; /* for old ie (trigger has layout) */  
  }

  html {
    scroll-behavior: smooth;
  }

body {
    background-color: #000;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
  }

  p {
    letter-spacing: .3px;
    /* word-spacing: .5px; */
  }

p a {
  color: rgba(0,168,232,1);
  text-decoration: none;
}

p a:hover {
  color: rgba(0,126,167,1);
}

#container {
  width: 100%;
  margin: 0 auto;
}

.hbody header {
  height: 475px;
  background-color: #000;
}

.portfolio_body header,
.contact_body header,
.blog_body header,
.about_body header {
  height: 200px;
  background-color: #000;
}

.hbody header h1 a{
  background-image: url("../images/ctcescapebomb.gif");
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  height: 475px;
  top:0;
  display: block;
  text-indent: -999em;
}

.portfolio_body header h1 a,
.contact_body header h1 a,
.blog_body header h1 a,
.about_body header h1 a,
.mailers_body header h1 a
{
  background-image: url("../images/whitelogotrans.png");
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  height: 200px;
  top:0;
  display: block;
  text-indent: -999em;
}




#navbar {
  background-color: rgba(0,23,31,1);
  box-shadow: 0px 5px 50px 40px rgba(0,0,0,.5);
  z-index: 99;
}

nav.topmenu,
nav.pmenu {
  height: 1em;
  margin: 0 auto;
  max-width: 1000px;
}

ul.global,
ul.pmenu {
  display: flex;
  justify-content: center;
  align-items: center;

}

ul.global li,
ul.pmenu li {
  margin: 0 auto;
}

ul.global li a,
ul.pmenu li a{
  color: #fff;
  text-decoration: none;
}

ul.global li a:hover,
ul.pmenu li a:hover{
  color: rgba(0,168,232,1)
}


ul.global li a.active,
ul.pmenu li a.active {
  color: rgba(0,168,232,1);
}


section.psectiontitle {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  background-color: rgba(0,23,31,1);
}

section.psectiontitle h2 {
  font-size: 40px;
  font-style: italic;
  text-align: center;
  padding: 0 10px;
  letter-spacing: -2px;
}

section.portfoliofeat {
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.portfoliofeat2 {
  background-color: rgba(0,23,31,1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.pthumbnail {
  width: 100%;
  order: 2;
}


.pthumbnail img {
  width: 100%;
  padding: 10%;
}

.pthumbnail img.mailer1 {
  padding: 10% 10% 5px;
}

.pthumbnail img.mailer2{
  padding: 5px 10% 10%;
}
.pdescription {
  width: 100%;
  height: 100%;
  padding: 10%;
  order: 1;
}

.pdescription2 {
  width: 100%;
  height: 100%;
  padding: 10%;
  order: 2;
}

.pdescription h3,
.pdescription2 h3 {
  font-size: 22px;
  padding-bottom: 30px;
}

.pdescription h4,
.pdescription2 h4 {
  font-size: 18px;
  padding-bottom: 20px;
  font-weight: 400;
  line-height: 25px;
}

.pdescription p,
.pdescription2 p {
  font-size: 14px;
  line-height: 24px;
  font-weight: 100;
}

.pbuttons {
  display: flex;
  margin-top: 25px;
  /* border: solid 1px #f00; */
}

.pbuttons a {
  color: #fff;
  text-decoration: none;
  flex-grow: 1;
  background-color: rgba(0,52,89,1);
  border-radius: 15px;
  padding: 15px 25px;
  text-align: center;
  margin: 0 10px 0 0;
}

.pbuttons a:hover {
  background-color: rgba(0,126,167,1);
}

.bttmbtn {
  margin: 10%;
}

.portfolio_piece h2 {
  font-size: 40px;
  text-align: center;
  padding:10px;
  letter-spacing: -2px;
}

.portfolio_piece h3 {
  font-size: 25px;
  text-align: center;
  padding: 10px;
  letter-spacing: -1px;
}

.portfolio_piece h4 {
  font-size: 20px;
  font-style: italic;
  text-align: center;
  padding: 20px;
  color: wheat;
}

.portfolio_piece p {
  font-size: 16px;
  font-weight: 100;
  padding: 30px;
  line-height: 32px;
}

.fullpageimage {
  display: block;
  margin: 10px auto;
  width: 80%;
  max-width: 1600px;
}

.sb_body .fullpageimage {
  padding-top: 1%;
}

.fullpagetitles {
  width: 75%;
  margin: 80px auto;
  /* border: 1px solid #f00; */
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + .content {
  padding-top: 60px;
}

#myBtn {
  display: none; 
  position: fixed; 
  bottom: 20px; 
  right: 30px; 
  z-index: 99; 
  border: none; 
  outline: none; 
  background-color: rgba(0,168,232,1); 
  color: white; 
  cursor: pointer; 
  padding: 15px; 
  border-radius: 20px; 
  font-size: 18px;
}

#myBtn:hover {
  background-color: rgba(0,52,89,1);
  color: #fff; 
}

a.icon {
  display: none;
}

.wiredgif {
  padding: 5%;
}

.sb_trailer,
.rr_trailer {
height: 400px;
padding: 10px 0;
}

.mb_trailer {
  width: 600px;
  height: 338px;
  padding: 10px;
}

.mercedes_movies {
  background-color: #000;
  padding: 100px 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1500px;
  margin: 0 auto;
}

footer {
  background-color: rgba(0,23,31,1);
  padding-top: 50px;
  margin: 50px 0;
}

footer h2 {
  font-size: 5vw;
  text-align: center;
}

footer h4 {
  font-size: 4vw;
  padding-top: 5px;
  text-align: center;
}

footer h4 a {
  text-decoration: none;
  color: rgba(0,168,232,1);
}

footer h4 a:hover {
  color: rgba(0,126,167,1);
}

footer h3 {
  font-size: 3vw;
  padding-top: 25px;
  text-align: center;
}

footer p {
  text-align: center;
  padding: 50px;
}

.smicons {
  display: flex;
  justify-content: center;
}

.smicons a {
  height: 50px;
  width: 50px;
  margin: 0 25px;
  
  background-size: contain;
  background-repeat: no-repeat;
}

.smicons a.yticon {
  background-image: url(../images/Youtube.png);
}

.smicons a.yticon:hover {
  background-image: url(../images/Youtube.png);
  filter: grayscale(100%);
}

.smicons a.fbicon {
  background-image: url(../images/Facebook.png);
}

.smicons a.fbicon:hover {
  background-image: url(../images/Facebook.png);
  filter: grayscale(100%);
}

.smicons a.igicon {
  background-image: url(../images/Instagram.png);
}

.smicons a.igicon:hover {
  background-image: url(../images/Instagram.png);
  filter: grayscale(100%);
}

.grid-container {
  display: grid;
  grid-template-columns: 50%;
  align-items: center;
  justify-content: center;
  margin: 0 10%;
  padding: 1%;
  column-gap: 10px;
  row-gap: 10px;
  border: 10px solid #fff;
}

.home-grid-container {
  display: grid;
  grid-template-columns: 50%;
  align-items: center;
  justify-content: center;
  padding: 1%;
  column-gap: 10px;
  row-gap: 10px;
  margin: 0 5%;
}

.item1 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;


}

.item2 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;

}
.item3 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
  
}

.item4 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
 
}

.item1,
.item2,
.item3,
.item4 {
  border: 5px solid #fff;
  padding: 10px;
}

.home-grid-container a.item1 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;
}

.home-grid-container a.item2 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
}

.home-grid-container a.item3 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
}

.home-grid-container a.item4 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
}

a.item1:hover,
a.item2:hover,
a.item3:hover,
a.item4:hover {
  filter: grayscale(100%);
}


/*************** contact form ************/
/*************** contact form ************/
/*************** contact form ************/


input[type=text], [type=email], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

input[type=submit] {
  background-color: rgba(0,52,89,1);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: rgba(0,126,167,1);
}

.formcontainer {
  margin: 0 auto;
  padding: 5%;
}

/* media queries  ***************** */

@media only screen and (max-width: 1300px) {
  .mb_trailer {
    width: 50%;
    padding: 10px;
  }

}

@media only screen and (max-width: 800px) {
  
  header {
    height: 200px;
  }
  
  
  header h1 a{
    background-size: contain;
    background-position: center;
    height: 200px;
  }


  section.portfoliofeat {
    background-color: #000;
    display: block;
  }

  section.portfoliofeat2 {
    background-color: rgba(0,23,31,1);
    display: block;
  }

  .pthumbnail {
    width: 100%;
  }
  
  .pthumbnail img {
    width: 100%;
    padding: 5% 10%;
  }

  .pdescription {
    padding: 5% 10% 10%;
  }

  .fullpagetitles {
    width: 80%;
    margin: 150px auto;
}

#navbar {
  display: block;
}

#navbar hr {
  display: none;
}

#navbar button {
  font-size: 24px;
  line-height: 40px;
}

a.icon {
  display: block;
  color: #fff;
  text-align: center;
  font-size: 40px;
}

#topmenu {
display: none;
}

ul.global {
  background-color:rgba(0,23,31,1);
  display: block;
  position: absolute;
  width: 100%;
  text-align: center;
}

ul.global li {
  padding: 20px;
}

ul.global li a {
  color: #fff;
  padding: 20px;
  text-decoration: none;
}

ul.global li a:hover {
  color: rgba(0,168,232,1)
}


ul.global li a.active {
  color: rgba(0,168,232,1);
}

.sticky + .content {
  padding-top: 100px;
}

.mb_trailer {
  width: 90%;
  height: 320px;
}

.home-grid-container {
  display: block;
}

a.item1,
a.item2,
a.item3,
a.item4 {
  border: none;
}

}


