/*
 Theme Name: Emily
 Theme URI:  http://demosdivi.lovelyconfetti.com/emily
 Description: Beautiful Multipurpose Theme Template for Divi
 Author:     Lovely Confetti
 Author URI: https://lovelyconfetti.com
 Template:   Divi
 Version:    2.6
 License:    GNU General Public License v2 or later
 License URI:http://www.gnu.org/licenses/gpl-2.0.html
*/


@font-face {
    font-family: 'Javacom';
    src: url('fonts/javacom.eot');
    src: url('fonts/javacom.eot?#iefix') format('embedded-opentype'),
         url('fonts/javacom.woff2') format('woff2'),
         url('fonts/javacom.woff') format('woff'),
         url('fonts/javacom.ttf') format('truetype'),
         url('fonts/javacom.svg#javacomregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


/* Header
----------------------------------------*/

#main-header .et_mobile_menu {
    background-color: #fff !important;
}

#et-top-navigation .et-cart-info {
    display: none;
}

/*#et_top_search {
    width: 18px;
    margin: 13px 0 0 22px !important;
}

#et-top-navigation .et-cart-info {
    float: left;
    margin: 8px 0 0 22px !important;
    font-size: 16px;
} */


#main-header {
    box-shadow: none;
}

@media (max-width: 1030px) {
 #et_mobile_nav_menu {
    display: block; 
}
 
#top-menu {
    display: none;
}}

@media (max-width: 980px) {
#et_top_search {
    float: left;
    margin: 0 15px 0 !important;
}}


.fixed { 
  background-color: #F2F1EF;
}




/* Custom Back to Top
----------------------------------------*/
 
.et_pb_scroll_top.et-visible {
    opacity: 1;
    -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -moz-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -o-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
}
 
.et_pb_scroll_top.et-pb-icon {
    right: 15px;
    bottom: 15px;
    border-radius: 25px;
    background-color: #333;
    padding: 10px;
}

.et_pb_scroll_top:before {
    content: "\21";
}



/* Sidebar
----------------------------------------*/
.et_pb_widget_area_left {
    padding-right: 30px;
    border-right: none !important;
}



/* Menu Call To Action
----------------------------------------*/

.cta-menu a {
    padding: 10px 35px !important;
    background: #f3ede6;
    color: #000 !important;
}
    

/* Emily Steps
----------------------------------------*/

.emily_steps {
  counter-reset: what-we-do;
}

.emily_steps .et_pb_module_header {
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
}

.emily_steps .et_pb_module_header::before {
  counter-increment: what-we-do;
  content: "0"counter(what-we-do);
  position: absolute;
  z-index: -1;
  color: #edd6c7;
  position: absolute;
  left: 0px;
  width: 100%;
  font-size: 80px;
}

/* Emily Why choose me
----------------------------------------*/

.emily_why_choose .et_pb_blurb {
    transition:.5s;
    border:2px solid #f3f0ed !important;
}

.emily_why_choose .et_pb_blurb .et_pb_main_blurb_image {
    background-color: #f3f0ed;
}

.emily_why_choose .et_pb_blurb:hover {
    margin-left:5px;
    transition:.5s;
    margin-right:-15px;
}

.emily_why_choose .et_pb_blurb_container {
    padding:20px 15px
}

.emily_why_choose .et_pb_blurb img {
    margin:20px 0;
}

.emily_why_choose .et_pb_blurb .et-pb-icon {
    margin:20px 0;
    padding: 15px;
}

.emily_why_choose .et_pb_blurb:after {
    position:absolute;
    content:'';
    right:0;
    top:50%;
    opacity:1;
    visibility:visible;
    margin-top:-10px;
    margin-right:0;
    margin-right:-15px;
    border-top:10px solid transparent;
    border-left:15px solid #f3f0ed;
    border-bottom:10px solid transparent;
    -webkit-transition:all 500ms ease;
    -ms-transition:all 500ms ease;
    -o-transition:all 500ms ease;
    -moz-transition:all 500ms ease;
    transition:all 500ms ease
}

.emily_why_choose .et_pb_blurb:hover:after{
    opacity:1;
    visibility:visible;
    margin-right:-15px
}


/* Emily Testimonials Home 2
----------------------------------------*/

.emily_testimonialstars .et_pb_column_1_3:last-child {
    margin-right: 0 !important;
}

.emily_testimonialstars .et_pb_column_4_4 h2:after {
    content: "";
    display: block;
    width: 40px;
    height: 0;
    border-top: 1px solid;
    margin: 31px auto 13px;
}

.emily_testimonialstars  p.et_pb_member_position:after {
    content: "";
    display: block;
    width: 40px;
    height: 0;
    border-top: 1px solid;
    margin: 13px auto 13px;
}

.emily_testimonialstars  .et_pb_team_member_description:after {
    content: '\e033\e033\e033\e033\e033';
    font-family: ETmodules;
    font-size: 17px;
    color: #a17b62;
    display: block;
    margin: 25px 0 -5px;
    font-size: 20px;
    overflow: hidden;
}

.emily_testimonialstars  .et_pb_team_member_description h3 {
    line-height: 1.1em;
    font-size: 24px;
}

.emily_testimonialstars  .et_pb_team_member .et_pb_team_member_image {
    max-width: 97px !important;
}

.emily_testimonialstars  .et_pb_column_1_3 .et_pb_team_member {
    cursor: pointer;
}


/* Emily Blog List
-----------------------------------------------------*/

.emily_listblog .et_pb_post {
  margin-bottom: 6%;
  display: flex;
  justify-content: stretch;
  flex-wrap: wrap;
  box-shadow: 0px 20px 90px #f3f0ed;
}

.emily_listblog .et_pb_post .entry-featured-image-url {
    display: block;
    position: relative;
    margin-bottom: 0;
}

.emily_listblog .et_pb_post .entry-featured-image-url {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.emily_listblog .et_pb_post a img {
    vertical-align: bottom;
    max-width: 100%;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
}

.emily_listblog .et_pb_post>.wrapped {
  padding: 40px;
  z-index: 5;
  background: #fff;
  display: flex;
  flex-direction: column;
  width: 50%;
}

.emily_listblog .et_pb_post .entry-title a {
  display: block;
  cursor: pointer;
}

.emily_listblog .et_pb_post:hover .entry-title:after {
  width: 60%;
}

.emily_listblog .et_pb_post a.more-link {
  display: inline-block;
  margin: 30px auto 0;
}

.emily_listblog .et_pb_post .et_overlay {
  border: none;
  opacity: 0;
  z-index: 3;
}

.emily_listblog .et_pb_post:hover .et_overlay {
  opacity: .8;
}

.emily_listblog .et_pb_post .entry-featured-image-url {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.emily_listblog .et_pb_post .entry-title {
    order: 2;
}

.emily_listblog .et_pb_post .post-meta {
    order: 1;
}

.emily_listblog .et_pb_post .post-content {
    order: 3;
}

@media (max-width: 1030px){

.emily_listblog .et_pb_post>.wrapped,
.emily_listblog .et_pb_post .entry-featured-image-url {
    width: 100%;
}

.emily_listblog .et_pb_post a img {
    position: relative;
} 

.emily_listblog .et_pb_post .entry-title {
    margin-top: 3%;
}}


/* Page Navi
-----------------------------------------------------*/
.wp-pagenavi {
    border-top: none;
}

.wp-pagenavi a, 
.wp-pagenavi span {
  color: #222;
  background-color: #f3f0ed;
  border: 1px solid #f3f0ed;
  padding: 8px 15px;
}

.wp-pagenavi a:hover, 
.wp-pagenavi span.current {
    border: none !important;
}


/* Blurb Services
----------------------------------------*/

.emily_blurb_project .et_pb_column .et_pb_blurb_container:before {
    content: "";
    display: block;
    background-color: #f9f6f4;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1;
    transition: 0.3s !important;
    transition-delay: 0.3s !important;
    transform: translate(0, 100%);
}

.emily_blurb_project .et_pb_column .et_pb_blurb_container {
    background-color: #fff;
    padding: 2.6vw 2vw 2.4vw;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    transition: 0.3s;
}

.emily_blurb_project .et_pb_column .et_pb_blurb:hover .et_pb_blurb_container {
    transition-delay: 0.3s !important;
}

.emily_blurb_project .et_pb_column .et_pb_main_blurb_image {
    margin-bottom: 0;
}

.emily_blurb_project .et_pb_column .et_pb_main_blurb_image img {
    display: block;
    width: 100%;
    transition: 0.3s !important;
    transition-delay: 0.3s !important;
    transform: translate(0, -10px) scale(1.1) !important;
    position: relative;
}

.emily_blurb_project .et_pb_column .et_pb_promo_description p {
    max-width: 810px;
    margin: 0 auto;
}

.emily_blurb_project .et_pb_column .et_pb_blurb h2:after {
    content: "";
    display: block;
    height: 2px;
    width: 50px;
    background-color: #a19368;
    margin: 2px auto 3px;
    transition: 0.3s !important;
}

/*Hover*/
.emily_blurb_project .et_pb_blurb {
    overflow: hidden;
    position: relative;
}

.emily_blurb_project .et_pb_blurb:hover .et_pb_blurb_container:before {
    transition-delay: 0s !important;
    transform: translate(0, 0);
}

.emily_blurb_project .et_pb_blurb:hover .et_pb_blurb_description p,
.emily_blurb_project .et_pb_blurb:hover .et_pb_blurb_container h2,
.emily_blurb_project .et_pb_blurb:hover .et_pb_blurb_container h2 a {
    transition-delay: 0s !important;
}

.emily_blurb_project .et_pb_blurb .et_pb_blurb_description p,
.emily_blurb_project .et_pb_blurb .et_pb_blurb_container h2 a,
.emily_blurb_project .et_pb_blurb .et_pb_blurb_container h2 {
    transition-delay: 0.3s !important;
    position: relative;
    z-index: 2;
}

.emily_blurb_project .et_pb_blurb:hover .et_pb_main_blurb_image img {
    transition-delay: 0s !important;
    opacity: 0.2 !important;
    transform: translate(0, 0) scale(1) !important;
    position: relative;
}

.emily_blurb_project .et_pb_blurb .et_pb_button_module_wrapper .et_pb_button:after {
    display: block !important;
    position: static !important;
    margin-left: 0 !important;
    transform: translate(0, 40px);
    opacity: 0 !important;
}

.emily_blurb_project .et_pb_blurb:hover .et_pb_button_module_wrapper .et_pb_button:after {
    transition-delay: 0.6s !important;
    transform: translate(0, 0);
    opacity: 1 !important;
}

.emily_blurb_project .et_pb_blurb:hover .et_pb_button_module_wrapper .et_pb_button {
    transition-delay: 0.3s !important;
    transform: translate(0, -50%);
    opacity: 1;
}


@media (max-width: 980px) {
.emily_blurb_project .et_pb_row_4col>.et_pb_column.et_pb_column_1_4,
.emily_blurb_project .et_pb_column.et_pb_column_1_4 {
    width: 100% !important;
    margin-bottom: 30px;
}}


/*set the width of the rows inside the Post Content module*/
.et-l .et-l--post .et_builder_inner_content .et_pb_row {
    width: 100%;
    padding-top:0;
}


/* Emily Menu Sidebar
----------------------------------------*/


.emily_menusidebar .et_pb_menu__menu nav ul li a {
    padding: 10px!important;
    border-bottom: 1px solid #fff;
}

.emily_menusidebar .et_pb_menu__menu nav ul li {
    display: block;
    width: 100%;
    margin: 10px 0;
}


/* Emily Blog Grid
----------------------------------------*/
.emily_gridblog .et_pb_post {
    transition: .5s all ease;
}

.emily_gridblog .et_pb_post:hover {
    -webkit-transform: translate(0,-10px);
    transform: translate(0,-10px);
}

.emily_gridblog .et_pb_post a img {
    height: 425px;
    object-fit: cover;
    margin: 0 40px 0 0;
}

.emily_gridblog .et_pb_post {
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.emily_gridblog .et_pb_post .entry-featured-image-url {
    display: block;
    position: relative;
    margin-bottom: 5px !important;
}

.emily_gridblog .et_pb_post .entry-title {
    order: 2;
}

.emily_gridblog .et_pb_post .post-meta {
    order: 1;
}

.emily_gridblog .et_pb_post .post-content {
    order: 3;
}

/* Emily Search Bar
--------------------------------*/


.emily_search .et_pb_searchform:before,
.emily_search .widget_search::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    z-index: 1;
    right: 0;
    font-size: 18px;
    padding: 8px 20px;
}


/* Blog Grid Front Page
-----------------------------------------------------*/

.emily_grid_blog_image .et_pb_post{
    width:48.5%;
    float: left;
    margin-right:3%;
    margin-bottom: 70px;
    overflow: hidden;
    height: 440px;
}

#page-container .emily_grid_blog_image .et_pb_post:nth-child(2n){
    margin-right:0;
}

.emily_grid_blog_image .et_pb_post .entry-featured-image-url {
  position:relative;
  overflow: hidden;
  order:-2;
  margin-bottom: 0 !important;
  object-fit: cover;
}

.emily_grid_blog_image .et_pb_post>.wrapped {
    position: relative;
    min-height: 480px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -moz-box;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
}

.emily_grid_blog_image .et_pb_post .entry-featured-image-url {
  position: relative;
  height: 440px;
  object-fit: cover;
}

.emily_grid_blog_image .et_pb_post a img {
    margin-bottom: 5px;
    object-fit: cover;
    height: 440px;
}

.emily_grid_blog_image .et_pb_post .entry-featured-image-url:before {
    content: "";
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    opacity: 0.7;
    transition: all 0.4s ease-in-out 0s;
    background-color: #a17b62;
}

.emily_grid_blog_image .et_pb_post:hover .entry-featured-image-url:before{
    background-color: #333;
}

.emily_grid_blog_image .et_pb_post h2 {
    text-align: center;
    width: 80%;
    margin: 25% auto 5%;
    position: relative;
    z-index: 9;
    padding: 0;
}

.emily_grid_blog_image .et_pb_post .entry-featured-image-url {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.emily_grid_blog_image  article a:after {
    content:'/';
    margin-left: 2px;
    margin-right: 2px;
}

.emily_grid_blog_image  article a:last-child:after{
    display: none;
}


@media ( max-width: 800px ) {

  .emily_grid_blog_image .et_pb_post {
    width: 100%;
    float: left;
    margin-right: 3%;
    margin-bottom: 70px;
    overflow: hidden;
    height: 440px;
}}

/* Blog Default zig zag
-----------------------------------------------------*/
.emily_blog .et_pb_post {
  margin-bottom: 5%;
  margin-top: 5%;
  display: flex;
  justify-content: stretch;
  flex-wrap: wrap;
}

.emily_blog .et_pb_post .entry-featured-image-url {
  width: 50%;
  position: relative;
  height: 440px;
  overflow: hidden;
}

.emily_blog .et_pb_post .img-wrap {
  position: relative;
}

.emily_blog .post-content:before {
    content: '';
    display: block;
    width: 65px;
    height: 2px;
    margin-top: 15px;
    margin-bottom: 15px;
    background-color: #a19368;
}

.emily_blog .et_pb_post>.wrapped {
  padding: 30px;
  z-index: 5;
  background: #fff;
  display: flex;
  margin-top: 3%;
  flex-direction: column;
  width: 50%;
}

.emily_blog .et_pb_post .entry-title a {
  display: block;
  cursor: pointer;
}

.emily_blog  article a[rel="category tag"]:after,
.emily_blog  .published:after{
    content:'/';
    margin-left: 2px;
    margin-right: 2px;
}

.emily_blog article a[rel="category tag"]:after,
.archive article a[rel="category tag"]:after {
    content: ',';
    margin-left: 2px;
    margin-right: 2px;
}


.emily_blog article a[rel="category tag"]:last-child:after{
    display: none;
}

.emily_blog .vryn-cats a {
    text-decoration: underline;
    display: inline-block;
    text-align: center;
}

.emily_blog .vryn-cats a:after{
    content:",";
    margin-right:3px;
}

.emily_blog .vryn-cats a:last-child:after{
    display:none; 
}

.emily_blog .et_pb_post:hover .entry-title:after {
  width: 60%;
}

.emily_blog .et_pb_post a.more-link {
  display: inline-block;
  margin: 30px auto 0;
}

.et_pb_post .et_overlay {
  border: none;
  opacity: 0;
  z-index: 3;
}

.emily_blog .et_pb_post:hover .et_overlay {
  opacity: .8;
}

.emily_blog .et_pb_post:nth-child(2n+2) {
  flex-direction: row-reverse;
}

@media (min-width:981px) and (max-width:1200px) {
  .emily_blog .et_pb_post .entry-featured-image-url {
    width: 40%;
  }

  .emily_blog .et_pb_post>.wrapped {
    width: 60%
  }}

@media (max-width:800px) {
  .emily_blog .et_pb_post .entry-featured-image-url {
    width: 30%;
  }

  .emily_blog .et_pb_post>.wrapped {
    width: 70%
  }}

@media (max-width:800px) {
  .emily_blog .et_pb_post .entry-featured-image-url, 
  .emily-blog .et_pb_post>.wrapped {
    width: 100%
  }

  .emily_blog .et_pb_post>.wrapped {
    margin-top: -15%
  }}



/* Read more
-----------------------------------------------------*/

.emily_blog_sidebar .et_pb_posts a.more-link,
.et_pb_posts a.more-link {
    clear: both;
    border: none;
    margin-top: 5%;
    background: linear-gradient(180deg, rgba(255,255,255,0) 50%, #e1dfd9 50%);
    display: table;
    margin: 3% auto;
    color: #000 !important;
}

.emily_blog_sidebar .et_pb_posts a.more-link:hover,
.et_pb_posts a.more-link:hover {
    border: none !important;
    background: linear-gradient(180deg, rgba(255,255,255,0) 50%, #e1dfd9 50%) !important;
    color: #000 !important;
}


/* Blog Default
-----------------------------------------------------*/

.emily_blog_sidebar .entry-featured-image-url {
    width: 49.5%;
    margin-right: 6%;
    float: left;
    overflow: hidden;
    height: 350px;
}

.emily_blog_sidebar .post_info {
    width: 44%;
    float: left;
  margin-left: -40%;
}

.emily_blog_sidebar .post_info {
    border-radius: 0 6px;
    max-width: 79%;
    margin-top: -4.8vw;
    z-index: 99;
    position: relative;
    background-color: #fff;
    padding: 2.1vw 1.5vw;
    overflow: hidden;
    transition: 0.3s;
}

.emily_blog_sidebar  article a[rel="category tag"]:after,
.emily_blog_sidebar  .published:after{
    content:'/';
    margin-left: 10px;
    margin-right: 10px;
}

.emily_blog_sidebar  article a[rel="category tag"]:last-child:after{
    display: none;
}

.emily_blog_sidebar .vryn-cats a {
    text-decoration: underline;
    display: inline-block;
    text-align: center;
}

.emily_blog_sidebar .vryn-cats a:after{
    content:",";
    margin-right:3px;
}

.emily_blog_sidebar .vryn-cats a:last-child:after{
    display:none; 
}

.emily_blog_sidebar .et_pb_post:hover .entry-title:after {
  width: 60%;
}

.emily_blog_sidebar .et_pb_post a.more-link {
  display: inline-block;
  margin: 30px auto 0;
}

.emily_blog_sidebar .et_pb_post .et_overlay {
  border: none;
  opacity: 0;
  z-index: 3;
}

.emily_blog_sidebar .et_pb_post:hover .et_overlay {
  opacity: .8;
}


@media (max-width: 840px){

.emily_blog_sidebar .entry-featured-image-url {
    width: 100%;
    margin-right: 6%;
    float: left;
    overflow: hidden;
    height: 400px;
}

.emily_blog_sidebar .et_pb_post .entry-title {
    text-transform: uppercase;
    margin-top: 3%;
}}

/* Blurb Emily
-----------------------------------------------------*/

/*.blurb_emily .et_pb_column .et_pb_blurb_container:before {
    content: "";
    display: block;
    background-color: #f9f6f5;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 0;
    transition: 0.3s !important;
}

.blurb_emily .et_pb_column .et_pb_blurb_container {
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.blurb_emily .et_pb_column .et_pb_main_blurb_image {
    margin-bottom: 0;
}

.blurb_emily .et_pb_column .et_pb_main_blurb_image img {
    display: block;
    width: 100%;
    transition: 0.3s !important;
    transform: translate(0, -20px) scale(1.02) !important;
    position: relative;
}

/*Hover*/
/*.blurb_emily .et_pb_blurb {
    overflow: hidden !important;
    background-color: #000000;
}

.blurb_emily .et_pb_column .et_pb_blurb:hover * {
    color: #fff !important;
}

.blurb_emily .et_pb_blurb:hover .et_pb_blurb_container:before {
    transform: translate(0, 100%);
}

.blurb_emily .et_pb_blurb .et_pb_blurb_container h2:after {
    content: "";
    display: block;
    height: 0;
    max-width: 0%;
    border-top: 4px solid;
    margin: 28px 0 17px;
}

.blurb_emily .et_pb_blurb .et_pb_blurb_description,
.blurb_emily .et_pb_blurb .et_pb_blurb_container h2 {
    transition: 0.3s !important;
    position: relative;
    z-index: 2;
}

.blurb_emily .et_pb_blurb:hover .et_pb_main_blurb_image img {
    opacity: 0.2 !important;
    transform: translate(0, 0) scale(1) !important;
    position: relative;
}

.blurb_emily .et_pb_blurb:before {
    -webkit-transition-delay: 0s !important;
    transition-delay: 0s !important;
}

.blurb_emily .et_pb_blurb:hover:before {
    width: 100%;
    -webkit-transition-delay: 0.3s !important;
    transition-delay: 0.3s !important;
}


@media (max-width: 1280px){
.blurb_emily .et_pb_column .et_pb_main_blurb_image {
    margin-bottom: 0;
    max-height:  400px;
}}


/* Portfolio Style 1*/
/*.dm-portfolio-style1-section1 .et_pb_portfolio_item {
  position: relative;
  background: #fff;
  text-align: center;
  height: 370px !important;
  width: 32% !important;
  margin-right: 2% !important;
}

/* Masonry Filterable Portfolio
-----------------------------------------------------*/

.emily_masonry_portfolio .et_pb_portfolio_items {
    -webkit-columns: 37em; 
    columns: 37em; 
    -webkit-column-gap: 10px; 
    column-gap: 10px; 
    width: 100%;
    margin-bottom: 30px;
}


/*Size the items and add spacing*/

.emily_masonry_portfolio .et_pb_portfolio_item {
    width: 100%;
    margin: 0;
    border-bottom: 10px solid transparent; 
    overflow: hidden;
    -webkit-column-break-inside: avoid;
    break-inside: avoid-column;
}

#page-container .emily_masonry_portfolio .et_pb_filterable_portfolio .et_pb_portfolio_item.active_item {
    opacity: 1;
}

#page-container .emily_masonry_portfolio .et_portfolio_image {
    background-color: #000;
    color: #fff!important;
}

#page-container .emily_masonry_portfolio .et_pb_filterable_portfolio .et_pb_portfolio_item.active_item .et_portfolio_image {
    opacity: 1;
    -webkit-animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
    animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
}


#page-container .emily_masonry_portfolio .et_pb_portfolio .et_pb_portfolio_filters a.active,
#page-container .emily_masonry_portfolio .et_pb_portfolio .et_pb_portfolio_filters a:hover {
    opacity: 0.6;
}

#page-container .emily_masonry_portfolio .et_pb_portfolio .et_pb_portfolio_filters a {
    background-color: transparent !important;
    border: none !important;
    padding: 0 10.5px;
}

#page-container .emily_masonry_portfolio .et_pb_portfolio .et_pb_portfolio_filters li:last-child {
    border-right: none !important;
}

#page-container .emily_masonry_portfolio .et_pb_portfolio .et_pb_portfolio_filters li {
    border-right: 1px solid #a17b62;
    text-align: center;
    float: none;
}

#page-container .emily_masonry_portfolio .et_pb_portfolio h2.et_pb_module_header,
#page-container .emily_masonry_portfolio .et_pb_portfolio p.post-meta {
    position: absolute;
    left: 0;
    transform: translate(0, 210px);
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1;
    opacity: 0;
    transition: 0.3s !important;
    width: 100%;
}

#page-container .emily_masonry_portfolio .et_pb_portfolio h2.et_pb_module_header {
    top: calc(50% - 30px);
}

#page-container .emily_masonry_portfolio .et_pb_portfolio p.post-meta {
    top: calc(50% + 30px);
}

#page-container .emily_masonry_portfolio .et_pb_portfolio .et_pb_portfolio_item:hover h2.et_pb_module_header {
    transition-delay: 0.2s !important;
    transform: translate(0, -50%);
    opacity: 1;
}

#page-container .emily_masonry_portfolio .et_pb_portfolio .et_pb_portfolio_item:hover p.post-meta {
    transition-delay: 0.4s !important;
    transform: translate(0, -50%);
    opacity: 1;
}

#page-container .emily_masonry_portfolio .et_pb_portfolio .et_pb_portfolio_item:hover a img {
    opacity: 0.5;
}

.emily_masonry_portfolio .et_pb_portfolio_filters ul {
  display: flex;
  justify-content: center;
}

.emily_masonry_portfolio .et_pb_portfolio_filters li a {
  background-color: transparent;
  font-weight: 500;
  border: none !important;
  text-transform: uppercase;
}

.emily_masonry_portfolio .et_pb_portfolio_filters li a.active {
  color: #a9882f;
  background: none !important;
}


@media all and (max-width: 1366px) {
.emily_masonry_portfolio .et_pb_portfolio_items {
 -webkit-columns: 25em; 
 columns: 25em; 
 -webkit-column-gap: 10px; 
 column-gap: 10px; 
 width: 100%;
 margin-bottom: 30px;
}}

.emily_masonry_portfolio .et_pb_portfolio_items {
 -webkit-columns: 24em; 
 columns: 24em; 
 -webkit-column-gap: 10px; 
 column-gap: 10px; 
 width: 100%;
 margin-bottom: 30px;
}



/* Portfolio
----------------------------------------*/

.emily_portfolio .et_pb_portfolio_item {
    background: #fff;
    text-align: center;
    height: 450px!important;
    width: 30.2%!important;
    margin-right: 1%!important;
    display: inline-block;
    float: none;
    vertical-align: top;
    margin: 0 15px 30px 15px;
    position: relative;
    overflow: hidden;
}

.emily_portfolio .et_pb_portfolio_item:last-child,
.emily_portfolio .et_pb_portfolio_item:nth-child(3n) {
  margin-right: 0 !important;
}

.emily_portfolio .et_pb_column_4_4 .et_pb_grid_item:nth-child(4n+1) {
  clear: none !important;
}

.emily_portfolio .et_portfolio_image img {
    vertical-align: bottom;
    margin-bottom: 0;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    height: 450px;
}

.emily_portfolio .et_pb_portfolio_item h2 {
  position: absolute;
  width: 100%;
  top: 43%;
  z-index: 3;
  opacity: 0;
  transition: .4s;
}

.emily_portfolio .et_pb_portfolio_item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
background: #33333370;
  opacity: 0;
  z-index: 1;
  transition: .4s;
}

.emily_portfolio .et_overlay {
  display: none;
}

.emily_portfolio .et_pb_portfolio_item .post-meta {
  position: absolute;
  top: 35%;
  left: 0;
  width: 100%;
  color: #fff !important;
  opacity: 0;
  transition: .4s;
  z-index: 2;
}

.emily_portfolio .et_pb_portfolio_item .post-meta a {
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.emily_portfolio .et_pb_portfolio_item:hover h2,
.emily_portfolio .et_pb_portfolio_item:hover::before,
.emily_portfolio .et_pb_portfolio_item:hover .post-meta {
  opacity: 1;
}

.emily_portfolio .et_pb_portfolio_filters {
  margin-bottom: 80px;
}

.emily_portfolio .et_pb_portfolio_filters ul {
  display: flex;
  justify-content: center;
}

.emily_portfolio .et_pb_portfolio_filters li a {
  color: #333;
  background-color: transparent;
  border: none !important;
  text-transform: uppercase;
}

.emily_portfolio .et_pb_portfolio_filters li a.active {
  color: #c19a57;
  background: none !important;
}

.emily_portfolio .et_pb_portfolio_filters li a.active:hover,
.emily_portfolio .et_pb_portfolio_filters li a:hover {
  color: #c19a57;
  background: none !important;
}

.emily_portfolio .et_pb_portofolio_pagination {
  display: flex;
  justify-content: center;
  border-top: none !important;
}

.jane_portfolio .et_pb_portofolio_pagination ul li {
  display: inline-flex;
  width: 60px;
  padding: 0 !important;
  border-radius: 50%;
  margin: 0 5px;
  overflow: hidden;
  transition: .4s;
}

.emily_portfolio .et_pb_portofolio_pagination ul li a.active,
.emily_portfolio .et_pb_portofolio_pagination ul li.next,
.emily_portfolio .et_pb_portofolio_pagination ul li.prev {
  background-color: #c19a57;
}

.emily_portfolio .et_pb_portofolio_pagination ul li.next,
.emily_portfolio .et_pb_portofolio_pagination ul li.prev {
  border: 4px solid #f4f4f5;
}

.emily_portfolio .et_pb_portofolio_pagination ul li.page {
  border: 4px solid #f4f4f5;;
}

.emily_portfolio .et_pb_portofolio_pagination ul li a {
  text-align: center;
  width: 100%;
  padding: 18px 0;
}

.emily_portfolio .et_pb_portofolio_pagination ul li.page a {
  color: #1f2732;
}

.emily_portfolio .et_pb_portofolio_pagination ul li a.active,
.emily_portfolio .et_pb_portofolio_pagination ul li.next a,
.emily_portfolio .et_pb_portofolio_pagination ul li.prev a {
  color: #fff !important;
  transition: .4s;
}

.emily_portfolio .et_pb_portofolio_pagination ul li:hover,
.emily_portfolio .et_pb_portofolio_pagination ul li:hover a.active {
  border-color: #232323;
  background: #232323 !important;
}

.emily_portfolio .et_pb_portofolio_pagination ul li:hover a {
  color: #fff;
}


@media only screen and (max-width: 980px) {
  .emily_portfolio .et_pb_portfolio_item {
    width: 100%!important;

}}





body .emily_dark_background .et_pb_section:before {
    position: absolute;
    content: "";
    display: block;
    width: auto;
    visibility: visible;
    height: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.3s;
    opacity: 0.6;
    background-color: #000;
    z-index: 1;
}


/* WooCommerce
-----------------------------------------------------*/

.woocommerce ul.products li.product:last-child,
.products columns-2 .woocommerce ul.products li.product:last-child,
.woocommerce-page ul.products li.product:last-child {
    float: left;
    margin: 0 0% 2.992em 0 !important;
    padding: 0;
    position: relative;
}

.woocommerce ul.products li.last, .woocommerce-page ul.products li.last {
    margin-right: 0 !important;
}

.orderby, 
.woocommerce div.product form.cart .variations td select {
    padding: 4px 8px;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #666!important;
    background-color: #fff;
    font-family: "Open Sans",Arial,sans-serif;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #454a54;
}


body .et_pb_button:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce-page a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce-page button.button.alt:hover, 
.woocommerce input.button.alt:hover, 
.woocommerce-page input.button.alt:hover, 
.woocommerce #respond input#submit.alt:hover,
.woocommerce-page #respond input#submit.alt:hover, 
.woocommerce #content input.button.alt:hover, 
.woocommerce-page #content input.button.alt:hover, 
.woocommerce a.button:hover, 
.woocommerce-page a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce-page button.button:hover, 
.woocommerce input.button:hover, 
.woocommoliviaerce-page input.button:hover, 
.woocommerce #respond input#submit:hover, 
.woocommerce-page #respond input#submit:hover, 
.woocommerce #content input.button:hover, 
.woocommerce-page #content input.button:hover {
  color: #fff;
}

.woocommerce a.button.alt, 
.woocommerce-page a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce-page button.button.alt, 
.woocommerce input.button.alt,
.woocommerce-page input.button.alt, 
.woocommerce #respond input#submit.alt, 
.woocommerce-page #respond input#submit.alt, 
.woocommerce #content input.button.alt, 
.woocommerce-page #content input.button.alt, 
.woocommerce a.button, 
.woocommerce-page a.button, 
.woocommerce button.button, 
.woocommerce-page button.button, 
.woocommerce input.button, 
.woocommerce-page input.button, 
.woocommerce #respond input#submit, 
.woocommerce-page #respond input#submit, 
.woocommerce #content input.button, 
.woocommerce-page #content input.button,
.woocommerce a.button {
  color: #fff;
}

body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs, 
body.woocommerce div.product .woocommerce-tabs ul.tabs {
  background: #f7f6f5;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom: 1px solid #f7f6f5;
}

body.woocommerce .woocommerce-tabs {
    margin: 30px 0 45px;
    border: 1px solid #f7f6f5;
}

body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs li, 
body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs li.active,
body.woocommerce div.product .woocommerce-tabs ul.tabs li, 
body.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-right: 1px solid #f7f6f5;
    background: #f7f6f5;
}

.entry-summary .entry-title,
.woocommerce div.product .product_title,
.woocommerce div.product p.price, 
.woocommerce-page div.product p.price  {
    margin-bottom: 2% !important;
}

.woocommerce .cart-collaterals, 
.woocommerce-page .cart-collaterals,
#add_payment_method #payment,
.woocommerce-cart #payment, 
.woocommerce-checkout #payment {
    width: 100%;
    margin-bottom: 10% !important;
}

.woocommerce ul.products li.product .price, 
.woocommerce ul.products li.product .price del, 
.woocommerce-page ul.products li.product .price, 
.woocommerce-page ul.products li.product .price del,
.woocommerce ul.products li.product .woocommerce-loop-category__title, 
.woocommerce ul.products li.product .woocommerce-loop-product__title, 
.woocommerce ul.products li.product h3 {
    color: #666!important;
    font-size: 14px;
    text-align: center;
}

.woocommerce .products .star-rating, 
.woocommerce-page .products .star-rating {
    margin: 0 auto 2%!important;
}

.woocommerce .widget_shopping_cart .total, 
.woocommerce.widget_shopping_cart .total {
    border-top: 1px solid #ebe9eb;
    padding: 4px 0 0;
    text-align: center;
}

.woocommerce .woocommerce-breadcrumb {
    display:none;
}

.woocommerce div.product {
    margin-bottom: 0;
    position: relative;
}

.woocommerce span.onsale, 
.woocommerce-page span.onsale {
    position: absolute;
    z-index: 2;
    top: 10px!important;
    left: 10px!important;
    min-width: 0!important;
    min-height: 0!important;
    margin: 0!important;
    padding: 6px 18px!important;
    -webkit-border-radius: 0px!important;
    -moz-border-radius: 0px!important;
    border-radius: 0px!important;
    color: #454a54;
    background: #e8eced !important;
    -webkit-box-shadow: none!important;
    -moz-box-shadow: none!important;
    box-shadow: none!important;
    text-shadow: none!important;
    font-weight: 300!important;
    line-height: inherit!important;
}

.entry-summary p.price span {
    font-size: 20px!important;
}

.woocommerce-product-gallery__wrapper {
    margin: 0;
    max-height: 600px;
    overflow: hidden;
}

.woocommerce ul.products li.product {
  overflow: hidden;
}

.product .related h2 {
    padding-bottom: 16px;
    font-size: 20px!important;
}

@media (max-width: 600px){
.woocommerce ul.products[class*=columns-] li.product, 
.woocommerce-page ul.products[class*=columns-] li.product {
    width: 100%;
    float: left;
    clear: both;
    margin: 0 0 2.992em;
}}



/* Password 
-----------------------------------------------------*/

.post-password-required .et_password_protected_form {
    min-height: initial;
    width: 50%;
    margin: 12% auto;
    text-align: center;
    border: 5px solid #e8eced;
    padding: 2%;
}

.et_password_protected_form .et_submit_button {
    display: block;
    float: none;
    margin: 8px auto 0;
    font-family: inherit;
    cursor: pointer;
}

/* Backgrounds
-----------------------------------------------------*/

.lovely_dark_background {
    background-color: #294453;
}

.lovely_light_background {
    background-color: #f7f6f5;
}


/* Blog slider
-----------------------------------------------------*/

/*Remove slide and image padding*/

.lc-blog-slider .et_pb_slide {
    padding: 0;
}

.lc-blog-slider .et_pb_slide_image {
    bottom: 0 !important;
    top: 0 !important;
    margin-top: 0 !important;
}


/*Position the slide description and add background*/

.lc-blog-slider .et_pb_slides .et_pb_slider_container_inner {
    display: block;
}

.lc-blog-slider .et_pb_slide_description {
    float: auto;
    width: 60% !important;
    text-align: center;
    padding: 30px !important;
    margin: 10% auto !important;
    background: rgba(255, 255, 255, .8);
}


/*Move slide description and add some padding on smaller tablets*/

@media all and (max-width: 768px) {
.lc-blog-slider .et_pb_slides .et_pb_slider_container_inner {
    padding-top: 100%;
 }

.lc-blog-slider .et_pb_slide_description {
    width: auto !important;
    position: absolute;
    bottom: 0;
 }}

/*Add more padding on mobile*/

@media all and (max-width: 479px) {
.lc-blog-slider .et_pb_slides .et_pb_slider_container_inner {
    padding-top: 200%;
 }}

.lc-blog-slider .et-pb-controllers a {
    background-color: transparent !important;
    border: 2px solid #fff;
    border-radius: 0;
    width: 10px;
    height: 10px;
    margin: 10px;
}


/* Style Back to Top Button
-----------------------------------------------------*/
.et_pb_scroll_top.et-pb-icon {
    background-color: #efd84a;
    border-radius: 0px;
}

.et_pb_scroll_top.et-visible {
    opacity: 1;
    -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -moz-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -o-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
}
 
.et_pb_scroll_top.et-pb-icon {
    right: 15px;
    bottom: 15px;
    border-radius: 25px;
    background: rgba(25, 72, 103, 0.48);
    padding: 10px;
}
 
 
.et_pb_scroll_top.et-pb-icon:hover {
    background: #000;
}
 
.et_pb_scroll_top:before {
    content: "\21";
}



/* Woocommerce
-----------------------------------------------------*/
.woocommerce #content .quantity input.qty, 
.woocommerce .quantity input.qty, 
.woocommerce-cart table.cart td.actions .coupon .input-text, 
.woocommerce-page #content .quantity input.qty, 
.woocommerce-page .quantity input.qty {
    height: 34px;
    border: 1px solid #000 !important;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #000!important;
    background-color: #fff !important;
    -webkit-box-shadow: none!important;
    -moz-box-shadow: none!important;
    box-shadow: none!important;
}

body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs, 
body.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin: 0!important;
    padding: 0!important;
    background: #f7f6f5;
}


.header-content a {
    text-transform: uppercase;
    color: #000;
}



/*Hide the search button*/

.single #sidebar .widget_search input#searchsubmit {
    background: transparent;
    color: transparent;
    border: none;
    z-index: 1;
}


/*Add the magnifying glass icon*/

.single #sidebar .widget_search #searchform:after {
    content: '\55';
    font-family: 'ETModules';
    position: absolute;
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #636789;
    right: 10px;
    top: 10px;
}


/* Preloader
-----------------------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fefefe;
  z-index: 9999;
  height: 100%;
  width: 100%;
  overflow: hidden !important;
}

.preloader .status {
  margin: -35px 0 0 -35px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: cover;
  background-size: cover;
}

.et_pb_image .et_overlay:before {
    color: #e8eced;
}




/*Blog sidebar*/

.emily_blog_sidebar .et_pb_widget,
.single-post div#sidebar .et_pb_widget,
#sidebar .et_pb_widget {
    margin-bottom: 20px !important;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #c4b3a4;   
}

.emily_blog_sidebar .widgettitle,
.single-post div#sidebar .widgettitle,
body #page-container #sidebar .widgettitle {
    background: #fff;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.lovely_blog_sidebar div {
    margin-bottom: 12px;
    clear: both;
    text-align: center;
}

.lovely_blog_sidebar .et_pb_posts a.more-link,
body #page-container #sidebar .et_pb_posts a.more-link {
    display: table;
    clear: both;
    border: 1px solid #f3f0ed;
    width: auto;
    padding: 0 2%;
    margin: 2% auto;
}

.lovely_blog_sidebar .et_pb_widget ul li,
.single-post div#sidebar .et_pb_widget ul li,
.et_pb_posts a.more-link,
.lovely_blog_sidebar .et_pb_widget ul li,
body #page-container #sidebar .et_pb_widget ul li {
    text-align: center;
}

#sidebar .widget_categories a, 
.emily_blog_sidebar .widget_categories a, 
.et_pb_module.et_pb_widget_area .widget_categories a {
  display: block;
  padding: 14px;
  line-height: 1.2;
  background-color: #f3f0ed;
  transition: all .4s cubic-bezier(.53, .06, .28,.99);
}

#sidebar .widget_categories a:hover, 
.emily_blog_sidebar .widget_categories a:hover,
.et_pb_module.et_pb_widget_area .widget_categories a:hover {
  padding-left: 1.2em;
  border-color: #fff!important;
  background-color: #fff !important;
  box-shadow: 0 6px 40px -3px rgba(0, 0, 0, 0.1);
}

.lovely_blog_sidebar .widget_search input#searchsubmit,
.single-post div#sidebar .widget_search input#searchsubmit,
body #page-container #sidebar .widget_search input#searchsubmit {
    border: none;
    background: #f3f0ed;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 85px;
    border-radius: 0;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    color: #4f5c5b;
}

.lovely_blog_sidebar .widget_search #s {
    width: 100%;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

/*Styling for the posts*/
.lovely_blog_list .et_pb_post,
.custom_blog .et_pb_post {
    background-color: #fff;
    min-height: 350px;
    margin-bottom: 50px;
}
/*Sets the image size posts and moves it to the left of the text*/
.lovely_blog_list .et_pb_post a img,
.custom_blog .et_pb_post a img  {
    float: left;
    width: 320px;
    height: 350px;
    object-fit: cover;
    margin: 0 40px 0 0;
}

.custom_blog .et_pb_post a img {
    float: left !important;
    padding-right: 0 !important;
}

/*Resize the overlay to fit the image*/
.lovely_blog_list .et_overlay,
.custom_blog .et_overlay {
    width: 320px !important;
    height: 350px !important;
}

/*Stack the image and content on smaller screens*/
@media only screen and (max-width: 980px) {
.lovely_blog_list .et_pb_post a img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin: 0 0 40px 0;
}

.lovely_blog_sidebar .et_pb_widget, 
#sidebar .et_pb_widget {
    border: none !important;
    float: left;
}

    /*Resize the overlay on smaller screens*/
.lovely_blog_list .et_overlay {
    width: 100% !important;
    height: 500px !important;
}

.lovely_blog_list .et_pb_post h2 {
    margin: 0 0 10px !important;
}

.lovely_blog_list .et_pb_post p {
    margin: 0;
}

.lovely_blog_list a.more-link {
    margin: 20px 0 30px 30px;
}

.lovely_blog_list .post-content {
    padding: 30px 0 30px;
}}


/*Style Read More Button on Blog*/
.lovely_blog_list a.more-link,
.custom-blog .et_pb_post a.more-link {
  display: inline-block;
  text-transform: uppercase;
  background: #ffffff;
  width: 47%;
  padding: 5px 10px;
  text-align: center;
  margin: 20px auto;
  letter-spacing: 1px;
  border: none;
  font-family: initial;
  font-size: 12px;
}

/*Read More Button Hover Style*/
.lovely_blog_list a.more-link:hover,
.custom-blog .et_pb_post a.more-link:hover {
  background: #ffffff !important;
  letter-spacing: 1px !important;
  display: inline-block;
  text-transform: uppercase;
  width: 47%;
  padding: 5px 10px;
  text-align: center;
  margin: 20px auto;
  letter-spacing: 1px;
  border: none;
  font-family: initial;
  font-size: 12px;
  color: #444 !important;
}


/*Add margin to the post meta elements*/

.header-content .author,
.header-content .published,
.header-content .post-meta a[rel~="category"],
.header-content .comments-number {
    margin: 0 5px 0 2px;
}

.header-content a:after,
.header-content .published:after,
.header-content .author:after {
    content: '/';
    margin-left: 3px;
    margin-right: 3px;
}

.header-content a:last-child:after {
    display: none;
}



