/* 
 Theme Name:   Barnimages Elementor
 Theme URI:    
 Description:  
 Author:       Barnimages
 Author URI:   https://barnimages.com
 Template:     hello-elementor
 Version:      1.7.3
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/



/* clears the ‘X’ from Internet Explorer */
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
/* clears the ‘X’ from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

/* links style start */
body.page p a,
body.single-post article.post .inside-article p a,
body.single-post article.post .inside-article li a,
.elementor-widget-text-editor a, .elementor-accordion .elementor-accordion-item p a,
body.single-post .elementor-widget-theme-post-content p a,
body.single-post .elementor-widget-theme-post-content li a{
    text-decoration: none!important;
    border-bottom: solid 2px #d34e36!important;
}

body.page p a:hover,
body.single-post article.post .inside-article p a:hover,
body.single-post article.post .inside-article li a:hover,
.elementor-widget-text-editor a:hover, .elementor-accordion .elementor-accordion-item p a:hover,
body.single-post .elementor-widget-theme-post-content p a:hover,
body.single-post .elementor-widget-theme-post-content li a:hover{
    background-color: #d34e36!important;
    border-bottom: solid 2px #d34e36!important;
    transition:all .4s ease!important;
    color:#ffffff;
}

/* links style end */

/* image tag icon */

.single-format-image .download-image-tags .elementor-icon-list-icon {
    align-self:flex-start;
    padding-top: 5px;
}
.single-format-image .download-image-tags .elementor-post-info__terms-list a:hover {
    color:#d34e36 !important;
} 

/* istock start */

.istockrelated-images .elementor-shortcode{
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr; 
}
.elementor-shortcode div.istock-image-container{
   aspect-ratio: 3 / 2;
}

.elementor-shortcode div.istock-image-container img {
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center;
    vertical-align: top;
}

@media screen and (max-width: 480px) {
.istockrelated-images .elementor-shortcode{
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr; 
}
.istockrelated-images .elementor-shortcode .istock-image-container:last-child{
        display:none !important;
}
}


@media screen and (min-width: 481px) and (max-width: 767px) {
.istockrelated-images .elementor-shortcode{
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr 1fr; 
}
}


.istockrelated-images-search .elementor-shortcode {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    
}

  

@media screen and (max-width: 480px) {
    .istockrelated-images-search .elementor-shortcode {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
}
    
    body.single-post .elementor-shortcode .last-image-container {
  min-height: 118px;
}

}




@media screen and (min-width: 481px) and (max-width: 1024px) {
    .istockrelated-images-search .elementor-shortcode {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr 1fr;
}
}

#icode {
    background-color: #d34e36!important;
    transition:all .4s ease!important;
    color:#ffffff;
    padding: 0 2px 0;
    font-weight: 500;
    
}

.last-image-container {
    background-color: #ffffff;
    border:#000000 solid 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.last-image-link {
  text-decoration: none; border-bottom: solid 2px #d34e36;
}

.last-image-link:hover{
    background-color: #d34e36!important;
    border-bottom: solid 2px #d34e36!important;
    transition: all .4s ease!important;
    color: #ffffff;
}
    
/* istock end */

/* footer icons fix */
footer .elementor-widget-social-icons .elementor-social-icon {
    height: 32px;
    width: 32px;
}

/* image download button start*/

.image-download-button a {
    font-family: "Syne", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #ffffff !important;
    background-color: #000000;
    border-radius: 0px 0px 0px 0px;
    padding: 16px 40px 16px 40px;
    transition: all 0.3s;
    line-height: 1em;
}

.image-download-button a:hover
{
    color: var( --e-global-color-3676cf4 );
    background-color: var( --e-global-color-accent );
    border-color: var( --e-global-color-accent );
}
/* image download button end*/

/* search page start*/

@media screen and (max-width: 767px) {
body.search .pp-posts-empty {
    padding: 0 20px;
}}

body.search .pp-posts-empty .search-field {
    border-bottom: 1px solid #000000;
    border-style: solid !important;
    text-transform: uppercase;
}

body.search .pp-posts-empty .search-submit {
    margin-left: 20px;
}
/* search page end*/

/* form border fix */
header .elementor-search-form__input {
    border-left-width: 0px !important;
    border-right-width: 0px !important;
    border-top-width: 0px !important;
    border-bottom-width: 0px !important;
}

.home-search .elementor-search-form__input {
    border-left-width: 0px !important;
    border-right-width: 0px !important;
    border-top-width: 0px !important;
    border-bottom-width: 0px !important;
}

/* lightbox fix */
.dialog-lightbox-close-button.dialog-close-button {
    margin-top: -1px!important;
} 


/* menu fix

Button.#menu-toggle-113:hover {
background-color:#ffffff !mportant;
}

 
@media screen and (min-width: 768px) and (max-width: 972px) {
    .search-column {
    width: 300px !important;
    }
    
    .menu-column {
    width: calc(100% - 490px) !important;
}
}
*/
#elementor-search-form-6019f135 {border: none !important;}
/* blog gategory archive pages */
.blog-category-archives article.elementor-post {
    border:solid 1px #000000;
}

.blog-category-archives .elementor-post__text {
    padding: 20px 40px 40px;
}

body.archive.category h2.pp-post-title a:hover{
    color: #D34E36 !important;
}



/* mailerlite quick fix start */
#mlb2-1025818.ml-form-embedContainer .ml-form-embedWrapper {
    background-color: #ffffff !important;
}

#mlb2-1025818 > div > div > div.ml-form-embedBody.ml-form-embedBodyHorizontal.row-form > form > div.ml-form-formContent.horozintalForm > div > div.ml-button-horizontal > button.primary {
    font-family: "Syne", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    color: #ffffff !important !important;
    background-color: #000000 !important;
    border-radius: 0px 0px 0px 0px !important;
    padding: 14px 40px 14px 40px !important;
    transition: all 0.3s !important;
    line-height: 1em !important;
    width: auto !important;
}

#mlb2-1025818 > div > div > div.ml-form-embedBody.ml-form-embedBodyHorizontal.row-form > form > div.ml-form-formContent.horozintalForm > div > div.ml-button-horizontal > button.primary:hover
{
    color: #ffffff !important;
    background-color: #D34E36 !important;
    border-color: #D34E36 !important;
}

#mlb2-1025818 > div > div > div.ml-form-embedBody.ml-form-embedBodyHorizontal.row-form > form > div.ml-form-formContent.horozintalForm > div > div.ml-input-horizontal > div > div > input {
    height: 50px !important;
}

#mlb2-1025818 > div > div > div.ml-form-embedBody.ml-form-embedBodyHorizontal.row-form > form > div.ml-form-formContent.horozintalForm > div > div.ml-input-horizontal > div > div > input {
    border-left-width: 1px !important;
    border-right-width: 1px !important;
    border-top-width: 1px !important;
    border-bottom-width: 1px !important;
    border-color: #000000 !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}

#mlb2-1025818 > div > div > div.ml-form-embedBody.ml-form-embedBodyHorizontal.row-form > form > div.ml-form-formContent.horozintalForm > div > div.ml-input-horizontal > div {
    padding-right: 20px !important;
}

#mlb2-1025818 > div > div > div.ml-form-embedBody.ml-form-embedBodyHorizontal.row-form {
    padding: 0 0 0 0 !important;
}

/* mailerlite quick fix end */

/* hr in posts */
body.single-format-standard .elementor-widget-text-editor hr,
body.single-format-standard .elementor-widget-theme-post-content hr {
    margin: 40px 0 40px;
    border-top: 1px solid #000000;
}

/* cookie policy start */
#cmplz-document h2 {
    font-size: 32px !important;
    padding: 20px 0 10px !important;
}

#cmplz-document a {
    text-decoration: none!important;
    border-bottom: solid 2px #d34e36!important;
}

#cmplz-document a:hover {
    background-color: #d34e36!important;
    border-bottom: solid 2px #d34e36!important;
    transition:all .4s ease!important;
    color:#ffffff;
}


#cmplz-document p {
    font-size: 16px;
}

.cmplz-blocked-content-container .cmplz-blocked-content-notice {
    background-color: #000000;
    color: #ffffff;
    border: none;
    height: 70px !important;
    line-height: 18px;
    transition: all .3s !important;
}

/* cookie policy end */

/*share icon in posts */
@media screen and (max-width: 480px) {
    body.single-post .elementor-widget-share-buttons .elementor-grid-item {
        margin-right: 20px !important;
    }
}

/* contact page start */
.page-id-434 label.wpforms-field-label-inline {
    font-family: "Work Sans", Sans-serif !important;
    font-size: 16px !important;
    text-transform: none !important;
}

#wpforms-26294-field_3 {
    margin-top: 10px !important;
    padding-left: 0 !important;
}

#wpforms-form-26294 .wpforms-field-label {
    margin-bottom: 10px !important;
    font-weight: 500 !important;
}

.wpforms-container label.wpforms-error {
    color: #d34e36!important;
    font-size: 14px !important;
    margin-top: 10px !important;
    text-transform: none !important;
}

/* contact page end */

/* post style start */

body.single-post .elementor-widget-theme-post-content figcaption.wp-element-caption
{
    text-align: left !important;
    color: #757575 !important;
    font-family: "Work Sans", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    margin-top: 20px !important;
}

body.single-post .elementor-widget-theme-post-content figure.wp-block-image,
body.single-post .elementor-widget-theme-post-content figure.aligncenter,
body.single-post .elementor-widget-theme-post-content figure.wp-block-embed-youtube {
    margin: 40px 0 40px;
}

body.single-post .elementor-widget-theme-post-content h2
{   margin-top: 60px !important;
    margin-bottom: 30px !important;}

body.single-post .elementor-widget-theme-post-content h4,
body.single-post .elementor-widget-theme-post-content h3
{   margin-top: 20px !important;
    margin-bottom: 10px !important;}


body.single-post .elementor-widget-theme-post-content .wp-block-separator {
    border: 1px solid #000000 !important;
    border-bottom: 0px !important;
    margin: 50px 0 40px !important;
}

body.single-post .elementor-widget-theme-post-content ul {
    margin: 16px 0 20px 0;}
body.single-post .elementor-widget-theme-post-content ul li {
    margin-bottom: 6px;}

body.single-post figure.wp-block-image.image-post-border {
    border: 1px solid #bec1ca !important;}

body.single-post .elementor-widget-container hr {
    width:40px;
}
/* post style end */


/* newsletter forms start */

#newsletter-post .elementor-field-option label
{text-transform: none !important;
    padding-bottom: 2px;
    font-family: 'Work Sans' !important;
    font-weight: 400 !important;
    font-size: 14px;
}
#newsletter-post .elementor-field-option input  {
    position: relative;
    top: 2px;
}

#newsletter-post .elementor-message:before {
    content: none !important;
}

/* newsletter forms end */


/* old posts fixes start */
body.postid-32643  .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 0px;
}

body.postid-32643 .elementor-widget-theme-post-content .elementor-widget-image img {
    margin: 0 0 0;
}

body.postid-32302  .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 0px;
}

body.postid-32302 .elementor-widget-theme-post-content .elementor-widget-image img {
    margin: 0 0 0;
}

body.postid-32302 .elementor-widget-theme-post-content h3 {
    margin-top:40px !important;
}

body.postid-30321  .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 0px;
}

body.postid-30321 .elementor-widget-theme-post-content .elementor-widget-image img {
    margin: 0 0 0;
}

body.postid-30321 .elementor-widget-theme-post-content h3 {
    margin-top:40px !important;
}

body.postid-17538  .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 0px;
}



body.postid-17538 .elementor-widget-container h3 {
    margin-top:50px !important;
    margin-top:30px !important;
}

body.postid-17538 .elementor-widget-container p a {
    border-bottom: none !important;
}

body.postid-34373 .elementor-widget-theme-post-content h3 {
    margin-bottom: 0px !important;
}

/* old posts fixes end */