.magic-starts-here .tool-cell {
    border-radius: 4px;
    margin: 5px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    width: 150px;
    height: 150px;
    vertical-align: top;
    overflow: hidden;
    opacity: 1;
}

.magic-starts-here .tool-cell.new-magic-tool {
    cursor: default;
}

.magic-starts-here .tool-cell .pro,
.magic-starts-here .tool-cell .simple {
    width: 100%;
    height: 46%;
    display: block;
    position: absolute;
    border-radius: 4px;
    cursor: pointer;
    border: none !important;
}

.magic-starts-here a:focus,
.magic-starts-here a:link,
.magic-starts-here a:visited,
.magic-starts-here a:hover,
.magic-starts-here a:active {
    color: inherit;
    outline: none !important;
    text-decoration: inherit;
    border: none !important;
    box-shadow: none;
}

.magic-starts-here .tool-cell .pro {
    top: 0;
    left: 0;
    background-color: #75b81c;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.magic-starts-here .tool-cell .simple {
    right: 0;
    bottom: 0;
    background-color: #0073aa;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.magic-starts-here .tool-cell.new-magic-tool .pro:before {
    content: "Create advanced +";
}

.magic-starts-here .tool-cell.new-magic-tool .simple:before {
    content: "Create simple +";
}

.magic-starts-here .tool-cell.new-magic-tool .pro:before,
.magic-starts-here .tool-cell.new-magic-tool .simple:before {
    top: 50%;
    left: 50%;
    color: white;
    font-size: 14px;
    text-align: center;
    position: absolute;
    display: inline-block;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.magic-starts-here button.magic-button {
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    outline: 0;
    position: relative;
    width: 25px;
    height: 25px;
    z-index: 100;
    font-size: 25px;

    color: white;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: transparent;
    background-image: none;
    border: 0;
    border-radius: 0;
    text-transform: none !important;
    text-align: center;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -webkit-transition: opacity .25s;
    transition: opacity .25s;
    opacity: .6;
}
.magic-starts-here button.magic-button:hover:before {
    text-shadow: 0px 0px 25px #000000, 0 0 1em #000000;
}

.magic-starts-here .tool-cell .magic-tool-curtain {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    position: absolute;
    opacity: .2;
    background-color: black;
}

.magic-starts-here .tool-cell .remove-magic-tool {
    top: 0;
    right: 0;
    opacity: .5;
    position: absolute;
    background-color: black;
}

.magic-starts-here .tool-cell .copy-magic-tool {
    top: 0;
    right: 25px;
    font-size: 18px;
    opacity: .5;
    position: absolute;
    background-color: black;
}

.magic-starts-here .tool-cell:hover .remove-magic-tool:hover,
.magic-starts-here .tool-cell:hover .copy-magic-tool:hover {
    opacity: 1;
}

.magic-starts-here .tool-cell .remove-magic-tool.loading:before,
.magic-starts-here .tool-cell .copy-magic-tool.loading:before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border: 2px solid white;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border-left-color: transparent;
    -webkit-animation: rotate 1s linear 0s infinite;
    animation: rotate 1s linear 0s infinite;
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
}

@-webkit-keyframes -webkit-rotate {
    from { -webkit-transform: rotateZ(0deg) translate(-50%, -50%); }
    to { -webkit-transform: rotateZ(360deg) translate(-50%, -50%); }
}

@keyframes rotate {
    from { transform: rotateZ(0deg) translate(-50%, -50%); }
    to { transform: rotateZ(360deg) translate(-50%, -50%); }
}

.magic-starts-here .tool-cell .tool-face {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: -webkit-transform .1s linear;
    transition: transform .1s linear;
}

.magic-starts-here .tool-cell:hover .tool-face {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.magic-starts-here .tool-cell .tool-name {
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    line-height: 2em;
}

.magic-starts-here .tool-cell .tool-name input {
    width: 100%;
    height: 100%;
    margin: 0;
    text-align: center;
    outline: none;
    background-color: rgb(250, 255, 189);
    color: black;
    border: 1px solid;
}

.magic-starts-here .tool-cell .tool-name.loading:before,
.magic-starts-here .tool-cell .tool-name.loading:after {
    content: "";
    top: 2px;
    left: 0%;
    width: 10%;
    height: 1px;
    position: absolute;
    background-color: white;
    -webkit-animation: loading 2s linear 0s infinite;
    animation: loading 2s linear 0s infinite;
    background-image: linear-gradient(to right, red, orange, yellow, green);
}

.magic-starts-here .tool-cell .tool-name.loading:before {
    -webkit-animation: loading 2s linear 1s infinite;
    animation: loading 2s linear 1s infinite;
}

@-webkit-keyframes -webkit-loading {
    0%   { left: 0%;   width: 0%;  }
    10%  { left: 0%;   width: 15%; }
    50%  { left: 30%;  width: 50%; }
    90%  { left: 90%;  width: 10%; }
    100% { left: 100%; width: 10%; }
}

@keyframes loading {
    0%   { left: 0%;   width: 0%;  }
    10%  { left: 0%;   width: 15%; }
    50%  { left: 30%;  width: 50%; }
    90%  { left: 90%;  width: 10%; }
    100% { left: 100%; width: 10%; }
}








/*tooltip base css*/

.magic-tooltip {
    overflow: visible;
    position: absolute;
    display: inline-block;
    z-index: 10000000000000;
    box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.5);
    background-color: #F3F2F2;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ABABAB;
    opacity: 1;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
    cursor: default;
    max-width: 400px;
    text-align: center;
}

.magic-tooltip.mtt-hide {
    opacity: 0;
}

.magic-tooltip .mtt-wrapper {
    top: 0;
    left: 0;
    overflow: visible;
    position: relative;
    display: inline-block;
}
.magic-tooltip .mtt-wrapper .mtt-message {
    padding: 6px;
}

.magic-tooltip .mtt-wrapper .mtt-arrow {
    position: absolute;
    border-style: solid;
    border-width: 4px;
    border-color: transparent;
    display: inline-block;
}

.magic-tooltip .mtt-wrapper .mtt-arrow.mtt-arrow-top {
    bottom: -6px;
    border-bottom-width: 0px;
    border-top-width: 6px;
    border-top-color: #ABABAB;
}

.magic-tooltip .mtt-wrapper .mtt-arrow.mtt-arrow-left {
    right: -6px;
    border-right-width: 0px;
    border-left-width: 6px;
    border-left-color: #ABABAB;
}

.magic-tooltip .mtt-wrapper .mtt-arrow.mtt-arrow-right {
    left: -6px;
    border-left-width: 0px;
    border-right-width: 6px;
    border-right-color: #ABABAB;
}

.magic-tooltip .mtt-wrapper .mtt-arrow.mtt-arrow-bottom {
    top: -6px;
    border-top-width: 0px;
    border-bottom-width: 6px;
    border-bottom-color: #ABABAB;
}



/*custom css*/
.magic-tooltip.warning {
    background-color: #FFDEDE;
    border-color: #FF7070;
    box-shadow: 1px 1px 5px 1px rgba(222,174,174,0.5);
}

.magic-tooltip.warning .mtt-wrapper .mtt-arrow.mtt-arrow-bottom {
    border-bottom-color: #FF7070;
}

.magic-tooltip.warning .mtt-wrapper .mtt-message {
    color: #FF7070;
}

.label {
    top: 0px;
    left: 0px;
    z-index: 42;
    color: white;
    padding: 4px;
    font-size: 15px;
    line-height: 15px;
    position: absolute;
    background-color: #76b81c;
}
