/*
Template Name:agricultural
File: Layout CSS
Author: Templates On Web
Author URI: http://templateonweb.com/
Licence: <a href="http://www.templateonweb.com/terms.php?v=content&contentid=152">Website Template Licence</a>
*/



/********************* gallery_main ****************/
#gallery_main{ 
 background-image: url(../img/1011.jpg);
 background-repeat: no-repeat;
 background-size: cover;
 background-attachment: fixed;
 }
.gallery_main_3{ 
 padding-top:150px;
 padding-bottom:150px;
 background-color: rgb(31 43 59 / 56%);
 }
.gallery_main_2 ul{ 
 text-align:right;
 padding-top:15px;
 }
.gallery_main_2 li{ 
 display: inline;
 padding-right: 10px;
 color: #fff;
 font-size: 20px;
 }
.gallery_main_2 h2{ 
 color:#fff;
 }
/********************* gallery_main_end ****************/
/********************* gallery ****************/
#gallery{ 
 padding-top:50px;
 padding-bottom:50px;
 }
.gallery_5{ 
 text-align:center;
 padding-top: 30px;
 }
/********************* gallery_end ****************/







@media screen and (max-width : 767px){
.gallery_main_3 {
 padding-top: 50px;
 padding-bottom: 50px;
}
#gallery_main {
 background-attachment: inherit;
 text-align: center;
}
.gallery_main_2 ul {
 text-align: center;
}
}

@media (min-width:470px) and (max-width:767px) { 

}
 
@media (min-width:768px) and (max-width:960px) { 

} 

 
@media (min-width:961px) and (max-width:1200px) {

}

@media (min-width:1201px) and (max-width:1320px) {

}

.modal {
    display: none; /* Hide the modal by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 50px; /* Location of the modal 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 */
.modal-content {
    margin: auto;
    display: block;
    width: auto; /* Set width to auto to fit image size */
    max-width: 90%; /* Limit maximum width */
    max-height: 90vh; /* Limit maximum height */
}

/* 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;
}

/* Previous and Next Arrows */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the Previous Arrow */
.prev {
    left: 0;
}

/* Position the Next Arrow */
.next {
    right: 0;
}
