/* Stylesheet */


/* Imports */

@import url(animate.css);

/* Selections */

::selection {
 	color: #fff;
 	text-shadow: none;
 	background: #444;
}

::-moz-selection {
 	color: #fff;
 	text-shadow: none;
 	background: #444;
}

/* Basics */

html, body {
	width: 100%;
	height: 100%;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	color: #444;
	-webkit-font-smoothing: antialiased;
	background: #f0f0f0;
    margin: 0;
    overflow:hidden;
	
}

#container {
    padding-top: 50px;
    margin: 50px auto 0;
    width: 500px;
	height: 400px;
	background: #fff;
	border-radius: 3px;
	border: 1px solid #ccc;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
	-webkit-animation-name: bounceIn;
	-webkit-animation-fill-mode: both;
	-webkit-animation-duration: 1s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: linear;
	-moz-animation-name: bounceIn;
	-moz-animation-fill-mode: both;
	-moz-animation-duration: 1s;
	-moz-animation-iteration-count: 1;
	-moz-animation-timing-function: linear;
	animation-name: bounceIn;
	animation-fill-mode: both;
	animation-duration: 1s;
	animation-iteration-count: 1;
	animation-timing-function: linear;
}

form {
	margin: 0 auto;
	margin-top: 20px;
}

label {
	color: #555;
	display: inline-block;
	margin-left: 18px;
	padding-top: 10px;
	font-size: 14px;
}

p a {
	font-size: 11px;
	color: #aaa;
	float: right;
	margin-top: -13px;
	margin-right: 20px;
	-webkit-transition: all .4s ease;
	-moz-transition: all .4s ease;
	transition: all .4s ease;
}

p a:hover {
	color: #555;
}

input {
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size: 12px;
	outline: none;
}


.nmUsuario {
    margin-top: 20px;
    margin-bottom: 15px;
}

.nmUsuario,
.senhaUsuario {
	color: #777;
	padding-left: 10px;
	margin-right: 10px;
	margin-left: 18px;
	width: 290px;
	height: 35px;
	border: 1px solid #c7d0d2;
	border-radius: 2px;
	box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .4), 0 0 0 5px #f5f7f8;
	-webkit-transition: all .4s ease;
	-moz-transition: all .4s ease;
	transition: all .4s ease;
}

.nmUsuario:hover,
.senhaUsuario:hover {
	border: 1px solid #b6bfc0;
	box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .7), 0 0 0 5px #f5f7f8;
}

.nmUsuario:focus,
.senhaUsuario:focus {
	border: 1px solid #a8c9e4;
	box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .4), 0 0 0 5px #e6f2f9;
}

#lower {
	background: #FFF;
    background-repeat: no-repeat;
	width: 100%;
	height: 69px;
	margin-top: 20px;
	box-shadow: inset 0 1px 1px #fff;
	border-top: 1px solid #ccc;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
    position: absolute;
    bottom: 0;
}

.lower_left {
    color: #FFF;
    /*display: block;
    position: relative;
    top: 35%;
    line-height: 0;
    margin-left: 20px;
    color: #FFF;
    float: left;*/
}



#top {
    /*background: #ecf2f5;*/
	width: 100%;
	height: 50px;
	box-shadow: inset 0 1px 1px #fff;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
    position: absolute;
    top: 0;
    text-align: center;
}

#middle {
    /*background: #ecf2f5;*/
	width: 100%;
	height: 69px;
	box-shadow: inset 0 1px 1px #fff;
	border-top: 1px solid #ccc;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
    position: absolute;
    top: 0;
    margin-top: 90px;
    height: 210px;
    text-align: center;
}

    #middle label {
        font-size: 23px;
        color: #323a45;
        line-height: 1.4em;
}
    }


#middle_2 {
    width: 100%;

}

input[type=submit] {
	margin-right: 20px;
	margin-top: 20px;
	width: 80px;
	height: 30px;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#03B6B6), to(#0B789F));
	background-image: -moz-linear-gradient(top left 90deg, #03B6B6 0%, #0B789F 100%);
	background-image: linear-gradient(top left 90deg, #03B6B6 0%, #0B789F 100%);
    background-image: -ms-linear-gradient(#03B6B6, #0B789F);
    background-image: -o-linear-gradient(#03B6B6, #0B789F);
	border-radius: 30px;
	border: 1px solid #66add6;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
	cursor: pointer;
}

input[type=submit]:hover {
	background-image: -webkit-gradient(linear, left top, left bottom, from(#b6e2ff), to(#6ec2e8));
	background-image: -moz-linear-gradient(top left 90deg, #b6e2ff 0%, #6ec2e8 100%);
	background-image: linear-gradient(top left 90deg, #b6e2ff 0%, #6ec2e8 100%);
    background-image: -ms-linear-gradient(#b6e2ff, #6ec2e8);
    background-image: -o-linear-gradient(#b6e2ff, #6ec2e8);
}

input[type=submit]:active {
	background-image: -webkit-gradient(linear, left top, left bottom, from(#6ec2e8), to(#b6e2ff));
	background-image: -moz-linear-gradient(top left 90deg, #6ec2e8 0%, #b6e2ff 100%);
	background-image: linear-gradient(top left 90deg, #6ec2e8 0%, #b6e2ff 100%);
    background-image: -ms-linear-gradient(#b6e2ff, #6ec2e8);
    background-image: -o-linear-gradient(#b6e2ff, #6ec2e8);
}

.logotipoDoctorOne {
    background-image: url("logoDoctorOne.png");
    background-repeat: no-repeat;
    display: inline-block;
    height: 81px;
    vertical-align: middle;
    width: 91px;
    overflow: hidden;
    text-align: left;
    text-indent: -119988px;
    margin-top: 5px;
}

.alert {
    margin-bottom: 0;
    height: 30px;
    padding: 5px;
}

/*Media Querie*/

/* DESKTOP */



@media only screen and (min-device-width : 320px) and (max-device-width : 480px),
only screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3), /* S5 */
only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2), /* IPHONE 4*/
only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2),  /* IPHONE 4*/
only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2), /* IPHONE 5 */
only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2), /* IPHONE 5*/
only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2), /* IPHONE 6 */
only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2), /* IPHONE 6 */
only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2), /* iPhone 6+ */
only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2), /* iPhone 6+ */
only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2), /* Samsung Galaxy S3 */
only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2), /* Samsung Galaxy S3 */
only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3), /* Samsung Galaxy S4*/
only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3), /* Samsung Galaxy S4*/
only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3), /* Samsung Galaxy S5 */
only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3) /* Samsung Galaxy S5 */

 {

    #middle {
    text-align:center;
    }

    .nmUsuario, .senhaUsuario {
        margin-left: 5px;
        width: 250px;
    }

    #container {
        width: 100%;
    }

    #lower {
        text-align: center;
    }

    .lower_right {
        margin-left: 0;
    }
}

@media only screen and (min-width : 150px) and (max-width : 400px){
  #middle {
    text-align:left;
  }

    .nmUsuario, .senhaUsuario {
        margin-left: 5px;
        width: 250px;
    }

    #container {
        width: 100%;
    }

    #lower {
        text-align: center;
    }

    .lower_right {
        margin-left: 0;
    }
}
