.swv-input {
    margin: 16px 0;
    min-height: 130px;
}

.swv-tag {
    position: relative;
    margin: 4px 4px;
    min-height: 28px;
    max-height: 28px;
    border: 1px solid #ddd;
    border-radius: 2px;
    opacity: 1;
}

.swv-tag-container {
    min-height: 78px;
    border: 1px solid #eee;
    border-radius: 2px 2px 0 0;
    position: relative;
}

.swv-tag-container * {
    outline: none;
}

.swv-tag-actions {
    position: absolute;
    color: #666;
    padding: 0;
    text-align: center;
    padding: 2px 0 0 4px;
    outline: 0;
    width: 84px;
    height: 26px;
}

.swv-tag-actions span {
    font-size: 10pt;
    font-weight: 500;
}

.swv-tag-actions svg {
    fill: #666;
}

.swv-tag-actions md-icon {
    min-height: 20px;
    min-width: 20px;
    width: 20px;
    height: 20px;
    margin: 0px 2px;
}

.swv-tag.disabled {
    opacity: 0.5;
    cursor: default;
}

.swv-tag.disabled:focus {
    outline: none;
}

.swv-tag.disabled .swv-bid {
    background-color: #ddd;
    color: #999;
}

.swv-tag.disabled .swv-rev {
    background-color: #eee;
    color: #999;
}

.swv-tag input {
    line-height: 1em;
    background-color: inherit;
    font-size: 10pt;
    box-shadow: none !important;
    border-bottom: none !important;
    width: 100%;
    height: 100%;
    outline: 0;
}

.swv-bid,
.swv-rev {
    -moz-transition: background-color ease-out 0.25s;
    -o-transition: background-color ease-out 0.25s;
    transition: background-color ease-out 0.25s;
}

.swv-bid {
    background-color: #29B6F6;
    color: white;
    padding: 1px 5px;
    font-weight: 700;
    max-width: 116px;
    overflow: hidden;
}

.swv-bid span,
.swv-rev span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.swv-rev {
    background-color: #4FC3F7;
    color: white;
    padding: 1px 5px;
    border-left: 1px solid white;
    max-width: 28px;
    overflow: hidden;
    font-weight: 500;
}

.swv-tag.frozen .swv-bid,
.swv-tag.frozen .swv-rev {
    cursor: default;
}

.swv-tag:not(.frozen) .swv-bid,
.swv-tag:not(.frozen) .swv-rev {
    cursor: auto;
}

.swv-input.editing .swv-tag:not(.edit) {
    opacity: 0.33;
}

.swv-input.editing .swv-tag:not(.edit) .swv-bid,
.swv-input.editing .swv-tag:not(.edit) .swv-rev {
    background-color: #999;
}

.swv-input.editing .swv-tag.edit .swv-bid,
.swv-input.editing .swv-tag.edit .swv-rev
{
    -moz-transition: background-color ease-out 0.25s;
    -o-transition: background-color ease-out 0.25s;
    transition: background-color ease-out 0.25s;
}

.swv-input.editing .swv-tag.edit .swv-bid {
    background-color: #FF7043;
}

.swv-input.editing .swv-tag.edit .swv-rev {
    background-color:#FF8A65;
}

.swv-input.editing .swv-tag.edit .swv-action {
    opacity: 0.33;
}

.swv-action {
    width: 28px;
    background-color: #f0f0f0;
}

.swv-input.editing .swv-action md-icon {
    cursor: default;
}

.swv-action md-icon {
    min-width: 18px;
    min-height: 18px;
    width: 18px;
    height: 18px;
}

.swv-action svg {
    fill: #666;
}

.swv-action md-icon.disabled svg {
    fill: #aaa;
}

.swv-watermark {
    font-size: 22pt;
    font-weight: 500;
    color: #ddd;
    width: 100%;
    position: absolute;
    vertical-align: middle;
    padding: 10px;
}

.swv-watermark.disabled {
    top: 75px;
}

.swv-form {
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    background: #f5f5f5;
    border-radius: 0 0 2px 2px;
}

.swv-form.disabled {
    opacity: 0.5;
}

.swv-message {
    font-size: 10pt;
    font-weight: 700;
    opacity: 0.75;
}

.swv-message .error {
    color: red;
}

.swv-message .warning {
    color: orangered;
}

.swv-input .swv-form input.ng-empty,
.swv-input .swv-form input.ng-empty-leave {
    color: #ddd;
}

.swv-input.editing .swv-form input.ng-not-empty {
    -moz-transition: ease-in 0.25s;
    -o-transition: ease-in 0.25s;
    transition: ease-in 0.25s;
    color: #666;
}

.swv-input.editing .swv-form input:focus {
    box-shadow: inset 0 -2px 0 #FF5722;
}


.swv-tag.ng-leave {
    -moz-transition: opacity ease-out 0.33s;
    -o-transition: opacity ease-out 0.33s;
    transition: opacity ease-out 0.33s;
    opacity: 1;
}

.swv-tag.ng-leave .swv-bid {
    -moz-transition: background-color ease-out 0.25s;
    -o-transition: background-color ease-out 0.25s;
    transition: background-color ease-out 0.25s;
    background-color: #ccc;
}

.swv-tag.ng-leave .swv-rev {
    -moz-transition: background-color ease-out 0.25s;
    -o-transition: background-color ease-out 0.25s;
    transition: background-color ease-out 0.25s;
    background-color: #ddd;
}

.swv-tag.ng-leave-active {
    opacity: 0;
}