.trackingHelp {
    ul {
        padding-left: 40px;
        list-style-type: square;
        li {
            margin-bottom: 10px;
        }
    }
    h2 {
        margin-top: 20px;
    }
    p {
        text-align: justify;
    }
}

.trackingHelpHeader {
    margin-top: 32px;
    margin-bottom: 16px;
    width: 100%;
    &.matchWidth {
        max-width: 995px;
    }
    h3 {
        margin-top: 0;
    }
    p {
        margin-right: 20px !important;
    }
    .btn {
        margin-left: auto;
    }
}

.SitesManager {

    .sitesManagerList {

        .site {
            .title {
                font-size: 11px;
                text-transform: uppercase;
            }
            h4, .link_but {
                color: @theme-color-text;
            }
        }
        .editingSite {
            .editingSiteFooter {
                padding: 15px;
                margin: 0 -15px -15px;

                > button {
                    margin-left: 3.5px;
                }
            }
        }
    }

    .visible {
        visibility: visible;
    }
    .hide_only {
        visibility: hidden;
    }

    .search_ico {
        cursor: pointer;
        position: absolute;
        right: 0;
        display: inline;
        color: #666;
        font-size: 16px;
        top: 17px;
    }

    .sitesButtonBar {
        width: 100%;
        text-align: center;
    }
    .bottomButtonBar {
        margin-top: 7px;
    }
    .addSite {
        float: left;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .paging {
        text-align: center;
        display: inline-block;
        min-width: 400px;
        margin-top: 8px;

        .counter {
            margin-left: 10px;
            margin-right: 10px;
        }
    }

    .search {
        display: inline-block;
        text-align: right;
        float: right;
        position: relative;

        input {
            padding-right: 29px;
            width: 205px;
            margin-bottom: 7px;
        }
    }

    .limited-height-scrolling-textarea textarea {
        max-height: 400px;
        overflow-y: auto;
    }
}

td.editable-site-field:hover {
    cursor: pointer;
}

.link_but:hover {
    cursor: pointer;
}
.link_but:hover > span {
    text-decoration: underline;
}

#site-without-data {
    background: @color-white;

    .top_controls {
        background: @color-white;

        .quick-access {
            display: none;
        }
    }

    .pageWrap {
        max-width: 1168px; /* 1120px + padding */
        margin: 0 auto;
        padding: 0 24px;
    }

    a#start-tracking-back {
        color: @theme-color-text;
        text-decoration: none;
        margin-bottom: 16px;
        line-height: 24px;
        display: block;

        [class^="icon-"], [class*=" icon-"] {
            position: relative;
            top: 1px;
        }
    }

    h1#start-tracking-data-header {
        font-weight: bold;
        font-size: 32px;
        float: left;
        margin-bottom: 32px;
    }

    #start-tracking-cta, #share-button {
        float: right;

        > a, > span > a {
            color: @color-silver-dark;
            font-size: 14px;
            font-weight: 500;
            line-height: 24px;
            text-transform: uppercase;
            text-decoration: none;
            display: inline-flex;
            padding: 12px 24px 12px 0;

            [class^="icon-"], [class*=" icon-"] {
                font-size: 24px;
                margin-right: 8px;
            }

            &:last-child {
                padding-right: 0;
            }
        }
    }

    #start-tracking-cta {
        margin-bottom: 32px;
    }

    .loadingPiwik {
        clear: both;
    }

    #start-tracking-skip {
        clear: both;
        margin-top: 40px;
        font-size: 16px;
        line-height: 21px;

        h2 {
            color: @theme-color-text;
            font-size: 16px;
            font-weight: bold;
            line-height: 21px;
            padding: 0 0 8px 0;
        }

        a.ignoreSitesWithoutData {
            margin-top: 16px;
            color: @color-green-matomo;
            text-transform: uppercase;
            display: block;

            &:hover {
                color: @color-green-matomo;
            }
        }
    }

    #start-tracking-details,
    #start-tracking-detection,
    #start-tracking-method-list {
        clear: both;
        width: 100%;
        display: block;
        border-radius: 4px;
        border: 1px dashed @theme-color-background-lowContrast;
        padding: 24px 87px 24px 87px;
        position: relative;

        @media only screen and (max-width: 992px) {
            padding: 24px;
            min-width: 312px;
        }

        h2 {
            font-size: 20px;
            line-height: 30px;
            font-weight: bold;
            color: @theme-color-text;
            padding: 0 0 16px 0;

            @media only screen and (max-width: 992px) {
                clear: both;
            }
        }
    }

    #start-tracking-details,
    #start-tracking-detection {
        > img {
            position: absolute;
            height: 48px;
            width: 48px;
            top: 16px;
            left: 24px;

            @media only screen and (max-width: 992px) {
                position: relative;
                float: left;
                top: 0;
                left: 0;
                margin-bottom: 16px;
            }
        }
    }

    a#showMethod {
        margin-top: 24px;
        font-weight: bold;
    }

    #start-tracking-method-list {
        h2 {
            @media only screen and (max-width: 992px) {
                padding-left: 64px
            }
        }

        .icon-search {
            position: absolute;
            top: 22px;
            left: 28px;
            font-size: 33px;
        }

        ul {
            list-style-type: none;
            margin: 20px -20px 0;

            @media only screen and (max-width: 992px) {
                margin: 20px -12px;
            }

            li {
                width: 288px;
                height: 64px;
                float: left;
                border-radius: 4px;
                border: 1px solid @theme-color-background-lowContrast;
                margin: 16px 20px;
                position: relative;

                @media only screen and (max-width: 992px) {
                    width: 264px;
                    margin: 12px 12px;
                }

                a {
                    text-decoration: none;
                    color: @theme-color-text;
                    height: 100%;
                    width: 100%;
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: left;
                }

                img {
                    height: 48px;
                    width: 48px;
                    margin: 8px 16px 8px 24px;

                    @media only screen and (max-width: 992px) {
                        margin: 8px 8px 8px 16px;
                    }
                }

                .list-entry-text {
                    font-size: 16px;
                    font-weight: bold;
                    line-height: 24px;
                    max-height: 48px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    -webkit-line-clamp: 2;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                }
            }
        }

    }

    h3 {
        font-weight: bold;
    }

    #start-tracking-details {
        p {
            padding-bottom: 0.25rem;
        }

        .steps-to-start-tracking-header {
            font-weight: bold;
        }

        .testInstallFields {
            margin-left: 0;
        }

        .list-style-decimal .copyToClipboardWrapper {
            display: grid;
            margin: 15px 0;

            pre, .codeblock {
                margin: 0;
            }
        }

        @media screen {
            @media (max-width: 999px) {
                .right img {
                    display: none;
                }
            }
        }

        &[data-method="Other"] {
            h3 {
                margin-bottom: 0.4rem;
            }
        }
    }
}

#js-visitor-cv-extra th {
    font-weight: normal;
    text-transform: uppercase;
    font-size: 11px;
}

.add-site-dialog {
    button {
        margin: 10px;
    }
}
