#gallery2{
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        z-index: 99999;
        background: rgba(0, 0, 0, 0.95);
        display: none;
      }

        #gallery2 .none{
          position: absolute;
          right: 0px;
          margin-right: 10px;
        }

        #gallery2 .fa-close,
        #gallery2 .fa-volume-up,
        #gallery2 .fa-volume-down,
        #gallery2 .fa-play,
        #gallery2 .fa-stop{
          background: #000000;
          color: #ffffff;
          z-index: 99999999;
          font-size: 25px;
          /*border-radius: 100%;*/
              position: relative;
              padding-right: 5px;
              cursor: pointer;
        }

        #gallery2 img{
              border: 8px solid #97cb16;
        }
        #gallery2 .txttile {
            text-align: center;
            color: #fdfdfd;
            z-index: 99999;
            position: relative;
            width: 100%;
            font-size: 35px;
            font-weight: bold;

        }
        #melodia{
          display: none;
        }
        .top{
          position: relative;
        }
        #gallery2 .btn-button{
          padding-top: 10px;
          /*margin-top: -50px;*/
        }
        #gallery2 .btn-button span{
          vertical-align: top;
          font-size: 20px;
          /*opacity: 0.7;*/
          border: 1px solid #fdfdfd;
          margin-right: 12px;
          padding: 5px;
          padding-top: 10px;
          width: 30px;
          height: 40px;
          border-radius: 5px;
          color: #fdfdfd;
        }
        #gallery2 .btn-button span:hover{
          border: 1px solid #fdfdfd;
          color: #fdfdfd;
        }
        #gallery2 .btn-button .gallery_stop{

        }
        .web{
          padding-top: 10px;
        }
        .web a{
          color: gray;
        }
        .fancybox-n-top{
          top: auto !important;
        }

        .fancybox-outer {
            -webkit-overflow-scrolling: touch;
            overflow-y: visible;
        }

        .thumbnail-type-2 {
            margin-bottom: 30px !important;
            /*width: 450px;*/
            margin: 0px auto;
            position: relative;
            display: inline-block;
        }
        .thumbnail-type-2 .caption {
            width: 100%;
            display: block;
            color: #ffffff;
            background: #659A40;
            font-weight: bold;
            text-align: center;
            font-size: 17px;
            padding: 5px 0px 5px 0px;
            visibility: visible !important;
        }
        .thumbnail-type-2:hover span {
             display: block;
        }
        .thumbnail-type-2 span {
            display: none;
            color: #ffffff;
            background-color: rgba(0, 0, 0, 0.70);
            position: absolute;
            top: 0px;
            /*width: 450px;*/
            width: 100%;
            height: 100%;
            /*height: 504px;*/
            text-align: center;
            padding-top: 189px;
            font-style: normal !important;
            font-size: 20px;
        }
        .thumbnail-type-2 span i{
              font-size: 55px;
        }
        #gallery2 img {
            border: 8px solid #4370b7;
        }
        #gallery2 .none {
            position: absolute;
            right: 0px;
            margin-right: 10px;
        }
        .fancybox-opened .fancybox-title {
            visibility: visible;
        }
        .fancybox-title {
            visibility: hidden;
            position: relative;
            z-index: 8050;
            text-align: center;
            font-size: 35px;
            padding-bottom: 20px;
            color: #fdfdfd;
            font-weight: bold;
        }
        .fancybox-skin {
            position: relative;
            background: #659A40;
            color: #444;
            text-shadow: none;
            padding: 8px !important;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
        }

        .fancybox-image {
            max-width: 100%;
            max-height: 100%;
        }
        .fancybox-nav{
          color: #fdfdfd;
        }
        .fancybox-nav  span:hover {
          color: #fdfdfd;
          border: 1px solid #fdfdfd;

        }
        .fancybox-btn a:hover{
          text-decoration: none;
        }
        .fancybox-nav span {

          width: 40px;
          height: 40px;
          cursor: pointer;
          z-index: 8040;
          border-radius: 5px;
          border: 1px solid #fdfdfd;
          display: block;
          line-height: 40px;
          font-size: 20px;
        }
        .button-open{
          margin-bottom: 55px;
        }

        .btn-primary {
            /* color: #ffffff; */
            background-color: #4370b7;
            border-color: #4370b7;
            font-size: 25px;
        }
        .btn {
            display: inline-block;
            font-weight: 700;
            text-align: center;
            vertical-align: middle;
            cursor: pointer;
            background-image: none;
            border: 1px solid transparent;
            white-space: nowrap;
            padding: 13px 44px;
            font-size: 16px;
            line-height: 1.57143;
            border-radius: 50px;
        }
        .btn-primary:hover {
            background-color: #011b36;
            border-color: #011b36;
        }
        .thumbnail-type-2:hover span{
            color: #ffffff;
        }
        .thumbnail-type-2:hover i{
            color: #ffffff;
        }
        .comandos {
          margin-bottom: 20px
        }
        .ui_caption {
            text-align: center;
            position: relative;
            color: #ffffff;
            font-size: 20px;
            /*background: #000000;*/
            top: 7%;
            padding-top: 5px;
            padding-bottom: 5px;
        }
        .ui_caption div{
          background: #000000;
            width: auto;
            display: inline-block;
            font-weight: bold;
            padding: 5px 10px 5px 10px;
            border-radius: 10px;
            min-width: 150px;
            top: -60px;
        }
        .proyect_home {
            border: 6px solid #659A40 !important;
        }
        .caption h6.title {
            font-size: 1.6rem;
        }
        @media only screen and (max-width: 767px){
           .thumbnail-type-2 img {
              /*max-width: 85%;*/
            }
            #gallery2 .btn-button span{
                margin-top: 10px;
            }
             .thumbnail-type-2 .caption {
              /*max-width: 85%;*/
            }
           .thumbnail-type-2{
            width: 100%;
           }
           .thumbnail-type-2.fancybox span.overlay{
            width: 100%;
            padding-top: 120px;
           }

           .pagination li, #container {
            margin: 0px auto;
           }

        }