/* MAIN COLOR: #7FA53F */
/* SECOND COLOR: #575B43 */

@font-face {
    font-family: Adam;
    src: url(../fonts/Adam-Light.ttf);
    font-weight: 100;
  }
  

@font-face {
    font-family: Adam;
    src: url(../fonts/Adam-Medium.ttf);
    font-weight: normal;
  }


  @font-face {
    font-family: Adam;
    src: url(../fonts/Adam-Bold.ttf);
    font-weight: bold;
  } 

  p , h1 , h2 , h3 , h4 , h5 , h6 , span {
    font-family: Adam  !important;
  }
/* Admin css */
.csf-theme-dark .csf-nav ul li .csf-active , .csf-theme-dark .csf-nav ul li a {
    color: #fff !important;
}

body.home ::selection , body.page ::selection {
    background: #7FA53F;
    color: #fff;
}
body.home ::first-letter , body.page ::first-letter {
    text-transform: capitalize;
}

body.home , body.page {
    box-sizing: border-box;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6,p,span , a{
    font-family: 'Adam';
}

body a {
    text-decoration: none !important;
}


img {
     max-width: 100%; 
}

img.main-logo {
    width: 120px;
    /* margin: 15px 0; */
}

/* header Menu */
.navbar-expand-lg .navbar-collapse {
    justify-content: flex-start;
}

ul#primary-menu li {
    position: relative;
}

ul#adminmenu li {
    color: white !important;
}

ul#primary-menu li , ul#primary-menu li ul li {
    padding: 10px 15px;
}

ul#primary-menu li a , ul#primary-menu li ul li a{
    text-decoration: none;
    color: #58595B;
    text-align: right;
    font: normal normal bold 17px/23px Adam;
    letter-spacing: 0px;
    transition: 0.5s ease ;
}

ul#primary-menu li a:hover  {
    color: #7FA53F !important;
    transition: 0.5s ease ;
}


nav .socialmedia {
    margin-top: 0 ;
    margin-left: auto;
}
nav .socialmedia a {
    transition: .52s ease;
}
span.socialmedia a:hover {
    transform: rotate(20deg) scale(1.1);
}

/* Sub menu */
ul.sub-menu {
    list-style: none;
    margin-right: 0;
    padding-right: 0;
    background: #fff;
    position: absolute;
    z-index: 9;
    width: 200px;
    padding: 0;
    border-radius: 0px 0px 21px 21px;
    top: 60px;
    display: none;
}

ul.sub-menu:before {
    content: "";
    display: block;
    width: 100%;
    height: 20px;
    border-bottom: 2px solid #7FA53F;
}

ul.sub-menu li {
    font: normal normal 600 15px/24px Adam;
    box-shadow: 0px 1px 0px #0000000d;
}

ul#primary-menu li:hover  ul.sub-menu{
    display: block;    
}

/* Products */

figure.elementor-image-box-img {
    width: 100% !important;
    height: 140px !important;
}
figure.elementor-image-box-img img  {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.eael-entry-thumbnail {
    width: 100%;
    height: 150px;
}
.eael-entry-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
.cat-button {
    display: flex;
}

/* .elementor-element.elementor-grid-mobile-eael-col-1 .eael-grid-post {
    width: 50%;
} */

/* MAIN COLOR: #7FA53F */
/* SECOND COLOR: #575B43 */

/* Footer */
#footer {
    background: #575B43;
    /* background: linear-gradient(0deg, #575B43 0%, #7FA53F 100%); */
    color: #fff;
    padding-top: 6%;
    padding-bottom: 1%;
    position: relative;
}


#footer .container {
    position: relative;
    z-index: 2;
}

#footer a , #footer p , #footer li {
    color: #fff;
    text-decoration: none;
    font-size: 16px;    
}
#footer li {
    list-style: none;
}
#footer img.footer-logo {
    width: 137px;
    margin: auto;
    display: block;
}
#footer h2.subtitle {
    color: #fff;
    font-size: 22px;
    line-height: 20px;
    padding-bottom: 15px;
    font-weight: 300;
}


#footer .btn.contact-us {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 25px;
    padding: 10px 25px;
    margin: 25px auto;
    width: 60%;
    display: block;
    transition: 0.6s ease ;
}
#footer .btn.contact-us:hover {
    background: #fff;
    color: #7FA53F;
}
#footer ul svg {
    margin-right: 8px;
}
#footer .contact-icon svg {
    transform: rotate(90deg);
}

.socialmedia {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.socialmedia a {
    margin-right: 15px;
    border: 1px solid #7FA53F;
    border-radius: 5px;
    transition: .5s ease;
}

.socialmedia svg{
    transform: scale(0.5);
}


#footer .copyright p {
    font-size: 13px;
}
#footer ul {
    margin: 0;
    padding: 0;
}
#footer li {
    list-style: none;
    font-size: 16px;
    line-height: 40px;
}


/****************************** inner pages */
/****************************** inner pages */

.post, .page {
    margin: 0 !important;
}

.entry-header {
    background: #575B43 ;
    padding: 35px 0;
    color: #fff;
    background-position: bottom;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    height: 220px;
    margin-bottom: 20px;
}

.entry-header::after {
    content: "";
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: #575B43;
    opacity: .5;
    z-index: 1;
}

.entry-header h1, h1.entry-title {
    font-size: 45px;
    position: relative;
    margin-left: 10%;
    text-align: center;
    display: flex;
    z-index: 2;
    align-items: center;
    height: 100%;
    font-weight: bold;
    margin-top: 0;
}

.post-thumbnail img {
    height: auto;
    max-width: 100%;
    max-height: 400px;
    width: auto;
    margin: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px;
}

.entry-content p {
    line-height: 2;   
}

footer.entry-footer {
    margin-bottom: 10px;
}
span.edit-link {
    border: 1px solid #7FA53F;
    padding: 10px 30px;
    border-radius: 5px;
    background: #7FA53F;
    color: #fff !important;
    margin-right: 5%;
}
a.post-edit-link {
    color: #fff !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    text-decoration: none !important;
}

.titleAfter-center::after {
    content: "";
    background: #7fa53f;
    width: 65px;
    height: 3px;
    display: block;
    margin: 10px auto;
}
.titleAfter-left::after {
    content: "";
    background: #7fa53f;
    width: 55px;
    height: 4px;
    display: block;
    margin: 10px 0 10px 10px;
}
/****************************** Media queries */
/****************************** Mobile and small screen  */


@media only screen and (max-width: 1300px) {

    ul#primary-menu li a, ul#primary-menu li ul li a {
        font-size: 16px;
    }
    img.main-logo {
        width:100px
      } 

      #footer .copyright p{
        font-size: 12px;
        line-height: 33px;
      }

      #main-slider .item-img {
        min-height: 400px;
    }
  } 


@media only screen and (max-width: 768px) {

      .entry-header {
          padding: 5px 0 ;
      }

    footer .socialmedia a {
        margin-top: 20px;
        /* margin: 10px auto !important; */
    }

    .socialmedia svg {
        margin-bottom: 20px;
    }


  } 

  @media only screen and (max-width: 460px) {
    article.eael-grid-post.eael-post-grid-column {
        width: 49% !important;
    }
    .socialmedia a {
        margin-right: 15px;
        border: 1px solid #7FA53F;
        border-radius: 5px;
        transition: .5s ease;
        height: 35px;
        margin-bottom: 20px;
    }
    input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.form-control {
        margin-bottom: 10px;
    }

  }
