/*
 Theme Name: UpScale Child Theme
 Theme URI: https://themeforest.net/user/mnky/portfolio
 Description: Child theme of UpScale WordPress theme.
 Author: MNKY
 Author URI: https://themeforest.net/user/mnky
 Template:     upscale
 Version:      1.0.0
 License: Envato Marketplaces Split Licence
 License URI: Envato Marketplace Item License Certificate
 Tags: theme-options, translation-ready, rtl-language-support, post-formats, microformats, full-width-template, custom-colors, left-sidebar, right-sidebar, fluid-layout
 Text Domain:  upscale-child
*/

h1, h2, h3, h4, h5, h6 {
  margin: 30px 0 10px;
}

strong, b {
  font-weight: 500;
}

p {
  margin-bottom: 1.25em;
}

li {
  margin-bottom: 6px;
}

.more-link {
  color: #90c229;
  font-size: 16px;
  margin-left: 6px;
}

#site-logo {
  margin-top: 15px;
  max-width: 270px;
}

#mobile-site-logo img {
  height: 60px;
}

.header-style-centred .site-links {
  float: right;
}

.header-style-centred #header-container {
  text-align: left;
}

.header-sticky .hidden-sticky {
  display: none;
}

.header-search-active .site-social,
.header-search-active .top-nav {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#site-header #header-wrapper.header-sticky {
  height: 60px;
}

.widget .link-hover {
  color: #666677;
  font-weight: 500;
}

.widget .link-hover:hover {
  color: #90c229;
}

.wp-block-media-text {
  align-items: normal;
}

.wp-block-media-text .wp-block-media-text__content {
  padding: 0 30px;
}

.wp-block-gallery {
  margin-left: 0;
}

.single-post .entry-content .title {
  font-size: 20px;
  font-weight: 500;
  margin: 30px 0;
  padding-bottom: 20px;
  display: inline-block;
  position: relative;
}

.single-post .entry-content .title:before {
  content: '';
  width: 70px;
  height: 2px;
  background-color: #90c229;
  display: block;
  position: absolute;
  bottom: 0;
}

.page-sidebar .widget_archive a {
  text-transform: capitalize;
}

#site-navigation ul .lang-item a {
  padding-left: 25px;
}

#site-navigation ul .lang-item a:before {
  content: "";
  width: 2px;
  height: 24px;
  background-color: #ECECEC;
  display: inline-block;
  position: absolute;
  left: 0;
  top: calc(50% - 13px);
}

.site-social {
  position: relative;
  float: right;
  line-height: 1;
  margin-top: 35px;
  transition: opacity 0.7s ease-in;
}

.site-social a {
  color: #727272;
  font-size: 18px;
}

.site-social a i {
  height: 32px;
  width: 32px;
  background: #E9ECEF;
  border-radius: 50%;
  line-height: 32px;
  text-align: center;
  margin-right: 10px;
}

.site-social a:last-child i {
  margin-right: 0;
}

.mnky-solutions .mp-title,
.mnky-solutions .mp-container .mp-excerpt p {
  text-align: center;
}

.mnky-solutions .mp-container .mp-inner-container {
  box-shadow: 0px 17px 35px rgba(74,74,115,0.1), 0px 5px 15px rgba(0,0,0,0.07);
  transition: transform 0.3s ease;
}

.mnky-solutions .mp-container .mp-inner-container:hover {
  -webkit-transform: translateY(-15px);
  transform: translateY(-15px);
}

.esg-entry-media {
  padding-bottom: calc(50% - 25px) !important;
  filter: grayscale(100%);
  transition: all 0.2s ease-in;
}

.esg-entry-media:hover {
  filter: grayscale(0%);
}

.esg-entry-media-wrapper {
  overflow-y: visible !important;
}

.esg-grid .project-meta {
  color: #474747;
  line-height: 1.4;
  display: block;
}

#content .ya-share2__badge {
  padding: 5px;
  border-radius: 50%;
}

#content .ya-share2__icon:active {
  box-shadow: none;
}
.archive-layout {
  margin-bottom: 40px;
}
.archive-layout .entry-meta-blog {
  width: 100%;
  float: left;
  margin-top: 0;
  margin-bottom: 12px;
}
.archive-layout .entry {
  float: left;
  margin-right: 12px;
  font-size: 14px;
  color: #474747;
}
.archive-layout .entry-branch span,
.archive-layout .entry-year span {
  float: left;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  background-color: #90c229;
  padding: 0 8px;
  line-height: 21px;
  border-radius: 2px;
  text-align: center;
  min-width: 70px;
}
.archive-layout .entry-year span {
  background: #d8d8d8;
  color: #696969;
  line-height: 29px;
}
.post-type-archive-publications .archive-layout .entry-partners span {
  border-radius: 2px;
  padding: 4px 8px;
  border: 1px solid #d8d8d8;
  margin-bottom: 12px;
  display: inline-block;
  line-height: 1.4;
}
.post-type-archive-publications .entry-title {
  font-size: 18px;
  margin: 0 0 10px;
}
.post-type-archive-publications .entry-meta-blog {
  margin-bottom: 0;
}
.archive-layout .entry-branch .completed {
  background-color: #3B5998;
}
.archive-layout .entry-title .completed:hover {
  color: #3B5998;
}
.archive-layout i {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  background-size: 16px;
  margin-bottom: -2px;
}
.archive-layout .entry-finances i {
  background-image: url('./images/bag-euro.png');
}
.archive-layout .entry-partners i {
  background-image: url('./images/user.png');
}
.single-projects .entry-meta-blog {
  padding-left: 24px;
  border-left: 5px solid #efefef;
}
.single-projects .entry-meta-blog .entry {
  font-weight: 500;
}
.single-projects .entry-meta-blog .entry span {
  font-weight: 400;
}

.branch-term {
  text-align: center;
}
.branch-term a {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}
.branch-term img {
  float: left;
}
.branch-term .title {
  padding: 2px 18px;
  background: #90c229;
  color: #fff;
  font-weight: 500;
  position: absolute;
  bottom: 0;
  margin-bottom: 0;
  min-width: 75px;
  text-align: center;
}

.history_box {
  box-shadow: 0px 17px 35px rgba(74, 74, 115, 0.1), 0px 1px 5px rgba(0, 0, 0, 0.07);
  border-radius: 2px;
  padding: 0;
  margin-bottom: 65px;
}
.history_year {
  margin: 30px 0;
}
.history_year span {
  font-size: 48px;
  line-height: 48px;
  font-weight: 600;
  color: #90C229;
  padding-left: 25px;
  border-left: 9px solid #E9ECEF;
}
.history_image {
  min-height: 180px;
  max-width: 320px;
  background-size: cover;
  background-position: center center;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}
.history_content {
  padding: 30px;
}
.history_content h3 {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 500;
}
.history_content p {
  margin: 0;
}

.page-template-page-no-paddings #main {
	padding: 0 30px;
}

.mnky_client_logo_wrapper {
  box-shadow: 0 1px 5px rgba(0,0,0,.07);
  border-radius: 2px;
  margin-bottom: 35px;
  background: #fff;
  border: 1px solid #e9ecef;
}
.client_image {
  padding: 8px 0;
}
.client_title {
  text-align: center;
  padding: 4px 16px;
  color: #717171;
  background: #e6e6e6;
  font-weight: 500;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.vc_tta-panels .vc_tta-panel-body {
  margin: 25px 0;
}

.single-jobs .wpcf7 {
  background: #f8f7f6;
  padding: 40px;
}

.history_content h3 a:hover {
  color: #90c229;
}

.history_content p a {
  color: #90c229;
}

.history_content p a:hover {
  color: inherit;
}

.history_content .manufacturer {
  display: inline-block;
  padding: 4px 8px;
  background: #e8e8e8;
  font-size: 12px;
  margin-top: 12px;
  line-height: 1;
}

.profile-page {
  margin-bottom: 35px;
}

.profile-img {
  max-width: 220px;
}

.profile-img img {
  max-width: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.profile-meta .person {
  margin-bottom: 15px;
}

.profile-meta h2 {
  display: inline-block;
  border-bottom: 1px solid #ddd;
  padding: 0 25px 4px 0;
  margin: 10px 0 5px 0;
}

.profile-meta .position {
  color: #999;
  font-size: 16px;
  display: inline-block;
  width: 100%;
}
.profile-meta .contacts i {
  width: 22px;
  height: 22px;
  text-align: center;
  line-height: 22px;
  margin-right: 4px;
  background: #f3f3f3;
  font-size: 12px;
  margin-bottom: 4px;
}
.profile-meta .social {
  font-size: 24px;
  color: #666677;
  margin-right: 8px;
}

.profile-meta .social:hover {
  color: #a0a0a0;
}

.mnky_person-info {
  margin-bottom: 25px;
}

.mnky_person-info .person-image img {
  width: 120px;
  height: 120px;
}

.mnky_person-info .person-title {
  margin-left: 140px;
}

.mnky_person-info .person-title p {
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.225rem;
}

.mnky_person-info h5 {
  font-size: 16px;
  margin-bottom: 0;
  font-weight: 500;
}

.mnky_person-info .person-title a:hover {
  color: #90c229;
}

.mnky_person-info .person-description {
  margin-top: 10px;
  display: inline-block;
}

.archive-layout .thumb {
  background-position: center;
  width: 120px;
  height: auto;
  background-repeat: no-repeat;
  float: left;
  margin-right: 15px;
  height: 75px;
  border: 2px solid #ddd;
  padding: 0 18px;
  background-origin: content-box;
  background-size: contain;
}

.archive-layout .mobile-thumb {
  display: none;
  margin-bottom: 15px;
  max-width: 220px;
}

.post-entry-header {
  float: left;
  width: 100%;
}

.flex-layout .entry-title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.flex-layout {
  display: flex;
}

.flex-layout .no-excerpt h2 {
  display: inline;
  margin-right: 6px;
}

.flex-layout .no-excerpt .more-link {
  margin: 0;
}

.flex-layout .thumb.no-border {
  border: none;
  padding: 0;
  background-size: cover;
}

.less-mb {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.small-mb {
  margin-bottom: 30px;
}

.small-mb .entry-summary {
  margin-bottom: 0;
}

.less-mb .no-excerpt {
  padding-top: 6px;
}
.widget .tag-cloud-link {
  padding: 4px 8px;
  background: #ececec;
  margin: 0 6px 6px 0;
  font-size: 12px !important;
  display: inline-block;
}

.widget .tag-cloud-link:hover {
  color: #fff;
  background: #90c229;
}

.page-header {
  padding: 25px 30px;
}

.single-publications .page-header h1 {
  font-size: 24px;
}

.assigned-posts {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.assigned-posts li {
  display: inline-block;
  width: 100%;
}

.assigned-posts li:not(:last-child) {
  margin-bottom: 25px;
}

.assigned-posts li .source {
  padding: 4px 8px;
  background: #ececec;
  font-size: 12px !important;
  display: inline-block;
  margin-left: 6px;
  line-height: 1;
}

.assigned-posts li img {
  width: 100px;
  float: left;
  border: 1px solid #ddd;
  margin-right: 15px;
  margin-bottom: 6px;
}

.assigned-posts.has-excerpt p:last-child {
  margin-bottom: 0;
}

.top-nav {
  transition: opacity 0.7s ease-in;
}

.top-nav .menu {
  float: right;
  margin-top: 40px;
}

.top-nav .menu li {
  display: inline-block;
  border: none;
  padding: 0 8px;
}

#sidebar .sf-box {
  overflow: visible;
}

.sf-field-submit input[type='submit'] {
  padding: 10px 20px;
}

.sf-field-search input,
.chosen-container-multi .chosen-choices,
.chosen-container .chosen-results li {
  padding: 10px 20px !important;
}

.chosen-container-multi .chosen-choices {
  border: 1px solid #e6e7e8;
  border-radius: 3px;
  transition: border-color 0.3s;
  background-image: none;
}

.chosen-container-multi .chosen-choices li.search-field input[type=text] {
  width: auto;
  padding: 0;
  margin: 0;
}

.chosen-container-multi .chosen-choices li.search-field,
.chosen-container-multi .chosen-choices li.search-field input[type=text] {
  line-height: 1;
}

.searchandfilter label,
.searchandfilter input[type="text"],
.searchandfilter .chosen-container {
  width: 100% !important;
}

.chosen-container-active .chosen-choices {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.chosen-container .chosen-drop {
  border-color: #e6e7e8;
}

.mnky_team_shortcode {
  float: left;
  width: 100%;
  margin-bottom: 35px;
}

.mnky_team_shortcode .item:nth-child(3n+1) {
  clear: left; 
}

.child-blocks .item:nth-child(4n+1) {
  clear: left; 
}

.child-item {
  box-shadow: 0px 17px 35px rgba(74,74,115,0.1), 0px 5px 15px rgba(0,0,0,0.07);
  margin-bottom: 30px;
}

.child-container {
  padding: 18px;
}

.child-img img {
  display: block; 
}

.child-container h2 {
  font-size: 18px;
  margin-bottom: 0;
  text-align: center;
}

.child-container h2 a:hover {
  color: #90c229;
}

@media screen and (min-width:1024px) {
  .history_box {
    display: table;
  }
  .history_image,
  .history_content {
    display: table-cell;
    float: none;
  }
}
@media screen and (min-width:992px) {
  .branch-term:nth-child(3n+1) {
    clear: left;
  }
}
@media screen and (max-width:991px) {
  .branch-term:nth-child(2n+1) {
    clear: left;
  }
}
@media screen and (max-width:768px) {
  .archive-layout .thumb {
    display: none;
  }
  .archive-layout .mobile-thumb {
    display: inline-block;
  }
  .child-blocks .item {
    width: 50%;
  }
  .flex-layout {
    flex-wrap: wrap;
  }
  .flex-layout .project-info {
    flex-basis: 100%;
  }
  .less-mb {
    margin-bottom: 40px;
    border-bottom: 0;
    padding: 0;
  }
  
}

@media screen and (max-width:640px) {
  .archive-layout .thumb {
    display: none;
  }
  .archive-layout .mobile-thumb {
    display: inline-block;
  }
  .child-blocks .item {
    width: 100%;
  }
  .child-blocks .child-img {
    display: none; 
  }
  
}

.code {font-family: "Courier"; background-color: lightgrey; }
