.bodyContent .mg {}

.mg .visible-img {
  height: 85%;
}
.mg .visible-img img {
  box-shadow: 0 0 25px 10px #000000;
}
.mg .clearing-blackout {
  /* add my pattern */
 
  background-color: #111;
  background-image: -webkit-linear-gradient(transparent 50%, rgba(255, 255, 255, 0.04) 50%);
  background-size: 10px 10px;
}
.mg .clearing-container {
  position: static;
  padding-bottom: 30px;
}
.mg .clearing-thumbs img{
  display:none;
}
.mg .clearing-assembled .clearing-container .visible-img,
.mg .clearing-caption {
  background: none;
}
.mg.sv-foundation .clearing-caption {
  background: rgba(0, 0, 0, 0.4);
}
.mg .clearing-caption h4 {
  padding:0px;
  margin:0px;
  color:#fff;
}
.mg .clearing-assembled .clearing-container .carousel {
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 75%);
}
.mg.sv-foundation .clearing-blackout .clearing-close {
  display: none;
}
.mg .clearing-assembled .mg-controlHolder {
  display: none;
  width: 100%;
  height: 50px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}
.mg .clearing-assembled.clearing-blackout .mg-controlHolder {
  display: table;
  top: -50px;
  left: 0;
}
.mg .clearing-assembled .mg-controls {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.mg .mg-panel .row {
  margin-left: 0;
  margin-right: 0;
}
.mg .clearing-assembled.clearing-blackout {
  margin-top: 0;
  margin-left: 0;
}

.mg .mg-controls a {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #999;
  text-align: center;
  line-height: 50px;
  height: 50px;
  font-size: 11px;
  font-size: 0.9rem;
  padding: 0 5px;
}
.mg .mg-controls span {
  color: #FFF;
  font-size: 14px;
  font-size: 1rem;
  margin-right: 3px;
  margin-right: 0.3rem;
}
.mg #mgreveal {
  top:15px !important;
  z-index: 1001;
}
.mg .mgoverlay {
  position:absolute;
  width:100%;
  height:100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
  z-index: 1001;
  top:0;
  left:0;
}
.mg .mg-panelContent {
  padding-top: 45px;
}

.mg .share-options {
  text-align: center;
}
.mg .share-options a {
  white-space: nowrap;
  color: #000;
  margin: 10px;
  display: inline-block;
}
.mg .mg-album-browser {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mg .mg-album-browser:before {
  content: 'Browse Other Albums:';
  display: inline-block;
  position: absolute;
  top: -6px;
  padding: 3px 15px 0 15px;
  font-size: 10px;
  color: #666;
}
.mg .mg-album-browser.noalb:before {
  content: '';
}
.mg .mg-album-browser li {
  display: none;
  padding: 8px 15px;
}
.mg .row .mg-embedded .mg-album-browser {
  bottom: 0;
  left: 0;
  float: none;
  z-index: 999;
}
.mg .mg-album-browser.open li,
.mg .mg-album-browser .selected {
  display: block;
}
.mg .mg-album-browser a {
  display: block;
}
.mg .mg-album-browser .selected a {
  color: #323232;
}
.mg .mg-album-browser.open span {
  display: inline-block;
  float: right;
}
.mg .mg-album-browser .selected span {
  display: none;
}
.mg a.gal-browser {
  bottom: 15px;
  font-size: 16px;
  position: absolute;
  right: 20px;
  z-index: 1000;
}
.mg .mg-embedded .visible-img {
  height: 95%;
}
.mg .mg-embedded .clearing-assembled .mg-controlHolder {
  top: 0;
}
.mg .mg-embedded .clearing-blackout {
  position: relative;
  height: 380px;
}
.mg .mg-embedded .clearing-close {
  display: none;
}
.mg .mg-embedded .clearing-assembled .mg-controlHolder {
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
}
.mg .mg-embedded .clearing-assembled.clearing-blackout .mg-controlHolder {
  left: 0;
  top: 0;
}
.mg .mg-embedded .mg-controls a {
  display: inline-block;
}

.mg .addthis_default_style .addthis_separator,
.mg .addthis_default_style .at300b,
.mg .addthis_default_style .at300bo,
.mg .addthis_default_style .at300m,
.mg .addthis_default_style .at300bs {
    float: none;
}
.mg.download{
    padding: 25px 10px 10px;
}
.mg.photo .mg-embedded .clearing-blackout {
  height: 390px;
}
.mg.photo .mg-embedded .carousel,
.mg.photo .visible-img a,
.mg.photo .mg-embedded .mg-controls a.option-details {
    display: none;
}
.mg.photo .clearing-assembled .clearing-container .visible-img {
  height:100%;
}
.mg.photo .photobox {
  padding:15px;
}

.mg-panelContent .photobox { text-align:left;}

.mg .row.gallery {
  padding:15px;
  padding-top:30px;
}
.mg .row.gallery .th {
  position:relative;
}
.mg .row.gallery .th .thoverlay{
  position:absolute;
  bottom:0;
  left:0;
  padding:2px;
  color:#fff;
  background-color: rgba(0, 0, 0, 0.7);
  line-height: 1.4em;
  width:100%;
}
.mg .row.gallery .th .thoverlay .vidcount{
  float:right;
}
.mg .videobutton{
  background: url('/sitecore/includes/plugins/mediagallery/v1/images/play_btn.png') no-repeat center center transparent;
  position: absolute;
  left:50%;
  bottom:0;
  cursor:pointer;
  display:none;
}

.#vidHolder {
  top:15px !important;
  z-index:2000;
  height:300px;
}
#vidHolder .sv-close-reveal-modal{
  color: #AAAAAA;
  cursor: pointer;
  font-size: 1.375em;
  font-weight: bold;
  line-height: 1;
  position: absolute;
  right: 0.6875em;
  top: 0.5em;
}
.mg #terms {
  display:none;
}
.mg #terms #closeterms {
    float: right;
    font-size: 2em;
}
.mg .removerequest {
  position: relative;
}
.mg .removerequest span{
  bottom: 10px;
  color: #FF0000;
  font-size: 2em;
  position: absolute;
  right: 0;
}

.mg.sv-foundation .clearing-assembled .clearing-container .visible-img, .mg .mg-album-browser:before, .mg .mg-album-browser,
.mg.sv-foundation .clearing-blackout, .mg.sv-foundation .clearing-assembled .clearing-container .carousel {
   /* set your BG colors here */
}

/*teaser widget*/
.mgw .orbit-timer{
  display:none;
}
.mgw {
  margin-bottom:20px;
  max-width:300px; 
}

.mgw .bar a{
  color:#fff;
  font-size:14px;
  text-transform: uppercase;
  font-weight: bold;
}
.mgw .bar{
  height:20px;
  background-color:#ccc;
  text-align: center;
  margin-top:4px;
}

@media all and (min-width: 321px) { /* my custom breakpoint where the MG controls should be vertical */
  .mg .mg-controls a {
    display: table;
  }
  .mg .clearing-assembled .option-details {
    display: table;
  }
  .mg .clearing-assembled .mg-controlHolder {
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
  }
  .mg .clearing-assembled.clearing-blackout .mg-controlHolder {
    padding-top: 0;
  }
}
@media only screen and (min-width: 768px) { /* this is the breakpoint when the arrows show */
  .mg .mg-controls a {
    display: inline-block;
  }
  .mg .clearing-assembled .option-details {
    display: inline-block;
  }
  .mg .clearing-assembled .mg-controlHolder {
    top: 50px;
    left: 0;
    padding-top: 0;
    width: 100%;
    height: 50px;
  }
  .mg .clearing-assembled.clearing-blackout .mg-controlHolder {
    left: 0;
    top: 0;
  }
  .mg .mg-embedded .clearing-blackout {
    height: 575px;
  }
  #vidHolder {
    height:500px;
  }
}
@media only screen and (max-width: 381px) {
 .mg .mg-controls span{
  display: none;
 }
}