/*======================================
Theme Name: TEP
Theme URI: https://divicake.com/
Description: DIVI Theme for TEP
Version: 1.0
Author: GruffyGoat
Author URI: https://gruffygoat.com/
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Covered+By+Your+Grace&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');
@font-face {
	font-family: 'vtc_martinking';
	src: url('fonts/vtcmartin-king-webfont.woff2') format('woff2'), url('fonts/vtcmartin-king-webfont.woff') format('woff'), url('fonts/vtcmartin-king-webfont.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

html {
	font-size: 1rem;
	background-color: #efefef;
}

body {
	max-width: 1920px;
	margin: 0 auto;
}
/* ::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
  background: #000; 
} */
#menu-primary .sub-menu{
	display:none;
}
.tep-hamburger {
    width: 35px;
    position: relative;
	background-color: cream; 
}

body.free-vertical-navigation-body-tag .free-hamburger-icon .mobile_menu_bar:before {
    font-size: 50px;
    top: 0!important;
}


.tep-content h1 {
	font-family: 'vtc_martinking';
	font-size: 4.5rem;
	line-height: 1.3;
	letter-spacing: 0.2px;
	font-weight: 400;
}
.tep-site-content h1,
.tep-site-content h2,
.tep-site-content h3,
.tep-site-content h4,
.tep-site-content h5,
.tep-site-content h6,
.tep-site-content p,
.tep-site-content span,
.tep-site-content li,
.tep-site-content ol,p, ol li, ul li {
	color:#000;
}
footer p {
    color: #fff;
}
h1, h2, h3, h4, h5, h6{
	color:#000;
}
.tep-header {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	width: 100%;
	margin: auto;
}

.home header.et-l--header {
	position: absolute !important;
	left: 0 !important;
	width: 100% !important;
}
.et_pb_row.et_pb_row_1_tb_header.slide-in-menu-container {
		width: 100%;
		overflow-y: auto;
}
.et_pb_row_1_tb_header {
	left: auto !important;
	right: -600px !important;
}

.tep-content.blue h1 {
	color: #63D5F9;
}


/* Menu code starts here */

#slide-in-open {
	cursor: pointer;
}

.tep-header .et_pb_row_1_tb_header.et_pb_row {
	padding-top: 40px!important;
}

.tep-working-steps a.et_pb_button.et_pb_promo_button,
.tep-working-steps-left a.et_pb_button.et_pb_promo_button {
    background: #000;
    font-family: 'Barlow';
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #000;
    border-radius: 0;
    font-size: 1.25rem !important;
    letter-spacing: 2px;
}

.tep-working-steps a.et_pb_button.et_pb_promo_button:hover,
.tep-working-steps-left a.et_pb_button.et_pb_promo_button:hover,
a.register-btn:hover  {
	background: #13ace5;
	border: 1px solid #13ace5;;
}
a.register-btn {
    margin-top: 20px;
    background: #000;
    font-family: 'Barlow';
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #000;
    border-radius: 0;
    color: #fff;
    padding: 0.55em 1em;
    font-size: 1.25rem;
    line-height: 1.2 !important;
	letter-spacing:2px;
}
.line {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: #000;
	border-radius: 9px;
	opacity: 1;
	-webkit-transition: .1s ease-in-out;
	-moz-transition: .1s ease-in-out;
	-o-transition: .1s ease-in-out;
	transition: .1s ease-in-out;
}

.line-2 {
	top: 10px;
}

.line-3 {
	top: 20px;
}
.menu-cross {
	width: 32px;
	
}
.menu-cross img {
	cursor: pointer;
}
/* .menu-cross span {
	width: 100%;
	height: 2px;
	background-color: #000;
	transform-origin: left;
	transition: all 1s ease;
}
.menu-cross span:first-child {
    background-color: #000;
	transform: rotate(45deg);
}
.menu-cross span:nth-child(2) {
    opacity:0;
}
.menu-cross span:last-child {
    background-color: #000;
	transform: rotate(-45deg);
} */

#slide-in-open.open .line-2,
#slide-in-open.open .line-1,
#slide-in-open.open .line-3 {
    opacity: 0;
}

.slide-in-menu {
	right: 0 !important;
	opacity: 1 !important;
}

.slide-in-menu-container {
	-webkit-transition: all 0.5s ease !important;
	-moz-transition: all 0.5s ease !important;
	-o-transition: all 0.5s ease !important;
	-ms-transition: all 0.5s ease !important;
	transition: all 0.5s ease !important;
}
.slide-menu-close-icon {
    padding: 0 0 20px 40px;
}

/* Menu code ends here */

.tep-teaser-section .tep-content.blue h1 {
	color: #63D5F9;
	padding-left: 60px;
}
.tep-teaser-section .tep-content.lbrown h1 {
	color: #D3AC81;
	padding-left: 160px;
}
.tep-teaser-section .tep-content.pink h1 {
	color: #FBB9C5;
	padding-left: 260px;
}

.tep-content.pink h1 {
	color: #FBB9C5;
}
.tep-content.pink,
.tep-content.pink h1, 
.tep-content.pink h2, 
.tep-content.pink h3, 
.tep-content.pink h4, 
.tep-content.pink h5, 
.tep-content.pink h6{
	color: #FBB9C5;
}
.tep-content.blue,
.tep-content.blue h1,
.tep-content.blue h2,
.tep-content.blue h3,
.tep-content.blue h4,
.tep-content.blue h5,
.tep-content.blue h6{
	color: #63D5F9;
}
.tep-content.brown,
.tep-content.brown h1,
.tep-content.brown h2,
.tep-content.brown h3,
.tep-content.brown h4,
.tep-content.brown h5,
.tep-content.brown h6{
	color: #D3AC81;
}
.tep-main-heading-blue h2,
.tep-main-heading-brown h2,
.tep-main-heading-pink h2 {
	font-size: 4.375rem;
	color: #000;
	line-height: 1;
	letter-spacing: 0.2px;
	font-family: 'vtc_martinking';
	max-width: 320px;
	padding: 10px;
}
.tep-page-headings h1 {
	font-size: 4.375rem;
	color: #000;
	line-height: 1;
	letter-spacing: 0.2px;
	font-family: 'vtc_martinking';
	padding: 10px 0px 0px 10px;
	text-transform:uppercase;
}

.tep-news-section h2.entry-title {
    font-size: 1.875rem;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.1px;
    font-family: 'Barlow', sans-serif;
    display: inline;
    position: relative;
    background-image: linear-gradient(45deg, #FBB9C5, #FBB9C5);
    background-size: 0% 30px;
    background-position: left;
    background-repeat: no-repeat;
    transition: 0.5s all ease;
}

.tep-news-section p.post-meta {
	margin: 20px 0;
}

.tep-news-section h2.entry-title:hover{
    background-size: 100% 30px;
	transition: all ease .2s;
}

.tep-news-section article {
    border-bottom: 8px #d7d7d7 solid;
    margin-bottom: 20px !important;
    padding-bottom: 40px;
}

.tep-main-heading-blue h2,
.action-teaser.blue{
	background-color: #63D5F9;
}

.tep-main-heading-brown h2,
.action-teaser.brown{
	background-color: #D3AC81;
}
.tep-main-heading-pink h2,
.action-teaser.pink{
	background-color: #FBB9C5;
}

.tep-content.action-teaser h2 {
    color: #000;
}
.action-teaser {
    padding: 20px;
    border-top: 9px solid #000000;
    min-height: 250px;
}
.action-teaser:hover{
    background: #000;
	
}
.action-teaser:hover h2{
	color:#fff;
}
.tep-content h2 {
	font-family: 'vtc_martinking';
	font-size: 2.75rem;
	line-height: 1.1;
	letter-spacing: 1px;
	font-weight: 400;
	
}
.tep-news-single, .tep-single-event {
    max-width: 790px;
    margin: 0 auto;
    padding: 0 20px !important;
}
.single-news-head h3 {
    padding-bottom: 5px !important;
    text-transform: uppercase;
    padding-top: 3px;
}
body.left-triband .et_pb_section,
body.single-post .et_pb_section,
body.right-triband .et_pb_section,
body.single-tribe_events .et_pb_section{
    position: relative;
    background-color: transparent;
    background-position: 50%;
    background-size: 100%;
    background-size: cover;
}
.single-news.tep-content h2,
.tep-single-event .tep-content h2{ 
	font-family: 'vtc_martinking';
	font-size: 3.5rem;
	line-height: 1.2;
	letter-spacing: 1px;
	font-weight: 400;
	color:#000;
}
.single-news .single-title {
    padding: 30px 0;
}
.tep-single-event h5 {
    text-align: right;
	line-height:1 !important;
}
.tep-single-event .et_pb_title_container {
    padding-top: 30px;
}
.single-news.tep-content p,
.single-news.tep-content span {
	color:#000;
}
.tep-content h3 ,
.story-accordian h4::after{
	font-family: 'Barlow', sans-serif;
	font-size: 1.875rem;
	line-height: 1.2;
	letter-spacing: 0.1px;
	font-weight: bold;
}

.tep-content h4 {
	font-family: 'Barlow', sans-serif;
	font-size: 1.5rem;
	line-height: 1.3;
	letter-spacing: 1px;
	font-weight: bold;
}

.tep-content h5 {
	font-family: 'Barlow', sans-serif;
	font-size: 1.4rem;
	line-height: 1.4;
	letter-spacing: 0.1px;
	font-weight: 700;
}

.tep-teaser-section h6,
.recruitment-section h5,
.donate-section p {
	color: #fff;
	margin: 0 auto;
}

.tep-teaser-section h5 {
	max-width: 685px;
	color: #fff;
}

.recruitment-section h5,
.donate-section p {
	max-width: 850px;
}

.tep-teaser-section h6 {
	padding-left: 30px;
	border-left: solid #8d8d8d 4px;
	border-right: solid #8d8d8d 4px;
	padding-right: 30px;
	max-width: 860px;
	margin: 0 auto;
	padding-bottom: 0;
	line-height: 1;
}

.tep-content h6 {
	font-family: 'Barlow', sans-serif;
	font-size: 1.25rem;
	line-height: 1.2;
	letter-spacing: 0.1px;
	font-weight: 700;
}

.tep-content p {
	font-family: 'Barlow', sans-serif;
	font-size: 1.25rem;
	line-height: 1.4;
	letter-spacing: 0.3px;
	font-weight: normal;
}

.tep-teaser-section {
	position: relative;
}

.tep-teaser-section::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 25px solid transparent;
	border-right: 25px solid transparent;
	border-top: 25px solid #000;
	bottom: -25px;
	z-index: 99;
	left: 0;
	position: absolute;
	right: 0;
	margin: auto;
}


.et_pb_widget.widget_nav_menu {
	width: 100% !important;
}

.menu li {
	line-height: 1 !important;
	margin: 0 !important;
}

.tep-content p,
.tep-content ul li,
.tep-content ol li ,
.tep-content ul li a,
.tep-content ol li a{
	font-family: 'Barlow', sans-serif;
	font-size: 1.25rem;
	line-height: 1.4;
	letter-spacing: 0.1px;
	font-weight: 400;
	margin-bottom:1rem
}


.tep-content ol {
    list-style-position: outside;
    padding-left: 20px;
}
.tep-content ol li {
    line-height: 1.4 !important;
}
footer h6,
.tep-news h5,
.tep-content.donate-heading h4,
.tep-content.white h2{
	color: #fff !important;
}
.tep-content.grey h6{
	color: #BABABA;
	
}
span.brown {
	color:#D3AC81;
}

.tep-content.small p,
.tep-news-section p.post-meta {
	font-family: 'Barlow', sans-serif;
	font-size: 1rem;
	line-height: 1.2;
	letter-spacing: 0.2px;
	font-weight: 400;
}


.tep-content ul {
	list-style: none;
	padding-left: 0;
	margin-top: 0px;
	font-family: 'Barlow', sans-serif;
}

footer .tep-content.medium.address p {
	line-height: 1.3;
}

footer ul li a {
	text-decoration: underline;
	line-height: 1.8 !important;
}

.tep-content.tep-callout h2 {
	font-family: 'Covered By Your Grace', cursive;
	font-size: 5rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 1px;
	color:#000;
}

.tep-social {
	max-width: 260px;
}

.tep-social-header {
	max-width: 215px;
}

.tep-content.tep-callout-medium p {
	font-family: 'Covered By Your Grace', cursive;
	font-size: 2.5rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.2px;
}

.hero-main {
	display: flex;
	justify-content: center;
	align-items: center;
	background-size: auto 100% !important;
	background-position: right center !important;
}
.hero-main .et_parallax_bg {
	background-position: center top;
}

.hero-heading-tep .hero-section {
	max-width: 570px;
}
.hero-heading-tep h1 {
    font-size: 5rem;
    line-height: 1.2;
    font-family: 'vtc_martinking';
    display: inline;
    background-image: linear-gradient(45deg, #000000, #000000);
    background-position: center center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background-size: 100% 90px;
    padding: 15px;
}
footer .et_pb_social_media_follow li a {
	margin: 0px 20px 10px 0px!important;
}
.tep-working-steps {
	background: #fff;
	position: relative;
	left: -65px;
	margin-top: 65px;
}
.tep-working-steps-left {
	background: #fff;
	position: relative;
	right: -65px;
	margin-top: 65px;
	z-index: 2;
}
.tep-bt-blue {
	border-top: 7px solid #63D5F9;
}
.tep-bt-light-brown {
	border-top: 7px solid #D3AC81;
}
.donate-section h1,
.recruitment-section h1 {
	color: #D3AC81 !important;
}
.tep-bt-pink {
	border-top: 7px solid #FBB9C5;
}
.tep-bt-dark-brown {
	border-top: 7px solid #81552C;
}
.tep-content-img,
.tep-content-right-col {
	z-index: 1;
}
.tep-working-steps h2,
.tep-working-steps-left h2 {
	color: #000 !important;
	margin-bottom: 20px;
}
.tep-working-steps p,
.tep-working-steps-left p {
	color: #333;
	margin-bottom: 20px;
}
.tep-working-steps.tep-bt-blue,
.tep-working-steps-left.tep-bt-light-brown,
.tep-content.tep-working-steps-left.tep-bt-dark-brown,
.tep-content.tep-working-steps.tep-bt-pink {
	background: #fff;
	transition: 0.3s all;
}

.tep-working-steps.tep-bt-blue:hover {
    background: #d8f6ff;
}
.tep-working-steps-left.tep-bt-light-brown:hover {
    background: #fff0e0;
}
.tep-content.tep-working-steps.tep-bt-pink:hover {
    background: #fceff2;
}
.tep-content.tep-working-steps-left.tep-bt-dark-brown:hover {
    background: #D3AC81;
}


.tep-menu-border {
	position: relative;
}
.tep-menu-border:after {
	position: absolute;
	width: 100%;
	content: "";
	height: 4px;
	background: #d3ac81;
	bottom: 0;
	left: 0;
}
.menu-open {
	display:block !important;
}
.menu span.menu-closed.menu-open:before {
	content: "\4b";
}
.menu span.menu-closed:before {
	content: "\4c";
	display: block;
	color: #000;
	font-size: 26px;
	font-family: ETmodules;
}
.menu .sub-menu {
/* 	display:block !important; */
	margin: 0 !important;
}
/* i.fas.fa-plus,i.fas.fa-minus {
    position: absolute;
    right: 0;
    top: 0;
	font-size:24px;
	cursor:pointer;
}
i.fas.open {
	color: red;
} */

/* .minus-icon{
	content: "\f068";
	font-family: "Font Awesome 5 Brands";
} */
/* .plus-icon{
	content: "\f067";
	font-family: "Font Awesome 5 Brands";
} */

.menu .menu-item-has-children {
	position: relative;
}
.et_pb_row.et_pb_row_1_tb_header.slide-in-menu-container {
	width: 550px;
}
/* For Error Page */
.error404 #page-container #et-boc .et-l 
 .et_pb_row.et_pb_row_1_tb_header.slide-in-menu-container {
    width: 550px;
}
.error404 #page-container #et-boc .et-l .tep-header .et_pb_row_1_tb_header.et_pb_row {
    padding-top: 40px!important;
}
.story-accordian .et_pb_toggle.et_pb_module.et_pb_accordion_item.et_pb_accordion_item_0 {
    border-top: 3px solid #fff !important;
}
.menu .menu-item-has-children > a + span {
	position: absolute;
	right: 10px;
	top: 11px;
	padding: 0px 6px;
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
	z-index: 3;
}
ul#menu-primary {
	padding: 0 20px 0 40px !important;
}
ul#menu-primary li a {
	font-size: 1.875rem !important;
	line-height: 1.4 !important;
	color: #000 !important;
	font-family: 'Barlow', sans-serif;
	font-weight: bold;
	display: block;
	padding-bottom: 15px;
}
ul#menu-primary .sub-menu li a {
	font-size: 1.5rem !important;
	line-height: 1.5!important;
	color: #000 !important;
	font-family: 'Barlow', sans-serif;
	font-weight: 400 !important;
	margin: 10px 0 10px 20px;
    padding: 0;
}
ul#menu-primary li a:hover,
ul#menu-primary .sub-menu li a:hover{
	color: #D3AC81 !important;
}
.et_pb_social_media_follow li a.icon:hover:before {
	color: #fff !important;
}

/* ########################################
 * ############## NEWS PAGE  ##############
 * ###################################### */
.tep-news h1 {
	color: #FBB9C5;
	text-transform:uppercase;
	font-size: 6.5rem;
}
.tep-content.action h1 {
	color: #63D5F9;
}
.tep-content.projects h1 {
	color: #D3AC81;
	line-height:0.75;
}
.tep-content.projects h5 {
	padding-top:20px;
}
.news-item a h3{
    display: inline;
    position: relative;
    background-image: linear-gradient(45deg, #FBB9C5, #FBB9C5);
    background-size: 0% 30px;
    background-position: left;
    background-repeat: no-repeat;
    transition: 0.5s all;
}

.event-item a h3,.tep-events h3  {
    display: inline;
    position: relative;
    background-image: linear-gradient(45deg, #B2EDFF, #B2EDFF);
    background-size: 0% 30px;
    background-position: left;
    background-repeat: no-repeat;
    transition: 0.5s all;
}
.news-title-wrap {
	min-height:200px;
}
.tep-news.home .news-title-wrap {
	min-height:0px;
	padding-bottom:20px;
}
.tep-news.home .news-item a {
	min-height:0;
	padding: 0 0 20px 0;
}
.news-item a{
	display:block;
	border-bottom: 8px solid #C4C4C4;
	min-height:260px;
}
.event-dates {
    padding: 20px 0;
}
.event-dates h4{
    padding-bottom:0 !important;
}
.event-item a {
	display:block;
	border-bottom: 8px solid #C4C4C4;
	min-height:500px;
}
.news-item a:hover h3,
.event-item a:hover h3,
.tep-events h3:hover {
    background-size: 100% 30px;
}
.news-item a:hover,
.event-item a:hover{
	border-bottom: 8px solid #000000;
	transition:1s all ease;
}
.tep-news span{
	display:block;
	color:#000;
}
.tep-news.home .tep-news span {
    display: block;
    color: #000;
    padding: 20px 0 !important;
}
.tep-news,
.tep-events{
    display: flex;
	flex-wrap:wrap;
}
.tep-news.home .news-item {
    flex: 100%;
    padding: 0px 0px 30px 0px;
	margin-bottom: 0px;
}
.news-item,
.event-item{
    flex: 0 0 33.3%;
	padding:0 20px;
	margin-bottom: 40px;
}
.news-item:hover .news-item,
.event-item:hover .event-item{
	 border-bottom: 8px solid #000000;
}
.facetwp-pager {
    display: flex !important;
    justify-content: center !important;
}
a.facetwp-page {
    border: 1px solid #E2E5E6;
	padding:5px 11px;
	font-family: 'Abel', sans-serif;
	font-size: 1rem;
	line-height: 1.2;
	letter-spacing: 0.2px;
	font-weight: 400;
	color: #000000;
}
a.facetwp-page:hover {
    background: #63D5F9;
    color: #fff;
}
.facetwp-page.active {
	background:#000;
	color:#fff;
}
.et_pb_toggle_close h4.et_pb_toggle_title:before {
    content: "\50" !important;
	font-weight:600;
}
.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
    display: block !important;
}
.et_pb_toggle_open h4.et_pb_toggle_title:before {
    content: "\4f";
    position: absolute;
    right: -4px;
    font-size: 24px;
	font-weight:600;
    color: #000;
    top: 50%;
    margin-top: -.5em;
	font-family:ETmodules!important;
}
body {
    counter-reset: tips;
}
.story-accordian h4,
.story-accordian .et_pb_toggle_content{
	padding-left:100px !important;
}
.story-accordian h4::after {
    counter-increment: tips;
    content: counter(tips);
    left: 0;
    position: absolute;
    top: 0;
	font-family: 'Barlow', sans-serif;
	font-size: 1.875rem;
	line-height: 1.2;
	letter-spacing: 0.1px;
	font-weight: bold;
	background-color:#fff;
	height:70px;
	width:70px;
	border-radius:50px;
	display:flex;
	align-items: center;
	justify-content:center;
}
.story-accordian .et_pb_toggle {
    border: 1px solid transparent;
}

#main-content {
    background-color: transparent !important;
}
body.left-triband,
body.single-post,
body.single-tribe_events{
    background: url(/wp-content/uploads/2021/12/left-triband.png);
    background-position: left top !important;
    background-size: 1000px auto !important;
    background-color: #fff;
}
body.right-triband {
    background: url(/wp-content/uploads/2021/12/right-triband.png);
    background-position: right top !important;
    background-size: 1000px auto !important;
    background-color: #fff;
}

.et_pb_toggle_close, .et_pb_toggle_open {
    background-color: #f4f4f4;
    padding: 20px 0px 40px 0px !important;
}

.tep-events.tep-content {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 8px #000 solid;
    padding-bottom: 50px;
}
.tep-events.tep-content.tep-no-events {
	margin: 0 auto;
}
.tep-events-left h4 {
    padding-bottom: 0;
}
.tep-events-left h4:nth-child(2) {
    margin-bottom: 40px;
}
.tep-events-left {
    flex: 0 0 50%;
    padding-right: 15px;
}
.tep-events-right {
    flex: 0 0 50%;
    padding: 15px 0 15px 15px;
}
.event-image img {
    height: 206px;
    object-fit: cover;
}
/* ######################################### 
 * ############# RESPONSIVE ###############
 * #########################################*/
@media only screen and (min-width:768px) and (max-width: 1400px) {
	.tep-teaser-section .tep-content.lbrown h1,
	.tep-teaser-section .tep-content.pink h1,
	.tep-teaser-section .tep-content.blue h1 {
		padding-left: 0px;
	}
	.et_pb_row.et_pb_row_1_tb_header.slide-in-menu-container {
		width: 470px;
	}
}


@media only screen and (min-width:981px) and (max-width: 1300px){
	body.right-triband {
    	background-size: 700px auto !important;	
	}
}


@media only screen and (max-width: 980px) {
	html {
		font-size: 0.9rem;
	}
	
	.tep-working-steps,
	.tep-working-steps-left{
		left: 0;
		margin-top: 35px;
	}
	.tep-flex-order-row{
		display:flex;
		flex-direction:column;
	}
	.tep-img-order {
		order:1;
	}
	.tep-txt-order {
		order:2;
	}
	footer .et_pb_row_0_tb_footer {
		display: flex;
	}
	.tep-header .et_pb_column.et_pb_column_1_4 {
		margin-bottom: 0;
	}
	.hero-main .et_parallax_bg {
		background-position: -150px top;
	}
}
@media only screen and (max-width: 1024px) {
	.et_pb_row_3_tb_body.event-row-border {
		border-top-color: #6c6c6c !important;
	}
}

@media only screen and (min-width: 768px) and (max-width: 980px) {
	.hero-heading-tep h1 {
		background-size: 100% 80px;
	}
	body.right-triband {
    	background-size: 400px auto !important;
	}
}
@media only screen and (max-width: 768px) {
	html {
		font-size: 0.75rem;
	}
	.tep-content p,
	.tep-content ul li,
	.tep-content ol li ,
	.tep-content ul li a,
	.tep-content ol li a{
		
		font-size: 1.35rem !important;
	}
	body.right-triband {
    	background-size: 250px auto !important;
	}
	.tep-teaser-section .tep-content.lbrown h1,
	.tep-teaser-section .tep-content.pink h1,
	.tep-teaser-section .tep-content.blue h1{
		padding-left: 0px;
	}
	.tep-header .et_pb_row_1_tb_header.et_pb_row {
		padding-top: 30px !important;
	}
	.hero-heading-tep .hero-section {
		max-width: 300px;
	}
	footer .et_pb_row_0_tb_footer {
		flex-direction:column;
	}
	.hero-heading-tep h1 {
		font-size: 3.2rem;
		background-size: 100% 46px;
		line-height:1.35;
	}
	.et_pb_row.et_pb_row_1_tb_header.slide-in-menu-container {
		width: 100% !important;
	}
	.tep-news h1{
		font-size:3.5rem;
	}
	.tep-working-steps p,
	.tep-working-steps-left p {
		margin-bottom: 0px;
	}
	.news-item,.event-item {
		flex: 0 0 50%;
	}
	.event-item a {
		min-height: unset;
		padding-bottom:20px;
	}
	.news-item a {
		min-height: 200px;
	}
	.news-title-wrap {
		min-height: unset;
	}
	.story-accordian h4 ,
	.story-accordian .et_pb_toggle_content{
		padding-left: 60px !important;
	}
	.story-accordian h4::after {
		height: 50px;
		width: 50px;
	}
	.et_pb_toggle_close, .et_pb_toggle_open {
		background-color: #f4f4f4;
		padding: 20px 0px 40px 0px !important;
	}
	.tep-events.tep-content {
		flex-direction: column;
	}
	.tep-single-event h5 {
		text-align: left;
	}
	.menu .menu-item-has-children > a + span {
		top: 0;
	}
	.menu-cross {
		width: 20px;
	}
	.tep-news-single {
		padding: 0px !important;
	}
	 .tep-events-right {
		padding: 15px 0;
	}
	.et_pb_toggle_open h4.et_pb_toggle_title:before,
	.et_pb_toggle_close h4.et_pb_toggle_title:before{
		top: 28px;
		right:0;
	}	
	.hero-main .et_parallax_bg {
		background-position: center top;
	}
}
@media only screen and (max-width: 480px) {
	.tep-partner-logos .et_pb_column.et_pb_column.et_pb_column_1_4{
		width: 47.25% !important;
	}
	.story-accordian h4.et_pb_toggle_title{
		padding: 65px 0 0!important;
	}
	
	.news-item,.event-item {
		flex: 0 0 100%;
		padding: 0px 0px;
	}
	.news-item a {
		min-height: 100px;
	}
	.tep-news span {
		padding: 20px 0;
	}
	.story-accordian h4 ,
	.story-accordian .et_pb_toggle_content{
		padding-left: 0px !important;
	}
}