/*
 * Styles needed for bugfixing.. 
 *
 * 
 */

/* Needed to prevent disabling of touch scroll on sidebar boxes. 
 */

.ui-sortable-handle {
    touch-action: pan-y !important;
}

/*
 * End of bugfixing styles
 *
 */

/* For lazy-loading of images with data-src prop instead of src.. */
img {
  opacity: 1;
  transition: opacity 0.3s;
}

img[data-src] {
  opacity: 0;
}
/* END of lazy-loading.. */

html, body {
	/* width: 99%; */
	font-size: 14px;
	padding-left: 0px;
	padding-right: 0px;
}

.container-fluid {
	/* padding-left: 9px;
	padding-right: 9px; */
}

.postfooter {
	margin-top: 50px;
}

.fa-trash, .fa-television {
	cursor: pointer;
}

.col-centered{
    float: none;
    margin: 0 auto;
	text-align: center;
}

@media (max-width: 991px) { 
  [class*="col-"]{
      margin-bottom: 4px;
  }
}

div {
	border: 0px solid black;
}

h1, h2, h3, h4, h5, h6 {
	margin: 2em 0 0.4em 0;
	padding-left: 0px;
	font-weight: 800;
}

h2 {
	margin-top: 0em;
	font-size: 2.2rem;
	margin-bottom: 0.4em;
}

h3 {
	font-size: 1.5rem;
}

a {
  color: #333333;
  text-decoration: none;
}

table {
	table-layout: fixed;
	/*white-space: nowrap;*/
}

#thetodo table {
	table-layout: auto;
}

#todo_table, #send_table {
	table-layout: auto;
  word-wrap: break-word;
  white-space: normal;
}

th, td {
	word-wrap: break-word;
	white-space: nowrap;
}	

.edit-table th, .edit-table td {
	word-wrap: break-word;
	white-space: normal;
}	

.edit-table td:last-child {
	word-wrap: break-word;
	white-space: nowrap;
}	

/*td:last-child {
	white-space: normal;
}*/

table#grades, table#dates, table#search {
	width: auto;
	table-layout: fixed;
}

table#grades tbody td, table#dates tbody td {
	/*word-wrap: break-word;*/
}

td.comment, table#search td{
	word-wrap: break-word;
	white-space: normal;
}

.todo_list, .send_list {
	display: none;
}

@media (max-width: 480px) {
	.todo_list, .send_list {
		display: block;
	}
	#todo_table, #todo_table_wrapper, #send_table, #send_table_wrapper {
		display: none
	}
	.todo_areaname span, .send_areaname span {
		display: none;
	}
	.todo_item, .send_item div {
		display: flex;
		justify-content: space-between;
	}
	.todo_item, .send_item {
		margin: 10px 0;
		border: 1px solid #c6c6c6;
	}
	.todo_item div, .send_item div div {
		flex: 0 1 auto;
		border: 0px solid black;
	}
	.todo_item div.todo_areaname,.send_item div div.send_areaname {
		flex: 1 1 0px;
	}
	.todo_item div.deletebutton, .send_item div div.deletebutton {
		padding-left: 8px;
	}
	.todo_item div.sentbutton, .send_item div div.editbutton {
		padding-left: 8px;
	}
}

.sort {
  padding:2px 20px;
  border-radius: 6px;
  border:none;
  display:inline-block;
  color:#fff;
  text-decoration: none;
  background-color: #28a8e0;
  height:24px;
  font-size: 0.9em;
}
.sort:hover {
  text-decoration: none;
  background-color:#1b8aba;
}
.sort:focus {
  outline:none;
}
.sort:after {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid transparent;
  content:"";
  position: relative;
  top:-10px;
  right:-5px;
}
.sort.asc:after {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  content:"";
  position: relative;
  top:13px;
  right:-5px;
}
.sort.desc:after {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #fff;
  content:"";
  position: relative;
  top:-10px;
  right:-5px;
}

.span8 pull-left {
	margin-left: 0;
}

.bigtext {
	width: 30em;
}

.well {
  min-height: 20px;
  margin-bottom: 0px;
  margin-top: 10px;
}

.nav-list {
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom: 0;
}

.nav-list > span > li > a, .sidebar-nav > .nav-list > li > span > a {
	padding: 3px 10px;
	margin-right: -10px;
	margin-left: -10px;
	display: block;
}

.nav > span > li > a:hover,
.nav > span > li > a:focus {
  text-decoration: none;
  background-color: #eeeeee;
}

.nav > li > span > a:hover,
.nav > li > span > a:focus {
  text-decoration: none;
  background-color: #eeeeee;
}

.nav-list li.latestcomment {
	padding-top: 3px;
	padding-bottom: 8px;
}

.nav-header {
	display: block;
	padding: 3px 15px;
	margin-left: -15px;
	margin-right: -15px;
	font-size: 11px;
	font-weight: bold;
	line-height: 20px;
	color: #999999;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
}

.list-header {
	display: block;
	padding: 3px 15px;
	margin-left: 0px;
	margin-right: 0px;
	font-size: 11px;
	font-weight: bold;
	line-height: 20px;
	color: #999999;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
}

.regionbox {
  background-color: #dddddd;
  margin-left: -8px;
  margin-right: -8px;  
  padding-left: -0%;
  padding-right: 0%;  
  border: 0px solid black;
}

.regionheader {
  margin-left: -8px;
  margin-right: -8px;  
  padding-left: -0%;
  padding-right: 0%;
  border: 0px solid black;    
}

.carousel-caption {
	/* top: 40px;
	bottom: unset; */
}

.carousel-caption .shadowbox {
	padding: 3px;
	background-color: #888;
	opacity: 0.6;
	border-radius: 4px;
}

.carousel-caption h1 {
	margin-bottom: 0;
}

.carousel-caption p {
	font-size: 1.5em;
}

.carousel-caption a {
	color: #FFF;
}

.carousel-inner {
	max-height: 430px;
}

.fancybox-caption a {
	text-decoration: none;
}

@media (max-width: 979px) {
	.carousel-caption {
		/* top: 0;
		bottom: unset; */
		margin-top: -3em;
	}
	.carousel-caption h1 {
		font-size: 1.5em;
	}
	.carousel-caption p {
		font-size: 1.1em;
	}
	.carousel-inner {
		max-height: 350px;
	}
}

@media (max-width: 767px) {
	.carousel-inner {
		max-height: 250px;
	}
}

@media (max-width: 480px) {
	.carousel-inner {
		max-height: 150px;
	}
}

.carousel-inner>.item img, .carousel-inner>.item>a img {
	 width: 100%; 
	  overflow: hidden;
	/* height: 500px; */
}

.list-group-item.problem {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.list-group-item.problem span {
	flex: 0 1 auto;
}
.list-group-item.problem span.name {
	flex: 1 1 auto;
}

.areapic {
  width: 100%;
  max-width: 100%;
}

.thumbnail {
	margin-bottom: 0;
}

.thumbnails {
	list-style: none;
	margin: 0;
	padding: 0px;
}

.thumbnails .row {
	margin-left: 3px;
	margin-right: 3px;
}

.thumbnails [class*='col-md'] {
	margin-left: 0px;
	margin-right: 0px;
	padding: 0;
	padding-left: 2px;
	padding-right: 2px;
}

.thumbnails [class*='col-md']:first-child {
	margin-left: 0px;
	padding-left: 2px;
	padding-right: 2px;
}

.thumbnails [class*='col-md']:last-child {
	margin-right: 0px;
	padding-left: 2px;
	padding-right: 2px;
}

.clear-right {
	clear: right;
}

.staricon, .halfstaricon, .emptystaricon, .chevronrighticon, .chevrondownicon {
  display: inline-table;
  white-space: normal;
  width: 1em;
  height: 1em;
  margin-top: 1px;
  *margin-right: .3em;
  line-height: 1em;
  vertical-align: text-top;
  background-position: 0px 0px;
  background-repeat: no-repeat;
  background-size: contain;
}

.chevronrighticon, .chevrondownicon {
  display: inline-table;
  white-space: normal;
  width: 1.5em;
  height: 1.5em;
  
  margin-top: 1px;
  *margin-right: .3em;
  line-height: 1em;
  vertical-align: text-top;
  background-position: 0px 0px;
  background-repeat: no-repeat;
  background-size: contain;
}

h4 > i.chevronrighticon, h4 > i.chevrondownicon {
  width: 1em;
  height: 1em;
}

.chevronrighticon:hover, .chevrondownicon:hover {
	background-color: #e3e3e3;
}

.staricon {
  background-image: url("../gboicons/star.png");
}

.chevronrighticon {
  background-image: url("../gboicons/chevron-right.png");
}

.chevrondownicon {
  background-image: url("../gboicons/chevron-down.png");
}

h1 > .staricon, h1 > .emptystaricon, h1 > .halfstaricon, h2 .staricon, h2 > .emptystaricon, h2 > .halfstaricon  {
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
}

.halfstaricon {
  background-image: url("../gboicons/half-star.png");
}

.emptystaricon {
  background-image: url("../gboicons/empty-star.png");
}

#gradedistribution {
	width: 100%;
}

#ratingdistribution {
	width: 100%;
}

.slidelabel {
	width: 100%;
	position: relative;
	border: 0px solid black;
}

.slidelabel .leftlabel {
	border: 0px solid black;
	float: left;
}

.slidelabel .rightlabel {
	border: 0px solid black;
	float: right;
}

.noUi-horizontal .noUi-handle {
	text-align: center;
}

.noUi-handle:before,
.noUi-handle:after {
	/* Remove handle stripes so that text can be seen*/
	display: none;
}

.taginput {
	margin-right: 5px;
	font-style: normal;
	padding-left: 5px;
	padding-bottom: 10px;
	padding-right: 5px;
	padding-top: 19px;
	width: 80%;
	min-width: 15em;
	max-width: 35em;
	font-size: 1.714286rem;  /* 24px / 14px = 1.714286 */
	font-weight: normal;
}

.gbobutton {
	-webkit-box-shadow: rgba(0,0,0,0.2) 0 1px 0 0;
	-moz-box-shadow: rgba(0,0,0,0.2) 0 1px 0 0;
	box-shadow: rgba(0,0,0,0.2) 0 1px 0 1px;
	color: #333;
	background-color: #e4e4e4;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border: none;
	font-family: 'Helvetica Neue',Arial,sans-serif;
	font-size: 0.9rem;
	font-weight: 0;
	height: 1.9rem;
	padding: 0.4rem 0.4rem;
	margin-top: 2.5rem;
}
  
.logo {
	float: left;
	position: relative;
	z-index: 999;
	/*width:auto;*/
	/*padding-left: 0;*/
}

.usermenu {
	float: right;
	margin-bottom: 20px;
}

.logo a {
	z-index: 999;
}

.logopic {
	/* width: 100%; */
	/* max-width: 170px; */
	max-height: 92px;
	z-index: 999;
}

.breadcrumb {
	
}

.inline, .nav>li>a {
	display: inline-block;
}

.inline > .thumbnail {
	margin-left: 1.5em;
}

.inline > .thumbnail:firstchild {
	margin-left: 0em;
}

.mapsheet {
	position: relative;
	background: #ff0000;
	opacity: .0;
	width: 100%;
	z-index: 2;
}

.staticmap {
	position: relative;
	margin-top: 0px;	
	z-index: 1;
}

.username {
	color: orange;
}

.btn-area {
	background-color: #38a9dc;
	background-image: linear-gradient(to bottom, #38a9dc, #3869dc);
}

.btn-area:hover,
.btn-area:focus,
.btn-area:active,
.btn-area.active,
.btn-area.disabled,
.btn-area[disabled] {
  color: #ffffff;
  background-color: #3869dc;
  *background-color: #3869dc;
}

.btn-area:active,
.btn-area.active {
  background-color: #2869cc \9;
}

.btn-sector {
	background-color: #0066a2;
	background-image: linear-gradient(to bottom, #0066a2, #0026a2);
}

.btn-sector:hover,
.btn-sector:focus,
.btn-sector:active,
.btn-sector.active,
.btn-sector.disabled,
.btn-sector[disabled] {
  color: #ffffff;
  background-color: #0026a2;
  *background-color: #0026a2;
}

.btn-sector:active,
.btn-sector.active {
  background-color: #0026a2 \9;
}

.btn-problem {
	background-color: #d152b8;
	background-image: linear-gradient(to bottom, #d152b8, #c102b8);
}

.btn-problem:hover,
.btn-problem:focus,
.btn-problem:active,
.btn-problem.active,
.btn-problem.disabled,
.btn-problem[disabled] {
  color: #ffffff;
  background-color: #c102b8;
  *background-color: #c102b8;
}

.btn-problem:active,
.btn-problem.active {
  background-color: #b112b8 \9;
}

.custom-text-area-button {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #3276b1;
  background-color: #428bca;  
  border-color: #357ebd;
  border-color: #ccc;
}

.custom-text-area-button-disabled,
.custom-text-area-button-disabled:hover,
.custom-text-area-button-disabled {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #428bca;
  background-color: #7eaed6;  
  border-color: #357ebd;
  border-color: #ccc;
}

.highlight {
	background: #7199ff;
}

.listhover {
	background: #eeeeee;
}

.filterform {
	margin-top: 0px;
	margin-bottom: 0;
}

#filterinput {
	min-width: 10em;
	max-width: 30em;
	/*font-size: 1.714286rem;*/
	font-weight: bold;
	/*padding: 19px 5px 10px;*/
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

/* For items in filterinput autocomplete search.. */
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
	border: 0px solid #aaaaaa;
	background: #ffffff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;
	font-weight: normal;
	color: #2181d1;
}

.glyphicon-remove, .glyphicon-ok {
  cursor: pointer;
  vertical-align: 6px;
}

.staticmap {
	max-width: 100%;
	padding-top: 10px;
}

.description {
  font-size: 1.2rem;
  line-height: 1.5em;
  padding: 0 0 0.7rem 0;
}

.object-list {
	padding-left: 0;
	padding-top: 0.4rem;
	padding-bottom: 0.4rem;
}

.object-list h4 {
	margin-top: 14px;
	padding-left: 0px;
}

.object-list li {
	padding: 0.3rem;
	padding-left: 0px;
}

.object-list li * {
	word-break: break-word;
}

.object-list li a{
	font-size: 1.0rem;
	/*padding: 0.3em 0 0.2em 0;*/
	/*margin: 0.2em 0 0.2em 0;*/
	margin: 0;
	margin-left: -0.3em;
	padding: 0 0.3em;
	overflow: hidden;
}

.object-list li p {
	font-size: 1rem;
	margin: 3px 0 3px 0;
}

.object-list li.comment {
	padding: 0.5rem;
	padding-left: 0;
}

.comment h5 {
	margin: 5px 0;
	line-height: 16px;
}

a:hover,
a:focus {
  color: #000000;
  text-decoration: none;
}

.alphabet {
	width: 80%;
}

.alphabetlink{
	padding: 5px; 
	margin-left: -5px;
	line-height: 32px;
	color: #888888;
}

.block {
	display: block;
}

.inlinetable {
	display: inline-table;
}

.alphabetlist {
	padding-left: 0px;
}

.alphabetlist li {
	line-height: 2.5rem;
}

.alphabetlist li p {
	padding-top: 8px;
	margin: 0px;
}

.alphabetlist li a {
	padding: 0px 10px 0px 10px;
	margin: 0 10px;
	margin-left: -10px;
}

.alphabetlist li a:hover, .alphabetlink:hover {
	text-decoration: none;
	background-color: #eeeeee;
}

.alphabetlist .lead {
	color: #999999;
}

hr.alphabetrule {
	margin: 8px;
	margin-left: 0px;
}

.moviethumb {
	max-width: 100%;
}

.thumbnail > img {
	max-width: 100%;
}

.thumbcaption {
	word-wrap: break-word;
}

.mainpic, .gallerypic {
  width: 100%;
  max-height: 300px;
  margin: 0 auto;
  text-align: center;
}

.pic-list li {
	text-align: center;
}

.pic-list li:first-child {
	text-align: left;
}

.piccontainer { 
	width: 80px; 
	/*height: 80px; */
	overflow: hidden; 
	text-overflow: ellipsis;
	padding: 6px; 
	display: inline-block; 
	vertical-align: bottom;	
}

.piccontainer img { 
	width: 100%; 
	height: 100%;
}

#mainpic img {
  width:80%;
  max-height: 500px;
  margin: 0 auto;
}

.description img {
	max-width:100%;
}

.description a {
	text-decoration: underline;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	margin: 10px;
	height: 0;
	overflow: hidden;
}

.video-container-instagram {
	position: relative;
	padding-bottom: 86.25%;
	margin: 10px;
	height: 0;
	overflow: hidden;
}

.video-container-instagram-more-vids {
	position: relative;
	padding-bottom: 60.25%;
	margin: 10px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
}

.video-container-instagram iframe,  
.video-container-instagram object,  
.video-container-instagram embed {
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 90%;
}

iframe {
	vertical-align: middle;
}



.topocanvas {
	max-width: 300px;
	border: 1px solid black;
}

.largetopocanvas {
	max-width: 100%;
}

.floatright {
	float: right;
}

.floatleft {
	float: left;
}

.usermenu, .socialbuttons {
	float: right;
}

.socialbuttons {	
	margin-top: 18px;
}

.hidden {
	display: none;
}

.bigmap {
	width: 100%;
	height: 300px;
	margin-top: 5px;
	border-radius: 4px 4px 4px 4px;
	border: 1px solid #E3E3E3;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
    
}

.nomap {
	text-align: center;
	vertical-align: middle;
	margin-top: -20px;
}

.avatar {
	float: left;
	padding-top: 5px;
	padding-right: 5px;
}

.input-group-addon .avatar {
	padding: 0;
	margin: 0;
	margin-top: -4px;
}

.center {
	float: none;
	margin-left: auto;
	margin-right: auto;
}

/* Styles for topos */

circle, text, tspan {
	cursor: default;
}

/* End style for topos */

/* MEDIA QUERIES FROM BOOTSTRAP-RESPONSIVE.CSS 

@media (min-width: 1200px) {
	
@media (min-width: 980px) {
	
@media (max-width: 979px) {

*/

/* Styles for multipicture upload dropzone table */

    /* Mimic table appearance */
    div.table {
		display: table;
	  }
	  div.table .file-row {
		display: table-row;
	  }
	  div.table .file-row > div {
		display: table-cell;
		vertical-align: top;
		border-top: 1px solid #ddd;
		padding: 8px;
	  }
	  div.table .file-row:nth-child(odd) {
		background: #f9f9f9;
	  }
  
  
  
	  /* The total progress gets shown by event listeners */
	  #total-progress {
		opacity: 0;
		transition: opacity 0.3s linear;
	  }
  
	  /* Hide the progress bar when finished */
	  #previews .file-row.dz-success .progress {
		opacity: 0;
		transition: opacity 0.3s linear;
	  }
  
	  /* Hide the delete button initially */
	  #previews .file-row .delete {
		display: none;
	  }
  
	  /* Hide the start and cancel buttons and show the delete button */
  
	  #previews .file-row.dz-success .start,
	  #previews .file-row.dz-success .cancel {
		display: none;
	  }
	  #previews .file-row.dz-success .delete {
		display: block;

/* END Styles for multipicture upload dropzone table */

@media screen and (min-width: 768px) and (max-width: 979px) {
	body {
		padding-top: 3px;
	}
	
	.video-container-instagram {
	  padding-bottom: 66.25%;
  }
  
  .video-container-instagram-more-vids {
	  padding-bottom: 50.25%;
  }
}

/*
@media (min-width: 768px) and (max-width: 979px) {

*/
	
@media screen and (max-width: 767px) {
	
	html, body {
		font-size: 15px;
	}
	
	body { 
		padding-right: 0px;
		padding-left: 0px;
	}
	
	.logo, .usermenu {
		float: none;
		text-align: center;
		width: 100%;
		margin: 0 auto;
	}
	
	.logo {
		padding-bottom: 10px;
	}
	
	.usermenu > ul > li  {
		float: none;
		width: 90%;
		margin: 0 auto;
		text-align: center;
	}
	
	.usermenu ul > li > ul > li{
		float: none;
		text-align: left;
	}
	
	.socialbuttons {	
		margin-top: 0px;
	}
	
	.filterform {
		float: none;
		margin: 0 auto;
		text-align: center;
	}
	
	.filterinput {
		width: 5em;
		min-width: 5em;
		max-width: 5em;
		padding: 19px 5px 10px;
	}
	
	.filterform .btn {
		width: auto;
	}
	
	.alphabet {
		display: none;
	}
	
	h3.area {
		display: inline;
	}
	
	.addlink {
		float: right;
		margin-top: 10px;
	}
	
	p.lead {
		float: right;
	}
	
	.video-container-instagram {
	  padding-bottom: 70.25%;
  }
}
	
/*
@media (max-width: 480px) {
*/
	
@media print {
	@page {
		margin: 0.5cm;
		margin-top: 2cm;
		margin-bottom: 2cm;
	}
	
	.logopic {
		width: 20%;
	}
	
	form, .logopic, .usermenu, .socialbuttons, .btn, #arealist2, .sidebar-nav, .allareas, .sectorsinarea { 
		display: none;
		visibility: hidden;
	}
	
	.headerrow {
		display: none;
	}
	
	.span12, .object-list {
		column-count: 2;
		-moz-column-count: 2;
		-webkit-column-count: 2;
	}
	
	a:link:after, a:visited:after { 
		content:""; 
	}
}