.custom-tag,
.custom-tag-show,
.custom-tag-log {
    -webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
    -moz-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
    -ms-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
    -o-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
    transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); /* easeOutBack */
}

.custom-tag-hide {
    -webkit-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -moz-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -ms-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -o-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045); /* easeInBack */
}

.custom-tag-log-hide {
    -webkit-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -moz-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -ms-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -o-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045); /* easeInBack */
}

.custom-tag-cover {
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: white;
    filter: alpha(opacity=0);
    opacity: 0;
}

.custom-tag-cover-hidden {
    display: none;
}

.custom-tag {
    position: fixed;
    z-index: 99999;
    top: 220px;
    left: 55%;
    width: auto;
    margin-left: -275px;
    opacity: 1;
    min-width: 150px;
}

.custom-tag-hidden {
    -webkit-transform: translate(0,-150px);
    -moz-transform: translate(0,-150px);
    -ms-transform: translate(0,-150px);
    -o-transform: translate(0,-150px);
    transform: translate(0,-150px);
    opacity: 0;
    display: none;
}
/* overwrite display: none; for everything except IE6-8 */
:root * > .custom-tag-hidden {
    display: block;
    visibility: hidden;
}

.custom-tag-logs {
    position: fixed;
    z-index: 5000;
    bottom: 10px;
    left: 10px;
    width: 300px;
}

.custom-tag-logs-hidden {
    display: none;
}

.custom-tag-log {
    display: block;
    margin-top: 10px;
    position: relative;
    left: -300px;
    opacity: 0;
}

.custom-tag-log-show {
    left: 0;
    opacity: 1;
}

.custom-tag-log-hide {
    -webkit-transform: translate(-300px, 0);
    -moz-transform: translate(-300px, 0);
    -ms-transform: translate(-300px, 0);
    -o-transform: translate(-300px, 0);
    transform: translate(-300px, 0);
    opacity: 0;
}

.custom-tag-dialog {
    padding: 25px;
}

.custom-tag-resetFocus {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.custom-tag-inner {
    /*text-align: left;*/
}

.custom-tag-inner > div {
    overflow-y: visible;
    max-width: 450px;
    max-height: 300px;
}

.custom-tag-text {
    margin-bottom: 15px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 100%;
}

.custom-tag-buttons {
    text-align: right !important;
}

.custom-tag-button,
.custom-tag-button:hover,
.custom-tag-button:active,
.custom-tag-button:visited {
    background: none;
    text-decoration: none;
    border: none;
    /* line-height and font-size for input button */
    line-height: 1.5;
    font-size: 100%;
    display: inline-block;
    cursor: pointer;
    margin-left: 5px;
}

@media only screen and (max-width: 680px) {
    .custom-tag,
    .custom-tag-logs {
        width: 90%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .custom-tag {
        left: 5%;
        margin: 0;
    }
}
