.isotope-box, #container {
        width: 100%;
      }

      .isotope-box{ visibility: hidden; }

      .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 {
        overflow: visible;
        -webkit-transition-property: -webkit-transform, opacity;
        -moz-transition-property: -moz-transform, opacity;
        -ms-transition-property: -ms-transform, opacity;
        -o-transition-property: top, left, 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;
      }
      /* End: Recommended Isotope styles */
      /* 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;
      }

      .isotope-box figure a img{
        width: 300px;
        height: 200px;
      }

      .pagination li{
        display: inline-block;
        list-style: none;
        margin-right: 10px;
      }

      .pagination li a {
        height: 60px;
        width: 200px;
        line-height: 60px;
        display: inline-block;
        background: #fff;
        /* background: #173e76; */
        color: #000;
        font-weight: 600;
        /* border: 1px solid; */
        padding: 0 30px;
        position: relative;
        font-size: 15px;
        border-radius: 1rem;
        z-index: 3;
        text-align: center;
      }
      .pagination li a:hover {
        background: #173e76 !important;
      }

      .pagination li a.selected {
        background: #173e76;
        color: #F6DE00;
        color: white;
        text-shadow: 0px 0px 2px #2d2f2e;
        border: 1px solid #009A61;
      }

      .pagination li a:hover {
        background: #173e76;
      }

      #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: #1e1e1e;
            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: 100%;
            height: 100%;
            text-align: center;
            padding-top: 75px;
            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: #4569a6 !important;
            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 !important;
          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;
        }
        .border {
            /*border: 6px solid #1f4a77 !important;*/
          border-radius: 8px;
        }
        a.thumbnail-type-2.fancybox-photos {
            width: 636px;
            height: auto;
        }
        h4.title-video {
            position: relative;
            top: -40px;
            left: 10px;
            font-size: 18px;
            color: #fff;
        }
        a.thumbnail-type-2.fancybox-videos {
          margin-bottom: 0px !important;
          overflow: hidden;
        }
        /* .thumbnail-type-2.fancybox-videos span {
          height: 95% !important;
        } */

        a.thumbnail-type-2.fancybox-videos video{
          object-fit: cover;
          width: 100%;
        }

        div#options {
            text-align: center;
            position: relative;
            margin: auto 35%;
            display: flex;
            justify-content: center;
        }
        @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;
           }
           div#options {
            margin: auto !important;
           }
        }