
#container {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  width: 100%;
}

#container #center-tag {
    display: none;
}

#videoplayer {
  position: relative;
  background-color: #0d1b35;
  background-image: url("https://cdn10.bostonmagazine.com/wp-content/uploads/sites/2/2017/03/cover-image-1.jpg");
  background-repeat: no-repeat;
  background-size: 80% auto;
  background-position: center center;
  /*  width: 640px;
  height: 360px;*/
  width: 600px;
  height: 336px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  overflow:hidden;
}

#content-wrapper {
  position:relative;
  top: 0px;
  left: 0px
}

#playpause {
  position: absolute;
  left: 20px;
  bottom: 20px;
  height: 40px;
  width: 100px;
  border-style: none;
  font-weight: bold;
  font-size: 25px;
  opacity: 0.5;
  background-color: #fff;
  border-radius: 5px;
  border: 1px transparent solid;
  color: #000;
  cursor: pointer;
  line-height: 0;
}

#playpause:hover {
  border: 1px #003876 solid;
  color: #4686c7;
}

#fullscreen {
  position: absolute;
  bottom: 20px;
  left: 140px;
  height: 40px;
  width: 100px;
  border-style: none;
  font-weight: bold;
  font-size: 25px;
  opacity: 0.5;
  background-color: #fff;
  border-radius: 5px;
  border: 1px transparent solid;
  color: #000;
  cursor: pointer;
  line-height: 0;
  z-index: 9999;
}

#fullscreen:hover {
  border: 1px #003876 solid;
  color: #4686c7;
}

video#content {
  overflow: hidden;
  width: 600px;
  height: auto;
}

#vast-container #videoplayer #content,
#adcontainer {
  position: absolute;
  top: 0px;
  left: 0px;
/*  width: 640px;
  height: 360px;*/
  width: 600px;
  height: 336px;
  background-color: #0d1b35;
  background-image: url("https://cdn10.bostonmagazine.com/wp-content/uploads/sites/2/2017/03/cover-image-1.jpg");
  background-repeat: no-repeat;
  background-size: 80% auto;
  background-position: center center;
}

#console {
  font-family: courier, monospace;
  font-size: 12px;
  margin-top: 20px;
  height: 200px;
  width: 630px;
  padding: 5px;
  border: 1px #ccc solid;
  overflow-y: scroll;
  margin-left: auto;
  margin-right: auto;
  display: none;
}

#companionDiv, #customClick {
  width: 728px;
  height: 90px;
  margin-top: 20px;
}

#customClick {
  background-color: #807F80;
  display: none;
  text-align: center;
}

#customClickTextWrapper {
  display: table-cell;
  vertical-align: middle;
}

.urlLink {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

/*** Media Queries ***/

@media only screen and (max-width : 645px) {
    body.single-mcf-cpt-ad .container {
        width: 100% !important;
    }
    body.single-mcf-cpt-ad .container > div,
    body.single-mcf-cpt-ad .container > header,
    body.single-mcf-cpt-ad .container > footer {
        width: 95% !important;
        margin-left: auto;
        margin-right: auto;
    }
    body.single-mcf-cpt-ad .container > div.search {
        padding-left: 10px;
    }
}

@media only screen and (max-width : 600px) {
    #videoplayer {
        width: 600px;
        height: 336px;
    }
    video#content {
        width: 600px;
    }
    #vast-container #videoplayer #content,
    #adcontainer {
        width: 600px;
        height: 336px;
    }
    #fullscreen {
        display: none;
    }
}

@media only screen and (max-width : 480px) {
    #videoplayer {
        width: 480px;
        height: 270px;
    }
    video#content {
        width: 480px;
    }
    #vast-container #videoplayer #content,
    #adcontainer {
        width: 480px;
        height: 270px;
    }
}

@media only screen and (max-width : 375px) {
    #videoplayer {
        width: 375px;
        height: 210px;
        margin-left: -10px;
    }
    video#content {
        width: 375px;
    }
    #vast-container #videoplayer #content,
    #adcontainer {
        width: 375px;
        height: 210px;
    }
}

@media only screen and (max-width : 320px) {
    #videoplayer {
        width: 320px;
        height: 180px;
    }
    video#content {
        width: 320px;
    }
    #vast-container #videoplayer #content,
    #adcontainer {
        width: 320px;
        height: 180px;
    }
}
