/********************************************************************
	Auteur : Philippe Brouckaert
	Site de l'auteur : http://www.i-services.com
	E-mail de l'auteur : contact@i-services.net

	Copyright : Voir fichier licence.txt
*********************************************************************/

/*** GLOBAL ***/

.thumbnail .caption h2, .thumbnail .caption h3 { font-size: 12px; }

/* .img-responsive { display: inline-block; } */

@media (min-width: 400px) {
	.thumbnail .caption h2, .thumbnail .caption h3 { font-size: 16px; }
}

@media (max-width: 767px) {
	.is-img-left, .is-img-right {
		float: none !important;
	}
}

@media (min-width: 768px) {
	h1, .h1 { font-size: 1.6em; }
	h2, .h2 { font-size: 1.45em; }
	h3, .h3 { font-size: 1.2em; }
	div.well h2, div.well h3 { font-size: 1.3em; font-weight: normal; }

	#is-main-logo { padding-bottom: 10px; }
	#is-page { min-height: 500px; }
	.page-header .lead { padding-left: 10px; }

	div.well dl.dl-horizontal dt, div.well dl.dl-horizontal dd {
		width: 50%;
	}
}

@media (max-width: 767px) {
	h1, .h1 { font-size: 1.3em; }
	h2, .h2 { font-size: 1.2em; }
	h3, .h3 { font-size: 1.15em; }
	div.well h2, div.well h3 { font-size: 1.15em; }

	#is-page { min-height: 300px; }
	.page-header .lead { font-size: 13px; }

	.alert {
	  padding: 8px;
	}

	div.well dl.dl-horizontal dt, div.well dl.dl-horizontal dd {
		width: 100%;
	}
}

	/** JUMBOTRON **/

	@media screen and (min-width: 768px) {
		.jumbotron {
			padding: 20px 10px !important;
		}
	}

	/** NAVIGATION **/

	@media (min-width: 768px) {
		.navbar-form { padding-top: 2px; }

		.navbar .container-fluid {
			padding-left: 0;
		}

		.jumbotron h2 {
		  font-size: 30px;
		}
	}

	@media (max-width: 767px) {
		ul.keywords > li {
			display: block !important;
		}
	}

	/** PAGINATION **/

	a.btn { margin: 2px 0; }

	/** VIDEOS **/

	embed[src*=".youtube."], embed[src*=".dailymotion."] {
		width: 235px;
		height: 195px;
	}

	@media (min-width: 350px) {
		embed[src*=".youtube."], embed[src*=".dailymotion."] {
			width: 283px;
			height: 233px;
		}
	}

	@media (min-width: 400px) {
		embed[src*=".youtube."], embed[src*=".dailymotion."] {
			width: 354px;
			height: 291px;
		}
	}

	@media (min-width: 450px) {
		embed[src*=".youtube."], embed[src*=".dailymotion."] {
			width: 425px;
			height: 350px;
		}
	}

	/** POPOVER **/

	.popover {
		max-width: 350px;
	}

	@media (max-width: 400px) {
		.popover {
			max-width: 250px;
		}
	}

	/** FORMULAIRES **/

	@media (max-width: 767px) {
		textarea { max-height: 250px !important; }
	}

	@media (min-width: 768px) AND (max-width: 991px) {
		textarea { max-height: 400px !important; }
	}

		/* FORMULAIRES - TOOLBAR */

		@media (max-width: 400px) {
			.is-toolbar {
				height: 60px;
			}
		}