/* new CSS for Matric */

/**
Theme Name: Matric
Author: Kurt Wyngaard
Author URI: https://kurtwyngaard.co.za/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: matric
Template: astra
*/

#primary-menu {
	text-transform: uppercase;
	font-family:"Work Sans",Sans-serif;
	
}
.main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button{
	text-transform:uppercase;
	font-size:1em;
	font-weight:700;
}
@media (max-width: 360px) {
  .hero-heading.elementor-widget.elementor-widget-heading > div > h2 {
    font-size: 22px;
  }
  #post-4265 > div > div > div > div > section.elementor-element.elementor-element-2f3bfc7.elementor-section-full_width.elementor-section-height-min-height.elementor-section-content-middle.elementor-section-height-default.elementor-section-items-middle.elementor-section.elementor-top-section > div.elementor-container.elementor-column-gap-no > div > div > div > div > div.elementor-element.elementor-element-ff5bacf.hero-subtitle.elementor-widget.elementor-widget-heading > div > h3 {
    font-size: 14px;
  }
}

div .ast-row a{font-weight:500 !important;}
div .ast-row a:hover{font-weight:500 !important;
color:#264365;}

/* -----------------------------------------

	Explore your options menu on home page

   ----------------------------------------- */

.explore-menu #menu-options,
.explore-menu #menu-info {
	list-style: none;
}

.explore-menu .menu-item {
  border: 1px solid white;
  border-bottom: none;
  padding: 20px;
  text-align: center;
  width: 60%;
  margin: auto;
	background-color:#264365;
}

.explore-menu .menu-item:hover {
	background: #43648B;
}

.explore-menu #menu-item-8438,
.explore-menu #menu-item-8515 {
	border-bottom: 1px solid white;

}

.explore-menu .menu-item > a {
  color: #fff;
  font-family: "Work Sans", Sans-serif;
  font-size: 18px;
  text-decoration: none;
	text-transform:uppercase;
}

@media (max-width: 767px) {
  .explore-menu .menu-item {
    width: 100%;
  }
}

.matric-content-menu {
  width: 100%;
/*  display: inline-block;*/
}


/* -----------------------------------
 Gravity form styles
-------------------------------------- */

/* Styling Gravity Forms - Begin */

/* standard text field (input) – applies to all forms */
body .gform_wrapper .gform_body .gform_fields .gfield input[type=text] {
	width: 100%;
	border:rgba(0,0,0,.3) 1px solid;
	margin-bottom: 10px;
	border-radius: 10px;
	padding: 10px !important;
	font-size:16px;
}

body .gform_wrapper ul li {
	margin-top:0px !important;
	padding-right:0px;
}

/* standard drop-down field (select) – applies to all forms */
body .gform_wrapper .gform_body .gform_fields .gfield select {
  width: 100%;
  height: 100%;
  border:rgba(0,0,0,.3) 1px solid;
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 10px !important;
	font-weight:500;
}

/* submit button – applies to all forms */
body .gform_wrapper .gform_footer input[type=submit] {
	background: #BA1B1B;
	color: #fff;
	font-weight: 700;
    font-size: 18px;
	text-transform:uppercase;
	transition: all .125s ease-in;
	padding: .5em 1.2em;
	width: 100%;
	border-radius:10px !important;
	box-sizing: border-box;
	padding: 10px;

}

body .gform_wrapper .gform_footer input[type=submit]:hover {
	background: #EF5C5C;
}

/* standard paragraph field (textarea) – applies to all forms */
body .gform_wrapper .gform_body .gform_fields .gfield textarea {
  width:100%;
  border-radius:10px;
  border:rgba(0,0,0,.3) 2px solid;
  box-sizing:border-box;
  padding: 10px;
  color: #999;
  margin-bottom: 5px;
	text-transform:uppercase;
}

#input_6_6,
#input_6_7 {
    text-align: left;
    font-size: 18px;
    font-weight: 500;
}

.gform_wrapper #input_6_6 li label,
.gform_wrapper #input_6_7 li label {
	max-width: 100%;
	text-align:left;
	padding-right:30px;
}

.gform_wrapper {
    font-family: "Work Sans", Sans-serif;
    color: #75758a;
    font-weight: 400;
}

/* Styling Gravity Forms - End */

/* -----------------------------------
	Tab Styles
-------------------------------------- */

.custom-tab .elementor-element .elementor-tab-content {
    border-top: none;
    border-width: 0;
}

.custom-tab .elementor-tabs-wrapper .elementor-active {
/*.custom-tab div.elementor-tab-title .elementor-active {*/
    background: #264365;
    border: none;
    color: #fff !important;
}

.custom-tab div.elementor-tab-title {
    background: #43648B;
    border: none;
    color: #fff !important;
    width: 1%;
    border-right: 1px solid #264365;
}

.custom-tab div.elementor-tab-title::before,
.custom-tab div.elementor-tab-title::after {
    border-width: 0;
}

.custom-tab div.elementor-tabs-content-wrapper {
	margin-top: 1px;
    border-top: none;
    border: 1px solid #BA1B1B;
}

@media (max-width: 767px) {
  .custom-tab div.elementor-tab-title {
    width: 100%;
  }
}
/* Tab Styles - End */

/* -----------------------------------
  Content Page Styles
-------------------------------------- */

.matric-h1 {
    position: absolute;
    color: #fff;
    font-size: 39px;
    text-align: center;
    top: 40%;
}

.matric-content-hero-overlay {
  background-color: #000000;
  opacity: 0.5;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  height: 100%;
  width:100%;
  position: absolute;
}

#matric-content-hero {
  height: 480px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: 100%;
  border-style: solid;
  border-width: 0px 0px 10px 0px;
  border-color: #BA1B1B;
  position: relative;
}

.matric-hero-buttons {
  position: relative;
  display: grid;
  grid-template-columns: 50% 50%;
  width: 75%;
  top: 15%;
}

.matric-hero-buttons div {
  padding: 10px;
}

.matric-hero-button {
  font-family: "Work Sans", Sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.matric-hero-button button {
  width: 100%;
  background-color: rgba(140,204,0,0);
  border-radius: 10px 10px 10px 10px;
  padding: 4% 4% 4% 4%;
  border-style: solid;
  border-width: 2px 2px 2px 2px;
  border-color: #ffffff;
}

.matric-hero-button button:hover {
  background-color: rgba(255,255,255,0.26);
}

.matric-content-button {
  width: 100%;
  /*text-decoration: underline;*/
  border: none;
  border-radius: 0;
  background: black;
}

.matric-content-button:hover {
  background: black;
}
.matric-content-button h5 {
  color: white;
  font-family: 'Montserrat',sans-serif;
  font-weight: 300;
  font-size: 18px;
}

.container {    
  display: grid;
  grid-template-columns: 33.3% 33.3% 33.3%;
}

.matric-content-menu-footer {
  background-image: url(https://www.matric.co.za/wp-content/uploads/2019/06/adult-blur-chair-196649-1.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.matric-content-menu-div {
  /*background-color: #00b9b1;*/
  display: grid;
  grid-template-columns: 50% 50%;
  padding: 45px 0;
  position: relative;
}

@media (max-width: 767px) {
  #matric-content-hero {
    height: 230px;
  }
  .matric-content-menu-div,
  .container,
  .matric-hero-buttons {    
    display: grid;
    grid-template-columns: 100%; 
  }
  .matric-hero-buttons {
    top: 20%;
  }
  .matric-content-btn-outskirts {
    /*background-color: #8ccc00;*/
    border-right: none;
    border-bottom: 1px solid #fff;
  }
  .matric-h1 {
    top: 5%;
    padding: 0 15px;
  }
}

.matric-content-btn-outskirts {
  /*background-color: #8ccc00;*/
  border-right: 1px solid #fff;
}

/*.matric-content-btn-outskirts:hover {
  background-color: #42a400;
}*/

.matric-content-menu-div h2 {
  text-align: center;
  margin-bottom: 25px;
  color: black;
}

.matric-content-menu-footer-overlay {
  background-color: #ffffff;
  opacity: 0.9;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
}

.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single {
  padding: 0;
}

/* -----------------------------------
  Sidebar form
-------------------------------------- */

#gform_widget-2 {
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #999999;
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  border-radius: 10px 10px 10px 10px;
  padding: 15px;
}

/* -----------------------------------
Exit Popup Styling
-------------------------------------- */
.jet-popup.jet-popup--front-mode .jet-popup__container-inner {
	background:none;
}

.jet-popup.jet-popup--front-mode .jet-popup__overlay {
	background-color:rgba(0,0,0,0.8)
}