/**
 * btn
 */

.btn {
    background-color: #f1f1f1 !important;
    font-weight: 300;
}

.btn:hover, .btn:focus, .btn:active, .btn.active, .btn[disabled], .btn.disabled {
    background-color: #cccccc !important;
    font-weight: 300;
}

.btn.ays-btn-primary {
    background: #ff5050 !important;
    color: #ffffff!important;
}

.btn.ays-btn-primary:hover {
    background: #f34444 !important;
}

.btn.ays-btn-primary .caret {
    border-top-color: #ffffff;
}

.btn.ays-btn-mini {
    padding: 5px;
}

.btn.info {
    background-color: #cccccc !important;
    color: #ffffff;
}

.btn.ays-btn-secondary {
    background-color: #fee4e4 !important;
    color: #fb4747;
    font-size: 13px;
}

.page-title .pull-right .btn.ays-btn-secondary {
    line-height: 20px;
    /*margin-top: 5px;*/
}

.btn.ays-btn-secondary:hover {
    background-color: #e0caca !important;
}

.btn-link,
.btn-link:hover,
.btn-link:focus {
    color: #333333;
    font-weight: 600;
}

a.btn-link:hover {
    text-decoration: underline;
}

.btn-disabled, .btn-disabled:hover {
    background: #cccccc !important;
    color: #f1f1f1;
    cursor: default;
}

.ays-remove.btn {
    color: #cccccc;
    font-size: 20px;
}

button.close {
    background-image: none !important;
    height: 20px;
    width: 20px;
}

.ays-btn-separated {
    border-right: 1px solid #ffffff;
}

.ays-btn-drag {
    cursor: move;
}

.ays-btn-translate .ays-language,
.ays-btn-translate .ays-language-large {
    display: inline-block;
    border: 1px solid #333333;
    padding: 2px 5px;
    text-align: center;
    text-transform: uppercase;
}

.ays-btn-translate .ays-btn-primary .ays-language, .ays-btn-translate a:hover .ays-language {
    border-color: #ffffff;
}

.page-content .ays-btn-translate .dropdown-menu li > a {
    padding: 2px;
    color: #333333;
}

.ays-translate-btn-form .ays-btn-translate {
    display: inline-block;
    width: 100px;
    margin: 0 0 0 -104px;
    padding: 0;
}

.ays-translate-btn-form input, .ays-translate-btn-form textarea {
    padding-right: 100px !important;
}

.ays-translate-btn-form .btn.dropdown-toggle {
    padding-left: 5px;
    padding-right: 5px;
    width: 90px;
}

.ays-rich-translate-btn-form {
    position: relative;
}

.ays-translate-btn-form.ays-rich-translate-btn-form .btn.dropdown-toggle {
    height: 21px;
}

.ays-translate-btn-form.ays-rich-translate-btn-form .ays-btn-translate {
    position: absolute;
    top: 2px;
    right: 2px;
    margin: 0;
}

.page-content .ays-btn-translate .dropdown-menu li > a.ays-btn-primary {
    color: #ffffff;
}

#frameRefresh {
    display: inline-block;
    margin: 15px;
}

#frameRefresh i {
    margin-right: 5px;
}

#custombutton_represent {
    display: inline-block;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    line-height: 1.42857143;
    border-radius: 2px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    padding: 6px 20px 4px 20px;
    font-size: 14px;
    text-decoration: none;
    white-space: normal;
    color:#ffffff;
    font-family: 'Roboto Condensed'
}
/* DEBUG FORM CHANGES */
/* .ays-nav-link{ */
/*     background-color: blue !important; */
/*     color: red !important; */
/*     border: 1px solid blue !important; */
/* } */
@keyframes spinner {
    from {transform: translate(-50%, -50%)}
    to {transform: translate(-50%, -50%) rotate(360deg);}
}
.ays-btn-dblclick:before {
    content: none;
    box-sizing: border-box;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #000;
    animation: spinner .6s linear infinite;
    top:50%;
    left:50%;
    visibility: initial;
}
.ays-btn-dblclick.clicked {
    visibility: hidden;
    position: relative;
}
.ays-btn-dblclick.clicked:before {
    content: '';
}