/* PRODUCT PAGE */
#product-page-container {
    position: relative;
    display: none;
}

#product-page-container.visible {
    display: block;
}

#product-navigation button{
    width: 3em;
    height: 3em;
}

#product-navigation svg{
    width: 1.7em;
    height: 1.7em;
}

#product-page {
    box-sizing: border-box;
    padding: 0px 70px;
    display: grid;
    grid-template-columns: 25% 15% 20% auto;
    grid-template-rows: auto;
    grid-template-areas: 
    "header header header header"
    "preview preview preview inclusions"
    "productfiles cartadder cartadder inclusions"
    "links links links links";
}

#product-page #smartcart_adder {
    grid-area: cartadder;
    display: grid;
    row-gap: 2px;
    grid-template-columns: auto min-content min-content;
    grid-template-rows: 1.5em auto;
    grid-template-areas: 
    "label label label"
    "input button1 button2";
}

#product-page .product-files {
    grid-area: productfiles;
    margin-right: 20px;
    width:95%;
}

#product-page .header {
    grid-area: header;
    font-weight: 700;
    font-size: 47px;
    color: var(--anval-red);
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-top: 10px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

#product-page .header i {
    text-transform: none;
    width: 100%;
    position: relative;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: var(--anval-head-text);
    font-style: normal;
    float:left;
}

#product-page .preview {
    grid-area: preview;
    margin-bottom: 20px;
}

#product-page .inclusions {
    grid-area: inclusions;
    min-height:510px;
    border-left: 1px solid var(--border);
    margin-left: 20px;
    padding-left: 20px;
}

#product-page .inclusion-rows {
    display: flex;
    flex-direction: column;
    height: calc(100% - 57px);
}

#product-page .product-links {
    grid-area: links;
    margin-top:20px;
    text-align: center;
}

#product-page .product-links a{
    background-color: #d42e12;
    color: white;
    text-decoration: none;
    cursor: pointer;
    padding: 12px 10px 12px 10px;
    margin: 6px 6px;
    display: inline-block;
    width: 170px;
}

#product-page .product-links a:hover {
    background-color: #ed482c;
}

#product-page .inclusions h2 {
    width: 100%;
    text-align: center;
}

#product-page .inclusions .inclusion-row {
    display: flex;
    flex-flow: row;
    align-items: center;
    margin-bottom:10px;
}

#product-page .inclusions .inclusion-icon{
    width:50px;
    height: 50px;
    margin: 0 10px;
}

/* #product-page .inclusions .inclusion-row:nth-child(even) .inclusion-icon{
    order:2;
} */

#product-page .product-preview {
    width: 100%;
    height: 400px;
    position: relative;
}

#product-page .product-files h2 {
    margin: 20px 0;
    text-align: left;
}

#product-page #panel_image,
#product-page #panel_2d,
#product-page #panel_3d {
    text-align: center;
    width: 100%;
    height: 330px;
    position: absolute;
    transition: visibility 0.3s linear, opacity 0.3s linear;
}

#product-page #panel_image table {
    height:100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

#product-page #panel_image table td {
    vertical-align: middle;
    text-align: center;
}

#product-page #panel_image img,
#product-page #panel_2d img {
    max-width: 70%;
    height: auto; 
}

#product-page #panel3dbuttons {
    margin-top: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

#product-page #fullscreenBtn {
    float: right;
    width: 42px;
    padding:0;
    height: 34px;
    color: white;
}

#product-page #ifCad3d {
    width: 100%;
    height: 100%;
}

#product-page #cad_format {
    border: 1px solid #ccc;
    height: 34px;
    vertical-align: baseline;
}

#product-page #cad_downlad_btn {
    height: 34px;
    width: 105px;
    vertical-align: top;
    line-height: 0;
    margin-left:5px;
}

#product-page #cad_download_link {
    margin-top: 10px;
    margin-bottom: 10px;
}

#product-page .flex-control-nav {
    display: block;
    list-style: none;
    line-height: 20px !important;
    padding: 0px;
    margin: .5em 0 .5em 0;
}

#product-page .flex-control-nav li {
    margin: 0 3px 0 0;
    display: inline-block;
    color: #fff !important;
    line-height: 20px !important;
}

#product-page .flex-control-nav li a {
    text-indent: 0px !important;
    text-align: center;
    width: 50px;
    height: 40px;
    background-color: rgb(153, 153, 153);
    cursor: pointer;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    display: block;
    color: white;
    font-size: 20px;
    line-height: 38px !important;
}

#product-page .flex-control-nav li a i {
    line-height: 38px !important;
}

#product-page .flex-control-paging li a img {
    margin-top: 9px;
    width: 20px;
    border-style: none;
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

#product-page .flex-control-paging li a.flex-active {
    background-color: var(--anval-red) !important;
}

#product-page .flex-control-paging li a.flex-active {
    background: #000;
    background: rgba(0, 0, 0, 0.9);
    background-color: rgba(0, 0, 0, 0.9);
    cursor: default;
}

#product-page .flex-control-paging li a:hover {
    background: #333;
    background: rgba(0, 0, 0, 0.7);
}

#product-page .switch {
    float: left;
    position: relative;
    width: 50px;
    height: 24px;
    top: 6px;
}

#product-page .switch-label {
    line-height: 34px;
    margin-left: 5px;
}

#product-page .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#products-track, #similarProducts-track {
    margin: 0 50px;
}

#product-page .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

#product-page .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

#product-page input:checked+.slider {
    background-color: var(--anval-red);
}

#product-page input:focus+.slider {
    box-shadow: 0 0 1px var(--anval-red);
}

#product-page input:checked+.slider:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
}

#product-page .slider.round {
    border-radius: 34px !important;
}

#product-page .slider.round:before {
    border-radius: 50% !important;
}

#cad_container {
    display: grid;
    row-gap: 2px;
    grid-template-columns: auto min-content;
    grid-template-rows: 1.5em auto auto;
    grid-template-areas: 
    "label label"
    "select button"
    "link link";
}

#cad_container label{
    grid-area: label;
}


#cad_container select{
    grid-area: select;
}


#cad_container button{
    grid-area: button;
}

#cad_download_link {
    grid-area: link;
}

.tippy-box[data-theme~='inclusions'] {
    background-color: white;
}

.tippy-box[data-theme~='product-links'] {
    background-color: white;
    color: black;
    border: 1px solid var(--anval-red);
}

.tippy-box[data-theme~='product-links'] b{
    font-weight: normal;
}

.tippy-box[data-theme~='product-links'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color:var(--anval-red);
}

.tippy-box[data-theme~='product-links'][data-placement^='bottom'] > .tippy-arrow::before {
    border-bottom-color:var(--anval-red);
}

.tippy-box[data-theme~='product-links'][data-placement^='left'] > .tippy-arrow::before {
    border-left-color: var(--anval-red);
}

.tippy-box[data-theme~='product-links'][data-placement^='right'] > .tippy-arrow::before {
    border-right-color: var(--anval-red);
}

.only-popup {
    cursor: default !important;
}

@media only screen and (max-width: 1200px) {
    #product-page .header {
        font-size: 30px;
    }
    
}
@media only screen and (max-width: 1000px) {
    #product-page .inclusions {
        height:auto;
        border-left:0px;
        margin-left: 0px;
        padding-left: 0px;
        min-height: 100px;
    }
    #product-page-container {
        height:auto;
    }
    #product-page {
        box-sizing: border-box;
        padding: 0px 40px;
        margin-top: 20px;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto;
        grid-template-areas: 
        "header"
        "preview"
        "inclusions"
        "productfiles"
        "cartadder"
        "links";
    }
    #product-page .preview, #product-page .product-files, #product-page .inclusions {
        border-bottom: 1px solid var(--border);
        margin-bottom: 10px;
        padding-bottom: 30px;
    }
    #product-page .product-files {
        border-bottom: 1px solid var(--border);
        margin-bottom: 10px;
        padding-bottom: 10px;
        margin-right: 0px;
        width:100%;
    }
    #product-page #smartcart_adder {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    #product-page .product-links {
        margin-top:20px;
        margin-bottom: 10px;
        padding-bottom: 30px;
    }

    #product-page .product-links a{
        margin: 3px 3px;
    }

    #product-page .product-files h2 {
        margin: 10px 0;
    }
}