/*
 Theme Name:   Beauty Pack Child
 Theme URI:    http://www.nicdarkthemes.com
 Description:  Beauty Pack Child
 Author:       ED for hotels
 Author URI:   http://edhotels.com
 Template:     beautypack
 Version:      1.0.0
 Text Domain:  beautypack-child
*/

.shop-button-header
{
	/*width: 100px;
    height: 40px;
    border: 1px solid red;*/
    position: absolute;
    z-index: 100;
    margin: 0 auto;
    top:120px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
}
.shop-button-header a
{
	background-color: #fff;
    color: #A97145;
    font-size: 18px;
    font-weight: 400;
    padding: 8px 20px;
    border-radius: 25px;
    font-family: Playfair Display !important;
    text-transform: uppercase; 
    vertical-align: top;
    display: inline-block;
    margin:0 10px 10px 0;
}
.shop-button-header a.custom-cart-icon,
.shop-button-header a.custom-cart-icon:hover
{
    background:none;
    padding:0;
}
.shop-button-header a:hover
{
	background-color: #A97145;
    color: #fff;
}
.woocommerce-categories
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom:40px;
}
.woocommerce-categories li a
{
    background-color: #ffff;
    padding: 7px 14px;
    margin: 10px;
    color: #a97145;
    border:2px solid #a97145;
    border-radius:20px;
    font-family: 'Playfair Display', sans-serif;
    text-transform: uppercase;
    font-size:13px;
}
.woocommerce-categories li a:hover
{
    background-color: #a97145;
    color:#fff;
}

/*** Magnific Popup ***/

#modal-wrap {
    max-width: 750px;
    background-color: #fff;
    margin: 0 auto;
    position: relative;
    color: #000;
}

#modal-wrap.advanced {
    background: none;
}

.modal-inline {
    /*overflow: hidden;*/
    display: flex;
    display: -ms-flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    -ms-justify-content: center;
}

.modal-content,
.modal-content:before,
.modal-content:after {
    box-sizing: border-box;
}

.popup_top .modal-inline,
.popup_bottom .modal-inline {
    flex-direction: column;
}

.popup_left .modal-content {
    /*float: right;*/
    order: 1;
}
ul .wpml-ls-menu-item a {display:inherit;}
.popup_left .modal-media {
    /*float: left;*/
    order: 0;
}

.popup_right .modal-content {
    /*float: left;*/
    order: 0;
}

.popup_right .modal-media {
    /*float: right;*/
    order: 1;
}

.popup_top .modal-content {
    order: 1;
}

.popup_top .modal-content,
.popup_top .modal-media,
.popup_bottom .modal-content,
.popup_bottom .modal-media {
    float: none;
    width: 100%;
    display: flex;
    display: -ms-flex;
    -ms-flex-direction: column;
    flex-direction: column;
    /*-ms-align-items: center;*/
    /*align-items: center;*/
    height: 100%;
    width: 100%;
    flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    width: 100%;
    flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    position: relative;
    justify-content: center;
    -ms-justify-content: center;
}

.modal-content {
    width: 400px;
    background: #fff;
    padding:10px;
}

.advanced .modal-content {
    padding: 20px;
    background: none;
    background-color: rgba(255, 255, 255, .83);
    position: relative;
    z-index: 1;
}

.advanced.popup_right .modal-content {
    right: -45px;
}

.advanced.popup_left .modal-content {
    left: -45px;
}

.advanced.popup_top .modal-content {
    top: -45px;
}

.advanced.popup_bottom .modal-content {
    bottom: -45px;
}

.advanced.popup_left .mfp-close {
    left: 0!important;
}

.image .modal-inline {
    min-height: 500px;
    overflow: hidden;
    position: relative;
}

.image .modal-content {
    height: 100%;
    width: 100%;
    z-index: 1;
    background: none;
}

.image .bg-black {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.4);
}

.image .modal-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image .modal-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 100%;
}

.image .modal-content h1,
.image .modal-content h2,
.image .modal-content h3,
.image .modal-content h4,
.image .modal-content h5,
.image .modal-content h6,
.image .modal-content p {
    color: #fff;
}

.image .modal-content h1 {
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 35px;
    padding-bottom: 30px;
    line-height: 1
}

.modal-content h3 {
    font-size: 29px;
    padding-bottom: 20px;
    line-height:29px;
}

.modal-content h4 {
    font-size: 25px;
    padding-bottom: 20px;
}

.modal-content p {
    font-size: 16px;
    line-height: 20px;
    padding-bottom: 1px;
    display: block;
    text-align: center;
}

.modal-content .learn_more {
    padding: 10px 20px;
    margin: 0 10px;
}

.modal-media {
    width: 350px;
    /*float: right;*/
}

.modal-media img {
    max-width: 100%;
    height: auto;
    display:block;
}


/* overlay at start */

.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.45s ease-out;
    -moz-transition: all 0.45s ease-out;
    transition: all 0.45s ease-out;
}


/* overlay animate in */

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8
}


/* overlay animate out */

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}


/* content at start */

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.65s ease-out;
    -moz-transition: all 0.65s ease-out;
    transition: all 0.65s ease-out;
}


/* content animate it */

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}


/* content animate out */

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

.mfp-fade .mfp-close {
    color: #333;
    background-color: #fff;
    margin: 12px;
}

.nd_options_position_relative#nd_options_navigation_2_container
{
    z-index:100;
}

@media only screen and (max-width: 768px) {
    /** Magnific Popup **/
    .mfp-fade .mfp-close {
        color: #000;
    }
    .classic .modal-media {
        display: none;
    }
    .modal-content {
        width: 100%;
    }
    .advanced .modal-inline {
        position: relative;
        min-height: 200px;
        overflow: hidden;
        padding: 10%;
    }
    .advanced .modal-content {
        right: auto!important;
        left: auto!important;
    }
    .advanced .modal-media {
        width: 100%;
        position: absolute;
    }
    .advanced .modal-media img {
        width: 100%;
    }
}

@media only screen and (max-width: 550px) {
    /** Magnific Popup **/
    .image .modal-content h1 {
        font-size: 36px;
        margin-bottom: 30px;
    }
    .modal-content p {
        font-size: 16px;
        line-height: 27px;
    }
}

@media only screen and (max-width: 407px) {
    /** Magnific Popup **/
    .image .modal-content h1 {
        font-size: 29px;
        margin-bottom: 30px;
    }
    .modal-content p {
        font-size: 15px;
        line-height: 26px;
    }
}

@media only screen and (max-width: 321px) {
    /** Magnific Popup **/
    .image .modal-content h1 {
        font-size: 23px;
        margin-bottom: 30px;
    }
    body
    {width:320px}
}

@media only screen and (max-width: 1199px) 
{
	.shop-button-header
	{
		top:0;
        position: relative;
        padding-top:15px;
    }
    .shop-button-header a {
        background-color: #A97145;
        color: #fff!important;
    }
    .home img.nd_options_float_left,
    .page img.nd_options_float_left,
    .single img.nd_options_float_left,
    .archive img.nd_options_float_left{
        width:110px;
    }
}

/*@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
    .logo a {
        background-image: url('img/logo@2x.png');
    }
}*/

.nd_options_navigation_2 div > ul > li:after {
    margin-right: 10px!important;
}