﻿
        #referralContainer {
            background-color: #fff;
            border: 1px solid rgba(100, 100, 100, .4);
            -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
            overflow: visible;
            position: absolute;
            top: 40px;
            margin-left: -130px;
             width: 450px;
            z-index: 100;
            display: none;
            /*// Enable this after jquery implementation;*/
        }

         #referralContainer:before {
            content: '';
            display: block;
            position: absolute;
            width: 0;
            height: 0;
            color: transparent;
            border: 10px solid black;
            border-color: transparent transparent #fff;
            margin-top: -20px;
            margin-left: 140px;
        }
         .ReadButton{
             float:right;
             color:#006699;
         }
        
         #referralContainer .referralTitle{
            padding:10px;
            color:black;
            text-align:left;
            width:100%;
            border-bottom:1px solid;
            clear:both;
        }

        #referralTitle {
            font-weight: bold;
            padding: 8px;
            font-size: 13px;
            position: fixed;
            z-index: 1000;
            width: 430px;
            border-bottom: 1px solid #dddddd;
            background: #1e5799; /* Old browsers */
            background: -moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
            background: -webkit-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
            background: -o-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */
            background: -ms-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */
            background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */
        }

        #referralsBody {
            padding: 33px 0px 0px 0px !important;
            height: 300px;
            overflow-y:scroll;
        }

        #referralFooter {
            background-color: #e9eaed;
            text-align: center;
            font-weight: bold;
            padding: 8px;
            font-size: 12px;
            border-top: 1px solid #dddddd;
            color:black;
        }
        #referral_count {
            padding: 3px 7px 3px 7px;
            background: #cc0000;
            color: #ffffff;
            font-weight: bold;
            margin-left: 77px;
            border-radius: 9px;
            -moz-border-radius: 9px;
            -webkit-border-radius: 9px;
            position: absolute;
            margin-top: -11px;
            font-size: 11px;
        }

        .IsUnread{
            background:#a6daf5;
        }
@media all and (max-width: 800px){
        #referralContainer {
            background-color: #fff;
            border: 1px solid rgba(100, 100, 100, .4);
            -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
            overflow: visible;
            position: absolute;
            top: 40px;
            width: 450px;
            margin-left:-260px;
            z-index: 100;
            display: none;
            /*// Enable this after jquery implementation;*/
        }        
}        



