/**
 * Mshops VIP
 * @authors: gciaffone, dcalderon
 * @description: Styles for "View Item Page"
 */

/**
 * Prefix `#ms-vip` to all rules in order to encapsulate the style
 */


.ch-hide {
    display: none !important;
}

/* VIP
---------------------------------------------------------------*/

#ms-vip .product_wrap{
    margin-top: 15px;
}

/* No stock message */
#ms-vip .ms-vip_item-no-stock {
    margin: 0 15px 0 3px;
    color: #900;
    font-size: 14px;
    font-weight: bold;
}
#ms-vip .ms-vip-title {
    display: inline-block;
    /* Reset header's styles */
    font-family: Roboto;
    color: #000000;
    font-weight: bold;
    text-transform: capitalize;
    border-bottom: 0;
}

@media (max-width: 767px) {
    #ms-vip .ms-vip-title {
        font-size: 24px;
        font-weight: 400;
        line-height:32px;
        padding-top:0px;
        margin-bottom:10px;
    }

    .column .money,
    .column--center .money {
        font-size: 32px;
        line-height:38px;
    }
}

#ms-vip .ms-vip-price-container {
    display: inline-block;
}

#ms-vip .ms-vip-price-container .ms-price {
    display: inline-block;
    font-size: 21px;
    margin: 20px 0 5px;
}

#ms-vip .ms-vip-promotions-container {
    display: inline-block;
    margin: 18px 0 0 15px;
}

#ms-vip .ms-vip-promotions-container .ms-layer + .ms-layer {
    margin-left: 10px;
}

#ms-vip .vipQtyError:before {
    left: auto;
    right: 38px;
}

span.withMP {
    color: #777;
    background: url('../../../../../../../static/images/paymethods/mla-paymethods.png') no-repeat scroll 0px -403px transparent;
    display: inline-block;
    height: 28px;
    width: 100px;
    text-indent: -9999px;
    top: -5px;
    position: relative;
}

#ms-vip #installments{
	display: inline-block;
}

#ms-vip .product_wrap .PaymentList{
	margin-top: 25px;
}
#ms-vip .product_wrap dl.priceInfo, #ms-vip .product_wrap ul.MPVipPaymethods, .title-option.TitlecreditCards{
    display: inline-block;
}
.separator-con{
    margin: 0 5px;
}
.title-option{
    margin-top: 10px;
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
    font-weight: 600;
}
.PaymentList ul.customMethods li {
    margin-bottom: 0px;
    line-height: 19px;
}
input#showMore{
    visibility: hidden;
}
label.showMoreLabel{
    cursor: pointer;
    text-decoration: underline;
    margin-top: 5px;
}
#showMoreContent{
    display: none;
}
input.showMoreClass:checked ~ div#showMoreContent {
  display:block;
}

input.showMoreClass:not(:checked) ~ div#showMoreContent {
    display:none;
}

/* Loading spinner */
.vip-loading-spinner {
    display: block;
    font-size: 3em;
    line-height: 6em;
    text-align: center;
}

/* Video as article image */
#ms-vip .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

    #ms-vip .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    #ms-vip li .video-container iframe {
        top: -webkit-calc(25%);
        top: calc(25%);
        top: -webkit-calc(22% + 25px);
        top: calc(22% + 25px);
    }

/* Video slide link */
#ms-vip .video-slide i {
    display: block;
    font-size: 36px;
    padding: 25px 0;
    /* Top and bottom padding is the half of the total height minus the font height and borders */
    padding: -webkit-calc((100% - 38px) / 2) 0;
    padding: calc((100% - 38px) / 2) 0;
    text-align: center;
    border: solid 1px #ccc
}

/* "Description" and "Warranty" titles */
.product_wrap #product_description h4,
.product_wrap #product_warranty h4{
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.product_wrap #product_description,
.product_wrap #product_warranty {
    margin-bottom: 20px;
}

.product_wrap #product_description pre {
    font-family: "Roboto";
}

/* Variations selection */
#ms-vip .variants-wrapper {
    display: inline-block;
    min-width: 150px;
    max-width: 360px;
    margin: 30px 0 20px;
    padding: 0;
}
/*#ms-vip .variants-wrapper select{
    background-color: #fff;
    height: 44px;
    width: 100%;
    padding-top: 10px;
}*/

/**
 * Payments Methods
 */


/* Payments global container */
.vip-payments-container {
    position: relative;
    margin: 20px 0 0;
}

.ms-payment-main-methods {
    display: none;
}

.payments__MLA-MLM .ms-payment-methods_show-all {
    display: block;
    text-decoration: underline;
}

.payments__MLA-MLM .ms-payment-methods {
    position: relative;
    margin: 20px 0;
    padding: 10px 260px 10px 10px;
    background: #f7f7f7;
    border-radius: 5px;
}

.payments__MLA-MLM .ms-payment-methods:before {
    content: '';
    display: block;
    position: absolute;
    top: -10px;
    left: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #f7f7f7 transparent;
}

.purchase-buttons-desk{display: block;margin-top:15px;}
.purchase-buttons-mobile{display: none;}

    /* Doble selector to overwrite theme styles */
    .payments__MLA-MLM .ms-payment-methods .ms-payment-methods_title {
        padding: 0;
        border: 0;
        text-transform: none;
    }

    .payments__MLA-MLM .ms-payment-methods .ms-payment-methods_title,
    .payments__MLA-MLM .ms-payment-methods_installments dt {
        margin: 0 0 10px;
        color: #333;
        font-size: 15px;
        font-weight: bold;
    }

    .payments__MLA-MLM .ms-payment-methods_payments {
        margin-bottom: 10px;
    }

    .payments__MLA-MLM .ms-payment-methods_payments dt,
    .payments__MLA-MLM .ms-payment-methods_other-payments dt,
    .payments__MLA-MLM .ms-payment-methods_custom-payments dt {
        margin: 5px 0;
        font-weight: bold;
        list-style-type: square;
    }

    .payments__MLA-MLM .ms-payment-methods_payments dt:before,
    .payments__MLA-MLM .ms-payment-methods_other-payments dt:before,
    .payments__MLA-MLM .ms-payment-methods_custom-payments dt:before {
        content: '▪';
        margin-right: 5px;
        color: #333;
    }

    .payments__MLA-MLM .ms-payment-methods_payments dt a {
        font-size: 11px;
        text-decoration: underline;
    }

    .payments__MLA-MLM .ms-payment-methods_thumbs {
        display: inline-block;
        height: 25px;
        text-indent: -9999px;
        opacity: .6;
    }

    .payments__MLA-MLM .ms-payment-methods_custom-text {
        margin-right: -3px;
    }

    .payments__MLA-MLM .ms-payment-methods_custom-text + .ms-payment-methods_custom-text:before {
        content: ', ';
    }

    .payments__MLA-MLM .ms-payment-methods__has-installments .ms-payment-methods dl {
        float: left;
        clear: left;
    }

    .payments__MLA-MLM dl.ms-payment-methods_installments {
        float: right;
        clear: none;
        width: 250px;
        margin: -30px -260px 0 0;
        padding: 0 10px;
        border-left: solid 1px #ddd;
    }

        .payments__MLA-MLM .ms-payment-methods_installments .money {
            font-size: 13px;
            font-weight: normal;
        }

    .vip-payment-container i,
    .vip-shipping-container i,
    .vip-payments-calculator i {
        margin-right: 5px;
        color: #454545;
        font-size: 24px;
    }

	.vip-payment-container > div,
	vip-payment-showmore {
		margin-left: 0;
		padding-left: 0;
	}

	.product-actions i {
		margin-right: inherit;
		color: inherit;
		font-size: inherit;
	}

    .vip-payments-calculator i.ch-icon-credit-card {
        font-size: 16px;
    }

    .vip-shipping-container > span,
    .vip-shipping-container > a {
        line-height: 24px;
    }

    .vip-payments-calculator span {
        line-height: 32px;
    }

    .vip-shipping-container {
        position: relative;
        margin: 15px 0;
    }

    .vip-shipping-container i {
    }

    .caret-mobile{display:none;}

    .addthis_toolbox {
        margin-top: 20px !important;
        margin-left: 14px;
        margin-right: 14px;
    }

/* Payment methods - Small/Medium screens */
@media only screen and (min-width: 481px) {
    .payments__MLA-MLM .ms-payment-methods {
        /* Automatic content width */
        display: inline-block;
    }
}

/* Payment methods - Medium/Large screens */
@media only screen and (min-width: 768px) {

    .vip-payment-showmore.pull-right {
        float:initial!important;
    }

    .addthis_toolbox {
        margin-top: 0;
    }

    .vip-payments-container,
    .vip-shipping-container {
        margin: 15px 0;
        padding: 5px 0 5px 50px;
    }

    .payments__MLA-MLM .ms-payment-methods {
        margin-bottom: 0;
    }

    .vip-payments-calculator {
        margin-left: -50px;
        padding-left: 50px;
    }

    .vip-payment-container i,
    .vip-shipping-container i.vip-shipping_icon,
    .vip-payments-calculator i {
        position: absolute;
        top: 5px;
        left: 0px;
        font-size: 30px;
    }

    .vip-payments-calculator i.ch-icon-credit-card {
        font-size: 21px;
    }

    .vip-shipping-container > span,
    .vip-shipping-container > a {
        line-height: 30px;
    }
    .withMP-desktop{display: inline;}
    .withMP-mobile{display: none;}

    .navbar.navbar-payments-methods {
        position:initial;
    }

    .vip-payments-container .navbar-collapse {
        padding-left:0;
        padding-right:0;
    }
}

.vip-shipping-showmore {
	cursor: pointer;
}

/* Payment methods - Larger screens */
@media only screen and (min-width: 1460px) {
    .vip-payments-container {
        /*display: inline-block;*/
    }

    .payments__MLA-MLM .ms-payment-methods {
        position: absolute;
        display: block;
        top: -5px;
        left: 310px;
        z-index: 2;
        width: 450px;
        margin:0;
    }

    .payments__MLA-MLM .ms-payment-methods:before {
        top: 10px;
        left: -10px;
        border-width: 10px 10px 10px 0;
        border-color: transparent #f7f7f7 transparent transparent;
    }
}

/**
 * Payments new fixes
 */

.vip-payment-container dl,
.vip-payment-container span {
    font-size: 14px;
    line-height: 28px;
}

.vip-payments-calculator #semjuros-installment-text {
    color: #2B8400;
    font-weight: bold;
}

.vip-payments-calculator .money {
    font-size: 16px;
    line-height: 28px;
}

.vip-payments-calculator .withMP {
    top: 2px
}

.payments__MLB h4 {
    margin: 1.5em 0 .5em;
    padding: 0;
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    text-transform: none;
    border: 0;
}
    .payments__MLB i.fa-spin {
        position: relative;
        top: auto;
        left: auto;
        font-size: 1.5em;
    }

    .payments__MLB .ms-payment-methods {
        margin-top: 13px;
        margin-bottom:5px;
    }

.vip-payment-showmore {
    display: inline-block;
    margin: 5px 5px 5px 5px;
    color: #204A80;
}

.navbar-toggle-methods{padding:0 15px 0 0;margin:0;}
.navbar-methods-coll{width:auto;padding:5px 0 0 18px;float:none;}
.navbar-methods-coll button{padding:0; margin:0;}


/**
 * VIP CTA button mobile adaptation
 */
@media only screen and (max-width: 480px) {
    #ms-vip .product_wrap #purchase #add-to-cart,
    #ms-vip .product_wrap #purchase #contact {
        display: block;
        width: 100%;
        height: auto;
        margin: 15px 0 5px;
        padding: 1em !important;
    }

    #ms-vip .contact-divider {
        display: none;
    }

    #ms-vip a.contact {
        display: block;
        text-align: center;
    }
    #ms-vip .ms-vip_item-no-stock {
    margin: 0 15px 13px 3px;
    text-align: center;
    text-transform: uppercase;
    display: block;
	}
	#product_description p{font-size: 14px !important;text-align: left !important;line-height: 17px !important;}
	.purchase-buttons-desk{display: none;}
	.purchase-buttons-mobile{display: block;clear: both;}
	.purchase-contact-button{padding: 0 15px 0 0;}
	.purchase-contact-button a{margin: 15px 0 20px;height: 44px;width: 100%;padding: 13px 10px;}
	#ms-vip .ms-vip-promotions-container{margin:0px 0 0 15px;}

	#ms-vip .variants-wrapper select{background-color: white;width: 100%;height: 44px;-moz-appearance: none;padding: 10px;margin: 0px;box-sizing: border-box;border: 1px solid rgb(166, 166, 166);border-radius: 5px;-webkit-border-radius: 3px;-moz-border-radius: 3px;}

}

#bs-methods-navbar-collapse-1{
    max-height: none;
    overflow: initial;
}

.fb-comments-container {
    margin: 40px -20px 0;
    padding: 0 20px;
    border-top: solid 1px #cccccc;
}
    .fb-comments-container h4 {
        font-size: 16px;
        font-weight: bold;
        border: 0;
    }

@media (max-width: 767px) {
    .mobileButton {
        padding-top:15px;
        padding-bottom:15px;
    }

    #main_content {
        margin-top: 0px !important;
    }

    .breadcrumb {
        margin-bottom: 0px;
    }

    #ms-vip {
        margin-left: -14px;
        margin-right: -14px;
    }

    .installments-info {
        margin-left: 0px;
        margin-right: 0px;
    }

    .product_wrap .bx-controls-direction {
        height: 0px;
        visibility: hidden;
    }

    .product_wrap #bx-pager {
        height: 34px;
        margin-top: -36px;
        position: relative;
    }

    .product_wrap #bx-pager a {
        width: 15px!important;
        min-width: 15px;
    }

    .product_wrap #bx-pager a::before {
        content: '\2022';
        background-color: #fff;
        padding: 1px 2px;
        border: 1px solid rgba(0, 0, 0, 0.54);
        font-size: 24px;
        border-radius: 12px;
        line-height: 11px;
        vertical-align: middle;
        display: inline-block;
        text-align: center;
        color: #fff;
    }

    .product_wrap #bx-pager a.active::before {
        content: '\2022';
        color: rgba(0, 0, 0, 0.54);
    }

    .product_wrap #bx-pager a img {
        display: none;
    }

    .product_image a {
        overflow: hidden;
    }

    .product_image img {
        width: 100%;
        transform: scale(1.5);
    }

    #wrapper-navbar-methods-coll {
        position:relative;
    }
    #wrapper-navbar-methods-coll button.navbar-toggle {
        position: absolute;
        width: 100%;
        height: 99%;
        top: 0;
        left: 0;
    }
    #wrapper-navbar-methods-coll button.navbar-toggle .caret {
        right: 15px;
        position: absolute;
        top: 50%;
    }

    .vip-payments-container{border-top:2px solid #ccc;border-bottom:2px solid #ccc;}
    .navbar-methods-coll{padding:7px 0 9px 0;}
    .navbar-collapse.collapse{padding-top:5px;}
    .navbar-methods-coll .navbar-toggle{padding:0;margin:0;}
    .navbar-payments-methods{padding-top:0px;margin-bottom:0;min-height:0;}
    #bs-methods-navbar-collapse-1{padding-bottom:20px;max-height: none;padding-left: 0;padding-right: 0;}

    .others-payments-methods {
        margin-bottom:1.5em;
        border-top:2px solid #cccccc;
    }

    .product_wrap #purchase{margin-top: 0;border-top:2px solid #ccc; padding: 15px 0 0;}
    .product_wrap #purchase label {line-height: 44px;font-size: 14px;}
    .product_wrap #purchase #quantity {height: 44px;margin: 0 ;float: right;}

    #ms-vip .variants-wrapper{width:100%;margin: 0 0 10px 0;padding: 0;}
    .vip-payment-showmore{height: 34px;padding-top: 12px;margin: 0px;}

    #ms-vip .variants-wrapper {margin: 15px 0 15px;width: 100%;}
    #ms-vip .variants-wrapper select{background-color: white;width: 100%;height: 44px;-moz-appearance: none;padding: 10px;margin: 0px;box-sizing: border-box;border: 1px solid rgb(166, 166, 166);border-radius: 5px;-webkit-border-radius: 3px;-moz-border-radius: 3px;}
    .withMP-desktop{display: none;}
    .withMP-mobile{display: inline;}

    .vip-shipping-container > span,
    .vip-shipping-container > a,
    .vip-payment-container dl,
    .vip-payment-container span,
    .vip-payments-calculator span {
        font-size:16px;
    }

    #product_image-container {
        margin-bottom: 20px;
        margin-left: -16px;
        margin-right: -16px;
    }

    #ms-vip .product_wrap {
        margin-top: 0px;
    }

    .ms-payment-main-methods {
        display: inline-block;
        margin: 0 0 0 0;
    }
    .ms-payment-all-methods,
    .withMP-mobile,
    .vip-payment-showmore-devider {
        display:none;
    }

    #product_warranty {
        padding-bottom:20px;
        border-bottom:2px solid #cccccc;
        margin-bottom:0px!important;
    }

    #ms-vip .video-slide i {
        display:none;
    }

}


@media all and (min-width: 992px) {
    .fb-comments-container {
        padding: 0;
    }
}

/**
 * Payment components
 */

#ms-payment-calculator span.ms-price,
#ms-payment-calculator span.ms-promo-text {
    font-size: 13px;
    line-height: 1.5em;
}

@media all and (max-width: 1024px) {
	.installments-info {
		padding:0 0 0 0;
	}
}