#mask {
  position:fixed;
  left:0;
  top:0;
  bottom: 0;
  right: 0;
  z-index:9000;
  background-color:#000;
}
  
#boxes .window {
  position:fixed;
  left:0;
  top:0;
  width:755px; 
  height:646px;
  z-index:9999;
}

#boxes #dialog {
  width:755px; 
  height:646px;
  border: 5px solid #333;
  border: 5px solid rgba(0, 0, 0, 0.5);
}


.yac-header {
    height: 66px;
    padding: 2px 10px;
    color: #fdc33c;
    position: relative;
}

.yac-header .logo {
    width: 275px;
    position: absolute;
    top: 10px;
    right: 30px;
}

.yac-header .subheader {
    position: relative;
    top: 10px;
    font-size: 24px;
    line-height: 24px;
    text-transform: uppercase;
}

.yac-header .close {
    position: absolute;
    top: -16px;
    right: -16px;
    height: 32px;
    width: 32px;
    z-index: 100;
    cursor: pointer;
    background-image: url('../_img/popup/close.png');
    margin: 0 !important;
}

#dialog .fill {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #333;
}

#yac-container .main-container {
    position: relative;
    height: 442px;
    width: 755px;
    overflow: hidden;
}

#yac-container .main-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    -ms-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

#yac-container .main-container .info-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -125px;
    height: 170px;
    background-color: #000;
    z-index: 10;
    -webkit-transition: bottom 0.6s;
    -moz-transition: bottom 0.6s;
    -o-transition: bottom 0.6s;
    -ms-transition: bottom 0.6s;
    transition: bottom 0.6s;
}

#yac-container .main-container .info-panel.expanded {
    bottom: 0;
}

#yac-container .main-container .info-panel .inner {
    position: relative;
    height: 100%;
    width: 100%;
}

#yac-container .main-container .info-panel .title {
    position: absolute;
    top: 10px;
    left: 30px;
    right: 150px;
    color: #fdc33c;
    line-height: 25px;
    font-size: 22px;
    vertical-align: middle;
}

#yac-container .main-container .info-panel.non-expandable .expander {
    display: none;
}

#yac-container .main-container .info-panel .expander {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 27px;
    width: 55px;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -o-transition: all 0.6s;
    -ms-transition: all 0.6s;
    transition: all 0.6s;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
}

#yac-container .main-container .info-panel.expanded .expander {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
}

#yac-container .main-container .info-panel .expander .expand, #yac-container .main-container .info-panel .expander .collapse {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-repeat: no-repeat;
    font-size: 9px;
    text-align: center;
    cursor: pointer;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    -ms-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

#yac-container .main-container .info-panel .expander .expand {
    background-image: url('../_img/popup/expand.png');
    padding-top: 8px;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
}

#yac-container .main-container .info-panel.expanded .expander .expand {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

#yac-container .main-container .info-panel .expander .collapse {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    background-image: url('../_img/popup/collapse.png');
    padding-top: 1px;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

#yac-container .main-container .info-panel.expanded .expander .collapse {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
}


#yac-container .main-container .info-panel .content {
    position: absolute;
    top: 45px;
    left: 30px;
    right: 30px;
    bottom: 10px;
    overflow: auto;
    color: white;
}

#yac-container .main-container .info-panel .content .site-link {
    float: right;
    width: 190px;
    text-align: center;
    line-height: 20px;
}

#yac-container .main-container .info-panel .content .site-link a {
    color: white;
    text-decoration: underline;
}

#yac-container .main-container .info-panel .content .site-link a:hover {
    text-decoration: none;
}

#yac-container .main-container .info-panel .content .video-preview {
    float: right;
    width: 162px;
    height: 110px;
    margin-left: 10px;
    cursor: pointer;
}

#yac-container .main-container .info-panel .content .video-preview img {
    width: 160px;
    max-height: 90px;
    border: 1px solid white;
}

#yac-container .main-container .info-panel .content .video-preview .videotitle {
    text-align: center;
    font-size: 12px;
}

#yac-container .main-container .info-panel .content .video-preview .videotitle:hover {
    text-decoration: underline;
}

#yac-container .main-container .video {
    position: absolute;
    left: 0;
    right: 0;
    height: 442px;
    top: 442px;
    z-index: 25;
    background-color: #333;
    color: white;
    -webkit-transition: top 0.3s;
    -moz-transition: top 0.3s;
    -o-transition: top 0.3s;
    -ms-transition: top 0.3s;
    transition: top 0.3s;
}

#yac-container .main-container .video .video-close {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 27px;
    width: 79px;
    background-image: url('../_img/popup/video-close.png');
    cursor: pointer;
}

#yac-container .main-container .video .video-content {
    position: absolute;
    top: 40px;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

#yac-container .main-container.video-expanded .video {
    top: 0;
}

.clear-fix {
    height: 0;
    display: block;
    clear: both;
    visibility: hidden;
}

#yac-container .bottom-container {
    position: relative;
    width: 755px;
    height: 136px;
}

#yac-container .bottom-container .preview-prev, #yac-container .bottom-container .preview-next {
    background-color: #333;
    background-image: url('../_img/popup/gradient.png');
    background-repeat: repeat-x;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 10;
    color: white;
    text-align: center;
    font-size: 50px;
    line-height: 130px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
}

#yac-container .bottom-container .preview-prev:hover, #yac-container .bottom-container .preview-next:hover {
    font-size: 70px;
    color: #fdc33c;
    line-height: 126px;
}

#yac-container .bottom-container .preview-prev {
    left: 0;
}

#yac-container .bottom-container .preview-next  {
    right: 0;
}

#yac-container .bottom-container .slide-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    right: 31px;
    overflow: hidden;
    z-index: 10;
    background-color: #333;
}

#yac-container .bottom-container .slide-container .inner {
    position: relative;
    width: 693px;
    height: 135px;
}

#yac-container .bottom-container .slide-container .inner .slide {
    position: absolute;
    width: 230px;
    height: 134px;
    overflow: hidden;
    border: 1px solid white;
    cursor: pointer;
    -webkit-transition: left 0.3s;
    -moz-transition: left 0.3s;
    -o-transition: left 0.3s;
    -ms-transition: left 0.3s;
    transition: left 0.3s;
}

#yac-container .bottom-container .slide-container .inner .slide.no-anim {
    -webkit-transition: none 0.3s;
    -moz-transition: none 0.3s;
    -o-transition: none 0.3s;
    -ms-transition: none 0.3s;
    transition: none 0.3s;
}


#yac-container .bottom-container .slide-container .inner .slide .inner {
    position: relative;
    height: 134px;
    width: 230px;
}

#yac-container .bottom-container .slide-container .inner .slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 230px;
    height: 134px;
}

#yac-container .bottom-container .slide-container .inner .slide .title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 17px;
    line-height: 18px;
    font-size: 13px;
    padding: 2px 0 0 0;
    color: white;
    text-align: center;
    vertical-align: middle;
    background-color: #333;
}

#yac-container .bottom-container .slide-container .inner .slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 18px;
    background-color: #333;
    opacity: 0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    -ms-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

#yac-container .bottom-container .slide-container .inner .slide:hover .overlay {
    opacity: 0.25;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
    filter: alpha(opacity=25);
}

#yac-container .bottom-container .slide-container .inner .slide.active .overlay {
    opacity: 0.0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

#yac-container .next-button, #yac-container .prev-button {
    position: absolute;
    top: 250px;
    height: 50px;
    width: 30px;
    background-image: url('../_img/popup/transbg.png');
    background-repeat: repeat;
    color: white;
    text-align: center;
    line-height: 42px;
    vertical-align: middle;
    font-size: 60px;
    cursor: pointer;
    z-index: 15;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
}

#yac-container .next-button:hover, #yac-container .prev-button:hover, #yac-container .next-button.pulse, #yac-container .prev-button.pulse {
    font-size: 95px;
    color: #fdc33c;
    line-height: 35px;
    #font-size: 75px;
    #line-height: 65px;
}

#yac-container .next-button:hover span, #yac-container .prev-button:hover span, #yac-container .next-button.pulse span, #yac-container .prev-button.pulse span {
    #top: -21px;
}

#yac-container .prev-button span, #yac-container .next-button span {
    #position: relative;
    #top: -14px;
}

#yac-container .next-button {
    right: 0;
    padding-left: 6px;
}

#yac-container .prev-button {
    left: 0;
    padding-right: 6px;
}

#yac-container .main-video {
    background-color: black;
    width: 100%;
}

#yac-container .main-video .video-content {
    margin-left: 35px;
}

#yac-container .main-video iframe {
    border: 0;
}