/* 
    Created on : Feb 1, 2015, 5:23:00 PM
    Author     : BEN
*/

/****Messaging****************/
p.title {font-size: 14px;}
.circle-icon {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 28px;
    border: 2px solid #B4BBC1;
    border-radius: 100px;
    font-size: 14px;
    color: #B4BBC1;
    cursor: pointer;
    display: block;
    float: left;
}
.circle-icon.small {
    height: 25px;
    width: 25px;
    line-height: 21px;
    font-size: 11px;
}
.circle-icon:hover {
    color: #57636C;
    border-color: #57636C;
}
.circle-icon.red {
    color: #D23B3D;
    border-color: #D23B3D;
}
.circle-icon.red:hover {
    color: #791C1E;
    border-color: #791C1E;
}
.checkbox-wrapper {
    cursor: pointer;
    height: 20px;
    width: 20px;
    position: relative;
    display: inline-block;
    box-shadow: inset 0 0 0 1px #A3ADB2;
    border-radius: 1px;
}
.checkbox-wrapper input {
    opacity: 0;
    cursor: pointer;
}
.checkbox-wrapper input:checked ~ label {
    opacity: 1;
}
.checkbox-wrapper label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    background: #A3ADB2;
    opacity: 0;
    transition-duration: .05s;    
    height: 100%;   
    background: #54a1e6;
}
.checkbox-wrapper label:hover {
    background: #428bca;
    opacity: .5;
}
.checkbox-wrapper label:active 
{
    background: #87949b;
}

#main {
    z-index: 4;
    transition-duration: .3s;
    padding-left: 4px;
}
#main .overlay {
    position: absolute;
    top: 0;
    left: -10px;
    right: 0;
    bottom: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 5;
    opacity: 0;
    transition-duration: 0s;
    transition-property: opacity;
}
.show-main-overlay #main .overlay {
    opacity: 1;
    bottom: 0;
    transition-duration: .5s;
}
#main .headerx {
    padding: 10px;
    border-bottom: 1px solid #EFEFEF;
    overflow: hidden;
}
#main .headerx .page-title {
    display: block;
}
#main .headerx .page-title .sidebar-toggle-btn {
    width: 0;
    margin-top: 1px;
    padding: 11px 0 0 0;
    float: left;
    position: relative;
    display: block;
    cursor: pointer;
    transition-duration: .3s;
    transition-delay: .5s;
    opacity: 0;
    margin-right: 0;
}
.show-sidebar #main .headerx .page-title .sidebar-toggle-btn {
    transition-delay: 0s;
}
#main .headerx .page-title .sidebar-toggle-btn .line {
    height: 3px;
    display: block;
    background: #888;
    margin-bottom: 4px;
    transition-duration: .5s;
    transition-delay: .5s;
}
.show-sidebar #main .headerx .page-title .sidebar-toggle-btn .line-angle1 {
    transform: rotate(-120deg);
}
.show-sidebar #main .headerx .page-title .sidebar-toggle-btn .line-angle2 {
    transform: rotate(120deg);
}
#main .headerx .page-title .sidebar-toggle-btn .line-angle1 {
    width: 8px;
    margin: 0;
    position: absolute;
    top: 15px;
    left: -11px;
    transform: rotate(-60deg);
}
#main .headerx .page-title .sidebar-toggle-btn .line-angle2 {
    width: 8px;
    margin: 0;
    position: absolute;
    top: 21px;
    left: -11px;
    transform: rotate(60deg);
}
#main .headerx .page-title .icon {
    font-size: 15px;
    margin-left: 20px;
    position: relative;
    top: -5px;
    cursor: pointer;
}
#main .headerx .search-box {
    float: right;
    width: 150px;
    height: 40px;
    position: relative;
}
#main .headerx .search-box input,
#main .headerx .search-box .icon {
    transition-duration: .3s;
}
#main .headerx .search-box input {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    text-indent: 15px;
    height: 40px;
    z-index: 2;
    outline: none;
    color: #999;
    background: transparent;
    border: 2px solid #EFEFEF;
    border-radius: 5px;
    transition-timing-function: cubic-bezier(0.3, 1.5, 0.6, 1);
}
#main .headerx .search-box input:focus {
    color: #333;
    border-color: #d6d6d6;
    width: 150%;
}
#main .headerx .search-box input:focus ~ .icon {
    opacity: 1;
    z-index: 3;
    color: #61C7B3;
}
#main .headerx .search-box .icon {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    text-align: center;
    line-height: 40px;
    z-index: 1;
    cursor: pointer;
    opacity: .5;
}
#main .action-bar 
{
    padding: 20px 60px;
    border-bottom: 1px solid #EFEFEF;
    overflow: hidden;
}
#main .action-bar li
{
    float: left;
    margin-right: 10px;
}
#main #main-nano-wrapper 
{
    bottom: 0;
    height: auto;
}
#main .message-list {
    display: block;
    padding: 0;
}
#main .message-list li 
{
    position: relative;
    display: block;
    height: 50px;
    line-height: 50px;
    cursor: default;
    transition-duration: .3s;
    border-bottom: 1px solid;
}

#main .message-list li.active
{
    background: #dcdcdc;
    transition-duration: .05s;
    text-transform: uppercase;
}
#main .message-list li:hover,
#main .message-list li.selected 
{
    transition-duration: .05s;
    text-transform: uppercase;
}
#main .message-list li.active,
#main .message-list li.active:hover {
    /*box-shadow: inset 5px 0 0 #61C7B3;*/
}
#main .message-list li.unread 
{
    font-weight: 600;
    color: #555;
}
#main .message-list li .col 
{
    float: left;
    position: relative;
}
#main .message-list li.blue-dot .col-1 .dot {
    border-color: #1BC3E1;
}
#main .message-list li.orange-dot .col-1 .dot {
    border-color: #E2A917;
}
#main .message-list li.green-dot .col-1 .dot {
    border-color: #9AE14F;
}
#main .message-list li .col-1 {
    width: 400px; 
}
#main .message-list li .col-1 .star-toggle,
#main .message-list li .col-1 .checkbox-wrapper,
#main .message-list li .col-1 .dot {
    display: block;
    float: left;
}
#main .message-list li .col-1 .dot {
    border: 4px solid transparent;
    border-radius: 100px;
    margin: 22px 26px 0;
    height: 0;
    width: 0;
    line-height: 0;
    font-size: 0;
}
#main .message-list li .col-1 .checkbox-wrapper {
    margin-top: 15px;
    margin-right: 10px;
}
#main .message-list li .col-1 .star-toggle {
    margin-top: 15px;
}
#main .message-list li .col-1 .title {
    position: absolute;
    top: 0;
    left: 60px;
    right: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
#main .message-list li .col-2 {
    position: absolute;
    top: 0;
    left: 400px;
    right: 0;
    bottom: 0;
}
#main .message-list li .col-2 .subject,
#main .message-list li .col-2 .date {
    position: absolute;
    top: 0;
}
#main .message-list li .col-2 .subject {
    left: 0;
    right: 200px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
#main .message-list li .col-2 .date {
    right: 0;
    /*width: 200px;
    padding-left: 80px;*/
}
#main .load-more-link {
    display: block;
    text-align: center;
    margin: 30px 0 100px 0;
}
#messagec {
    position: fixed;
    top: 0;
    left: 60%;
    bottom: 0;
    width: 40%;
    z-index: 9999;
    transform: translateX(200%);
    transition-duration: .5s;
    padding: 50px 30px;
    background: #EFEFEF;
}
.show-message #message {
    transition-duration: .3s;
}
#message .headerx {
    margin-bottom: 30px;
    padding: 0;
}
#message .headerx .page-title {
    display: block;
    float: none;
    margin-bottom: 20px;
}
#message .headerx .page-title .icon {
    margin-top: 0;
    margin-right: 10px;
}
#message .headerx .grey {
    margin-left: 10px;
    color: #999;
}
#message .message-container {
    padding: 0;
}
#message ul {
    list-style-type: none;
}
#message .message-container li.convos {
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #FFF;
    margin: 0 0 30px 0;
    position: relative;
}
#message .message-container li:hover .details .left .arrow 
{
    background: #61C7B3;
    border: 0px solid #61C7B3;
}
#message .message-container li:hover .details .left .arrow.orange 
{
    background: #E2A917;
    border: 0px solid #E2A917;
}
#message .message-container li .details {
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
    overflow: hidden;
}
#message .message-container li .details .left {
    float: left;
    font-weight: 600;
    color: #888;
    transition-duration: .3s;
}
#message .message-container li .details .left .arrow {
    display: inline-block;
    position: relative;
    height: 2px;
    width: 20px;
    background: rgba(0, 0, 0, 0.15);
    vertical-align: top;
    margin-top: 12px;
    margin: 12px 20px 0 15px;
    border: 0px solid rgba(0, 0, 0, 0.15);
    transition-duration: .3s;
}
#message .message-container li .details .left .arrow:after {
    position: absolute;
    top: -4px;
    left: 100%;
    height: 0;
    width: 0;
    border: inherit;
    border-width: 7px;
    border-style: solid;
    content: '';
    border-right: 0;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-top-width: 5px;
    border-bottom-width: 5px;
}
#message .message-container li .details .right {
    float: right;
    color: #999;
}
#message .message-container li .message {
    margin-bottom: 40px;
}
#message .message-container li .message p:last-child {
    margin-bottom: 0;
}
#message .message-container li:hover .tool-box .red-hover {
    color: #D23B3D;
    border-color: #D23B3D;
}
#message .message-container li:hover .tool-box .red-hover:hover {
    color: #791C1E;
    border-color: #791C1E;
}
#message .message-container li .tool-box {
    position: absolute;
    bottom: 0;
    right: 0;
    border: 0px solid #DDDFE1;
    border-top-width: 1px;
    border-left-width: 1px;
    padding: 8px 10px;
    transition-duration: .3s;
}
#message .message-container li .tool-box a {
    margin-right: 10px;
}
#message .message-container li .tool-box a:last-child {
    margin-right: 0;
}
@media only screen and (min-width: 1499px) {
    #main .overlay {
        display: none;
    }
}
@media only screen and (max-width: 1500px) {
    .show-message #main {
        margin-right: 0;
    }
    .show-message #message {
        left: 50%;
        width: 50%;
    }
}
@media only screen and (max-width: 1024px) {
    #sidebar {
        transform: translateX(-100%);
    }
    #main {
        left: 0;
        box-shadow: none;
    }
    #main .headerx .page-title .sidebar-toggle-btn {
        margin-right: 20px;
        opacity: 1;
        width: 20px;
    }
    .show-sidebar #sidebar {
        transform: none;
    }
    .show-sidebar #main {
        transform: translateX(300px);
    }
    .show-message #main {
        margin-right: 0;
    }
    .show-message #message {
        /* left: 20%;
         width: 80%;*/
        left: 2%;
        width: 96%;
    }
}
@media only screen and (max-width: 600px) 
{
    #main .message-list li .col-1 .title {
        left: 17px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    #main .headerx .search-box {
        float: none;
        width: 100%;
        margin-bottom: -110px;
        margin-top: 70px;
    }
    #main .headerx .search-box input,
    #main .headerx .search-box input:focus 
    {
        width: 100%;
    }
    #main .headerx .page-title {
        margin-bottom: 20px;
    }
    #main #main-nano-wrapper {     
        bottom: 0;
        height: auto;
    }
    #main .message-list li .col-1 {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 120px;
        width: 100%;
    }
    #main .message-list li .col-2 {
        right: 0;
        left: auto;
        width: 100%;
    }
    #main .message-list li .col-2 .date {
        padding-left: 0;
        position: static;
    }
    #main .message-list li .col-2 .subject {
        display: none;
    }
}
/**
 * Nano scroll stuff
*/

.nano {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.nano > .nano-content {
    position: absolute;
    overflow: scroll;
    overflow-x: hidden;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.nano > .nano-content:focus {
    outline: none;
}
.nano > .nano-content::-webkit-scrollbar {
    visibility: hidden;
}
.has-scrollbar > .nano-content::-webkit-scrollbar {
    visibility: visible;
}
.nano > .nano-pane {
    background: rgba(117, 117, 117, 0.2);
    position: absolute;
    width: 8px;
    right: 8px;
    top: 8px;
    bottom: 8px;
    visibility: hidden\9;
    /* Target only IE7 and IE8 with this hack */
    opacity: .01;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.nano > .nano-pane > .nano-slider {
    background: #444;
    background: #C7C7C7;
    position: relative;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transition-property: background;
    -moz-transition-property: background;
    -o-transition-property: background;
    transition-property: background;
}
.nano > .nano-pane:hover > .nano-slider,
.nano > .nano-pane.active > .nano-slider {
    background: #A6A6A6;
}
.nano:hover > .nano-pane,
.nano-pane.active,
.nano-pane.flashed {
    visibility: visible\9;
    /* Target only IE7 and IE8 with this hack */
    opacity: 0.99;
}
/****End Messaging****************/

/****Attendance****************/
.app
{
    background: #f7f9fc;
    padding: 10px; 
    box-shadow: 0 35px 55px -20px rgba(0,0,0,0.4);
}

.topwid
{
    text-align: center;
    margin-top: 15px;
}

.numx
{
    font-size: 17px !important;
    margin: 0;
 }
.attwid
{
    background: #1e2125;
    margin-top: 20px;
}

.attwid .attendance ul
{
    margin-top: 15px;
}

.attwid .attendance ul li
{
    float: left;
    list-style: none;
    width: 14.3%;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255,255,255,0.2);
}

.attwid .attendance ul li span.date, .attwid .attendance tr td span.date
{
    display: block;
    color: rgba(255,255,255,0.4);
    opacity: 0.95;
    font-weight: 500;
    text-align: center;
}

.attwid .attendance ul li span.circle, .attwid .attendance tr td span.circle
{
    width: 24px;
    height: 24px;
    display: block;
    margin: 10px auto;
    border-radius: 100%;
    border: 5px solid transparent;
}
span.circle
{
    margin: 10px;
    display: inline-grid; 
    width: 24px;
    height: 24px;
    border-radius: 100%;   
}
.leg .dess{ margin: 10px 0;  color: #f6554d;}

.attwid .attendance  span.circle.absent, tr td span.absent
{
    border: 5px solid #554f52;
}

.attwid .attendance  span.circle.present, tr.calendar-row td.calendar-day span.present
{
    border: 5px solid #f6554d;
}

.attwid .attendance   span.circle.off, tr.calendar-row td.calendar-day span.off
{
    background: #554f52;
    border: 5px solid #554f52;
}

.attwid .attendance ul li span.circle.present + span
{
    color: #f6554d;
}

.attwid .attendance:after 
{
    content: '';
    display: table;
    clear: both;
}

.attwid .stats
{
    position: relative;
    top: 45px;
    height: 60px;
}

.attwid .stats .cal span
{
    position: absolute;
}

.attwid .stats .cal .title
{
    left: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.attwid .stats .cal .title .caption
{
    padding-top: 5px;
    color: rgba(255,255,255,0.25);
}

.attwid .stats .cal .rank
{
    right: 12px;
    font-size: 28px;
    color: #fff;
    letter-spacing: 1.5px;
    margin-top: -7px;
}

.attwid .stats .cal .rank .caption
{
    color: rgba(255,255,255,0.25);
    font-size: 12px;
    letter-spacing: 0;
    right: 0;
    margin-top: -5px;
}

.attwid .stats.highlight
{
    background: #f6554d;
    padding-top: 20px;
    margin-top: -10px;
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
    box-shadow: inset 0 15px 25px -5px rgba(0,0,0,0.25),
        inset 0 -15px 25px -5px rgba(0,0,0,0.1);
}

.attwid .stats.highlight *
{
    color: #fff !important;
}
/****End Attendance****************/
