/* For Top Navigation */
.navbar {
    background: #fff;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 1px 3px 4px 0 #adadad33;
	font-family: "Montserrat", sans-serif !important;
    font-size: 18px;
}

.navbar-light .navbar-brand {
    color: #00bef2;
}

.nav-link{border:2px solid #FFF;}
.nav-link:hover {
	background: #FFF;
	color:#004F99;
	border:1px solid #004F99;
	color: #fff !important;
}

.nav-item>a:hover,
.nav-link:hover>a,
.nav-link>a:hover {
    color: #004F99 !important;
}

.nav-link:hover .dropdown-toggle::after {
    color: #004F99;
}

.nav-item:hover a.nav-link {
    color: #004F99 !important;
}

.dropdown a.nav-link {
    color: #004F99;
}

.navbar-light .navbar-nav .nav-link {
    color: #00bef2;
}

.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
    color: #00bef2;
}

.navbar-light .navbar-nav .nav-link {
    padding-top: 22px;
    padding-bottom: 22px;
    transition: .3s;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 14px;
	border: 2px solid #FFF;
    line-height: 22px;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: #00bef2;
    text-decoration: none;
    background: none;
}

.sm-menu {
    border-radius: 0;
    border: 0;
    top: 97%;
    box-shadow: rgba(173, 173, 173, .2) 1px 3px 4px 0
}

.dropdown-item {
    color: #3c3c3c;
    font-size: 14px;
    padding-left: 4px
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #00bef2
}

.navbar-toggler {
    outline: 0 !important;
}

.navbar-tog {
    color: #00bef2;
}

/* css for Dropdown Mega Menu */
.megamenu-li {
    position: static;
}

.megamenu h6,
.megamenu span.head6 {
    margin-left: 2px;
    border-bottom: 2px solid #00bef2;
    padding-bottom: 3px;
    margin-bottom: 5px;
    font-weight: 500;
    display: block;
    font-size: 15px !important;
}

.megamenu i {
    width: 12px;
}

.megamenu {
    position: absolute;
    width: 87%;
    left: 12%;
    right: 0;
    top: 80%;
    padding: 30px 15px 0 15px;
}

.megamenu.small-col {
    width: 700px;
    left: 31%;
}

.megamenu .row>div {
    padding: 0 25px;
}

.dd-therapy {
    padding: 0 17px 0 25px !important;
}

.dropdown-item:hover {
	background: #004F99;
	color: #FFF !important;
	text-decoration: none;
}
a.dropdown-item:hover {
	background: #004F99;
	color: #FFF !important;
}

.megamenu a:hover h6 {
    color: #00bef2
}

.navbar-light .navbar-nav .nav-link {
    color: #212121
}

.dropdown:hover a.dropdown-toggle {
    color: #fff
}

.dropdown:hover .nav-link a {
    color: #004F99;
}

.dropdown:hover a.nav-link,
.dropdown:hover .nav-link {
   background: #FFF;
    color: #004F99 !important;
	border:2px solid #004F99;
}

.carousel-inner {
    background: #ccc
}

.carousel-item {
    opacity: 1
}

.img-cta {
    padding: 17px 5px 5px 5px;
    display: block
}

.img-cta img {
    border-radius: 2px;
    display: block;
    box-shadow: 2px 4px 8px 0 #1f1e1e7d
}

.img-cta2 img {
    max-width: 266px;
    width: 100%;
    box-shadow: 2px 4px 8px 0 #1f1e1e7d
}

.img-cta3 {
    text-align: center;
    padding-top: 15px;
}

.img-cta3 img {
    max-width: 240px;
    width: 100%;
}

.callnow-cta {
    padding: 10px 20px 5px 20px;
    color: #00bef2;
    font-weight: 600;
    font-size: 22px;
    font-style: italic;
    text-align: center;
    text-decoration: none;
    display: block;
    animation: mymove2 1s infinite;
    animation-fill-mode: forwards;
    animation-direction: alternate
}

.head-cta-mn {
    color: #00bef2;
    font-size: 26px;
    line-height: 40px;
    font-weight: 700;
    text-align: center;
    display: block;
    font-style: italic;
    margin-bottom:0;
}

.head-cta-mn:hover {
    color: #00bef2;
    text-decoration: none
}

.readBlog-cta {
    color: #5d5b5b;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
    line-height: 33px;
    display: block
}

.readBlog-cta:hover {
    margin-bottom: 25px;
    color: #00bef2;
    text-decoration: none
}

.more-btn-cta {
    padding: 10px 20px;
    background: #00bef2;
    color: #fff;
    font-size: 18px;
    margin-top: 30px;
    text-decoration: none
}

/* Treatment dropdown background image */
.treatment-bg-img {
    background: url(https://avatarresidentialdetox.com/wp-content/themes/avatar-residential-detox/images/treatment-bg-img.webp) no-repeat 0 0;
    background-size: cover;
    padding: 12px 20px;
    display: block
}

.treatment-bg-img .head-cta-mn {
    margin-top: 0;
    text-shadow: 0 2px 5px #000000a6;
    line-height: 32px;
	font-size:21px;
    font-weight: bold !important;
	text-transform:capitalize;
}

.treatment-bg-img .more-btn-cta {
    padding: 10px 20px;
    background: #00bef2;
    color: #fff;
    font-size: 18px;
    margin: 0 auto;
    display: block;
    text-decoration: none;
    width: 154px
}

.treatment-bg-img .readBlog-cta {
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
    line-height: 29px;
    display: block
}

.therapy-bg-img {
    background: url(/wp-content/themes/avatar-residential-detox/images/therapy-bg-img.webp) no-repeat 0 0;
    background-size: cover;
    padding: 20px;
    display: block;
    text-shadow: 0 4px 14px #00000045
}

.therapy-bg-img .readBlog-cta {
    color: #fff;
    margin-top: 0;
    font-size: 21px;
    line-height: 29px;
    padding: 0 10px;
    margin-bottom: 10px
}

.therapy-bg-img .head-cta-mn {
    margin-bottom: 15px
}

.therapy-btn-cta {
    padding: 8px 16px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 0;
    font-size: 15px;
    margin-top: 15px;
    text-decoration: none;
    display: inline-block;
    background: #ffffff1c;
    font-weight: 500;
    margin-bottom: 5px
}

.therapy-btn-cta:hover {
    color: #00bef2;
    text-decoration: none
}

.dropdown-item.active,
.dropdown-item:active {
    background: 0 0 !important;
    color: #00bef2
}

@keyframes mymove2 {
    from {
        color: #00bef2;
    }
    to {
        color: #e4f3ff;
    }
}

.link-h6 {
    color: #2b2b2b;
    font-size: 18px;
    text-decoration: none;
    margin: 0 auto;
    padding-top: 0;
	position:relative;
}

.txt-cntr {
    text-align: center
}

.link-h6:hover {
    text-decoration: none;
}

.link-h6:hover .head6{
	color:#fff !important;
	border-bottom: 2px solid #00bef200;
}
.link-h6 .head6:before{
	content:'';
	background: #004F99;
	position: absolute;
	left: -10px;
	top: -7px;
	width: 90%;
	height: 34px; opacity:0; z-index: -1;
}
.link-h6:hover .head6:before{opacity:1;}

.navbar-light .navbar-nav .nav-link {
    padding-left: 0px;
    padding-right: 6px;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover{line-height:22px; border:2px solid #004F99 !important; color:#004F99;}


.ppc-tp-headr .navbar{background:none;}
#topbar.ppc-tp-headr{background:linear-gradient(90deg, #FFF 22%, #00bef2 100%) !important;}

.drp_treatment{padding:25px 27px;}
.btn_trt_menu{width: 167px; margin: 0 auto; display: inherit;}
.drp_therapy .therapy-bg-img .head-cta-mn{font-size: 21px !important; line-height: 33px !important;}
.drp_therapy .therapy-bg-img .readBlog-cta{font-size: 19px !important;line-height: 30px !important;}
.dd-menu{width:364px !important; left:-50px !important;}


/*19-Dec-2023 MP Create css for dropdown menu */
nav ul li a{padding:8px 8px 12px 8px;}
.main-parent{position:relative;}
.main-parent > a{position:relative;}
.main-parent > a:after{
    content: "\f0da";
    font: normal normal normal 14px/1 FontAwesome;
    position: absolute;
    right: -6px;
	top: 9px;  transform: rotate(90deg);
}
.menu-item-has-children .menu-item-has-children > a:after{display:none;}
#menu-item-32- > ul, .main-parent > ul{
	width: 230px;
	position:absolute;
	left:-15px;
	top: 30px;
	padding:15px 15px 20px 15px;	 
	box-shadow:rgba(173, 173, 173, .2) 0px 0px 10px 6px;
	background: #e4f3ff;
	border:0;
	border-top: 3px solid #00bef2;
	font-size: 14px !important;
	line-height:22px;
	color: #212529;
	text-align: left;
	list-style: none;
}
.child-parent{display:block; margin-top:12px;}
.main-parent .child-parent:first-child{margin-top: 0;}
#menu-item-32- > ul li, .child-parent > ul li{display:block;}
#menu-item-9518- > a, #menu-item-9524- > a, .child-parent > a, #menu-item-9621 > a{border-bottom:2px solid #00bef2; margin-bottom:12px; padding:2px; display:block;}
.child-parent > ul li a{padding: 0 0 0 8px !important; margin-bottom: 5px !important; display: block;}
.child-parent > ul li a:before{left: -7px; top: 3px;}
ul.sub-menu li > a{padding: 0;}
.sub-menu .sub-menu{margin-top:5px; margin-bottom:0px;}
nav ul li a:hover{color:#0056b3 !important;}


#menu-item-9518- > ul{padding:0 0 0 11px;}
#menu-item-9518- > ul li{margin-bottom: 6px;}
#menu-item-9518- > ul li a:before, .main-parent ul li a:before{content: "\f0da"; position: absolute; left:-7px; top:3px;
    font: normal normal normal 14px/1 FontAwesome;}
.child-parent > a:before, .main-parent ul{display:none !important;}
.main-parent:hover ul{display:block !important;}
li#menu-item-35 > ul{width: 415px; padding-bottom:40px;}
#menu-item-35:hover ul{display:block !important;}
#menu-item-35:hover > ul{ overflow-y:scroll; height:100vh; padding-bottom:90px;}
#menu-item-9853 ul.sub-menu, #menu-item-9869 ul.sub-menu{width:350px;}
#menu-item-9862 ul.sub-menu{width:381px;}
#menu-item-9869 ul.sub-menu{left:-85px;}
#menu-item-9506 ul.sub-menu .sub-menu{width:100%;}
#menu-item-37 ul.sub-menu{width:330px;}
#menu-item-33 ul.sub-menu{min-width: 310px; left: -40px;}
#menu-ppc-header-menu #menu-item-9619 ul.sub-menu{width: 375px; left: -180px;}
#menu-item-9653 ul.sub-menu{left: -140px;}
#menu-item-9793 ul.sub-menu, #menu-item-9791 ul.sub-menu{width:427px;}
#menu-item-9791 ul.sub-menu{left:-245px;}
#menu-item-9621 > a:before{display: none;}
#menu-item-9793:hover ul{display:block !important;}
#menu-item-9793:hover > ul, #menu-item-9791:hover > ul{
    height: 100vh;
    overflow-y: scroll;
    padding-bottom: 90px;
}
#menu-item-9791:hover > ul{padding-bottom:170px;}
#menu-item-9791 ul.sub-menu .sub-menu {width: auto;}




/* css for big screen up to 1920px */
@media (min-width:1920px) {
    .megamenu {
        width: 54% !important;
        left: 23% !important
    }
    .megamenu.small-col {
      /*  width: 700px !important;
        left: 37% !important */
			width:364px !important; left:-50px !important;
    }
	.megamenu.addmission-col {
    	width: 285px !important;
		right: 29% !important;
	    left: inherit !important;
	}
}

@media (min-width:1800px) {
.slid2 .carousel-wrp {
    padding-top: 175px !important;
}
}

/* css for screen up to 1190px */
@media (min-width:1190px) {
    .megamenu {
        width: 75%
    }
    .col-lg-3.prescrip {
        max-width: 30%
    }
    .col-lg-3.opioid {
        max-width: 20%
    }
}

/* css for screen up to 1270px and under width 992px */
@media screen and (max-width:1270px) and (min-width:992px){
    ul.navbar-nav>li>a.nav-link {
        padding-left: 5px !important;
        padding-right: 5px !important
    }
	.svg_logo img.logo-tp{height:33px;}
	.navbar-expand-lg .navbar-nav{margin-left: 12px;}
	nav ul li{font-size:12px;}
	nav ul li a{padding: 8px 3px 12px 8px;}
}

/* css for under 1150px screen */
@media (max-width:1150px) {
    .megamenu.small-col {
        left: 25%;
    }
}

/* css for big screen under to 1040px and minimum width 1024 */
@media screen and (max-width:1040px) and (min-width:1024px) {
   
}

@media (min-width:992px) {
    .dropdown-menu {
        background: #e4f3ff;
        border-top: 3px solid #00bef2 !important
    }
    .sm-menu-about {
        left: -15% !important;
        width:290px !important;
		padding-bottom: 18px;
    }
}

@media (min-width:991px) {
#topbar.ppc-tp-headr {background: linear-gradient(90deg, #FFF 10%, #00bef2 100%) !important;}
#topbar.alcohol_tp{background:#e4f3ff !important; box-shadow:none !important;}
	
}

/* css for middle screen under 991px */
@media (max-width:991px) {
    .navbar-nav {
        background: #fff;
        margin-top: 15px
    }
    .call-ht,
    .callnow-cta,
    .img-cta,
    .img-cta2,
    .sc-hide {
        display: none !important
    }
    .navbar {
        height: auto !important;
        padding: 16px 21px 16px 17px !important
    }
    .megamenu {
        padding: 30px 1px 0 0 !important
    }
    .sticky-top {
        top: 40px !important
    }
	.ppc-tp-headr{height:120px !important; top:0px !important}
.row.pd-lr-40.align-items-center.tp-wrp.ppc-bg {
    box-shadow: 0 -2px 3px #0000001f inset;
    background-color: #f5f5f5;
}
    #mobile_nav {
        height: 100vh;
        overflow: scroll;
        margin-top: 10px;
		padding-bottom: 180px;
    }
    #topbar {
        position: sticky;
        top: -2px !important;
        z-index: 1100;
    }
    .sm-menu {
        box-shadow: none !important
    }
    .border-right {
        border-right: 0 !important
    }
    .call-ht,
    .callnow-cta,
    .sc-hide {
        display: none
    }
   .megamenu.small-col {
        width: 100%
    }
	
	/* Dec 8th */
	.navbar-nav{width:90%; margin:0 auto;}
	nav ul li a{text-transform:capitalize;}
	.dropdown:hover a.nav-link, .dropdown:hover .nav-link {background: none; color: #004F99 !important;}
	.navbar-light .navbar-nav .nav-link{padding-left:0; padding-top: 12px;  padding-bottom: 12px;}
	.dropdown:hover .nav-link a {color: #004F99 !important;}
	.megamenu {padding: 12px 1px 0 0 !important;}
	.megamenu i{display:none;}
	.megamenu span.head6{border-bottom: 1px solid #ccc;}
	.dropdown-item{font-weight: normal !important; margin-left: 15px; border-bottom: 1px solid #CCC;}
	.navbar-nav .dropdown-menu{overflow:hidden;}
	.megamenu .row>div {padding: 0 0 0 25px;}
	.link-h6 {color: #004F99 !important;}
	.dropdown-item {color: #65696a;}
	.mbl-admission{display:none;}
	.dropdown-menu .img-cta3 {display: none;}
	.ppc-tp-headr .res-dn {display: none !important;}
	#topbar.ppc-tp-headr{background:#FFF !important;}
	.ppc-tp-headr .small-screen {display: block !important;}
	div#topbar .ppc-bg a {color: #00bef2!important;}
	.ppc-tp-headr .logo {margin: 0 auto; text-align: center; margin-top: 15px;}
	.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover{border:0px solid #004F99 !important;}
	.dropdown:hover a.nav-link, .dropdown:hover .nav-link{border:0 !important;}
	.link-h6:hover .head6 {color: #65696a !important;border-bottom:1px solid #CCC;}
	
	/*19-dec css start*/
	nav ul li{display:block; margin-bottom:10px;}
	ul#menu-menu-main > li{margin-bottom: 22px;}
	nav ul li a{padding:8px 8px 12px 0px; text-transform: uppercase;}
	.sub-menu .sub-menu{margin-top: 10px; margin-bottom:15px;}
	#menu-item-332 > ul{position:inherit; background:none; box-shadow:none; border-top:1px solid #dee2e6!important; padding:8px 8px 5px 8px;}
	#menu-item-9518- > a, #menu-item-9524- > a{display:block; border-bottom:1px solid #dee2e6!important; color: #004F99 !important; font-weight: bold !important;}
	.main-parent ul a{padding: 0;}
	#menu-item-9518- > ul{padding:0;}
	#menu-item-9518- > ul li a:before{top:0; display:none;} 
	.main-parent ul a{font-weight:400 !important;}
	
	#mobile_nav{padding:0 20px;}
	.navbar-nav{width:100%;}
	.main-parent > a{position: static; pointer-events: none; text-transform:uppercase;}
	#menu-item-332 > ul, .main-parent > ul {
		background: none;
		box-shadow: none;
		border: 0;
		position: static;
		padding:15px 5px 5px 15px;
		width:312px;
	}
	li#menu-item-35 > ul, #menu-item-32 > ul{padding-bottom:10px;}
	#menu-item-9506 ul.sub-menu, #menu-item-35:hover > ul, #menu-item-32:hover > ul{width:100%;}
	#menu-item-35:hover > ul, #menu-item-32:hover > ul{padding-bottom:0;}
	.main-parent > a:after{display:none;}
	.main-parent:after {
		content: "\f0da";
		font: normal normal normal 14px/1 FontAwesome;
		position: absolute;
		right: -6px;
		top: 9px;
		transform: rotate(90deg);
	}
	#menu-item-9518- > a, #menu-item-9524- > a, .child-parent > a{border-bottom:1px solid #00bef2;}
	.treat-hero-sec p:last-child{margin-bottom: 0 !important;}
	#menu-item-9793:hover > ul{padding-bottom:20px; height:auto;}
	
}
/* 991px screen style end */

@media (max-width:768px) {
	.ppc-tp-headr .res-dn{display:none !important;}
	.ppc-tp-headr .small-screen{display:block !important;}
	#topbar.ppc-tp-headr{background:#FFF !important;}
	.dropdown-menu a.dropdown-item {padding: 0.65rem 0.5rem;}
	#about_avatar ul li a:hover{background:none;}
}
@media screen and (max-width:768px) and (min-width:700px){
	button.navbar-toggler, button.navbar-toggler.collapsed {top: 28px; right: 59px!important; position: absolute !important;}
	.searchwp-modal-form-trigger-el.fa-search:before {font-size: 22px;}
}


/* css for under 425px screen */
@media (max-width:425px) {
	#topbar.ppc-tp-headr{height: 120px !important;}
}

/* css for under 320px screen */
@media (max-width:320px) {
    .megamenu.small-col {
        width: 285px;
        padding: 15px 0 0 0
    }
	.navbar-nav {width: 100%;}
}