/*
 Theme Name:   EPM Theme
 Theme URI:    http://ed-school.aislinthemes.com/
 Description:  WP theme for Escola Portuguesa de Macau website.
 Author:       Raffaele C. G. Colleo
 Author URI:   http://neworld.biz
 Template:     ed-school
 Version:      1.0.0
 Tags:
 Text Domain:
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

.header-logo {
  width: 24%;
}

.header-content {
  width: 76%;
}

.wh-header {
  background-color: #fafafa !important;
}

.top-header {
  background-color: #bbe3f4;
}

.top-header .wpb_content_element {
  margin-bottom: 0;
}

.top-header .top-header-left .wpb_content_element {
  font-family: "Libre Franklin";
  font-size: 10px;
  line-height: 40px;
  color: #252525;
}

.top-header .top-header-left .wpb_content_element i.fa {
  font-size: 16px;
  line-height: 40px;
}

.top-header .top-header-left .wpb_content_element span {
  padding-left: 10px;
}

.header-menu .header-menu-top-right .wpb_content_element {
  margin-bottom: 0;
}

.header-menu .header-menu-top-right a {
  border: 0 !important;
}

.header-menu .header-menu-right .wpb_column {
  float: right;
  width: auto;
  margin-top: 5px;
}

.sticky-bar-bg {
  padding: 5px 0;
}

.is-sticky .sticky-bar-bg {
  box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
}

.sf-menu.wh-menu-main .sub-menu:before {
  display: none;
}

.sf-menu.wh-menu-main li > a {
  margin: 0;
  padding: 8px 15px;
  border-top: 0;
  border-bottom: 4px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.sf-menu.wh-menu-main > li:hover > a,
.sf-menu.wh-menu-main > li.sfHover > a,
.sf-menu.wh-menu-main > .current-menu-parent > a {
  background-color: #bbe3f4;
  border-top: 0;
  border-bottom: 4px solid #e6be1e;
}

.sf-menu.wh-menu-main li.menu-item-has-children > a:after,
.sf-menu.wh-menu-main li.msm-menu-item > a:after {
  content: "\f0dd";
  font-family: FontAwesome;
  text-align: right;
  left: 50%;
  position: absolute;
  margin-left: -5px;
  font-size: 12px;
  top: 8px;
  right: 0;
}

.sf-menu.wh-menu-main li.menu-item-has-children > a:after {
  display: none;
}

.sf-menu.wh-menu-main .sub-menu {
  background-color: #171633 !important;
  margin: 0;
  padding: 12px 0;
  box-shadow: none;
}

.sf-menu.wh-menu-main .sub-menu li {
  width: 100%;
  border: none;
  background-color: transparent;
  padding: 0;
  transition: all 350ms linear;
}

.sf-menu.wh-menu-main .sub-menu li a {
  color: #bbe3f4 !important;
  font-size: 14px;
  padding: 0 12px;
  line-height: 36px;
  text-transform: inherit;
  transition: all 350ms linear;
}

.sf-menu.wh-menu-main .sub-menu li a::before {
  content: '\f105';
  font-family: "FontAwesome";
  font-size: 12px;
  padding-right: 12px;
  color: #fcc92f;
}

.sf-menu.wh-menu-main .sub-menu li:hover,
.sf-menu.wh-menu-main .sub-menu .current-menu-item,
.sf-menu.wh-menu-main .sub-menu .current-page-ancestor {
  color: #bbe3f4 !important;
  background-color: #fcc92f;
}

.sf-menu.wh-menu-main .sub-menu li a:hover,
.sf-menu.wh-menu-main .sub-menu li.current-menu-item a,
.sf-menu.wh-menu-main .sub-menu li.current-page-ancestor a {
  color: #171633 !important;
}

.sf-menu.wh-menu-main .sub-menu li a:hover::before,
.sf-menu.wh-menu-main .sub-menu li.current-menu-item a::before,
.sf-menu.wh-menu-main .sub-menu li.current-page-ancestor a::before {
  color: #171633;
}

.row-relative.info-box-row .icon-position-right {
    position: absolute;
    top: 35px;
    right: 30px;
}

.row-relative.info-box-row h4,
.row-relative.info-box-row h5 {
  min-height: 105px;
  margin-right: 60px;
}

.row-relative .info-box-column {
  position: relative;
  top: -90px;
  z-index: 1;
}

.wh-page-title-bar {
  display: none;
}

.info-box-column.one h5,
.info-box-column.two h5,
.info-box-column.three h5 {
  min-height: 52px;
}

.info-box-column img {
  object-fit: cover;
  object-position: 0% 0%;
  height: 200px;
}

.info-box-column.three .vc_column-inner {
  padding: 0 !important;
  padding-top: 4px !important;
  border-left: 1px solid #eaeaea;
}

.homepage-news {
  border-bottom: 4px solid #171633;
}

.homepage-news h2 {
  position: absolute;
  right: 0;
  color: #171633;
}

.news-tabs .vc_tta-tabs-container {
  display: none !important;
}

.news-tabs .vc_tta-panels {
  background-color: transparent !important;
  padding-top: 50px !important;
}

.news-tabs .vc_tta-tabs-list li {
  margin: 0 !important;
}

.news-tabs .vc_tta-tabs-list li.vc_active a,
.news-tabs .vc_tta-tabs-list li.vc_active a:hover,
.news-tabs .vc_tta-tabs-list li a:hover {
  background-color: #171633 !important;
}

.news-tabs .vc_tta-tabs-list li.vc_active a span {
  color: white !important;
}

.news-tabs .vc_tta-tabs-list li.vc_active a:hover span,
.news-tabs .vc_tta-tabs-list li a:hover span {
  color: #fcc92f !important;
}

.news-tab-image .wpb_single_image {
  margin-bottom: 0 !important;
}

.news-tab-image .vc_column-inner {
  padding-bottom: 0 !important;
}

.news-tab-image figure,
.news-tab-image figure div {
  margin-top: 30px !important;
  display: block !important;
  text-align: center;
}

.homepage-alumni-left .wpb_wrapper {
  text-align: right;
}

.homepage-alumni-right-content em {
  font-size: 44px !important;
}
.homepage-alumni-right-content .vc_column-inner {
  margin-top: -335px !important;
}

.wh-footer,
.footerest {
  background-color: #171635 !important;
  color: white !important;
  font-family: "Libre Franklin";
}

.wh-footer .widget-content {
  padding-top: 30px;
  float: left;
  width: 24%;
  margin-left: 1%;
}

.wh-footer .widget-content:nth-of-type(5) {
  width: 74%;
  margin-left: 26%;
  padding-top: 0;
}

.wh-footer .widget_text.widget-content img {
  width: 80%;
  height: auto;
}

.wh-footer .wh-footer-widgets .cbp-container .widget-content:nth-of-type(1),
.wh-footer .wh-footer-widgets .cbp-container .widget-content:nth-of-type(2) {
  padding-top: 0;
}

.wh-footer a {
  color: white;
}

.wh-footer h3.widget-title {
  color: white;
  padding-left: 10px;
  border-left: 3px solid #f8d72a;
  line-height: 30px;
}

.wh-footer h4 {
  color: #f8d72a;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 30px;
  font-weight: 500;
}

.wh-footer .wh-footer-widgets ul{
  margin: 0;
  padding: 0;
}

.wh-footer .wh-footer-widgets .slogan {
  padding: 0;
  margin: 20px 20px 10px 62px;
}

.wh-footer .wh-footer-widgets ul.socials {
  padding: 0;
  margin: 10px 20px 20px 62px;
}

.wh-footer .wh-footer-widgets ul li {
  list-style: none;
  margin-left: 0;
  font-size: 14px;
  line-height: 30px;
}

.wh-footer .wh-footer-widgets ul.socials li {
  display: inline-block;
  min-width: 20px;
}

.wh-footer .wh-footer-widgets ul.socials li img.webmail {
  height: 14px;
  width: auto;
}

.wh-footer .wh-footer-widgets ul li i {
  color: #bbe3f4 !important;
}

.wh-footer .wh-footer-widgets ul.contacts li i,
.wh-footer .wh-footer-widgets ul.openhours li i {
  margin-right: 10px;
}

.wh-footer .wh-footer-widgets ul.openhours li {
  display: inline-block;
  margin-right: 20px;
}

.footerest {
  padding-bottom: 10px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}

.footerest .copyrights,
.footerest .powered {
  float: left;
  width: 50%;
}

.footerest .copyrights-menu ul {
  margin: 0;
  padding: 0;
}

.footerest .copyrights-menu ul li {
  display: inline-block;
}

.footerest .copyrights-menu ul li a {
  color: white !important;
}

.footerest .copyrights,
.footerest .powered {
  float: left;
  width: 50%;
}

.footerest .powered {
  text-align: right;
}

.footerest .powered span a {
  padding: 5px 8px;
  color: white;
  background-color: orange;
  border: 2px solid orange;
  transition: all 250ms linear;
}

.footerest .powered span a:hover {
  padding: 5px 8px;
  background-color: white;
  color: orange;
  border: 2px solid orange;
}


#header-user-menu {
  float: right;
}

#header-user-menu .left {
  float: left;
  width: 167px;
  margin-top: 8px !important;
}

#header-user-menu .center {
  float: left;
  width: 44px;
  margin: 0 10px;
}

#header-user-menu .center img {
  width: 100%;
  height: auto;
}

#header-user-menu .right {
  font-family: "Libre Franklin";
  float: left;
  width: 200px;
}

#header-user-menu .right .user-fullname {
  font-family: "Libre Franklin";
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

#header-user-menu .right .user-username {
  font-size: 12px;
}

.wh-content {
  font-family: "Libre Franklin";
  position: static;
  min-height: 650px;
}

.wh-content .wh-content-inner {
  /* text-align: justify; */
}

.wh-sidebar .widget-title {
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: left;
  font-family: "Crimson Text";
  font-weight: 400;
  font-style: normal;
  font-size: 32px;
}

ul.menu-list {
  margin: 0;
  padding: 0;
}

ul.menu-list li {
  margin: 0;
  padding: 0;
  line-height: 30px;
  font-size: 14px;
  font-family: "Libre Franklin";
  transition: background-color 250ms linear;
  position: relative;
}

ul.menu-list li a {
  display: block;
  position: relative;
  color: rgba(23, 22, 51, 1);
  padding-left: 27px;
  transition: background-color 250ms linear;
}

ul.menu-list li a:before {
  content: '\f105';
  font-family: "FontAwesome";
  font-size: 14px;
  padding: 0 10px;
  display: inline-block;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

ul.menu-list li.selected,
ul.menu-list li:hover {
  color: rgba(23, 22, 51, 1);
  background-color: #bbe3f4;
}

.class-directors-grid .wpb_single_image,
.specialized-personnel .wpb_single_image,
.administrative-personnel .wpb_single_image,
.auxiliar-personnel .wpb_single_image {
  margin-bottom: 0;
}

.class-directors-grid h4,
.specialized-personnel h4,
.administrative-personnel h4,
.auxiliar-personnel h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 30px;
}

.class-directors-grid .wpb_text_column {
  font-size: 14px;
  min-height: 22px;
  margin-bottom: 0;
  text-align: left;
}

.specialized-personnel .wpb_text_column {
  font-size: 14px;
  min-height: 44px;
  margin-bottom: 0;
  text-align: left;
}

.administrative-personnel .wpb_text_column {
  font-size: 14px;
  min-height: 66px;
  margin-bottom: 0;
  text-align: left;
}

.auxiliar-personnel .wpb_text_column {
  font-size: 14px;
  min-height: 22px;
  margin-bottom: 0;
  text-align: left;
}

a.link-pdf:before {
  content: 'pdf';
  color: #fff;
  background-color: #F40F02;
  padding: 3px 8px;
  margin-right: 5px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 2px;
}

a.link-pdf:hover {
  color: #F40F02;
}

.wh-post-item .thumbnail img {
  width: 100%;
  height: 186px;
  object-fit: cover;
}

.tribe-events .tribe-events-calendar-month__calendar-event {
    margin: 8px 0;
    padding: 0 8px;
    position: relative;
}

.tribe-events-calendar-month__calendar-event-details {
  border-left: 3px solid #bbe3f4 !important;
  padding-left: 5px !important;
}

.tribe-events-calendar-month__calendar-event-title a {
  font-size: 12px !important;
  line-height: 14px !important;
}

.wpcf7-acceptance {
  display: block;
  margin-bottom: 10px;
}

.wpcf7-acceptance input {
  margin-right: 10px;
}

li.mobile-netgiae a {
  display: block;
  color: transparent !important;
  background-image: url('https://www.epmacau.edu.mo/wp-content/uploads/2020/10/net-giae.png');
  background-repeat: no-repeat;
  background-position: center;
  font-size: 30px !important;
}
