/* adding qgis specific css here, overriding bootstrap or adding new classes */


/* color for disclaimer (used when files need to be revised)*/
.disclaimer {
  display:block;
  margin-top:5px;
  color:red;
  border:2px solid red;
  padding:5px 50px 5px 50px;

}
body {
  padding-top: 95px;
  padding-bottom: 140px;
  font-size: 14px;
  min-height: 100%;
  position: relative;
}

h3 {
  font-size: 22px;
  color: #000000;
}

/* workaround for having the headlines in anchors not hidden by 
the title*/
h1 {
  padding-top: 110px;
  margin-top: -110px;   
}

h2 { 
  padding-top: 110px;
  margin-top: -110px; 
}

#locales li{
  float: left;
  list-style-type: none;
  padding: 0 1px 1px 1px;
}
#locales {
  margin-left:2px;
}
.search input[type=text] {
  width:90%;
}

.sidebar-nav {
  
}

.navbar .brand {
  margin-top: 10px;
  margin-left: 10px;
  padding-left: 30px;
  height:42px;
}

.navbar .nav {

}
/* adding background gradient on top - solid for old/not standard browsers*/
.navbar-inverse .navbar-inner {

}

/*
*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*/

/* color for disclaimer (used when files need to be revised)*/
tt.descname {
    color: #f76926
}
.centered {text-align: center}​

/** Themeing of sphinx markup now **/

.section h1 {
    border-bottom: solid 1px #002070;
}

.guilabel {
    font-weight: bold;
    border: 1px solid #ddd;
    background: #eee;
    color: #08C;
    padding-left: 3px;
    padding-right: 3px;
}

.menuselection {
    font-weight: bold;
    border: 1px dashed #ddd;
    background: #eee;
    color: #f86a27;
    padding-left: 3px;
    padding-right: 3px;
}

.kbd {
    font-weight: bold;
    border: 1px solid #ddd;
    background: #eee;
    color: #E22;
    padding-left: 3px;
    padding-right: 3px;
}

/* Suppress anchor markers */
.headerlink {display: none;}

.admonition-title {
    font-size: larger;
    display: block;
    margin-left: 44px !important;
}
/* theming of warning boxes class=".admonition .warning" */
.warning{
    background-image: url("img/warning.png");
    background-position: 22px 10px;
    background-repeat: no-repeat;
}
/* theming of warning boxes class=".admonition .note" */
.note {
    background-image: url("img/note.png");
    background-position: 22px 10px;
    background-repeat: no-repeat;
}

.admonition, .bordered-block {
    background-color: #fbfbfb;
    border: 1px solid #f57d35;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    box-shadow: none;
	color: #f57d35;
}
.admonition p {
    margin-left: 20px;
}

.admonition p img, .bordered-block p img {
    float: left;
    margin: 0 15px 0 0;
}

.item > img {
    margin: 0 auto;
}

.hero-unit {
    background-color: #F9D4AE;
    padding: 5px;
    text-align: center;
}

.hero-unit h1 {
    text-align: left;
}

.pre {
    font-variant: full-width;
}

span.inasafe {
   color: #f76926 !important;
}

.alert {
text-shadow: none;
}

.alert-block {
color: #000000;
}

.alert-info {
color: #f76926;
background-color: #fee8d1;
border-color: #fbad5a;
}

.alert-danger {
color: #FFFFFF;
background-color: #E22;
border-color: #FF0000;
}

a:hover {
color: #000000;
text-decoration: underline;
}
a:hover, a:active {
outline: 0;
}
a {
color: #2f87a6;
text-decoration: none;
}
.guilabel {
color: #FBAD5A;
}

.navbar-inverse .nav .active > a, .navbar-inverse .nav .active > a:hover, .navbar-inverse .nav .active > a:focus {
color: #ffffff;
background-color: #fbad5a;
}

.navbar-inverse .brand:hover,
.navbar-inverse .nav > li > a:hover {
  color: #f76926;
}

.navbar-inverse .nav > li > a:focus,
.navbar-inverse .nav > li > a:hover {
  color: #f76926;
  background-color: transparent;
}

.navbar-inverse .brand, .navbar-inverse .nav > li > a {
color: #905600;
text-shadow: none;
}

.navbar .nav li.dropdown:hover > .dropdown-toggle .caret {
  border-bottom-color: #fff;
  border-top-color: #fff;
}

/** Adapted from http://www.hongkiat.com/blog/breadcrumb-menu-css3/ **/


.breadcrumb {overflow: visible;}
.breadcrumb.right {float: right;}
.breadcrumb.left {float: left;}

.breadcrumb li {
	height: 35px;
	line-height: 35px;
}

.breadcrumb li.first { padding-left: 8px; }
.breadcrumb li a, .crumbs li a:link, .crumbs li a:visited {
  color: #666;
  display: block;
  float: left;
  font-size: 12px;
  line-height: 30px;
  height: 30px;
  margin-right: 18px;
  padding: 0 15px 0 10px;
  position: relative;
  text-decoration: none;
  background: #f2f2f2;
  color: #72777c;
  text-shadow: none;
}
.breadcrumb.right li a {
	margin-right: 0;
	margin-left: 18px;
}
.breadcrumb.center {
	text-align: center;
}
.breadcrumb.center li {
	display: inline-block;
}
.breadcrumb li a:after {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(80, 207, 92, 0);
	border-left-color: #f2f2f2;
	border-width: 15px;
	margin-top: -15px;
}
.breadcrumb li a:before {
 content: "";
  position: absolute;
  margin-top: 0;   
  border-width: 15px 0 15px 15px;
  border-style: solid;
  border-color: #f2f2f2 #f2f2f2 #f2f2f2 transparent;
  left: -14px;      
} 
.breadcrumb.center li a.index:before,
.breadcrumb.center li a.prev:before {
    right: 100%;
	left: auto;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(80, 207, 92, 0);
	border-right-color: #f2f2f2;
	border-width: 15px;
	margin-top: -15px;  
}
.breadcrumb.center li a.prev:after {
	content: "";
  position: absolute;
  margin-top: 0;   
  border-width: 15px 15px 15px 0;
  border-style: solid;
  border-color: #f2f2f2 transparent #f2f2f2 #f2f2f2;
  right: -14px;
  top: 0;
}
.breadcrumb.center li a.prev {
	padding: 0 10px 0 15px;
	margin-right: 16px;
}
.breadcrumb.center li a.index {
	padding: 0 10px 0 10px;
	margin-right: 15px;
}
.breadcrumb li a {
  position: relative;
}
.breadcrumb li a:hover {
  opacity: 0.8;
  color: #72777c;
  cursor: pointer;
}

.breadcrumb li .right a {
    background-image: none;
}
.breadcrumb li a:active {
  color: #333;
  background-position: 100% -96px;
}

.breadcrumb li.first a span {
  height: 29px;
  width: 3px;
  border-left: 1px solid #d9d9d9;
  position: absolute;
  top: 0px;
  left: 0px;
}

/* Padding for images */
img {
  padding-bottom: 20px;
}
table img {
  padding-bottom: 0px; 
}
/* Padding for tables */
table {
  margin-bottom: 12px; 
}
h1, .h1, h2, .h2, h3, .h3 {
   color: #2f3338;
}


body {
    margin-bottom: 0 !important;
}
/* Sticky footer */
html {
    height: 100%;
}
body {
    color: #72777c;
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 23px;
}
footer.content-info {
    position: absolute;
    bottom: 0;
    width: 100%;
	background: none repeat scroll 0 0 #202326;
	color: #ffffff;
	margin-top: 20px;
	padding-bottom: 15px;
	padding-top: 15px;
}
footer.content-info a {
	color: #3DB2DD;
}
footer.content-info a:hover {
	color: #fafafa;
}

#banner-header {
	left: 0;
	top: 0;
	width: 100%;
    margin-bottom: 0;
    position: fixed;
    right: 0;
    z-index: 1030;
}
.hipchat-embed {
    margin-top: 35px;
}
.navbar {
    border: none !important;
    font-size: 13px !important;
    font-family: "Ubuntu";
}
.navbar .container {
    position: relative;
}
#h-search {
    position: absolute;
    width: 220px;
    height: 39px;
    top: -39px;
    right: 0;
}
.mobile #h-search {
    top: -52px;
    right: 0;
	z-index: 400;
	border: 1px solid #202326;
}
.mobile #h-search input[type="text"],
.mobile #h-search .submit {
    height: 49px;
    line-height: 40px;
    margin-top: 0;
}
#h-search input[type="text"] {
    display: inline-block;
    width: 100%;
    background: rgba(47,51,56,1);
    border: none;
    padding: 4px 10px;
    margin-top: 4px;
    height: 30px;
    color: #888;
}
#h-search .submit {
    position: absolute;
    right: 3px;
    top: 0;
    border: none;
    background: none;
    display: inline-block;
    box-shadow: none;
    font-size: 16px;
    line-height: 41px;
	height: 29px;
    color: #888;
	background: url(img/search.svg) no-repeat center;
	opacity: 0.45;
}
button:focus {
	outline: none;
}
.navbar-header {
	position: relative;
	z-index: 400 !important;
}
.nav-main {
	position: relative;
	z-index: 100;
}
.navbar .navbar-brand.logo {
    height: 39px !important;
	width: 100px !important;
	background-image: url(img/logo-inverted.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100px 39px;
	margin-left: 0;
	z-index: 50;
	margin-top: 8px;
}

.navbar-nav > li > a {
    padding-top: 26px!important;
    padding-bottom: 10px!important;
	padding-right: 10px!important;
	padding-left: 10px!important;
}
 
.navbar-nav {
    margin: 0;
    text-transform: uppercase;
}
.navbar-collapse.in {
    position: relative;
    overflow-y: visible;
}
.navbar-collapse.in #lang_sel {
    position: absolute;
    top: -60px;
    right: 120px;
}
.navbar-collapse.in .navbar-nav  > li > a {
    padding-top: 10px !important;
}
.second-menu .collapse.in li {
    display: block;
}
.second-menu .collapse.in {
    margin-left: -15px;
    padding-left: 30px;
    text-transform: uppercase;
}
.second-menu .collapse.in .search {
    display: none;
}
.navbar-default .navbar-toggle {
    height: 40px;
    line-height: 25px;
	box-shadow: none;
	margin-top: 8px;
}
.navbar-header .search {
    color: #fff;
    width: 42px;
	background: url(img/search.svg) no-repeat center;
}
.second-menu .search {
    float: right;
    border: none;
    background: none;
    display: inline-block;
    height: 39px;
    font-size: 16px;
    line-height: 41px;
    color: #fff;
	margin-top: 0 !important;
	box-shadow: none;
	text-shadow: none;
	background: url(img/search.svg) no-repeat center;
}
.second-menu .search img {
    padding-bottom: 0;
}
#site-logo {
	padding-bottom: 0;
}
.navbar-nav > li > a {
    color: #939ca6 !important;
    text-shadow: none !important;
}
.nopadding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.navbar-nav .active > a, .navbar-nav .active > a:hover, .navbar-nav .active > a:focus,
.navbar-nav .current_page_parent > a {
    color: #ffffff!important;
}

.navbar-nav > li > a:focus,
.navbar-nav > li > a:hover {
  color: #ffffff!important;
  background-color: transparent;
}
.dropdown-menu {
  overflow: hidden;
}
.dropdown-menu > li > a {
  color: #939ca6 !important;
  line-height: 1.2;
  padding: 7px 20px !important;
  font-size: 13px;
}
.navbar-nav .active > a, .navbar-nav .current-page-ancestor > a, .navbar-nav .active > a:hover, .navbar-nav .active > a:focus {
  background: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
#lang_sel {
    float: right;
}
#lang_sel  ul  {
    list-style: none;
    margin-bottom: 0;
    padding: 0 20px 0 0;
}
#lang_sel > ul  {
    position: relative;
	margin-left: 0 !important;
}
#lang_sel > ul > li > a  {
    padding-top: 26px !important;
    padding-bottom: 10px !important;
    display: block;
}
#lang_sel ul ul {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: #2f3338;
    z-index: 400;
    padding-bottom: 15px;
	padding-left: 20px;
	margin-left: 0;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
#lang_sel:hover ul ul {
    display: block;
}
#lang_sel ul a {
    color: #939CA6 !important;
}
#lang_sel ul a:hover {
    text-decoration: none;
    color: #fff !important;
}
.second-menu {
	background: #3db2dd;
}
.second-menu span {
    display: inline-block;
    line-height: 39px;
    background: #46b650;
    padding: 0 10px;
    text-transform: uppercase;
    margin-right: 15px;
    color: #fff;
    vertical-align: top;
}
.second-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
	float: left;
}
.second-menu ul li {
    display: inline-block;
    margin-right: 15px;
}
@media (min-width: 768px) and (max-width: 979px) {

 .second-menu ul li {
    display: inline-block;
    margin-left: 10px;
	margin-right: 0;
}
.well {
	font-size: 14px;
	padding: 20px 5px !important;
}
.well h3 {
	font-size: 20px;
}
}
.navbar .second-menu ul li a {
    color: #fff !important;
    line-height: 39px;
}
.navbar .second-menu ul li a:hover {
    text-decoration: none;
    opacity: 0.7;
}
.for-users .second-menu, .parent-pageid-151 .second-menu, .page-id-613 .second-menu, .parent-pageid-1016 .second-menu,
.page-id-617 .second-menu, .parent-pageid-1017 .second-menu {
    background: #3db2dd;
}
.home .second-menu, .parent-pageid-148 .second-menu, .about-inasafe .second-menu,
.blog .second-menu, .single-post .second-menu, .archive .second-menu, .single-news .second-menu, .news .second-menu,
.page-id-566 .second-menu, .page-id-11 .second-menu, .page-id-578 .second-menu, .page-id-579 .second-menu, .parent-pageid-566 .second-menu, .page-id-565 .second-menu, .parent-pageid-565 .second-menu {
    background: #f57d35; 
}
.parent-pageid-154 .second-menu, .parent-pageid-165 .second-menu, .parent-pageid-605 .second-menu,
.parent-pageid-438 .second-menu, .parent-pageid-595 .second-menu, .parent-pageid-607 .second-menu  {
    background: #50cf5c;
}
#menu-contributors {
    display: none;
    position: absolute;
    top: 39px;
    background: #41a74a;
    padding: 0 10px;
    width: 186px;
}
#menu-contributors-french0 li,
#menu-contributors li,
#menu-contributors-indonesian0 li {
    display: block;
    line-height: 20px;
}
#menu-contributors-french0 .current-menu-item,
#menu-contributors .current-menu-item,
#menu-contributors-indonesian0 .current-menu-item,
#menu-contributors-french0 .current-page-ancestor,
#menu-contributors .current-page-ancestor,
#menu-contributors-indonesian0 .current-page-ancestor {
    display: none;
}
.second-menu .container {
    position: relative;
}
a:focus {
    outline: none;
}
.button {
    transition: all 0.2s ease-out;
    background: #f15a2b;
    color: #fff;
    border: none;
}
.button:hover {
    opacity: 0.8;
    background: #f15a2b;
    color: #fff;
}
.menu-for-users.active {
    background: url("img/current-user.png") no-repeat center 49px; 
}
.menu-for-contributors.active {
    background: url("img/current-dev.png") no-repeat center 49px; 
} 
.menu-blog.active {
    background: url("img/current-blog.png") no-repeat center 49px; 
}
.in .current-page-ancestor, .collapsing .current-page-ancestor,
.in .current-menu-item, .collapsing .current-menu-item {
    background: none; 
} 
.navbar .second-menu .current-menu-item a {
    font-weight: bold;
}

.button.orange {
    border: none;
    background: #F15A2B;
    color: #fff;
}
.home .block-wrapper.media .button  {
  float: right;
  margin-top: 20px;
}
.home .nav-second {
    margin-left: 165px;
}
.block-wrapper img {
    max-width: 100%;
}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	padding-right: 20px;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.button.big {
    line-height: 58px;
    padding: 0 40px;
    font-weight: bold;
    font-size: 17px;
    color: #fff;
}

.button.green {
    background: #47a753;
    color: #fff;
}
.button.blue {
    background: #2f87a6;
}
.button.big img {
    margin-right: 10px;
    padding-bottom: 4px;
}
.button.big i {
    margin-right: 5px;
    padding-bottom: 5px;
    vertical-align: middle;
    font-size: 20px;
}



/** Sidebar **/
.well li {
	font-size: 15px;
}
@media (max-width: 980px) {
	.second-menu .search {
		margin-right: 20px;
	}
	#h-search {
		right: 20px;
	}
	.breadcrumb.right { 
	   display: none;
	}
	.navbar .navbar-brand.logo {
		margin-left: 20px;
	}
}
@media (max-width: 767px) {
	body {
		padding: 0 0 140px 0 !important;
	}
	#banner-header {
		position: relative;
		left: auto;
		right: auto;
		margin: 0 !important;
		padding: 0 20px;
	}
	.container, .navbar .container {
		padding: 0 20px;
	}
	
}
@media (max-width: 650px) {
	
	body {
		padding: 0 0 180px 0 !important;
	}
	footer.content-info {
		font-size: 14px;
	}
}
@media (max-width: 460px) {
	body {
		padding: 0 0 250px 0 !important;
	}
}

