/*
 Theme Name:   ILS WP Bootstrap Child
 Description:  WP Bootstrap Child Theme
 Author:       Edward Pantoja
 Author URI:   eddiepantoja.com
 Template:     wp-bootstrap-starter
 Text Domain:  wp-bootstrap-starter-child
*/

/* Global */
body, html {
  height: 100%;
}

body {
  font-size: 10px;
}

*:hover{
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
} 

/* Heading */
header#masthead {
  padding: 0;
}

.top-menu-wrapper {
  background-color: #FB8C00;
}

#menu-top-menu {
  width: 100%;
}

#menu-top-menu li a {
  color: #fff !important;
}

#menu-top-menu li a:hover {
  color: rgb(236, 236, 236) !important;
  font-weight: 500 !important;
}

header#masthead {
  background-color: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0);
  position: relative;
  z-index: 99;
}

#masthead .navbar-nav > li.current_page_item > a {
  font-weight: 500 !important;
}

#menu-menu-1 li a {
  color: #333 !important;
}

#menu-menu-1 li a:hover {
  color: #989898 !important;
  font-weight: 500 !important;
}

#menu-menu-1 li {
  display: flex;
  align-items: center;
  justify-content: center;
}

#menu-menu-1 li a {
  font-size: 2em !important;
  padding: 1rem !important;
}

.menu-logo a {
  padding: .25rem !important;
}

.menu-logo img {
  max-height: 75px !important;
}
/* Head Slider */
.slider-wrapper {
  height: 450px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0);
}

.slide {
  height: 450px !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.slide .inner-wrapper {
  display: flex;
  justify-content: flex-end;
  height: 100%;
}

.slide .inner-wrapper .inner-content {
  width: 500px;
  align-self: stretch;
  color: #fbf1de;
  padding: 15px;
  background-color: rgba(0,0,0,.8);
}

@media (min-width: 768px) {
  .slide .inner-wrapper .inner-content {
    max-width: 50%;
  }
}

.slide .inner-wrapper .inner-content h1 {
  font-size: 5em;
}

.slide .inner-wrapper .inner-content .excerpt {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.slide .inner-wrapper .inner-content a.btn {
  font-size: 1.6em;
  background-color: #D37400;
  border-color: #D37400;
}

.slick-dotted.slick-slider {
  margin-bottom: 0px;
}

/* Body */
.main-body {
  background-color: #F1F1F1;
  padding: 1.5em;
  border: 1px solid #CCCCCC;
}

.content-wrapper {
  background-color: rgba(164, 183, 138, .3) !important;
  padding: 40px 0 60px;
}

#content.site-content {
  padding-bottom: 0rem;
  padding-top: 0rem;
}

.heading-wrapper {
  display: flex;
  flex-direction: row;
}

body.page header.entry-header,
body.archive header.entry-header,
body.single header.entry-header {
  width: 95%;
  padding: 15px;
  background-color: #FB8C00;
  color: #fff;
  position: relative !important;
}

@media (max-width: 767px){
  body.page header.entry-header,
  body.archive header.entry-header,
  body.single header.entry-header, 
  aside.widget-area .widget-title {
    width: 100% !important; 
  }
  .polygon-heading, .polygon-widget-heading {
    display: none;
  }
  body.page .entry-content, 
  body.single .entry-content {
    max-width: 100% !important;
  }
}

.polygon-heading {
  margin-left: -1px;
}

.polygon-heading svg {
  fill: #FB8C00;
  height: 100%;
}

h1.entry-title {
  font-size: 2.8em;
  border-bottom: 0px solid #eaecef !important;
  margin-bottom: 0 !important;
}

.entry-content,
.entry-footer {
  font-size: 1.6em;
}

.entry-content {
  width: 100%;
  background: #fff;
  padding: 30px;
  border: 1px solid #CCCCCC;
  font-size: 1.4em;
  color: #333;
}

body.page .entry-content,
body.single .entry-content,
body.archive .archive-wrapper {
  max-width: 93%;
}

.events-archive .entry-content,
.events-archive .entry-header,
body.archive .archive-wrapper {
  width: 100% !important;
}

body.home .entry-content {
  background: rgba(0,0,0,0);
  padding: 0;
  border: none;
}

/* Post */
.entry-meta {
  margin-bottom: 20px;
  font-size: 1.2em;
}

/* Archive */
.archive .entry-title {
  padding: 0;
  margin: 0;
  font-size: 2.8em;
}

/* Widget */
@media (min-width: 992px){
  aside.widget-area {
    max-width: 400px;
  }
}

aside.widget-area .widget-title-wrapper {
  display: flex;
  flex-direction: row;
}

aside.widget-area .polygon-widget-heading {
  margin-right: -1px;
}

aside.widget-area .polygon-widget-heading svg {
  fill: #292a31;
  height: 100%;
  width: 100%;
}

aside.widget-area .widget-title {
  font-size: 2em;
  width: 90%;
  min-height: 55px;
  padding: 15px;
  background-color: #292a31;
  color: #fff;
  position: relative !important;
  margin-bottom: 0;
}

aside.widget-area .widget-title:before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: -50px;
  border-style: solid;
  border-width: 0 55px 55px 0;
  border-color: #FB8C00 transparent transparent transparent;
}

aside.widget-area .widget .textwidget, 
aside.widget-area .widget .tribe-list-widget,
aside.widget-area .widget .dynamic-list  {
  background: #fff;
  padding: 15px;
  border: 1px solid #CCCCCC;
  font-size: 1.4em;
  color: #333;
}

aside.widget-area .widget a {
  color: #333;
}

aside.widget-area .widget ul  {
  list-style: none;
}

aside.widget-area .widget ul li:before {
  content: "\00bb";
  color: #FB8C00;
  font-weight: bold;
  display: inline-block; 
  width: 1em;
  margin-left: -1em;
}

aside.widget-area .widget > div:nth-child(2) {
  width: 90%;
  margin-left: auto;
  margin-top: 15px;
}


.event-link:hover {
  text-decoration: none;
}

.event-link:hover .title {
  text-decoration: underline;
}

.event-widget {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.event-widget > div {
  flex: 1;
}

.event-widget .date {
  border: 1px solid #FB8C00;
  border-radius: 50%;
  height: 80px;
  width: 80px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.event-widget .date .day {
  text-align: center;
  font-size: 1.5em;
  height: 30px;
  margin-top: 10px;
}

.event-widget .date .month {
  text-align: center;
  font-size: .7em;
  margin-top: 2px;
}

.event-widget .event {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  text-align: left;
}

.event-widget .event .day-time {
  font-size: .7em;
}

.event-widget .event .title {
  font-size: 1.1em;
  font-weight: 700;
}

.event-widget .event .location {
  font-size: .8em;
}

.event-widget .event .location i {
  color: #FB8C00;
}

/* Footer */
body:not(.theme-preset-active) footer#colophon {
  color: #fff;
  text-align: center;
  background-color: #292a31;
  font-size: 1.6em;
  border-top: 1px solid #CCCCCC;
}

/* Search */

body.search .entry-header, body.search .entry-summary {
  font-size: 1.6em;
}

/* Blocks */
.homepage-post-block {
  background-color: #fff;
  border: 1px solid #CCCCCC;
  padding: 15px;
}

.homepage-post-block .post-type {
  color: #006837;
  font-weight: bold;
  margin-bottom: 5px;
}

.homepage-post-block h2 {
  font-weight: bold;
}

.homepage-post-block .description {
  font-size: 1.3em;
}

.homepage-post-block .event-day {
  margin-bottom: 15px;
}

.homepage-post-block image {
  margin-bottom: 15px;
}

.homepage-post-block .btn {
  font-size: 1.5em;
  text-align: center;
  border: 1.5px solid #FB8C00;
  width: 100%;
  border-radius: 0;
  color: #333333;
}

.homepage-post-block .btn {
  font-size: 1.5em;
  text-align: center;
  border: 1.5px solid #FB8C00;
  width: 100%;
  margin-top: 15px;
  border-radius: 0;
  color: #333333;
}

.homepage-post-block .btn:hover {
  background-color: #FB8C00;
}

/* Card */
.library-list .card {
  background-color: #fffbf2;
  text-align: center;
}

.library-list .card-title {
  font-size: 1.3em;
  margin-bottom: 0;
}

.library-list .card-body {
  padding-bottom: 1rem;
}

.profile-card {
  margin-top:20px;
}
.profile-card .btn{
  border-radius:2px;
  text-transform:uppercase;
  font-size:12px;
  padding:7px 20px;
}
.profile-card .card-img-block {
  width: 91%;
  margin: 0 auto;
  position: relative;
  top: -20px;
}
.profile-card .card-img-block img {
  border-radius:5px;
  box-shadow:0 0 10px rgba(0,0,0,0.63);
  background-color: #fff;
}

.profile-card h2 a {
 color: #333;
}

.profile-card p {
  font-size: 1.6em;
  font-weight:300;
}
.profile-card .btn-primary{
  background-color: #D37400;
  border-color: #D37400;
}

.profile-card .entry-meta {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.profile-card .entry-meta a {
  color: #D37400
}

/* Front Page Cards */
.card-img-block a img {
  display: block;
  margin: 0 auto;
  max-height: 300px;
  min-height: 300px;
  width: auto;
}