//  ----------------------------------------
//  Option pages
//  ----------------------------------------

.tmcapf-container {

    //  ----------------------------------------
    //  Forms
    //  ----------------------------------------

    .after-field-block {

        display: block;
        clear: both;

    }

    .pro-link {

        clear: both;
        display: inline-block;
        color: #3498DB;
        text-decoration: none;

        &:hover {

            color: #CA2C68;
            text-decoration: underline;

        }

    }

    .form-disabled {

        opacity: 0.5;
        pointer-events: none;

    }

    .mce-tinymce {
        width: 100%;
        max-width: 600px;
    }

    //  ----------------------------------------
    //  Template picker
    //  ----------------------------------------

    .template_picker {

        margin-top: 10px;
        width: 100%;
        display: flex;
        flex-wrap: wrap;

        .cell {

            width: 120px;
            height: 90px;

            .template {

                display: inline-block;
                position: relative;
                opacity: 1;
                cursor: pointer;

                &:hover {
                    opacity: 0.5;
                }

                &.loading {
                    animation: rm_tmc_blinker 500ms linear infinite alternate;
                }

                &.disabled:hover:after {
                    display: block;
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    background-position: center;
                    background-repeat: no-repeat;
                    background-image: url( '../img/padlock.png' );
                }

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

            }

        }

        //  ----------------------------------------
        //  Keyframes
        //  ----------------------------------------

        @keyframes rm_tmc_blinker {
            0% { opacity: 1.0; }
            50% { opacity: 0.0; }
            100% { opacity: 1.0; }
        }

    }

}