/*
 Theme Name:   Mama Child Theme
 Theme URI:    https://www.mama.com.au
 Description:  MAMA Child Theme - Activate this theme!
 Template:     mama
 License:      Commercial
 Text Domain:  mama-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/

body {
	position: relative;
    display: inline-block;
    width: 100%;
    overflow-x: hidden;
}
#displayText {
	display: inline-block;
	padding: 5px 60px;
	cursor: pointer;
}

#displayText:hover {
	    font-weight: 600;
}
#simple-banner {
	display:none!important;	
}
@media (min-width:981px){ 
#top{
	position: fixed!important;
    top: 0px;
}
	#simple-banner{
	    position: fixed;
    top: 0;
}
	
	body.logged-in  #top{
	top: 32px;
}

body.logged-in  #simple-banner{
	top: 30px;
}
	body {
		    padding-top:80px;
	}
}

@media screen and (max-width: 1440px)
{
	div.menu {
    display: flex !important;
}
#main-menu .menu-item {
    margin: 0 10px !important;
}
}
@media (min-width: 1280px) and (max-width: 1480px) {
#top #logoleft .logo, #top #logocent .logo {
	max-width: 215px!important;
}
#inner_logo_img, #home_logo_img {
	max-width: 215px!important;
}
.flexcent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    align-content: space-around;
}
#phone_link_home {
	margin: 0!important;
	padding: 4px 20px!important;
	}
#contact_button {
	
}
}

@media screen and (max-width: 1280px)
{
	div.menu {
    display: none !important;
        }

}
.contact_us_pop {
	 display: none !important;
}
.contact_us_btn {
    color: #fff;
    background: #b0996e;
    padding: 15px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 11px;
    max-width: 300px;
    box-sizing: border-box;
}


.contact_us_btn {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    background: #fff;
    color: #b0996e;
    border: solid 1px #b0996e;
    padding: 10px 60px;
}

.contact_us_btn:hover {
    background: #d4c7b0;
	color: #88724a;
}

.n-t-changes .t-contact{font-weight: 600;font-size: 18px;color: #831000;}

.n-t-changes .t-mail{
	font-size: 10px;
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    text-align: center;
    overflow-wrap: break-word;
    color: #000;
}
@media screen and (min-width: 992px) {
body .header-h1 {
    font-size: 80px;
    line-height: 80px; 
}
body .inner-header .content_wrapper {
    padding-top: 3vw;
    min-height: 80vh;
    height: auto;
}
}

.alm-listing .article-thumb-image {
	height: 184px;
	position: relative;
	 }


.article-thumb-image a{
	
}

.alm-listing .article-thumb-image a img {
	display: inline-block;
	/* position: absolute; */
	height: 100%;
}

body .inner-header_notice { 
      width: 460px;
    max-width: 90%;
}
body #contact_popup {
  
   /* bottom: unset;
    right: unset;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    
    display: none;*/
	border-radius: 10px 10px 0 0;
    padding-top: 35px;
}
 body #contact_popup  textarea{
 	max-height: 150px;
 }
#contact_popup_close {
	top: 3px !important;
    color: #000!important;
    right: 7px!important;
    font-size: 35px !important;
}
div#contact_popup {
	transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    -webkit-transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    -moz-transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    -ms-transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    -m-transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    -o-transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
}

div#contact_popup.active {
	
}

.page.page-id-229  .fancybox-inner div#contact_popup {
	     bottom: 748px!important;
  	  margin: 0;
}




.retail-slider-2 {
	display: inline-block;
	width: 100%;
	border: 0;
	height: 246px;
	margin-bottom: 100px;
	overflow:hidden;
}
 
.inner-header { 
    position: relative;
}
@media (min-width: 576px){
.retail-slider-2 {
    height: 250px;
}
}
@media (min-width: 768px){
.retail-slider-2 {
     height: 330px;
}
}


@media (min-width: 992px){
.retail-slider-2 {
   height: 425px;
}
}

@media (min-width: 1200px) {
.retail-slider-2 {
    height: 550px;
}
}

@media (max-width: 520px){
.retail-slider-2 {
    height: 50vw;
}
}

.container-fluid.np .inner-header {
	display: inline-block;
	width: 100%;
	float: left;
}
.page-id-906  #contact_popup_button {
	display:none;
}
.news-grid #ajax-load-more {
    width: 100%;
    float: left;
    display: inline-block;
}

.n-t-changes {
    justify-content: center !important;
    max-width: 1200px;
    margin: auto!important;
}


#contact_popup select, 
#contact_popup textarea, 
#contact_popup input[type="text"], 
#contact_popup input[type="password"], 
#contact_popup input[type="datetime"], 
#contact_popup input[type="datetime-local"], 
#contact_popup input[type="date"], 
#contact_popup input[type="month"], 
#contact_popup input[type="time"], 
#contact_popup input[type="week"], 
#contact_popup input[type="number"], 
#contact_popup input[type="email"], 
#contact_popup input[type="url"], 
#contact_popup input[type="search"], 
#contact_popup input[type="tel"], 
#contact_popup input[type="color"], 
#contact_popup .uneditable-input {
	min-height: 35px;
	padding: 2px 12px;
	font-size: 14px;
    line-height: 20px;
}
 body #contact_popup  textarea{
 	max-height: 100px;
	 resize:none;
 }
#contact_popup ul li {
	margin-bottom: 5px!important;
}
#contact_popup .gform_button {
	    padding: 10px 15px;
}
div#contact_popup { 
	z-index: 1000000;
    max-height: 97vh;
    overflow-x: auto;
}
@media (max-width: 520px){
 
body .inner-header_notice {
	width: 100%;
	margin: 0 auto!important;
	max-width: 100%;
}
}

@media (min-width: 768px){
 
#footer-bottom .container .row {
	width: 100%;
    display: inline-block;
    margin: 0 auto;
}
}

@media screen and (min-width: 992px)
{
	body .header-h1 {
    font-size: 70px;
    line-height: 70px;
}
}
@media screen and (max-width: 991px)
{
.inner-header .content_wrapper {
    padding-top: 60px!important; 
}
	#footer-bottom .container .row  {
	display: inline-block;
    width: 100%;
    margin: 0;
	}
}

@media screen and (max-width: 575px)
{
	body .inner-h1, body .header-h1 {
    font-size: 45px;
    line-height: 46px;
}
 
	#page_title {
    padding: 0 20px!important;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
	} 
}

@media (min-width : 992px) {
.inner-header {min-height: 700px;}
.inner-header .container-fluid .flexcent {
	 	    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    width: 100%;
	 }
}
@media (min-width : 1300px) {
.inner-header .container-fluid .flexcent .header-h1 {
 	width: 1250px;
    max-width: 100%;
    padding-right: calc(100% - 900px);
	}
}

@media (max-width : 1300px) {
.inner-header .container-fluid .flexcent .header-h1 {
 	width: 1250px;
    max-width: 100%;
    padding-right: calc(100% - 900px);
	}
	
.inner-header .container-fluid .flexcent #page_title {
	    width: 100%;
	    padding: 0 36px;
	}
}

@media screen and (min-width: 992px) {
	body .inner-header .content_wrapper { 
		min-height: 100%; 
	}
}


@media screen and (max-width: 992px) {
	.single.single-post h1 {
		font-size: 34px;line-height: 1.2em;
	}
	
	.inner-header .container-fluid .flexcent .header-h1 {
		font-size: 34px;
		line-height: 1.0em;
	}
	body .inner-header_notice {
		margin: 0 0;
	}
}
