/***********************************************************************************************
 *	styles.css
 *
 * This file is stylsheet 
 *	
 * @author 		CIAD Sylvain Aubort <support@ciad.ch>
 * @copyright 	Copyright (c) 2014, CIAD
 * @version		1.0
 * @license		This file is part of UAT Vaud.
 * 				UAT is free software: you can redistribute it and/or modify
 * 				it under the terms of the GNU General Public License as published by
 * 				the Free Software Foundation, either version 3 of the License, or
 * 				(at your option) any later version.
 *
 * 				UAT Vaud is distributed in the hope that it will be useful,
 * 				but WITHOUT ANY WARRANTY; without even the implied warranty of
 * 				MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * 				GNU General Public License for more details.
 *
 *					You should have received a copy of the GNU General Public License
 *					along with UAT Vaud. If not, see <http://www.gnu.org/licenses/>.
 ***********************************************************************************************/
body {
    padding-top: 55px;
    font-size: 1.5em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Exception container, for displaying default messages */
#exception-container {
    position: absolute;
    padding: 0;
    margin: 0;
    left: 0;
    right: 0;
    top: 5px;
    z-index: 99999;
}

/* Resize recaptcha */
#recaptcha_image, #recaptcha_image img {
    width: 100% !important;
}

.cursor {
    cursor: pointer;
}


.table tbody > tr > td {
    vertical-align: middle;
}

/* ZEBRA */
table.tablesorter tbody tr.normal-row td {
    background: #fff;

}

table.tablesorter tbody tr.alt-row td {
    background: #F9F9F9;
}

.loading {
    width: 15%;
    margin: 5px auto 5px auto;
}

.popover {
    z-index: 9999;
    max-width: 1200px;
    width: auto;
}

.datepicker {
    z-index: 9998 !important;
}

.bootstrap-timepicker-widget {
    z-index: 9998 !important;
}

.btn-group {
    margin-bottom: 10px;
}


@media (min-width: 992px) {
    .modal-lg {
        width: 1200px;
    }
}

@media print {
    .no-print {
        display: none !important;
    }

    .fc-left {
        display: none !important;
    }

    .fc-right {
        display: none !important;
    }

    overflow: hidden;
}

/**
 * For calendar display
 */

/* Event click cursor */
#calendar a.fc-event:hover {
    cursor: pointer;
}

/* Forbidden days background */
#calendar .past-days {
    background-color: #f0f0f0;
}

#calendar .warning-days {
    background-color: #f0f0f0;
}

#calendar .newperiod-days {
    background-color: #f2dede !important;
}

#calendar .future-days {
    background-color: #f0f0f0;
}

/**
 * For UAT availability events
 */

/* UAT event lastmin color */
.event-uat-lastmin {
    color: #8000ff !important;
    background-color: #e9d2ff !important;
    border: 0 !important;
}

/* UAT event success color */
.event-uat-success {
    color: #3c763d !important;
    background-color: #dff0d8 !important;
    border: #3c763d 1px !important;
}

/* UAT event warning color */
.event-uat-warning {
    color: #8a6d3b !important;
    background-color: #fcf8e3 !important;
    border: 0 !important;
}

/* UAT event danger color */
.event-uat-danger {
    color: #a94442 !important;
    background-color: #f2dede !important;
    border: 0 !important;
}

/**
 * For global and uat events
 */
/*.fc-content {
   font-size: 1.1em;
}
.fc-state-highlight {
   background-color: #e9d2ff !important;
}*/
/* Default event color */
/*#calendar .event-default-global, .event-default-uat {
   color: #fff !important;
   background-color: #337AB7 !important;
   border: 0 !important;
}*/
/* Default event color */
#calendar .event-default-global, .event-default-uat {
    color: #fff !important;
    background-color: #8000ff !important;
    border: 0 !important;
}

/**
 * For user events
 */

/* Event info color */
#cal-container .css-event-user-default {
    cursor: pointer;
    color: white !important;
    background-color: #828282 !important;
    border: #e0e0e0 1px solid !important;
}

#cal-container .css-event-user-info {
    cursor: pointer;
    color: white !important;
    background-color: #5bc0de !important;
    border: #d9edf7 1px solid !important;
}

/* Event success color */
#cal-container .css-event-user-success {
    cursor: pointer;
    color: white !important;
    background-color: #5cb85c !important;
    border: #dff0d8 1px solid !important;
}

/* Event danger color */
#cal-container .css-event-user-warning {
    cursor: pointer;
    color: white !important;
    background-color: #d9534f !important;
    border: #fcf8e3 1px solid !important;
}

/* Event warning color */
#cal-container .css-event-user-danger {
    cursor: pointer;
    color: white !important;
    background-color: #f0ad4e !important;
    border: #fcf8e3 1px solid !important;
}

#cal-container .css-event-admin, .css-event-uat {
    cursor: pointer;
    color: white !important;
    background-color: #337ab7 !important;
    border: #337ab7 1px solid !important;
}

#cal-container .css-event-lastmin {
    cursor: pointer;
    color: #8000ff !important;
    background-color: #e9d2ff !important;
    border: 0 !important;
}


.cal-day-previous {
    background-color: #eee !important;
}

/*.cal-day-today {
	color: red !important;
}*/
.fc-today .fc-day-number {
    font-weight: bold;
    color: #337ab7 !important;
}


/* Loading cal CSS */
.loading-cal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background-color: rgba(255, 255, 255, 0.5);
}

.loading-cal .progress {
    margin: 30% auto;
    width: 30%;
}


.carousel {
    margin-top: -5px;
    margin-left: -30px;
    margin-right: -30px;
}

/* Carousel details */
.carousel .item {
    height: 300px !important;
}

/* Carousle images */
.carousel .item.bg1 {
    background-image: url('../img/carousel_bg1.jpg');
    background-position: center;
    background-size: cover;
    width: 100% !important;
}

.carousel .item.bg2 {
    background-image: url('../img/carousel_bg2.jpg');
    background-position: center;
    background-size: cover;
    width: 100% !important;
}

.carousel .item.bg3 {
    background-image: url('../img/carousel_bg3.jpg');
    background-position: center;
    background-size: cover;
    width: 100% !important;
}

.carousel .item.bg4 {
    background-image: url('../img/carousel_bg4.jpg');
    background-position: center;
    background-size: cover;
    width: 100% !important;
}

.carousel .item.bg5 {
    background-image: url('../img/carousel_bg5.jpg');
    background-position: center;
    background-size: cover;
    width: 100% !important;
}

.carousel .item.bg6 {
    background-image: url('../img/carousel_bg6.jpg');
    background-position: center;
    background-size: cover;
    width: 100% !important;
}

.carousel .item.bg7 {
    background-image: url('../img/carousel_bg7.jpg');
    background-position: center;
    background-size: cover;
    width: 100% !important;
}

.carousel .item.bg8 {
    background-image: url('../img/carousel_bg8.jpg');
    background-position: center;
    background-size: cover;
    width: 100% !important;
}

.carousel .item.bg9 {
    background-image: url('../img/carousel_bg9.jpg');
    background-position: center;
    background-size: cover;
    width: 100% !important;
}

/* Welcome Screen and default */
/*.welcome-background {
	position: fixed;
	padding-top: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #000;
}*/


.welcome-img {
    position: fixed;
    padding-top: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../img/welcome.jpg');
    background-position: center;
    background-size: cover;
    width: 100% !important;
}


.welcome-content {
    position: absolute;
    top: 150px;
    right: 0;
    bottom: 0;
    left: 0;
}

/*.welcome-background .welcome-img img {
	max-width:100%;
	height: auto;
	z-index: 10000;
}*/

/* Editor */
.jqte {
    border: 0;
}

.jqte_editor {
    height: 300px;
    border: 0;
}

/**************************************************************************************************
 * SIDEBAR
 **************************************************************************************************/
.sidebar-hidden-button {
    margin: 10px;
}

@media screen and (min-width: 1200px) {
    .sidebar-collapse {
        display: block;
    }

    .container-without-sidebar {
        margin-left: 0;
    }
}

@media (min-width: 1200px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        overflow-x: hidden;
        overflow-y: auto;
        background-color: #eee;
        border-right: 1px solid #d4d4d4;
        width: 300px;
    }

    .container-without-sidebar {
        margin-left: 300px;
    }
}

.sidebar-list-title.list-group-item, .sidebar-list-item.list-group-item {
    padding: 15px;
    background-color: #eee;
    border: 0 !important;
    border-radius: 0 !important;
}

/*.sidebar-list-item.list-group-item.active {*/
/*    background-color: #337ab7 !important;*/
/*}*/

.sidebar-child > .list-group-item {
    padding-left: 40px;
}
