

/*---Abi Edits ---*/

td {
    padding: 20px 0;
}
.page-id-569 .about__title {
	 margin-top: -178px !important;
}
@media (min-width: 768px) and (max-width: 900px) {
.home .hero {
    margin-top: 42px;
}
.home .about__title {
    font-size: 45px!important;
    line-height: 70px;
}
    .home .hero__container.container {
right: 0!important;
    }
    .home .faqs__item:hover .faqs__question:after {
    font-size: 14px;
}
}

@media (min-width: 901px) and (max-width: 1024px) {
.home .hero {
    margin-top: 56px;
}

    .home .hero__container.container {
right: 0!important;
    }
    
.hero {
    margin-top: 57px;
    margin-bottom: 125px;
}
}

@media (min-width: 1025px) and (max-width: 1200px) {
.home .hero {
    margin-top: 56px;
}
}
@media (min-width: 1201px) and (max-width: 1300px) {

.home .hero__container.container {
    margin: auto 0px!important;
}
}
.home .about p {
    margin-right: 20px;
}
.home .selling-points__title {
    max-width: 290px;

}
.home .selling-points__tagline {
    font-size: 18px;
    line-height: 28px;
    max-width: 350px;
}
.home .selling-points__item:nth-child(3) .selling-points__tagline {
    max-width: 320px;
}
@media (max-width: 767px) {

	.gform_wrapper.gravity-theme .gfield {
    grid-column: span 12!important;
	}
	.footer__locations--grid p, ul, ol {
    margin-bottom: 30px;
    text-align: center;
}
	.home ul, ol {
    text-align: left;
}
	p.header__contact--phone {
    text-align: center;
}
	.home .header__contact--title {
		text-align: center;
	}
	
.home .selling-points__tagline {
    margin: 0 15px 35px;
	}
	.container__grid--left img {
	width: 100%;
	}
.about__right--content {
    max-width: 800px;
    text-align: left;
}
	.attorney__content {
    text-align: left;
}
	
.information__container.container {
    text-align: left;
}
			.page-id-569 .about__title {
    margin-top: 0px!important;
}
}
@media (min-width: 1300px) and (max-width: 1399px) {
.header__menu--grid {
    font-size: 14px;
}
.header__menu li {
    margin-left: -40px;
}
} 
@media (min-width: 1200px) and (max-width: 1299px) {
.header__menu--grid {
    font-size: 14px;
}
.header__menu li {
    margin-left: -40px;
}
}

p.header__contact--phone a {
    color: #a69065;
}
table, th, td {
    border: 1px solid;
    padding: 10px;
    margin-bottom: 20px;
}
td {
    line-height: 22px;
}

/*--- Side Bar Logo ---*/
.sidebar-logo {
    padding: 0 75px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.container__grid--right .logo-title h3 {
    text-align: center;
    margin-bottom: 0;
}
/*--- End Side Bar Logo ---*/

html, body {
    max-width: 100%;
/*    overflow-x: hidden;*/
}
.footer__contact--form--title {
    font-size: 60px;
    width: 100%;
	padding-bottom: 20px;
	    line-height: 1;
}
@media (min-width: 1200px) and (max-width: 1299px) {
.footer__contact--form--title {
    font-size: 50px;
}
}

@media (min-width: 1700px){
.page-template-template-babylonhome .about__title {
    margin-top: -398px!important;
	}
}
@media (min-width: 901px) and (max-width: 1024px) {
.page-template-page-hauppauge-internal .hero__container.container {
    width: 590px;
    padding-top: 40px;
    margin-left: auto;
    margin-right: 40%;
    padding-bottom: 55px;
}
}

@media (min-width: 768px) and (max-width: 900px) {
.page-template-page-hauppauge-internal .hero__container.container {
    width: 420px;
    padding-top: 40px;
    margin-left: auto;
    margin-right: 40%;
    padding-bottom: 80px;
}

.page-template-page-hauppauge-internal .hero__title {
    font-size: 17px;
    line-height: 50px;
}  
 
 .page-template-page-hauppauge-internal .hero__tagline {
    font-size: 26px;
} 
}

@media (min-width: 901px) and (max-width: 1024px) {
.page-template-page-suffolk-internal .hero__container.container {
    width: 590px;
    padding-top: 40px;
    margin-left: auto;
    margin-right: 40%;
    padding-bottom: 55px;
}
}


@media (min-width: 768px) and (max-width: 900px) {
.page-template-page-suffolk-internal .hero__container.container {
    width: 420px;
    padding-top: 40px;
    margin-left: auto;
    margin-right: 40%;
    padding-bottom: 80px;
}

.page-template-page-suffolk-internal .hero__title {
    font-size: 17px;
    line-height: 50px;
}
 
 .page-template-page-suffolk-internal .hero__tagline {
    font-size: 26px;
}
}


.page-id-5492 .about__title {
    margin-top: -400px !important;
}

@media (max-width: 1699px) {

   .page-id-5492 .about__title {
    margin-top: -215px !important;
}
}
@media (max-width: 1199px) {

   .page-id-5492 .about__title {
    margin-top: -155px !important;
}
}
@media (max-width: 767px) {
    .page-id-5492 .about__title {
        margin-top: 0px !important;
    }
}
.page-template-template-easthamptonhome .about__title {
    max-width: 914px;
}

@media (min-width: 1601px) and (max-width: 1699px) {
.page-template-template-easthamptonhome .about__title {
    padding-top: 100px;
}
}
@media (min-width: 1501px) and (max-width: 1599px) {
.page-template-template-easthamptonhome .about__title {
    padding-top: 100px;
}
}
@media (min-width: 1401px) and (max-width: 1500px) {
.page-template-template-easthamptonhome .about__title {
    max-width: 914px;
    padding-right: 1px;
    margin-bottom: 28px;
    margin-top: -299px !important;
}
}
@media (max-width: 1400px) {
.page-template-template-easthamptonhome .about__title {
    font-size: 90px !important;
    margin-top: -318px !important;
}
}
@media (max-width: 1300px) {

.page-template-template-easthamptonhome .about__title {
    margin-top: -263px !important;
}
}

@media (max-width: 1024px) {
.page-template-template-easthamptonhome .about__title {
     margin-top: -138px !important;
    font-size: 50px !important;
}
    .page-template-template-easthamptonhome .about h2 {
        max-width: 474px;
}
}
@media (max-width: 900px) {
.page-template-template-easthamptonhome .about__title {
    margin-top: -142px !important;
    font-size: 37px !important;
}
}

@media (max-width:767px) {
.page-template-template-easthamptonhome .about__title {
    margin-top: 0px !important;
    font-size: 50px !important;
}
}
.page-template-template-huntingtonhome .about__title {
    max-width: 914px;
    margin-top: -391px !important;
}

@media (min-width: 1601px) and (max-width: 1699px) {
.page-template-template-huntingtonhome .about__title {
    padding-top: 130px;
}
}
@media (min-width: 1501px) and (max-width: 1599px) {
.page-template-template-huntingtonhome .about__title {
    padding-top: 146px;
}
}
@media (min-width: 1401px) and (max-width: 1500px) {
.page-template-template-huntingtonhome .about__title {
    max-width: 914px;
    padding-right: 1px;
    margin-bottom: 28px;
    margin-top: -227px !important;
}
}
@media (max-width: 1400px) {
.page-template-template-huntingtonhome .about__title {
    font-size: 90px !important;
    margin-top: -249px !important;
}
}
@media (max-width: 1300px) {

.page-template-template-huntingtonhome .about__title {
    margin-top: -204px !important;
}
}

@media (max-width: 1024px) {
.page-template-template-huntingtonhome .about__title {
     margin-top: -138px !important;
    font-size: 50px !important;
}
    .page-template-template-huntingtonhome .about h2 {
        max-width: 474px;
}
}
@media (max-width: 900px) {
.page-template-template-huntingtonhome .about__title {
    margin-top: -142px !important;
    font-size: 37px !important;
}
}

@media (max-width:767px) {
.page-template-template-huntingtonhome .about__title {
    margin-top: 0px !important;
    font-size: 50px !important;
}
}
@media (min-width: 1501px) and (max-width: 1599px) {
.page-id-5652 .about__title {
    padding-top: 146px;
    font-size: 85px !important;
}
}
@media (min-width: 1401px) and (max-width: 1500px) {
.page-id-5652 .about__title {
    max-width: 914px;
    padding-right: 1px;
    margin-bottom: 85px;
    margin-top: -227px !important;
    font-size: 80px !important;
}
}
@media (max-width: 1400px) {
.page-id-5652 .about__title {
         font-size: 73px !important;
        margin-top: -200px !important;
    }
}
@media (max-width: 1300px) {

.page-id-5652 .about__title {
    margin-top: -204px !important;
    font-size: 70px !important;
}
}
@media (max-width: 1199px) {
.page-id-5652 .about__title {
    font-size: 57px !important;
    margin-top: -150px !important;
}
}
@media (max-width: 1024px) {
.page-id-5652 .about__title {
     margin-top: -138px !important;
    font-size: 50px !important;
}
}
@media (min-width:768px) and (max-width:900px) {
.page-id-5652 .about__title {
    font-size: 44px !important;
}
}
@media (max-width:767px) {
    .page-id-5652 .about__title {
        margin-top: 0px !important;
    }
}

/*** Abi Babylon CD Edits ***/
@media (max-width:1699px) {
.page-id-5666 .about__title {
    margin-top: -200px !important;
    }
}

@media (min-width:  1300px) and (max-width:1399px) {
.page-id-5666 .about__title {
font-size: 80px !important;
}
}

@media (min-width:  1200px) and (max-width:1299px) {
.page-id-5666 .about__title {
font-size: 80px !important;
}
}

@media (min-width:  1025px) and (max-width:1199px) {
.page-id-5666 .about__title {
font-size: 65px !important;
margin-top: -160px !important;
}
}

@media (min-width:  901px) and (max-width:1024px) {
.page-id-5666 .about__title {
font-size: 60px !important;
margin-top: -140px !important;
}
}

@media (min-width:  768px) and (max-width:900px) {
.page-id-5666 .about__title {
font-size: 50px !important;
margin-top: -140px !important;
}
}
@media (max-width:767px) {
.page-id-5666 .about__title {
margin-top: 0px !important;
}
}


.page-id-550 .about__title {
    margin-top: -300px;
    font-size: 86px;
}
.page-template-template-nassauhome .information__title {
    font-size: 62px;
}

.page-template-template-babylon-internal .hero {
    background-image: url(https://edpalermo.com/wp-content/uploads/2023/07/ed-p-banner.jpg);
    background-position: 130px -24px;
    height: 394px;
    margin-top: 107px;
    margin-bottom: 125px;
}
.page-template-template-nassau-internal .hero {
    background-image: url(https://edpalermo.com/wp-content/uploads/2023/07/ed-p-banner.jpg);
    background-position: 130px -24px;
    height: 394px;
    margin-top: 107px;
    margin-bottom: 125px;
}

@media (max-width:  1024px){

    .page-template-template-babylon-internal .hero {
    display:  none;
  }
.page-template-template-nassau-internal .hero {
     display:  none;
}
}
@media (min-width: 768px) and (max-width:  1024px){

.container__grid--left {
    margin-top: 110px;

}
}


.calculator-container {
    background: #cfd3d5;
    padding: 50px;
    width: 100%;
    height: auto;
        font-family: "Roboto", sans-serif;
        font-size: 16px;
    line-height: 1.2;
    margin-bottom: 50px;
    text-align: center;
}

.calculator-container button:hover {
    cursor: pointer;
    background: blue;
}

form#etgForm input {
    padding: 10px;
    height: 50px;
    margin: 20px 0 0 0;
    width: 310px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid gray;
}
form#etgForm select {
vertical-align: middle;
    padding: 10px;
    width: 310px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid gray;
    height: 50px;
    margin-top: 15px;
}
    

form#etgForm button {
     padding: 15px;
    background: #a6905e;
    border: none;
    border-radius: 5px;
    width: 260px;
    height: 40px;
    color: white;
    font-weight: bold;
}
.calculator-container p {
    font-size: 16px;
    line-height: 1.2;
        font-family: "Roboto", sans-serif;
}

.calculator-container  #result {
    background: #08204c;
    margin-bottom: 20px;
    line-height: 38px;
    padding: 20px;
    border-radius: 5px;
    color: white;
}
form#etgForm button:hover {
    background: #08204c !important;
}
.calculator-container em {
    font-size: 14px;
    line-height: 14px;
}
p.disclaimer {
    font-size: 14px;
    padding: 20px 0px;
    border-top: 1px solid;
    border-bottom: 1px solid;
}
.calculator-container .left-side {
    float: left;
    width: 50%;
    height: 260px;
    text-align: left;
}
.calculator-container .right-side {
    float: left;
    width: 50%;
    height: 260px;
    text-align: left;
}
.calculator-container h2 {
    font-size: 40px;
    margin-bottom: 30px;
}


