/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
body {
    background-color: #f6f6f6;
}
.front-hidden {
    display:none;
}
p {
    color: #005b56;
}
.img-item-row {
    min-height: 0;
}
/* blockPrice sticky */
.blockPrice {
    display: none !important;
}
/* /blockPrice sticky */
/* thumbnail border*/
.product-images > li.thumb-container > .thumb.selected,
.product-images>li.thumb-container>.thumb:hover {
    border:3px solid #005b56;
}
/* /thumbnail border */
/* ndk field item color */
#ndkcsfields .groupFieldBlock div.ndkackFieldItem {
    background-color: #005b56;
}
/* /ndk field item color */
.img-select-container {
    cursor: pointer;
}
/* align cards for image type select */
.ndkcsfields-block center i {
	display: block;
    margin-top: 5px;
    font-weight: bold;
	font-size: 16px;
    line-height: 16px;
    /* 2 lines */
	min-height: 32px;
}
/* /align cards for image type select */
/* shorten description image_type if more than 3 li */
.shortened-desc ul > li:nth-child(n+3) {
    display: none;
}
/* /shorten description image_type if more than 3 li */
/* see more button style */
.see-more-btn-desc-img {
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}
/* /see more button style */
/* select button image type */
.select-btn-img-type {
    display: block;
    margin-top: 10px;
    padding: 5px 10px;
    text-align: center;
    background-color: #005b56;
    color: #ffffff;
    font-weight: bold;
    transition: background-color .3s;
}
.img-select-container:hover .select-btn-img-type {
    background-color: #3f8882;
}
/* /select button image type */
/* description for image type fields */
.custom-desc-for-img{
    display: flex;
    position: relative;
    top: 1rem;
    background-color: white;
    border: 1px solid gray;
    width: fit-content;
    padding: 0px 5px;
}
.custom-desc-for-img p {
    min-height: 2.5rem;
    margin-bottom: 0.5rem;
}
.custom-desc-for-img >h5:nth-child(2){
    margin-top: 1px;
}
.custom-desc-for-img >h5:nth-child(3){
    margin-left: 5px;
}
.custom-desc-for-img >h5:nth-child(3) > span{
    margin-top: 5px;
}
.custom-desc-for-img >h5:nth-child(3) > span > span{
    font-size: 11px !important;
}

    /* from 'Price' */
.custom-desc-for-img > p:first-child span{
    font-size: 0.8rem;
}
.custom-desc-for-img > p:first-child strong{
    display: block;
    font-size: 1.1rem;
}
    /* from 'Price' */
.custom-desc-for-img > p:nth-child(2) {
    margin-bottom: 0.5rem;
    font-style: italic;
}
.custom-desc-for-img ul {
	position: relative;
	list-style: none;
	margin-left: 0;
    text-align: left;
    min-height: 20rem;
}
.custom-desc-for-img ul li {
	margin-bottom: 5px;
    margin-left: 10px;
}
.custom-desc-for-img ul li::before {
	content: ">";
    font-weight: 1000;
	position: absolute;
    left: -10px;
}
.img-select-container center {
    color: #005b56;
}
/* /description for image type fields */
/* Price block */
.contentPrice {
    color: #fff;
}
/* /Price block */
/* color settings */
#submitNdkcsfields {
    background-color: #005b56;
    transition: background-color .3s;
}
#submitNdkcsfields:hover {
    color: #fff;
    background-color: #3f8882;
}
#product-modal .modal-content .modal-body .product-images img:hover {
	border: 3px solid #3f8882;
}
.img-select-container:hover,
.fieldPane > div > div.selected-value {
    border: 2px solid #329b32;
    border-radius: 5px;
}
/* /color settings */

/* Specific FV */
#header, #footer {
    display: none;
}
#bigpic, .js-thumb, .js-modal-thumb {
    aspect-ratio: 1/1;
}
.js-thumb {
    min-width: 75px;
    max-width: 20%;
}
#product-modal .modal-content .modal-body .product-cover-modal {
    aspect-ratio: 1/1;
}
table, th, td {
    border: 1px solid black;
}
/*** MIN WIDTH MEDIA QUERY  ***/
@media (min-width:410px) {
    .custom-desc-for-img ul {
        min-height: 16rem;
    }
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .custom-desc-for-img ul {
        min-height: 12rem;
    }
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    /* Sticky preview on desktop */
    .pb-left-column {
        position: -webkit-sticky;
        position: sticky;
        top: 0px;
        z-index:10;
    }
    /* /Sticky preview on desktop */
    .js-qv-mask.mask {
        display:block;
    }
    .js-thumb {
        max-width: 30%;
    }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .js-thumb{
        max-width: 100%;
    }
    #product-modal .modal-content .modal-body .product-images img {
        min-width: 4rem;
        max-width: 9.25rem;
    }
    .custom-desc-for-img ul {
        min-height: 11rem;
    }
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
/*** /MIN WIDTH MEDIA QUERY  ***/
/*** MAX WIDTH MEDIA QUERY  ***/
@media (max-width:360px){
    .custom-desc-for-img > h5:nth-child(2) > span{
        font-size: 10px !important;
    }
    .custom-desc-for-img > h5:nth-child(3) > span > span{
        font-size: 8px !important;
    }
}
@media (min-width:361px) and (max-width:480px) {
    .custom-desc-for-img > h5:nth-child(2) > span{
        font-size: 12px !important;
    }
}
@media (max-width:575px) {
    .select-btn-img-type {
        font-size: 12px
    }
}
@media (max-width: 767px) {
    #product #content {
        position:inherit;
        top:inherit;
        max-width: inherit;
        left:inherit;
    }
    .col-md-5.pb-left-column {
        position: sticky;
        top: 0px;    
        z-index:10;
        background-color: white;
    }
    .js-qv-mask.mask {
        display: flex;
        justify-content: center;
    }
    .js-qv-mask.mask ul{
        text-align: center;
    }
    .js-qv-mask.mask .thumb{
        min-width: 2.2rem;
    } 
    #product .product-container .h1 {
        font-size:1rem;
    }
}
@media (max-width: 991px) {
    #product-modal .modal-content .modal-body .product-images {
        margin-left: 0;
    }
    #product-modal .modal-content .modal-body .product-images img {
        min-width: 75px;
        max-width: 20%;
    }
}
@media (max-width: 365px) {
    .ndkcsfields-block center i {
        font-size:14px;
    }
}
/*** /MAX WIDTH MEDIA QUERY  ***/
/* /Specific FV */

/* Specif NassHad */
.cfgtapisPrice{
    margin-top: 5px;
}