/* 
Theme Name: Knox-Audiology 
Theme URI: https://knoxhearing.com.au/
Description: Child theme for the Divi
Author: Jo Clarke 
Author URI: http://top-ic.com
Template: Divi       
Version: 0.1.2 
*/
@font-face {font-family: caflischscriptwebpro; src: local(caflischscriptwebpro), url('https://knoxhearing.com.au/fonts/caflischscriptwebpro.ttf') format('truetype'), url('https://knoxhearing.com.au/fonts/caflischscriptwebpro.woff') format('woff');}
@font-face {font-family: cultivatedmind; src: local(cultivatedmind), url('https://knoxhearing.com.au/fonts/cultivatedmind.ttf') format('truetype'), url('https://knoxhearing.com.au/fonts/cultivatedmind.woff') format('woff');}
h1,h2,h3 {color: #f57b20 !important;} 
#marvel h1, #cultivatedmind {font-family: "cultivatedmind";}
#top-header #et-info-phone {font-size: 1.3em;}
#top-menu .menu-item-has-children > a:first-child:after, .fullwidth-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after { display:none; }
#top-menu .menu-item-has-children > a:first-child, #et-secondary-nav .menu-item-has-children > a:first-child {padding-right: 0px !important;}
#top-menu li.mega-menu > ul > li > a:first-child { font-weight: normal;}
#top-menu li li a {line-height:1.4em;}

.live .et_pb_slide_description .et_pb_slide_title, .improve .heading,  .live-left .et_pb_slide_description .et_pb_slide_title {font-family: "caflischscriptwebpro", cursive !important; font-size: 90px !important; color:#ffffff !important;}
.testimonials .et_pb_slide_description, .feature-text {font-family: "caflischscriptwebpro", cursive !important; font-size: 40px !important;color:#ffffff !important;line-height: 1.2em;padding: 8% 8%;text-shadow: 0 0px 0px !important;}
.page-id-5 .et_pb_slider .et_pb_container, .page-id-127 .et_pb_slider .et_pb_container, .page-id-12787 .et_pb_slider .et_pb_container, .page-id-12793 .et_pb_slider .et_pb_container { width: 100% !important; max-width: 100% !important;}
.live .et_pb_slide_description { padding: 16% 50% 16% 2% !important; text-align: left !important;}
.live .et_pb_bg_layout_dark .et_pb_slide_content { max-width: 100% !important; padding-bottom: 20px;}
.live-left .et_pb_slide_description { margin:16% 46% 35% 6% !important; padding:2% !important;}
.smaller .et_pb_blurb h4 { padding-bottom: 10px;}
.smaller .et_pb_blurb a:hover { color:#000000;}
.smaller .et_pb_blurb_container {font-size: 0.94em; line-height: 1.3em;}
.youtube-video iframe {width:510px; height:290px;}
 .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {   width: 100%;   max-width: 1000px !important; }
.bottom-nav li.current-menu-item > a, .footer-widget h4 { color: #fba81a;}
 .card-menu .et_pb_promo_button {line-height: 1.2em !important;}
.boxes h2 {color: #fff !important;}
.tel-links a {color:#fff;}
.locations h3 {color:#fff !important;}
.improve-pp {font-size: 18px; font-weight: 400; padding-left:60%; color:#ffffff;}  
.et_pb_contact_captcha_question {color:#f57b20 !important;}
.et_pb_contact_message { min-height: 100px !important;  font-family: "Open Sans", Arial, sans-serif;}
.dark-txt {color: #333 !important;}
.clinics .et_pb_main_blurb_image {text-align: left !important;}

.diagonal-shadow .et_pb_blurb_container   {color: #333 !important;}
#et-main-area { overflow: hidden;} /* Hides all the items that float over the right margin */ 
.diagonal-shadow::before, .diagonal-shadow::after { position: absolute; content: ''; pointer-events: none;} 
.diagonal-shadow { z-index: 1;  padding-top: 6em; background: #fba81a; padding: 10px 0 54px 0 !important;} 
.diagonal-shadow::before,  .diagonal-shadow::after { top: 0; left: -25%; z-index: -1; width: 150%; height: 75%; background: inherit; -webkit-transform: rotate(-2deg); transform: rotate(-2deg);  -webkit-transform-origin: 0 0; transform-origin: 0 0;} 
.diagonal-shadow::before { height: 50%; background: #f57b20; -webkit-transform: rotate(-3deg); transform: rotate(-3deg); -webkit-transform-origin: 3% 0; transform-origin: 3% 0;}

.gradient1 {background: #f57b20; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(#fba81a , #f57b20); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#fba81a, #f57b20); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#fba81a, #f57b20); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#fba81a , #f57b20); /* Standard syntax */}
.triangles1::after {position: absolute; content: ''; pointer-events: none;} 
.triangles1::after {  left: 50%; width: 50px; height: 50px; -webkit-transform: translateX(-50%) rotate(45deg); transform: translateX(-50%) rotate(45deg);}         
.triangles1::after { bottom: -25px; z-index: 10; background: #F57B20;}
.triangles::before {position: absolute; content: ''; pointer-events: none;} 
.triangles::before {  left: 50%; width: 50px; height: 50px; -webkit-transform: translateX(-50%) rotate(45deg); transform: translateX(-50%) rotate(45deg);}         
.triangles::before {top: -25px; background: #fba81a;}
.aid-styles .et_pb_slide_image .active {min-height: 271px !important;}
.aid-styles .et_pb_slide .et_pb_container {max-height: 408px !important;}
.aid-styles .et_pb_slide_with_image .et_pb_slide_description {padding: 8% 0 !important; height:310px !important;}
.aid-styles .et-pb-active-slide .et_pb_slide_description {animation:none !important;}
.aid-styles  .et_pb_slide_image {animation:none !important; }
.blurb-b1g1 .et_pb_main_blurb_image { margin-bottom: 5px;}
.blurb-b1g1 .et_pb_blurb_container h4 {color: #ff8e00 !important;}

.et_pb_bg_layout_light .et-pb-controllers .et-pb-active-control {background-color: #ff9500 !important;}

 @media only screen and (min-width : 767px) { 
 .blurb-hover a:hover {color:#ffffff;}
 .orange h4 a:hover {color:#ff9500 !important;}
 .blurb-hover .et_pb_main_blurb_image {position: relative;overflow: hidden;} 
 .blurb-hover img.et-waypoint { margin-bottom: -5px;-webkit-transition: -webkit-transform 0.1s;transition: transform 0.1s;-webkit-transform: scale(.99);transform: scale(.99);} 
 .blurb-hover img.et-waypoint:hover {-webkit-transform: scale(1.05) rotate(15deg);transform: scale(1.05) rotate(15deg);} 
 }
 @media only screen and (max-width : 980px) { 
.live .et_pb_slide_description .et_pb_slide_title, .improve .heading {font-size: 40px !important;}
.improve-pp {padding-left:0 !important;} 
.extra {margin-bottom: 25px !important;} 
.text-heading {line-height:1.5em !important}
.live .et_pb_slide_description { padding: 35% 2% 35% 2% !important; text-align: left !important;}
.live .et_pb_bg_layout_dark .et_pb_slide_content { max-width: 90%; padding-bottom: 20px;}
}