/* Page Style Adjustments and Settings */

/* Video Gallery Default Page Adjustments 
-------------------------------------------------- */
.container {
    /*max-width: 970px;*/
    center-block();
    /*margin-left:auto;
    margin-right:auto;*/
}
.navbar {
    background-color: #1780c9;
    border: none;
    border-radius: 0;
}
.vid-item {
	margin-bottom: 10px;
	margin-top: 10px;
	float: left;
}
.vid-img {
	z-index: -10;
}
.vid-tag {
	background: url(../img/play.png) no-repeat;
	float: right;
	width: 30px;
	height: 30px;
	z-index: 100;
	position: absolute;
	left: 89%;
	top: 1%;
}
.vid-title {
	font-weight: bold;
}
.vid-sub {
	font-size: 10px;
	margin: 0;
	padding: 0;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0);
    border: none;
    border-radius: 0;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,0);
    box-shadow: 0 3px 9px rgba(0,0,0,0);
}
.modal-header {
    border-bottom: none;
}
button.close {
	border-radius: 50%;
	border: 2px solid #f5f5f5;
	overflow: hidden;
	box-shadow: 0 0 3px gray;
	opacity: 1;
	width: 25px;
	height: 25px;
    margin-top: 60px !important;
    position: relative;
    top: 14px;
    left: 13px;
    z-index: 9999999999;
    background: #fff !important;
}

/**** @group Isotope ****/
#video-gallery {
   /*margin-top: 60px;*/
   margin-top: 0;
}
  
#video-gallery #filters {
    padding-left: 0;
    list-style-type: none;
    height: 30px;
    margin-bottom: 40px;
    text-align: center;
    margin-top: -20px; }
    #video-gallery #filters li {
      display: inline-block;
      font-size: 18px;
      margin: 0px 6px; }
      #video-gallery #filters li.separator {
        color: #c0c0c0;
        font-weight: lighter; }
      #video-gallery #filters li a {
        color: #3f3f3f;
        -webkit-transition: color .2s;
        -moz-transition: color .2s;
        -ms-transition: color .2s;
        transition: color .2s; }
        #video-gallery #filters li a:hover, #video-gallery #video-container li a.active {
          color: #1780c9; }
  #video-gallery #video-gallery-container {
    margin-bottom: 50px; }
    #video-gallery #video-gallery-container .video-container {      
	  width: 285px;      
      height: 160px;
      overflow: hidden;
      margin: 5px;
      float: left;
      position: relative; }
      #video-gallery #video-gallery-container .video-container:hover .mask {
        display: block;
        opacity: 1;
        filter: alpha(opacity=100); }
      #video-gallery #video-gallery-container .video-container .mask {
        position: absolute;
        opacity: 0;
        filter: alpha(opacity=0);
        box-shadow: 0px 1px 6px 2px #b1b1b1;
        top: 0px;
        left: 0px;
        border-radius: 5px;
        height: 100%;
        padding: 0px 20px;
        width: 100%;
        background: rgba(23, 128, 201, 0.5);
        -webkit-transition: opacity .25s ease-in-out;
        -moz-transition: opacity .25s ease-in-out;
        transition: opacity .25s ease-in-out; }
        #video-gallery #video-gallery-container .video-container .mask h3 {
          color: #fff;
          font-size: 22px;
          position: relative;
          top: 27%; }
        #video-gallery #video-gallery-container .video-container .mask small {
          color: #f0f0f0;
          font-size: 15px;
          font-style: italic;
          position: relative;
          top: 35%;
          display: block; }
        #video-gallery #video-gallery-container .video-container .mask .vid-time {
          color: #fff;
          font-size: 11px;
          font-weight: bold;
          position: absolute;
          bottom: 7%;
          left: 84%;
          }

/* Responsive
-------------------------------------------------- */

@media (max-width: 480px) {
    #video-gallery #filters li { margin: 0px 4px; }
    #video-gallery #filters li a { font-size: 18px; }
    #video-gallery #video-gallery-container .video-container img { left: 10%; }
}


/* Isotope Settings
-------------------------------------------------- */

/**** Isotope Filtering ****/
.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/
.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
  -webkit-transition: none;
     -moz-transition: none;
      -ms-transition: none;
       -o-transition: none;
          transition: none;
}