* { box-sizing: border-box;
  font-family:'Century Gothic','Futura',san-serif; }
html{
  margin: 0; padding: 0;
}
body { 
  margin: 0;
  padding: 0;
  font-size:18px;
  background: #F2FAFA;
  color: #363636;
}

.pointer{
  cursor: pointer;
}
.intro{
  background: #e9edef;
  padding:40px 55px;
}
.intro .text{
  width:50%;
  margin: 0 auto;
  padding-top: 90px;
  text-align: center;
  padding-bottom: 30px;
}
.intro .text h3{
  font-size: 26px;
  margin-bottom: 20px;
  color: #02999b
}
.content{
  display: flex;
  justify-content:space-between
}
.content-elem{
  width: 24%;
  margin-bottom: 40px;
}
.content-elem img{
  width: 100%;
  float: left;
}
.content-elem div{
  padding:20px 10px;
  background: #ffffff;
  color: #02999b;
  margin: 0;
  float: left;
  width:100%;
  font-weight: bold;
  font-size: 16px; 
}
.contactinfo{
  padding: 60px 55px;
}
.contactinfo span.phone{
color:#02999b;
font-size: 26px;
letter-spacing: 1.5px;
font-weight: bold;
margin-left: 10px;
vertical-align: top
}
.contactinfo,aside.footerimg{
  float: left;
  width: 50%;
}
 aside.footerimg img{
  width:100%;
  float: left;
}
footer.fdlifooter{
  background: #363636;
  color: #fff; 
  width: 100%;
  float: left;
  padding:20px 55px;
}
footer.fdlifooter ul {
  display: inline;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}
footer.fdlifooter ul li{
  font-size: 12px;
}
.chaticon{
  position: fixed;
  bottom:100px;
  right: 30px;

}
.note{
	font-size:12px; 
	margin:0;
	margin-top:10px;
}


/* header */

.header {
  background-color: #fff;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 20px 44px 0 rgba(207, 216, 241, 0.12);
}

.header li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
  color: #363636;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

.header .logo {
  display: block;
  float: left;
  font-size: 13px;
  padding: 14px 20px;
  text-decoration: none;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}
.header .left-menu{
  clear: none;
  float: left;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 100%;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}
.main-header ul li#portal-login{
  font-size:13px;
  display: block;
}
.main-header ul li#portal-login-mob{
  font-size:13px;
  display: none;
}
.main-header ul.portal-login-list{
  padding: 10px;
  display: none;
  position: absolute;
  width: 300px;
}
.header ul.portal-login-list li a {
  border-right: 0px solid #f4f4f4;
  padding: 15px 20px;
}
.main-header ul.portal-login-list li{
  padding: 0;
  color:#454852;
  font-size:13px;
  width: 100%;
}
.main-header ul li#portal-login:hover .portal-login-list{
  display: block;
  transition: display 0.5s ease-in-out;
}
.left-menu{
  display: none
}
.gridformob{
  display: block;
}
footer.fdlifooter ul{
  display: flex;
}
.contactinfo h3{
  font-size: 26px;
}
.fdli-button{
  position: absolute;
  top: 80px;
  right: 30px;
  padding: 15px 50px;
  background: #02999b;
  color: #fff;
  outline: none;
  cursor: pointer;
  border: none;
}
.fdli-button.relative{
  position: static;
  padding: 15px 50px;
  background: #02999b;
  color: #fff;
  outline: none;
  cursor: pointer;
  border: none;
  margin-top: 20px;
}
.fdli-button.more-right{
  right: 220px;
}
.fdli-button.more-right-2{
  right: 398px;
}
.modal input#policyID{
  padding: 10px;
  width: 100%;
}

/** Modal */
.modal {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  position: absolute;
  top: 150px;
  left: 0;
  right: 0;
  max-width: 300px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.modal-close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  border: none;
  cursor: pointer;
  background-color: #fff;
}
.modal-close-btn img{
  height: 10px;
}

/** Overlay */
.overlay {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

/** JS */
.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* 48em = 768px */

@media (min-width: 824px) {
  .header li {
    float: left;
    font-size: 13px;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
  .left-menu{
    display: inline
  }
  .left-menu-mob{
    display: none
  }
.portal-login-mob{
  display: none;
}
.desk-only{
  display: block !important;
}
.mob-only{
  display: none !important;
}
a.mobile-pay{
  display: none
}
a.desktop-pay{
  float: right;
  margin-top: 14px;
  font-size: 12px;
  padding: 15px 50px;
  background: #02999b;
    text-decoration: none;
    color: #fff;
}
}
@media screen and (max-width:823px){
  a.mobile-pay{
    float: right;
    margin-top: 10px;
    font-size: 12px;
    background: #02999b;
    padding: 10px 12px;
    text-decoration: none;
    color: #fff;
  }
  .desk-only{
    display: none !important;
  }
  .mob-only{
    display: block !important;
  }
  a.desktop-pay{
    display: none
  }
  #primary_nav_wrap{
    display: none;
  }
  .portal-login-mob{
    display: block;
    transition: display 0.5s ease-in-out;
    position: relative;
  }
  .main-header ul li#portal-login{
    display: block;
    font-size: 15px;
  }
.portal-login,.main-header ul li#portal-login{
   display: none;
}
.main-header ul li#portal-login-mob{
  display: block
}
.main-header ul li#portal-login-mob .portal-login-mob{
  font-size: 15px;
}
  .main-header ul #portal-login-list-mob{
    display: none;
  }
  .main-header ul #portal-login-list-mob.active{
    display: block;
  }
  .main-header ul #portal-login-list-mob.active li{
    font-size: 13px;
  }
  .main-header .menu li{
    font-size: 15px;
  }
  .main-header .menu .left-menu-mob li{
    font-size: 13px;
  }
  .header .left-menu-mob li a{
    color: #02999b;
  }
  .left-menu-mob{
    display: block
  }
  .header ul{
    box-shadow: 0 0 0 0 rgba(207, 216, 241, 0.12); 

  }
  .intro .text{
    width: 100%;
    padding-top: 20px;
    font-size: 13px;
    padding-bottom: 30px;
  }
  .intro .text h3{
    font-size: 20px;
  }
  .intro{
   padding:40px 5%;
  }
  .content-elem div{
    font-size: 13px;
    padding: 10px 10px;
  }
  .content {
    display: block;
  }
  .content-elem{
    display: inline-block;
    width: 46%;
    margin-bottom: 20px;
    float:right;
  }
  .content-elem:nth-child(odd){
    margin-right: 20px;
    float: left;
  }
  .intro{
  float: left;
  }
  .chaticon {
    right: 0;
}
.chaticon img{
  width: 75%
}
.gridformob{
  display: grid;
  width: 100%;
  grid-template-rows: 2;
  grid-auto-columns: 1
}
.contactinfo,aside.footerimg{
  width: 100%;
}
.contactinfo{
  grid-row: 2/3;
}
aside.footerimg{
  grid-row: 1/2;
}
.contactinfo{
  padding: 10px 5%;
  padding-bottom: 30px;
}
.contactinfo p{
  font-size: 13px;
}
.contactinfo p.note{
  font-size: 11px;
}
.contactinfo h3{
  font-size: 20px;
}
footer.fdlifooter{
  padding: 20px 5%;
}

footer.fdlifooter ul{
  margin: 0;
  display: grid;
  grid-template-columns: 2fr;
  grid-template-rows: 3fr;
  grid-gap: 20px;
}
.newyork{
  grid-row: 2/3;
  grid-column: 1/3;
  justify-self: center;
  text-align: center;
}
.powered{
  grid-row: 3/4;
  grid-column: 1/3;
  justify-self: center;
}
.terms{
  grid-row: 1/2;
  justify-self: center;
  text-align: center;
}
.privacy{
  grid-row: 1/2;
  justify-self: center;
  margin-right: 20px;
  text-align: center;
}
.contactinfo span.phone{
  font-size: 24px;
  letter-spacing: 1px;
  }
  #up{
  position: absolute;
  right:20px;
  top:30%;
  
  }
  #up img{
    width:13px;
  }
  #up.up{
    transform: rotate(180deg);
  }
  .fdli-button{
    padding: 10px 40px;
    position: static;
  }

}