﻿/* CCCWebUI.css*/

/********** Standard fonts, sizes and colours **********/

/* Set all elements to fill the height of the screen*/
/*CCCPS-82143 - Earlier it was first loading small font size text and then MDS style one, so this is to load font size similar to MDS on launch*/
html {
    font-size: 1rem;
}

html, body, form {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
}

label {
    font-weight: normal;
}

.centre {
    text-align: center;
}

/*Remove border black border around image in IE*/
a img {
    border: 0;
}

/*#region Tabs*/
/*add border on tabs (see about screen for example)*/
.tab-content {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    border-radius: 0px 0px 4px 4px;
}

.nav-tabs {
    margin-bottom: -1px;
}

    /*stop the dotted line when click on a tab*/
    .nav-tabs > .active > a, .nav-tabs > .active > a:hover {
        outline: 0;
        color: #555555;
        background-color: #ffffff;
        border: 1px solid #ddd;
        border-bottom-color: transparent;
        cursor: default;
    }

    /*make inactive tabs have a border*/
    .nav-tabs > li > a {
        border: 1px solid #eee;
    }

/*make tabs a bit closer together*/
.nav > li > a {
    padding: 10px 10px;
}

/*.input-group .form-control {
    fix for multiselect (did not work in IE) left in in case
    removing effects other places)
    z-index:0 ;
    stop controls appearing above popups
    position: inherit;
}*/


/* #endregion */

/*bootstrap override - when viewing dls (such as on user account screen) dts aren't wide enough)*/
.dl-horizontal dt {
    width: 200px;
}

.dl-horizontal dd {
    margin-left: 215px;
}

/*set size of logo in header*/
div.navbar-header .CCCApplicationLogo img {
    height: 50px;
    margin-top: -3px;
}

/*includes the top menubar/navbar and the main content*/
div.CCCContainer {
    min-height: 100%;
    height: 100%; /*makes contents fill a div to footer*/
    /*cater for footer (if don't want footer override this)*/
    margin: 0 auto -30px;
    padding: 0 0 -30px;
}

/*the main central content*/
div.CCCContent {
    padding: 81px 15px 60px; /*header,right and left, footer*/
    min-height: 100%;
}

div.CCCHeaderLogo {
    height: 40px;
    width: 965px;
    padding: 5px 10px;
}

    div.CCCHeaderLogo img.CCCApplicationLogo {
        height: 40px;
    }

    div.CCCHeaderLogo img.CCCCollegeLogo {
        height: 40px;
        float: right;
    }

    div.CCCHeaderLogo div.CCCHeaderVersion {
        height: 40px;
        display: inline-block;
        font-size: 1.2em;
        font-weight: bold;
        vertical-align: top;
        line-height: 40px;
    }

/*div.CCCHeaderMenu
{
	height: 21px;
	width: 965px;
	padding:0px 10px;
}*/

/*div.CCCHeaderMenu div.CCCHeaderUser
{
	float:right;
}*/



div.CCCContentWithFooter /*this is catered for by CCCContainer and CCCFooter*/ {
    /*padding-bottom: 67px;*/ /* footer full height + 10 for content padding*/
}

div.CCCFooter {
    min-height: 25px !important; /*override bootstrap*/
    /*height: 60px;
	background-color: #f5f5f5;*/
    /*background-color: #7AC0DA;*/
    /*position: absolute;
	bottom: 0;
	height: 50px;
	width: 965px;
	border-top: solid 1px #EEE;
	padding: 3px 10px;*/
}


    div.CCCFooter div.CCCFooterLinks {
        text-align: center;
        padding-top: 2px;
    }

/*#region CCCStandardBox*/
/* The box that contains the login, change password, 404, unauth, etc. */

div.CCCStandardBox {
    width: 96%;
    max-width: 520px;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border: solid 1px #AAA;
    left: 0;
    right: 0;
    min-height: 400px;
}

    div.CCCStandardBox div.CCCLogo {
        border-bottom: solid 1px #AAA;
    }

        div.CCCStandardBox div.CCCLogo img {
            vertical-align: bottom;
        }

    div.CCCStandardBox div.CCCApplicationLogo {
        margin-top: 20px;
        margin-bottom: 7px;
        text-align: center;
    }

    div.CCCStandardBox div.CCCVersion {
        margin-bottom: 20px;
        text-align: center;
    }
/* #endregion */

/* #region Login Page */

table.CCCLogin {
    margin-left: auto;
    margin-right: auto;
    width: 280px;
}

    table.CCCLogin td {
        padding: 2px; /* cellpadding */
    }



div.CCCLoginMessage {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

div.CCCLoginFailureMessage {
    text-align: center;
    color: Red;
}

div.CCCLoginButton {
    margin-top: 20px;
    text-align: center;
    margin-bottom: 10px;
}

/* #endregion */


/* #region Unauthorised page */
div.CCCUnauthorised div.CCCHeading {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.1em;
    color: Red;
}

div.CCCUnauthorised div.CCCMessage {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}
/* #endregion */

/* #region 404 page */
div.CCC404 div.CCCHeading {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.1em;
    color: Red;
}

div.CCC404 div.CCCMessage {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

div.CCC404 div.CCCLinks {
    margin-bottom: 20px;
    text-align: center;
}
/* #endregion */

/* #region Exception page */
div.CCCException {
    padding-top: 50px;
    background-color: White;
    height: 100%;
}

    div.CCCException div.CCCApplicationLogo {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 7px;
    }

    div.CCCException div.CCCVersion {
        margin-bottom: 20px;
        text-align: center;
    }

    div.CCCException div.CCCSection {
        margin-bottom: 20px;
    }

    div.CCCException div.CCCErrorMessage {
        text-align: center;
        font-weight: bold;
    }

    div.CCCException div.CCCTechnicalDetails {
        color: gray;
    }

    div.CCCException div.CCCTechnicalDetailsText {
        font-size: smaller;
    }

    div.CCCException span.CCCShowAdditional {
        font-weight: bold;
        cursor: pointer;
    }

    div.CCCException span.CCCAdditionalText table {
        table-layout: fixed;
        -ms-word-wrap: break-word;
        word-wrap: break-word;
    }

    div.CCCException div.CCCLinks {
        text-align: center;
    }
/* #endregion */

/* #region Standard message display */
div.CCCShowMessage {
    text-align: center;
    color: Blue;
    font-weight: bold;
}

div.CCCShowError {
    text-align: center;
    color: red;
}
/* #endregion */

/* #region About box */
div.CCCAboutLabelColumn {
    width: 150px;
    display: inline-block;
    height: 20px;
}

div.CCCAboutContentColumn {
    display: inline-block;
    height: 20px;
}
/* #endregion */

/****** For making things transparent ********/
.CCCTransparent {
    -ms-zoom: 1;
    zoom: 1;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.CCCCentreImage {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.CCCTruncated {
    display: inline-block;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
}

.CCCNotTruncated {
    display: inline-block;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: pre-wrap;
    max-height: 7em;
    vertical-align: top;
}

.CCCTextWrap {
    overflow-wrap: break-word;
}


.CCCNoDecoration, .CCCNoDecoration:hover, .CCCNoDecoration:visited, .CCCNoDecoration:active, .CCCNoDecoration:focus {
    text-decoration: none;
    color: inherit;
}

.CCCResponsive {
    width: 100%;
    overflow: auto;
}

.CCCDragging-hover {
    border-left: 2px solid #a94442 !important;
}


.CCCDragging-arrow-up {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid #a94442;
    position: absolute;
    bottom: -10px;
    left: -9px;
}

.CCCNotificationIcon {
    color: red;
}

/* #region Icons */


/* #endregion */
