/* ==========================================================================
   3.Navbar
   ========================================================================== */
.navbar-nav{
    float: none;
}
.navbar-default {
    background-color: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    padding: 1.5em 0;
    position: absolute;
    width: 100%;
    top: 0;
}

.navbar-brand > .logo-nav { display: none; }

.navbar-default .navbar-nav > li > a {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 20px;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus { color: rgba(255, 255, 255, 0.85); }

.btn-nav {
    background: rgba(255, 255, 255, 0.22);
    text-transform: none;
    letter-spacing: 0;
    font-weight: bold !important;
}

.navbar-default .navbar-nav > li > .btn-nav:hover,
.navbar-default .navbar-nav > li > .btn-nav:active,
.navbar-default .navbar-nav > li > .btn-nav:focus {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.navbar-nav > li,
.navbar-header { float: right !important; }

.navbar-right { float: left!important; }

.navbar-nav { margin: 6.5px -15px!important; }

.affix {
    position: relative;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    padding: .75em 0;
    box-shadow: 0 0 8px 0px rgba(88, 88, 88, 0.19);
    -webkit-animation: slideInDown 1s both;
    animation: slideInDown 1s both;
}
@-webkit-keyframes slideInDown {
    from {
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
        visibility: visible;
        padding: 1.5em 0;
    }
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        padding: .75em 0;
    }
}
@keyframes slideInDown {
    from {
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
        visibility: visible;
        padding: 1.5em 0;
    }
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        padding: .75em 0;
    }
}

.navbar-default.affix .logo { display: none; }

.navbar-default.affix .logo-nav { display: block; }

.navbar-default.affix .navbar-nav > li > a,
.navbar-default.affix .navbar-nav > li > a:focus {
    color: #526066;
    /*font-weight: 600;*/
    background-color: transparent;
}

.navbar-default.affix .navbar-nav > li > a:hover,
.navbar-default.affix .navbar-nav > li > a:active,
.mobile-nav-overlay ul li a:hover,
.mobile-nav-overlay ul li a:active,
.mobile-nav-overlay ul li a:focus,
.navbar-nav .active .fa-times:hover,
.navbar-nav .active .fa-times:active,
.navbar-nav .active .fa-times:focus {
    color: #ef5198;
    background-color: transparent;
}

.affix .navbar-nav > li > a.btn-nav {
    background: #ef5198;
    color: #fff;
}

.navbar-default.affix .navbar-nav > li > .btn-nav:hover,
.navbar-default.affix .navbar-nav > li > .btn-nav:active,
.navbar-default.affix .navbar-nav > li > .btn-nav:focus {
    background: #ef5198;
    color: #fff;
}
/* ==========================================================================
   4.Navbar mobile
   ========================================================================== */

.navbar-nav .fa-2x { font-size: 1.5em; }

.navbar-nav #toggle {
    z-index: 100;
    cursor: pointer;
}

.navbar-nav .active .fa-bars,
.navbar-nav .fa-times { display: none; }

.navbar-nav .active .fa-times {
    display: block;
    color: #526066;
}

.mobile-nav-overlay {
    position: fixed;
    background: rgba(255, 255, 255, 0.98);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all .35s;
    overflow: hidden;
    z-index: 15;
    display: none;
}

.mobile-nav-overlay.open { display: block; }

.mobile-nav-overlay.open li {
    -webkit-animation: fadeInRight .5s ease forwards;
    animation: fadeInRight .5s ease forwards;
    -webkit-animation-delay: .35s;
    animation-delay: .35s;
}

.mobile-nav-overlay.open li:nth-of-type(2) {
    -webkit-animation-delay: .4s;
    animation-delay: .4s;
}

.mobile-nav-overlay.open li:nth-of-type(3) {
    -webkit-animation-delay: .45s;
    animation-delay: .45s;
}

.mobile-nav-overlay.open li:nth-of-type(4) {
    -webkit-animation-delay: .50s;
    animation-delay: .50s;
}

.mobile-nav-overlay nav {
    position: relative;
    height: 40%;
    top: 40%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 25px;
    font-weight: 400;
    text-align: center;
}

.mobile-nav-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
}

.mobile-nav-overlay ul li {
    display: block;
    height: 25%;
    height: calc(100% / 5);
    min-height: 50px;
    position: relative;
    opacity: 0;
}

.mobile-nav-overlay ul li a {
    display: block;
    position: relative;
    color: #526066;
    text-decoration: none;
    overflow: hidden;
}
@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}
@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

a.cta{background-color: #ef5198}
.navbar-nav > li.lang > a{
    display: inline-block;
    padding: 4px 2px;
}
.navbar-nav > li.lang > a.active{
    color: #ef5fa2;
}



.call-to-action {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    width: 100%;
    background-color: #fff;
    height: 0;
    padding-top: 15px;
    top: 0;
    left: 0;
    z-index: 9999;
    -webkit-box-shadow: 0px 8px 18px rgba(206, 208, 224, 0.25);
    box-shadow: 0px 8px 18px rgba(206, 208, 224, 0.25);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.call-to-action .container {
    overflow: hidden;
}

@media (max-width: 767px) {
    .call-to-action {
        text-align: center;
        height: 70px;
        line-height: 70px;
        padding-top: 0;
    }
    .call-to-action .start-diet {
        float: none !important;
    }
    .call-to-action .navbar-brand {
        display: none;
    }
}

.call-to-action .navbar-brand {
    float: left;
    margin: 0;
}

.call-to-action .start-diet {
    background-color: #ef5fa2;
    border-radius: 3px;
    padding: 0.625rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    float: right;
}

@media (max-width: 767px) {
    .call-to-action .start-diet {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }
}

.call-to-action .start-diet:hover {
    background-color: #ed4895;
}
@media (max-width: 767px) {
    .call-to-action .start-diet {
        float: none !important;
    }
}

.call-to-action .navbar-brand {
    float: right;
}

.call-to-action .start-diet {
    float: left;
}
.ml-auto, .mx-auto {
    margin-left: inherit !important;
    margin-right: auto !important;
}