body {
    font-size: 12px;
    padding: 5px;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

.real-row {
    margin-right: -15px;
    margin-left: -15px;
}

.theme-dropdown .dropdown-menu {
    display: block;
    position: static;
    margin-bottom: 20px;
}

.theme-showcase > p > .btn {
    margin: 5px 0;
}

.navbar {
    margin-bottom: 15px;
}

/* Sticky footer styles
-------------------------------------------------- */

html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by its height */
    margin: 0 auto -60px;
    /* Pad bottom by footer height */
    padding: 0 0 60px;
}

/* Set the fixed height of the footer here */
#footer {
    height: 60px;
    /* background-color: #f5f5f5; */
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

#wrap > .container {
    padding: 60px 15px 0;
}

.container .credit {
    margin: 20px 0;
}

#footer > .container {
    padding-left: 15px;
    padding-right: 15px;
}

code {
    font-size: 80%;
}

#optifiheader {
    z-index: 13;
    position: relative;
}

legend {
    border-bottom: 1px solid #929090;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #555555;
    background-color: #e7e7e7;
}

/* Sales onDemand customizations */
.paginationNav {
    text-align: center;
}

/* colors */
.yellow {
    color: #FFB00A;
    font-color: #FFB00A;
}

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

/* table customizations */
.table-responsive{
    overflow-x: inherit !important;
}
.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
    background-color: #EEEEEE;
}

/* login form */
#login_form {
    max-width: 400px;
    margin: auto auto;
}

/* mobile contact view */
.info-group {
    padding-left: 20px;
    padding-bottom: 15px;
}

.info-label {
    margin-bottom: 5px;
}

#mobilesalesview {
    font-size: 16px;
}

.form-submenu:-moz-placeholder {
    color: #999999;
}

.form-submenu::-moz-placeholder {
    color: #999999;
}

.form-submenu:-ms-input-placeholder {
    color: #999999;
}

.form-submenu::-webkit-input-placeholder {
    color: #999999;
}

.form-submenu {
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    vertical-align: middle;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form-submenu:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.form-submenu[disabled],
.form-submenu[readonly],
fieldset[disabled] .form-submenu {
    cursor: not-allowed;
    background-color: #eeeeee;
}

textarea.form-submenu {
    height: auto;
}

.row {
    margin-bottom: 3px;
}

.nav-stacked ul {
    margin-left: 20px !important;
}

.socialbutton {
    padding: 0px;
    margin: 1px;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

button.socialbutton::-moz-focus-inner {
    margin: -1px;
    padding: 0px;
}

.socialbutton[disabled="disabled"], .socialbutton:disabled {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.notallowed {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1); /* Google Chrome & Safari 6+ */
}

.detaillinks a:hover {
    text-decoration: none;
}

hr.form-divider {
    border-top: 1px solid #000000;
}

#SMSDiv {
    height: 200px;
    overflow: auto;
}

#HistoryDiv {
    height: 200px;
    overflow: auto;
}

.sms-notif {
    font-size: 12px;
}

.sms-time {
    font-size: 10px;
    font-style: italic;
}

.small-glyphicon {
    font-size: 9px;
}

/* Navbar Brand */
a.navbar-brand {
    padding: 0px;
}

/* Panel Body as Header */
.panel-lead {
    margin-bottom: 0px;
}

/* Well on Tabs */
.tab-well.well {
    padding-top: 0px;
}

/* Form Spacing */
.form-group {
    margin-bottom: 8px;
}

.input-sm {
    height: 28px;
}

label {
    margin-bottom: 3px;
}

/* Button Small Square */
.btn-sm-square {
    padding: 5px 5px;
}

/* Appointment Table */

.table-appt > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 4px;
}

/* Chosen Inline */

.chosen-inline > .chosen-container {
    position: absolute;
}

/* Home Feed (Twitter or RSS) */

.home-feed {
    /*    max-height: 33.5vh; */
    max-height: 530px;
    overflow-y: auto;
}

/* Lead Store */

.leadstore_label {
    padding-right: 5px;
    padding-top: 6px;
}

.leadstore_field {
    padding-left: 0px;
}

/* RSS */

.author {
    display: none;
}

.imagecache-thumbnail {
    float: left;
    margin: 0 5px 0 0;
}


/* Show up */

.chosen-up > .chosen-container .chosen-drop {
    border-bottom: 0;
    border-top: 1px solid #aaa;
    top: auto;
    bottom: 40px;
}
.chosen-up > .chosen-container.chosen-with-drop .chosen-single {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-image: none;
}
.chosen-up > .chosen-container.chosen-with-drop .chosen-drop {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    box-shadow: none;
    margin-bottom: -16px;
}

/* Appointment CSS */
.delete-appointment {
    color: red;
    display: block;
    text-align: center;
}


/* Insurance CSS */
.tab-content-section {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.tab-content-section:last-child {
    border-bottom: 0px;
}

.tab-content-section input[type="checkbox"] {
    margin-top: 1px;
}

.insurance-bot-left {
    text-align: right;
}

.insurance-bot-right {
    text-align: left;
}

.insurance-bot-left input {
    text-align: right;
}

.insurance-bot-left label,
.insurance-bot-right label {
    margin-top: 6px;
}

.tweet_header {
    font-weight: 700;
}

#userphotos {
    margin-bottom: 50px;
}

.sen-photo-img-box {
    min-height: 250px;
    padding: 15px;
    text-align: center;
}

.sen-photo-img-box > iframe {
    width: 100%;
    max-width: 200px;
}

.sen-photo-img-box > img {
    max-width: 200px;
    max-height: 200px;
}

.no-btn {
    padding: 0px;
    border: 0px;
    background: transparent;
    outline: 0;
    font-size: 12px;
}

.no-btn.red {
    color: RED;
}

/* DataTables */
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting {
    background-image: none!important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:focus,
.dataTables_wrapper .dataTables_paginate .paginate_button:active,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: none;
    border-color: transparent;
}

table.dataTable.display tbody tr.odd>.sorting_1 {
    background-color: #f9f9f9;
}

table.dataTable.display tbody tr.even>.sorting_1 {
    background-color: #ffffff;
}

table.dataTable.display tbody tr:hover>.sorting_1,
table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
    background-color: #eeeeee;
}


/* ---------------------------


Senarysoft - Mobile Changes


-----------------------------*/

@media (max-width: 1200px){
    a.opt-mobile-panel-link {
        display: inline-block;
        padding-right: 8px;
    }

    .opt-mobile-panel-back {
        display: inline-block;
        padding-right: 8px;
    }
}

@media (max-width: 767px) {
    #page_content {
        padding-top: 5px;
    }
}

@media (max-width: 1200px) {
    .navbar-toggle {
        background-color: #15b99f;
    }

    .navbar-toggle .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
        background-color: white;
    }

    #left_panel {
        position: inherit;
    }

    .opt-mobile-logo > img {
        max-width: 150px;
        height: auto;
        padding-top: 10px;
        position: absolute;
        z-index: 11;
    }

    .navbar-toggle {
        float: right;
        padding: 10px 6px;
        margin-top: 8px;
        margin-right: 6px;
        border: 1px solid transparent;
        border-radius: 4px;
    }

    .opt-navbar-nav {
        margin: 0px -15px;
    }

    .opt-mobile > .opt-mobile-logo {
        padding-left: 3%;
    }

    .opt-navbar-nav > li > a {
        border-bottom: 1px solid #ccc;
        background-color: #f0f0f0;
    }

    .opt-navbar-header {
        margin-bottom: 0px;
        border: 0px;
        border-bottom: 1px solid #ccc;
        background-color: #ffffff;
    }

    .opt-navbar-right > li > a {
        border-bottom: 1px solid #ccc;
        background-color: #f0f0f0;
    }

    .opt-mobile-navbar #optifiheader > ul.nav {
        border-bottom: 1px solid #d0d0d0;
    }

    .opt-navbar-nav > li > a {
        border-bottom: 1px solid #ccc;
        background-color: #f0f0f0;
    }

    .opt-mobile-navbar-collapse > .nav > li > a:hover, .nav > li > a:focus {
        background-color: #15B99F;
        color: white;
    }

    .opt-collapsed {
        display: block;
    }

    .opt-mobile-left_panel {
        padding-left: 0px;
        padding-right: 0px;
    }

    .opt-mobile-no-padding {
        padding-left: 0px;
        padding-right: 0px;
    }

    .opt-contact-search-input {
        margin-top: 10px;
    }

    .opt-contact-search-input > label {
        margin-bottom: 8px;
        margin-left: 3px;
    }

    .opt-contact-search-input > label > img {
        vertical-align: top;
    }

    .opt-mobile-body {
        background-color: #f8f8f8;
        padding: 0;
    }

    .panel-default > .panel-heading + .panel-collapse > .panel-body {
        background-color: #F0F0F0;
    }

    .opt-calendar, .opt-twitter > .panel-heading > .panel-title > :hover, a:focus {
        text-decoration: none;
    }

    .opt-mobile-panel-default {
        background-color: #f8f8f8;
        border-radius: 0px;
        border: 0px;
        box-shadow: none;
    }

    .opt-mobile-panel-default > .opt-mobile-panel-heading {
        padding-left: 0px;
        background-color: #f8f8f8;
        background-image: none;
        color: #333333;
    }

    .opt-home-panel {
        padding: 0px 10px;
    }

    .opt-home-panel .panel-heading {
        background-color: #f0f0f0;
        background-image: none;
        border: 1px solid #d0d0d0;
        border-radius: 5px;
    }

    .opt-mobile-panel-back {
        display: inline-block;
        vertical-align: middle;
        width: 30px;
        height: 26px;
        text-align: center;
    }

    .opt-mobile-panel-back > img {
        margin-top: 7px;
    }

    .list-group-item {
        background-color: #f0f0f0;
    }

    .opt-mobile > .list-group > a.list-group-item:focus {
        color: #ffffff;
        background-color: #15B99F;
        outline: 0;
    }

    a:hover, a:focus {
        text-decoration: none;
    }

    .list-group-item:first-child {
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }

    .opt-mobile-options > li > a {
        padding: 5px 5px;
    }

    .opt-mobile-options-nav > .pull-left {
        padding: 0px;
    }

    .opt-mobile > li > a {
        padding: 3px 3px;
    }

    .navbar-collapse.opt-mobile-navbar-collapse {
        width: 100%;
        font-size: 14px;
    }

    .nav > li > a:hover, .nav > li > a:focus {
        background-color: #15B99F;
        color: white;
    }

    .panel-title > a {
        display: block;
    }

    .opt-mobile > .list-group > a.list-group-item {
        font-size: 14px;
        background-color: #f8f8f8;
        border: 0px;
        border-top: 1px solid #d0d0d0;
    }

    @font-face {
        font-family: "Myriad Pro";
        src: url(/demo/assets/fonts/MyriadPro-Regular.otf);
    }

    #EditLeadDiv.opt-mobile-body > .row > .panel {
        border: 0px;
        box-shadow: none;
    }

    .opt-mobile-body > .nav > li > a {
        position: relative;
        display: block;
        padding: 0px 5px;
    }

    .list-group-item > a {
        font-size: 14px;
        font-family: "Myriad Pro";
    }

    .opt-section-header {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .opt-section-header > a {
        display: inline-block !important;
    }

    .opt-section-header > h2,
    .opt-section-header > h3 {
        display: inline-block;
        vertical-align: middle;
        margin: 0px;
    }

    .opt-section-header > h3.opt-mobile-heading3 {
        max-width: 320px;
        word-break: break-word;
        vertical-align: top;
    }

    .opt-mobile-panel-heading {
        font-size: 18px;
    }

    .opt-mobile-edit {
        font-size: 14px;
        padding: 5px;
    }

    .glyphicon-edit {
        font-size: 14px;
        padding-top: 0px;
    }

    .opt-mobile-content {
        font-size: 18px;
    }

    .opt-mobile-label > a {
        color: #333333;
        font-size: 14px;
    }

    .opt-mobile-label .glyphicon-edit {
        font-size: 12px;
    }

    .opt-mobile-panel-body {
        padding: 20px 5px 5px 0px;
    }

    .opt-mobile-panel-body > div.row:first-child {
        margin-bottom: 10px;
    }

    .opt-mobile-content-icon {
        font-size: 14px;
        padding-top: 3px;
        padding-bottom: 3px;
        text-align: center;
    }

    .opt-mobile-content-icon > a {
        color: #333333;
    }

    .opt-mobile-body-edit {
        padding-top: 13px;
    }

    .opt-mobile-body-edit label {
        font-weight: 400;
    }

    .opt-mobile-btn {
        background-color: #15B99F;
        color: white;
        font-size: 19px;
        font-family: "myriad pro";
        padding: 10px;
        margin-left: 0px;
    }

    .itemSection > .form-group > .input-sm {
        height: 35px;
        font-size: 14px;
    }

    .itemSection > .buttonSection {
        margin-top: 0px;
    }

    .opt-cancel-btn.visible-xs {
        display: inline-block !important;
    }

    .opt-cancel-btn.visible-xs a.btn {
        font-size: 14px;
    }

    .nav-pills > li > a {
        border-radius: 0;
    }

    ul.ewMenuBarVertical ul, li {
        margin: 0 0 0 0px;
    }

    .dropdown-menu {
        border-radius: 0px;
    }

    #opt-mobile-collapse-calendar > .panel-body, #AppointmentTableSimple_Dashboard.panel-body {
        background-color: transparent;
        padding: 10px 0px 0px 0px;
    }

    .table-responsive {
        margin-bottom: 0px;
    }

    .nav > li > a {
        padding: 10px;
    }

    .panel.panel-default {
        border-radius: 0px;
    }

    a.opt-mobile-email {
        color: blue;
    }

    .opt-mobile-btn-custom {
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .opt-mobile-label label {
        font-weight: 400;
    }

    .opt-mobile-small-label {
        font-size: 10px;
    }
}
/*-- SENARYSOFT MOBILE CHANGES END ---*/

/* HOME - message board ----------------------------------- */

.messageboard_image {
    display: inline-block;
    margin: 20px 0px 5px 20px;
}

.messageboard_image > a img.img-responsive {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    width: 168px;
}

img.quicklinks_OM_Blog_Logo_FNL {
    height: 35px;
}

.quicklinks_nav > li {
    display: table-cell;
    width: 75px;
    float: right;
}

.quicklinks_links {
    display: flex;
    padding-top: 7px;
}

.quicklinks_links li {
    min-width: 25%;
}

.messageboardwelcome {
    margin-top: 15px;
}

.navbar-brand > img {
    display: block;
    padding: 4px;
}

.list-group-item hr {
    margin-top: -30px;
    border: 0;
}

li.quicklinks_social {
    padding-left: 8%;
    padding-top: 6px;
}

img.img-responsive.disabled {
    cursor: not-allowed;
}

/*appointment */
.btn-complete{
    color: #fff;
    background-color: green;
    border-color: green;
}
#AppointmentDate {
    display: block !important;
    margin-bottom: 15px;
    background: #fff;
}
#PopAppointmentDiv{
    background: #fafafa;
}
#PopAppointmentDiv .itemSectioneven, #PopAppointmentDiv thead {
    background: #e9e9e9;
}
.disabled {
   pointer-events: none;
   cursor: default;
   opacity: .6;
}

#internal-notif-dropdown {
    width: 400px;
    max-height: 500px;
    overflow-y: scroll;
}

#internal-notif-dropdown > li:first-child {
    border-bottom: 1px solid #337ab7;
}

#internal-notif-dropdown > li:first-child span {
    padding: 8px 0;
    display: block;
}

#internal-notif-dropdown > li:first-child a {
    float: right;
    text-align: right;
    color: #337ab7;
    padding: 8px 0;
}

#internal-notif-dropdown > li:first-child a:hover {
    background: none!important;
}

.internal-notif-item {
    padding: 8px 15px;
    border-bottom: 1px solid #e6e6e6;
}

.internal-notif-item:last-child {
    border-bottom: 0px;
}

.internal-notif-item-icon,
.internal-notif-item-text,
.internal-notif-item-date {
    padding: 0px;
}

.internal-notif-item-icon {
    padding-top: 3px;
    padding-right: 10px;
    color: #4e7db2;
    text-align: center;
}

.internal-notif-item a:hover {
    background: transparent!important;
}

.internal-notif-item a {
    padding: 0!important;
}

#internal-notif-dropdown {  
    display: none;
}

#notification-list.open > #internal-notif-dropdown {
    display: block;
    position: absolute;
    right: 0;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.notification_delete_selected_btn {
    background: none;
    border: none;
    outline: none;
    color: #337ab7;
    margin-top: 8px;
}

#notification-list {
    position: relative;
}

.notification-not-read {
    background-color: #efefef;
}

body > div:not(#login_container) .alert.alert-danger.alert-dismissable,
body > div:not(#login_container) .alert.alert-success.alert-dismissable {
    position: absolute;
    top: 5px;
    background: linear-gradient(#37b5a0, #008080);
    color: #fff;
    border: 1px solid #3d95b9;
    min-width: 50%;
    box-shadow: 4px 4px 5px #e0e0e0;
    border-radius: 0 0 10px 10px;
    padding-bottom: 8px;
    padding-top: 10px;
    left: 25%;
    z-index: 9999;
}

body > div:not(#login_container) .alert.alert-danger.alert-dismissable button.close, 
body > div:not(#login_container) .alert.alert-success.alert-dismissable button.close {
    color: #fff;
    font-weight: 100;
    opacity: 1;
}

#login_container .container.col-md-12 {
    padding: 0;
}

body > #login_container .alert.alert-danger.alert-dismissable, 
body > #login_container .alert.alert-success.alert-dismissable {
    background: linear-gradient(#37b5a0, #008080);
    color: #fff;
    border: 1px solid #3d95b9;
    box-shadow: 4px 4px 5px #e0e0e0;
    border-radius: 0 0 10px 10px;
    padding-bottom: 8px;
    padding-top: 10px;
}

body > #login_container .alert.alert-danger.alert-dismissable button.close,
body > #login_container .alert.alert-success.alert-dismissable button.close {
    color: #fff;
    font-weight: 100;
    opacity: 1;
}

/* MMI iFrame*/
.popup-mmi {
    position: relative;
    display: none;
    background-color: #ffffff;
}

.popup-wrapper {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
}

#popup-mmi-iframe {
    overflow: hidden;
    border: 1px solid #000000;
    width: 920px;
    height: 450px;
}

.popup-controls {
    position: absolute;
    top: -40px;
}

.popup-controls > button {
    margin-right: 10px;
}

.popup-controls > button:last-child {
    margin-right: 0px;
}

.login-bg {
    background-color: #72a1b3;
}

.login-card {
    background-color: #fff;
    margin-top: 100px;
    margin-bottom: 120px;
    padding: 0;

    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
}

.login-card > .row, .login-graphic > p {
    margin: 0;
}

.login-text-input,.login-text-input:focus {
    border: none;
    box-shadow: none;
    border-bottom: 2px solid #e7e7e7;
    border-radius: 0;
    margin: 10px 0;
}

.login-btn, .login-btn:hover {
    background-color: #1b81c1;
    color: #fff;
    padding: 10px;
    font-size: 16px;
    font-weight: 200;
}

.login-btn-danger{
    background-color: #D64A49 !important;
}

.form-action-btn {
    padding: 10px 0;
    font-size: 16px;
    font-weight: 200;
}

.login-graphic {
    padding: 0;
}

.login-graphic > p{
    margin-top: 0 !important;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0 !important;
}

.login-graphic > p > img{
    width: 100%;
    height: 521px;
    float: none !important;
}

.login-graphic-footer{
    background-color: #000;
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 200;
    padding: 20px 0;
}
.login-graphic-footer > a {
    color: #fff;
}

.login-msg {
    font-size: 25px;
    font-weight: 200;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 50px;
}

.form-signin-heading {
    margin-top: 80px;
    text-align: center;
}

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

.login-alert{
    background: #dc3545!important;
    color: #fff !important;
    box-shadow: 5px 10px 20px -5px rgba(0,0,0,0.75) !important;
    border: none !important;
}