.type-namerobot-toolpages-types-tool .page-header-content-short {
    margin-bottom: 12rem;
}

@media screen and (max-width: 767px) {
    .type-namerobot-toolpages-types-tool .page-header-content-short {
        margin-bottom: 10rem;
    }

}

.toolpage-container .content-body {
    margin: 4rem 0;
}

.toolpage-container p {
    text-align: justify;
}

.toolpage-container h2,
.toolpage-container h3,
.toolpage-container h4 {
    text-align: center;
}

.type-namerobot-toolpages-types-tool main.container {
    max-width: 100%;
    padding: 0;
}

.type-namerobot-toolpages-types-tool .toolpage-section-helpText {
    background: #293138;
    color: #d8d9da;
    overflow: auto;
}

.toolpage-section-tool .main-no-sidebar-thin {
    max-width: 1000px;
}

@media screen and (max-width: 767px) {
    .toolpage-section-tool .container {
        padding-inline: 0;
    }
}

.tool-preview {
    margin: 0 auto ;
    max-width: 1000px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    width: calc(100% - 2rem);
    background-color: #fff;
}

.tool-preview > iframe {
    --_navHeight: 80px;
    display: block;
    width: 100%;
    height: min(calc(100vh - var(--_navHeight)), calc(800px - var(--_navHeight)));
}

@media screen and (max-width: 767px) {
    .tool-preview {
        width: 100%;
    }

    .tool-preview > iframe {
        min-height: 100vh;
    }
}

/*************************/
/* scroll to tool button */
/*************************/
.scrollToTool.btn {
    line-height: 2.5rem;
    overflow: hidden;
    padding: 0 2rem;
    position: relative;
    transition: 0.3s all;
}

.scrollToTool .fa {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    top: -100%;
    transition: 0.3s all;
    width: 100%;
}

.scrollToTool-label {
    position: relative;
    top: 0;
    transition: 0.3s all;
}

.btn.scrollToTool:hover {
    opacity: 1;
}

.scrollToTool:hover .fa {
    top: 0;
}

.scrollToTool.btn:hover .scrollToTool-label {
    top: 2.5rem;
}

/* disabled */
.btn.scrollToTool:disabled {
    /*cursor: not-allowed;*/
}

.btn.scrollToTool:disabled:hover {
    opacity: 0.5;
}

.btn.scrollToTool:disabled:hover .fa {
    top: -100%;
}

.scrollToTool.btn:disabled:hover .scrollToTool-label {
    top: 0;
}

/* page image */
.toolpage-image-container {
    position: relative;
    text-align: center;
}

.toolpage-image-container .scrollToTool {
    align-items: center;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2);
    display: flex;
    height: 200px;
    justify-content: center;
    left: calc(50% - 120px);
    padding: 1rem;
    position: absolute;
    top: -14rem;
    width: 240px;
    cursor: pointer;
}

.toolpage-image-container .scrollToTool:hover {
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.2);
}

.toolpage-image-container img {
    display: block;
    max-height: 160px;
}

@media screen and (max-width: 767px) {
    .toolpage-container .content-body {
        margin: 2rem 0;
    }

    .toolpage-image-container .scrollToTool {
        left: calc(50% - 90px);
        top: -11rem;
        width: 180px;
        height: 140px;
    }

    .type-namerobot-toolpages-types-tool .toolpage-container .content-body {
        margin-top: 4rem;
    }
}

/** custom qui windows **/

.qui-window-popup-title {
    background: #fff !important;
}

.qui-window-popup-title-close {
    color: #000 !important;
    line-height: 25px !important;
    width: 50px !important;
    z-index: 10 !important;
}
