/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* custom modula gallery css */
.modula-gallery-card {
    background-color: transparent;
    color: #000;
    width: 100%;
    position: relative;
}

.fancybox-container {
    display: none;
}

.gallery-image-cards-row {
    max-width: 1200px;
    margin: 0 auto;
}
img.pic.gallery-image {
    /* cursor: context-menu; */
}
.gallery-images-pagination {
    margin: 0 auto;
    text-align: center;
}
.gallery-images-pagination span.gallery-page-numbers {

    border: 1px solid #d2d2d2;
    color: #000;
    padding: 7px 10px;
    display: inline-block;
    margin: -1px;
    cursor: pointer;
    height: 37px;
    font-size: 13px;
   
}
.gallery-images-wrapper {
    margin: 0px auto !important;
    width: 100%;
    max-width: 100% !important;
    text-align: center;
}
.gallery-images-pagination span.gallery-page-numbers.active {
    background: #000000;
    color: #fff;
}
.modula-gallery-image-continer {
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.modula-gallery-image-continer img {
    transition: 0.5s all ease-in-out;
    width: 100%;
}
.modula-gallery-image-continer:hover img {
    transform: scale(1.12);
}
/* .modula-gallery-content .description{
      line-height: 32px;
  } */
.gallery-images-wrapper {
    padding: 40px 0;
}

.gallery-images-pagination a {
    border: 1px solid #d2d2d2;
    color: #000 !important;
    padding: 7px 10px;
    cursor: pointer;
    position: relative;
    top: 1px;
}

.modula-gallery-content {
    position: absolute;
    bottom: 0px;
    text-align: center;
    text-shadow: 1px 1px #000;
    width: 100%;
    height: auto;
    margin: 0 auto;
    background: #00000090;
    color: #fff;
    transition: 0.5s all;
    line-height: 1;
    padding: 5px 0 10px;
}
.modula-gallery-card.active .modula-gallery-content {
    background: #000000a3;
}

form#gallery_settings_form {
    padding: 30px 0 !important;
}
form#gallery_settings_form div.row {
    margin: 30px 0;
}
input#gallery_shortcode_input {
    border: 1px solid #aba8a8;
    color: #000;
}

form#gallery_settings_form input {
    z-index: 2;
    width: 106px !important;
    padding: 6px 12px;
    border: 1px solid #ccc;
    margin-left: 9px;
}
form#gallery_settings_form .suffix input {
    border-radius: 4px 0px 0px 4px;
}
form#gallery_settings_form .suffix .input-group-addon {
    border-left: 0;
    border-radius: 0px 4px 4px 0px;
    margin-left: -5px;
}
form#gallery_settings_form .input-group-addon .suffix {
    border-radius: 0px 4px 4px 0px;
    border-left: 0;
}
form#gallery_settings_form .input-group {
    position: relative;
    border-collapse: separate;
}
form#gallery_settings_form .input-group-addon {
    padding: 12px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    width: 1%;
    white-space: nowrap;
}

form#gallery_settings_form label.field_title {
    font-size: 16px;
    font-weight: 600;
    margin-right: 30px;
}

/* custom gallery end */

/*
   CSS for the main interaction
  */
form#gallery_settings_form .tabset > input[type="radio"] {
    position: absolute;
    left: -200vw;
}

form#gallery_settings_form .tabset .tab-panel {
    display: none;
}

form#gallery_settings_form .tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
form#gallery_settings_form .tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
form#gallery_settings_form .tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
form#gallery_settings_form .tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
form#gallery_settings_form .tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
form#gallery_settings_form .tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
  display: block;
}

/*
   Styling
  */
form#gallery_settings_form {
    font: 16px/1.5em "Overpass", "Open Sans", Helvetica, sans-serif;
    color: #333;
    font-weight: 300;
}

form#gallery_settings_form .tabset > label {
    position: relative;
    display: inline-block;
    padding: 15px 15px 25px;
    border: 1px solid transparent;
    border-bottom: 0;
    cursor: pointer;
    font-weight: 600;
}

form#gallery_settings_form .tabset > label::after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: 10px;
    width: 22px;
    height: 4px;
    background: #8d8d8d;
}

form#gallery_settings_form .tabset > label:hover,
form#gallery_settings_form .tabset > input:focus + label {
    color: #06c;
}

form#gallery_settings_form .tabset > label:hover::after,
form#gallery_settings_form .tabset > input:focus + label::after,
form#gallery_settings_form .tabset > input:checked + label::after {
    background: #06c;
}

form#gallery_settings_form .tabset > input:checked + label {
    border-color: #ccc;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}

form#gallery_settings_form .tab-panel {
    padding: 30px 0;
    border-top: 1px solid #ccc;
}
.modula-gallery-content span.description {
    font-weight: bold;
}
/*
   Demo purposes only
*/
form#gallery_settings_form *,
form#gallery_settings_form *:before,
form#gallery_settings_form *:after {
    box-sizing: border-box;
}

form#gallery_settings_form {
    padding: 30px;
}

form#gallery_settings_form .tabset {
    max-width: 65em;
}

#column_type {
    margin-left: 100px;
    width: 150px;
}

.gutters {
    margin-left: 120px !important;
}

#row_type {
    margin-left: 127px;
    width: 148px;
}

#title_font_size {
    width: 10% !important;
    margin-left: 73px !important;
}

.how_to_use_steps_wrapper span.step_highlight {
    background: #e6e949;
    padding: 5px 10px;
}
.how_to_use_steps_wrapper img {
    height: 145px;
}

a#gallery_image {
    height: 370px !important;
    overflow: hidden;
    clear: both;
    float: left;
    width:100%;
}

a#gallery_image img{

    height: 100%;
    object-fit: cover;
}
/* Screen larger than 600px? 2 column */

@media (max-width: 992px) {
    .gallery-image-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

}
@media (max-width: 600px) {
    .gallery-image-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .modula-gallery-card {
        height: unset !important;
    }
    
   .gallery-images-wrapper {
       padding: 0px;
    }

    .gallery-images-pagination {
        margin-bottom: 20px;
    }
    .gallery-images-pagination-bottom{
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    a#gallery_image {
        height: 316px !important;
        width:100%;
    }

    .gallery-images-pagination span.gallery-page-numbers {
        border: 1px solid #d2d2d2;
        color: #000;
        padding: 6px 10px;
        display: inline-block;
        margin: -1px;
        cursor: pointer;
        /* height: 35px; */
        font-size: 10px;
    }
    
    .gallery-images-pagination a {
        border: 1px solid #d2d2d2;
        color: #000 !important;
        padding: 7px 10px;
        cursor: pointer;
        position: relative;
        top: 6px;
    }
}

@media (max-width: 414px) {
    a#gallery_image {
        height: 269px !important;
        width:100%;
    }
    .gallery-images-pagination span.gallery-page-numbers {
        border: 1px solid #d2d2d2;
        color: #000;
        padding: 6px 10px;
        display: inline-block;
        margin: -1px;
        cursor: pointer;
        /* height: 35px; */
        font-size: 10px;
    }
    
    .gallery-images-pagination a {
        border: 1px solid #d2d2d2;
        color: #000 !important;
        padding: 7px 10px;
        cursor: pointer;
        position: relative;
        top: 6px;
    }
}

