/*
 Theme Name:     ASA Child
 Theme URI:      https://www.activesouthayrshire.co.uk
 Description:    Active South Ayrshire
 Author:         IamAvenue
 Author URI:     https://IamAvenue.com
 Template:       Divi
 Version:        1.0.0
*/

/*****Add any custom CSS below this line*****/



/*COOKIES*/

.cli-tab-footer .wt-cli-privacy-accept-btn {
    background-color: #af5048!important;
	font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif!important;
    color: #ffffff;
    border-radius:5px!important;
	padding:15px !important
}

.cli-tab-container p, .cli-privacy-content-text {
	font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif!important;
    font-size: 14px;
    line-height: 1.5em;
    margin-top: 0;
    padding: 0;

}

.cli-tab-container h4, .cli-tab-container h1 {
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif!important;
    font-size: 24px!important;
	font-weight: 700 !important;
    margin-bottom: 15px;
    margin: 10px 0;
	color: #af5048;
}

a.cli-privacy-readmore {
	font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif!important;;
    font-size: 12px;
    margin-top: 12px;
    display: inline-block;
    padding-bottom: 0;
    cursor: pointer;
    color: #454545;
    text-decoration: underline;
}

.cli-tab-header a.cli-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #454545;
    text-transform: capitalize;
	font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif!important;
}

.wt-cli-cookie-description {
	font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif!important;
    font-size: 14px;
    line-height: 1.4em;
    margin-top: 0;
    padding: 0;
    color: #454545;
}

.cli-tab-section .cookielawinfo-row-cat-table td, .cli-tab-section .cookielawinfo-row-cat-table th {
    font-size: 12px;
	font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif!important;
}

span.cli-necessary-caption {
    color: #454545;
    font-size: 12px;
	font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif!important;
}

#cookie-law-info-bar {

    box-shadow: none!important;
}


.nav li ul {
border: none!important;
}



.ImageColumn .et_pb_image_wrap, .ImageColumn .et_pb_image_wrap img{
	max-width: none !important;
	height: 100% !important;
}
.TextImageRow {
  overflow: hidden;
}

.ImageColumn .et_pb_image {
text-align: center;
}


/* Toggle */

.et_pb_toggle {
    border-top: 1px solid #d9d9d9;
	border-bottom: 0 solid #d9d9d9;
	border-left: none;
	border-right: none;
	padding:15px 0 15px 0;
	background:none;
	margin-bottom:0!important;
}

.et_pb_toggle_title {
	font-family: 'Roboto', sans-serif!important;
	font-size:20px;
	line-height:28px;
	font-weight: 400;
	color:#454545;
}

.et_pb_toggle_title:before {
   	content: "\33"!important;
	font-size:24px;	
	color:#406243;
   	transition: all .3s ease-in-out;
}

.et_pb_toggle_open .et_pb_toggle_title:before {
   	content: "\33"!important;
	font-size:24px;	
	color:#406243;
   	transform: rotate(180deg);
}

/****** SLIDER *******/ 


.et_pb_slide .et_pb_slide_description .et_pb_slide_title {
   	font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif!important;
	font-size: 60px!important;
	line-height: 70px!important;
	letter-spacing:-1px!important;
    text-align: left!important;
	font-weight: 700;
}

/****** Vertically center rows in sections and modules in columns *******/ 
.dh-valign-center-row .et_pb_column,
.dh-valign-center-section,
.dh-valign-center-module {
   display: flex;
   flex-direction: column;
   justify-content: center;
}

/* Hide footer */

#main-footer {
    height: 0 !important;
    overflow: hidden;
}

/* Blog */

/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {background: none;}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}

/*.et_pb_blog_0 .et_pb_post .entry-title a, .et_pb_blog_0 .not-found-title {
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    color: #0052a0!important;
	font-size: 32px!important; 
	line-height: 36px!important;
}*/


.et_pb_post_content_0_tb_body {
    color: #464646!important;
    font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
	font-size:18px!important;
	line-height:28px!important;
    text-align: left;
    padding-right: 0px;
    padding-left: 0px;
	font-weight:400;
}

.single-post h2 {
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    color: #0052a0!important;
	font-size: 32px!important; 
	line-height: 36px!important;
	padding-bottom:20px!important;
}

.et_pb_blog_0 .et_pb_post .entry-title a {
	font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    color: #0052a0!important;
	font-size: 26px!important; 
	line-height: 1em!important;
}

.et_pb_blog_0 .et_pb_post .post-meta {
	padding-top:3px!important;
	padding-bottom:5px!important;
}

.post-content p {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	text-align: left;
	color: #333;
}


/*** Hide Sidebar ***/
#sidebar {display:none;}



/*place button modules next to each other in the same column*/
.pa-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}

/*Button*/

.et_pb_section .et_pb_button {
    color: #fff!important;
    border-width: 1px!important;
    border-radius: 0;
    font-size: 18px;
	font-weight:500;
    font-family: 'Roboto', sans-serif;
    /*background-color: rgba(0,0,0,0);*/
}

/* Full Width Button*/

@media screen and (max-width : 767px) {
.full-width-btn {
width: 100%;
text-align: center;
}
}

/*place button modules next to each other in the same column*/
.pa-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}


/*SLIDER*/
/*color highlights in text*/

.pa-color-highlight-magenta {
    text-decoration: none;
    box-shadow: inset 0 -.3em 0 #e71d73;
    color: inherit;
}

.pa-color-highlight-purple {
    text-decoration: none;
    box-shadow: inset 0 -.3em 0 #6f2e76;
    color: inherit;
}

.pa-color-highlight-lightblue {
    text-decoration: none;
    box-shadow: inset 0 -.3em 0 #36a9e1;
    color: inherit;
}

.pa-color-highlight-green {
    text-decoration: none;
    box-shadow: inset 0 -.3em 0 #95c11f;
    color: inherit;
}


.pa-color-highlight-darkgreen {
    text-decoration: none;
    box-shadow: inset 0 -.3em 0 #00933a;
    color: inherit;
}

.pa-color-highlight-underline-green {
    text-decoration: none;
    box-shadow: inset 0 -.1em 0 #95c11f;
    color: inherit;
}

/*add highlight around bold text*/
/*.pa-bold-highlight {
    padding: 0 5px;
    background-color: rgba(255,255,0,0.5);
}*/

.nav li li {
    position: relative;
    line-height: 22px;
}


.et_pb_text ul {
    list-style-type: disc;
    padding: 0 0 0 1em;
	text-align: left;
	margin-bottom:10px;
}

.et_pb_text ul li {
  	padding-bottom: 5px;
  	font-weight:400;
	font-family: 'Roboto', sans-serif;
	font-size: 18px!important;
	line-height: 26px;
	color:#fff;
}

/*text callout 1*/
.pa-callout {
  position: relative;
  color: #ffffff;
  background-color: #e03574;
  font-size: inherit;
  padding: .2em;
  margin: 0 0 0 0;
}

/*.pa-multi-line-highlight p {
	color: #ffffff;
	background-color: #6f2e76;
	line-height: 1.7em;
	padding-bottom: 0px;
	display: inline;
	box-shadow: 15px 0px 0px 0px #6f2e76, -15px 0 0px 0px #6f2e76;
	box-decoration-break: clone;
	text-align: left!important;	
}*/

.pa-multi-line-highlight p {
	display: inline;
    margin: 0px auto 0px auto;
    padding: 0;
    background-color: #6f2e76;
}

.et_pb_text p {
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	line-height: 26px;
	font-weight: 400;
	text-align: left;
	color: #fff;
}

.et_pb_text h1 {
	font-family: 'Poppins', sans-serif;
	font-size: 45px;
	line-height: 55px;
	font-weight: 700;
	color: #fff;
	text-align: left;	
	letter-spacing:-1px!important;
}

.et_pb_text h2 {
	font-family: 'Poppins', sans-serif;
	font-size: 40px!important;
	line-height: 50px;
	font-weight: 700;
	color: #454545;
	letter-spacing:-1px!important;
}

.et_pb_text h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 32px!important;
	line-height: 42px;
	font-weight: 700;
	color: #fff;
	letter-spacing:-1px!important;
	text-align: left;
}

.et_pb_text h4 {
	font-family: 'Poppins', sans-serif;
	font-size: 26px;
	line-height: 30px;
	font-weight: 700;
	color: #fff;
	text-align: left;
	letter-spacing:-1px!important;
}

.et_pb_text h5 {
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	line-height: 28px;
	font-weight: 400;
	color: #fff;
	text-align: left;	
}

.et_pb_text h5 a:hover {
	color: #999!important;
}

.et_pb_number_counter h5.title {
	font-family: 'Roboto', sans-serif;
	font-size: 24px!important;
	line-height: 34px!important;
	font-weight: 400;
	color: #333!important;
	text-align: center;	
}


.et_pb_text p a{
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	line-height: 26px;
	font-weight: 400;
	color: #fff;
	text-align: left;
	text-decoration: underline!important;
}

.what-is-dofe a {
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	line-height: 26px;
	font-weight: 400;
	color: #454545;
	text-align: left;
	text-decoration: underline!important;
}


/*@media only screen 
and (min-device-width : 768px)
and (max-device-width : 980px)
and (max-device-width : 1024px) {*/

/*@media (min-width: 576px) and (min-width: 768px) and (min-width: 992px) {*/

@media (max-width:980px) {

	
.et_pb_text h1 {
	font-family: 'Poppins', sans-serif;
	font-size: 40px!important;
	line-height: 50px!important;
	font-weight: 700;
	color: #fff;
	text-align: left;	
	letter-spacing:-1px!important;
}
	
.et_pb_text h2 {
	font-family: 'Poppins', sans-serif;
	font-size: 28px!important;
	line-height: 36px;
	font-weight: 700;
	color: #fff;
	letter-spacing:-1px!important;
}
	
.et_pb_text h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 24px!important;
	line-height: 34px;
	font-weight: 700;
	color: #fff;
	letter-spacing:-1px!important;
}
	
/*h4 {
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	line-height: 28px;
	font-weight: 400;
	color: #fff;
}*/
	
.et_pb_text h4	{
	font-family: 'Poppins', sans-serif;
	font-size: 20px;
	line-height: 30px;
	font-weight: 700;
	color: #fff;
	text-align: left;
	letter-spacing:-1px!important;
	}
	
.et_pb_text h5 {
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	line-height: 26px;
	font-weight: 400;
	color: #fff;
}
	
.et_pb_number_counter h5.title {
	font-family: 'Roboto', sans-serif;
	font-size: 20px!important;
	line-height: 30px!important;
	font-weight: 400;
	color: #333!important;
	text-align: center;	
}	
}
	
	
	
	

/* Hide Divi Main Navigation Menu on home page only */
.home #main-header { display:none; }
.home #page-container { 
	padding-top:0px !important; 
	margin-top:-1px !important 
}

/* Text and Image Row */

@media screen and (max-width : 980px) {
  .twoColumnSwitch {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
  .textImageRow .imageColumn {
    min-height: 300px;
  }
	
}
@media screen and (max-width : 767px) {
  .textImageRow .imageColumn {
   /* min-height: 200px;*/
  }
}

/* Column Widths */

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)
 {
.TextColumn{
	padding-top: 60px!important;
    padding-right: 60px!important;
    padding-bottom: 60px!important;
    padding-left: 60px!important;
	 }
}	



/* ".two_on_mob" make 4 col rows not collapse to one on mobile */

@media (max-width: 479px){
.et_pb_section .et_pb_row_4col.two_on_mob>.et_pb_column.et_pb_column_1_4 {
    width: 50%!important;
    margin-right: 0 !important;
}
.et_pb_section .et_pb_row_4col.two_on_mob>.et_pb_column.et_pb_column_1_4:nth-of-type(even) {
    width: 50%!important;
    margin-right: 0 !important;
}
}

/*Mobile Elements*/
	
@media (max-width: 980px) {
 .container.et_menu_container { 
 width: calc( 100% - 60px);
 }
}

.et_mobile_menu {
 	margin-left: -30px;
	overflow: scroll !important;
	max-height: 83vh;
	
	
 width: calc( 100% + 60px);
 height:100vh;
} 

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}

.flex-button {
 display: flex;
 }


/*Adjust to two Columns on Mobile*/

@media only screen and (max-width: 479px) {
    .two-columns .et_pb_column {
    width: 50%!important;
}
}
	@media only screen and (max-width: 980px) {
    .two-columns .et_pb_column {
    width: 50%!important;
}
}

/*Adjust to one Columns on Mobile*/

@media only screen and (max-width: 980px) {
    .three-columns .et_pb_column {
    width: 50%!important;
}
}

/* Remove Dropdown Shadow */

.nav li ul  {
    -webkit-box-shadow: none!important;
    -moz-box-shadow: none!important;
    box-shadow: none!important;
}

#menu-item-241088 {
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	line-height: 26px;
	font-weight: 700;
	color: #fff;
}

/* SECONDARY MENU ON DEVICES */

@media (max-width: 980px) {
    #top-header, div#et-secondary-menu, ul#et-secondary-nav {
    display: block !important; 
    }
	
#top-header .container {
    padding: 15px 0 30px 0!important;
}
}

@media (max-width: 980px) {
    #main-header .container {
    margin-top: 30px !important;
}
	
#et-secondary-menu {
    float: none;
    padding-right: 0;
}
}

.roles p {
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	line-height: 28px;
	font-weight: 400;
	text-align: left;
	color: #454545;
}

.roles h5 {
    color: #454545!important;
	font-family: 'Roboto', sans-serif!important;
	font-size:18px;
	line-height:28px;
	font-weight: 700!important;
}

.roles a {
    color: #454545!important;
	font-family: 'Roboto', sans-serif!important;
	font-size:18px;
	line-height:28px;
	font-weight: 400!important;
	text-decoration: underline!important;
}

#et-boc .area-outer-wrap .da-close {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    box-sizing: content-box;
    width: 60px!important;
    height: 60px!important;
    line-height: 60px!important;
    text-decoration: none;
    text-align: center;
    font-family: Courier New,monospace;
    font-size: 60px!important;
    font-weight: 700;
    cursor: pointer;
    opacity: .7;
    transition: all .3s;
    pointer-events: all;
}

#et-boc .area-outer-wrap[data-da-color=dark] .da-close {
    color: #fff!important;
    /*background: rgba(0,0,0,.13);*/
    box-shadow: none!important;
    text-shadow: none!important;
}

table, th, td, tr {
  border: none!important;
}

.et_pb_tabs_controls li a {
    text-decoration: none;
    color: #666;
    padding: 20px 20px!important;
    vertical-align: middle;
    display: table-cell;
    line-height: inherit;
	font-size: 24px!important;
	font-family: 'Poppins', sans-serif;
}


#menu-item-241090 {
	font-weight:bold;
	color:#6f2e76!important;
}



/* -------------------------------------------- 
 ------ Blurbs as Tabs Custom Styling ------
 -------------------------------------------- */

/* Style the Blurbs Tabs */
#blurb-tabs .et_pb_column {
 	display:flex;
 	align-items:left;
 	justify-content:left;
 	flex-wrap:wrap;

}
#blurb-tabs .tab-title {
 width:20%;
}

/* Hover Styles for Blurb Tabs - Titles */
#blurb-tabs .tab-title {
 transition:all .3s ease-in-out;
}
#blurb-tabs .tab-title:hover {
 cursor:pointer; 
 background:#000; /* Tab hover background color */
}
#blurb-tabs .tab-title.active-tab {
 background:#464646; /* Active tab background color */
}

.et_pb_module_header a{
	font-family: 'Poppins', sans-serif;
	font-size: 26px!important;
	line-height: 36px;
	font-weight: 700;
	color: #fff;
	letter-spacing:-1px!important;
}


/* Tab Titles Mobile Styles */
@media (max-width: 767px ) {
 #blurb-tabs .tab-title {
 width:50%;
 }
}


@media (max-width: 479px ) {
 #blurb-tabs .tab-title {
 width:100%;
 }
}



/* Hide the tabs content/sections */
.tab-content {
 display:none;
}

.tab-open {
	display:block;
}


/* Cookie */

#cookie-notice {
	background: #333 !important; 
	font-size: 14px; 
	font-family: montserrat;
	font-weight: 500;
	padding:10px;
}

@media all and (max-width: 980px) {
	#cookie-notice {
		background: #333 !important; 
		font-size: 14px; 
		font-family: montserrat;
		font-weight: 500;
		padding:10px;
}
}	

#cookie-notice a{
	color: #fcbe14;
}


/* Cookie - Button */

#cookie-notice .button.wp-default {
	background: #f29400;
	border-color: #444;
	color: #fff;
	text-shadow: 0 0px 0 #fff;
	border-radius: 6px 6px 6px 6px;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.6);
}


/* Cookie - Button - Hover */
#cookie-notice .button.wp-default:hover, #cookie-notice 	.button.wp-default:focus {
	background: #fff;
	border-color: #444;
	color: #f29400;
}

.cookies-accepted #cookie-notice{display:none}

h1, h2, h3, h4, h5, h6 {
    overflow-wrap: normal;
}


/* Image Height Width */

/*this sets the height of the image module*/
.pa-full-height-image-column {
	height: 100%;
}

/*this sets the height of the image container*/

.pa-full-height-image-column .et_pb_image_wrap {
	height: 100%;
}

/*this sets the height and fit of the actual image*/
.pa-full-height-image-column img {
	object-fit: cover;
	height: 100%;
}


