
/* WAYNE - add media query to always show cog icon on mobile  */
.panel-heading:hover .dropdown {
    opacity: 1 !important;
}

.dropdown {
    transition: opacity 0.3s linear;
}

.card {
    -webkit-perspective: 800;
    perspective: 800;
    position: relative;
}

.card .panel.flipped {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
}

.card .panel {
    height: 100%;
    -webkit-transform-style: preserve-3d;
    -webkit-transition: 0.5s;
    transform-style: preserve-3d;
    transition: 0.5s;
}

.card {
    width: 100%
}

.card .panel .face {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 2;
}

.card .panel .front {
    position: absolute;
    width: 100%;
    z-index: 1;
}

.card .panel .back {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    transition: 0.5s;
}

.inner {
    margin: 0px !important;
}

.nav-tabs.centered > li, .nav-pills.centered > li {
    float: none;
    display: inline-block;
    *display: inline; /* ie7 fix */
    zoom: 1; /* hasLayout ie7 trigger */
}

.nav-tabs.centered, .nav-pills.centered {
    text-align: center;
}

.trigger_channel .btn-primary.active, .trigger_channel .btn-primary.active.focus, .trigger_channel .btn-primary.active:focus, .trigger_channel .btn-primary.active:hover, .trigger_channel .btn-primary:active.focus, .trigger_channel .btn-primary:active:focus, .trigger_channel .btn-primary:active:hover {
    border-color: #575757;
    color: #fff;
    box-shadow: inset 0 2px 10px #3D3D3D;
    background-color: #9E9E9E;
    border-right: 1px solid #fff;
}

.trigger_channel .btn-primary {
    border-right: 1px solid #fff !important;
}

.trigger_channel .btn-primary.disabled.active, .trigger_channel .disabled.active:focus {
    box-shadow: none !important;
    background-color: #62a8ea !important;
    border-color: #62a8ea !important;
}

.priority .btn.active {
    box-shadow: inset 0 2px 3px #000;
    border-right: 1px solid #fff
}

/*List item for custom card details */
.trigger-wrap li .list-group-item {
    padding: 3px;
    background-color: transparent;
}

:not(label) input[type="radio"], input[type="radio"]:focus, input[type="radio"], :focus {
    outline: none;
    outline-color: transparent;
    outline-style: none;
    box-shadow: none !important;
}

/*Expand description box */
textarea.ta-expand {
    height: 36px;
    resize: none;
    transition: all 0.5s ease;
    resize: vertical;
}

textarea.ta-expand:focus {
    height: 4.5em;
}

/* Move plus icon for message tags*/
.message_tags .panel-group .panel-title:before, .message_tags .panel-group .panel-title:after {
    right: 6px;
    top: 5px;
}

/* dedicated classes to control trigger type */
.hide-human {
    display: none !important;
}

.hide-machine {
    display: none !important;
}

.hide-campaign {
    display: none !important;
}

.hide-both {
    display: none !important;
}


.trigger_type li .panel {
    -webkit-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    transition: all .3s ease-in;
}

.trigger_type li:hover .panel {
    cursor: pointer;
    transform: translate(0,-6px);
}


/* Nicer border for select trigger popup*/
#newtrigger .panel {
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

/* Hack to make drop down on top of trigger phrase*/
#trigger_act .col-md-6 {
    z-index: 100
}

/* Hack to make drop up above trigger type menus */
.btn-group > .btn.active {
    z-index: inherit;
}

/* Style success tabs */
.nav-tabs.centered .success {
    color: #fff !important;
    background-color: #46BE8A;
    border-bottom-color: #246C4D;
}

.nav-tabs.centered .success.current:hover {
    color: #76838f !important
}

.nav-tabs.centered .success:hover {
    color: #fff !important
}

.nav-tabs-line > li.active > a, .nav-tabs-line > li.active > a:focus {
    color: #62a8ea !important;
}

.nav-tabs.centered a.disabled {
    cursor: not-allowed;
}

/* Validation icon positioning */
.has-feedback .form-control-feedback {
    top: 0;
    right: 20px;
}

.form-horizontal .has-feedback .form-control-feedback {
    top: 0;
    right: 20px;
}

@-moz-document url-prefix() {

    .modal.modal-3d-sign {
        -webkit-perspective: unset !important;
        perspective: unset !important;
    }

}

table td .use-device .fa-minus,
table td .use-device.selected .fa-plus {
    display: none
}
table td .use-device.selected .fa-minus {
    display: block
}
#devices_table tr th:first-child,
#devices_table tr td:first-child {
    width: 0
}
#devices_table tr.detail-view td {
    width: auto !important
}
.btn-xxl {
    font-size: 34px;
    font-weight: lighter;
    border-radius: 15px;
    padding: 15px 18px;
}

/*  devices tab */
div.devices-tab-container{
    z-index: 10;
    background-color: #ffffff;
    padding: 0 !important;
    margin-top: 20px;
}
div.devices-tab-menu{
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
}
div.devices-tab-menu div.list-group{
    margin-bottom: 0;
}
div.devices-tab-menu div.list-group>a{
    margin-bottom: 0;
    border-radius: 0;
    background: transparent;
    color: white !important;
}
div.devices-tab-menu div.list-group>a .glyphicon,
div.devices-tab-menu div.list-group>a .fa {
    color: white !important;

}
div.devices-tab-menu div.list-group>a:first-child{
    border-top-right-radius: 0;
    -moz-border-top-right-radius: 0;
}
div.devices-tab-menu div.list-group>a:last-child{
    border-bottom-right-radius: 0;
    -moz-border-bottom-right-radius: 0;
}
div.devices-tab-menu div.list-group>a.active {
    border-radius: 3px;
}
div.devices-tab-menu div.list-group>a.active,
div.devices-tab-menu div.list-group>a.active .glyphicon,
div.devices-tab-menu div.list-group>a.active .fa{
    background-color: #526069;

    color: #ffffff;
}
div.devices-tab-menu div.list-group>a.active:after{
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -13px;
    border-left: 0;
    border-bottom: 13px solid transparent;
    border-top: 13px solid transparent;
    border-left: 10px solid #526069;
}

div.devices-tab-content{
    background-color: #ffffff;
    /* border: 1px solid #eeeeee; */
    padding-left: 20px;
    /*padding-top: 10px;*/
}

div.devices-tab div.devices-tab-content:not(.active){
    display: none;
}
#selected-devices-tabs-list,
#auth-devices-tabs-list
{
    background: #9e9e9e
}
div.devices-tab-content .addon-dark
{
    color: #fdfeff;
    background-color: #76838f;
    border: 1px solid #76838f;
}
div.devices-tab-content .addon-darker
{
    background-color: #526069;

}
div.devices-tab-content .addon-darker:first-child
{
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}


.input-group-btn.addon-darker .btn > .icon,
.auth-group .btn > .icon
{
    vertical-align: middle;
}
.tokenfield-px-fix .token-input {
    padding-bottom: 2px
}
.no-tokens {
    pointer-events: none;
}
.no-tokens .caret {
    display:none
}
.auth-group.no-auth div.tokenfield.form-control {
    display:none
}
.auth-group.no-auth span.auth-label {
    width:auto
}
#triggers tr {
    /*cursor: pointer*/
}
#trigger_act div.devices-tab-menu div.list-group > a .alert-ico.show-conflict.fa {
    color:red !important;
}
#trigger_act .alert-ico.show-conflict {
    display: inherit !important;
}
.token.conflict {
    border-color: red !important
}

.human-title .channel-alert {
    color: red;
    display: none;
}
.select-one {
    background-color: rgba(255,234,234,.8)
}
.select-one .channel-alert{
    display: inline-block
}
@media (min-width: 1000px) {
    .modal-xl {
        width:90%
    }
}

body.triggers .delete-trigger-library {
    display:inline-block !important
}
#triggers thead > tr > th.detail,
#triggers tbody > tr:not(.detail-view) > td:first-of-type {
    display: none;
}

#triggers thead > tr > th:nth-child(2),
#triggers tbody > tr:not(.detail-view) > td:nth-child(2) {
    border-left: none!important;
}
#triggers .detail-view .row {
    padding: 15px;
}
#triggers .detail-view .section-header,
#triggers .detail-view hr {
    margin:10px 15px;
}

.device-block {
    padding: .5em 1em 1em 1em;
    background: #f3f7f9;
    border-radius: 5px;
    border: 1px solid #e4eaec;

}
.inner-table {
    border-collapse: separate;
    border-spacing: 0 5px;
}

.device-block .inner-table tr td:first-child {
    display:table-cell !important;
    width: 35%
}
