.theme-tile {
    width: 120px;
    margin: 0 auto;
    border: 1px solid $gray-300;
    border-radius: 4px;
    background: #fff;

    .tile-navbar, .tile-menu {
        height: 14px;
        position: relative;
        display: flex;
        margin: auto;

        img {
            max-width: 100%;
            margin: 2px auto;
            height: auto;
        }
    }

    .tile-panel {
        margin: 7px;
        background: #fff;

        .tile-panel-header {
            height: 12px;
            border-top: 1px solid $gray-200;
            border-right: 1px solid $gray-200;
            border-left: 1px solid $gray-200;
        }

        .card-body {
            padding: 5px;
            border: 1px solid $gray-200;
        }

        .tile-media {
            margin-top: 0;
            & + .tile-media {
                margin-top: 5px;
            }
            .profile {
                border: 2px solid $gray-500;
                display: block;
                &.circle {
                    border-radius: 350px;
                }
                &.rounded {
                    border-radius: 4px;
                }
            }
            .text-body {
                .text, .link {
                    margin-bottom: 2px;
                    border-radius: 350px;
                }
                .link {
                    width: 35px;
                    height: 5px;
                    display: inherit;
                }
                .sub {
                    display: block;
                    line-height: 0.6;
                    .text {
                        background: $gray-600;
                        height: 4px;
                        width: 30px;
                        display: inline-block;
                        &:nth-child(2) {
                            width: 22px;
                        }
                    }
                }
            }
        }
    }

    .edit-theme-tile-media {
        display: none;
    }
}



//Thumbnail alterations on Edit theme page
.edit-theme-thumbnail-wrapper {

    // Increases size of base thumbnail
    .theme-tile {
        margin: 0;
        border-radius: 8px;
        width: auto;
        overflow: hidden;
    }

    // Increases height of navbar and menu bar
    .tile-navbar, .tile-menu {
        display: flex;
        flex-direction: row;
        height: 40px;

        img {
            margin: 10px;
            max-height: 28px;
            height: auto;
            max-width: 150px;
            position: relative;
        }
    }

    .tile-menu {
        height: 30px;
    }

    .tile-menu, .tile-panel-header {
        display: flex;
        flex-direction: row;
        align-items: center;

        .text {
            margin: auto 3px auto 10px;
            height: 8px;
            width: 46px;
            border-radius: 50px;

            &:nth-child(2) {
                width: 18px;
            }
        }
    }

    .tile-menu .text{
        margin: 5px 3px 5px 10px;
    }

    .tile-panel-header .text{
        margin: auto 3px auto 10px;
    }

    // Increases spacing around thumbnail card
    .tile-panel  {
        margin: 15px;

        // Increases height of card header
        .tile-panel-header {
            height: 27px;
        }

        .tile-card-body {
            padding: 10px;
        }
    }

    // Spaces out media items more
    .theme-tile .tile-panel .tile-media + .tile-media {
        margin-top: 8px;
    }

    // Increases the size of the profile image
    .tile-panel .tile-media .profile {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }

    // Increases the spacing between the profile image and demo text
    .tile-panel .tile-media .media-left {
        margin-right: 8px !important;
    }

    // Increases the size of the demo text
    .tile-panel .tile-media .text-body {
        .link {
            width: 75px;
            height: 8px;
            margin-top: 7px;
            margin-bottom: 12px;
        }
        .sub .text {
            height: 7px;
            &:nth-child(1) {
                width: 68px;
            }
            &:nth-child(2) {
                width: 45px;
            }
        }
    }

    // display 3rd media tile on theme edit page
    .tile-media {
        display: flex !important;
    }
}
