#banner_bannermade {
    padding: 8rem;
}

.txt_heaadbannerfream p {
    font-size: 35px;
    color: white;
    text-align: center;
    font-weight: 500;
}

#sec_monkfream {
    padding: 4rem;
}

.head_monkfream p {
    font-size: 35px;
    color: #bf1f2f;
    font-weight: 600;
    text-align: center;
}

.text_detailfream p {
    font-size: 1.2rem;
    color: #6B6969;
}

.head_porttext {
    font-size: 35px;
    color: #6B6969;
}

.head_porttext2 {
    font-size: 24px;
    color: #6B6969;
}

hr.line {
  border-top: 2px solid #997D33;
  margin-top: -0.5rem;
}



.txt_redheadtxt {
    color: #bf1f2f;
    font-size: 26px;
    font-weight: 500;
}







.grid-container {
    display: grid;
    grid-template-columns: auto auto auto;
    width: 1098px;
    margin: 0 auto;
    margin-bottom: 100px;
}

.grid-item {
    /*padding: 30%;*/
    height: 350px;
    /*width: 91.5%;*/
    width: 350px;
    font-size: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2%;
    overflow:hidden;
    border: white solid 0.1px; /* Change bordercolor grid-items here */
}

#empty{
    border: none;
}

.galleryImage{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.text {
    color: black;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 27%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

img {
    pointer-events: none;
}



/*
################
MODAL
################
*/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 27%;
    transform: translate(-50%, -56%);
    width: 70%;
    height: unset;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/*
################
MEDIAQUERIES
################
*/

/*mobile*/
@media only screen and (max-width: 860px){
    .grid-container {
        grid-template-columns: auto;
        width: 100%;
    }

.grid-item {
    height: 300px;
    width: 300px;
    /* border: none; */
    /* border: #232323 solid 1px; */
}

    .galleryImage{
        object-fit: cover;
    }

    h2{
        margin: 4% 3.5% 0 4.5%;
    }

    #empty{
        display: none;
    }

}

/*tablet*/
@media only screen and (min-width: 861px) and (max-width: 1120px) {
    .grid-container {
        grid-template-columns: auto auto;
        width: 733px;
    }

    #empty{
        display: none;
    }
}

@media only screen and (min-width: 1120px) and (max-width: 1400px) {
    .grid-container {
        grid-template-columns: auto auto auto;
    }

    .grid-container > #empty ~ #empty{
        display: none;
    }
}




/*---- start tab ----*/

#sec_monkfream .w3-black, .w3-hover-black {
    color: #bf1f2f !important;
    background-color: #fff!important;
}

.w3-bar .w3-bar-item {
    padding: 8px 28px;
    float: left;
    width: auto;
    font-size: 23px;
    font-weight: 500;
    border: none;
    display: block;
    outline: 0;
}

.w3-bar {
    margin-left: 9rem;
    width: 18% !important;
    overflow: hidden;
}


/*---- end tab ----*/





/*ZoomIn Hover Effect*/
    .hover-zoomin a {
      display: block;
      position: relative;
      overflow: hidden;
    }
    .hover-zoomin img {
      width: 100%;
      height: auto;
      -webkit-transition: all 0.5s ease-in-out;
      -moz-transition: all 0.5s ease-in-out;
      -o-transition: all 0.5s ease-in-out;
      -ms-transition: all 0.5s ease-in-out;
      transition: all 0.5s ease-in-out;
    }
    .hover-zoomin:hover img {
      -webkit-transform: scale(1.2);
      -moz-transform: scale(1.2);
      -o-transform: scale(1.2);
      -ms-transform: scale(1.2);
      transform: scale(1.2);
    }


    /* Hover Zoomout */
    .hover-zoomout a {
      display: block;
      position: relative;
      overflow: hidden;
    }
    .hover-zoomout img {
      width: 100%;
      height: auto;
      -webkit-transition: all 0.5s ease-in-out;
      -moz-transition: all 0.5s ease-in-out;
      -o-transition: all 0.5s ease-in-out;
      -ms-transition: all 0.5s ease-in-out;
      transition: all 0.5s ease-in-out;
      -webkit-transform: scale(1.2);
      -moz-transform: scale(1.2);
      -o-transform: scale(1.2);
      -ms-transform: scale(1.2);
      transform: scale(1.2);
    }
    .hover-zoomout:hover img {
      -webkit-transform: scale(1);
      -moz-transform: scale(1);
      -o-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
    }




/*----- open img -----*/

.gallery {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
-webkit-column-gap: 10px;
-moz-column-gap: 10px;
column-gap: 10px;
margin-top: 10px;
overflow: hidden;
}

.gallery img {
width: 100%;
height: auto;
transition: 500ms;
margin-bottom: 10px;
opacity: 0.8;
page-break-inside: avoid; /* For Firefox. */
-webkit-column-break-inside: avoid; /* For Chrome & friends. */
break-inside: avoid; /* For standard browsers like IE. :-) */
}

.gallery img:hover {
opacity: 1;
}

/* .modal {
display: flex;
align-items: center;
justify-content: center;
flex-direction: center;
} */

.modal-img,.model-vid{
margin: 0;
padding: 0;
width: 100%;
height: 100%;
display: table
}
.modal-body{
padding: 0px;
}

.modal-dialog {
height: 100%;
position: relative;
margin: auto;
display: flex;
align-items: center;
justify-content: center;
}

.modal-content {
border: none;
}

@media screen and (max-width: 767px) {
.gallery {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
.gallery div { margin: 0;
width: 200px;
}
.modal-dialog {
margin: 0 8vw;
}
}

@media screen and (max-width: 479px) {
.gallery {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
.gallery div {
margin: 0;
width: 200px;
}
}

/*----- open img -----*/



















/*-----------------------------------------
    RESPONSIVE
-------------------------------------------*/

@media screen and (min-width:320px) and (max-width:460px) {

#banner_bannermade {
    padding: 2rem;
}

.txt_heaadbannerfream p {
    font-size: 24px;
    color: white;
    text-align: center;
    font-weight: 500;
}

.head_monkfream p {
    font-size: 24px;
    color: #bf1f2f;
    font-weight: 600;
    text-align: center;
}

#sec_monkfream {
    padding: 1rem;
}

.text_detailfream p {
    font-size: 13px;
    color: #6B6969;
}

.head_porttext {
    font-size: 20px;
    color: #6B6969;
    margin-top: -1rem;
}

.w3-bar {
    margin-left: 1rem;
    width: 61% !important;
    overflow: hidden;
}

.w3-button:hover {
    color: #000!important;
    background-color: #ccc!important;
}

.w3-bar .w3-bar-item {
    padding: 8px 28px;
    float: left;
    width: auto;
    font-size: 18px;
    font-weight: 500;
    border: none;
    display: block;
    outline: 0;
}

.head_porttext2 {
    font-size: 18px;
    color: #6B6969;
}



}


@media screen and (min-width:461px) and (max-width:767px) {

    #banner_bannermade {
    padding: 2rem;
}

.txt_heaadbannerfream p {
    font-size: 24px;
    color: white;
    text-align: center;
    font-weight: 500;
}

.head_monkfream p {
    font-size: 24px;
    color: #bf1f2f;
    font-weight: 600;
    text-align: center;
}

#sec_monkfream {
    padding: 1rem;
}

.text_detailfream p {
    font-size: 13px;
    color: #6B6969;
}

.head_porttext {
    font-size: 24px;
    color: #6B6969;
    margin-top: -1rem;
}

.w3-bar {
    margin-left: 1rem;
    width: 61% !important;
    overflow: hidden;
}

.w3-button:hover {
    color: #000!important;
    background-color: #ccc!important;
}

.w3-bar .w3-bar-item {
    padding: 8px 28px;
    float: left;
    width: auto;
    font-size: 18px;
    font-weight: 500;
    border: none;
    display: block;
    outline: 0;
}

.head_porttext2 {
    font-size: 18px;
    color: #6B6969;
}


}


@media screen and (min-width:768px) and (max-width:1024px) {


#banner_bannermade {
    padding: 2rem;
}

.txt_heaadbannerfream p {
    font-size: 24px;
    color: white;
    text-align: center;
    font-weight: 500;
}

.head_monkfream p {
    font-size: 24px;
    color: #bf1f2f;
    font-weight: 600;
    text-align: center;
}

#sec_monkfream {
    padding: 1rem;
}

.text_detailfream p {
    font-size: 13px;
    color: #6B6969;
}

.head_porttext {
    font-size: 20px;
    color: #6B6969;
    margin-top: -1rem;
}

.w3-bar {
    margin-left: 4rem;
    width: 30% !important;
    overflow: hidden;
}

.w3-button:hover {
    color: #000!important;
    background-color: #ccc!important;
}

.w3-bar .w3-bar-item {
    padding: 8px 28px;
    float: left;
    width: auto;
    font-size: 18px;
    font-weight: 500;
    border: none;
    display: block;
    outline: 0;
}

.head_porttext2 {
    font-size: 18px;
    color: #6B6969;
}



}

