.roll-link {
  display: inline-block;
  overflow: hidden;
  -webkit-perspective: 900px;
  -moz-perspective: 900px;
  -ms-perspective: 900px;
  perspective: 900px;
  -webkit-perspective-origin: 50% 0%;
  -moz-perspective-origin: 50% 0%;
  -ms-perspective-origin: 50% 0%;
  perspective-origin: 50% 0%;
}

a:hover{
  text-decoration: none;
}

.signin{
  margin-right: 20px;
}

.roll-link span {
  display: block;
  position: relative;
  padding: 0 12px;
  font-size: 18px;
  padding-top: 10px;
  margin-left: 3px;
  padding-bottom: 10px;
  vertical-align: middle;
  color: white;
  
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -ms-transition: all 400ms ease;
  transition: all 400ms ease;
  -webkit-transform-origin: 30% 0%;
  -moz-transform-origin: 30% 0%;
  -ms-transform-origin: 30% 0%;
  transform-origin: 30% 0%;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.roll-link2 span {
    display: block;
    position: relative;
    font-size: 18px;
    vertical-align: middle;
    color: white;
    padding: 0 12px;
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    transition: all 400ms ease;
    -webkit-transform-origin: 30% 0%;
    -moz-transform-origin: 30% 0%;
    -ms-transform-origin: 30% 0%;
    transform-origin: 30% 0%;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.roll-link span:after {
  content: attr(data-title);
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  padding: 0 10px;
  padding-top: 5px;
  padding-bottom: 15px;
  margin-left: 3px;
  vertical-align: middle;
  background-color: #ED3A33;
  -webkit-transform-origin: 50% 0%;
  -moz-transform-origin: 50% 0%;
  -ms-transform-origin: 50% 0%;
  transform-origin: 50% 0%;
  -webkit-transform: translate3d( 0px, 0px, -35px ) rotateX( 90deg );
  -moz-transform: translate3d( 0px, 0px, -35px ) rotateX( 90deg );
  -ms-transform: translate3d( 0px, 0px, -35px ) rotateX( 90deg );
  transform: translate3d( 0px, 0px, -35px ) rotateX( 90deg );
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
    background-color: #333;
    border-color: #428bca;
}

.roll-link:hover span {
  color:#fff;
  font-size: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: 3px;
  vertical-align: middle;
  -webkit-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
  -moz-transform: translate3d( 0px,  105%, 0px ) rotateX( -90deg );
  -ms-transform: translate3d( 0px,  105%, 0px ) rotateX( -90deg );
  transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
}

.signup-here span{
  background-color: #ED3A33;
}

.signup-here span:after {
  background-color: transparent;
}

@media (max-width: 370px){
  .roll-link span{
    font-size: 14px;
    margin-left: 0px;
    padding: 0 8px;
  }
  .signin{
    margin-left: 10px; 
  }
  .roll-link span:after {
    font-size: 14px;
    margin-left: 0px; 
    padding: 0 6px;
    background-color: inherit;
  }
  .roll-link:hover span {
    font-size: 14px;
    margin-left: 0px;
  }

}

@media (max-width: 330px){
  .roll-link span{
    font-size: 12px;
    padding: 0 6px;
  }
  .signin{
    margin-left: 5px; 
  }
  .roll-link span:after {
    font-size: 12px;
    padding: 0 4px;
  }
  .roll-link:hover span {
    font-size: 12px;
  }
}

.home-submit-form .form-control, .submit-btn{
    border-radius: 5px;
    border: none;
}

.submit-btn{
    vertical-align: middle;
    height: 47.796875px;
}

.home-submit-form .form-control:hover, .submit-btn:hover{
    border:solid;
    border-color: #5e5e5e;
    border-radius: 5px;
}

.services{
    margin-top: 20px;
}

hr.faq{
    height: 1px;
    color: white;
    margin: 40px auto 35px auto;
    background-color: white;
    width: 80%;
}

#listContainer{
    text-align: center;
    margin-bottom: 50px;
}

.demo-special{
    margin-top: -90px;
}

.head-info{
    font-size: 1.73em;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .head-info{
        margin-top: 25%;
        font-size: 1.3em;
    }

    .page-title{
        margin-top: 30%;
    }

    .services .box {
        font-size: 1.1em;
    }

    #listContainer{
        margin-top: 10%;
        text-align: left;
        width: 100%;
    }

    #expList + ul,#expList > li {
        width:100%;
    }

    #expList li {
        line-height:1.5em;
        width: 100%;
    }
}

@media (max-width: 768px) and (min-width: 500px){
    #expList li {
        margin-left: 2%;
        margin-right: 2%;
        width: auto;
    }
}

@media (max-width: 500px){
    #expList li {
        line-height:1.5em;
        margin-left: -10%;
        width: 105%;
    }
}

@media (max-width: 330px){
    .roll-link span{
        font-size: 12px;
        padding: 0 6px;
    }
    .signin{
        margin-left: 5px;
    }
    .roll-link span:after {
        font-size: 12px;
        padding: 0 4px;
    }
    .roll-link:hover span {
        font-size: 12px;
    }
}

.footer-list{
    list-style: none;
    text-align: center;
    color: white;
    font: inherit;
}

.footer-list li a{
    text-decoration: none;
}

.footer-list li a:hover, .addr:hover{
    text-decoration: underline;
}

#wrap {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    min-height: 100%;
    height: auto !important;
    margin-top: 50px;
}

.space-40 {
    height:40px;
    clear:both;
}

#push, #footer {
    height: 0px;
}

@media (max-width: 768px) {
    #footer {
        padding-left: 20px;
        padding-right: 20px;
        height: 120px;
    }

    #wrap {
        margin-top: 210px !important;
    }
}

.listing-status {
    position: absolute;
    vertical-align: top;
    margin-top: -8px;
    margin-left: -8px;
}

.listing-name-pms {
    vertical-align: top;
    margin-top: -8px;
    margin-left: auto;
    margin-right: -8px;
    font-size: x-small;
}

.listing-name {
    position: relative;
}

.listing-email {
    position: absolute;
    vertical-align: top;
    margin-top: -8px;
    margin-left: -8px;
    font-size: x-small;
    bottom: 0px;
    right: 0px;
}

.listing-health-red-circle {
    background: rgba(256, 0, 0, .5);
    width: 35px;
    height: 25px;
    border-radius: 25%;
    margin: auto;
}

.listing-health-yellow-circle {
    background: rgba(225, 153, 0, .5);
    width: 35px;
    height: 25px;
    border-radius: 25%;
    margin: auto;
}

.listing-health-green-circle {
    background: rgba(127, 208, 113, .5);
    width: 35px;
    height: 25px;
    border-radius: 25%;
    margin: auto;
}

.listing-health-gray-circle {
    background: rgba(184, 184, 184, 0.5);
    width: 35px;
    height: 25px;
    border-radius: 25%;
    margin: auto;
}

.listing-health-number {
    padding-top: 3px;
    text-align: center;
    color: white;
}


@media screen
and (min-width: 300px)
and (max-width: 768px) {
    #wrap {
        margin-top: 110px;
    }
    .space-40 {
        height:0px;
        clear:both;
    }
}

@media screen
and (min-width: 769px)
and (max-width: 965px) {
    #wrap {
        margin-top: 160px;
    }
}

@media (max-width: 375px){
    .videoWrapper {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 25px;
        height: 0;
    }
    .videoWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        padding-left: 20px;
        width: 100%;
        height: 100%;
    }
}
