@media only screen and (MAX-width: 960px) {
  html {
      padding-top: 90px!important;
  }
}

@media only screen and (MAX-width: 768px) {
  .mobile-side-padding {
    padding-right: 20px;
    padding-left: 20px;
  }

  .mobile-side-margin {
    margin-right: 20px;
    margin-left: 20px;
  }
}

.error404 .entry-title {
  color: #0d395e;
}

.aligncenter {
	text-align: center;
}

.content ul {
  margin-bottom: 30px;
}

.content ul li { 
  list-style-type: circle;
  margin: 0 0 12px 12px;
}

.no-margin {
  margin: 0 !important;
}

.no-padding {
  padding: 0 !important;
}


.entry-header {
  margin-left: calc(-100vw / 2 + 100% / 2);
  margin-right: calc(-100vw / 2 + 100% / 2);
  max-width: 100vw;
  text-align: center;
  background: #2c2c2d url('/wp-content/plugins/clc-pubfactory-cpt-outputs/images/generic-banner-tinted_fixed.jpg') top center no-repeat;
  background-size: cover;
  color: white;  
  font-weight: normal;
  margin-bottom: 0;
}


.entry-title {
  color: white;
  padding: 35px 0;
}



a.spf-orange-link {
  color: #EB2227;
}

h2 {
  position: relative;
}

/* Removed in QA on Line 149 - 20200218 -gs
@media only screen and (min-width: 768px) {
  h2, .h2 {
      font-size: 30px;
  }
}
*/


.clmt-split-content-text-content h2 a {
  text-decoration: none;
  position: relative;
  width: auto;
}

.clmt-split-content-text-content h2 a:after { 
  content: '';
  position: absolute;
  width: 25px; 
  height: 3px;
  display: block;
  margin-top: 3px;
  left: 0;
  background: #3078a1;
  transition: width .2s ease;
  -webkit-transition: width .2s ease;
}
 
.clmt-split-content-text-content h2 a:hover:after {
  width: 100%;
  left: 0;
  background: #b01a1d;
}

#gform_submit_button_1 {
    font-size: 16px;
    text-transform: none;
    font-weight: 600 !important;
    min-width: inherit !important;
    padding: 5px 20px !important; 
}

li#field_1_1 {
    padding-right: 8px;
}

@media only screen and (min-width: 768px) {

  .kgl-get-latest-news-stripe .clmt-simple-stripe-content {
      flex-direction: row;
      display: flex;
      align-items: center;
  }
/*
  h2::after {
    content: url(/wp-content/plugins/clc-pubfactory-cpt-outputs/images/sheridan-pubfactory_title-carat.png);
    top: -12px;
    position: relative;
  }
*/
}

.entry-footer .entry-meta { 
  display: none;
}

.clc-events-switch-view-link {
    text-align: right;
}

.clc-events-switch-view-link a {
  color: #b01a1d; 
  font-weight: bold;
  text-decoration: none;
  /*font-family: 'Noto Sans';*/ 
}










/* BUTTONS */

button, .button, .wp-block-button .wp-block-button__link {
  border: 1px solid #EB2227;
  background: white;
  color: #EB2227;
  border-radius: 5px; 
  font-weight: bold;
  padding: 5px 30px !important;
  min-height: 40px;
  min-width: 180px;
}


button:hover, .button:hover, .wp-block-button .wp-block-button__link:hover {
  background: #FCDEDF !important;
  border: 1px solid #FCDEDF;
  color: #EB2227 !important;
}



button.spf-secondary, .button.spf-secondary, .wp-block-button.spf-secondary .wp-block-button__link, #gform_submit_button_1, .gform_button {
  border: 1px solid #EB2227 !important;
  background: #EB2227 !important;
  color: white !important;
  border-radius: 5px !important;
  font-weight: bold !important;
  padding: 5px 30px !important;
  min-height: 40px !important;
  min-width: 180px !important;
}


button.spf-secondary:hover, .button.spf-secondary:hover, .wp-block-button.spf-secondary .wp-block-button__link:hover, #gform_submit_button_1:hover {
  background: #B01A1D !important;
  border: 1px solid #B01A1D !important;
  color: white !important;
}








/* HEADER  */

div#spf-header-menu-wrapper {
    padding-top: 15px;
}

div#spf-premenu-items {
  text-align: right;
}

div#spf-premenu-items a {
    margin-left: 15px;
    text-decoration: none;
    font-weight: 600;
    color: #EB2227;
    font-size: 14px;
}

.site-header .nav-primary {
  padding-top: 0;
  text-transform: uppercase;
}


.site-header .nav-primary a { 
  color: #333;
}

.site-header li#menu-item-407 {
  padding-right: 0 !important;
}
 
#wprmenu_bar {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

#wprmenu_bar span.wpr-logo-wrap img {
    height: 75px;
    top: -20px;
    left: -25px;
    position: relative;
}

.genesis-nav-menu .sub-menu a {
    border: none;
    border-right: 1px solid #eee;
}

.genesis-nav-menu .sub-menu {
  border: 1px solid #eee;
}

@media only screen and (min-width: 1100px) {
/*  .spf-stretch-to-1100, .spf-stretch-to-1100 .clmt-icon-list-flex-container {
    justify-content: space-between !important;
  }*/
  .spf-stretch-to-1100 {
    justify-content: space-between !important;
  }
}








/* HOME  */

.spf-hero-intro-1 {
  font-size: 58px;
  color: white;
  font-weight: bold;
    line-height: 1em; 
}


.spf-hero-intro-2 {
  color: #FCDEDF; 
  font-size: 25px;
  font-weight: 600;
  line-height: 1em;
} 

.kgl-home-hero-wrapper.clc-guten-wrapper-block {
    background-size: cover;
}

.home .clc-guten-wrapper-inner.clmt-content-width {
    max-width: 1400px;
    align-items: center;
}

div.kgl-home-hero-left-column {
    max-width: 600px;
} 

div.kgl-home-hero-wrapper {
    padding: 100px 20px;
}

.kgl-home-hero-wrapper.clc-guten-wrapper-block .clc-guten-wrapper-inner { 
    justify-content: space-between; 
}

.kgl-home-subhero-stripe { 
    color: #245A79;
    padding: 50px 20px;
    font-size: 22px;
}

.kgl-home-split-1 .clmt-split-content-photo {
  background-size: contain;
}

@media only screen and (min-width: 768px) {
  div.kgl-home-hero-right-column .wp-block-image img {
      max-width: 700px;
  }
}

.home .clmt-split-content-text {
  flex-basis: 64% !important;
}

@media only screen and (MAX-width: 768px) {
  .wp-block-image.alignwide {
    margin-left: 0 !important;
  }

}

@media only screen and (min-width: 768px) {
  .kgl-home-split-1 .clmt-split-content-photo, 
  .kgl-home-split-3 .clmt-split-content-photo {
      margin-right: 55px;
  }

  .kgl-home-split-2 .clmt-split-content-photo {
    margin-left: 55px;
  }
}


.clc-testimonial {
  background-image: url(/wp-content/plugins/clc-pubfactory-cpt-outputs/images/KGL-pubfactory_open-quote.png);
  background-repeat: no-repeat; 
}

.home .clc-testimonial-wrapper.clc-testimonial-side-image .clc-testimonial {
  justify-content: flex-start !important; 
}

.home .clc-testimonial-image-wrapper {
  min-height: 200px;
  position: relative;
}

.home .clc-testimonial-image {
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 0;
  background-size: auto !important; 
} 

.home .clc-testimonial {
    font-size: 22px;
    padding: 5px 0 0 42px;
    color: #2c2c2d;
    line-height: 1.6em;
}

.home .clc-testimonial-author {
    text-transform: uppercase;
    font-size: 18px;
}

.clmt-latest-posts-item {
    background: #F2F2F2 0% 0% no-repeat padding-box;
    border: 1px solid #D9D9D9;
    border-radius: 60px 0px;
    opacity: 1;
    padding: 50px;
    text-align: center;
    justify-content: center;
}

.kgl-get-latest-news-stripe.medium-padding {
  padding: 30px !important;
}

div#gf_1 {
    margin-top: -12px;
} 

.clmt-latest-posts-item-title.h3 {
    line-height: 26px;
}

.clmt-latest-posts-item-title.h3 a {
    color: #3078A1 !important;
    text-decoration: none;
    font-size: 20px;
}

.clmt-latest-posts-content, .clmt-latest-posts-link {
    display: none;
}

.clmt-latest-posts-post-meta {
    text-align: center;
}

.clmt-latest-posts-item .clmt-column-flex-grow {
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
}

.clmt-latest-posts-item-title a:hover {
  color: #B01A1D !important;
}

.kgl-get-latest-news-stripe .clmt-footer-social-icons {
  margin: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.kgl-get-latest-news-stripe .clmt-footer-social-icons .socicon {
  border-radius: 5px;
}

.kgl-get-latest-news-stripe .clmt-footer-social-icons {
    flex-grow: 3;
}

.kgl-get-latest-news-stripe .clmt-simple-stripe-content {
  width: 100%;
}

div#gform_confirmation_message_1 {
    padding: 60px 0;
}

/* END HOME  */






/* IMAGE OPPOSITE CORNER ROUNDING AND CORNER TABS */

.clmt-split-content.spf-radius-and-tab .clmt-split-content-photo, .clc-staff-photo, .clmt-featured-content-item .clmt-column-flex-grow  {
  position: relative;
}

.clc-staff-photo img {
  margin: 0 !important;
}
/*
.clmt-split-content.spf-radius-and-tab .clmt-split-content-photo::after, .clc-staff-photo::after, .spf-radius-and-tab .clmt-featured-image::after {
    content: "";
    height: 99px;
    width: 90px;
    position: absolute;
    border-top: 9px solid #6fbf4c;
    border-right: 9px solid #6fbf4c;
    top: -8px;
    right: -8px;
}
*/
.spf-round-corners, .spf-round-corners img, .clc-staff-photo img, .clmt-split-content.spf-radius-and-tab .clmt-split-content-photo, .spf-radius-and-tab .clmt-featured-image, .spf-case-study .wp-block-image img {
    box-shadow: 0px 0px 10px rgba(21,21,21,.2);
    border-radius: 60px 0px;
    z-index: 2;
}

.clc-staff {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clc-staff-photo {
    max-width: 300px;
}

.clc-staff-photo img {
  border: none !important;
  position: relative;
}


@media only screen and (min-width: 768px) {
  .clc-staff {
      flex-direction: inherit;
      align-items: inherit;
  }

  .clc-staff:nth-of-type(even) .clc-staff-content {
    padding-right: 40px;
  }

  .clc-staff:nth-of-type(odd) .clc-staff-content {
    padding-left: 40px;
  }
}

/* END ROUNDING AND TABS */




/* ICON LISTS AS CTA's */

.clmt-icon-list-item-title.h5 a {  
  text-decoration: none;
}

.spf-icon-ctas .clmt-icon-list-item:hover, .spf-client-tiles .clmt-icon-list-item:hover {
    box-shadow: 0px 0px 10px rgba(21,21,21,.2);
}

.spf-icon-ctas .clmt-icon-list-item:hover .clmt-icon-list-item-title a {
  color: #b01a1d !important;
}

.clmt-icon-list-item.icon-sitegen-cta:hover .clmt-icon-list-item-icon {
  background-image: url('/wp-content/plugins/clc-pubfactory-cpt-outputs/images/dark-red-icons/devices_other-24px.svg') !important;
}

.clmt-icon-list-item.icon-modules-cta:hover .clmt-icon-list-item-icon {
  background-image: url('/wp-content/plugins/clc-pubfactory-cpt-outputs/images/dark-red-icons/assessment-24px.svg') !important; 
}

.clmt-icon-list-item.icon-contact-cta:hover .clmt-icon-list-item-icon {
  background-image: url('/wp-content/plugins/clc-pubfactory-cpt-outputs/images/dark-red-icons/question_answer-24px.svg') !important;
}

.clmt-icon-list-item.icon-design-suite-cta:hover .clmt-icon-list-item-icon {
  background-image: url('/wp-content/plugins/clc-pubfactory-cpt-outputs/images/dark-red-icons/format_paint-24px.svg') !important;
}



.clmt-icon-list-item.icon-contact-phone:hover .clmt-icon-list-item-icon { 
  background-image: url('/wp-content/plugins/clc-pubfactory-cpt-outputs/images/dark-red-icons/phone-24px.svg') !important;
}

.clmt-icon-list-item.icon-contact-suitcase:hover .clmt-icon-list-item-icon { 
  background-image: url('/wp-content/plugins/clc-pubfactory-cpt-outputs/images/dark-red-icons/work-24px.svg') !important;
}

.clmt-icon-list-item.icon-contact-email:hover .clmt-icon-list-item-icon { 
  background-image: url('/wp-content/plugins/clc-pubfactory-cpt-outputs/images/dark-red-icons/email-24px.svg') !important;
}


.clmt-icon-list-item.icon-contact-widgets:hover .clmt-icon-list-item-icon { 
  background-image: url('/wp-content/plugins/clc-pubfactory-cpt-outputs/images/dark-red-icons/widgets-24px.svg') !important;
}

.clmt-icon-list-item.icon-contact-help:hover .clmt-icon-list-item-icon { 
  background-image: url('/wp-content/plugins/clc-pubfactory-cpt-outputs/images/dark-red-icons/help-24px.svg') !important;
}

.clmt-icon-list-item.icon-contact-book:hover .clmt-icon-list-item-icon { 
  background-image: url('/wp-content/plugins/clc-pubfactory-cpt-outputs/images/dark-red-icons/menu_book-24px.svg') !important;
}



.spf-round-child-corners .clmt-icon-list-item, .spf-case-study-item, .spf-news-item  {
    border: 1px solid #D9D9D9 !important;
    border-radius: 60px 0px;  
    padding: 30px;
}

@media only screen and (min-width: 768px) {
  .spf-round-child-corners .clmt-icon-list-item, .spf-case-study-item, .spf-news-item  {
      margin-right: 25px;
  }
}

.clmt-featured-image  {
  margin: 0 !important;
}

/* make parent react to child hover?
.clmt-icon-list-item .clmt-icon-list-item-icon:hover {
  box-shadow: 0px 0px 10px rgba(21,21,21,.2); 
}
*/

.clmt-icon-list-item:last-of-type(), .clmt-featured-image:last-of-type() {
  margin: 0;
}

.clmt-icon-list-item-title.h5 a:hover {
  color: #b01a1d !important; 
}



.spf-max-300 .clmt-split-content-photo, .spf-max-300 .clmt-featured-image  {
    min-width: 300px;
    max-width: 300px;
    min-height: 300px !important;
    max-height: 300px !important;
    margin: 10px;
}

.clmt-split-content.spf-max-300 {
  align-items: center;
}

@media only screen and (min-width: 768px) {
  .spf-max-300 .clmt-split-content-photo, .spf-max-300 .clmt-featured-image  {
      margin: 20px;
  }
}


.spf-max-300 .clmt-split-content-text {
  flex-grow: 2;
}

.clmt-split-content-text-content ul, .entry-content ul {
  list-style-image: url("images/spf-bullet-dark.png") !important;
}

.clmt-split-content-text-content ul li, .entry-content ul li {
  margin-bottom: 6px; 
}

.spf-max-300 .clmt-featured-image {
    background-size: 80% !important;
    background-repeat: no-repeat; 
}

.clmt-featured-content {
  justify-content: center;
}

.clmt-featured-content-item {
  align-items: center;
}

.spf-quote-text {
  font-style: italic;
  color: #2c2c2d; 
  font-weight: 500;
}

.spf-text-25 p {
  font-size: 25px !important;
}

.clmt-featured-content-item .clmt-column-flex-grow {
  max-width: 300px;
}

.kgl-platform-stats-icon-list .clmt-icon-list-item-title.h5 { 
  font-size: 2.6em;
}

.clmt-grid-blocks h2::after {
  content: "";
}

.spf-icon-list-all-left .clmt-icon-list-item-icon {
  align-self: flex-start;
}

.spf-icon-list-all-left .clmt-icon-list-item-content {
  text-align: left;
}
/*
.spf-icon-list-all-left .clmt-icon-list-flex-container { 
  justify-content: flex-start !important;
}
*/
.clmt-icon-list-item-title {
    padding-bottom: 10px;
}

.kgl-our-platform-details-icon-list.clmt-icon-list .clmt-icon-list-item { 
  margin-bottom: 60px !important;
}


.wp-block-quote {
  padding-left: 50px;
  background: url(/wp-content/plugins/clc-pubfactory-cpt-outputs/images/KGL-pubfactory_open-quote.png) top left no-repeat;
}

.wp-block-quote p {
    color: #2c2c2d;
    font-weight: 500;
    line-height: 1.4em !important;
    font-family: Raleway !important;
}

.wp-block-quote cite {
  color: #333 !important;
  font-style: normal !important;
}

.spf-general-cta {
  border-bottom: 5px solid #ffc9af;
  font-weight: 700;
  font-size: 25px;
}

.spf-general-cta .clmt-simple-stripe-content {
  font-size: 1em;
  max-width: 700px;
  margin: auto;
  line-height: 1.2em;
}








/* CASE STUDIES */

.spf-case-studies-archive, .spf-news .alm-reveal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between; 
}

.spf-case-studies-archive .spf-case-study-item {
  margin: 0 25px 50px;
  padding: 0;
}

@media only screen and (min-width: 768px) {
  .spf-case-studies-archive .spf-case-study-item {
    margin: 20px;
    width: 44%;
  }
}

.spf-case-study-item:hover, .spf-news-item:hover {
  box-shadow: 0px 0px 10px rgba(21,21,21,.2);
}

.spf-case-study-item, .spf-news-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}


.spf-case-study-the-title {
    margin-bottom: 25px;
}

.spf-case-study-logo, .clmt-news-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;

}

.spf-case-study-item img, .spf-news-item img {
  margin: 50px 30px 30px;
  display: block;
  max-width:250px;
  max-height:115px;
  width: auto;
  height: auto;
}

.spf-case-studies-archive .spf-case-study-item:last-of-type() {
  margin-right: 0;
}

.spf-case-study-title {
  font-weight: 700;
  padding: 30px 30px 0;
  width: 100%;
  text-align: center;
    font-size: 1.8em;
    line-height: 1.4em;
}

.spf-case-study-title a {
  text-decoration: none;
  color: #3078a1;
}

.spf-case-study-summary, .spf-news-content {
  background: #F2F2F2;
  padding: 30px;
  flex-grow: 3;
  border-radius: 0 0 60px 0px;
  /*font-family: 'Noto Sans';*/
  font-size: 14px;
  line-height: 1.4em;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;  
  align-items: center;
  max-width: 100%;  
}

.spf-case-study-summary:hover, .spf-news-content:hover {
  background: #dbdbdb;
}

.spf-case-study-summary:hover .spf-case-study-title a {
    color: #eb2227;
}

.spf-news-content:hover a {
  color: #eb2227 !important;
}

.spf-case-study-summary-content {
  max-width: 100%;
}

.spf-case-study-summary .button {
  display: flex; 
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 30px;
}



/* This is the only one I couldn't track down when converting to classes. 20230804 -gs
#cl-icon-list-block_5de95d54a121f .clmt-icon-list-item-content {
  white-space: nowrap;
}
*/


/* OUR PLATFORM */

.spf-platform-services-intro-desktop {
  display: none;
}

@media only screen and ( min-width: 768px ) {
  .spf-platform-services-intro-mobile {
    display: none;
  }

  .spf-platform-services-intro-desktop {
    display: block;
  }
}

/* NEWS */

.spf-news-item {
  padding: 0;
  width: 300px;
  margin-bottom: 30px;
}

.spf-news-content.spf-news-no-img {
  border-radius: 60px 0;  
}

.spf-news-content-flex {
  display: flex; 
  align-items: flex-start;
  height: 100%;
  width: 100%;
}

.spf-news-title.h3 {
    line-height: 1.1em;
}

.spf-news-item .h3 a {
  color: #3078A1;
  font-size: 20px;
  text-decoration: none;
}






/* EVENTS */

.clc-event-date-block {
  padding: 30px; 
}

@media only screen and (min-width: 768px) {
  .clc-event-date-block {
    width: 200px;  
  }
}

.clc-event-date-block-date {
  font-weight: bold;
}

.clc-event-date-block-month {
  color: #3078a1;
  /*font-size: 25px;*/
  font-weight: 600; 
}

.clc-event-in-teaser {
    border-radius: 60px 0;
    border: 1px solid #DCDCDC;
    overflow: hidden;
    margin: 15px 0;
}

.clc-event-in-teaser-details, .clc-event-date-block {
  border: none !important;
}

.clc-event-in-teaser-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clc-event-in-teaser-details h3 {
    line-height: 1.2em;
    font-size: 25px;
    color: #3078a1;
}




/* CAREERS */

.single-spf_careers .entry-content ul {
  margin: 0 0 30px 30px;
}

.single-spf_careers .entry-content li {
  list-style-type: circle;
}

.spf-career h3 a {
  font-size: .9em;
  margin-left: 20px;  
}





/* CASE STUDY SINGLE */

.spf-case-study .alignwide {
    width: auto !important;
}

.spf-case-study h2 {
  text-align: center;
  margin: 60px 0 30px 0;
}

.spfcs-hero {
  padding: 30px; 
  background: #2c2c2d;
}

.spfcs-hero .clmt-content-width {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  min-height: 450px;
}

.spfcs-hero-title {
    flex-shrink: 4;
}

.spfcs-hero-title-the-client {
  color: white;
  font-size: 3em;
  font-weight: bold;
  line-height: 1em;
  margin-bottom: 30px;
}

.spfcs-hero-content-image {
  max-width: 800px;
  min-width: 350px;
  padding-top: 60px;
  flex-shrink: 1;
}

@media only screen and (min-width: 768px) {
  .spfcs-hero-content-image {
    max-width: 800px;
  }
}


.spfcs-hero-title-the-title {
  color: #FCDEDF;
  font-size: 1.6em;
}

.spfcs-summary-stripe {
  background: #E0EBF1;
  padding: 60px 30px;
  color: #245A79;
  font-weight: bold;
  text-align: center;
}

.spfcs-summary-content {
  font-size: 1.2em;
  text-align: center;
  padding-top: 30px;
}

.spf-case-study-section-divider {
  max-width: 1100px;
  margin-left: -200px;
  margin-right: -200px;
  border-top: 5px solid #E9F6E4;
}

.spf-case-study .alignwide {
    width: 1100px;
}

.spfcs-client-company-profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.spfcs-client-logo {
    border: 1px solid #DCDCDC;
    border-radius: 60px 0 60px 0;
    padding: 30px;
    flex-shrink: 0;
}

.spfcs-company-profile-content {
  padding: 20px;  
} 

.clmt-simple-stripe.alignwide {
    min-height: 5px;
    width: auto !important;
    margin-top: 60px;
    background: #E6E6E7;
}

.spf-case-study .wp-block-image img {
  margin: 60px 0;
}

.single-spf_case_studies .wp-block-quote { 
  margin-top: 50px;
  margin-bottom: 50px;
}

@media only screen and (min-width: 768px) {

  .spfcs-hero .clmt-content-width {
    flex-wrap: nowrap;
  }

  .spfcs-hero-content-image {
    margin-left: 30px;
    padding-top: 0;
  }

  .spfcs-client-company-profile {
    flex-direction: row;
    align-items: flex-start;
    padding: 30px;  
  }

  .spfcs-client-logo {
      margin-right: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .spfcs-client-logo img {
      width: 185px;
  }

  .spfcs-company-profile-content {
    padding: 0px;  
  }  

}






/* INTERIOR PAGES */

@media only screen and ( max-width: 768px ) {
  .clmt-hero {
    height: 40vh !important;
  }
}






/* PARTNERS LOGO GALLERY */

#gallery-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#gallery-1 .gallery-item {
    width: auto;
    margin: 0 15px 15px;
}

#gallery-1 img {
  border: none;
}

.kgl-our-clients-grid-blocks div.grid-block-image {
    border: 1px solid #DCDCDC;
    border-radius: 60px 0 60px 0;
    background-size: 80% !important;
    margin: 30px 0px; 
}




/* FOOTER */

.site-footer {
  padding: 60px 20px;
  border-top: 5px solid #58595B;
  font-size: 16px;
}

.site-footer .wrap {
  max-width: 1100px;
  margin: auto;
  text-align: left;
}

.nav-secondary .wrap {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.site-footer ul#menu-main-menu-1 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: left;
  margin-bottom: 45px;
  max-width: 450px;
  flex-wrap: wrap;
}

.site-footer li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-has-children {
    width: 45%;
}

.site-footer ul#menu-main-menu-1 a {
  text-decoration: none;
  margin: 0;
}

.site-footer ul#menu-main-menu-1 li.menu-item-has-children {
  margin-bottom: 20px;
}

.site-footer ul#menu-main-menu-1 > li.menu-item-has-children > a {
  font-size: 22px;
}

.site-footer #menu-main-menu-1 ul.sub-menu {
  display: flex;
  flex-direction: column;
  font-size: 16px; 
}

.site-footer #menu-main-menu-1 ul.sub-menu li {
  margin-top: 8px; 
}
 
li#menu-item-356, li#menu-item-357 {
  display: none;
}

.clmt_subfooter_links {
    order: 3;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    font-size: 16px;
}

@media only screen and (min-width: 768px) {

  .site-footer ul#menu-main-menu-1 {
      flex-direction: row;
  }

  .site-footer {
    padding: 60px;
  }

  .site-footer ul#menu-main-menu-1 {
    justify-content: space-between;
    max-width: 800px;
  }

  .site-footer .wrap {
    text-align: left;
  }

  .site-footer li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-has-children {
    width: inherit;
  }

  .nav-secondary .wrap {
    display: block;
  }

}