body{
	font-family: Arial;
	font-size: 13px;
	padding-top:50px;
	padding-bottom:0px;
	padding-right:0px;
	padding-left:0px;
	background-color:#fbfcfc;
	width:100%;
	align:left;
}


@media screen and (min-width: 769px) and (max-width: 1300px){
	/* Set a default zoom for the entire body */
	body {
	  zoom: 0.95; /* 95% zoom */
	}
}

span.footerdiv{
 display:inline-block
}

/* styles for screen widths up to 600px */
@media screen and (max-width: 600px) {
	body {
	  font-size: 16px;
	}
}

/* {
  box-sizing: border-box;
}*/

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  margin: 0 -16px;
}

.col-25 {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
}

.col-50 {
  -ms-flex: 50%; /* IE10 */
  flex: 50%;
}

.col-75 {
  -ms-flex: 75%; /* IE10 */
  flex: 75%;
}

.col-25,
.col-50,
.col-75 {
  padding: 0 16px;
}

.container {
  background-color: #f2f2f2;
  padding: 5px 20px 15px 20px;
  border: 1px solid lightgrey;
  border-radius: 3px;
}

/*input[type=text] {
  width: 100%;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
}*/


.icon-container {
  margin-bottom: 20px;
  padding: 7px 0;
  font-size: 24px;
}

.btnValidate {
  background-color: teal /*#04AA6D */;
  color: white;
  padding: 10px;
  margin: 10px 0;
  font-size: 17px;
  border: none;
  width: 100%;
  border-radius: 3px;
  cursor: pointer;
}

.btnValidate:hover {
  background-color:#66b2b2 ;
  color: white;
}

.btnValidate:focus {
  background-color:#66b2b2 /* #45a049 */;
  color: white;
}

a {
  color: #2196F3;
}

hr {
  border: 1px solid lightgrey;
}

/* Responsive layout - when the screen is less than 800px wide, make the columns stack 
on top of each other instead of next to each other (also change the direction - make the 
cart column go on top) */
/*@media (max-width: 800px) {
  .row {
	flex-direction: column-reverse;
  }
  .col-25 {
	margin-bottom: 20px;
  }
}*/

@media (max-width: 1200px) {
	.navbar-header {
		float: none;
	}
	.navbar-left,.navbar-right {
		float: none !important;
	}
	.navbar-toggle {
		display: block;
	}
	.navbar-collapse {
		border-top: 1px solid transparent;
		box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
	}
	.navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
	.navbar-collapse.collapse {
		display: none!important;
	}
	.navbar-nav {
		float: none!important;
		margin-top: 7.5px;
	}
	.navbar-nav>li {
		float: none;
	}
	.navbar-nav>li>a {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.collapse.in{
		display:block !important;
	}
}

#shiny-tab-description .col-sm-2{
	position: fixed;
	overflow-y: auto;
}

#shiny-tab-description .col-sm-10{
	overflow-y: auto;
	left: 16%
}

@media screen and (max-width: 768px){
	
	.navbar-toggle {
		margin-right: 35px;
		top: 5px;
	}
	
	#r_file_reading_dialogue_box{
	  width: 90%;
	  font-size: 10px;
	  left: 12.4px;
	  top: 289px;
	}
	
	
	#shiny-tab-description .col-sm-2 .well,#shiny-tab-tuto .col-sm-2 .well,#shiny-tab-article .col-sm-2 .well{
		height: 100%;
		margin: 0 20px 0 20px;
	}
	
	#shiny-tab-description .col-sm-2{
		position: inherit;
	}
	
	#shiny-tab-description img{
		width: 100%;
	}
	
	#shiny-tab-description .col-sm-10{
		left: auto;
	}
	
}


@media screen and (min-width: 769px) and (max-width: 1000px){

	#shiny-tab-description .col-sm-2,#shiny-tab-tuto .col-sm-2, #shiny-tab-article .col-sm-2 {
		width: 23%;
	}
	
	#shiny-tab-description .col-sm-2 .well,#shiny-tab-tuto .col-sm-2 .well, #shiny-tab-article .col-sm-2 .well {
		width: 100%;
	}
	
	#shiny-tab-description .col-sm-10,#shiny-tab-tuto .col-sm-10, #shiny-tab-article .col-sm-10{
		width: 77%;
		left: 23%
	}
	
	#shiny-tab-tuto .col-sm-10, #shiny-tab-article .col-sm-10{
		width: 77%;
		left: auto;
	}
	
	#shiny-tab-description img{
		width: 100%;
	}
 
}


/*
* style of footer
*/
.footer{
	background-color: #934f4f /*#554040*/;
	width:100%;
	height:400px;
	margin-top:1px;
	margin-bottom:0px;
}
	
@media screen and (max-width: 768px) {
	.footer{
		height:50px;
	}
}

/* **************************************
*Ordered Section for poll
*
***************************************/
/* Initialize counters */
#pool_uioutput {
	counter-reset: section subsection question;
}

/* Number sections */
/*#pool_uioutput section h1::before {
	counter-increment: section-counter;
	content: counter(section-counter) "- ";
	counter-reset: subsection-counter; 
}*/

/* Number subsections */
/*#pool_uioutput section section h2::before {
	counter-increment: subsection-counter;
	content: counter(section-counter) "." counter(subsection-counter) "- ";
}

#pool_uioutput section {
	border: 1px solid #ccc;
	padding: 10px;
	margin: 10px 0;
}*/

/* 
* Number poll questions 
*/

/* Main fieldset labels */
/*#pool_uioutput fieldset > label::before {
    counter-increment: question-counter;
	content: counter(question-counter) ". ";
}*/


#pool_uioutput .has-h1 h1 {
	counter-increment: section;
	counter-reset: subsection;
	color: #2c3e50;
	border-bottom: 2px solid #3498db;
	padding-bottom: 5px;
	margin-top: 30px;
}

#pool_uioutput .has-h1 h1::before {
	content: counter(section) ". ";
}

#pool_uioutput .has-h1 {
	counter-reset: subsection question;
}

#pool_uioutput .has-h2{
	counter-reset: question;
}

#pool_uioutput section h2 {
	counter-increment: subsection;
	counter-reset: question;
	color: #34495e;
	margin-left: 15px;
	margin-top: 20px;
}

#pool_uioutput section h2::before {
	content: counter(section) "." counter(subsection) " ";
}

#pool_uioutput section fieldset {
	counter-increment: question;
	/*margin-left: 30px;
	margin-bottom: 12px;*/
}

#pool_uioutput section fieldset:hover {
    box-shadow: 0px 0px 10px 9px rgb(194 159 230);
}

#pool_uioutput .has-h1 > fieldset label:not(.radio label):not(.shiny-input-checkboxgroup .checkbox label)::before {
	content: counter(section) "." counter(question) " ";
	font-weight: bold;
}

#pool_uioutput .has-h2 fieldset label:not(.radio label):not(.shiny-input-checkboxgroup .checkbox label)::before {
	content: counter(section) "." counter(subsection) "." counter(question) " ";
	font-weight: bold;
}

/*
* Slider input style
*/
.irs-hidden-input {
  position: absolute !important;
  display: block !important;
  top: 0 !important;
  left: 0 !important;
  width: 0 !important;
  height: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  outline: none !important;
  z-index: -9999 !important;
  background: none !important;
  border-style: solid !important;
  border-color: transparent !important;
}


/* iOS Safari Comprehensive Reset */
@supports (-webkit-touch-callout: none) {
    /* Viewport height fix */
    :root {
        --sat: env(safe-area-inset-top);
        --sar: env(safe-area-inset-right);
        --sab: env(safe-area-inset-bottom);
        --sal: env(safe-area-inset-left);
    }
    
    /* Disable elastic scroll */
    body {
        overscroll-behavior-y: none;
        -webkit-overflow-scrolling: touch;
        height: 100vh;
        height: -webkit-fill-available;
    }
    
    html {
        height: -webkit-fill-available;
    }
    
    /* Fix for all scrollable containers */
    .tab-pane, [class*="scroll"], .overflow-auto {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    /* Plotly specific fixes */
    .js-plotly-plot, .plotly-graph-div {
        touch-action: pan-y;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    /* Form elements reset */
    input, select, textarea, button {
        /*-webkit-appearance: none */;
        border-radius: 0;
        font-size: 16px; /* Prevent zoom */
    }
    
    /* Fix touch targets */
    /*button, a, [onclick] {
        min-height: 44px;
        min-width: 44px;
    }*/
}