body {
    margin: 0;
    padding: 0;
}

/* navbar */

.btn-danger {
    margin-left: 50px;
    font-size: 18px;
    font-weight: 600;
}

.btn-danger a {
    text-decoration: none;
    color: #fff;
}


.abs-center-x {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-nav li:hover>ul.dropdown-menu {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
}

/* rotate caret on hover */
.dropdown-menu>li>a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
}

.addnav {
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    color: #393c45;
}

.addnav:hover {
    cursor: pointer;
    color: #491f9b;
    background-color: transparent;
    transition: 0.5s;
}

.addnavs {
    font-size: 17px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    color: white !important;
}

.addnavs:hover {
    cursor: pointer;
    color: #491f9b !important;
    background-color: transparent;
    transition: 0.5s;
}
@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    [class*="coverlayyy"] {
      width: 100%;
      padding-top: 15px!important;
      margin: auto !important;
      margin-left: 50px !important;
    
    }
  }

/* navbar */
.hearder {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url("https://www.paterson-healthcare.co.uk/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBeVh1R2c9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--8ac8300708d8bac4bb890837ec688dd73d24f4f2/Healthcare-Tech.jpg");
    background-repeat: no-repeat;
    height: 480px;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    padding-bottom: 100px;
    padding-bottom: 100px;
}

.contactword {

    font-size: 60px;
    color: #fff;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 2px;
    margin-top: 30px;
}

.card-img-overlay {
    margin-top: 180px !important;
}

.divline {
    width: 400px;
    height: 2px;
    background-color: #fff;
    margin-left: 50px;
    margin-bottom: 50px;
    margin: auto;
}

.divlineed {
    width: 190px;
    height: 2px;
    background-color: #fff;
    margin-left: 50px;
    margin-bottom: 50px;
    margin: auto;
}

.up {
    position: fixed;
    bottom: 8px;
    right: -55px;
    background-color: #33353d;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    padding: 2px;
    transition: 0.2s;
    z-index: 100000 !important;

}

.show {
    right: 15px;
}

.icoon {
    color: #fff;
}

.dvhima {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 5px;
}


/*  */

.slider{
    height: 250px;
    margin: auto;
    position: relative;
    width: 90%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.slide-track{
    display: flex;
    width: calc(250px * 12);
    animation: scroll 30s linear infinite;
}

.slide-track:hover{
    animation-play-state: paused;
}

@keyframes scroll{
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 6 ));
    }
}

.slide{
    height: 200px;
    width: 250px;
    display: flex;
    align-items: center;
    padding: 15px;
    perspective: 100px;
}

.slideImage{
    width: 100%;
    transition: transform 1s;
}
img:hover{
    transform: translateZ(20px);
}
/* shooow */

.slider::before,
.slider::after{
    background: linear-gradient(to right , rgba(255,255,255,1) 0% , rgba(255,255,255,0) 100%) ;
    content: '';
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 2;
}

.slider::before{
    left: 0;
    top: 0;
}
.slider::after{
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

/*  */





/* Footer */
.site-footer {
    background-color: #4c82e7;
    padding: 35px 0 20px;
    font-size: 15px;
    line-height: 24px;
    color: #33353d;
}

.site-footer hr {
    border-top-color: #000;
    opacity: 0.5
}

.site-footer hr.small {
    margin: 20px 0
}

.site-footer h6 {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 2px
}

.site-footer a {
    color: #737373;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-links {
    padding-left: 0;
    list-style: none
}

.footer-links li {
    display: block
}

.footer-links a {
    color: #fff
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
    color: wheat;
    text-decoration: none;
}

.text-justify {
    color: white;
}

.footer-links.inline li {
    display: inline-block
}

.site-footer .social-icons {
    text-align: right
}

.site-footer .social-icons a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-left: 6px;
    margin-right: 0;
    border-radius: 100%;
    background-color: #33353d
}

.copyright-text {
    margin: 0;
    color: white;
    font-weight: 400;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (max-width:991px) {
    .site-footer [class^=col-] {
        margin-bottom: 30px
    }
}

@media (max-width:767px) {
    .site-footer {
        padding-bottom: 0
    }

    .site-footer .copyright-text,
    .site-footer .social-icons {
        text-align: center
    }
}

.social-icons {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none
}

.social-icons li {
    display: inline-block;
    margin-bottom: 4px
}

.social-icons li.title {
    margin-right: 15px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    font-size: 13px
}

.social-icons a {
    background-color: #eceeef;
    color: white;
    font-size: 16px;
    display: inline-block;
    line-height: 44px;
    width: 44px;
    height: 44px;
    text-align: center;
    margin-right: 8px;
    border-radius: 100%;
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear
}

.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
    color: #fff;
    background-color: #29aafe
}

.social-icons.size-sm a {
    line-height: 34px;
    height: 34px;
    width: 34px;
    font-size: 14px
}

.social-icons a.facebook:hover {
    background-color: #3b5998
}

.social-icons a.twitter:hover {
    background-color: #00aced
}

.social-icons a.linkedin:hover {
    background-color: #007bb6
}

.social-icons a.dribbble:hover {
    background-color: #ea4c89
}

@media (max-width:767px) {
    .social-icons li.title {
        display: block;
        margin-right: 0;
        font-weight: 600
    }
}

.target {
    font-weight: bold;
    font-size: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #491f9b;
    text-align: center;
    margin-bottom: 100px;
    margin-top: 100px;
}

.targett {
    font-weight: bold;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #491f9b;
    text-align: center;
}


.ajweb {
    color: #fff !important;
}