/*
Theme Name: louisjguerra
Theme URI:
Description: Arson/Accelerant Detection Dogs,Drug Detection Searches,Explosive Detection Searches
Authour: Rags ReBrandGurus
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gammamu
*/

/* Reset some default styles */

/* Typography */
body {}

h1,
h2,
h3 {
    /*font-family: 'Helvetica', sans-serif;*/
    font-weight: bold;
    color: #555;
    font-weight: 900;
}

.img-250 img {
    min-height: 250px;
    object-fit: fill;
}

.img-300 img {
    min-height: 300px;
    object-fit: fill;
}

.img-h400 img {
    height: 400px !important;
    width: auto;
}


ul.text-dark li a:hover {
    color: #fe0000 !important;
}

.sticky-menu ul.text-dark li a {
    color: rgb(255, 255, 255) !important;
}

.sub-menu li.menu-item a{color:#000 !important;}
.tg-element-title h2 {
    font-weight: 900;
}


.gallery {
    max-width: 1400px;
    margin: auto;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.gallery .title {
    width: 100%;
    margin: 0.5em;
    text-align: center;


}

.gallery .title h1 {
    width: 70%;
    margin: 3% auto;
    color: #000;
    font-family: Megrim;
    font-size: 48px;
    font-weight: 500;
    line-height: 1em;
}

@media (max-width: 768px) {
    .gallery .title {
        background-position: -15px -30px;
    }

    .gallery .title h1 {
        font-size: 70px;
        margin: 3% 20% 3% auto;
    }
}

@media (max-width: 420px) {
    .gallery .title {
        background-position: -50px 0px;
    }

    .gallery .title h1 {
        font-size: 60px;
        margin: 3% 15% 3% auto;
        width: 70%;
    }
}

.gallery .thumbnail {
    box-sizing: border-box;
    width: 300px;
    margin: 0.5em;
    flex-grow: 1;
    flex-shrink: 1;
    background: #131013;
    position: relative;
}

.gallery .thumbnail a {
    box-sizing: inherit;
}

.gallery .thumbnail a::before,
.gallery .thumbnail a::after {
    box-sizing: inherit;
    content: "";
    position: absolute;
    width: 0;
    height: 0;
}

.gallery .thumbnail img {
    width: 100%;
    height: 350px;
    -o-object-fit: cover;
    object-fit: cover;
    vertical-align: bottom;
}

@media (max-width: 768px) {
    .gallery .thumbnail img {
        height: 300px;
    }
}

.bigger {
    width: 400px;
}

/*ANIMATIONS*/
.gallery .thumbnail a img[data-src] {
    opacity: 0;
}

.gallery .thumbnail a img {
    opacity: 1;
    transition: opacity 1.2s;
}

.gallery .thumbnail a::before,
.gallery .thumbnail a::after {
    border: 2px solid transparent;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
}

.gallery .thumbnail a:hover::before,
.gallery .thumbnail a:hover::after {
    width: 100%;
    height: 100%;
}

.gallery .thumbnail a:hover::before {
    border-top-color: rgba(240, 255, 240, 0.8);
    border-right-color: rgba(240, 255, 240, 0.8);
    transition: width 0.2s ease-in-out, height 0.2s ease-in-out 0.2s;
}

.gallery .thumbnail a:hover::after {
    border-bottom-color: rgba(240, 255, 240, 0.8);
    border-left-color: rgba(240, 255, 240, 0.8);
    transition: height 0.2s ease-in-out, width 0.2s ease-in-out 0.2s;
}

#lightcase-overlay {
    background-color: #121012;
}

figure.photo-thumb {
    height: 175px;
    overflow: hidden;
}

/*----------------------*/
.card-tal-con {
    padding: 25px;
    box-shadow: 0px 1px 10px #999;
}
h5.gallery-title {
    height: 115px;
    margin-bottom: 25px;
    overflow: hidden;
}
/* Form Css ---*/
.contact-form .wpcf7-list-item,.contact-form .ekit-wid-con .ekit-form form label{ width: 100%; }
.contact-form .wpcf7-list-item input[type="checkbox"],.contact-form .wpcf7-list-item input[type="radio"] {
    display: inline-block !important;border: 5px solid #000; background-color: #000; width: 20px !important; height: 20px !important; float: left; margin-right: 15px;
}
.rd-wd-20 span.wpcf7-list-item.first, .rd-wd-20 span.wpcf7-list-item.last {width: 20%;}