/*
Theme Name: VLES
Theme URI: http://virginialyons.com
Version: 1.0.1
Description: Child theme for DIVI
Author: Ilie Florea
Author URI: http://virginialyons.com
Template: Divi
*/

/*==============================================================================
   Start coding here
==============================================================================*/
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "open-sans-regular";
}
.mega-menu-link{
    font-family: "open-sans-regular" !important;
}
/*-------------------- MENU and LOGO -----------------*/

/*----- Logo dimensions------*/

#logo {
  max-width: 150px;
}
@media only screen and (max-width: 1233px) {
  #logo {
    margin-top: 56px;
  }
}

/* ---------------- On wider screens-------------------
 -----------------------------------------------------*/
@media only screen and (min-width: 980px) {
  /*--Margin top Megamenu--*/
  .mega-menu-wrap {
    margin-top: 20px !important;
  }

  /** Relatively position the logo **/
  .et_header_style_left div.logo_container {
    position: absolute;
    float: left;
    width: auto;
    height: auto;
    padding-top: 20px;
  }

  /** float the menu over to the right of the logo **/
  #mega-menu-wrap-primary-menu {
    float: right;
    clear: none;
  }

  /* -- Top navigation bar -- */
  #top-header {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/** Make menu full width when both logo is hidden and full width nav is enabled */
.et_fullwidth_nav.et_hide_primary_logo #main-header .container {
  padding-left: 0;
  padding-right: 0;
}

/* ---------------- On small screens-------------------
 -----------------------------------------------------*/
@media only screen and (max-width: 981px) {
  /** -- Hide the logo -- **/
  #logo {
    display: none;
  }
  /** -- Push mobile menu up to the top -- **/
  .mega-menu-wrap {
    margin-top: 0px !important;
  }
  /** -- Make heder full width-- **/
  header .container {
    width: 100%;
  }
  #mega-menu-wrap-primary-menu {
    margin-left: 0px;
  }

  /*Hide text and links of what we offer*/
  .vles-text-info {
    display: none;
  }

  a.et_pb_button.vles-info-btn.et_animated {
    display: none;
  }
}

@include mobile {
  .logo_container {
    display: none;
  }
  /* -- Top navigation bar on small screens -- */
  #top-header {
    max-width: 100%;
  }

  /*Hide text and links of what we offer*/
  .vles-text-info,
  .vles-info-btn {
    display: none;
  }
}

/* -- Top navigation bar general  -- */
/* Left menu */
#et-info,
#et-secondary-menu ul li a:last-child {
  margin-right: -20px;
  margin-left: 20px;
}

/* Telephone number */
#et-info-phone {
  margin-right: 13px;
  margin-left: -20px;
}

.et-cart-info {
  display: none;
}

/*  On scroll */

/*Push primary menu up to the top*/
.et-fixed-header #mega-menu-wrap-primary-menu {
  width: 90% !important;
  margin-top: -5px !important;
}

.et-fixed-header #logo {
  position: relative;
  max-width: 100px;
  margin-top: -69px;
  margin-left: -4px;
}

/*----------------------- HEADER --------------------
  --------------------------------------------------*/
.vles-header-title {
  text-align: center;
  color: white;
  font-family: "open-sans-regular";
}

/*------------------------ BODY ---------------------
  --------------------------------------------------*/
/*--Services section----*/

/*Description and button*/
.vles-btn-services,
.vles-services-header {
  max-height: 40px;
  max-width: 350px;
  margin: 0 auto;
}

/*Button text white*/
.vles-btn-services .et_pb_text_inner a {
  color: white;
}

/*On mouse hover background color red*/
.vles-btn-services .et_pb_text_inner:hover {
  background-color: #771a16;
  max-height: 40px;
}

/*On tablet screens we correct margins */
@media only screen and (min-width: 768px) {
  .vles-img-services img {
    margin-left: 0px;
  }
}

/*On huge screens we correct margins */
@media only screen and (min-width: 1500px) {
  .vles-img-services img {
    margin-left: 3px;
  }
}

/* ---------------- FOOTER ------------------------
   ----------------------------------------------*/

/*Subtitles*/
h4.title {
  font-size: 18px;
  font-weight: lighter;
  text-transform: uppercase;
}

/*----- Bottom bar ------*/

#footer-info {
  width: 100%;
}
/*Footer left text */
.footer-left-text {
  float: left;
  text-align: left;
}
/*Footer right text */
.footer-right-text {
  float: right;
  text-align: right;
}

/*
* Remove sidebar on all archive pages
*/
.search #main-content .container::before,
.archive #main-content .container::before {
  display: none;
}
.search #left-area,
.archive #left-area {
  width: 100%;
  float: none;
  padding-right: 0;
}
.search #sidebar,
.archive #sidebar {
  display: none;
}

/*==============Actvidad Archive =========== ======*/
/** ------- Banner ---------- **/

.page-banner {
  width: 100%;
  height: 480px;
}

.page-banner__content {
  margin: 0 auto;
  padding-top: 100px;
  text-shadow: 2px 2px 4px grey;
}

.page-banner__title {
  text-align: center;
  padding-top: 100px;
  color: white;
  text-transform: uppercase;
}

.page-banner__intro {
  text-align: center;
  color: white;
  font-size: 20px;
}

@media only screen and (max-width: 1140px) {
  .page-banner__title {
    margin-top: 110px;
  }
}

/** -- WooCommerce 2 column checkout -- **/

@media (min-width: 768px) {
  #customer_details {
    width: 56%;
    float: left;
    margin-right: 35px;
  }

  #order_review_heading {
    width: 30%;
    float: left;
  }
  #order_review {
    width: 40%;
    float: left;
    padding-right: 50px;
  }
  .woocommerce table.shop_table td {
    width: 50%;
  }
  .woocommerce .col2-set .col-1,
  .woocommerce-page .col2-set .col-1,
  .woocommerce .col2-set .col-2,
  .woocommerce-page .col2-set .col-2 {
    width: 100%;
  }
}
