/*
 * bootstrap overrides
 */
.iut-btn-login {
	background-image: -webkit-linear-gradient(top, #ef7513 0%, #b8590c 100%);
	background-image: -o-linear-gradient(top, #ef7513 0%, #b8590c 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ef7513), to(#b8590c));
	background-image: linear-gradient(to bottom, #ef7513 0%, #b8590c 100%);
	border-color: #af540c;
}
.iut-btn-login:hover,
.iut-btn-login:focus {
	background-color: #b8590c;
	border-color: #a04d0b;
}
.iut-btn-resetpassword {
	color: black;
	text-shadow: none;
	background-image: -webkit-linear-gradient(top, #efefef 0%, #b8b8b8 100%);
	background-image: -o-linear-gradient(top, #efefef 0%, #b8b8b8 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#b8b8b8));
	background-image: linear-gradient(to bottom, #efefef 0%, #b8b8b8 100%);
	border-color: #afafaf;
}
.iut-btn-resetpassword:hover,
.iut-btn-resetpassword:focus {
	color: black;
	background-color: #b8b8b8;
	border-color: #a0a0a0;
}

/*
 * lemonldap overrides
 */
div.form {
	max-width: initial;
}

.input-group {
	max-width: 330px;
	margin: auto;	
}

.form-group {
	margin-bottom: 15px;
}
#footer {
	display: table;
	vertical-align: middle;
	width: 100%;
}
#footer .containter {
	display: table-cell;
	padding-right: 5px;
	padding-left: 5px;
}

/*
 * iut
 */
#iut-logo-cont {
	width: 100%;
	text-align: center;
	margin: 35px 0 20px;
}
#iut-logo {
	width: 200px;
}
.iut-form-button-group {
	margin-top: 40px;
}
.iut-btn-login,
.iut-btn-resetpassword {
	margin-bottom: 8px;
}
.iut-btn-resetpassword {
	margin-left: 8px;
}

/*
 * media queries
 */

/* ----------- iPhone 6+ ----------- */

/* Portrait */
@media only screen 
	and (min-device-width: 414px) 
	and (max-device-width: 736px) 
	and (-webkit-min-device-pixel-ratio: 3)
	and (orientation: portrait) { 

html, body {
	height: 100%;
	background: white;
}
.alert {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 35px;
}
.container {
	padding-right: 0;
	padding-left: 0;
}
.panel-default {
	border: none;
}
.panel {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#wrap {
	padding: 20px 0 8px;
	margin: 0 auto -70px;
}
#iut-logo-cont {
	width: 100%;
	margin: 0 0 15px;
	float: none;
}
#iut-logo {
	width: 210px;
}
}

/* Landscape */
@media only screen 
	and (min-device-width: 414px) 
	and (max-device-width: 736px) 
	and (-webkit-min-device-pixel-ratio: 3)
	and (orientation: landscape) { 

html, body {
	height: 100%;
	background: white;
}
.alert {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 30px;
}
.container {
	padding-right: 0;
	padding-left: 0;
}
.panel-default {
	border: none;
}
.panel {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#wrap {
	padding: 20px 0 8px;
	margin: 0 auto -60px;
}
#iut-logo-cont {
	margin: 20px 20px;
	width: 180px;
	float: left;
}
#iut-logo {
	width: 100%;
	margin-left: 25px;
}
.iut-form-button-group {
	margin-top: 30px;
}
}

/* ----------- iPhone 6 ----------- */

/* Portrait */
@media only screen 
	and (min-device-width: 375px) 
	and (max-device-height: 667px) 
	and (-webkit-min-device-pixel-ratio: 2)
	and (orientation: portrait) { 

html, body {
	height: 100%;
	background: white;
}
.alert {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 30px;
}
.container {
	padding-right: 0;
	padding-left: 0;
}
.panel-default {
	border: none;
}
.panel {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#wrap {
	padding: 20px 0 8px;
	margin: 0 auto -70px;
}
#iut-logo-cont {
	width: 100%;
	margin: 0 0 15px;
	float: none;
}
#iut-logo {
	width: 210px;
}
}

/* Landscape */
@media only screen 
	and (min-device-height: 375px) 
	and (max-device-width: 667px) 
	and (-webkit-min-device-pixel-ratio: 2)
	and (orientation: landscape) { 

html, body {
	height: 100%;
	background: white;
}
.alert {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 10px;
}
.container {
	padding-right: 0;
	padding-left: 0;
}
.panel-default {
	border: none;
}
.panel {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#wrap {
	padding: 20px 0 8px;
	margin: 0 auto -60px;
}
#iut-logo-cont {
	margin: 20px 20px;
	width: 150px;
	float: left;
}
#iut-logo {
	width: 100%;
	margin-left: 20px;
}
.iut-form-button-group {
	margin-top: 30px;
}
}

/* ----------- Galaxy S4 ----------- */

/* Portrait */
@media screen 
	and (device-width: 360px) 
	and (device-height: 640px) 
	and (-webkit-device-pixel-ratio: 3) 
	and (orientation: portrait) {

html, body {
	height: 100%;
	background: white;
}
.alert {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 25px;
}
.container {
	padding-right: 0;
	padding-left: 0;
}
.panel-default {
	border: none;
}
.panel {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#wrap {
	padding: 20px 0 8px;
	margin: 0 auto -70px;
}
#iut-logo-cont {
	width: 100%;
	margin: 0 0 10px;
	float: none;
}
#iut-logo {
	width: 185px;
}
.iut-form-button-group {
  margin-top: 35px;
}
}

/* Landscape */
@media screen 
	and (device-width: 640px) 
	and (device-height: 360px) 
	and (-webkit-device-pixel-ratio: 3) 
	and (orientation: landscape) {

html, body {
	height: 100%;
	background: white;
}
.alert {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 5px;
}
.container {
	padding-right: 0;
	padding-left: 0;
}
.panel-default {
	border: none;
}
.panel {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#wrap {
	padding: 20px 0 8px;
	margin: 0 auto -60px;
}
#iut-logo-cont {
	margin: 20px 20px;
	width: 150px;
	float: left;
}
#iut-logo {
	width: 100%;
}
.iut-form-button-group {
	margin-top: 25px;
}
}

/* ----------- Galaxy S3 ----------- */

/* Portrait */
@media screen 
	and (device-width: 360px) 
	and (device-height: 640px) 
	and (-webkit-device-pixel-ratio: 2) 
	and (orientation: portrait) {

html, body {
	height: 100%;
	background: white;
}
.alert {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 25px;
}
.container {
	padding-right: 0;
	padding-left: 0;
}
.panel-default {
	border: none;
}
.panel {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#wrap {
	padding: 20px 0 8px;
	margin: 0 auto -70px;
}
#iut-logo-cont {
	width: 100%;
	margin: 0 0 5px;
	float: none;
}
#iut-logo {
	width: 185px;
}
.iut-form-button-group {
  margin-top: 35px;
}
}

/* Landscape */
@media screen 
	and (device-width: 640px) 
	and (device-height: 360px) 
	and (-webkit-device-pixel-ratio: 2) 
	and (orientation: landscape) {

html, body {
	height: 100%;
	background: white;
}
.alert {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 5px;
}
.container {
	padding-right: 0;
	padding-left: 0;
}
.panel-default {
	border: none;
}
.panel {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#wrap {
	padding: 20px 0 8px;
	margin: 0 auto -60px;
}
#iut-logo-cont {
	margin: 20px 20px;
	width: 150px;
	float: left;
}
#iut-logo {
	width: 100%;
	margin-left: 20px;
}
.iut-form-button-group {
	margin-top: 20px;
}
}

/* ----------- iPhone 5 and 5S ----------- */

/* Portrait */
@media only screen 
	and (min-device-width: 320px) 
	and (max-device-height: 568px)
	and (-webkit-min-device-pixel-ratio: 2)
	and (orientation: portrait) {
	
html, body {
	height: 100%;
	background: white;
}
.alert {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 20px;
}
.container {
	padding-right: 0;
	padding-left: 0;
}
.panel-default {
	border: none;
}
.panel {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#wrap {
	padding: 20px 0 8px;
	margin: 0 auto -70px;
}
#iut-logo-cont {
	width: 100%;
	margin: 0;
	float: none;
}
#iut-logo {
	width: 185px;
}
.iut-form-button-group {
  margin-top: 35px;
}
}

/* Landscape */
@media only screen 
	and (min-device-height: 320px) 
	and (max-device-width: 568px)
	and (-webkit-min-device-pixel-ratio: 2)
	and (orientation: landscape) {

html, body {
	height: 100%;
	background: white;
}
.alert {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 5px;
}
.container {
	padding-right: 0;
	padding-left: 0;
}
.panel-default {
	border: none;
}
.panel {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#wrap {
	padding: 20px 0 8px;
	margin: 0 auto -60px;
}
#iut-logo-cont {
	margin: 20px 20px;
	width: 150px;
	float: left;
}
#iut-logo {
	width: 100%;
}
.iut-form-button-group {
	margin-top: 30px;
}
}

 /* ----------- iPhone 4 and 4S ----------- */

/* Portrait */
@media only screen 
	and (min-device-width: 320px) 
	and (max-device-height: 480px)
	and (-webkit-min-device-pixel-ratio: 2)
	and (orientation: portrait) {
html, body {
	height: 100%;
	background: white;
}
.alert {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 15px;
}
.container {
	padding-right: 0;
	padding-left: 0;
}
.panel-default {
	border: none;
}
.panel {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#wrap {
	padding: 20px 0 22px;
	margin: 0 auto -70px;
}
#iut-logo-cont {
	width: 100%;
	margin: 0;
	float: none;
}
#iut-logo {
	width: 130px;
}
.iut-form-button-group {
  margin-top: 15px;
}
}

/* Landscape */
@media only screen 
	and (min-device-height: 320px) 
	and (max-device-width: 480px)
	and (-webkit-min-device-pixel-ratio: 2)
	and (orientation: landscape) {
	
html, body {
	height: 100%;
	background: white;
}
.alert {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 5px;
}
.container {
	padding-right: 0;
	padding-left: 0;
}
.panel-default {
	border: none;
}
.panel {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#wrap {
	padding: 20px 0 18px;
}
#iut-logo-cont {
	margin: 20px 20px;
	width: 150px;
	float: left;
}
#iut-logo {
	width: 100%;
}
.iut-form-button-group {
  margin-top: 30px;
}
}