/*
Theme Name: Divi Child
Theme URI: https://smartpackageroom.com
Description: Child theme for Divi. Houses site-specific CSS and template overrides so they survive Divi and plugin updates instead of living in the Customizer or plugin files.
Author: 3 Media Web
Template: Divi
Version: 1.0.0
*/

/* ==========================================================================
   Migrated from WordPress core Customizer > Additional CSS
   ========================================================================== */

span.dbdb_posttitle_tags{}
span.dbdb_posttitle_tags a {;border: 1px solid #224ca2;
    border-radius: 50px;
    padding: 10px;
    margin-right: 15px;
    line-height: 45px;}
.side .et_pb_post {
    margin-bottom: 20px;
}

/*****************************************/
/*********| FULLSCREEN MENU CSS |*********/
/*****************************************/

/* Move the hamburger to the right of the header */

.de-burger-menu .et_pb_menu__wrap {
  justify-content: flex-end !important;
}

/* Hide the desktop menu */

.de-burger-menu .et_pb_menu__wrap .et_pb_menu__menu {
  display: none !important;
}

/* Force the mobile version of the menu */
.de-burger-menu .et_pb_menu_1_tb_header.et_pb_menu .et_mobile_menu ul {background-color:transparent !important;}
.de-burger-menu .et_mobile_menu li li {
    padding-left: 0 !important;
}

.de-burger-menu .et_pb_menu__wrap .et_mobile_nav_menu {
  display: block !important;
  align-items: center !important;
}

/* Fullscreen Menu Style when Opened*/

.de-burger-menu .opened #mobile_menu2 {
  width: 100vw !important; /* Make it span the full width of the viewport */
  position: fixed !important;
  top: 0em !important;
  left: 0vw !important;
  height: 100vh !important; /* Make it span the full height of the viewport */
  display: flex !important;
  justify-content: center !important;
  flex-direction: column !important;
  transition: visibility 0.3s, opacity 0.3s ease-in-out; /* Animate the menu to fade in */
  padding: 0 !important;
  background-color: #171717!important; /* Fullscreen menu background color */
}

/* Show fullscreen menu */

.de-burger-menu .opened #mobile_menu2 {
  opacity: 1 !important; /* Make it visible by setting opacity to 1 */
  visibility: visible !important; /* Show the menu */
}

/* Hide and fade out the Menu when closed */

.de-burger-menu .closed #mobile_menu2{
  opacity: 0 !important; /* Make it invisible by setting opacity to 0 */
  visibility: hidden !important; /* Hide the menu */
  transition: visibility 0.3s, opacity 0.3s, left 1s, ease-in-out !important; /* Animate the menu to fade out */
}

/* Remove Bullets next to LI Elements */

.de-burger-menu #mobile_menu2 li {
  list-style: none !important;
  text-align: center !important;
  width: 100%
}

/* Make sure that the menu is above other elements */

.de-burger-menu .et_pb_menu__wrap span.mobile_menu_bar {
  z-index: 999999 !important;
}

/* Set the close icon for when the menu is open */

.de-burger-menu .et_pb_menu__wrap .opened .mobile_menu_bar:before {
  color: white !important; /* Icon color */
  content: "\4d" !important; /* Divi font icon to use for the close icon */
  left: -40px; /* Close icon position. You might need to play with this to make it look right */
}

/* Keep hamburger icon in fixed position on mobile */
.de-burger-menu .opened .mobile_menu_bar {
  position: fixed !important;
}

/* Remove mobile menu border */

.de-burger-menu .et_mobile_menu {
  border-top: none;
}

/* Make sure the menu items do not show a background */

.de-burger-menu .et_mobile_menu .menu-item-has-children>a {
  background-color: transparent;
}

/* Remove the hover background from the menu items and add hover animation */

.et_mobile_menu li a:hover {
  background-color: transparent;
  opacity: 1;
  transition: transform 0.3s ease-in-out !important; /* Animated the menu item when hovered */
  transform: scale(1.15); /* Enlarge the hovered menu item by 15% when hovered */
}

/* Remove menu item bottom borders */

.de-burger-menu .et_mobile_menu li a {
  border-bottom: none;
}

.nav .button {background:#002c5e; padding: 5px 5px 5px 5px; margin: -5px 5px 5px 5px !important;}
.nav .button a{padding-top:8px;}
.nav .button .dashicons {margin-top: -3px;}

.sidebar_featured .single .post {
    padding-bottom: 5px;
}
.sidebar_featured .et_pb_post {
    margin-bottom: 0px;
    word-wrap: break-word;
}
.contactpage input.text, .contactpage input.title, .contactpage input[type=email], .contactpage input[type=password], .contactpage input[type=tel], .contactpage input[type=text], .contactpage select{
background-color: #fff;
    border: 1px solid #bbb;
    padding: 2px;
    color: #4e4e4e;
    width: 100% !important;
    margin-bottom: 5px;
    height: 50px;
}
.contactpage textarea {
background-color: #cccc;
    border: 1px solid #bbb;
    padding: 2px;
    color: #4e4e4e;
    width: 100% !important;
    margin-bottom: 5px;
    height: 150px;
}
.contactpage .wpcf7-list-item-label {color:#fff;}
span.wpcf7-form-control-wrap {margin-bottom:5px;}
button.wpcf7-form-control{width:100%; background:#007aeb; border:0px;color:#fff;}
.width50 {display:inline-block; width:50%;}

/* Restore pre-update Download Manager appearance in narrow (.width50) columns: plain button only, no card/icon/title */
.width50 .link-template-default.card {
    border: none;
    background: transparent;
    margin-bottom: 0;
}
.width50 .link-template-default .card-body {
    padding: 0;
}
.width50 .link-template-default .mr-3.img-48,
.width50 .link-template-default .media-body {
    display: none;
}
.width50 .link-template-default .ml-3 {
    margin: 0;
}

.single-wpdmpro #main-content .container {
    padding-top: 118px !important;
}

/* ==========================================================================
   Migrated from Divi > Theme Options > General > Custom CSS
   Fixes the stock Download Manager link-template-default.php card layout
   collapsing to 0-width inside narrow (.width50) columns.
   ========================================================================== */

.width50 .link-template-default .media {
    flex-wrap: wrap;
}
.width50 .link-template-default .media-body {
    flex-basis: 100%;
    min-width: 100%;
}
.width50 .link-template-default .ml-3 {
    margin-top: 8px;
}
