@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300);

html, body
{
	font-family: 'Open Sans', sans-serif;
    height: 100%;
    position: relative;
	overflow: auto;
	background-image: url(../img/bg-1.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: top center;
	z-index: 10;
	-webkit-background-size: cover;
	-moz-background-size: cover; 
	-o-background-size: cover;
	background-size: cover;    
}

div.login-box {
	width: 600px;
	padding-bottom: 40px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -200px;
	margin-left: -300px;
	border: 1px solid #ccc;
	border-radius: 0px;
	box-shadow: 0px 0px 9px 2px rgba(90,90,90,1);
	background-color: rgba(255,255,255,0.8);

}

@media (max-width:768px) and (orientation: portrait){
	.col-md-12.icesi {
	    text-align: center;
	    border: 0 !important;
	}
}

@media (max-width:736px) and (orientation: landscape){
	.login-box {
	    width: 100%;
	    padding-bottom: 0;
	    position: absolute;
	    top: 0;
	    left: 0;
	    margin-top: 0;
	    margin-left: 0;
	    border: 1px solid #ccc;
	    border-radius: 0px;
	    box-shadow: 0px 0px 9px 2px rgba(90,90,90,1);
	    background-color: rgba(255,255,255,0.8);
	}
	.icesi {
	    border-right: 0 !important;
	    text-align: center;
	}
}

@media (max-width:667px) and (orientation: landscape){
	.login-box > div > div {
	    text-align: center;
	}

	.login-box {
	    width: 100%;
	    padding-bottom: 0;
	    position: absolute;
	    top: 0;
	    left: 0;
	    margin-top: 0;
	    margin-left: 0;
	    border: 1px solid #ccc;
	    border-radius: 0px;
	    box-shadow: 0px 0px 9px 2px rgba(90,90,90,1);
	    background-color: rgba(255,255,255,0.8);
	}

	.login-box > .col-md-6 {
	    padding-top: 0 !important;
	}
}

@media (max-width:414px) and (orientation: portrait){
		
	.login-box {
	    width: 100%;
	    padding-bottom: 0;
	    position: absolute;
	    top: 0;
	    left: 0;
	    height: 100%;
	    margin-top: 0;
	    margin-left: 0;
	    border: 1px solid #ccc;
	    border-radius: 0px;
	    box-shadow: 0px 0px 9px 2px rgba(90,90,90,1);
	    background-color: rgba(255,255,255,0.8);
	}
	.icesi {
	    border-right: 0 !important;
	    text-align: center;
	}
}

@media (max-width:568px) and (orientation: landscape){
	.login-box > div > div {
	    text-align: center;
	}
}

@media (max-width:375px) and (orientation: portrait){
		
	.login-box {
	    width: auto;
	    height: 100%;
	    padding-bottom: 0;
	    position: absolute;
	    top: 0;
	    left: 0;
	    margin-top: 0;
	    margin-left: 0;
	    border: 1px solid #ccc;
	    border-radius: 0px;
	    box-shadow: 0px 0px 9px 2px rgba(90,90,90,1);
	    background-color: rgba(255,255,255,0.6);
	}
	.col-md-12.icesi {
	    text-align: center;
	}
}

@media (max-width:320px) and (orientation: portrait){
		
	div.login-box {
	    width: auto;
	    height: 100%;
	    padding-bottom: 0;
	    position: absolute;
	    top: 0;
	    left: 0;
	    margin-top: 0;
	    margin-left: 0;
	    border: 1px solid #ccc;
	    border-radius: 0px;
	    box-shadow: 0px 0px 9px 2px rgba(90,90,90,1);
	    background-color: rgba(255,255,255,0.6);
	}
	.icesi {
	    border-right: 0 !important;
	        text-align: center;
	}
}

@media (max-width:384px) and (orientation: portrait){
	div.login-box {
	    width: 100%;
	    padding-bottom: 0;
	    position: absolute;
	    top: 0;
	    left: 0;
	    height: 100%;
	    margin-top: 0;
	    margin-left: 0;
	    border: 1px solid #ccc;
	    border-radius: 0px;
	    box-shadow: 0px 0px 9px 2px rgba(90,90,90,1);
	    background-color: rgba(255,255,255,0.8);
	}
	.icesi {
	    border-right: 0 !important;
	    text-align: center;
	}
}

@media (max-width:320px) and (orientation: landscape){
	div.login-box {
	    width: 100%;
	    padding-bottom: 0;
	    position: absolute;
	    top: 0;
	    left: 0;
	    margin-top: 0;
	    margin-left: 0;
	    border: 1px solid #ccc;
	    border-radius: 0px;
	    box-shadow: 0px 0px 9px 2px rgba(90,90,90,1);
	    background-color: rgba(255,255,255,0.8);
	}

	.icesi {
	    border-right: 0 !important;
	}

	login-box > div {
	    padding-top: 5px !important;
	}

	.icesi img{
		 max-width: 150px;
	}
}

@media (max-width:240px) and (orientation: portrait){
		
	div.login-box {
	    width: 100%;
	    height: auto;
	    padding-bottom: 0;
	    position: absolute;
	    top: 0;
	    left: 0;
	    margin-top: 0;
	    margin-left: 0;
	    border: 1px solid #ccc;
	    border-radius: 0px;
	    box-shadow: 0px 0px 9px 2px rgba(90,90,90,1);
	    background-color: rgba(255,255,255,0.6);
	}
	.icesi {
	    border-right: 0 !important;
	    text-align: center;
	}
	.login-box > div {
	    padding-top: 10px !important;
	}
	.icesi img{
		 max-width: 150px;
	}
}