/* 
    Created on : 26 févr. 2016, 19:03:19
    Author     : Thomas Dutheillet-Lamonthézie
*/

body, html
{
    font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size:14px;
    height: 100%;
}

.tooltip-inner { 
    max-width: 800px; 
    min-width: 300px; 
}

/* MENU STYLES */

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
}

.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;
}

/* END MENU STYLES */



h1
{
    margin-bottom:30px;
}

.page
{
    margin-top:60px;
    margin-bottom: 10px;
    
    padding: 20px;
    
    /*border-radius: 4px;
    
    
    background: #FFF;
    background-image:linear-gradient(
	to bottom,
	#DDF,
	#FFF 130px
    );*/
}

.footer{
    background:#33577D; //#002E5D;
    padding: 20px 0 20px 0;
    color:#FFF;
}

.no-background
{
    background:none;
}

/* TMP
.navbar-fixed-top
{
    //font-size: 16px;
    //top:-52px;
    background-image: linear-gradient(to bottom,#fff 0,#fff 100%);
}
*/

/* Loading Button */
.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1) rotate(360deg); }
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}

/* page fade in animation*/

/* make keyframes that tell the start state and the end state of our object */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fade-in {
  opacity:0;  /* make things invisible upon start */
  -webkit-animation:fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:0.4s;
  -moz-animation-duration:0.4s;
  animation-duration:0.4s;
  
  -webkit-animation-delay: 0s;
  -moz-animation-delay: 0s;
  animation-delay: 0s;
}

.fade-in.delay-0-5 {
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.fade-in.delay-1-0 {
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s;
}

.fade-in.delay-1-5 {
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    animation-delay: 1.5s;
}

.fade-in.delay-2-0 {
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    animation-delay: 2s;
}

.glyphicon-color-info
{
    color:#2aabd2;
}

.glyphicon-color-error
{
    color:#c12e2a;
}

.glyphicon-color-warning
{
    color:#eb9316;
}

.glyphicon-color-success
{
    color:#419641;
}



.card-form-signin {
    width: 400px;
    padding: 20px;
    margin: auto;
    margin-top: 0px;
    text-align: center;
    font-size: 14px;
}

.card-form-signin form {
    text-align: center;
}

.card-form-signin input, 
.card-form-signin button,
.card-form-signin .form-control
{
    width: 300px;
    margin:auto;
    height:50px;
    font-size: 14px;
}

.modal-result{
    padding-top:8px;
}


.col-xs-1-to-8 {
    width: 12.5%;
    float: left;
}
@media (min-width: 768px) {
.col-sm-1-to-8 {
        width: 12.5%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-1-to-8 {
        width: 12.5%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-1-to-8 {
        width: 12.5%;
        float: left;
    }
}

/* 
    Created on : 12 févr. 2018, 11:33:56
    Author     : Thomas Dutheillet-Lamonthézie <tdl@positiveyes.fr>
*/

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 86px; /*60*/
  height: 38px; /*34*/
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked ~ .slider {
  background-color: #2196F3;
}

input:focus ~ .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked ~ .slider:before {
  -webkit-transform: translateX(49px);
  -ms-transform: translateX(49px);
  transform: translateX(49px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 36px;
}

.slider.round:before {
  border-radius: 50%;
  z-index:4;
}

.slider-on{
    user-select: none;
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 0;
    height: 100%;
    display: block;
    font-weight: bold;
    width:50%;
    text-align:center;
    color: #FFF;
    z-index:3;
}

.slider-off{
    user-select: none;
    position: absolute;
    right: 6px;
    top: 8px;
    bottom: 0;
    height: 100%;
    display: block;
    width:50%;
    text-align:center;
    z-index:3;
}

input ~ .slider-on {
  opacity: 0;
}

input:checked ~ .slider-on {
  opacity: 1;
}

input:checked ~ .slider-off {
  opacity: 0;
}

input ~ .slider-off {
  opacity: 1;
}