/* TODO react: port this to Application */
html {
    overflow-y: scroll;
}

body, html {
    height: 100%;
}

body {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #4a4a4a;
    background: #F5F7FA;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/*i18n*/
intl {
    visibility: hidden;
}

/*i18n*/
.visible {
    visibility: visible;
}

.content {
    padding-top: 0px;
    padding-bottom: 41px;
    border-radius: 1px 0px 0px 0px;
    transition: margin-left 0.3s ease-in-out 0s;
}

@media only screen
  and (max-width: 979px) {
    .content {
        box-shadow: none;
    }
}

.page-header {
    border: none;
    margin-left: 15px;
}

.login-bar {
    transition: margin-left 0.3s ease-in-out 0s;
}

@media only screen and (max-width: 767px) {

    body {
        padding: 0;
    }

    /*prevent header buttons from colliding with header title*/
    h2.page-header div.pull-right {
        float: none;
    }

    /* Prevents page counter and next/prev nav from floating on top of table */
    div.clearfix > ul.pager.pull-right {
        float: none;
    }
}

/*
The following was tuned to accommodate both titles as well as secondary navigation
*/
h2.page-header {
    font-weight: normal;
    font-size: 24.5px;
    line-height: 34px;
    margin-bottom: 8px;
}

h1, h1 > span {
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
}

h2, h2 > span {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
}

h3, h3 > span {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 28px;
}

h4, h4 > span {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}

td > strong {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
}

.table td {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
}

.table th {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
}

h5, h5 > span {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
}

.footer {
    position: relative;
    bottom: 0px;
    text-align: right;
    padding: 10px 0;
    background-color: #ffffff;
    width: 100%;
    height: 20px;
    color: #4a4a4a;
    font-size: 12px;
}

.footer a {
    color: #4a4a4a;
    font-size: 12px;
}

.copyright {
    padding-right: 65px;
}

#activity-spinner {
    position: fixed;
    bottom: 19px;
    right: 19px;
    z-index: 10000;
}

#page-alerts {
    position: fixed;
    top: 19px;
    right: 19px;
    z-index: 10000;
    font-size: 20px;
}

#page-alerts .alert {
    display: none;
}

a {
    color: #17859B;
    text-decoration: none;
}

/*Adding text-danger from Bootstrap 3 - until we are using Bootstrap 3 or greater */
.text-danger {
  color: #a94442 !important;
}
a.text-danger:hover,
a.text-danger:focus {
  color: #843534 !important;
}

a > i.fa {
    color: initial;
}

a:focus {
    outline: 0;
}

tbody .icon-custom-angaza {
    margin-top: 0;
}

.icon-custom-angaza {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    *margin-right: .3em;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url("/static/bundles/img/angaza_logo_glyph.png") !important;
    background-position: center center;
    background-repeat: no-repeat;
}

.icon-custom-archive {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    *margin-right: .3em;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url("/static/bundles/img/archive.png");
    background-position: center center;
    background-repeat: no-repeat;
}

.icon-custom-restore {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    *margin-right: .3em;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url("/static/bundles/img/restore.png");
    background-position: center center;
    background-repeat: no-repeat;
}

::-webkit-scrollbar {
    width: 20px;
    height: 18px;
  }

  ::-webkit-scrollbar-track {
    background-color: transparent;
  }

  ::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
  }

  ::-webkit-scrollbar-thumb:hover {
    background-color: #a8bbbf;
  }

.wrapper {
    min-height: 100%;
    margin: 0 auto -41px;
    position: relative;
}

#react-app {
  height: 100%;
}

body.dragging, body.dragging * {
  cursor: move !important;
}

.dragged {
  position: absolute;
  opacity: 0.7;
  z-index: 2000;
}

.draggable .placeholder {
    background-color: #f2f2f2;
    outline: thin solid #d3d3d3;
    height: 30px;
}

.draggable i.fa.fa-reorder {
    color: #d3d3d3;
    cursor: move;
}

figcaption.attribution {
    font-size: 9px;
    text-align: center;
    line-height: normal;
}

.tooltip-inner {
    color: white;
    background: #0B1D2F;

    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0px;
    text-align: left;
}

.tooltip.in {
    opacity: 1;
}

.tooltip.top .tooltip-arrow {
    border-top-color: #0B1D2F;
    opacity: 1;
}
/* Hint text made lighter; unfortunately no cross-platform way to do this:
http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css
*/
 input[type=text]::-webkit-input-placeholder { /* WebKit browsers */
    color:    #CBCBCB;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #CBCBCB;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #CBCBCB;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
   color:    #CBCBCB;
}

/*Input text darkened, to further differentiate from hint text.*/
.uneditable-input, input[type=text], input[type=password],
input[type=datetime], input[type=datetime-local], input[type=date],
input[type=month], input[type=time], input[type=week], input[type=number],
input[type=email], input[type=url], input[type=tel], input[type=color],
input[type=search], textarea,
select.input-large,
span.bootstrap-switch-handle-on.bootstrap-switch-default {
    color: #111;
}

select[multiple] {
    resize: both;
    overflow-x: auto;
    max-width: 100%;
}

.form-text {
    line-height: 30px;
}

.form-text .whitespace {
    white-space: pre-wrap;
}

/* dramatically reduce space between form lines */
.form-horizontal .control-group {
    margin-bottom: 5px;
}

.form-collection-search {
    display: inline-block;
    margin-bottom: 0px;
    margin-top: 0px;
}

form {
    margin: 0px;
}

/*
 * Reset the height of a <Input> warning or error.
 * This Overrides bs2's .row-fluid [class*="span"] which sets the min-height
 * to 30px. We override the bs2's span class here to avoid additional space
 * underneath error or warnings underneath inputs.
 */
.initial-min-height {
    min-height: initial !important;
}

textarea.simplebox,textarea.simplebox:focus {
  outline: none;
  border: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
  cursor: default;
  resize: none;
}

@media only screen and (max-width: 767px) {

    div.controls > input[type="text"].input-mini {
        margin-top: 4px;
    }

    /*Smaller inputs when editing account/client details*/
    div.card-one-third .input-mini {
        width: 60px;
    }

    div.card-one-third .input-medium {
        width: 150px;
    }

    select {
        max-width: 100%;
    }

    /*Smaller phone input when editing client details*/
    div.card-one-third [type="tel"] {
        width: 121px;
    }
}

/* Prevent scroll to top on modal open https://stackoverflow.com/a/21881894 */
body.modal-open {
    overflow: visible !important;
}

.modal {
    border-radius: 4px;
}

.modal form {
    /* override form padding for forms inside dialogs */
    margin-bottom: 0px;
}

.modal-header > h3 > a + intl {
    vertical-align: middle;
}

/*
Disable the sliding-in of dialogs, leaving only the fading behavior.
See:
  http://stackoverflow.com/questions/10143444/twitter-bootstrap-modal-how-to-remove-slide-down-effect
*/
.modal.fade{
    -webkit-transition: opacity .1s linear, none;
    -moz-transition: opacity .1s linear, none;
    -ms-transition: opacity .1s linear, none;
    -o-transition: opacity .1s linear, none;
    transition: opacity .1s linear, none;
    top: 15%;
}
.modal.fade.in {
    top: 15%;
    /* avoid a right padding of empty space */
    padding-right: 0 !important;
}

.note-input {
    width: 90%;
    resize: vertical;
}

@media only screen and (max-height: 639px) {
    /*
     Override bootstrap@2.3.2 max-height of 400px
     https://github.com/cdnjs/cdnjs/blob/352abf8a49101219bbd4f1ccfa2eba0d0d60a67b/ajax/libs/twitter-bootstrap/2.3.2/css/bootstrap.css#L5248-L5253
    */
    .modal-body {
        max-height: 250px;
    }
}

.btn-upload {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    filter: alpha(opacity=0);
    opacity: 0;
    background-color: transparent;
    color: transparent;
}

.btn-toolbar {
    margin: 0px;
    line-height: 0px;
}

.btn-toolbar .btn-group {
    margin-right: 3px;
}

.btn {
    background-image: none;
    box-shadow: none;
}

.btn-toolbar .btn {
    color: #4a4a4a;
    background-color: #eeeeee;
}

.btn:active {
    background: #0088cc;
}

.btn-group-vertical>.btn:last-child {
    margin-bottom: 10px;
}

@media only screen and (max-width: 767px) {

    /*style buttons at small width*/
    h2.page-header div.btn-toolbar .btn {
        margin: 3px;
    }


}

.accordion h4 {
    color: #4a4a4a;
    margin: 0px;
    font-weight: normal;
}

.accordion h5 {
    color: #102A43;
    margin: 0px;
    font-weight: 500;
    font-size: 12px;
}

.accordion h5 > span {
    font-size: 12px;
}

.accordion h6 {
    color: #4a4a4a;
    margin: 0px;
    font-weight: normal;
    font-style: normal;
}

.accordion-heading-small {
    background-color: #fff;
    padding: 4px;
    padding-left: 7px;
    margin-bottom: 1px;
    margin-top: 1px;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.smaller {
    width: 70%;
    align-items: top;
}

.accordion-heading {
    background-color: #cccccc;
    border-radius: 4px;
    padding: 4px;
    margin: 10px 0px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.accordion-heading:hover{
    background-color: #e0e0e0;
}

.accordion-toggle:focus,
.accordion-toggle:hover {
    text-decoration: none;
}

.accordion-toggle {
    display: flex !important;
    align-items: center;
    text-decoration: none;
}

.accordion-inner {
    padding: 0px 15px;
    border: none;
}

.row-fluid .card {
    background-color: #ffffff;
    padding: 15px;
    /*margin-bottom: 30px;*/
    color: #524331;
    /*min-height: 300px;*/
}
.card {
    background-color: #ffffff;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #524331;
    /*min-height: 300px;*/
    height: auto;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}

/* This allows ko cards to have correct margins when placed after react cards
 * hackishly hardcoding the percent bootstrap uses for non-first row-fluid elems
 * TODO fix this to only work when the nested row-fluid is not first-child
 */
.row-fluid .row-fluid .card-one-third:first-child {
    margin-left: 2.127659574468085%;;
}

.span6.card-one-half {
    border-left: 1px solid #D9D9D9;
    float: left;
    background-color: #ffffff;
    padding: 15px;
    margin: 10px 10px 10px 0;
    color: #524331;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.span4.card-one-third {
    border-left: 1px solid #D9D9D9;
    float: left;
    background-color: #ffffff;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #524331;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    height: 550px !important;
    overflow-y: auto;
    overflow-x: hidden;
}

.span4.card-one-third.multicard {
    background-color: transparent;
    border: 0px;
    padding: 0px;
}

.multicard > .innercard {
    width: 100%;
    border-left: 1px solid #D9D9D9;
    float: left;
    background-color: #ffffff;
    padding: 15px;
    margin-top: 0px;
    color: #524331;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    height: auto !important;
    overflow-y: auto;
    overflow-x: hidden;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.multicard > .innercard:not(:first-child) {
    margin-top: 10px;
}

.innercard.tall {
    height: 100% !important;
}

@media (max-width: 767px) {
    .card-one-third {
        height: initial !important;
    }

    /*Increase information density on account details cards*/
    div#summary.accordion-body div.card-one-third.span4 {
        height: auto !important;
    }
}

.section-title {
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
    color:#4D4D4D;
    display: block;
    -webkit-margin-after: 10px;
    margin-top: 0;
}

.list-name {
    text-align: left !important;
    vertical-align: top;
    line-height: 30px;
    font-size: 12px;
    padding-left: 0;
    color: #999999;
    text-overflow: ellipsis;
    padding-right: 20px;
    overflow-x: hidden;
}

.list-item {
    font-size: 14px;
    line-height: 30px;
    text-align: left;
    color:#4A4A4A;
    vertical-align: top;
}

.attribute .delete-icon {
    color: lightgrey;
}

.attribute .delete-icon:hover {
    color: red;
}

.card-action {
    cursor: pointer;
    padding-left: 6px;
    padding-right: 6px;
    margin: 2px;
}

.card-action:hover {
    opacity: 0.75;
}

.card-action-active {
    opacity: 1.0;
}

.card-content {
    margin-top: 20px;
}

.card-submit-area {
    margin: 0 auto;
    display: table;
    background-color: rgba(0, 0, 0, 0);
}

.card-submit-area > .btn:not(:first-child) {
    margin-left: 5px;
}

.card .form-actions {
    border-top: none;
    background-color: rgba(0, 0, 0, 0);
}

.new-card-card {
    border-style: dashed;
}

.pager .previous .disabled, .pager .next .disabled {
    pointer-events: none;
    cursor: default;
    opacity: .25;
}

.pager .reload a, .pager .previous a, .pager .next a {
    border: none !important;
}

.pager .reload a {
    padding-right: 0px;
}

.pager>.separator {
    padding: 5px 0px;
    font-size: 12px;
    display: inline-block;
}

.pager {
    margin: 0;
}


.sidebar h1,
.sidebar h2,
.sidebar h3,
.sidebar h4,
.sidebar h5,
.sidebar h6 {
    color: #4a4a4a;
}

.sidebar h6 {
    font-size: 11px;
    padding-left: 9px;
    margin-top: 0px;
}

.sidebar h4 {
    font-weight: 600;
    line-height: 17px;
    color: #191A1B;
    margin-right: 80px;
}

.sidebar hr {
    margin: 3px;
    margin-bottom: 7px;
}

.sidebar {
    background-color: #fff;
    border-style: solid;
    border-width: 1px;
    margin-right: -10%;
    overflow-x: hidden;
}

.sidebar select {
    width: 100%;
}

.sidebar input[type="date"].error {
    color:#ff0000;
}

/*Prevent default link styling on sidebar header*/
.sidebar h4 a intl {
    color: #4a4a4a;
}

@media only screen and (max-width: 767px) {

    /* Remove filters margin that makes wider than rest of page*/
    .sidebar {
        margin-right: 0 !important;
    }
}

table {
    max-width: 100%;
    background-color: #ffffff;
    border-collapse: collapse;
    border-spacing: 0;
}

.table {
    width: 100%;
    margin-bottom: 0px;
}

.table-bordered {
    border: 1px solid #dddddd;
    border-collapse: separate;
    border-left:  1px solid #dddddd;
    border-radius: 4px;
}

.table-bordered td {
    border-left: 0px solid #dddddd;
}

.table-bordered th {
    border-left: 0px;
}

.table-bordered tr {
    border-left: 1px solid #dddddd;
}

.table thead th {
    vertical-align: top;
    background-color: #F2F2F2;
    color: #4A4A4A;
    font-size: 12px;
}

.table thead th.sortable-column-heading:hover{
    vertical-align: top;
    background-color: #E0E0E0;
    color: #4A4A4A;
    font-size: 12px;
}

.table thead th.sortable-column-heading.not-selected:hover .fa-sort {
    visibility: visible;
}
.table thead th.sortable-column-heading.not-selected .fa-sort {
    visibility: hidden;
}

/* hackishly apply row color styles to cells */
.table tbody tr > td.success {
  background-color: #dff0d8 !important;
}

.table tbody tr > td.error {
  background-color: #f2dede !important;
}

.table tbody tr > td.warning {
  background-color: #fcf8e3 !important;
}

.table tbody tr > td.info {
  background-color: #d9edf7 !important;
}

.table-hover tbody tr:hover > td.success {
  background-color: #d0e9c6 !important;
}

.table-hover tbody tr:hover > td.error {
  background-color: #ebcccc !important;
}

.table-hover tbody tr:hover > td.warning {
  background-color: #faf2cc !important;
}

.table-hover tbody tr:hover > td.info {
  background-color: #c4e3f3 !important;
}

.table-bordered.highlightable > tbody > tr:not(.note-row):hover {
  background-color: aliceblue;
}

.sortable-column-heading {
    cursor: pointer;
}

.draggable tr.placeholder {
    height: 50px;
}

.table div.loading {
    height: 300px;
    font-size: 20px;
    text-align: center;
    padding-top: 30px;
}

.table div.loading-embedded {
    height: 100px;
    font-size: 20px;
    text-align: center;
    padding-top: 30px;
}

.table thead th.shrink {
    width: 5%;
}

.table thead th.shrink-min {
    width: 1%;
}

.clickable-row {
    cursor: pointer;
}

.archived-row {
    color: lightgray;
}

td.note-cell {
    padding-left: 20px;
    padding-top: inherit;
    padding-bottom: inherit;
    border-top: inherit;
}

td.note-cell div.collapse {
    min-height: 1px;
}

.clickable-row.collapsed + tr.note-row {
    padding-top: 0px;
    padding-bottom: 0px;
    border-top-width: 0px;
}

.clickable-row + tr.note-row {
    padding-top: 8px;
    padding-bottom: 8px;
    border-top: 1px solid #dddddd;
}

@media only screen and (max-width: 767px) {

    /* Force table to not be like tables anymore */
    div.clearfix table, div.clearfix thead, div.clearfix tbody, div.clearfix th,
    div.clearfix td, div.clearfix tr {
        display: block;
    }

    div.clearfix table.table tbody + tbody {
        border: none;
    }

    div.clearfix table {
        background-color: transparent !important;
        border: none;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    div.clearfix table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    div.clearfix tr {
        background-color: #FFF;
        border: 1px solid #eee;
    }

    div.clearfix tr.note-row {
        margin-bottom: 0;
        border-top: none;
    }

    div.clearfix tr.clickable-row {
        margin-bottom: 0;
    }

    div.clearfix tr.clickable-row + tr.note-row {
        border-top: 0;
        margin-top: 0;
    }

    div.clearfix tr.note-row td.note-cell {
        border: none;
        min-height: 0;
    }

    div.clearfix td[data-label] {
        /* Behave  like a "row" */
        border: none;
        position: relative;
        padding-left: 50% !important;
        overflow-wrap: break-word;
        min-height: 20px;
    }

    div.clearfix td[data-label] + td[data-label] {
        /* Add borders only in between tds not top or bottom*/
        border-top: 1px solid #eee;
        text-align: left;
    }

    div.clearfix td[data-label]:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 16px;
        left: 6px;
        padding-right: 10px;
        padding-left: 7px;
        white-space: nowrap;
        content: attr(data-label);
        color: #4a4a4a;
        font-weight: bold;
    }
}

.add-on.table-cell {
    display: table-cell !important;
    width: 1% !important;
}

/* This fixes registration modal in smaller than tablet viewports */
.pad-right-hack {
    padding-right: 5px;
}

.modal.create-edit-group {
    width: auto;
}

.modal.create-edit-group .controls.form-inline .input-append.span1.schedules {
    margin-left: 0px;
}

.modal.create-edit-group .controls.form-inline .control-label.span1 {
    width: 80px;
    text-align: right;
    padding-right: 7px;
}

.modal.create-edit-group .controls.form-inline .control-label.after-currency {
    padding-left: 35px;
    text-align: left;
}

.modal.create-edit-group .form-horizontal .section {
    margin-top: 20px;
    margin-bottom: 20px;
}

.modal.create-edit-group .form-horizontal .section label:first-child {
    margin-bottom: 0px;
}

/* Used by PaymentsTimeline */
.payment-unlocked {
    color: #00aa00;
    fill: #00aa00;
    stroke: #00aa00;
}

.payment-locked {
    color: #000000;
    fill: #000000;
    stroke: #000000;
}

.payment-ideal {
    fill: white;
    stroke: #000000;
}

.payment-reversed {
    fill: #da4f49;
    stroke: #da4f49;
}

.today text {
    font-size: 10px;
    font-weight: normal;
}

.thermometer text {
    font-size: 10px;
    font-weight: normal;
}

.payment-graph .account-status:hover {
    cursor: pointer;
}

.payment-graph .account-status {
    padding-left: 10px;
}

.payment-graph .line {
    stroke-width: 1.5px;
}

.account-status-legend {
    font-weight: normal;
    /*display: inline-block; [> word-wrap together <]*/
}

.account-status-disabled {
    color: #bf1d08 !important;
    fill: #bf1d08;
    stroke: #bf1d08;
}

.account-status-written_off {
    color: #334e68 !important;
    fill: #334e68;
}

.account-status-detached {
    color: #8a6116 !important;
    fill: #8a6116;
}

.account-status-enabled {
    color: #006fbb !important;
    fill: #006fbb;
    stroke: #006fbb;
}

.account-status-unlocked {
    color: #108043 !important;
    fill: #108043;
    stroke: #108043;
}

.account-status-overdue {
    color: lightsteelblue !important;
    fill: lightsteelblue;
    stroke: lightsteelblue;
}

.account-status-rolled_over {
    color: #202E78 !important;
    fill: #202E78;
    stroke: #202E78;
}

.search-query {
    width: 110px;
    border-radius: 4px;
}

.former-account-number {
    color: #999999;
    fill: #999999;
}

#payments.panel-collapse.in.collapse {
    overflow: visible;
}

.text-changed {
    color: rgba(255,127,13,1);
}

.map-popup-link {
    font-weight: bold;
}

.leaflet-control-attribution.leaflet-control >* {
   color: #aaa;
}

.sms-message-state-in-transit {
    color: #4682b4;
}

.sms-message-state-final-delivered {
    color: #00aa00;
}

.sms-message-state-final-unconfirmed {
    color: #ff9933;
}

.sms-message-state-final-failed {
    color: #aa0000;
}

.sms-message-state-final-not-sent {
    color: #cfd200;
}


.modal.sms-templates {
    width: 80%;
    margin-left: -40%;
}

.modal.sms-templates-bonus {
    z-index: 1051;
}

.modal.sms-templates div.modal-body {
    max-height: 60vh;
}

.sms-category-header {
    margin-bottom: 5px;
}

@media only screen and (max-width: 767px) {

    div.modal.sms-templates {
        width: 100%;
        margin-left: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    div.modal.sms-templates div.modal-body {
        max-height: none;
    }

    div.modal.sms-templates td.span4 textarea.input-block-level {
        min-height: 200px;
        resize: none;
    }

}
.zendesk-btn {
    border: none;
    z-index: 1000;
    transform: translateZ(0px);
    position: fixed;
    bottom: 0px;
    opacity: 1;
    left: 240px;
    width: 36px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: transparent;
    cursor: pointer;
    transition: left 0.3s ease-in-out 0s;
}

.zendesk-btn i {
    font-size: 3em;
    color: #003365;
    background: transparent; /* For browsers that do not support gradients */
    background: -webkit-radial-gradient(white 50%, transparent 51%); /* Safari 5.1-6.0 */
    background: -o-radial-gradient(white 50%, transparent 51%); /* For Opera 11.6-12.0 */
    background: -moz-radial-gradient(white 50%, transparent 51%); /* For Firefox 3.6-15 */
    background: radial-gradient(white 50%, transparent 51%);
}

.zendesk-btn i:hover {
    color: rgb(0, 59, 117);
}

