/**
 * XRMS
 *
 * Stylesheet for basic/default style attributes.
 * Override/extend these in themed stylesheets
 */
/**
 * default font settings for entire document
 */
body {
    font-family: Tahoma,sans-serif;
    font-weight: normal;
    color: black;
    background-color: white;
}
/** --------------------
 * PADDING / MARGINS
 * for evenness, padding is in multiples of 2 with the exception
 * of a few tiny cell elements that need a boost of 1
 */
form,
img,
input,
input.button,
select,
textarea {
    margin: 0px;
}
input.button {
    padding: 0px;
}
table.widget {
    margin: 0px auto 4px auto;
    width: 100%;
}
table.widget .widget_content_graph table {
    margin: 0px auto 4px auto; 
}
table.widget .sublabel {
    padding-right: 4px;
}
table.embedded, td.embedded {
	margin: 0;
	padding: 0;
	border-collapse: collapse;
}

#loginbar,
#msg,
#navline {
    padding: 2px 4px;
}
#Main,
#Main #Sidebar {
    padding-top: 4px;
}
/** -------
 * FONT/TEXT SETTINGS
 */
td.monospace,
input.monospace,
select.monospace,
textarea.monospace {
    font-family: courier, monospace;
}
pre {
    font-size: medium;
}
/**
 * font weights
 */
table.widget .widget_header,
#page_header,
#msg {
    font-weight: bold;
}
#profile.hidden span {
    display: none;
}
/**
 * text alignment
 */
#msg,
#vacation_msg,
table.widget .center,
table.widget .widget_label_center,
table.widget .widget_content_center,
table.widget .widget_content_graph,
table.widget .widget_content_form_element_center {
    text-align: center;
}
#loginbar,
table.widget .sublabel,
table.widget .right,
table.widget .widget_content_right,
table.widget .widget_label_right,
table.widget .widget_label_right_91px,
table.widget .widget_label_right_166px {
    text-align: right;
}
/** ----------
 * OTHER - WIDGETS/TABLES/FORMS
 */
form {
    display: inline;
}
table.widget .sublabel,
table.widget .nowrap {
    white-space: nowrap;
}
table.widget th,
table.widget td {
    vertical-align: top;
    padding: 2px;
}
table.widget .bottomalign {
    vertical-align: bottom;
}

table.widget .widget_label,
table.widget .widget_label_right {
    vertical-align: middle;
}
/** -------------
 * PAGER STYLE DEFINITIONS
 */
#PagerHide {
    display: block;
    float: right;
}
#PagerMaximize {
    display: block;
    float: right;
    padding: 15px 5px 0 0; 
    overflow: hidden;
    background-image: url(../img/pagerMaximizeLight.gif);
    background-repeat: no-repeat;
    height: 0 !important;
    height /**/: 15px;
}
#PagerRestore {
    display: block;
    float: right;
    padding: 15px 5px 0 0;
    overflow: hidden;
    background-image: url(../img/pagerRestoreLight.gif);
    background-repeat: no-repeat;
    height: 0 !important;
    height /**/: 15px;
}
#PagerRefresh {
    display: block;
    float: right;
    padding: 15px 5px 0 0;
    overflow: hidden;
    background-image: url(../img/pagerRefreshLight.gif);
    background-repeat: no-repeat;
    height: 0 !important;
    height /**/: 15px;
}


#xrms_calendar .calendar_user1, 
#xrms_calendar_legend .calendar_user1   {
    background-color:   #fffba4;
    vertical-align:     top;
    border :            1px solid #cc6600;
}

#xrms_calendar .calendar_user2, 
#xrms_calendar_legend .calendar_user2   {
    background-color:   #f8d049;
    vertical-align:     top;
    border :            1px solid #cc3300;
}

#xrms_calendar .calendar_user3, 
#xrms_calendar_legend .calendar_user3   {
    background-color:   #cfe5f6;
    vertical-align:     top;
    border :            1px solid #336699;
}

#xrms_calendar .calendar_user4, 
#xrms_calendar_legend .calendar_user4   {
    background-color:   #84a8d7;
    vertical-align:     top;
    border :            1px solid #333366;
}

#xrms_calendar .calendar_user5, 
#xrms_calendar_legend .calendar_user5   {
    background-color:   #d8f0b8;
    vertical-align:     top;
    border :            1px solid #669900;
}

#xrms_calendar .calendar_user6, 
#xrms_calendar_legend .calendar_user6   {
    background-color:   #86c860;
    vertical-align:     top;
    border :            1px solid #336600;
}

#xrms_calendar .calendar_user7, 
#xrms_calendar_legend .calendar_user7   {
    background-color:   #d8b8f0;
    vertical-align:     top;
    border :            1px solid #660099;
}

#xrms_calendar .calendar_user8, 
#xrms_calendar_legend .calendar_user8   {
    background-color:   #8660c8;
    vertical-align:     top;
    border :            1px solid #330066;
}

#xrms_calendar .calendar_user9, 
#xrms_calendar_legend .calendar_user9   {
    background-color:   #f6cfe5;
    vertical-align:     top;
    border :            1px solid #993366;
}

#xrms_calendar .calendar_user10, 
#xrms_calendar_legend .calendar_user10   {
    background-color:   #d784a8;
    vertical-align:     top;
    border :            1px solid #663333;
}

#xrms_calendar .calendar_user_before_demo,
#xrms_calendar_legend .calendar_user_before_demo   {
    background-color:   yellow;
    vertical-align:     top;
    border :            1px solid #663333;
}

#xrms_calendar .calendar_user_demo_complete,
#xrms_calendar_legend .calendar_user_demo_complete   {
    background-color:   darkgreen;
    vertical-align:     top;
    border :            1px solid #663333;
}

#xrms_calendar .calendar_user_demo_missed,
#xrms_calendar_legend .calendar_user_demo_missed   {
    background-color:   red;
    vertical-align:     top;
    border :            1px solid #663333;
}

/* CUSTOM CSS BY DEV */

#scraper-progress-container {
    display: inline-block;
    position: relative;
    margin: 0 0 0 40px;
    width: 300px;
    height: 20px;
    background-color: transparent;
    text-align: center;
}
#scraper-progress-val {
    position: absolute;
    z-index: 300;
    width: 100%;
    height: 100%;
    left: 0px;
    top: -5px;
    line-height: 20px;
    background-color: transparent;
    text-align: center;
}
#scraper-progress-bar {
    position: absolute;
    z-index: 200;
    width: 0px;
    height: 100%;
    left: 0px;
    top: -5px;
    background-color: #ddd;
}
#scraper-progress-base {
    position: absolute;
    z-index: 100;
    width: 100%;
    height: 100%;
    left: 0px;
    top: -5px;
    background-color: #ccc;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-full-screen {
    padding-top: 0;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-full-screen .modal-content {
    width: 100%;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #073771;
    color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 2px;
    background-color: #fff;
    color: white;
}
.content-area{
    text-align: center;
    padding-top: 20px;
}
.my-btn{
    padding: 10px;
    font-size: 20px;
}
.flift{
    float: left;
    width: 50%;
}

.phone-template-section {
    width: 33%;
    min-width: 32%;
    min-height: 33px;
    border: 1px solid #999;
    float: left;
    overflow-x: hidden;
}

.phone-template-section .fields-label {
    font-size: 12px;
}

.loading-icon {
    margin:0;
    height:20px;
    position:relative;
    top:6px;
}

.scroll-top-btn {
    position: absolute;
    bottom: 10px;
    z-index: 9999;
}

/** ----------------------
/* Image Uploader 
-------------------------*/
.container_img{
    width: 100%;
    margin: 0 auto;
}

.upload-area{
    /*width: 70%;*/
    height: 200px;
    border: 2px solid lightgray;
    border-radius: 3px;
    margin: 0 auto;
    text-align: center;
    overflow: auto;
}

.upload-area:hover{
    cursor: pointer;
}

.upload-area h1{
    text-align: center;
    font-weight: normal;
    font-family: sans-serif;
    line-height: 50px;
    color: darkslategray;
}

.file{
    display: none;
}

/* Thumbnail */
.thumbnail{
    width: 80px;
    height: 80px;
    padding: 2px;
    border: 2px solid lightgray;
    border-radius: 3px;
    float: left;
    margin: 5px;
}

.size{
    font-size:12px;
}

/** ----------------------
/* case Image Uploader 
-------------------------*/
.container_img {
    width: 100%;
    margin: 0 auto;
}

.upload-area-case {
    /*width: 70%;*/
    height: 200px;
    border: 2px solid lightgray;
    border-radius: 3px;
    margin: 0 auto;
    text-align: center;
    overflow: auto;
}

.upload-area-case:hover {
    cursor: pointer;
}

.upload-area-case h1 {
    text-align: center;
    font-weight: normal;
    font-family: sans-serif;
    line-height: 50px;
    color: darkslategray;
}

/* Thumbnail */
.thumbnail {
    width: 80px;
    height: 80px;
    padding: 2px;
    border: 2px solid lightgray;
    border-radius: 3px;
    float: left;
    margin: 5px;
}

.size {
    font-size: 12px;
}

.box_image {
    width: 80px;
    height: 80px;
    padding: 2px;
    border: 2px solid lightgray;
    border-radius: 3px;
    float: left;
    margin: 5px;
}

.case_thumbnail {
    width: 80px;
    height: 80px;
    padding: 2px;
    border: 2px solid lightgray;
    border-radius: 3px;
    float: left;
    margin: 5px;
}

.task_thumbnail {
    width: 80px;
    height: 80px;
    padding: 2px;
    border: 2px solid lightgray;
    border-radius: 3px;
    float: left;
    margin: 5px;
}

/** ----------------------
/* END 
-------------------------*/

/* Tag dialog box */
.cases_comments {
    display: none;
    position: fixed;
    top: 60%;
    left: 20%;
    transform: translate(-50%, -50%);
    padding: 3px;
    background-color: white;
    border: 2px solid #073771;
    z-index: 9999;
}

.tasks_comments {
    display: none;
    position: fixed;
    top: 60%;
    left: 80%;
    transform: translate(-50%, -50%);
    padding: 3px;
    background-color: white;
    border: 2px solid #073771;
    z-index: 9999;
}

.friend {
    cursor: pointer;
    margin-bottom: 5px;
    font-weight: bold;
    padding: 5px 25px 5px 10px;
}

.friend:hover {
    background-color: #e8e8e8;
}

/** ----------------------
/* Drop down 
-------------------------*/

.dropdown {
    /*position: relative;*/
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: left !important;
    padding: 10px 16px;
    border-radius: 5px;
}

.dropdown-content a {
    color: black;
    padding: 4px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #073771;
    color: white; /* Change text color when hovered, if needed */
    border-radius: 3px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.arrow-icon {
    cursor: pointer;
}

.dropdown-content-selected {
    background-color: #073771;
    color: white !important; /* Change text color when hovered, if needed */
}


/** ----------------------
/* END 
-------------------------*/

.company-record-status{
    background-color: red !important;
    color: #fff !important;
    border-radius: 4px;
    padding-top: 6px !important;
}