/*
=====================================================================
=========================2022 Adjustments============================
=====================================================================
*/

/* Add 20px padding left and right */
.basicsidepadding {
  padding-left: 20px;
  padding-right: 20px;
}
/* drop down menu fixes */
.menuLeftMargin2 {
  padding-left: 10px;
}
.menuLeftMargin3 {
  padding-left: 20px;
}
#menu-item-937 .sub-menu.toggled-on{
  min-width: 280px;
}
.main-navigation .main-nav ul li a {
    line-height: 42px;
}
.menu-toggle {
    line-height: 42px;
}

/* this underlines the links */
.redLink a {
  color:#D13239;
  text-decoration: underline;
}

/* hover action */
.redLink a:hover {
  color:#e63038;
  text-decoration: none;  
}

/* new events calendar responsive fixes */
.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper {
    flex: none;
    margin-bottom: 0;
    width: calc(var(--tec-grid-width-1-of-8)*3);
}

.tribe-events .tribe-events-calendar-list__event {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.tribe-events .tribe-events-calendar-list__event-details {
    flex: none;
    width: calc(var(--tec-grid-width-1-of-8)*5);
}

@media screen and (max-width: 768px) {
  .tribe-events .tribe-events-calendar-list__event-featured-image-wrapper {
    width: 100%;
  }
  .tribe-events .tribe-events-calendar-list__event-details {
    flex: none;
    width: 100%;
  }
}

/* events calendar Subscribe to Calendar button style adjustments */
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button {
    background-color: #FFFFFF;
    color: #C10E21;
    border: 1px solid #C10E21;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #C10E21;
    color: #FFFFFF;
    border: 1px solid #C10E21;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #C10E21;
    color: #FFFFFF;
    border: 1px solid #C10E21;
}

.tribe-common a, .tribe-common a:active, .tribe-common a:focus, .tribe-common a:hover, .tribe-common a:visited {
    color: #C10E21;
}

#tribe-events-content a, .tribe-events-event-meta a {
    color: #C10E21;
}

/* hides copyright stuff */
.copyright-bar {
    display: none;
}

/* mobile navigation fixes */
/* changes the color of the toggle menu */
.main-navigation .menu-toggle {
    color: #ffffff;
    width: 100%;
}
button.menu-toggle:hover, button.menu-toggle:focus {
    color:  #ffffff;
}

/* inserts the TargetBP logo */
.main-navigation .menu-toggle {
    background-image: url("https://targetbp.org/wp-content/uploads/2016/10/m-logo.png");
    background-repeat: no-repeat;
    background-position: left center;
    margin-left: 20px;
}

@media screen and (max-width: 320px) {
    .main-navigation .menu-toggle {
      background-size: 160px;
    }
}
/* right alings the mobile toggle menu to the right */
.main-navigation .menu-toggle {
    text-align: right;
}

/* 
.admin-bar.separate-containers .breadcrumbs{
  position: absolute;
  top: 214px;
  padding-left: 0px;
}

.separate-containers .breadcrumbs{
  position: absolute;
  top: 182px;
  padding-left: 0px;
}

.admin-bar.full-width-content .breadcrumbs {
  margin-top: -5px;
  padding-left: 20px;
  position: relative;
  top: unset;
}

.full-width-content .breadcrumbs {
  margin-top: -5px;  
  padding-left: 20px;
  position: relative;
  top: unset;
}
@media only screen and (max-width: 768px) {
  .admin-bar.separate-containers .breadcrumbs{
    top: 230px;
    z-index: -1;   
  } 
  .separate-containers .breadcrumbs{
    top: 182px;
    z-index: -1;
  }
  .admin-bar.full-width-content .breadcrumbs {
    top: unset;
    position: relative;  
  }
  .full-width-content .breadcrumbs {
    top: unset;
    position: relative;  
  }
}

@media only screen and (max-width: 320px) {
  .admin-bar.separate-containers .breadcrumbs{
    top: 248px;
    z-index: -1;
  }  
  .separate-containers .breadcrumbs{
    top: 200px;
    z-index: -1;
  }
  .admin-bar.full-width-content .breadcrumbs {
    top: unset;
    position: relative;  
  }
  .full-width-content .breadcrumbs {
    top: unset;
    position: relative;  
  }  
}
*/
  
@media only screen and (min-width: 769px) {
    #menu-main-menu > li:first-child > a {
        padding-left: 20px;
    }
}

.separate-containers .comments-area, .separate-containers .inside-article, .separate-containers .page-header, .separate-containers .paging-navigation {
    padding-left: 20px;
    padding-right: 20px;    
}

#main{
  margin-top: 0px;
}
.inside-article{
  padding-top: 0px !important;
}

/* =========================Resource single page styles============================ */
.single-tools_downloads .targetbp-back-to-tools a {
    margin-top: 20px !important;
    color: #d13239 !important;
}

.single-tools_downloads table#customers {
  width: auto !important;
}

.single-tools_downloads table#customers, td, th {
    border: 0px solid rgba(0,0,0,.1);
}

.single-tools_downloads .resource-container {
  padding-left: 5px;
  padding-right: 5px;
}

.single-tools_downloads .breadcrumbs {
  padding-left: 5px;
  padding-right: 5px;  
}

body.single-tools_downloads {
  font-family: 'Roboto', sans-serif;  
}

body.single-tools_downloads, body.page-template-tools-and-downloads-new {
  font-size: 16px !important;  
}

.single-tools_downloads .main-nav a:hover, .page-template-tools-and-downloads-new .main-nav a:hover {
  text-decoration:none;
}

#downloadpdf, #previewpdf {
    border-radius: 0;
    width: 100%;
    background: #d13239;
    color: #fff;
    border: 1px solid #d13239 !important;
    font-weight: 400;
    margin-top: 5px;
    padding: 10px 16px;
    font-size: 17px;
    line-height: 1.3333333;
    text-align: center;
    margin-bottom: 30px;
}

#previewpdf {
    background: green;
    border: 1px solid green !important;
}
/* ========================= END Resource single page styles============================ */


/* Breadcrumbs removed the underline and adds it on hover only */
.breadcrumbs a {
  text-decoration:none;  
}

.breadcrumbs a:hover {
  text-decoration:underline;  
}
/*hiding posters name from search results.*/
.byline{
  display: none;
}

/* use on event images only, this media querie re-orders the column order on mobile */
@media only screen and (max-width:768px) {
  .myEventImg {
    flex-direction: column-reverse;
  }
}

/* on event pages only, adds margin bttom to sidebar links */
.ultp-block-entry-heading {
  margin-bottom: 10px !important;
}

/* this class correct the text color on an advanced button */
#tribe-events-content .correctbtncolor a{
    color: #ffffff !important;
}

/* Other langugues list footnote below the Search button */
.resource-footnote {
  font-size: 13px;
  float: right;
  color: #aaa; 
}

.targetbp-wrapper .resource-footnote {
    padding: 20px 15px 0 15px;
}

/*#Recognition_Resources,
#Data_Platform,
#Evidence-based_Resources,
#C_and_I_Policy_Resources {
  display: none;
}*/

/* the sidebar styles seem to not be respected, the code below forces those styles to stick */
/* adds maring top and bottom around the block item */
.ultp-block-item {
  margin-top: 30px;  
  margin-bottom: 20px;  
}

/* adds margin button to the wrap as well as a dashed border */
.ultp-block-content-wrap {
  margin-bottom: 30px !important;
  border-bottom: 1px dashed #9b9b9b;
}

/* forces the title styles*/
.ultp-block-title {
  font-size: 16px !important;
  line-height: 20px !important;
  letter-spacing: 0px !important;
  font-weight: 400;
}

/* forces some style adjutments to the meta data */
.ultp-block-meta {
  margin-top: 10px;
  font-size: 13px;
}
