//
//  Custom footer styles
//  _____________________________________________

//
//  Common
//  ---------------------------------------------

& when (@media-common = true) {
    .amtheme-admin-custom-footer {
        & {
            overflow: hidden;
            padding-top: 40px;
        }

        .amtheme-footer-title {
            float: left;
            width: auto;
        }

        .amtheme-footer-title > .switch {
            border: 1px solid @amtheme-button__background;
            cursor: pointer;
            display: inline-flex;
            line-height: 34px;
            margin: 0 15px 15px 0;
            padding: 0 10px;
        }

        .amtheme-footer-title > .switch.hover,
        .amtheme-footer-title > .switch.active {
            background-color: @amtheme-button__background;
            color: @color-white;
        }

        .amtheme-footer-container {
            float: right;
            margin-left: -100%;
            margin-top: 50px;
            width: 100%;
        }
    }

    .amtheme-footer-container {
        & {
            display: flex;
        }

        .column {
            align-items: center;
            border: 1px solid @amtheme__border__color;
            border-radius: 4px;
            display: flex;
            flex: 1;
            flex-direction: column;
            margin-bottom: 10px;
            padding: 10px;
        }

        .column .place {
            background: @amtheme-button__background;
            border-radius: 2px;
            height: 25px;
            margin: 15px 0;
            padding: 15px;
            width: 80%;
        }

        .column .item-block {
            width: 80%;
        }

        .column .item {
            align-items: center;
            background: @amtheme-button__background;
            color: @color-white;
            display: flex;
            flex-direction: column;
            margin-bottom: 15px;
            padding: 10px;
        }

        .amtheme-image {
            background: @color-white;
            border-radius: 10px;
        }

        .amtheme-image,
        .amtheme-label {
            margin-bottom: 10px;
        }
    }
}
