/*!
Theme Name: Vertex Compliance
Theme URI: https://them.es/starter
Author: Veteranlogix
Author URI: https://veteranlogix.com
Description: 
Version: 3.7.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: vertex-compliance
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
   margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
   display: block;
   margin: 5px auto 5px auto;
}

.alignright {
   float: right;
   margin: 5px 0 20px 20px;
}

.alignleft {
   float: left;
   margin: 5px 20px 20px 0;
}

a img.alignright {
   float: right;
   margin: 5px 0 20px 20px;
}

a img.alignnone {
   margin: 5px 20px 20px 0;
}

a img.alignleft {
   float: left;
   margin: 5px 20px 20px 0;
}

a img.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.wp-caption {
   max-width: 96%; /* Image does not overflow the content area */
   padding: 5px 3px 10px;
   text-align: center;
}
.wp-caption.alignnone {
   margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
   margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
   margin: 5px 0 20px 20px;
}
.wp-caption img {
   border: 0 none;
   height: auto;
   margin: 0;
   max-width: 98.5%;
   padding: 0;
   width: auto;
}
.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   margin: 0;
   padding: 0 4px 5px;
}

.gallery-item {
   display: inline-block;
   text-align: left;
   vertical-align: top;
   width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
   -webkit-box-shadow: none;
   box-shadow: none;
   background: none;
   display: inline-block;
   max-width: 100%;
}

.gallery-item a img {
   display: block;
   -webkit-transition: -webkit-filter 0.2s ease-in;
   transition: -webkit-filter 0.2s ease-in;
   transition: filter 0.2s ease-in;
   transition:
      filter 0.2s ease-in,
      -webkit-filter 0.2s ease-in;
   -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
   -webkit-filter: opacity(60%);
   filter: opacity(60%);
}

.gallery-caption {
   display: block;
   text-align: left;
   padding: 0 10px 0 0;
   margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
   max-width: 100%;
}

.gallery-columns-2 .gallery-item {
   max-width: 50%;
}

.gallery-columns-3 .gallery-item {
   max-width: 33%;
}

.gallery-columns-4 .gallery-item {
   max-width: 25%;
}

.gallery-columns-5 .gallery-item {
   max-width: 20%;
}

.gallery-columns-6 .gallery-item {
   max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
   max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
   max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
   max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
   display: none;
}

.bypostauthor {
   font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
   clip: rect(1px, 1px, 1px, 1px);
   position: absolute !important;
   height: 1px;
   width: 1px;
   overflow: hidden;
}

.screen-reader-text:focus {
   background-color: #f1f1f1;
   border-radius: 3px;
   box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
   clip: auto !important;
   color: #21759b;
   display: block;
   font-size: 14px;
   font-size: 0.875rem;
   font-weight: bold;
   height: auto;
   left: 5px;
   line-height: normal;
   padding: 15px 23px 14px;
   text-decoration: none;
   top: 5px;
   width: auto;
   z-index: 100000; /* Above WP toolbar. */
}


/* Custom CSS */
body.single-guides-checklist main{
   background-color: white;
}
.text-theme{
   color: #5c34d1 !important;
}
.bg-theme{
   color: #5c34d1 !important;
}
.btn-theme{
   background-color: #5c34d1 !important;
   color: white !important;
}
#form-pdf{
   background-color: #f7f6fa;
}
#send-pdf-form input, #send-pdf-form button{
   border-radius: 0px !important;
}
.hr-line{
   border: 1px solid #5c34d1;
   width: 30%;
   display: inline-block;
}
#sidebarEnquiryForm .wpcf7-response-output{
   color: #222 !important;
}

.post-card-wrapper h4.text-guides-checklist{
   background-color: #001e3973;
   padding: 0.5rem;
}

/* Contact Modal Footer */
/* ==============================
   Contact Modal
   ============================== */

.contact-modal {
    position: relative;
    border: 0;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 10;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #26384d;
    font-size: 32px;
    font-weight: 300;
    line-height: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-modal-close:hover {
    color: #0645a5;
    transform: scale(1.05);
}
.contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    color: #0645a5;
    font-size: 48px;
}



/* Keeps the form separated from the heading */
.contact-modal .wpcf7 {
    margin-top: 5px;
}

@media (max-width: 767.98px) {
   .contact-modal-close {
        top: 12px;
        right: 12px;
    }

   .contact-icon i {
        width: 54px;
        height: 54px;
        font-size: 40px;
    }

}

#contactModal .input-group .wpcf7-form-control-wrap {
    flex: 1 1 auto;
    width: 1%;
}

#contactModal .input-group .form-control {
    width: 100%;
}

#contactModal .input-group .wpcf7-form-control-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

#contactModal .input-group .wpcf7-not-valid-tip {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}

#contactModal .input-group .wpcf7-form-control-wrap {
    position: relative;
}

.bg-light-yellow{
   background-color: #fdf8eb;
}

.search-form-header{
   border-bottom: 1px solid #555;
}
.search-field {
    height: 20px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    color: #222;
    
}

.search-field::placeholder {
   color: #555;
   opacity: 1;
}

.search-submit-field {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit-field:hover {
    background: transparent;
}

.pagination .page-numbers{
   margin: 0 10px;
   font-size: 16px;
}

.search-results .post-card-wrapper img{
   filter : brightness(0.65);
}