h1{ font-size: 3rem; }

.-ib { display: inline-block; }

.visible { display: block; }

.text-center {
    text-align: center;
}

.card {

    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    margin: 0 auto 20px;
    vertical-align:top;
}

.card-header {
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,.12);
}

.card-body {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.box{
    padding:20px;
    margin: 20px auto;
    vertical-align:top;
}

.message {
    background: #fff;
    border-left: 4px solid #fff;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.3);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.3);
    margin: 10px 15px 2px;
    padding: 10px;
}

.successful {
    border-color: #7ad03a;
}

.error {
    border-color: red;
}

.warning {
    border-color: orange;
}

/*
 *
 * ============================================
 *              CUSTOM TABLE
 * ===========================================
 *
 * */


.flatTable{
    border: 1px solid #ddd;
    font-weight:bold;
    color: #444;
}

.flatTable .headingTr{
    border:none;
    height:30px;
    background:#00aeef;
    color: #f6f3f7;
}

.flatTable td, .flatTable th{
    border:none;
    text-align: left;
    padding:10px;
}

.flatTable th{
    text-align:center;
}

.flatTable tr.offline{ background-color: #f2dede;}
.flatTable tr.online { background-color: #dff0d8; }
.flatTable.jobTable tr.online a { color: black; }

.flatTable.jobTable tr.offline td,
.flatTable.jobTable tr.offline a { color: black; font-weight:normal;}

.tableInfo{
    padding: 5px;
    text-align: center;
    margin-bottom: 20px;
    width: 230px;
    position:relative;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.tableInfo:before, .tableInfo:after {
    content:"";
    position:absolute;
    z-index:-1;
    -webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
    -moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
    box-shadow:0 0 20px rgba(0,0,0,0.8);
    top:0;
    bottom:0;
    left:10px;
    right:10px;
    -moz-border-radius:100px / 10px;
    border-radius:100px / 10px;
}
.tableInfo:after {
    right:10px;
    left:auto;
    -webkit-transform:skew(8deg) rotate(3deg);
    -moz-transform:skew(8deg) rotate(3deg);
    -ms-transform:skew(8deg) rotate(3deg);
    -o-transform:skew(8deg) rotate(3deg);
    transform:skew(8deg) rotate(3deg);
}


/*
 *
 * ============================================
 *              CUSTOM BUTTONS
 * ===========================================
 *
 * */

.btn {
    padding: 0 30px;
    text-decoration:none;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
    height: 38px;
    line-height: 38px;
    letter-spacing: .1rem;
    display:inline-block;
    text-align: center;
    font-size: 11px;
    white-space: nowrap;
    vertical-align: top;
}

.btn.btn-accepted{
    background-color: #dff0d8;
    color:white;
    cursor: default;
}

.btn.btn-call{
    background-color: #388E3C;
    color:white;
}

.btn-success{
    background-color: #388E3C !important;
    color:white;
}

.btn.btn-blue{
    background-color: #33C3F0;
    color:white;
}

.btn.btn-error{
    background-color: #D32F2F;
    color:white;
}

.btn.btn-error:hover{
    background-color: #B92929;
}

.button.disabled,
*[class^="button"].disabled {
    border:none !important;
    cursor:default !important;
    color: #aaa !important;
    background-color: auto !important;
}



/*
 *
 * ============================================
 *              CUSTOM CHECKBOX
 * ===========================================
 *
 * */

/* functionality */
input[type="checkbox"].graphic {
    display: none;
}

input[type="checkbox"].graphic + label,
input[type="checkbox"].graphic + label > .flag {
    padding: 0;
    display: inline-block;
}

input[type="checkbox"].graphic + label {
    position: relative;
    margin-left:60px !important;
}

input[type="checkbox"].graphic + label > .flag {
    position: absolute;
    right: 0;
    /* style */
    width: 68px;
    left: -75px;
    top: -15px;
    bottom: -15px;
}

/* checked state indicator images */
input[type="checkbox"].graphic + label > .flag {
    background-repeat: no-repeat;
    background-position: 0px 50%;
    content: '';
    z-index: 2;
    transform: scale(1) rotate(0deg);
}

input[type="checkbox"].graphic:checked + label > .flag,
input[type="checkbox"].graphic + label:active > .flag {
    background-image: url(/img/tick.png);
    transform: scale(0.9) rotate(360deg);
}

input[type="checkbox"].graphic + label > .flag,
input[type="checkbox"].graphic:checked + label:active > .flag {
    background-image: url(/img/cross.png);
    transform: scale(0.5) rotate(0deg);
}

/* animation */
input[type="checkbox"].graphic + label > .flag {
    transition: all 0.5s cubic-bezier(1, -0.36, 0, 1.385);
    /* custom */
    transition-timing-function: cubic-bezier(1, -0.36, 0, 1.385);
    /* custom */
}

/*
 *
 * ============================================
 *              CLEARFIX
 * ===========================================
 *
 * */

/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clear:before,
.clear:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clear:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clear {
    *zoom: 1;
}

/*
 *
 * ============================================
 *              OMNI WINDOW OVERLAY
 * ===========================================
 *
 * */


.ow-overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    height: 100%;
    width: 700%;

    background: #424242;
    opacity: 0.8;
}

.modal {
    z-index: 100000 !important;
    height: 85vh !important;
    top: 8.5vh !important;
    width: 70% !important;
    overflow: scroll !important;
    background-color: #fff
}

.ow-closed {
    display: none;
}

.close-button{
    position: fixed;
    padding: 7px 8px;
    border-radius: 50px;
    background: #ff8080;
    color: white;
    font-size: 1.2em;
    display: inline-block;
    margin: -7px 0 0 -7px;
}

/*
 *
 * ============================================
 *              CUSTOM SPACING
 * ===========================================
 *
 * */
.ml-0 {margin-left: 0 !important}
.ml-3 {margin-left: 3px;}
.ml-27 {margin-left: 27px;}
.mr-85 {margin-right: 85px !important}
.mr-10 {margin-right: 10px !important}
.mr-15 {margin-right: 15px;}
.mb-0 {margin-bottom: 0 !important}

.pl-30 {padding-left: 30px !important}
.pl-20 {padding-left: 20px !important}
.pl-15 {padding-left: 15px !important}
.pr-30 {padding-right: 30px !important}
.pr-20 {padding-right: 20px !important}
.pr-15 {padding-right: 15px !important}


.v-m { vertical-align: middle !important;}

.w-80 {width: 80%;}
.height-415 {height: 415px;}

.height-400 {height: 400px;}

.overflow-y-hide {overflow-y: auto;}

/*
 *
 * ============================================
 *                  BORDER
 * ===========================================
 *
 * */

.border-lr {
    border-left: 2px solid #ccc;
    border-right: 2px solid #ccc;
}

/*
 *
 * ============================================
 *              PANEL VIEW
 * ===========================================
 *
 * */
.panel {
    position: relative;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.panel-default {
    border-color: #ddd;
}

.panel-heading {
    padding: 5px 15px;
    border-bottom: 1px solid #ddd;
}
.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}
.panel-body {
    padding: 15px;
}
.panel.dropdown-popover {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 635px;
    z-index: 1;
}

/*
 *
 * ============================================
 *              ACCORDION VIEW
 * ===========================================
 *
 * */
.ui-accordion .ui-accordion-content{
    height: 100% !important;
}

.panel input[type=checkbox],
.dropdown-popover{
    display: none;
}

.panel input[type=checkbox]:checked + .dropdown-popover{
    display: block;
}

.panel-body .fa-toggle-down,
.panel-body .fa-toggle-up {
    font-size: 22px !important;
    padding-left: 5px;
}

.panel-body ul {
    list-style: none;
    display: block;
}
.panel-body ul li {
    padding: 8px 5px;
    margin-bottom: 0;
    border: 1px solid #ccc;
}

.call-details,
.accept-details,
.notes_created-details,
.sent-details{
    display: inline-block;
    width: 100%;
}

/*
 *
 * ============================================
 *              CALL HISTORY
 * ===========================================
 *
 * */

.list-history {
    padding: 10px 0 10px 25px;
    background-color: #f5f4f4;
    color: #000;
    display: inline-block;
    margin-bottom: 15px;
}

.list-history:last-child {
    margin-bottom: 0;
}

.list-history.yellowrebbin {
    box-shadow: inset 10px 0 0 0 yellow;
}

.list-history.greenrebbin {
    box-shadow: inset 10px 0 0 0 green;
}

.list-history.redrebbin {
    box-shadow: inset 10px 0 0 0 red;
}

.list-history.bluerebbin {
    box-shadow: inset 10px 0 0 0 blue;
}
.list-history h2 {
    font-size: 3.5rem;
}
