.product-template-2 {
    padding-top: 52px;
    padding-bottom: 79px;
}

.product-template-2 .container {
    max-width: 1181px;
}

.product-template-2 .page-title {
    margin-top: 31px;
    margin-bottom: 49px;
}

.product-banner {
    width: 100%;
    height: 100%;
    margin-bottom: 50px;
}

.product-banner img {
    width: 100%;
    height: auto;
}

.sub-content {
    max-width: 967px;
}

.sub-content h2 {
    margin-bottom: 27px;
    color: #2D2D2D;
}

.sub-content p {
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0.005em;
}

.sub-content+.item-listing {
    margin-top: 29px;
}

.product-template-2 .item-listing .item {
    width: calc((100% - 64px) / 3);
    margin-right: 32px;
    margin-bottom: 41px;
    float: left;
}

.product-template-2 .item-listing .item .image {
    background-color: #FAFBFB;
    width: 100%;
    height: 100%;
    position: relative;
    margin-bottom: 25px;
}

.product-template-2 .item-listing .item .image img.item-image {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: calc(100% - 70px);
    max-height: calc(100% - 70px);
}

.item-listing-image {
    width: 100%;
    height: auto;
    opacity: 0;
}

.product-template-2 .item-listing .item .title {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.001em;
    margin-bottom: 15px;
}

.sub-content+.columns-image {
    margin-top: 31px;
}

.product-template-2 .item-listing .item .content {
    letter-spacing: 0.005em;
}

.product_preview,
.item-detail-listing {
    margin-bottom: 36px;
    overflow: hidden;
}

.product_preview {
    margin-bottom: 75px;
}

.product_preview .image-left {
    width: 39.9%;
    overflow: hidden;
    float: left;
    background: #FAFBFB;
    padding: 35px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.product_preview .image-left img {
    margin: 0 auto;
    max-width: 100%;
}

.product_preview .columns {
    width: 60.1%;
    float: right;
    padding-left: 8.5%;
    padding-top: 64px;
}

.product_preview .columns .column {
    width: 49.8%;
    float: left;
}

.product_preview .bool_link {
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
    position: relative;
    color: #2D2D2D;
}

.product_preview .bool_link:hover,
.product_preview .editor-content .bool_link{
    color: #1E4E90;
}

.product_preview .bool_link:before {
    content: '';
    position: absolute;
    left: -16px;
    width: 4px;
    height: 4px;
    top: 12px;
    background: #2D2D2D;
    border-radius: 50%;
}

.product_preview .bool_link:hover:before {
    background-color: #1E4E90;
}
.product_preview .columns .column .column-title {
    margin-bottom: 33px;
}

.demo_video_section .title+.list_video {
    margin-top: 28px;
}

.list_video .video-item {
    width: calc((100% - 64px) / 3);
    float: left;
    margin-right: 32px;
    margin-bottom: 42px;
}

.list_video .video-item .card {
    display: block !important;
}

main .product_preview .columns .column ul {
    padding-left: 27px;
    list-style-type: none;
}

main .product_preview .columns .column ul li {
    margin-bottom: 20px;
    padding: 0;
}

main .product_preview .columns .column ul li:before {
    display: none;
}

.demo_video_section {
    overflow: hidden;
}

.video-item .card a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.video-item .card a:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: .4;
    z-index: 2;
}
.fancybox-content video {
    left: 0;
    position: absolute;
    top: 0;
    
}
a.external_link {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-item .card a .block-image {
    width: 100%;
    height: auto;
    opacity: 0;
}

.video-item .card a .card-img-top {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 1;
}

.video-item .card a .ico_w {
    position: absolute;
    z-index: 3;
    width: 90px;
    height: 90px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.video-item .card a .ico_w svg {
    width: 100% !important;
    height: 100% !important;
}

.video-item .title-content {
    margin-top: 25px;
}

.video-item .title-content .title {
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 14px;
    color: #2D2D2D;
}

.video-item .title-content .content {
    max-width: 350px;
}

.demo_video_section>h2 {
    color: #2D2D2D;
}

.template_2~#content .background-image {
    top: 76.8%;
    left: -43%;
}

.template_2~#content #main:after {
    content: "";
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 86%;
    background: transparent url('../images/background.png') no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 40.1%;
    left: 58%;
    z-index: -1;
    opacity: 0.15;
}

.single-product .fancybox-slide--video .fancybox-content {
    /* width: 100% !important;
    height: 0 !important;
    max-width: calc(100vw - 289px);
    max-height: calc(100vh - 289px);
    padding-bottom: 38.1%; */
    max-width: 1149px;
    padding-bottom: 38.092%;
    height: auto !important;
}

.fancybox-toolbar .fancybox-button {
    background: transparent url('../images/close-white.svg') center no-repeat;
    padding: 0;
    width: 26px;
    height: 26px;
    outline: none !important;
    border: none;
    top: 49px;
    right: 70px;
}

.fancybox-toolbar .fancybox-button:hover {
    opacity: .5;
}

.fancybox-toolbar .fancybox-button svg {
    display: none;
}

.template_2~#content .background-image1:before {
    top: 869px;
    left: -51.8%;
    display: inline-block;
}

.template_2~#content .background-image1:after {
    display: inline-block;
    top: 3219px;
    left: -44%;
}

.product-template-2 .item-listing .item a:hover .title,
.product-template-2 .item-listing .item a:hover {
    color: #1E4E90;
}

@media (min-width: 768px) {
    .product-template-2 .item-listing .item:nth-child(3n) {
        margin-right: auto;
    }

    .list_video .video-item:nth-child(3n) {
        margin-right: 0;
    }
}

@media (min-width: 1025px) {
    .product-template-2 .page-title {
        font-weight: 600;
        font-size: 50px;
        line-height: 60px;
    }

    .product_preview .columns .column .column-title {
        line-height: 26px;
    }
}

@media (min-width: 1440px) {
    .product-template .fancybox-slide--video .fancybox-content {
        max-width: 1149px;
        max-height: 515px;
        height: 515px !important;
        padding: 0;
    }
}

@media (max-width: 1024px) {
    .fancybox-toolbar .fancybox-button {
        right: 40px;
        top: 40px;
    }

    .product-template .fancybox-slide--video .fancybox-content {
        max-width: calc(100vw - 180px);
        max-height: calc(100vw - 180px);
    }

    .product-template-2 .item-listing .item .image img.item-image {
        max-width: calc(100% - 40px);
        max-height: calc(100% - 40px);
    }

    .product_preview .columns {
        padding-top: 0;
    }
}

@media (max-width: 991px) {
    .video-item .card a .ico_w {
        width: 70px;
        height: 70px;
    }

    .single-product .fancybox-slide--video .fancybox-content {
        padding-bottom: 50%;
    }
}

@media (max-width: 767px) {
    .product_preview .columns .column .column-title {
        font-size: 20px;
        letter-spacing: 0;
    }

    .fancybox-toolbar .fancybox-button {
        right: 15px;
        top: 15px;
        width: 20px;
        height: 20px;
    }

    .single-product .fancybox-slide {
        padding-left: 20px;
        padding-right: 20px;
    }

    .single-product .fancybox-slide--video .fancybox-content {
        /* max-width: calc(100vw - 100px);
        max-height: calc(100vw - 100px);
        padding-bottom: 80%; */
        padding-bottom: 56.5%;
    }

    .product-template-2 .breadcrumb-container,
    .product-template-2>.container:first-child>span:first-child {
        display: none
    }

    .product-template-2 .page-title {
        margin-top: 0;
    }

    .product-template-2 .item-listing .item {
        width: calc(50% - 10px);
        margin-right: 20px;
    }

    .product-template-2 .item-listing .item:nth-child(even) {
        margin-right: 0;
    }

    .sub-content+.columns-image {
        display: flex;
        flex-wrap: wrap;
    }

    .product_preview .image-left {
        width: 70%;
        margin: 0 auto;
    }

    .product_preview .columns {
        width: 100%;
        padding-left: 0;
        padding-top: 30px;
    }

    .product_preview .columns .column {
        width: 50%;
    }

    .list_video .video-item {
        width: calc(50% - 10px);
        margin-right: 20px;
    }

    .list_video .video-item:nth-child(even) {
        margin-right: 0;
    }

}

@media (max-width: 500px) {
    .product-template .fancybox-slide--video .fancybox-content {
        max-width: calc(100vw - 40px);
        max-height: calc(100vw - 100px);
    }

    .product-template .fancybox-slide {
        padding: 0 !important;
    }

    .list_video .video-item,
    .product-template-2 .item-listing .item {
        width: 100%;
        margin-right: 0;
    }

    .product-template-2 {
        padding: 38px 0 53px;
    }

    .product-template-2 .page-title {
        font-size: 25px;
        line-height: 34px;
        margin-bottom: 32px;
    }

    .product-banner {
        margin-bottom: 29px;
    }

    .sub-content h2 {
        margin-bottom: 20px;
    }

    .sub-content p {
        /*  font-size: 15px;*/
        font-size: 16px;
        line-height: 26px;
    }

    .product-template-2 .item-listing .item .image img.item-image {
        max-width: calc(100% - 70px);
        max-height: calc(100% - 70px);
    }

    .product-template-2 .item-listing .item .title {
        /*  font-size: 15px;*/
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 10px;
        letter-spacing: 0;
    }

    .product-template-2 .item-listing .item .image {
        margin-bottom: 21px;
    }

    .product-template-2 .item-listing .item {
        margin-bottom: 29px;
    }

    .product-template-2 .item-listing .item:last-child {
        margin-bottom: 0;
    }

    .item-detail-listing {
        margin-bottom: 50px;
    }

    .product_preview .image-left {
        width: 100%;
        padding: 34px 21.94% 37px 21.94%;
    }

    .product_preview .columns {
        padding-top: 20px;
    }

    .product_preview .columns .column {
        width: 45%;
        margin-right: 28px;
    }

    .product_preview .columns .column:nth-child(even) {
        margin-right: 0;
        width: calc(55% - 28px);
    }

    .product_preview .bool_link {
        font-weight: 400;
        /*  font-size: 15px;*/
        font-size: 16px;
        line-height: 26px;
    }

    main .product_preview .columns .column ul li {
        margin-bottom: 24px;
    }

    .product_preview .columns .column .column-title {
        margin-bottom: 34px;
    }

    main .product_preview .columns .column ul {
        padding-left: 23px;
    }

    .product_preview .bool_link:before {
        top: 8px;
        left: -13px;
    }

    .product_preview {
        margin-bottom: 26px;
    }

    .demo_video_section .title+.list_video {
        margin-top: 19px;
    }

    .video-item .card a .ico_w {
        width: 67px;
        height: 67px;
        top: 50%;
    }

    .video-item .title-content .title {
        /*  font-size: 15px;*/
        font-size: 16px;
        line-height: 28px;
        margin-bottom: 11px;
    }

    .video-item .title-content .content {
        /*  font-size: 15px;*/
    font-size: 16px;
        line-height: 26px;
    }

    .video-item .title-content {
        margin-top: 16px;
    }

    .list_video .video-item {
        margin-bottom: 28.5px;
    }

    .template_2~#content #main:after {
        width: 552px;
        height: 482px;
        padding-bottom: 0;
        top: 314px;
        left: -406px;
    }

    .template_2~#content .background-image1:before {
        top: 755px;
        right: -410px;
        left: auto;
    }

    .template_2~#content .background-image1:after {
        top: 1252px;
        right: auto;
        left: -360px;
    }

    .template_2~#content .background-image2:before {
        top: 2183px;
        left: -403px;
    }

    .template_2~#content .background-image2:after {
        bottom: auto;
        top: 2576px;
        right: -406px;
    }

    .template_2~#content .background-image3:before {
        bottom: auto;
        top: 3116px;
        left: -361px;
    }
}