/*
Theme Name: Change Associates
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@font-face {
  font-family: 'HelveticaNeueLTStd-ThEx';
  src: url("fonts/32E1DF_0_0.eot");
  src: url("fonts/32E1DF_0_0.eot?#iefix") format('embedded-opentype'), url("fonts/32E1DF_0_0.woff2") format('woff2'), url("fonts/32E1DF_0_0.woff") format('woff'), url("fonts/32E1DF_0_0.ttf") format('truetype');
}

.category-description {
  display: none;
}

.category-description.all {
  display: block;
}


.ca-row {
  display: flex;
  flex-wrap: wrap;  /* NEW */
}

.ca-row .ca-col {
  width: 25%;
  padding: 10px;
}

.ca-row-btns {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.ca-row-btns .ca-col {
  flex: 1;
  padding: 10px;
}

.ca-row-btns button {
  width: 100%;
  background-color: #EDEDED;
  color: #3D3C3B;
  position: relative;
  padding: 4px 10px 6px 10px;
  margin: 0;
}

.ca-row-btns button span {
  position: relative;
  z-index: 2;
  -webkit-transition: all 400ms ease-in-out;
  -moz-transition:    all 400ms ease-in-out;
  -o-transition:      all 400ms ease-in-out;
  -ms-transition:     all 400ms ease-in-out;
  transition:         all 400ms ease-in-out;
}

.ca-row-btns button:hover span, .ca-row-btns button.mixitup-control-active span {
  color: white;
}

.ca-row-btns button:after {
  z-index: 1;
  content: "";
  width: 100%;
  height: 6px;
  background-color: #3C3C3B;
  position: absolute;
  bottom: 0;
  left: 0;
  -webkit-transition: all 400ms ease-in-out;
  -moz-transition:    all 400ms ease-in-out;
  -o-transition:      all 400ms ease-in-out;
  -ms-transition:     all 400ms ease-in-out;
  transition:         all 400ms ease-in-out;
}

.category-description {
  padding: 10px;
}

.category-description div {
  background-color: #EDEDED;
  color: #3D3C3B;
  padding: 30px 20px;
  border-left: 8px solid #000;
}

.category-description h2 {
  margin-bottom: 0;
}

.category-description p {
  margin-bottom: 0;
}

.category-description h2 {
  color: #000;
}
.category-description.all div {
  border-left: 8px solid #000;
}

.ca-col a {
  display: block;
  width: 100%;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background-color: #3c3c3b;
  position: relative;
  display: flex;
  flex-direction: column;
}



.ca-col a .description {
  display: block;
  background-color: #3c3c3b;
  padding: 15px 20px 25px 25px;
  color: white;
  /* border-left: 8px solid #3C3C3B; */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ca-col a .description .class-borders {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}

.ca-col a .description .class-borders .class-border {
  height: 100%;
  width: 6px;
  background-color: #3C3C3B;
  display: none;
}

.ca-col a .description .class-borders .class-border.change-management {
  background-color: #f8b435;
  display: inline-block;
}
.ca-col a .description .class-borders .class-border.leadership-and-culture {
  background-color: #e74248;
  display: inline-block;
}
.ca-col a .description .class-borders .class-border.organisation-design {
  background-color: #028595;
  display: inline-block;
}
.ca-col a .description .class-borders .class-border.transformation {
  background-color: #c4d200;
  display: inline-block;
}

/* .ca-col.change-management a .description {
  border-left: 8px solid #f8b435;
}
.ca-col.leadership-and-culture a .description {
  border-left: 8px solid #e74248;
}
.ca-col.organisation-design a .description {
  border-left: 8px solid #028595;
}
.ca-col.transformation a .description {
  border-left: 8px solid #c4d200;
} */

.ca-col a .description .excerpt {
  font-size: 13px;
  line-height: 16px;
}

.ca-col a .divider {
  display: block;
  width: 30px;
  height: 3px;
  margin: 12px 0;
  background-color: white;
}

.ca-col a .meta {
  font-size: 13px;
  margin-top: auto;
}

.ca-col a .description .title h2 {
  color: white;
  margin-bottom: 10px;
  font-size: 20px;
}

/* org design #028595 */
/* transformation #c4d200 */
/* leadership #e74248 */
/* change #f8b435 */

.ca-row-btns button:hover:after, .ca-row-btns button.mixitup-control-active:after {
  height: 100%;
}

.ca-row-btns button.all:after {
  background-color: #3C3C3B;
}

.ca-row-btns button.change-management:after {
  background-color: #f8b435;
}

.ca-row-btns button.leadership-and-culture:after {
  background-color: #e74248;
}

.ca-row-btns button.organisation-design:after {
  background-color: #028595;
}

.ca-row-btns button.transformation:after {
  background-color: #c4d200;
}

/* .ca-col.change-management a .description {
  border-left: 8px solid #f8b435;
}
.ca-col.leadership-and-culture a .description {
  border-left: 8px solid #e74248;
}
.ca-col.organisation-design a .description {
  border-left: 8px solid #028595;
}
.ca-col.transformation a .description {
  border-left: 8px solid #c4d200;
} */

.category-description.change-management h2 {
  /* color: #f8b435; */
}
.category-description.change-management div {
  border-left: 8px solid #f8b435;
}

.category-description.leadership-and-culture h2 {
  /* color: #e74248; */
}
.category-description.leadership-and-culture div {
  border-left: 8px solid #e74248;
}

.category-description.organisation-design h2 {
  /* color: #028595; */
}
.category-description.organisation-design div {
  border-left: 8px solid #028595;
}

.category-description.transformation h2 {
  /* color: #c4d200; */
}
.category-description.transformation div {
  border-left: 8px solid #c4d200;
}

.ca-col figure {
  width: 100%;
  height: 0;
  padding-top: 80%;
  background-color: grey;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  margin: 0;
}

.ca-col figure .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #6eb44d;
  opacity: 0.9;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.awsm-table .awsm-table-head {
  display: none;
}

.awsm-table.style-1 .awsm-table-cell {
  border-bottom: 0;
}

.awsm-table-cell.awsm-table-name h2 {
  font-size: 24px;
}

.awsm-table-cell {
  vertical-align: top;
}


/* Custom TINYMCE styles */


.ca-blockquote {
  position: relative;
  font-size: 1.1em;
  margin: 0 0 20px;
  padding: 5px 1em 5px 1em;
  border-left: 2px solid #CE1422;
  border-left-color: #5EA742;
  font-style: italic;
  color: #5EA742;
  border-color: #5EA742;
  border-width: 9px;
  width: 85%;
}
.ca-blockquote-attribute {
  position: relative;
  font-size: 0.9em;
  margin: -20px 0 1em;
  padding: 5px 1em 5px 1em;
  border-left: 2px solid #CE1422;
  border-left-color: #5EA742;
  font-style: italic;
  color: #5EA742;
  border-color: #5EA742;
  border-width: 9px;
  width: 85%;
}

.ca-largequote {
  font-size: 2.4em;
  font-style: italic;
  color: #008596;
  line-height: 105%;
}


@media screen and (max-width: 1250px) {
  .ca-row-btns .ca-col {
    padding: 6px;
  }

  .ca-row-btns button {
    font-size: 13px;
    padding: 4px 4px 6px 4px;
  }

  .category-description {
    padding: 6px;
  }

  .ca-row .ca-col {
    padding: 6px;
  }
}

@media screen and (max-width: 1096px) {
  .ca-row .ca-col {
    width: 33.33333%;
  }
}

@media screen and (max-width: 986px) {
  .ca-row-btns {
    flex-wrap: wrap;
  }

  .ca-row-btns .ca-col {
    flex-basis: 33.333333%;
  }
}

@media screen and (max-width: 816px) {
  .ca-row .ca-col {
    width: 50%;
  }
}

@media screen and (max-width: 594px) {
  .ca-row-btns .ca-col {
    flex-basis: 50%;
  }
}

@media screen and (max-width: 510px) {
  .ca-row .ca-col {
    width: 100%;
  }
}

@media screen and (max-width: 415px) {
  .ca-row-btns .ca-col {
    flex-basis: 100%;
  }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
