/**
 * Theme Name: draghici-5
 * Template: blocksy
 * Text Domain: blocksy
 */

/* About me */

.about-me-picture {
	-webkit-box-shadow: 0px 50px 50px -30px #00000070;
	-moz-box-shadow: 0px 50px 50px -30px #00000070;
	box-shadow: 0px 50px 50px -30px #00000070;

	margin-bottom: 50px !important;
}
.about-me-picture img {
  	-moz-border-radius: 3px !important;
  	-webkit-border-radius: 3px !important;
  	border-radius: 3px !important;
}

/* Article image shadow */
main#main article.post figure div.ct-image-container {
	padding: 0 20px 75px 20px;
}
main#main article.post figure img.wp-post-image {
-webkit-box-shadow: 0px 50px 50px -30px #00000070;
-moz-box-shadow: 0px 50px 50px -30px #00000070;
box-shadow: 0px 50px 50px -30px #00000070;
}

/* Background for articles on the front page */
.home .content-area {
  padding-top: 20px !important;
}

.home .site-main {
  position: relative;
}

.home .site-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 190px;
  background: #fff;

  -webkit-box-shadow: 0px 25px 25px -30px #00000070;
  -moz-box-shadow: 0px 25px 25px -30px #00000070;
  box-shadow: 0px 25px 25px -30px #00000070;
}

/* Justify text on homepage and footer */
.ct-footer .textwidget.entry-content,
.home .entry-content>p,
.home .uagb-post__excerpt {
  text-align: justify;
}

/* Justify text in contents */
article.page p,
article.post p {
  text-align: justify;
}

.force-center {
	text-align: center !important;
}

/* Equal height for articles on the homepage */
@media only screen and (min-width: 768px) {
.home-articles article.uagb-post__inner-wrap {
  display: flex !important;
  flex-direction: column;
  height: 100%; /* Adjust as needed */
}

/* Apply to all items except the last one */
.home-articles article.uagb-post__inner-wrap div:not(:last-child) {
  flex-grow: 0;
}

/* Specifically target the second-to-last item */
.home-articles article.uagb-post__inner-wrap div:nth-last-child(2) {
  flex-grow: 1;
}

/* Alter the social icons in the footer */
.site-footer .social-icons li {
  margin: 0 !important;
  padding: 0 !important;
}


/* Contact form  */
.captcha-image {
  border: none !important;
  text-align: left !important;
  padding: 0 !important;
}

.cf7ic_instructions {
  margin-bottom: .5em;
}

.kc_captcha label {
  display: inline-block !important;
}

.captcha-image label>input+svg,
.captcha-image label>input+svg {
  border: 2px solid #c1c1c1 !important;
}

.captcha-image label>input:checked+svg,
.captcha-image label>input:focus+svg {
  border: 2px solid #f00 !important;
}

.wpcf7-response-output {
  margin: 2em 0 !important;
}


/* Alter the tags appearance with some css */
#tagcloud,
.tagcloud {
  text-align: left !important;
}

#tagcloud.no-margin,
.tagcloud.no-margin {
  padding: 0px !important;
  margin: 0px auto 0px auto !important;
}

#tagcloud li,
.tagcloud li {
  list-style: none !important;
  list-style-type: none !important;

  display: inline-block;
  padding: 0px !important;
  margin: 0px !important;
}

.entry-tags a,
#tagcloud a,
.tagcloud a {
  white-space: nowrap !important;
  background: #2d2d38 !important;
  color: #fff !important;
  text-decoration: none !important;

  padding: 6px 12px 6px 12px !important;
  margin: 2px 6px 2px 0px !important;

  display: inline-block !important;

  -moz-border-radius: 3px !important;
  -webkit-border-radius: 3px !important;
  border-radius: 3px !important;

  font-size: 18px !important;
  line-height: 24px !important;
  height: auto !important;
}


/* Blocksy specific */
.entry-tags a,
#tagcloud a,
.tagcloud a {
  border: none !important;
  box-shadow: none !important;
}

.entry-tags a:hover,
#tagcloud a:hover,
.tagcloud a:hover {
  border: none !important;
}

.entry-tags a::after {
  display: none !important;
}

/* Justify home tag cloud */
.home .tagcloud {
	justify-content: space-around !important;
}

/* Home cornerstone projects */
.home-cornerstone-projects {
  margin-top: -110px !important;
  z-index: 2;
}
.view-all-articles {
  margin-top: 60px;
}

/* Recently updated as tags */
.display-posts-listing {
  text-align: left !important;
}

.display-posts-listing li {
  list-style: none !important;
  list-style-type: none !important;

  display: block;
  padding: 0px !important;
  margin: 0px !important;

  font-size: 18px !important;
  line-height: 24px !important;
  height: auto !important;

  clear: both;
}

.display-posts-listing a {
  white-space: nowrap !important;
  background: #2d2d38 !important;
  color: #fff !important;
  text-decoration: none !important;

  padding: 6px 12px 6px 12px !important;
  margin: 2px 6px 2px 0px !important;

  display: inline-block !important;

  -moz-border-radius: 3px !important;
  -webkit-border-radius: 3px !important;
  border-radius: 3px !important;

}

.display-posts-listing a {
  border: none !important;
  box-shadow: none !important;
}

.display-posts-listing a:hover {
  border: none !important;
}

.display-posts-listing a::after {
  display: none !important;
}
