﻿
/*---------------------------------------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------RAG COLORS-----------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------------------------------*/

/*#region Rag Colors*/

.rag-backgroung-color-0 {
    position: relative; /*IE8*/
    z-index: 0; /*IE8*/
    background-color: #e5e5e5;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0,#e5e5e5), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #e5e5e5 0,#cccccc 100%); /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #e5e5e5 0, #cccccc 100%); /* FF3.6+ */
    background: -o-linear-gradient(top, #e5e5e5 0,#cccccc 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #e5e5e5 0,#cccccc 100%); /* IE10+ */
    background: linear-gradient(to bottom, #e5e5e5 0,#cccccc 100%); /* W3C */
    -pie-background: linear-gradient(to bottom, #e5e5e5 0%,#cccccc 100%); /*IE 6-9 via PIE*/
    behavior: url(/legacy/Content/CCS3PIE/PIE.htc);
    /*behavior: url(CSS3PIE);*/
}

.rag-backgroung-color-1 {
    position: relative; /*IE8*/
    z-index: 0; /*IE8*/
    background-color: #009e49;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0,#009e49), color-stop(100%,#007837)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #009e49 0,#007837 100%); /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #009e49 0, #007837 100%); /* FF3.6+ */
    background: -o-linear-gradient(top, #009e49 0,#007837 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #009e49 0,#007837 100%); /* IE10+ */
    background: linear-gradient(to bottom, #009e49 0,#007837 100%); /* W3C */
    -pie-background: linear-gradient(to bottom, #009e49 0%,#007837 100%); /*IE 6-9 via PIE*/
    behavior: url(/legacy/Content/CCS3PIE/PIE.htc);
    /*behavior: url(CSS3PIE);*/
}

.rag-backgroung-color-2 {
    position: relative; /*IE8*/
    z-index: 0; /*IE8*/
    background-color: #fbac35;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0,#fbac35), color-stop(100%,#BF8328)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fbac35 0,#BF8328 100%); /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #fbac35 0, #BF8328 100%); /* FF3.6+ */
    background: -o-linear-gradient(top, #fbac35 0,#BF8328 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fbac35 0,#BF8328 100%); /* IE10+ */
    background: linear-gradient(to bottom, #fbac35 0,#BF8328 100%); /* W3C */
    -pie-background: linear-gradient(to bottom, #fbac35 0%,#BF8328 100%); /*IE 6-9 via PIE*/
    behavior: url(/legacy/Content/CCS3PIE/PIE.htc);
    /*behavior: url(CSS3PIE);*/
}

.rag-backgroung-color-3 {
    position: relative; /*IE8*/
    z-index: 0; /*IE8*/
    background-color: #ec1c2c;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0,#ec1c2c), color-stop(100%,#B41522)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ec1c2c 0,#B41522 100%); /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #ec1c2c 0, #B41522 100%); /* FF3.6+ */
    background: -o-linear-gradient(top, #ec1c2c 0,#B41522 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ec1c2c 0,#B41522 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ec1c2c 0,#B41522 100%); /* W3C */
    -pie-background: linear-gradient(to bottom, #ec1c2c 0%,#B41522 100%); /*IE 6-9 via PIE*/
    behavior: url(/legacy/Content/CCS3PIE/PIE.htc);
    /*behavior: url(CSS3PIE);*/
}

.rag-backgroung-color-4 {
    position: relative; /*IE8*/
    z-index: 0; /*IE8*/
    background-color: #006cb4;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0,#006cb4), color-stop(100%,#00538A)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #006cb4 0,#00538A 100%); /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #006cb4 0, #00538A 100%); /* FF3.6+ */
    background: -o-linear-gradient(top, #006cb4 0,#00538A 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #006cb4 0,#00538A 100%); /* IE10+ */
    background: linear-gradient(to bottom, #006cb4 0,#00538A 100%); /* W3C */
    -pie-background: linear-gradient(to bottom, #006cb4 0%,#00538A 100%); /*IE 6-9 via PIE*/
    behavior: url(/legacy/Content/CCS3PIE/PIE.htc);
    /*behavior: url(CSS3PIE);*/
}

.rag-backgroung-color-99 {
    position: relative; /*IE8*/
    z-index: 0; /*IE8*/
    background-color: #e5e5e5;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0,#e5e5e5), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #e5e5e5 0,#cccccc 100%); /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #e5e5e5 0, #cccccc 100%); /* FF3.6+ */
    background: -o-linear-gradient(top, #e5e5e5 0,#cccccc 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #e5e5e5 0,#cccccc 100%); /* IE10+ */
    background: linear-gradient(to bottom, #e5e5e5 0,#cccccc 100%); /* W3C */
    -pie-background: linear-gradient(to bottom, #e5e5e5 0%,#cccccc 100%); /*IE 6-9 via PIE*/
    behavior: url(/legacy/Content/CCS3PIE/PIE.htc);
    /*behavior: url(CSS3PIE);*/
}

/*#endregion*/

/*---------------------------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------RAG LETTERS-----------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------------------------------*/

/*#region Rag Letters*/
/* NOTE: '::before' not supported in IE8, hence used ':before'*/
.rag-letter-0:before {
    content: "";
}

.rag-letter-1:before {
    content: "G";
}

.rag-letter-2:before {
    content: "A";
}

.rag-letter-3:before {
    content: "R";
}

.rag-letter-4:before {
    content: "C";
}

.rag-letter-99:before {
    content: " ";
}

/*#endregion*/

/*#region Rag compare symbols*/
/* NOTE: '::after' not supported in IE8, hence used ':after'*/

.rag-circle.rag-compare:after {
    margin-left: 3px;
    font-size: 0;
    position: relative;
    content: "";
}

.rag-rectangle.rag-compare:after {
    margin-left: 7px;
    font-size: 0;
    position: relative;
    content: "";
}

.rag-rectangle-sm.rag-compare:after {
    margin-left: 7px;
    font-size: 0;
    position: relative;
    content: "";
}

.rag-circle.notapplicable-arrow:after {
    margin-left: 0;
}

.rag-circle.nochange-arrow:after {
    bottom: 12px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 12px solid #ffffff;
    -moz-transform: scale(0.999);
    -webkit-backface-visibility: hidden;
}

.rag-circle.up-arrow:after {
    bottom: 20px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #ffffff;
    -moz-transform: scale(0.999);
    -webkit-backface-visibility: hidden;
}

.rag-circle.down-arrow:after {
    bottom: 6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid #ffffff;
    -moz-transform: scale(0.999);
    -webkit-backface-visibility: hidden;
}

.pdf.rag-circle.notapplicable-arrow:after {
    margin-left: 0;
}

.rag-circle.pdf.nochange-arrow:after {
    bottom: 9px;
}

.pdf.rag-circle.up-arrow:after {
    bottom: 17px;
    /*border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #ffffff;
    -moz-transform: scale(0.999);*/
    /*-webkit-backface-visibility: hidden;*/
}

.pdf.rag-circle.down-arrow:after {
    bottom: 2px;
    /*border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid #ffffff;
    -moz-transform: scale(0.999);
    -webkit-backface-visibility: hidden;*/
}



.rag-rectangle.notapplicable-arrow:after {
    margin-left: 0;
}

.rag-rectangle.nochange-arrow:after {
    bottom: 4px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 8px solid #ffffff;
    -moz-transform: scale(0.999);
    -webkit-backface-visibility: hidden;
}

.rag-rectangle.up-arrow:after {
    bottom: 9px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid #ffffff;
    -moz-transform: scale(0.999);
    -webkit-backface-visibility: hidden;
}

.rag-rectangle.down-arrow:after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #ffffff;
    -moz-transform: scale(0.999);
    -webkit-backface-visibility: hidden;
}

.rag-rectangle-sm.notapplicable-arrow:after {
    margin-left: 0;
}

.rag-rectangle-sm.nochange-arrow:after {
    bottom: 4px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 8px solid #ffffff;
    -moz-transform: scale(0.999);
    -webkit-backface-visibility: hidden;
}

.rag-rectangle-sm.up-arrow:after {
    bottom: 9px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid #ffffff;
    -moz-transform: scale(0.999);
    -webkit-backface-visibility: hidden;
}

.rag-rectangle-sm.down-arrow:after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #ffffff;
    -moz-transform: scale(0.999);
    -webkit-backface-visibility: hidden;
}

/*#endregion*/

/*---------------------------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------RAG BUTTONS-----------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------------------------------------*/
/*#region Rag Buttons*/
.rag {
    color: #fff;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    line-height: 1;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    white-space: nowrap;
    padding: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ragDate {
    Height: 20px;
    width: 100px;
    min-height: 20px;
    max-height: 20px;
    min-width: 100px;
    max-width: 100px;
    font-size: 13px;
}

.rag-rectangle {
    height: 20px;
    width: 40px;
    min-height: 20px;
    max-height: 20px;
    min-width: 40px;
    max-width: 40px;
    font-size: 13px;
}

.rag-rectangle-sm {
    height: 14px;
    width: 28px;
    min-height: 14px;
    max-height: 14px;
    min-width: 28px;
    max-width: 28px;
    font-size: 11px;
}

.rag-square {
    width: 20px;
    height: 20px;
    min-height: 20px;
    max-height: 20px;
    min-width: 20px;
    max-width: 20px;
    font-size: 13px;
}

.rag-square-sm {
    width: 14px;
    height: 14px;
    /*padding-top: 2px;*/
    min-height: 14px;
    max-height: 14px;
    min-width: 14px;
    max-width: 14px;
    font-size: 11px;
}

.rag-circle {
    width: 75px;
    height: 75px;
    min-height: 75px;
    max-height: 75px;
    min-width: 75px;
    max-width: 75px;
    font-size: 36px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    behavior: url(/legacy/Content/CCS3PIE/PIE.htc);
    /*behavior: url(CSS3PIE);*/
}

.rag-circle-30 {
    width: 30px;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    min-width: 30px;
    max-width: 30px;
    font-size: 26px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    behavior: url(/legacy/Content/CCS3PIE/PIE.htc);
    /*behavior: url(CSS3PIE);*/
}

.pdf.rag-circle {
    width: 50px;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    min-width: 50px;
    max-width: 50px;
    font-size: 26px;
}

.pdf.ragDate {
    Height: 14px;
    width: 60px;
    min-height: 14px;
    max-height: 14px;
    min-width: 60px;
    max-width: 60px;
    font-size: 8px;
}

/*.pdf.rag-square-sm {
    float: left;
}*/

@media (max-width: 1366px) {

    .rag-circle {
        width: 50px;
        height: 50px;
        min-height: 50px;
        max-height: 50px;
        min-width: 50px;
        max-width: 50px;
        font-size: 26px;
    }

        .rag-circle.rag-compare:after {
            margin-left: 8px;
        }

        .rag-circle.nochange-arrow:after {
            bottom: 10px;
            border-top: 5px solid transparent;
            border-bottom: 5px solid transparent;
            border-left: 10px solid #ffffff;
            -moz-transform: scale(0.999);
            -webkit-backface-visibility: hidden;
        }

        .rag-circle.up-arrow:after {
            bottom: 16px;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-bottom: 10px solid #ffffff;
            -moz-transform: scale(0.999);
            -webkit-backface-visibility: hidden;
        }

        .rag-circle.down-arrow:after {
            bottom: 4px;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 10px solid #ffffff;
            -moz-transform: scale(0.999);
            -webkit-backface-visibility: hidden;
        }
}

@media (max-width: 1024px) {

    .rag-circle, .pdf.rag-circle {
        width: 42px;
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        min-width: 42px;
        max-width: 42px;
        font-size: 18px;
    }

        .rag-circle.rag-compare:after {
            margin-left: 6px;
        }

        .rag-circle.nochange-arrow:after {
            bottom: 7px;
            border-top: 4px solid transparent;
            border-bottom: 4px solid transparent;
            border-left: 8px solid #ffffff;
            -moz-transform: scale(0.999);
            -webkit-backface-visibility: hidden;
        }

        .rag-circle.up-arrow:after {
            bottom: 11px;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-bottom: 8px solid #ffffff;
            -moz-transform: scale(0.999);
            -webkit-backface-visibility: hidden;
        }

        .rag-circle.down-arrow:after {
            bottom: 3px;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 8px solid #ffffff;
            -moz-transform: scale(0.999);
            -webkit-backface-visibility: hidden;
        }

}

/*#endregion*/



