/* background */
html, body{
    background: -moz-linear-gradient(top, #6c89b5 0%, #144794 100%);
    /*background: rgb(108,137,181);*/
	background: rgba(20,71,148,1);
    background: linear-gradient(180deg, rgba(108,137,181,1) 0%, rgba(20,71,148,1) 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    webkit-background-size:cover;
    -moz-background-size:cover;
    -o-background-size:cover;
    background-size:cover;
	background-attachment: fixed !important;
}

body {
	text-align: center;
	color: rgb(255, 255, 255);
	position: relative;
	/*min-height: 150px;*/
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
	color: #333;
	text-shadow: none; /* Prevent inheritence from `body` */
	background-color: #fff;
	border: 1px solid #fff;
}

.form-signin {
	max-width: 800px;
	margin: 0 auto;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
	margin-top: 5px;
}
.form-signin .form-signin-content{
	margin-top: 5px;
}

input[type='number'] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* main menu container */
nav.navbar {
    display: none !important;
}

/* main menu logo */
img.navbar-logo {
    display: none !important;
}

/* keypad */
input.btn, input.button, button.btn-default {
    padding: 5px 8px;
    border: 1px solid #242424;
    border-radius: 5px 5px 5px 5px;
    background: #4f4f4f;
    background-image: -webkit-linear-gradient(top, #4f4f4f 0%, #000000 100%);
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    vertical-align: middle;
}
input.btn:hover, input.btn:active, input.btn:focus, input.button:hover,	input.button:active, input.button:focus, button.btn-default:hover, button.btn-default:active, button.btn-default:focus {
	color: #ffffff !important;
}

/* non usato... */
#keypad_button{
    margin-bottom: 5px;
    margin-right: 3px;
    width: 48px !important;
    height: 48px !important;
    font-size: 20px;
    font-weight: bold;
}

/* webphone */
#webphone_body{
    text-shadow:0 0px 0px rgba(0,0,0,.5);
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    border-color: #292929;
    background: #333;
    padding: 15px;
    margin-bottom: 10px;
}
#webphone_display{
    background-color: #808080;
    margin-bottom: 10px;
    padding-top: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: #292929;
    border-radius: 15px;
    height: 120px;
}
#webphone_keypad{
    border-style: inset;
    border-width: 1px;
    border-radius: 15px;
    border-color: #292929;
    background: -moz-linear-gradient(top, #616161 0%, #333 100%);
    background: rgb(97,97,97);
    background: linear-gradient(180deg, rgba(97,97,97,1) 0%, rgba(51,51,51,1) 100%);
    padding: 20px 0px 0px 0px;
    margin:0px 5px 5px 5px;
}
#webphone_keypad_right{
    border-style: inset;
    border-width: 1px;
    border-radius: 15px;
    border-color: #292929;
    background: -moz-linear-gradient(top, #616161 0%, #333 100%);
    background: rgb(97,97,97);
    background: linear-gradient(180deg, rgba(97,97,97,1) 0%, rgba(51,51,51,1) 100%);
    padding: 20px 0px 5px 0px;
    margin: 0px 5px 5px 5px;
}
#webphone_blf{
    text-shadow:0 0px 0px rgba(0,0,0,.5);
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    border-color: #292929;
    background: #333;
    padding: 20px;
}

.campaign-switcher {
    margin: 0;
    padding: 20px;
    border: 1px solid #292929;
    border-radius: 15px;
    background: #2a2a2a;
}

.campaign-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: stretch;
}

.campaign-button {
    min-width: 140px;
    flex: 1 1 140px;
    padding: 8px 10px;
    border: 1px solid #4b5563;
    border-radius: 8px;
    background: #3b3f46;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.3);
}

.campaign-button:hover,
.campaign-button:focus {
    color: #ffffff;
    border-color: #7aa7ff;
    background: #46505d;
    outline: none;
}

.campaign-button.is-active {
    border-color: #2ecc71;
    background: linear-gradient(180deg, #217c4a 0%, #145f35 100%);
    box-shadow: 0 0 0 2px rgba(46, 204, 113, .24), inset 0 1px 0 rgba(255,255,255,.16);
}

.campaign-button.is-loading {
    opacity: .7;
    cursor: wait;
}

#loginbtn.is-loading {
    opacity: .7;
    cursor: wait;
}

.campaign-button-title,
.campaign-button-meta {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.campaign-button-title {
    font-size: 13px;
    font-weight: 700;
}

.campaign-button-meta {
    margin-top: 3px;
    font-size: 11px;
    color: #d7dde7;
}

.campaign-button.is-active .campaign-button-meta {
    color: #eefaf2;
}

.customer-form-message {
    margin-top: 10px;
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.customer-form-message.is-success {
    border: 1px solid #2ecc71;
    background: rgba(46, 204, 113, .16);
    color: #dff8e8;
}

.customer-form-message.is-error {
    border: 1px solid #e74c3c;
    background: rgba(231, 76, 60, .16);
    color: #ffe4e0;
}

.customer-form-message.is-info {
    border: 1px solid #f1c40f;
    background: rgba(241, 196, 15, .14);
    color: #fff6d8;
}

.mic-level-meter {
    margin-top: 8px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    height: 8px;
    border-radius: 4px;
    background: #333;
    overflow: hidden;
}

.mic-level-meter-bar {
    height: 100%;
    width: 0%;
    background: #2ecc71;
    transition: width 60ms linear;
}

.customer-admin-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -2px 0 15px 0;
}

.customer-admin-links a {
    padding: 7px 10px;
    border: 1px solid #5b6675;
    border-radius: 8px;
    background: #343a42;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.customer-admin-links a:hover,
.customer-admin-links a:focus {
    border-color: #7aa7ff;
    background: #46505d;
    color: #ffffff;
    text-decoration: none;
}

.ai-call-transfer-header {
    display: none;
    position: fixed;
    top: 12px;
    left: 50%;
    z-index: 1000;
    transform: translateX(-50%);
    padding: 8px 18px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .82);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: center;
    white-space: nowrap;
}

.customer-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.customer-card-heading h3 {
    margin: 0;
    color: #ffffff;
    text-align: left;
}

.call-direction {
    flex: 0 0 auto;
    padding: 5px 9px;
    border: 1px solid #687687;
    border-radius: 999px;
    background: #39434f;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Temporarily hide BLFs while preserving their DOM for presence subscriptions. */
#blfSection {
    display: none !important;
}

#hideAll
{
   position: fixed;
   left: 0px; 
   right: 0px; 
   top: 0px; 
   bottom: 0px; 
   background-color: white;
   z-index: 99; /* Higher than anything else in the document */
}
