/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

/*===================================*/

.news-grid .uabb-post-heading{
  margin-top: 0;
  /*min-height: 50px;*/
  margin-bottom: 10px;
  position: relative;
}

.news-grid .uabb-post-heading:before{
  background-color: #F7A81B;
  height: 2px;
  width: 150px;
  left: 0;
  bottom: -4px;
  content: "";
  position: absolute;
}

.news-grid .uabb-blog-posts-description{
  padding-top: 15px;
  overflow: hidden;
}

.news-grid .uabb-blog-posts-description p{
  height: 118px;
  overflow-y: hidden;
}
.news-grid .uabb-read-more-text{
  margin-bottom: 0 !important;
}
.news-grid .uabb-read-more-text a{
  font-family: 'montserrat';
  font-size: 16px;
  font-weight: 600;
  color: #fff !important;
  background-color: #215FB5;
  display: inline-block;
  padding: 8px 25px;
  text-transform: uppercase;
  -webkit-border-radius: 50px;
  border-radius: 50px;
}

.news-grid .uabb-read-more-text a:hover,
.news-grid .uabb-read-more-text a:focus{
  font-family: 'montserrat';
  font-size: 16px;
  font-weight: 600;
  color: #F7A81B !important;
  background-color: #215FB5;
}




.news-grid .uabb-blog-posts-shadow{
  -webkit-box-shadow: 0 4px 1px rgba(197, 197, 197, 0);
  -moz-box-shadow: 0 4px 1px rgba(197, 197, 197, 0);
  -o-box-shadow: 0 4px 1px rgba(197, 197, 197, 0);
  box-shadow: 0 4px 1px rgba(197, 197, 197, 0);
}

.news-grid .uabb-blog-posts-shadow:hover,
.news-grid .uabb-blog-posts-shadow:focus{
  -webkit-box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2);
  -o-box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2);
  box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2);
}


.news-grid .uabb-post-thumbnail{
  margin-bottom: 0;
}
.news-grid .uabb-post-thumbnail a{
  position: relative;
  padding-top: 85%;
  overflow: hidden;
  margin-bottom: 0;
  width: 100%;
  display: block;
  background-color: #c3c3c3;
}

.news-grid .uabb-post-thumbnail a img{
  left: 50%;
  top: 50%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  position: absolute;
  width: 100%;
  height: auto;
}

.news-grid .slider-for{
  max-height: 400px;
  position: relative;
  margin-bottom: 10px;
  background-color: #b9b9b9;
  overflow: hidden;
}

.news-grid .slider-for .slick-slide{
  min-height: 400px;
}

.news-grid .slider-for img{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  height: auto;
  width: auto;
  max-height: 100%;
  max-width: 100%;
}

.slick-slide{

}

.news-grid .slider-nav .slick-slide{
  padding-left: 3px;
  padding-right: 3px;
}

.news-grid .slider-nav{
margin-left: -3px;
margin-right: -3px;
}


/* Document Grid */
.esg-entry-content.eg-resources-new-content.esg-notalone {
  min-height: 165px!important
}
.esg-entry-content.eg-resources-new-content.esg-notalone .download-link {
  background-color: #F7A81B;
  border: 1px solid #fff;
  border-radius: 40px;
  display: inline-block;
  color: #173e7f !important;
  font-weight: 600;
  padding: 5px;
  width: 100px;
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  margin: 0 auto;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  font-size: 14px!important;
  line-height: 1.4!important
}
.esg-entry-content.eg-resources-new-content.esg-notalone .download-link:hover,
.esg-entry-content.eg-resources-new-content.esg-notalone .download-link:focus {
  background-color: #1a3d7b !important;
  border: 1px solid #fff;
  font-size: 14px!important;
  color: #dddddd !important;
}
.eg-resources-new-element-26-a {
  height: 38px;
  width: 40%;
  bottom: 0;
  left: 0;
  position: absolute!important
}
.eg-resources-new-element-26-a .eg-resources-new-element-26 {
  background-color: #F7A81B;
  border: 1px solid #fff;
  border-radius: 40px;
  display: inline-block;
  color: #173e7f !important;
  font-weight: 600;
  padding: 5px;
  width: 100px;
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  margin: 0 auto;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  font-size: 14px!important
}
.eg-resources-new-element-26-a .eg-resources-new-element-26:hover,
.eg-resources-new-element-26-a .eg-resources-new-element-26:focus {
  background-color: #1a3d7b !important;
  border: 1px solid #fff;
  border-radius: 40px;
  font-size: 14px!important;
  color: #dddddd !important;
}
.esg-entry-content.eg-resources-new-content.esg-notalone .eg-resources-new-element-6-a:hover a.download-link,
.eg-resources-new-element-6-a:hover a.download-link,
.eg-resources-new-element-6-a:focus a.download-link{
  background-color: #1a3d7b !important;
  border: 1px solid #fff;
  font-size: 14px!important;
  color: #dddddd !important;
}


.eg-resources-new-element-6-a {
  height: 38px;
  width: 50%;
  bottom: 0;
  left: 50%;
  position: absolute!important;
}
.eg-resources-new-element-6 {
  width: 50%;
  position: absolute!important;
  bottom: 0;
  height: 40px;
  background-color: transparent!important;
  left: 50%
}
