/*
Theme Name:   HuntHamlinRidley
Description:  HuntHamlinRidley WordPress Theme
Author:       Sylvia Ayivor
Author URL:   Write here the author's blog or website url
Template:     kickstart
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  HuntHamlinRidley
*/

/* Write here your own personal stylesheet */
/* START Grid Layout For Areas of Practice  */

.box-grid-container {
	height: auto;
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(3, 1fr);
	margin: 0 auto;
}

.boxlayout {
	display: grid;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 150px;
	position: relative;
	background-color: #1a275b;
	margin: 0px auto;
	cursor: pointer;
}

.box-title {
	margin-bottom: 0px;
	display: grid;
	justify-content: center;
	align-content: center;
	font-size: 1.1rem;
	position: absolute;
	color: white;
	bottom: 0;
	width: 100%;
	height: 150px;
	padding: 0px 0px 0px 0px;
	text-align: center;
}

.boxlayout::before,
.boxlayout::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transition: all 0.5s ease-out;
}

.boxlayout::before {
	transform: scale(0, 1);
}

.boxlayout::after {
	transform: scale(1, 0);
}

.boxlayout:hover::before {
	background-color: rgba(0, 0, 0, 0.4);
	transform: scale(1, 1);
}

.boxlayout:hover::after {
	transform: scale(1, 1.05);
}

.button-text-position {
	display: none;
	text-align: center;
        z-index: 1;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin-top: 106px;
}

.boxlayout:hover .button-text-position {
	display: block;
}

.box-button {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #F8CE0B;
	font-family: Arial;
	font-size: 17px;
	padding: 2px 6px;
	border: solid #F8CE0B 1px;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	text-align: center;
}

.box-button:hover {
	background: #FFFFFF;
	border: solid #F8CE0B 1px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #1a275b !important;
	text-decoration: none;
}

/* END Grid Layout */

@media only screen and (max-width: 600px) {
    .box-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    }
}

@media only screen and (max-width: 900px) {
    .box-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    }
}

/* Post grid in sidebar - remove button */
.pt-cv-content, .pt-cv-content * {
   display: none;
}

.pt-cv-thumbnail {
   height: 100px;
   width: auto;
}

/* Featured News / Latest News section START*/

.news-section-container {
  display: flex;
  width: 100%;
  min-height: 600px;
}

.full-width-section {
  max-width: 95vw;
  width: 95vw;
  margin: 0 calc(-40vw + 40%);
}

.featured-news-section {
  width: 50%;
  max-width: 950px;
  color: #ffffff;
  padding: 0px 40px;
  text-shadow: 2px 2px 8px #000000;
  line-height: 2.5rem;
}

.featured-featured-new {
    font-size: 20px;
    font-weight: bold;
}

.featured-news-title {
  font-size: 35px;
}

.featured-news-text { 
  font-size: 27px;
}

.featured-read-more a {
  font-size: 15px;
  text-decoration: none;
  color: #ffffff;
}

.latest-news-section {
  background-color: #ffffff;
  width: 50%;
  max-width: 950px;
  padding: 0px 40px 0px 80px;
}

.latest-news-section-latest {
  font-weight: bold;
  font-size: 20px;
  font-weight: bold;
}
.latest-news-section-post-title a {
  font-size: 22px;
  line-height: 110%;
  color: #000000;
  text-decoration: none;
}

.latest-news-section-post-title a:hover {
  color: #0067b2;
}

.latest-news-section-date {
  font-size: 12px;
}

.latest-news-section-text {
  font-size: 17px;
}

.view-all-posts {
   -webkit-border-radius: 0px;
   -moz-border-radius: 0px;
   border-radius: 0px;
   color: #FFFFFF;
	 font-family: Arial;
	 font-size: 17px;
   padding: 2px 6px;
   background-color: #1C2858;
   text-decoration: none;
   display: inline-block;
   cursor: pointer;
   text-align: center;
}

.view-all-posts:hover {
   background: #FFFFFF;
   color: #1C2858;
   border: solid #F8CE0B 1px;
   -webkit-border-radius: 0px;
   -moz-border-radius: 0px;
   border-radius: 0px;
   text-decoration: none;
}

/* Featured News / Latest News section END */

/* Featured News / Latest News Responsive styling START */

@media only screen and (max-width: 600px) {
    .news-section-container {
		display: block;
     width: 100% 
	}
	
	.featured-news-section {
		display: block;
		width: 100vw;
		margin-left: -20px;
		padding: 0 30px;
	}

	.featured-news-text { 
		font-size: 30px;
		padding-right: 40px;
	  }
	  
	.latest-news-section {
		display: block;
		width: 100%;
	}
}

/* Featured News / Latest News Responsive styling END */
