/**
 *  _  ____    _      ____  ____  _  _     _____
 * / \/  _ \  / \__/|/  _ \/  _ \/ \/ \   /  __/
 * | || | \|  | |\/||| / \|| | //| || |   |  \  
 * | || |_/|  | |  ||| \_/|| |_\\| || |_/\|  /_ 
 * \_/\____/  \_/  \|\____/\____/\_/\____/\____\
 *                                              
 *  __  __      _               ______           
 * |  \/  |    | |             |  ____|          
 * | \  / | ___| |_ ___  ___   | |__ _   _ _ __  
 * | |\/| |/ _ \ __/ _ \/ _ \  |  __| | | | '_ \ 
 * | |  | |  __/ ||  __/ (_) | | |  | |_| | | | |
 * |_|  |_|\___|\__\___|\___/  |_|   \__,_|_| |_|
 *      
 *  
 * @author David Ansermot <david.ansermot@idmobile.ch>
 * @author Simon Wagner <simon.wagner@idmobile.ch>
 * @copyright (C)Copyright 2015 - ID Mobile SA
 * @url http://www.idmobile.ch 
 * @package meteofun
 */


/* ------- * CLASS UTILS * -------- */

.margin-bottom-20 { margin-bottom: 20px; }
.margin-top-7 { margin-top: 7px; }
.min-height-115 { min-height: 115px; }

.hideMe { display: none; visibility: hidden; }

.bg-white { background-color: #ffffff; }

.space-top { margin-top: 15px; }
.space-top-double { margin-top: 30px; }

.device-mobile .label.label-giga,
.device-mobile #container-weather h5 { font-size: 0.8em; }

.label.label-giga { font-size: 1.8em; margin: 20px 0 20px 0; display: inline-block;}

div.spacer { margin: 20px; }

#container-astro div.label.label-default { margin-top: 15px; display: inline-block; }
#container-wind div.label.label-default { margin-top: 15px; display: inline-block; }


body.device-mobile .container { overflow: hidden; width: 100%; }

body .container {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
}
body.device-mobile,
body.device-mobile .col-xs-12 {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
body.device-mobile,
body.device-mobile .row {
	padding-left: 0 !important;
	padding-right: 0 !important;
}


small.very-small { font-size : 10px; }

table.table.scroll {
	height:140px; 
}
	table.table.scroll tbody {
		overflow-y: scroll;
  		height: 140px;
  		width: 96%;
  		position: absolute;
	}
		table.table.scroll tbody tr {
			width: 96%;
			display: inline-table;
		}


.hightlight-water-background {
	background-color: #93ccea;
}

#leftMenuButton:hover {cursor:pointer;}

.temperature-box {
	font-size: 28px;
	padding: 10px 0 10px 0;
	color: #ffffff;
}
	.temperature-box>div.subtitle {
		font-size: 12px;
	}

.top-marged-image { margin-top: 10px; } 
 

.document-alert {
	z-index: 9999;
}

.nav.nav-tabs.nav-justified li:not(.active) a { color: #93ccea !important; }


.shadowed-rounded-borders {
	border: 1px solid transparent;

	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) !important;
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) !important;
	-o-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) !important;

	-webkit-border-radius: 4px !important;
	-moz-border-radius: 4px !important;
	-o-border-radius: 4px !important;
	border-radius: 4px !important;
}



.lang-flag {
	display: inline-block;
	width: 16px;
	height: 11px;
	background-repeat: no-repeat;
	background-position: top left;
	margin-right: 8px;
}
	.flag-en { background-image: url('../images/flags/en.png'); }
	.flag-de { background-image: url('../images/flags/de.png'); }
	.flag-it { background-image: url('../images/flags/it.png'); }
	.flag-fr { background-image: url('../images/flags/fr.png'); }


/* ------- * ADS GOOGLE * -------- */

.ad-container {
	margin-bottom: 15px;
}

#ads-leaderboard {
	margin-top: 0;
	margin-bottom: 0;
        margin-left: 0px !important;
        margin-right: 0px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
}

#ads-content {
	margin-top: 15px;
        margin-left: 5px !important;
        margin-right: 5px !important;
}

#ads-skycraper {
	position: fixed;
	float: right;
	right: 1px;
}


/* ------- * HTML / BODY * -------- */

html {
	background: url('/resources/images/misc/pageBackground_meteoski.jpg') no-repeat center center fixed;
	background-size: cover;
	-o-background-size: cover; 
	-webkit-background-size: cover;
	-moz-background-size: cover;

    transition: background 1.0s linear;
    -moz-transition: background 1.0s linear; /* Firefox 4 */
    -webkit-transition: background 1.0s linear; /* Safari and Chrome */
    -o-transition: background 1.0s linear; /* Opera */
}

html.slide1 { background-image: url('/resources/images/misc/pageBackground_meteoski.jpg'); }
html.slide2 { background-image: url('/resources/images/misc/pageBackground2.jpg'); }

/*#background-images {
	z-index: -9999;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('/resources/images/misc/pageBackground1.jpg') no-repeat center center fixed;
}

#background-images.slide1 { background-image: url('/resources/images/misc/pageBackground1.jpg'); }
#background-images.slide2 { background-image: url('/resources/images/misc/pageBackground2.jpg'); }*/

html,
body {
	min-height: 800px;
}

body {
	background: none;
}





/* ------- * TOP BAR * -------- */

#topBar {
	/*background-color: #40C09A;*/
	background-color: #414f5d;
	color: #ffffff;
	text-align: center;
	-webkit-box-shadow: 0px 3px 2px -2px rgba(50, 50, 50, 0.2);
	-moz-box-shadow:    0px 3px 2px -2px rgba(50, 50, 50, 0.2);
	box-shadow:         0px 3px 2px -2px rgba(50, 50, 50, 0.2);
	border: none !important;
}

#topBar .container-fluid {
	height: 50px;
}


#topBar .navbar-brand {
	padding: 0 0 0 10px !important;
}

#topBar .nav.navbar-nav .dropdown a {
	color: #ffffff !important;
}


#topBar .nav.navbar-nav .dropdown.open .dropdown-menu,
#topBar .nav.navbar-nav .dropdown.open a {
	background-color: #414f5d;
}
	body.device-mobile #topBar #search-form-group {
		width: 220px;
	}
	body.device-mobile #topBar #cityname {
		display: inline-block;
		margin-right: 2px;
		width: 160px;
	}
	body.device-mobile #topBar #search-button {
		display: inline-block;
		margin: 0;
	}

	body.device-mobile #language-menu {
		width: 80px;
		margin: 0;
	}
	body.device-desktop #language-menu { 
		float: right;
		text-align: right;
	}


#topBar .dropdown-menu>li {
	padding: 5px 0 5px 15px;
}

#topBar .dropdown-menu>li>a { 
	display: inline-block;
	padding: 0 !important; 
}




.white-popup {
  position: relative;
  background: #fff;
  padding: 20px;
  width:auto;
  max-width: 500px;
  margin: 20px auto;
}

.nopadding {
    padding: 0px;
    margin: 0px;
}

/* ------- * CONTENT TOP * -------- */

body.device-desktop #contentTop {
	margin-top: 80px;
	margin-bottom: 10px;
        margin-left: 75px;
}
body.device-mobile #contentTop {
	margin-top: 80px;
	margin-bottom: 10px;
}
	
	/* ------- * POWERED BY * -------- */

	#copyright { 
		color :#fff;
		margin-bottom: 10px;
	}
	#copyright a {
		color: #fff;
		font-size: 0.8em;
	}


	/* ------- * LOADER * -------- */
	div.loader {
		width: 30px;
		height: 30px;
		display: inline-block;
	}

	img.loading-image { margin-left: 5px; }

	.symbole-ico { display: inline-block; margin-right: 10px; }



/* ------- * CONTENT MAIN * -------- */

#contentMain {
	background-color: rgba(255, 255, 255, 0.6);
	padding-top: 0;
	padding-bottom: 15px;
        margin-left: 20px;
}

	/* ------- * CITY TITLE * -------- */

	#cityTitle { 
		color: #ffffff;
		margin-top: 0;
		background-color: #fcc143;
		padding: 10px 0 10px 0;
	}

	#citiesTable td:hover {
		cursor: pointer;
	}



	/* ------- * WATER LIST * -------- */

	h4.panel-title span.panel-arrow  {

	}

	h4.panel-title .collapsed span.panel-arrow {
		-webkit-transform:rotate(180deg); 
  		-moz-transform:rotate(180deg);
  		-o-transform:rotate(180deg); 
  		-ms-transform:rotate(180deg); 
  		transform:rotate(180deg);
	}



/* -------- AJAX LOADER -------- */

.ajax-loader {
	background-image: url(../images/ajax-loader.gif);
	background-position: top center;
	background-repeat: no-repeat;
	width: 100%;
	height: 32px;
	margin: 20px 0 20px 0;
}




/* -------- SPECIAL IDMOBILE FONT --------- */

@font-face {
  font-family: "untitled-font-1";
  src:url("../fonts/untitled-font-1.eot");
  src:url("../fonts/untitled-font-1.eot?#iefix") format("embedded-opentype"),
    url("../fonts/untitled-font-1.woff") format("woff"),
    url("../fonts/untitled-font-1.ttf") format("truetype"),
    url("../fonts/untitled-font-1.svg#untitled-font-1") format("svg");
  font-weight: normal;
  font-style: normal;

}

[data-icon]:before {
  font-family: "untitled-font-1" !important;
  content: attr(data-icon);
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
  font-family: "untitled-font-1" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-river:before {
  content: "a";
  font-size: 1.2em;
}
.icon-lake:before {
  content: "b";
  font-size: 1.2em;
}
.icon-bath:before {
  content: "c";
  font-size: 1.2em;
}






.circle-state {
	width: 24px;
	height: 24px;

	border-radius: 16px;
	-moz-border-radius: 16px;
	-webkit-border-radius: 16px;

	display: inline-block;
	padding-top: 2px;
	padding-left: 4px;
}

.panel-slops {
	font-size: 1.1em;
}

.panel-slops .panel-padding {
	padding: 10px 0 10px 0;
}

.panel-slops .panel-margin-top {
	margin-top: 20px;
}

.no-deco {
	list-style: none;
}
