/* Sticky footer styles
      -------------------------------------------------- */

html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */


}


.btn-onysos-transparent {
    background-color: white !important;
    border: none;
}

.btn-onysos-purple {
    background-color: #782484 !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bc38e5", endColorstr="#470b5a");
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.59);
    -webkit-font-smoothing: antialiased;
}

.btn-onysos-orange {
    background-color: #e84806 !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bc38e5", endColorstr="#470b5a");
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.59);
    -webkit-font-smoothing: antialiased;
}

.btn-onysos-blue {
    background-color: #0046FE !important;
    color: #fff;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bc38e5", endColorstr="#470b5a");
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.59);
    -webkit-font-smoothing: antialiased;
}

.btn-onysos-green {
    background-color: #01DC01 !important;
    color: #fff;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bc38e5", endColorstr="#470b5a");
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.59);
    -webkit-font-smoothing: antialiased;
}

.btn-onysos-red {
    background-color: #c12e2a !important;
    border-style: solid;
    border-width: 2px;
    border-color: #c12e2a !important;
    color: #fff;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bc38e5", endColorstr="#470b5a");
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.59);
    -webkit-font-smoothing: antialiased;
}


.btn-onysos-green.focus,
.btn-onysos-green:focus,
.btn-onysos-green:hover,
.btn-onysos-red.focus,
.btn-onysos-red:focus,
.btn-onysos-red:hover,
.btn-onysos-blue.focus,
.btn-onysos-blue:focus,
.btn-onysos-blue:hover,
.btn-onysos-orange.focus,
.btn-onysos-orange:focus,
.btn-onysos-orange:hover,
.btn-onysos-purple.focus,
.btn-onysos-purple:focus,
.btn-onysos-purple:hover {
    color: white !important;
    text-decoration: none !important;
    z-index: auto !important;
}

.btn-onysos-border {
    border-left: solid 1px grey !important;
    border-right: solid 1px grey !important;
}

.onysos-orange {
    color: #e84806 !important;
}


.onysos-purple {
    color: #782484 !important;
}

.onysos-green {
    color: #01DC01 !important;
}

.onysos-blue {
    color: #0046FE !important;
}

.onysos-red {
    color: #c12e2a !important;
}

.onysos-white {
    color: white !important;
}


.onysos-bg-orange {
    background-color: #e84806 !important;
    color: #fff;
}

.onysos-bg-purple {
    background-color: #782484 !important;
    color: #fff;
}

.onysos-bg-green {
    background-color: #01DC01 !important;
    color: #fff;
}

.onysos-bg-blue {
    background-color: #0046FE !important;
    color: #fff;
}

.onysos-bg-red {
    background-color: #c12e2a !important;
    color: #fff;
}

.onysos-bg-white {
    background-color: white !important;
}


.onysos-border-orange {
    border: solid 1px #e84806 !important;
}


.onysos-border-purple {
    border: solid 1px #782484 !important;
}

.onysos-border-green {
    border: solid 1px #01DC01 !important;
}

.onysos-border-blue {
    border: solid 1px #0046FE !important;
}

.onysos-border-red {
    border: solid 1px #c12e2a !important;
}

.onysos-border-white {
    border: solid 1px white !important;
}

.onysos-bagde {
    padding: 3px;
}


.btn-onysos-purple:active,
.btn-onysos-purple.active,
.btn-onysos-purple:hover,
.btn-onysos-purple:focus {
    color: #fff;
}


.form-control::-moz-placeholder {
    color: #CCC;
    opacity: 1;
}

hr.condensed {
    margin-top: 5px;
    margin-bottom: 5px;
}

#markItUpId_act_descriptif {
    /*  */
    width: 690px;
}


#markItUpId_act_descriptif textarea {
    width: 640px;
}

.markItUp {
    max-width: 690px;
    border: solid 3px #e84806 !important;
}

.markItUpEditor {
    border-top: solid 1px #782484 !important;
    margin: 10px 10px !important;

}

.markItUpButton {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    margin: 5px !important;
    padding: 0 !important;
    /*border: solid 1px #e84806 !important;*/
}

.markItUpButton a {
    display: block;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    /*image-rendering: pixelated !important;*/
}

.markItUp textarea {
    max-width: 660px;
}

.markItUpHeader {
    padding-top: 10px !important;
}

.markItUpHeader,
.markItUpContainer,
.markItUpFooter {
    background-image: none !important;
}

legend {
    margin-bottom: 5px;
}

.compressed-form {
    margin-bottom: 5px;
    /*margin-top: 5px;*/
}

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -65px;
}

blockquote {
    border-left: 5px solid #ff4908;
    margin: 0 0 20px;
    padding: 0 0 0 15px;
}


.panel-body {
    overflow: auto;
}

/* Set the fixed height of the footer here */
#push,
#footer {

    height: 60px;
}

#footer {
    background-color: #f5f5f5;
}

a.input-group-addon {
    color: #fff;
}

.btn-inverse > .glyphicon {

    color: #fff;
}

.btn-inverse {
    background-color: #563d7c;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 827px) {
    #footer {
        /*margin-left: -20px;
        margin-right: -20px;
        */
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* fix css overlay typeahead bug */
.twitter-typeahead .tt-hint {
    display: block;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    border: 1px solid transparent;
    border-radius: 4px;
}

.twitter-typeahead .hint-small {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    line-height: 1.5;
}

.twitter-typeahead .hint-large {
    height: 45px;
    padding: 10px 16px;
    font-size: 18px;
    border-radius: 6px;
    line-height: 1.33;
}

.twitter-typeahead {
    width: 100%;
}

.tt-dropdown-menu {
    width: 100%;
}

.tt-hint {
    width: 100%;
}

.slider.slider-horizontal.form-control {
    height: 34px;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

#wrap > .container {
    /*padding-top: 60px;*/
    padding-bottom: 60px;
}

.container .credit {
    margin: 20px 0;
}

code {
    font-size: 80%;
}

.formgroup.slider.slider-horizontal {
    line-height: 1.42857;
    height: 30px;
}


.pdf_wiewer {
    display: inline-block;
}


.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}


/* animation de chargement */

/** simple : on fait tourner l'image */


.rotating {

    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


.slider-display-proposition {
    position: absolute;
    width: 20px;
    height: 20px;


    /*background-color: #0e90d2;
     *
     */
    background-color: #0e90d2;
    background-image: -moz-linear-gradient(top, #149bdf, #0480be);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
    background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
    background-image: -o-linear-gradient(top, #149bdf, #0480be);
    background-image: linear-gradient(to bottom, #149bdf, #0480be);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);

    opacity: 0.3;
    border: 0px solid transparent;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    margin-left: -10px;
    margin-top: -5px;
}

.time_widget_input .slider-selection {
    background-color: #5FCA5C;
    background-image: linear-gradient(to bottom, #5FCA5C, #54B251);
}


@-webkit-keyframes rocking {
    0%, 100% {
        -webkit-transform: rotate(-30deg);
    }
    50% {
        -webkit-transform: rotate(30deg);
    }
}

@keyframes rocking {
    0%, 100% {
        transform: rotate(-30deg);
    }
    50% {
        transform: rotate(30deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg) scale(10);
    }
    to {
        transform: rotate(359deg) scale(10);
    }
}


@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg) scale(10);
    }
    to {
        -webkit-transform: rotate(359deg) scale(10);
    }
}


.smiley {
    display: inline-block;
    font-size: 28px;
    vertical-align: middle;
}


.smiley-success {
    color: greenyellow;
}

.smiley-fail {
    color: red;
    -webkit-animation: rocking 3s infinite ease-in-out;
    animation: rocking 3s infinite ease-in-out;
}

.stats-link {
    font-weight: bold;
}

.stats-link-loading .smiley {
    animation: rotation 3s infinite linear;
    position: absolute;
    top: 700%;
    left: -50%;
}

.stats-loading-message {
    display: none;
}

.stats-link-loading .stats-loading-message {
    font-size: 2em;
    display: block;
    position: absolute;
    line-height: 2em;
    width: 400px;
    top: 700%;
    left: -170%;
    overflow: visible;
    text-align: center;
    color: black;

}

.navbar-collapse-onysos {
    height: 75px !important;
}

.navbar-divider-onysos-left {
    border-left: 1px solid grey !important;
    padding-left: 3px !important;
    height: 100%;
}

*, .btn, .badge {
    border-radius: 0 !important;
}

.well {
    background: white !important;
    border: none !important;
}

.alert-onysos {
    border: solid 2px #e84806 !important;
}


.onysos-panel-heading {
    background: none !important;
}

.onysos-panel-heading a:hover {
    cursor: pointer;
}


.paginate_button a {
    color: #782484 !important;
    font-weight: bold;
    border: none !important;
}


.pagination > .active > a {
    background-color: #782484 !important;
    color: white !important;
}

.pagination > .disabled > a {
    color: grey !important;
}


label.btn-dynamic[class*='onysos-']:not(.active):not(active):not(:hover):not(:focus),
label.active[class*='onysos-'] {
    background-image: none !important;
    border: none !important;
    margin-left: 1px;
    box-shadow: none !important;
}

label.btn-dynamic[class*='onysos-']:not(.active):not(active):not(:hover):not(:focus) {
    background: none !important;
}


label.btn-dynamic-bottom-border[class*='btn-onysos-']:not(.active):not(active):not(:hover):not(:focus) {
    border-bottom-style: solid !important;
    border-bottom-width: 4px !important;
}


label.btn-dynamic-bottom-border.btn-onysos-orange:not(.active):not(active):not(:hover):not(:focus) {
    border-bottom-color: #e84806 !important;
}

label.btn-dynamic-bottom-border.btn-onysos-purple:not(.active):not(active):not(:hover):not(:focus) {
    border-bottom-color: #782484 !important;
}

label.btn-dynamic-bottom-border.btn-onysos-blue:not(.active):not(active):not(:hover):not(:focus) {
    border-bottom-color: #0046FE !important;
}

label.btn-dynamic-bottom-border.btn-onysos-green:not(.active):not(active):not(:hover):not(:focus) {
    border-bottom-color: #01DC01 !important;
}

label.btn-dynamic-bottom-border.btn-onysos-red:not(.active):not(active):not(:hover):not(:focus) {
    border-bottom-color: #c12e2a !important;
}


.slider-handle {

    background-color: #782484 !important;
    background-image: -webkit-linear-gradient(top, #782484 0%, #782484 100%) !important;
    background-image: linear-gradient(to bottom, #782484 0%, #782484 100%) !important;
    opacity: 1 !important;
    margin-left: 0 !important;
}

.time_widget_input .slider-selection {
    background: none !important;
    background-color: #e84806 !important;

}


#ticket-heading-table {
    font-size: 1.1em;
}


#ticket-heading-table .label {
    font-size: 0.95em;
}

.onysos-progress {
    height: 10px;
}

.onysos-progress .progress-bar {
    background-image: none;
}


.onysos-checkbox {
    height: 15px;
    width: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    border: 1px solid #e84806;
    border-radius: 4px;
    outline: none;
    transition-duration: 0.3s;
    background-color: transparent;
    cursor: pointer;
}

.onysos-checkbox:hover {
    height: 20px;
    width: 20px;
}

.onysos-checkbox:checked {
    border: 1px solid #e84806;
    background-color: #e84806;
    height: 25px;
    width: 25px;
}

.onysos-checkbox:disabled {
    border: 1px solid #CCC;
}

.onysos-checkbox:active,
.onysos-checkbox:focus {
    outline-color: #e84806 !important;
}

#activite_form > div > .time_widget_input > div > div > input[type=number] {
    width: 86px !important;
}

#activite_form > div > .time_widget_input > .slider-horizontal {
    min-width: 200px !important;
}

#activite_form > div > .time_widget_input {
    display: flex;
    align-items: center;
}

#duplicate_ticket_table tr td {
    padding: 4px !important;
}

#duplicate_ticket_table tr {
    border-bottom: 1px solid #000;
}

#duplicate_ticket_table {
    display: block;
    overflow: auto;
    max-height: 200px;
}

.width-4 {
    width: 4vw;
    min-width: 45px;
}

.width-8 {
    width: 8vw;
    min-width: 90px;
}

.width-10 {
    width: 10vw;
    min-width: 100px;
}

.width-11 {
    width: 11vw;
    min-width: 120px;
}

.width-25 {
    width: 25vw;
    min-width: 252px;
}

.glyphicon-map-marker {
    background-color: #eee;
    border: 1px solid #ccc;
    height: 34px;
    font-size: 18px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-top: 6px;
    position: absolute;
    right: 0;
    top: 25px;
    margin-right: 15px;
    vertical-align: middle;
}
