/*
Theme Name:     Thème Popipop
Description:    Thème Popipop
Author:         Matthieu Le Lay
Author URI:     https://www.popipop.com
Template:       Divi                         
Version:        0.1.0
*/


/* hide recaptcha badge */
.grecaptcha-badge { visibility: hidden !important; }

/* Animations menu header */
/* dd-md-030 */
.dd-me-030 nav > ul > li > a:hover {
    opacity: 1 !important;
}

.dd-me-030 nav > ul > li > a > span {
    position: relative;
}

.dd-me-030 nav > ul > li > a > span:before {
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    bottom: -7px;
    left: 0;
    background-color: #a13574; /* Set the color/hovered color */
    -webkit-transition: width 0s ease-in-out;
    transition: width 0s ease-in-out;
}

.dd-me-030 nav > ul > li:hover > a > span:before {
    width: 100%;
    -webkit-transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
}

.dd-me-030 nav > ul > li > a > span:after {
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    bottom: -7px;
    right: 0;
    background-color: #a13574; /* Set the color/hovered color */
    -webkit-transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
}

.dd-me-030 nav > ul > li:hover > a > span:after {
    width: 100%;
    background-color: transparent;
    -webkit-transition: width 0s ease-in-out;
    transition: width 0s ease-in-out;
}

.dd-me-030 nav > ul > li.current-menu-item > a > span:before {
    width: 100%;
}

.dd-me-030 nav > ul > li.current-menu-item > a {
    color: #a13574 !important; /* Set the color/hovered color */
}

/* dd-md-op */
.dd-me-op nav > ul:hover > li > a {
    opacity: .5 !important;
}

.dd-me-op nav > ul > li:hover > a {
    opacity: 1 !important;
}

/* dd-dme-7a */
@media (min-width: 981px) {

    .dd-dme-7a .et-menu li li.menu-item-has-children > a:first-child:after {
        font-family: "ETmodules";
        content: "L";
        font-size: 14px;
        text-align: center;
        top: calc(50% - 14px);
        background-color: rgba(0, 0, 0, 0.05);
        width: 26px;
        border-radius: 5px;
        -webkit-transition: background-color .3s ease-in-out;
        transition: background-color .3s ease-in-out;
    }

    .dd-dme-7a .et-menu li li.menu-item-has-children > a:first-child:hover:after {
        background-color: #a1357412; /* Paste the color/hovered color before 12 */
    }

    .dd-dme-7a .nav li ul {
        border-top: none;
        border-radius: 12px; /* Border-radius of dropdown menu */
        -webkit-box-shadow: 0 0 50px 0 rgba(37, 45, 73, 0.15); /* Box-shadow of dropdown menu */
        box-shadow: 0 0 50px 0 rgba(37, 45, 73, 0.15); /* Box-shadow of dropdown menu */
    }

    .dd-dme-7a .nav li li {
        padding: 0;
    }

    .dd-dme-7a .nav li li a {
        width: 240px;
        font-size: 1.1rem !important; /* Font-size of dropdown menu items */
        -webkit-transition: all .3s ease-in-out !important;
        transition: all .3s ease-in-out !important;
    }

    .dd-dme-7a .nav li li a:hover {
        background: transparent;
        opacity: 1;
    }

    .dd-dme-7a li li a span {
        position: relative;
    }

    .dd-dme-7a li li a > span:before {
        content: "";
        position: absolute;
        height: 2px;
        width: 0;
        bottom: -7px;
        left: 0;
        background-color: #a13574; /* Set the color/hovered color */
        -webkit-transition: width 0s ease-in-out;
        transition: width 0s ease-in-out;
    }
    
    .dd-dme-7a li li a:hover > span:before {
        width: 100%;
        -webkit-transition: width .3s ease-in-out;
        transition: width .3s ease-in-out;
    }

    .dd-dme-7a li li a > span:after {
        content: "";
        position: absolute;
        height: 2px;
        width: 0;
        bottom: -7px;
        right: 0;
        background-color: #a13574; /* Set the color/hovered color */
        -webkit-transition: width .3s ease-in-out;
        transition: width .3s ease-in-out;
    }

    .dd-dme-7a li li a:hover > span:after {
        width: 100%;
        background-color: transparent;
        -webkit-transition: width 0s ease-in-out;
        transition: width 0s ease-in-out;
    }

	.dd-dme-7a .nav li ul.sub-menu li.current-menu-item > a {
		color: #a13574 !important; /* Set the color/hovered color */
	}
	
	.dd-dme-7a li li.current-menu-item > a > span:before {
        width: 100%;
    }
}

/* dd-dme-zoom */
    .dd-dme-zoom .sub-menu {
        -webkit-animation: dd-closing-1 0.3s ease-in-out both !important;
        animation: dd-closing-1 0.3s ease-in-out both !important;
    }

    @-webkit-keyframes dd-closing-1 {
        0% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }

        100% {
            -webkit-transform: scale(.8);
            transform: scale(.8);
            opacity: 0;
        }
    }

    @keyframes dd-closing-1 {
        0% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }

        100% {
            -webkit-transform: scale(.8);
            transform: scale(.8);
            opacity: 0;
        }
    }

    .dd-dme-zoom .et-show-dropdown > .sub-menu {
        -webkit-animation: dd-opening-1 0.3s ease-in-out both !important;
        animation: dd-opening-1 0.3s ease-in-out both !important;
    }

    @-webkit-keyframes dd-opening-1 {
        0% {
            -webkit-transform: scale(.8);
            transform: scale(.8);
            opacity: 0;
        }

        100% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }
    }

    @keyframes dd-opening-1 {
        0% {
            -webkit-transform: scale(.8);
            transform: scale(.8);
            opacity: 0;
        }

        100% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }
    }

    .dd-dme-zoom .sub-menu .sub-menu {
        -webkit-animation: dd-closing-2 0.3s ease-in-out both !important;
        animation: dd-closing-2 0.3s ease-in-out both !important;
    }

    @-webkit-keyframes dd-closing-2 {
        0% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }

        100% {
            -webkit-transform: scale(.8);
            transform: scale(.8);
            opacity: 0;
        }
    }

    @keyframes dd-closing-2 {
        0% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }

        100% {
            -webkit-transform: scale(.8);
            transform: scale(.8);
            opacity: 0;
        }
    }

    .dd-dme-zoom .et-show-dropdown > .sub-menu > .et-show-dropdown > .sub-menu {
        -webkit-animation: dd-opening-2 0.3s ease-in-out both !important;
        animation: dd-opening-2 0.3s ease-in-out both !important;
    }

    @-webkit-keyframes dd-opening-2 {
        0% {
            -webkit-transform: scale(.8);
            transform: scale(.8);
            opacity: 0;
        }

        100% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }
    }

    @keyframes dd-opening-2 {
        0% {
            -webkit-transform: scale(.8);
            transform: scale(.8);
            opacity: 0;
        }

        100% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }
    }

    .dd-dme-zoom .sub-menu .sub-menu .sub-menu {
        -webkit-animation: dd-closing-3 0.3s ease-in-out both !important;
        animation: dd-closing-3 0.3s ease-in-out both !important;
    }

    @-webkit-keyframes dd-closing-3 {
        0% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }

        100% {
            -webkit-transform: scale(.8);
            transform: scale(.8);
            opacity: 0;
        }
    }

    @keyframes dd-closing-3 {
        0% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }

        100% {
            -webkit-transform: scale(.8);
            transform: scale(.8);
            opacity: 0;
        }
    }

    .dd-dme-zoom .et-show-dropdown > .sub-menu > .et-show-dropdown > .sub-menu > .et-show-dropdown > .sub-menu {
        -webkit-animation: dd-opening-3 0.3s ease-in-out both !important;
        animation: dd-opening-3 0.3s ease-in-out both !important;
    }

    @-webkit-keyframes dd-opening-3 {
        0% {
            -webkit-transform: scale(.8);
            transform: scale(.8);
            opacity: 0;
        }

        100% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }
    }

    @keyframes dd-opening-3 {
        0% {
            -webkit-transform: scale(.8);
            transform: scale(.8);
            opacity: 0;
        }

        100% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }
    }

/* dd-dme-ar */
  /* Add arrow on top of the dropdown menus */
  .dd-dme-ar nav > ul > li > ul:after {
      content: '';
      display: block;
      position: absolute;
      left: 20%;
      top: -20px;
      width: 0;
      height: 0;
      border-top: 10px solid transparent;
      border-right: 10px solid transparent;
      border-bottom: 10px solid #fff; /* Paste dropdown menu background color */
      border-left: 10px solid transparent;
  }