/*
Custom Styles - To overwrite the application
*/

body {
	background: #fff;
}
 
/* Custom Max-Width */

#page-dashboard, #page-reservation {
	max-width: 980px;
	margin: 0 auto;
}

/**********************************************************
	Header
**********************************************************/

#logo {
	margin: 30px auto;
    width: 100%;
    max-width: 980px;
}


#logo img {
    width: 100%;
}

.login-logo img {
    width: 143px !important;	
}

#navSignOut a {
    background: linear-gradient(to bottom, #ff3019 0%,#cf0404 100%);
    color: #fff !important;
}
/**********************************************************
	Footer
**********************************************************/

footer div {
	line-height: 35px;
    font-size: 13px;
}

footer div a {
	color:#fff !important;
}

.footer {
    background: linear-gradient(100deg, #043471 39%, rgb(8, 80, 173) 53%, #001838 80%);
    font-weight: bold;
}

/**********************************************************
	Dashboard
**********************************************************/
.dashboardHeader {
	background: -webkit-linear-gradient(10deg, #084ea8 39%, rgb(8, 80, 173) 53%, #001838 80%);
	background: -o-linear-gradient(10deg, #084ea8 39%, rgb(8, 80, 173) 53%, #001838 80%);
	background: linear-gradient(100deg, #084ea8 39%, rgb(8, 80, 173) 53%, #001838 80%);
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: bold;
}

.dashboard {
	-webkit-box-shadow: none;
	box-shadow: none;
	border-color:#eee;
}

.dashboard .badge {
	display:none;
}

.dashboardHeader {
    color: #fff;
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    font-size: 14px;
}

.availabilityDashboard .header {
	color: #ffffff;
    font-size: 12px !important;
    padding: 10px 17px;
    line-height: 14px !important;
    font-weight: bold;
	margin-top: 8px;
}

.dashboardContents .availabilityItem:nth-child(even) {
    background: #E3EBF2;
}
.dashboardContents li, .dashboardContents ul, .dashboardContents p {
    list-style: none;
	margin: 0;
    padding: 0;
}
.availabilityDashboard .availability {
	font-size: 12px;
    line-height: 22px;
}

.availabilityDashboard .resourceName, .availabilityDashboard .resourceName a {
	background: none;
	color:#000;
}

.availabilityDashboard h5 {
    display: none;
}

.availabilityDashboard .availabilityItem  {
	padding:0 0;
}

.availabilityDashboard .availabilityItem .reserveButton a {
	margin: 12px 0;
} 

.availabilityDashboard .availabilityItem div:nth-child(1) {
	margin: 6px 0;
}

.availabilityDashboard .availabilityItem .availability {
	margin: 12px 0;
}

.dashboardContents a {
    padding: 0;
}

/**********************************************************
	Schedule
**********************************************************/

.schedule_title {
    text-align: center;
    padding: 10px 0;
    color: #fff;
    background: -webkit-linear-gradient(10deg, #084ea8 39%, rgb(8, 80, 173) 53%, #001838 80%);
    background: -o-linear-gradient(10deg, #084ea8 39%, rgb(8, 80, 173) 53%, #001838 80%);
    background: linear-gradient(100deg, #084ea8 39%, rgb(8, 80, 173) 53%, #001838 80%);
    position: relative;
	width: 100%;
}

#reservations {
    width: 100% !important;
}

div.legend {
    line-height: 30px;
    width: 33.1%;
    border: solid #FFFFFF 1px;
    text-align: center;
    display: inline-block;
    margin: 0px;
}

.schedule-legend {
	margin-bottom: 0px;
}

.restricted {
    background: url(../img/stripe.bg.red.png);
    color: black;
}

#datepicker > div {
	width: 100% !important;
    display: block;
    padding: 0px 16px;
    border: none;
}

#calendar_toggle > span {
    position: absolute; 
    right: 15px;
    top: 15px;
    font-size: 30px;
}

td.resdate {
    width: 150px;
    padding: 0 3px;
    background-color: #1A84BC !important;
    color: #FFF !important;
}

table.reservations td {
    border: solid #E2E2E2 1px;
    height: 30px;
    display: table-cell;
    font-size: 13px;
    text-align: left;
}

.resourceNameSelector, a.resourceNameSelector, td.resourcename > a, td.resourcename > a:hover {
    cursor: pointer;
    color: #000 !important;
    font-size: 13px;
    padding: 10px 4px;
    text-decoration: none;
}

.reslabel {
	text-align:center !important;
}

#page-schedule {
	width:90%;
	margin: 0 auto;
}

tr.today td.resdate, td.today {
    font-weight: bold;
    background-color: #474747 !important;
}

tr.today td.resdate, td.today, td.resdate {
	text-align: center !important;
}

td.reserved {
    text-align: center !important;
}

/****** SCHEDULE POP UP *****/

#resourceDetailsPopup h4, #userDetailsPopup #userDetailsName {
    border-bottom: solid 1px #1A84BC;
    font-size: 12pt;
    padding: 10px 20px;
    margin: 0;
    background: -webkit-linear-gradient(10deg, #084ea8 39%, rgb(8, 80, 173) 53%, #001838 80%);
    background: -o-linear-gradient(10deg, #084ea8 39%, rgb(8, 80, 173) 53%, #001838 80%);
    background: linear-gradient(100deg, #084ea8 39%, rgb(8, 80, 173) 53%, #001838 80%);
    color: #fff;
}

#resourceDetailsDiv, #userDetailsDiv, #customize-columns {
    display: none;
    position: absolute;
    width: 650px;
    background-color: #fff;
    border: none;
    padding: 0 0 16px 0;
}

#resourceDetailsPopup, #userDetailsPopup {
    min-width: 300px;
    max-width: 1000px;
}

#resourceDetailsPopup .resourceImage {
    width: 200px;
    float: left;
    height: 100%;
    display: block;
}

#resourceDetailsPopup .resourceImage img {
    max-height: none !important;
    max-width: 200px;
    padding: 10px 10px 10px 10px;
}

#resourceDetailsPopup .description {
    line-height: 20px;
}

#resourceDetailsPopup .description, #resourceDetailsPopup .attributes {
    padding: 10px 10px;
    float: right;
    width: 433px;
    margin-right: 16px;
}

#resourceDetailsPopup .attributes {
    background: #E3EBF2;
}


/*********************************************************
	Resource Colours (In Alphabetical Order)
*********************************************************/
/* EAL Intervention */
.EALInt, .r24 .reserved {
	background-color:#ff5500 !important;
	color:#fff !important;	
}

/* English Room */
.English, .r4 .reserved {
	background-color: #7f3700 !important;
	color: #fff !important;
}

/* Eat 'n' Hall */
.Harrison,.r20 .reserved {
	background-color:#f28500 !important;
	color:#fff !important;	
	border: 2px solid #b76808 !important
}

/* IT Suite */
.IT, .r6 .reserved {
	background-color: #ffe100 !important; 
	color: #333 !important;
    border: 2px solid #bdaa1a !important; 
}

/* Maths Room - Used for Intervention */
.Intervention, .r7 .reserved {
	background-color: #86d900 !important;
	border: 2px solid #6da80d !important;
}

/* Media Hub and Room */
.Media, .r9 .reserved, .r8 .reserved {
	background-color:#008060 !important;	
	color:#fff !important;
    border: 2px solid #00b285 !important;
}


/* Mini Bus */
.Mini, .Mini-Bus, .r10 .reserved, .r11 .reserved {
	background-color:#002a33 !important;	
	color: #fff !important;
    border: 2px solid #8b9da0 !important;
}


/* Pods */
.Pod, .r15 .reserved, .r16 .reserved {
	background-color:#003359 !important;
	color:#fff !important;
	border: 2px solid #a4b8c7 !important;
}

/* Staff Room */
.Staff, .r18 .reserved {
	background-color: #7a00cc !important;
	color:#fff !important;	
    border: 2px solid #380759 !important;
}

/* Meeting/Conference Room */
.Meeting, .r19 .reserved {
	background-color: #8c0007 !important;
	color:#fff !important;
	border: 2px solid #540004 !important;
}

/* Spanish */

.Spanish, .r17 .reserved {
	background-color: #80b2cd !important;
	color:#fff !important;
}

/* Rule that overwrites the background */ 

.unreservable {
    background: #e5f5ff !important;
	color: #000 !important;
}


/*********************************************************
	Adding Reservation
*********************************************************/

#form-reservation > div:nth-child(1) {
    padding: 12px 18px;
    text-decoration: none;
    margin: 0 0 20px 0;
    background: -webkit-linear-gradient(10deg, #084ea8 39%, rgb(8, 80, 173) 53%, #001838 80%);
    background: -o-linear-gradient(10deg, #084ea8 39%, rgb(8, 80, 173) 53%, #001838 80%);
    background: linear-gradient(100deg, #084ea8 39%, rgb(8, 80, 173) 53%, #001838 80%);
    color: #fff;
}

#reservation-box h3 {
	line-height:35px;
}

#form-reservation .row {
	margin-left:0px;
	margin-right:0px;
}

#form-reservation {
	background: #fff;
    border: 1px solid #e5e5e5;
    -moz-box-shadow: rgba(200, 200, 200, 1) 0 4px 5px;
    -webkit-box-shadow: rgba(200, 200, 200, 1) 0 4px 5px;
    -khtml-box-shadow: rgba(200, 200, 200, 1) 0 4px 5px;
    box-shadow: rgba(200, 200, 200, 1) 0 4px 5px;
}

.select-user {
	background: #f9f9f9;
    padding: 20px 15px;
}

#showChangeUsers {
	background: #ccc;
    padding: 0px 20px;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 86px;
    color: #fff;
    font-size: 18px;
}

/*********************************************************
	Login Page
*********************************************************/

.login-box-main {
	max-width: 450px;
	margin: 0 auto;
}

#login-box-new {
	background-color:#fff;
    padding: 35px;
	border: 1px solid #e5e5e5;
}

.btn-login {
	background-color: #337ab7;
}

.btn-login:hover {
	background-color: #2071b7;
}

a, a:visited {
	color:#337ab7;
}

.btn-change-pass {
	color: #ffffff;
    background-color: #f0ad4e;
    border-color: #b77619;
    font-weight: bold;
    display: block;
    margin: 0 auto;
}

.btn-change-pass:hover {
	background-color:#e49019;
	color:#fff;
}

#login-box-new > div:nth-child(3) > div > div > div {
	margin: 0 auto;
}

#page-login .alert-danger {
    max-width: 450px;
    margin: 0 auto;
    border-radius: 5px 5px 0 0;
}
