/**
 * Theme Name: Divi Child
 * Theme URI: http://www.elegantthemes.com/gallery/divi/
 * Template: Divi
 * Author: Elegant Themes
 * Author URI: http://www.elegantthemes.com
 * Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
 * Version: 3.24.1559875869
 * Updated: 2019-06-07 02:51:09
 * 
 */

body.page-blog .recent_posts .subtitle {
  display: none;
}


.template-404 #content-area {
  padding-left: 20px;
  padding-right: 20px;
}

.template-404 .header-image {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  background-size: cover;
  background-position: center;

  position: relative;
  top: -41px;
  margin: 0 0 -41px;

}

.template-404 .header-image .image {
  width: 100%;
}

.template-404 .header-image .image img {
  display: block;
  max-height: 450px;
  /*min-height: 450px;*/
  height: auto;
  width: 100%;
  object-fit: cover;
}

.template-404 .header-image .text {
  width: 100%;
  max-width: 700px;
  background-color: rgba(255, 255, 255, 0.8);
  position: absolute;
  text-align: center;
  padding: 50px 20px;
  margin: 20px 0;
}

.template-404 .header-image .text h3 {
  color: #23487C;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 1em;
}

.search-form-404 p,
.template-404 .header-image .text p {
  font-size: 1.4em;
  color: #000218;
  margin-bottom: 0.6em;
}

.template-404 .header-image .text p.link {
  color: #3891AD;
  font-style: italic;
}

.search-form-404 {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-form-404 p {
  color: #000938;
}

.search-form-404 .search-form {
  position: relative;
}

.search-form .search-field {
  display: block;
  width: 100%;
  margin: 0;
  padding: 20px 10px 20px 50px;
  border: none;
  border-radius: 3px;
  font-size: 1.4rm;
  background: url('assets/img/search-icon.png') 10px center no-repeat;
  background-color: rgba(255, 255, 255, 0.8);
  background-size: 30px auto;
}

.search-form .search-btn {
  position: absolute !important;
  right: 8px;
  left: initial !important;
  top: 9px;
  padding: 8px 0 12px;
  width: 100px;
}

.related-posts-404 {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

@media screen and (max-width: 1050px) {
  .template-404 .header-image {
    top: -20px;
    margin: 0 0 -20px;
  }
}

@media screen and (max-width: 900px) {
  #main-footer .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  #menu-footer-menu {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  #menu-footer-menu>li {
    padding: 0 5px !important;
    width: 25% !important;
    float: none !important;
    margin-bottom: 20px;
  }

  #menu-footer-menu>li a {
    font-size: initial;
    padding: 0 !important;
  }

  #menu-footer-menu>li .sub-menu {
    display: block !important;
    /* This was hidden initially */
  }

  #menu-footer-menu>li .sub-menu li {
    padding: 0 !important;
  }
}

@media screen and (max-width: 800px) {
  #menu-footer-menu>li {
    width: 33% !important;
  }
}

@media screen and (max-width: 700px) {
  .template-404 .header-image {
    /*padding: 60px 30px;*/
    padding: 0;
    margin: 0;
    top: 0;
  }

  .template-404 .header-image .image {
    margin: 0;
    display: none;
  }

  .template-404 .header-image .image img {
    opacity: 0;
  }

  .template-404 .header-image .text {
    padding-top: 30px;
    padding-bottom: 30px;
    width: 90%;
    overflow-wrap: break-word;
    position: relative;
  }

  #menu-footer-menu>li {
    width: 50% !important;
  }
}

@media screen and (max-width: 480px) {
  #menu-footer-menu>li {
    width: 100% !important;
  }
}

/* Footer - Newsletter */
#main-footer #footer-widgets {
  padding: 0;
}
#main-footer .et_pb_gutters3 .footer-widget{
  margin:0;
}
#main-footer .footer-widget{
  margin: 0;
}
#main-footer #block-2 > p{
  display: none;
}
#main-footer .fwidget.et_pb_widget.widget_block {
  width: 100%;
  text-align: center;
}

#main-footer .et_bloom_inline_form h2 strong,
#main-footer .et_bloom_inline_form p {
  font-family: "LeMondeSansStd-Demi", 'Open Sans', sans-serif;
  line-height: normal;
  color: #ffffff !important;
}
#main-footer .et_bloom_inline_form.et_bloom_optin{
  margin: 20px 0 50px 0;
}
#main-footer .et_bloom_inline_form h2 strong {
  font-size: 35px;
  font-weight: bold;
}

#main-footer .et_bloom_inline_form p {
  font-size: 22px;
  opacity: 1 !important;
  margin-top: 0;
}

#main-footer .et_bloom_inline_form .et_bloom_form_content.et_bloom_1_field.et_bloom_bottom_inline,
#main-footer .et_bloom_inline_form .et_bloom_form_text {
  padding: 0;
}

#main-footer .et_bloom_inline_form input,
#main-footer .et_bloom_inline_form button {
  height: 55px;
  font-size: 16px;
}
#main-footer .et_bloom_inline_form input{
  padding-left: 20px !important;
  font-weight: normal;
  color: #010400;
}
#main-footer .et_bloom_inline_form button {
  border-radius: 100px !important;
  font-weight: normal;
  width: 30%;
}

#main-footer .et_bloom_inline_form form {
  padding-top: 10px;
  margin: 0 auto;
}

@media(min-width: 768px) {
  #main-footer .et_bloom_inline_form form {
    width: 77%;
  }
}