﻿/* The Cardiff Met Colors are as follows: */
.dummy-class
{
    color: #6E273D; /*Bergundy Cardiff Met*/
    color: #002e52; /*Blue Cardiff Met*/
    color: #F9E11E; /*Yellow Cardiff Met*/
}

/* General Styles */

.centreText
{
	text-align: center;
}

h1
{
    font-size: 26px;
}

h2
{
    font-size: 22px;
}

h3
{
    font-size: 18px;
}

h4
{
    font-size: 16px;
}

.panel-heading h2, .panel-heading h3
{
    margin: 0;
    padding: 0;
}

.btn-primary
{
    background-color: #002e52;
    border-color: #162252;
}

.empty-gridview
{
    text-align: center;
    padding: 10px 0;
}

textarea
{
    resize: none;
}

.validated .control-label
{
    font-style:italic;
}

.alert
{
    display: inline-block;
    width: 100%;
    text-align: center;
}

.no-padding
{
    padding: 0;
}

h3.no-top-padding
{
    margin-top: 0;
    padding-top: 0;
}

.rowPadding
{
    padding-top: 10px;
}

.alignRight
{
	text-align: right;
}

.paddedCheckbox label 
{ 
    margin-left: 20px; 
	vertical-align: top;
}

input[readonly]
{
	background-color: white!important;
}

textarea[readonly]
{
	background-color: white!important;
}

.highlightCell
{
    color: #ff0000;
}

.form-section1
{
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #E3E3E3;
}

.divider1
{
    margin: 5px;
    padding: 0;
}

.divider2
{
    margin: 15px;
    padding: 0;
}

/* CRUD FORMS */

.form-buttons
{
    margin-top: 15px;
}

.form-buttons .btn
{
    margin-right: 10px;
}

.form-horizontal .control-label
{
    text-align: left;
}

.form-group-label
{
    margin: 0;
}

.crud-actions-header
{
    width: 130px;
}

.crud-actions
{
    text-align: center;
}

.crud-actions a
{
    margin: 0 8px;
}

/* Navigation Custom Styles */
.navbar
{
    background-color: #fff;
}

.navbar img
{
    padding: 15px 0;
}

.navbar li
{
    border-bottom: 1px solid #f2f2f2;
    border-top: 1px solid #f2f2f2;
}

.navbar li.active>a:link, .navbar li.active>a:visited
{
    background-color: #fff !important;
    padding: 10px 15px;
}

.navbar li.active > a, .navbar li.active>a:link, .navbar li.active>a:visited, .navbar li.active > a:active
{
    background-color: #F2F2F2 !important;
    border-right: 8px solid #E0E0E0;
}

.navbar li > a
{
    border-right: 8px solid #fff;
}

.navbar li > a:hover
{
    border-right: 8px solid #E0E0E0;
}

.navbar li>a:link, .navbar li>a:visited, .navbar li>a:hover, .navbar li>a:active
{
    padding: 10px 15px;
}

.navbar-collapse
{
    margin-top: 20px !important;
}

.navbar li.site-title > a:link, .navbar li.site-title > a:visited, .navbar li.site-title > a:hover, .navbar li.site-title > a:active
{
    background-color: #002e52 !important; /* Cardiff Met Blue*/
    color: #fff;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-right: none;
}

/* Wide Naviation Styles */

.nav-wide
{
    margin: 0;
    padding: 0;   
}

.nav-wide li
{
    border-bottom: none;
}

.nav-wide img
{
    padding: 5px 10px 5px 0;
    margin-bottom: 0;
}

.nav-wide-collapse
{
    margin-top: 10px !important;
}

.navbar-wide-menu-icon
{
    width:60% !important;
    float: right;
}

.site-logo
{
    width: 40% !important;
    float: left;
}

.site-name
{
    margin-top: 15px !important;
    width: 60%;
    float: right;
    text-align: right;
}

.site-name > a:link, .site-name > a:visited, .site-name > a:hover, .site-name > a:active
{
    color: #383838 !important;
    font-size: 24px;
}

/* Footer Styles */
/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height + 20px for spacing */
  margin-bottom: 280px;
}

#footer-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 260px;
  background-color: #f5f5f5;
}

#footer
{
    height: 220px;
    width: 100%;
    float: left;
}

#footer-bottom
{
    height: 40px;
    background-color: #002e52;
    color: #fff;
    width: 100%;
    float: left;
}

#footer-bottom .footer-caption
{
    padding: 10px 0;
}

#footer ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#footer .footer-heading
{
    border-bottom: 1px solid #999;
    font-size: 16px;
    width: 100%;
    padding: 10px 0 5px 0;
    margin-bottom: 10px;
    color: #666 !important;
}

#footer a
{
    color: #002e52;
}


/* 
 * Table Sorting 
 */
table.tablesorter thead tr .header {
	background-image: url(images/sorter/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(images/sorter/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(images/sorter/desc.gif);
}


/* Apply bootstrap pagination styles to DataTables Paging */
/* Full number pagination */

.paging_full_numbers, .dataTables_info
{
    margin-bottom: 10px;
    clear: both;
    float: left;
}

.paging_full_numbers a.paginate_button,
.paging_full_numbers a.paginate_active, 
.paging_full_numbers a.paginate_button
{
    position:relative;
    float:left;
    padding:6px 12px;
    line-height:1.42857143;
    text-decoration:none;
    color:#002e52;
    background-color:#fff;
    border:1px solid #ddd;
    margin-left:-1px;
    cursor: pointer;
}

.paging_full_numbers a.paginate_button:hover
{
    color:#2a6496;
    background-color:#eee;
    border-color:#ddd;
}
.paging_full_numbers a.paginate_active
{
    z-index:2;
    color:#fff;
    background-color:#002e52;
    border-color:#002e52;
    cursor:default;
}

.paging_full_numbers .next, .paging_full_numbers .previous
{
    display: none;
}

/* Apply tablesorter styles to DataTables for a consistent look and feel */
.dataTables_wrapper .sorting, .dataTables_wrapper .sorting_asc, .dataTables_wrapper .sorting_desc 
{ 
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}

.dataTables_wrapper .sorting { background-image: url(images/sorter/bg.gif); }
.dataTables_wrapper .sorting_asc { background-image: url(images/sorter/asc.gif); }
.dataTables_wrapper .sorting_desc { background-image: url(images/sorter/desc.gif); }

/* Apply styles for datepicker*/
.ui-datepicker {  
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
} 

.ui-datepicker .ui-datepicker-header {  
    background: #eee;
    font-weight: bold;
    -webkit-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, 2);  
    -moz-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2);  
    box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2);
}  

.ui-datepicker thead {  
    background-color: #f7f7f7;  
    border-bottom: 1px solid #bbb;
    background-image: linear-gradient(top,  #f7f7f7 0%,#f1f1f1 100%);
}  

.ui-datepicker th {  
    text-transform: uppercase;  
    font-size: 6pt;  
    padding: 5px 0; 
    text-shadow: 1px 0px 0px #fff;  
    filter: dropshadow(color=#fff, offx=1, offy=0);  
} 

.ui-datepicker tbody td {
    padding: 0;  
    border-right: 1px solid #EBEBEB;  
}

.ui-datepicker tbody td:last-child {  
    border-right: 0px;  
}  

.ui-datepicker tbody tr {  
    border-bottom: 1px solid #EBEBEB;  
}  

.ui-datepicker .ui-datepicker-calendar .ui-state-default {
	text-align: center;
    background: #eee;
    background: -moz-linear-gradient(top,  #ededed 0%, #dedede 100%);  
    background: -webkit-gradient(linear, left top, left bottombottom, color-stop(0%,#ededed), color-stop(100%,#dedede));  
    background: -webkit-linear-gradient(top,  #ededed 0%,#dedede 100%);  
    background: -o-linear-gradient(top,  #ededed 0%,#dedede 100%);  
    background: -ms-linear-gradient(top,  #ededed 0%,#dedede 100%);  
    background: linear-gradient(top,  #ededed 0%,#dedede 100%);  
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#dedede',GradientType=0 );  
    -webkit-box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);  
    -moz-box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);  
    box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);  
}

.ui-datepicker .ui-datepicker-unselectable .ui-state-default {  
    background: #f4f4f4;  
    color: #b4b3b3;  
} 

.ui-datepicker .ui-datepicker-calendar .ui-state-hover {
	background: #f2f2f2;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-highlight {
	border: 1px solid #f2f2f2;
    background: #f2f2f2;      
}

.ui-datepicker .ui-datepicker-calendar .ui-state-active {
	background: #F2F2F2;
    -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .3);  
    -moz-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .3);  
    box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .3);
    color: #363636;  
    font-weight: bold;
    text-shadow: none;
    filter: none;
    border: 1px solid #707070;   
}

.ui-datepicker div.ui-datepicker-buttonpane {
    border: 0;
    padding: 0;
    margin: -8px 0 0 0;
}

.ui-datepicker div.ui-datepicker-buttonpane button.ui-datepicker-current {
    font-weight: bold;
    opacity: 1;
    filter:Alpha(Opacity=100);
}

.ui-datepicker .ui-datepicker-calendar .ui-state-disabled
{
    color: #A3A3A3;
}

/* Accordion Styles */
.accordion-heading
{
    padding:0;
}


/* Login Styles*/
login-page {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #eee;
}

.login-welcome-message
{
    padding-top: 30px;
    text-align: center;
}

.form-signin {
  max-width: 400px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
}


/* Style Changes For Smaller Devices */
@media screen and (max-width : 767px) 
{
    /* Add padding around the Cardiff Met Logo when on small device */
    .navbar-header img
    {
        padding: 25px;
    }

    .nav-wide img
    {
        padding: 5px 0px;
    }

    .navbar-header img
    {
        padding: 5px 10px;
    }

    .site-logo
    {
        width: 100%;
        float:left;
    }

    .site-name
    {
        width: 100%;
        padding-bottom: 15px;
        float: left;
        text-align: left;
    }

    .crud-actions a
    {
        margin: 0 5px;
    }
}

@media screen and (max-width: 991px)
{
     body {
      /* Margin bottom by footer height + 20px for spacing */
      margin-bottom: 450px;
    }

    #footer-wrapper {
      /* Set the fixed height of the footer here */
      height: 430px;
    }

    #footer
    {
        height: 390px;
    }
}