/*!
* Full Weather Page V2
* weather.css file
* edit below as your needs if you are familiar with css!
*/

/* weather outer */
#weather-outer{
	position:relative;
	margin:0 auto;
	padding:0;
	font-family: "Roboto",Arial,Verdana;
	font-size:14px;
	font-weight:400;
	text-align:left;
	width:auto;
	z-index:1;
}

#weather-outer *{
	line-height:110%;
	outline:0em;
	outline-width:0;
}

:focus {
	outline:none;
}
::-moz-focus-inner {
	border:0;
}
/* clear floats */
.clearfloats{
	clear:both;
	margin:0;
	padding:0;
	line-height:0;
}

/** TOOLTIPS **/
#tooltip
{
    text-align: left;
    color: #000;
    background: #f5f5f5;
    position: absolute;
    z-index: 100;
    padding: 15px;
	font-family: "Roboto",Arial,Verdana;
	font-size:14px;
}
 
#tooltip:after /* triangle decoration */
{
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #f5f5f5;
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    margin-left: -10px;
}

#tooltip.top:after
{
    border-top-color: transparent;
    border-bottom: 10px solid #f5f5f5;
    top: -20px;
    bottom: auto;
}
 
#tooltip.left:after
{
    left: 10px;
    margin: 0;
}
 
#tooltip.right:after
{
    right: 10px;
    left: auto;
    margin: 0;
}
#tooltip strong
{
	font-size:1.1em;	
}
#tooltip p
{
	margin:3px 0 0 0;
	padding:0;
}
#tooltip p span
{
	font-weight:700;
}


/* modal window */
.modal-box {
  display: none;
  position: fixed;
  z-index: 1000;
  width: 50%;
  background: white;
  border-bottom: 1px solid #aaa;
  border-radius: 0px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-clip: padding-box;
  font-family: "Roboto",Arial,Verdana;
  font-size:14px;
  right:50%;
}

#history-modal-box .fa-spinner{
	position:absolute;
	left:45%;
	top:45%;
}
.modal-box header,
.modal-box .modal-header {
  padding: 1.25em 1.5em;
  border-bottom: 1px solid #ddd;
  color:#808080;
}

.modal-box header h3,
.modal-box header h4,
.modal-box .modal-header h3,
.modal-box .modal-header h4 { margin: 0; }

.modal-box .modal-body { padding: 1em 1.5em; }

.modal-box footer,
.modal-box .modal-footer {
  padding: 1em;
  border-top: 1px solid #ddd;
  background: rgba(0, 0, 0, 0.02);
  text-align: right;
}
.modal-box .js-modal-close{
	position:absolute;
	right:10px;
	top:10px;
	color:#cc0000;
	padding-left: 6px;
	padding-right: 6px;	
	border:1px solid #cc0000;
	border-radius:100%;
	font-size:2em;
	text-decoration:none;
	line-height:1;
}
.modal-overlay {
  opacity: 0;
  filter: alpha(opacity=0);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3) !important;
}
.modal-item{
	display:inline-block;
	margin:0 0 15px 0;
	width:45%;
}
.modal-item-right{
	display:inline-block;
	margin:0 0 15px 0;
	width:45%;
}

.modal-body select{ 
	padding:8px 15px;
	margin:4px 0 0 0;
	border:1px solid #ccc;
	max-width:90%;
}
.setsubmit {
  line-height: 1.4;
  font-size: 1.1em;
  text-decoration: none;
  color: #666666;
  cursor:pointer;
  border:1px solid #666666;
  background:#f5f5f5;
  font-weight:400;
}

.setsubmit:hover {
  color: #000;
  border:1px solid #000;  
  -webkit-transition: color 1s ease;
  -moz-transition: color 1s ease;
  transition: color 1s ease;
}

/**** || CHARTS STYLE || ****/

/*current hourly chart*/
.wea-chart {
	font-family: "Roboto",Arial,Verdana;
	font-size:14px;	
	height: 350px; /*the height of chart*/
	margin: 0 auto;
	padding: 0;
}
.wea-chart *{
	font-family: "Roboto",Arial,Verdana !important;
}
.wea-chart .wea{
	font-family: 'Pe-icon-7-weather' !important;
}

/*preloading icon*/
.fa-spin-custom{
  -webkit-animation: spin 1000ms infinite linear;
  animation: spin 1000ms infinite linear;
  font-size:2em;
  margin:20px 0;
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}




/*RESPONSIVE STYLE*/
@media only screen and (max-width: 600px) {
	/* modal window */
	.modal-box {
	  width: 90%;
	}

}