/* FieldLogix
 * Jack D
 * CREATED: July 2015
 * LAST MODIFIED: August 4th, 2015
 */

/*
-> Goose ETA CSS File
-> Classes/ID's are ordered from top to bottom (follow the flow of the page)
*/

/*
///////////////////////////////////
--- -- -> General Classes <- -- ---
///////////////////////////////////
*/
html,body {
	height:100%;
	font-family: Lato,Helvetica,Arial;
	font-size: 14pt;
	color: #036;
	background: #4679BD;
}
img{
	margin: 0 auto;
	text-align: center;
	border-radius: 5px;
}
p{
	margin:0;
}
p button{
	margin-bottom: 10%;
	margin-top: 10%;
}
.text-center{
	margin: 0 auto;
	text-align: center;
}
.img-responsive{
	min-width: 50px;
	min-height: 50px;
	max-height: 200px;
}

/*
--- -- -> END General Classes <- -- ---
*/

/*
///////////////////////////////////
--- -- -> Loader & Error <- -- ---
///////////////////////////////////
*/

#loader-background{
	background: #FFF;
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 4;
}
#loader-loading{
	background: #FFF;
	position: absolute;
	left: 50%;
	top:50%;
	-webkit-transform:translate(-50%, -50%);
	-ms-transform:translate(-50%, -50%);
	transform:translate(-50%, -50%);
	z-index: 5;
	border-radius: 20px;
}

#loader-error{
	/*background: orange;*/
	display: none;
	position: absolute;
	left: 50%;
	top:50%;
	width: 100%;
	-webkit-transform:translate(-50%, -50%);
	-ms-transform:translate(-50%, -50%);
	transform:translate(-50%, -50%);
	z-index: 5;
}
.fa-times{
	font-size: 400%;
}

#error-circle{
	position: relative;
	width: 50%;
	height: 50%;
	left: 25%;
	right: 25%;
	top: 25%;
	min-width: 1å50px;
	padding: 0;
	float:left;
}

#error-circle p{
	text-align: center;
	font-size: 150%;
}

/*
--- -- -> END Loader & Error <- -- ---
*/

/*
///////////////////////////////
--- -- -> Nav Bar <- -- ---
///////////////////////////////
*/
.navbar{
	background-color: #036;
	height: 50px;
	z-index: 10;
}
#goose-title{
	margin: 0 auto;
	width: 200px;
	font-size: 30px;
	font-family: Lato,Helvetica;
	color:#FFF;
	text-align: center;
}
#eta-title{
	color:#FFF;
	text-align: center;
	font-family: Lato,Helvetica,Arial;
	line-height: 2.5;
	font-size: 16pt;
}
/*
--- -- -> END Map Canvas <- -- ---
*/

/*
///////////////////////////////
--- -- -> Map Canvas <- -- ---
///////////////////////////////
*/
#map-canvas{
	min-height: 100%;
	position:relative;
}
#map-row{
	position: relative;
	top: 50px;
	height: calc(100% - 50px);
}

/*
--- -- -> END Map Canvas <- -- ---
*/

/*
///////////////////////////////
--- -- -> ETA Div <- -- ---
///////////////////////////////
*/

#eta-time{
	background: #FFF;
	margin-bottom: 3.5px;
	border-radius: 5px;
}
#eta-time p{
	padding: 0 0 0 5px;
	margin: auto 0;
}

#eta-container{
	position: absolute;
	min-height: 40px;
	border-radius: 5px;
	bottom: 3.65%;
	padding: 3px;
}
/*---------------------------------*/
#eta-content{
	background: #FFF;
	/*border-radius: 5px;*/
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	padding:5px;
	padding-top: 15px;
	opacity: 0.92;
}
#eta-header{
	background-color: #036;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	min-height: 15px;
	color: #FFF;
	text-align: center;
}

#eta-content-left{
	min-height: 10px;
}
/*NESTED INTO #eta-content-left*/
	#eta-content-name{
		text-align: center;
		padding: 0;
		margin: 0;
	}
	#eta-content-photo{
		min-height: 15px;
		
	}
	#eta-content-photo-img{
		margin: 0 auto;
		text-align: center;
		max-width: 200px;
		max-height: 200px;
	}
/*END NESTED INTO #eta-content-left*/
/*---------------------------------*/
#eta-content-right{
	min-height:10px;
}
/*NESTED INTO #eta-content-right*/
	#here-button{
		background: #669934;
		border:none;
		border-radius: 5px;
		color: #FFF;
		font-size: 10pt;
		min-width: 90px;
		min-height: 30px;
		width: 33%;
	}
	#here-button:hover, #here-button:active{
		background: #4C7327;
	}
	#buttons-container{
		margin: auto 0;
		min-height: 50%;
		padding: 0;
		margin-top: 2.5%;
		/*margin-bottom: 0%;*/
	}
	#buttons-container p{
		text-align: center;
	}
	#buttons-container a{
		font-size: 150%;
	}
	#circle-one{
		padding: 0;
		float: left;
	}
	#circle-two{
		padding: 0;
		float: left;
	}
	.circle-text {
	    width:50%;
	    min-width: 35px;
	    margin: 0 auto;
	}
	.circle-text:after {
	    content: "";
	    display: block;
	    width: 100%;
	    height:0;
	    padding-bottom: 100%;
	    background: #036; 
	    -moz-border-radius: 50%; 
	    -webkit-border-radius: 50%; 
	    border-radius: 50%;
	}
	.circle-text-error:after{
		background: red;
	}
	.circle-text div {
	    float:left;
	    width:100%;
	    padding-top:50%;
	    line-height:1em;
	    margin-top:-0.5em;
	    text-align:center;
	    color:white;
	}
	#my-eta-p{
		text-align: center;
	}
	#my-phrase-p{
		text-align: center;
	}
/*END NESTED INTO #eta-content-right*/
/*---------------------------------*/

/*
--- -- -> END ETA Div <- -- ---
*/

/*
//////////////////////////////////
--- -- -> MEDIA QUERIES <- -- ---
//////////////////////////////////
*/

/*- WIDTH LESS THAN 480px -*/
@media(max-width: 480px){
	body{
		font-size: 10pt;
	}
}
/*- END WIDTH LESS THAN 480px -*/

/*- WIDTH MORE THAN 768px -*/
@media(min-width: 768px){
	#error-circle{
		max-width: 20%;
		min-width: 250px;
		left: 40%;
		right: 40%;

	}

}
/*- END WIDTH MORE THAN 768px -*/

@media(max-height: 350px){
	#eta-content-photo{
		display:none;
	}
	#eta-content{
		max-height: 30%;
	}
	#buttons-container{
		height: 50%;
		margin: 0;
		padding: 5% 0;
	}
	#circle-one{
		height:35px;
	}
	#circle-two{
		height: 35px;
	}
	#eta-sms-legend{
		display:none;
	}
	#eta-call-legend{
		display: none;
	}
	#eta-content-name{
		font-weight: bold;
		padding: 10%;
		font-size: 150%
	}
	#error-circle p{
		font-size: 150%;
	}
	#error-circle{
		position: relative;
		width: 35%;
		height: 35%;
		left: 32.5%;
		top: 32.5%;
		margin-top: 50px;
		padding: 0;
		float:left;
	}
	#contact-provider{
		display:none;
	}
}

@media only screen(max-height: 350px) and (min-width: 481px){
	#error-circle{
		min-width: 150px;
		left: 40%;
		right: 40%;
		border: 1px solid green;
	}
}

/*
--- -- -> END ETA Div <- -- ---
*/
