.main_gallery {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    padding: 0 4px;
    position: relative;
  }
  .main_gallery > .btn_show_more{
    position: absolute;
    bottom: 10px;
    right: 18px;
    background: #FFFFFF;
    color: #000000;
    border: 2px solid black;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  .main_gallery > .column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    
  }
  .main_gallery > .main_img > .column_img{
    padding: 0 2px 0 2px;
  }
  .main_gallery > .column > .column_img_top{
    padding: 0px 4px 3px;
  }
  .main_gallery > .column > .column_img_bottom{
    padding: 4px 4px 0px;
  }
  .main_gallery > .column img {
    vertical-align: middle;
    width: 100%;
  }
 .main_gallery > .column img:hover{
    opacity: 0.6;
  }
  .main_gallery > .main_img{
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
    padding: 0 0px;
  }
  .main_gallery > .main_img img{
    vertical-align: middle;
    width: 100%;
  }
.main_gallery > .main_img img:hover{
    opacity: 0.6;
  }
  .main_gallery .gallery_img, .scroll_gallery .gallery_img{
    border-radius: 5px;
    cursor: pointer;
  }
  
  .scroll_gallery{
    display: none;
    position: fixed;
    padding-top: 30px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #FFFFFF;
    z-index: 99;
  }
  .scroll_gallery .close{
    position: fixed;
    top: 50px;
    right: 35px;
    color: #c80101;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  .scroll_gallery .close:hover, .scroll_gallery .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  .scroll_gallery .content {
    margin: auto;
    display: block;
    width: 80%;
  }
  .scroll_gallery .content .row{
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    justify-content: center;
  }
  .scroll_gallery .content .row > .column {
    -ms-flex: 33.33%; /* IE10 */
    flex: 33.33%;
    max-width: 31%;
    padding: 0 4px;
  }
  .scroll_gallery .content .row > .column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
  }
  
  .carousal_gallery{
      width: 100%;
      height: 100vh;
      background-color: #000;
      position: relative;
      display: none;
      z-index: 999;
      position:fixed;
      top:0;
  }
  .carousal_gallery .close{
    position: absolute;
    top: 15px;
    right: 35px;
    color: #c80101;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 9999;
  }
  .carousal_gallery .close:hover, .carousal_gallery .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  .carousal_gallery .slide{
      width: 100%;
      height: 100vh;
      position: absolute;
      top: 0;
      left: 0;
      transition: all 0.5s ease-in-out;
      display: none;
      justify-content: center;
      align-items: center;
  }
  .carousal_gallery .slide.active{
      display: flex;
  }
  .carousal_gallery .slide .slide_content{
      width: auto;
      height: auto;
	  max-height: 100vh;
	  max-width: 100%;
      position: relative;
  }
  .carousal_gallery .slide .slide_content img{
      max-width: 100%;
      height: auto;
	  max-height: 100vh;
      display: block;
      margin: 0 auto;
  }
  .carousal_gallery .slide .slide_content .number_counter{
      position: absolute;
      top: 30px;
      left: 10px;
      color: #fff;
      font-size: 18px;
      background: #a6a6a6;
      border-radius: 4px;
      padding: 4px 8px;
  }
  .carousal_gallery .slide .slide_content .caption{
      position: absolute;
      bottom: 30px;
      right: 10px;
      color: #fff;
      font-size: 20px;
      font-weight: bold;
      background: #a6a6a6;
      border-radius: 4px;
      padding: 4px 8px;
  }
  .carousal_gallery .next_btn, .carousal_gallery .prev_btn{
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 50px;
      height: 50px;
      background-color: #fff;
      color: #000;
      font-size: 30px;
      font-weight: bold;
      text-align: center;
      line-height: 50px;
      cursor: pointer;
  }
  .carousal_gallery .next_btn{
      right: 0;
  }
  .carousal_gallery .prev_btn{
      left: 0;
  }

  .youtube_video{
    width: 100%;
    height: auto;
    min-height: 480px;
  }
  @media screen  and (max-width: 900px){
    .scroll_gallery .content .row > .column {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 48%;
      padding: 0 4px;
    }
    .youtube_video{
      min-height: 380px;
    }
  }
  @media screen and (max-width: 600px) {
    .main_gallery .main_img {
      -ms-flex: 100%;
      flex: 100%;
      max-width: 100%;
    }
    .main_gallery .column {
      display: none;
    }
    .scroll_gallery .content .row > .column {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 46%;
    }
    .scroll_gallery .content {
      width: 100%;
    }
    .carousal_gallery .slide .slide_content .number_counter{
        font-size: 10px;
    }
    .carousal_gallery .slide .slide_content .caption{
        font-size: 14px;
    }
    .carousal_gallery .next_btn, .carousal_gallery .prev_btn{
        width: 30px;
        height: 30px;
        font-size: 20px;
        line-height: 30px;
    }
    .carousal_gallery .next_btn img, .carousal_gallery .prev_btn img{
        width: 30px;
        height: 30px;
    }
    .carousal_gallery .slide .slide_content img{
           width: 100%;
    	height: 100%;
    }
    .youtube_video{
      min-height: 300px;
    }
  .scroll_gallery .close{
    top: -5px;
  	}	  
  }

