/*
Theme Name: TheGem Child
Description: Multi-Purpose Wordpress Theme
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
*/


@media screen and (-webkit-min-device-pixel-ratio:0) {
    /* Safari 5+ ONLY */
    ::i-block-chrome, .modal__container{
    	margin-left: auto;
	margin-right: auto;
	margin-top: 10%;
    }
}

strong {
  color: #332986;
  font-weight: 600;
  font-family: 'Montserrat';
  font-size: 17px;
}

.header-style-2 #primary-menu.no-responsive>li>a:before {
  display: none;
}

body .board-members:before {
  width: 200% !important;
}

#site-header .site-title {
  padding: 0 !important;
}

.site-logo {
  margin-left: -21px !important;
}

.site-footer {
  position: relative;
}

.site-footer .container {
  position: relative;
  z-index: 9;
}

#colophon:after {
  position: absolute;
  content: '';
  background-image: url('images/pattern.png');
  left: 0;
  top: 0;
  width: 18vw;
  height: 39vh;
  background-size: contain;
  background-repeat: no-repeat;
}

body #colophon {
  padding: 110px 0 0 0 !important;
  width: 100% !important;
}

#primary-menu.no-responsive>li ul {
  width: 150px !important;
  border: 0px !important;
  -moz-box-shadow: 0 0 2px 0 rgba(56, 69, 84, 0.2);
  -webkit-box-shadow: 0 0 2px 0 rgba(56, 69, 84, 0.2);
  box-shadow: 0 0 2px 0 rgba(56, 69, 84, 0.2);
  background-color: rgba(255, 255, 255, 0.95);
  padding: 5px 0;
}

.sub-menu.styled li {
  border: 0px !important;
}

.sub-menu.styled li a {
  padding: 0px 15px !important;
  margin: 0 !important;
  border: 0 !important;
  color: #332986 !important;
  font-size: 15px !important;
  background-color: transparent !important;
  line-height: 25px !important;
}

.sub-menu.styled li a:after {
  display: none !important;
}

.who_we_are_part {
  position: relative;
  margin-top: 70px;
}

.who_we_are_part .vc_column-inner {
  padding: 0 15px !important;
}

.who_we_are_part>.vc_column-inner>.wpb_wrapper {
  background-color: #f5f6f9;
  padding: 0 20px 1px 20px;
}

.who_we_are_part .who_img {
  position: relative;
  margin-top: -50px !important;
  background-color: #f5f6f9;
  padding: 20px;
  border-radius: 50%;
  -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
  display: inline-block;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 0;
  overflow: hidden;
  cursor: pointer;
}

.who_we_are_part .who_img {
  background-color: #00529C;
}

.who_we_are_part .who_img:hover {
  background-color: #322a86;
}

.who_we_are_part .who_img:hover .vc_icon_element-inner span {
  color: #fff !important;
}

.first_row .who_we_are_part h5:hover {
  color: #322a86;
}

.first_row .who_we_are_part h5 {
  cursor: pointer;
  text-decoration: underline;
}

.who_we_are_part p {
  min-height: 230px;
  text-align: justify;
}

.second_row .who_we_are_part {
  margin-top: 100px;
}

.second_row .who_we_are_part:first-child .vc_column-inner {
  width: 404px;
  float: right;
}

.second_row .who_we_are_part:last-child .vc_column-inner {
  width: 404px;
}

.what_we_first .wpb_wrapper,
.what_we_first .wpb_wrapper .lazy-loading,
.what_we_first .wpb_wrapper .lazy-loading .gem-textbox,
.what_we_first .wpb_wrapper .lazy-loading .gem-textbox .gem-textbox-inner,
.what_we_first .wpb_wrapper .lazy-loading .gem-textbox .gem-textbox-inner .gem-textbox-content,
.what_we_third .wpb_wrapper,
.what_we_third .wpb_wrapper .lazy-loading,
.what_we_third .wpb_wrapper .lazy-loading .gem-textbox,
.what_we_third .wpb_wrapper .lazy-loading .gem-textbox .gem-textbox-inner,
.what_we_third .wpb_wrapper .lazy-loading .gem-textbox .gem-textbox-inner .gem-textbox-content {
  height: 100%;
  padding-bottom: 0px;
}

.what_we_second {
  margin-top: 40px;
}

.what_we_third {
  margin-top: 40px;
}

.what_we_fourth {
  margin-bottom: 50px !important;
  position: relative;
  top: -20px;
}

.what_we_do_p p {
  width: 900px;
  max-width: 90%;
  text-align: justify;
  margin: auto;
  position: relative;
  padding-left: 80px;
}

.what_we_do_p p strong,
.research_main_right p strong {
  color: #332986;
  border-bottom: 1px solid;
  font-weight: 600;
  font-family: 'Montserrat';
  margin: 0 2px;
}

.what_we_do_p p:after {
  position: absolute;
  content: '';
  left: 15px;
  top: 20px;
  background-image: url(images/business-cards.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 35px;
  height: 35px;
}

.what_we_do_p p:before {
  position: absolute;
  content: '';
  left: 0;
  top: 5px;
  width: 65px;
  height: 65px;
  background-color: #332986;
  border-radius: 10px;
}

.standard_left {
  width: 21%;
  float: left;
  text-align: right;
}

.standard_center {
  width: 44%;
  float: left;
  padding: 0 5%;
}

.standard_right {
  width: 35%;
  float: left;
}

.standard_left .anchor_ul li:nth-child(1) {
  margin-top: 14px;
}
.standard_left .anchor_ul li:nth-child(2) {
  margin-top: 46.5px;
}

.standard_left .anchor_ul li:nth-child(3) {
  margin-top: 34px;
}

.standard_left .anchor_ul li a {
  min-width: 152px;
}

.standard_right .anchor_ul li:nth-child(2) a {
  padding-left: 50px;
  padding-right: 50px;
}

.standard_right .anchor_ul li a {
  min-width: 265px;
}

.anchor_ul {
  margin: 0px;
  padding: 0px;
  position: relative;
  /* display: flex;
  flex-wrap: wrap;
  width: 60%;
  float: right;
  padding-left: 15px; */
}

.anchor_ul li {
  padding: 0px;
  position: relative;
  list-style: none;
  margin-bottom: 20px;
  display: block;
}

.anchor_ul li:nth-last {
  margin-bottom: 0px;
}

.anchor_ul li a {
  display: inline-block;
  text-align: center;
  padding: 10px 25px 11px 25px;
  border-radius: 50px;
  color: #fff;
  background-color: #322a86;
  font-size: 18px;
  font-weight: 100;
}

.anchor_ul li a:hover {
  background-color: #322a86;
  color: #fff !important;
}

body .careers-care .gem-textbox-inner {
  position: relative;
}

.what_we_fourth .gem-textbox-inner {
  width: 650px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.shape_img {
  float: right;
  margin: 0 !important;
  width: 240px;
  right: 0px;
  position: relative;
}

.careers-care .vc_column-inner .wpb_wrapper {
  position: relative;
}

.careers-care>.vc_column-inner>.wpb_wrapper {
  background: #ebedf2;
  border: 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.careers-care>.vc_column-inner>.wpb_wrapper .title-h5 {
  margin: 30px 0 0 0;
}

.careers_in_care {
  padding: 0px 30px 0px 30px;
  text-align: justify;
  position: relative;
  z-index: 1;
  color: #7a7a7a;
}

.careers_in_care_text {
  display: block;
  margin-bottom: 10px;
  color: #5f727f;
}

.research_main {
  position: relative;
  border: 1px solid #dfe5e8;
  background-color: transparent;
  width: 100%;
  float: left;
  border-radius: 20px;
  overflow: hidden;
}

.research_main_left {
  width: 30%;
  float: left;
  position: absolute;
  background: #d1d2e1;
  height: 100%;
  z-index: 9;
}

.research_main_left h2 {
  padding: 20px 15px;
  margin: 0;
  font-size: 20px;
  text-align: center;
  line-height: 1.2;
  color: #fff;
  background: #332986;
}

.research_main_left h3 {
  font-size: 20px;
  text-align: center;
  line-height: 1.2;
  color: #02529a;
  margin: 0;
  border-bottom: 1px dashed #fff;
  padding: 15px;
}

.research_main_left ul {
  margin: 0px;
  padding: 0px;
  width: 100%;
  float: left;
  height: -moz-calc(100% - 142px);
  height: -webkit-calc(100% - 142px);
  height: calc(100% - 142px);
}

.research_main_left ul li {
  width: 33.33333333333333%;
  float: left;
  position: relative;
  height: 100%;
  list-style: none;
  display: table;
  vertical-align: middle;
  text-align: center;
  color: #02529a;
  border-right: 1px dashed #fff;
  font-weight: 700;
}

.research_main_left ul li span {
  display: table-cell;
  vertical-align: middle;
}

.research_main_left ul li:last-child {
  border-right: 0px !important;
}

.research_main_right {
  width: 70%;
  padding: 15px 30px;
  float: right;
  position: relative;
}

.research_main img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

.research_main ul {
  margin: 20px 0 0 0;
  padding: 0 30px;
}

.research_main ul li {
  display: inline-block;
}

.research_main ul li a {
  display: block;
    padding: 9px 23px 11px 23px;
    border-radius: 30px;
    color: #fff;
    font-size: 18px;
    background-color: #322a86;
}

.research_main ul li a:hover {
    color: #fff !important
}

.research_main .title-h5 {
  margin: 20px 0;
  font-size: 22px;
  padding: 0 30px;
}

.research_content p {
  padding: 0 30px;
  margin: 20px 0;
}

.research_main_right p {
  z-index: 9;
  position: relative;
}

.research_main_right img {
  max-width: 100%;
  display: block;
  height: auto;
}

.regulation_transferability ul {
  margin: 0px;
  padding: 0px;
  position: relative;
  list-style: none;
  counter-reset: number-counter;
}

.regulation_transferability ul li {
  counter-increment: number-counter;
  position: relative;
  margin-top: 30px;
  padding-left: 60px;
}

.regulation_transferability ul li::after {
  position: absolute;
  content: '';
  width: 40px;
  height: 40px;
  background-color: #322a86;
  top: 5px;
  left: 0;
  border-radius: 50%;
}

.regulation_transferability ul li::before {
  content: counter(number-counter);
  color: #ebedf2;
  font-weight: bold;
  font-size: 20px;
  position: absolute;
  left: 15.5px;
  top: 11.5px;
  z-index: 9;
}

@media (max-width: 767px) {

  .sub-menu.styled.dl-submenu .dl-parent,
  .sub-menu.styled.dl-submenu .dl-back {
    display: none !important;
  }

  .standard_left {
    width: 100%;
    float: left;
    text-align: left;
  }

  .standard_center {
    width: 100%;
    float: left;
    padding: 0 20px;
  }

  .standard_right {
    width: 100%;
    float: left;
  }

  .first_row .who_we_are_part h5,
  .who_we_are_part p {
    min-height: inherit;
  }

  .who_we_are_part figure img {
    width: 50px;
    height: 50px;
  }

  .who_we_are_part>.vc_column-inner>.wpb_wrapper {
    background-color: #f5f6f9;
    padding: 0 20px 1px 20px;
    margin-top: 50px;
    margin-bottom: 30px;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .second_row .who_we_are_part {
    margin-top: 0;
  }

  .second_row .who_we_are_part:first-child .vc_column-inner {
    width: inherit;
    float: none;
  }

  .second_row .who_we_are_part:last-child .vc_column-inner {
    width: auto;
  }

  .second_row {
    margin-top: -20px;
  }

  .mobile50 {
    margin-top: 50px;
  }

  .what_we_first .regulation_registration-left,
  .what_we_third .principles-learning-assessment {
    margin-bottom: 40px;
  }

  .what_we_first .standards,
  .what_we_third .research {
    margin-bottom: 20px;
  }

  #site-header .site-title a img.small {
    width: 182px !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {

  .second_row .who_we_are_part:first-child .vc_column-inner,
  .second_row .who_we_are_part:last-child .vc_column-inner {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .who_we_are_part {
    margin-top: 70px !important;
  }

  .who_we_are_part h5 {
    min-height: inherit;
    font-size: 17px;
    line-height: initial;
  }

  .who_we_are_part p {
    min-height: inherit;
    text-align: justify;
    font-size: 15px;
    line-height: initial;
  }

  .who_we_are_part figure img {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 992px) {

  .gem-team .inline-column:nth-child(5),
  .gem-team .inline-column:nth-child(6),
  .gem-team .inline-column:nth-child(7),
  .gem-team .inline-column:nth-child(8),
  .gem-team .inline-column:nth-child(9) {
    width: 20% !important;
  }

  .gem-team .inline-column:nth-child(5) .team-person .team-person-hover .team-person-image,
  .gem-team .inline-column:nth-child(6) .team-person .team-person-hover .team-person-image,
  .gem-team .inline-column:nth-child(7) .team-person .team-person-hover .team-person-image,
  .gem-team .inline-column:nth-child(8) .team-person .team-person-hover .team-person-image,
  .gem-team .inline-column:nth-child(9) .team-person .team-person-hover .team-person-image {
    padding-left: 9.5px;
    padding-right: 9.5px;
  }
}

@media (min-width: 768px) {

  #site-header.fixed.shrink .site-title a img.small,
  #site-header.fixed.shrink .menu-item-logo a img.small {
    width: 250px !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .gem-team .inline-column {
    width: 33.333333333333% !important;
  }
}