/*
Theme Name:   INSA
Theme URI:    www.insaonline.org
Description:  Child theme for the Diplomat
Author:       Hassan Elhassan & Kailee Quinn (Confluence Corporation)
Author URI:   http://www.confluencecorp.com
Template:     diplomat
Version:      1.0.0
Tags:         light, dark, gray, red, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, theme-options, threaded-comments, translation-ready, photoblogging
Text Domain:  diplomat-child
*/

br[data-mce-bogus="1"] {
  display:none;
}

#wrapper {
  overflow: hidden !important;
}

#wrapper.active {
  overflow: visible !important;
}

#wrapper.ls-overflow-visible {
  overflow: visible !important;
}

#wrapper.translate {
          transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

/*HEADER STYLES*/

.header.type-1 .header-top {
  background-color: #F5F5F5;
}

.header.type-1 .header-middle .header-middle-entry .logo {
  max-width: 420px;
}

.header.type-1 .header-top {
  display: none !important;
}

@media (max-width: 860px) {
  .header.type-1 .header-middle .header-middle-entry .logo {
    max-width: 280px;
  }
}

@media (max-width: 400px) {
  .header.type-1 .header-middle .header-middle-entry .logo {
    max-width: 200px;
  }
}

.header .donate {
  font-size: 14px;
  background-color: #CA1042;
  padding: 0.875rem 1.5rem;
}

.header .donate:hover {
  padding: 1.2rem 1.5rem;
}

.header .account ul {
  display: none !important;
}

@media only screen and (max-width: 1000px) {
  .header.shrink-bottom-line .header-bottom .navigation > div > ul > li > a,
  .header-bottom nav.navigation > .menu > ul > li > a,
  .header-bottom nav.navigation > .menu-primary-menu-container > ul > li > a {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }

  .header.shrink-bottom-line .header-bottom .navigation .donate {
    display: none;
  }
}

.item-overlay:hover img {
  -webkit-transform: rotateZ(0) scale(1.1);
          transform: rotateZ(0) scale(1.1);
}

.header-bottom nav.navigation > .menu > ul > li, .header-bottom nav.navigation > .menu-primary-menu-container > ul > li {
  float: left;
}

#navigation .sub-menu li br {
  display: none;
}

/* FOOTER STYLES */

#footer .widget.widget_social .social-icons li a:before {
  background-color: #004887;
  color: #D7D7D7;
}

#footer .footer-bottom,
#wrapper:after {
  display: none;
}

#footer .textwidget,
#footer .textwidget p {
  color: #F6F6F6;
}

#footer .textwidget a {
  color: #D7D7D7;
}

#footer .widget.widget_social .social-icons li a:before {
  background-color: transparent;
}

/*SLIDER STYLES*/

a.slider-button {
  color: #FFFFFF;
  padding: 10px 15px;
  border: 2px solid #CA1042;
  margin-top: 25px;
  font-size: 16px;
  font-weight: bold;
}

a.slider-button:hover {
  color: #FFFFFF;
  background-color: #CA1042;
}

.slider-excerpt-mobile {
  font-size: 17px;
  line-height: 150%;
  margin-top: 10px;
  margin-bottom: 30px;
  display: block;
  font-weight: 300;
}



/*HEADER STYLES*/

.header.type-1 .header-top {
  background-color: #F5F5F5;
}

.header.type-1 .header-middle .header-middle-entry .logo {
  max-width: 420px;
}

.header .donate {
  font-size: 14px;
  background-color: #CA1042;
}

@media only screen and (max-width: 48em) {
  .header .donate {
    bottom: -40px;
    padding: 0.5rem !important;
    font-size: 12px;
    min-width: 100px;
  }
}

/*WIDGET STYLES*/

.widget .widget-title,
button {
  font-family: Montserrat;
}


/*PAGE STYLES*/
.page-title h1 {
  font-family: Montserrat, sans-serif;
  color: #004887;
}

.post .entry-footer .cat-links a,
.post .entry-header .cat-links a,
.widget.widget_latest_tweets li .tweet a {
  color: #CA1042 !important;
}

.post .entry-footer .cat-links a:hover,
.post .entry-header .cat-links a:hover,
.widget.widget_latest_tweets li .tweet a:hover {
  color: #A50F38 !important;
}

.team-layout .row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.wp-caption .wp-caption-text {
  visibility: visible;
  color: #969696;
  margin-top: 5px;
}

.post-list .category-white-papers .cat-links,
.post-list .category-white-papers .comments-link,
.post-list .category-white-papers .post-like,
.post-list .category-white-papers .byline {
  display: none;
}

.post-list .category-white-papers .entry-footer .right {
  float: left !important;
}

/*Removing image effects*/
.item-overlay:after {
  display: none;
}
.item-overlay img {
  -webkit-transform: none;
          transform: none;
  -webkit-transition: none;
          transition: none;
  opacity: 1;
}
.item-overlay:hover img {
  -webkit-transform: scale(1);
          transform: scale(1);
  opacity: 1;
}

.single .event {
  margin-bottom: 1.5em;
}

.single-event .single-nav {
  display: none;
}

/*Calendar widget*/

.widget_events_calendar .fc-event-inner {
  background: #11547B;
  border-radius: 50px;
  width: 20px;
  height: 20px;
  color: #FFFFFF;
  margin: -5px auto 0 auto;
}

.widget_events_calendar .fc-event-title {
  text-align: center !important;
  line-height: 1.9;
}
