/*
http://wrapbootstrap.com/preview/WB0JR603C
*/

@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro|Aptos|Aptos');
@import url('https://fonts.googleapis.com/css?family=Inconsolata');

body {
  font-family: 'Aptos', sans-serif;
}

body, .buttonClass {
  font-family: 'Aptos', sans-serif;
}

.footer {
          position: fixed;
          bottom: 0;
          width: 100%;
          background-color: #f9f9f9;
          text-align: center;
          padding: 10px;
        }
        
        /* SIDE BAR */

.skin-black .left-side, .skin-black .main-sidebar, .skin-black .wrapper {
    background-color: #BFDFDF !important;
}

.skin-black .sidebar-menu > li.active > a, .skin-black .sidebar-menu > li:hover > a {
    color: white !important;
    background: #002E2E !important;
    border-left-color: white  !important;
}
        
/*
EIDS branding
*/

.logo h1::before,
.logo h1::after {
  display: block;
  width: 0px;
  height: 0px;
  margin: 0 auto 0px;
  background: #002E2E;
}

.logo h1 {
  line-height: 1.5;
  margin: 0 auto 0px;
  color: #002E2E;
}

/*
Branding for individual boxes 
*/

/*Date Range Box*/
#daterange_home .box {
  background-color: #288080 !important;
  border: 1px solid #288080 !important;
  color: white !important;
  box-shadow: none !important; /* Optional: remove any drop shadow */
}


/* Welcome Home */
#welcome_home .box,
#welcome_home .box-body,
#welcome_home .box-header {
  background-color: #7FBFBF !important;
  color: black !important;
  border: 1px solid #7FBFBF !important;
  border-radius: 0 !important;
}

#welcome_home .box {
  box-shadow: none !important;
  margin-bottom: 20px !important;
}

#welcome_home .box-header {
  padding-top: 0 !important;
  padding-bottom: 5px !important;
  border-bottom: none !important;
}

#welcome_home .box h1 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 20px !important;
  font-weight: bold !important;
  text-align: center;
  font-style: normal !important;
  text-transform: none !important;
  color: black !important;
}

#welcome_home .box h1::before {
  display: none !important;
  content: none !important;
}

#welcome_home .box-body {
  padding: 0 5px !important;
  margin: 0 !important;
  border-top: none !important;
  font-size: 16px;
  line-height: 1.4;
  text-align: justify;
}

/*Boxes that are info, primary and success */
/*General:  Borders*/

/* Apply shared border styling to both primary and info solid boxes */

/* Shared border for solid boxes */
.box.box-solid.box-primary,
.box.box-solid.box-info,
.box.box-solid.box-success {
  border: 1px solid #ECF0F5 !important;
  border-top-color: #ECF0F5 !important;
}

.box.box-solid.box-primary > .box-header {
  background-color: #288080;
}

.box.box-solid.box-info > .box-header {
background-color: #7FBFBF;
}

.box.box-solid.box-success > .box-header {
background-color: #BFDFDF;
}


.box.box-solid.box-success > .box-header .btn,
.box.box-solid.box-success > .box-header a,
.box.box-solid.box-primary > .box-header .btn,
.box.box-solid.box-primary > .box-header a,
.box.box-solid.box-info > .box-header .btn,
.box.box-solid.box-info > .box-header a {
  color: #002E2E !important;
}

/* Text as Headers in Various boxes - For numbers as well*/
#infoboxtitle {
  font-size: 30px;       /* Adjust size as needed */
  color: black;        /* Any color you want */
  font-weight: bold !important;     /* Optional, since you're using <strong> */
  margin-bottom: 0px;   /* Add space below */
  text-align: center;    /* Or left/right as needed */
}

#infoboxtitlemedium {
  font-size: 24px !important;       /* Adjust size as needed */
  color: black !important;        /* Any color you want */
  font-weight: bold !important;     /* Optional, since you're using <strong> */
  margin-bottom: 0px !important;   /* Add space below */
  text-align: center !important;    /* Or left/right as needed */
}

#infoboxtitle_primary {
  font-size: 30px;       /* Adjust size as needed */
  color: white;        /* Any color you want */
  font-weight: bold !important;     /* Optional, since you're using <strong> */
  margin-bottom: 0px;   /* Add space below */
  text-align: center;    /* Or left/right as needed */
}

#infoboxtitle_primary::before,
#infoboxtitle_primary::after {
  content: " ";
  display: block;
  width: 100px;
  height: 2px;
  margin: 5px auto 5px;
  background: white;
}

#infoboxtitlenumber {
  font-size: 54px;       /* Adjust size as needed */
  color: black;        /* Any color you want */
  font-weight: bold !important;     /* Optional, since you're using <strong> */
  margin-bottom: 0px;   /* Add space below */
  text-align: center;    /* Or left/right as needed */
}


#infoboxsubtitle {
  font-size: 40px;
  font-weight: bold;/* Adjust size as needed */
  color: black;        /* Any color you want */
  margin-bottom: 0px;   /* Add space below */
  text-align: center;    /* Or left/right as needed */
}

/*
#info_modal_btn {
  background-color: #7FBFBF !important;
  color: red !important;
  border-color: #7FBFBF !important; 
}*/

/*
#info_modal_btn h4 {
  color: red !important;
  margin: 0;         
  font-size: 16px;  
}*/

/* Specific UI : Clinical plot Radio Buttton */
#clin_plot_mode label.control-label {
  color: black !important;
}

#clin_plot_mode label.radio-inline {
  color: black !important;
}



/*  Settings for Box outputs based on their background = ... */
.bg-teal {
    background-color: #D9E8E8!important;
    border: 1px solid #D9E8E8 !important;
}

#genagereported .small-box > .inner,
#genagemedian .small-box > .inner,
#genagerange .small-box > .inner {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: left;
}

#gensampletype1 .small-box > .inner,
#gensampletype2 .small-box > .inner{
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: left;
}

#strangles-info a {
  color: #002E2E !important; /* default link color (adjust as needed) */
  text-decoration: none;
  transition: color 0.3s ease;
}

#strangles-info a:hover {
  color: #ffffff !important; /* or another visible color like #0099cc or #ffcc00 */
  text-decoration: underline;
}




/*  Settings for Box outputs based on their color = ... */
.small-box.bg-aqua {
  background-color: #288080 !important;
  border: 1px solid #288080 !important;
}

.small-box.bg-aqua h4 {
  color: #FFFFFF !important;
  font-weight: normal !important;
}


.small-box.bg-orange {
  background-color: #7FBFBF !important;
  border: 1px solid #7FBFBF !important;
}

.small-box.bg-orange h1 {
  color: black !important;
  font-weight: normal !important;
}

.small-box.bg-orange h4 {
  color: black !important;
  font-weight: normal !important;
  font-size: 24px;
}


.small-box.bg-yellow {
  background-color: transparent !important;
  border: none !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

.small-box.bg-yellow h1 {
  color: black !important;
  font-weight: normal !important;
}

.small-box.bg-yellow h4 {
  color: black !important;
  font-weight: normal !important;
  font-size: 24px;
}

.small-box.bg-navy {
  background-color: #D9E8E8 !important;
  border: 1px solid #D9E8E8 !important;
}

.small-box.bg-navy h4 {
  color: black !important;
  font-weight: normal !important;
  font-size: 24px;
}

/* General H1 Styling */
h1:after, h1:before {
    content: " ";
    display: block;
    width: 100px;
    height: 2px;
    margin: 5px auto 5px;
    background: #288080;
}

h1.title:after, h1.title:before {
    content: " ";
    display: block;
    width: 100%;
    height: 2px;
    margin: 20px auto 20px;
    background: #FFF7DF;
}

h1 {
  text-transform: uppercase;
	text-align: center;
	letter-spacing: .1em;
	line-height: 1.2;
  color: black;
	font-family:'Aptos', sans-serif;
	margin: 0px 0;
}

h1.title{
	color: #19345B;
}

h2{
	color: #FFFFFF;
	font-family:'Aptos', sans-serif;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: .1em;
	line-height: 1.2;
}

h3 {
  color: #FFFFFF;
	font-family:'Aptos', sans-serif;
	font-style: italic;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: .1em;
	line-height: 1.2;
}

h4, h5, h6 {
	color: #19345B;
	font-family:'Aptos', sans-serif;
}

p {
	color: black;
}

a {
  color: #002E2E !important;
  text-decoration: none; /* optional: remove underline */
}

a:hover {
  color: #7FBFBF !important;
  text-decoration: underline; /* optional: add underline on hover */
}

/* Styling for all boxes with id logositems */
#logositems {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Styling for all box headers */
.box-header {
text-align: center;
}

code {
	font-family: 'Source Code Pro', monospace;
	font-size: 14px;
}


.carousel h1:after, .carousel h1:before {
    content: " ";
    display: none;
    width: 0;
    height: 2px;
    margin: 0;
}

.hood-info h1 {
	margin: inherit;
}

.chart {
	max-width: 70%;
	margin: 0 auto;
}

.kpi-name {
	font-size: 16px;
}

.kpi {
	font-size: 40px;
	line-height: 42px;
}

.pos {
	color: #65b146;
}

.neg {
	color: #c52828;
}



code {
	display: inline-block;
	margin: 3px 3px 0 0;
}

.table {
	width: inherit;
}

th, td {
	padding: 5px 10px !important;
}

thead {
	background-color: #656565;
	color: #fff;
}

tbody tr:nth-child(odd) {
  background: #eee;
}

.app-links img {
  max-width: 150px;
}

.featurette-image {
  max-width: 386.66px;
}

.search {
	display: block;
	width: 50%;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

.search > .shiny-input-container {
	display: inline;
}

.search > .shiny-input-container input{
	padding: 24px 14px;
	font-size: 21px;
}

.search.addrSearch input {
	padding: 6px;
	font-size: 14px !important;
}

div.addrSearch.search {
	width: 100%;
}

/* shinyapps.io override */

div#ss-connect-dialog {
	position: absolute;
	width: 300px;
	height: 200px;
	z-index: 15;
	top: 50%;
	left: 50%;
	margin: -100px 0 0 -150px;
	text-align: center;
	padding: 75px 0;
	z-index: 999999;
	font-size: 1em;
}

div#ss-connect-dialog a,
div#ss-connect-dialog a:visited {
	color: #03BCC0 !important;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* shinyapps.io override end */

#top-link-block {
	/*position: fixed;*/
	bottom: 20px;
	right: 10px;
	opacity: .5;
}

#top-link-block:hover {
	opacity: 1;
}

/* Legend */

.legend-custom {
	height: 50px;
	background: rgba(256,256,256,.8);
	text-align: center;
	padding: 10px;
}

.legend-group {
	display: inline;
	margin-right: 15px;
}

.legend-element-label {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 100%;
}

.legend-element-label[color='yelp'] {
	background: #03BCC0;
}

.legend-element-label[color='schools'] {
	background: #FF5850;
}

.legend-element-label[color='location'] {
	background: #C10250;
}

.legend-element-name {
	display: inline;
	line-height: 14px;
	margin: 0 auto;
	margin-left: 5px;
	position: relative;
	top: -4px;
}

/* Legend end */

@media screen and (max-width: 400px) {

	.kpi {
		margin-bottom: -15px;
		font-size: 52px;
		line-height: 1.2em;
	}

	.kpi-name:after {
		content: " ";
    display: block;
    width: 60%;
    height: 1px;
    margin: 20px auto 10px;
    background: #4fbfa8;
	}

	.kpi-group div:last-child div:last-child .kpi-name:after {
		width: 0;
	}

	.chart {
		max-width: 95%;
		margin: 0 auto;
	}

	.panel-body p {
		text-align: justify;
	}
}

/* ****** BEGIN ******* */
/* Property card styles */

.property-card-container a {
  font-size: 16px;
  overflow: hidden;
  display: inline-block;
  margin-bottom: 8px;
  width: calc(50% - 4px);
  margin-right: 8px;
}

.property-card-container p a {
	font-size: inherit;
	display: inline;
	margin: inherit;
	width: inherit;
}

.property-card-container a:nth-of-type(2n) {
  margin-right: 0;
}


.property-card-container a:hover {
  text-decoration: none;
}

.property-card-container figure {
  margin: 0;
}

.property-card-container img {
  border: none;
  max-width: 100%;
  height: auto;
  display: block;
  background: #ccc;
}

.property-info {
    padding: 2px 16px 16px;
		margin-top: -100px;
		width: 100%;
		background: white;
		opacity: .8;
		animation: opacity-on 1s;
}

.property-card-container a:hover .property-info {
	-webkit-animation: opacity-off 1s;
	animation: opacity-off 1s;
	animation-fill-mode: forwards;
}

.property-price {
	display: inline;
}

.property-details {
	display: inline;
	align: right;
}

@media screen and (max-width: 800px){
  .property-card-container a {
      width: calc(50% - 6px);
  }
}

@media screen and (max-width: 400px){
  .property-card-container a {
      width: 100%;
  }
}

@media screen and (min-width: 50em) {
  .property-card-container a {
    width: calc(33% - 6px);
  }

  .property-card-container a:nth-of-type(2n) {
    margin-right: 8px;
  }

  .property-card-container a:nth-of-type(3n) {
    margin-right: 0;
  }
}

@media screen and (max-width: 800px) {
  .property-card-container a {
    width: calc(50% - 10px);
  }

  .property-card-container a:nth-of-type(2n) {
    margin-right: 8px;
  }

  .property-card-container a:nth-of-type(3n) {
    margin-right: 0;
  }
}

@media screen and (max-width: 400px) {
  .property-card-container a {
    width: 100%;
  }

  .property-card-container a {
    margin-right: 0;
		margin-bottom: 20px;
  }
}


@media screen and (max-width: 990px) {  
  .property-info {
	  margin-top: 0;
  }
}

@media screen and (min-width: 600px) {
	.property-card-container a img {
		/*filter: grayscale(100%);*/
		/*animation: color-to-gs 1s;*/
	}

	.property-card-container img {
		transition: transform .8s ease-in-out;
		/*filter: grayscale(100%);*/
	}

	.property-card-container a:hover img {
	  transform: scale(1.15);
		/*-webkit-animation: gs-to-color 1s;*/
		/*animation: gs-to-color 1s;*/
		/*animation-fill-mode: forwards;*/
	}

	.property-card-container a:hover div.property-info {
		transform: scale(1);
	}

	/* Code for old Chrome, Safari and Opera */
	@-webkit-keyframes gs-to-color {
	    from {filter: grayscale(100%);}
	    to   {filter: grayscale(0%);}
	}

	@-webkit-keyframes color-to-gs {
	    from {filter: grayscale(0%);}
	    to   {filter: grayscale(100%);}
	}

	/* Standard syntax */
	@keyframes gs-to-color {
		from {filter: grayscale(100%);}
		to   {filter: grayscale(0%);}
	}

	@keyframes color-to-gs {
		from {filter: grayscale(0%);}
		to   {filter: grayscale(100%);}
	}
}

/* Code for old Chrome, Safari and Opera */
@-webkit-keyframes opacity-off {
    from {filter: opacity(100%);}
    to   {filter: opacity(0%);}
}

@-webkit-keyframes opacity-on {
    from {filter: opacity(0%);}
    to   {filter: opacity(100%);}
}

@keyframes opacity-off {
    from {filter: opacity(100%);}
    to   {filter: opacity(0%);}
}

@keyframes opacity-on {
    from {filter: opacity(0%);}
    to   {filter: opacity(100%);}
}

/* Property card styles */
/* ******* END ******** */


@media print{
	.btn {
		display: none;
	}
}
