/* MAIN COLORS */
/* 
		Main Color: #233d97
		Accent Colors: #b96c16 
		Background Color: Gradient
	
	*/

.body {
}

.wrapper-panel {
  width: 100%;
}

.home-panel {
  background-color: #337ab7;
  float: left;
  color: white;
  min-height: 250px;
  border-radius: 3px;
  display: flex;
  box-shadow: 0px 5px 20px #747373;
  padding: 15px;
}

.home-panel-left {
  width: 150px;
  width: 150px;
  /* padding: 25px; */
  padding-top: 25px;
  padding-left: 10px;
}
.home-panel-right {
  flex: 1;
}

.home-panel:hover {
  background-color: #337ab7;
  color: #dddddd;
  border-style: solid;
  border-color: black;
  cursor: pointer;
}

.home-panel p {
  font-size: 16px;
  padding: 0 17px 0 17px;
}

.refMap {
  text-align: center;
  margin-top: 30px;
}

.containerPanel {
  background-color: inherit;
}

.page-header {
  border-bottom: 1px solid #000000;
}

.popover {
  max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

.carousel-inner > .item > img {
  margin: 0 auto;
}

#img-header {
  width: 100%;
}

.content-div {
  clear: left;
  overflow: hidden;
  max-height: 576px;

  box-shadow: 0px 5px 20px #e7dede;
}

.main-wrapper {
  padding: 0px 0px 0px 5%;
}

.wrapper {
  text-align: left;
  position: absolute;
  top: 100px;
  z-index: 10;
  width: 420px;
  padding-left: 50px;
  padding-right: 15px;
}

img.refs {
  width: 100%;
  height: 250px;
}

.home-btn {
  margin-top: 15px;
  background-color: #337ab7;
  border: none;
  border-radius: 3px;
  color: white;
  padding: 15px 32px;
  text-align: left;

  display: inline-block;
  font-size: 16px;
  width: 100%;
}

.home-btn:hover {
  text-decoration: none;
}

.post-content {
  color: #dddddd;
  height: 300px;
  border-radius: 0px 5px 5px 0px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
}

/*.row{margin-left:10%;margin-right:10%;}*/

@media screen and (min-width: 1500px) {
  h1 {
    font-size: 1em;
    color: #337ab7;
  }
}

@media screen and (max-width: 1500px) and (min-width: 1250px) {
  .home-panel-left {
    display: none;
  }
  h1 {
    font-size: 1em;
    color: #337ab7;
  }
}

@media screen and (max-width: 1250px) and (min-width: 510px) {
  .card {
    width: 96% !important;
    margin: 15px 2% 15px 2% !important;
  }
}

@media screen and (max-width: 770px) {
  .post-content {
    display: none;
  }
  .overlayer {
    width: 500px;
  }
}

@media screen and (max-width: 510px) {
  .main-wrapper {
    padding: 0px;
  }
  .wrapper-panel {
    padding: 0 0 0 0;
  }
  .img-header {
    min-height: 250px;
  }
  /*.content-div{height:75px;}*/
  .home-btn {
    font-size: 14px;
    margin: 0;
  }
  .card {
    width: 96% !important;
    margin: 15px 2% 15px 2% !important;
  }
  .thumbnail {
    display: none;
  }
  .right {
    margin-left: 20px !important;
    margin-right: 20px;
  }

  h1 {
    font-size: 1.4em !important;
  }

  .overlayer {
    width: 300px;
  }
}

/*---------------------------------------------------------------------*/
/*							IMG Bottom STYLES*/
/*---------------------------------------------------------------------*/

.home-btm-banner {
  clear: left;
  overflow: hidden;
  margin-top: 35px;
}

.card {
  position: relative;
  height: 275px;
  width: 44%;
  margin: 15px 60px 15px 0px;
  float: left;
  background-color: #fff;
  -webkit-box-shadow: 10px 10px 95px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 95px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 10px 10px 95px 0px rgba(0, 0, 0, 0.75);
}

.thumbnail {
  float: left;
  /*background-color: #337ab7;*/
  position: relative;
  left: -30px;
  top: 25px;
  z-index: 10;
  height: 200px;
  width: 150px;
  -webkit-box-shadow: 10px 10px 65px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 65px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 10px 10px 65px 0px rgba(0, 0, 0, 0.75);
}

img.left {
  height: 110px;
  margin: 40px auto 15px auto;
  width: auto;
}

.right {
  margin-left: 150px;
  margin-right: 20px;
}

h1 {
  padding-top: 15px;
  font-size: 1.7em;
  color: #337ab7;
}

.separator {
  margin-top: 10px;
  border: 1px solid #c3c3c3;
  margin-bottom: 20px;
}

p {
  text-align: justify;
  padding-top: 10px;
  font-size: 1em;
  line-height: 150%;
  color: #4b4b4b;
}

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
  z-index: 100; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}

#text {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 28px;
  color: white;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

#closeBtn {
  position: absolute;
  top: 20%;
  right: 5%;
  font-size: 28px;
  color: white;
}
