/*********************************************************************************

	Template Name: Template Full Name Here
	Description: A perfect template to build beautiful and unique medical websites. It comes with nice and clean design.
	Version: 1.0

	Note: This is custom css.

**********************************************************************************/

/* header number */
.header-default .header__wrapper .header-right {
    margin: 0 !important;
    -webkit-box-pack: start !important;
    -webkit-justify-content: flex-start !important;
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
}

.modal-body-flex-item{
    box-shadow: none;
    border: 2px solid #e5eaee;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: .3s ease;
}
.modal-body-flex-item:hover{
    background-color: #860404;
    color: #fff;
    cursor: pointer;
}

.modal-body-flex-item i{
    font-size: 25px;
    color: #860404;
    transition: .4s ease;
}
.modal-body-flex-item a{
    font-size: 20px;
    font-width: 600;
    color: #860404;
    transition: .4s ease;
}

.modal-body-flex-item:hover  a{
    color: #fff !important;
}


.modal-body-flex-item:hover  i{
    color: #fff !important;
}

.greencardBtn{
    position: fixed;
    right: 22px;
    bottom: 22px;
    border-radius: 87px !important;
    background: #27b077 !important;
    color: #fff !important;
}
.greencardBtn:hover{
    color: #860404 !important;
}
@media (min-width: 992px) {
    .header-number {
        font-size: 23px !important;
    }
    .header-default .header__wrapper .header-left {
        flex-basis: 16% !important;
    }
}

@media (max-width: 1250px) {
    .mainmenu-wrapper .page_nav ul.mainmenu li.lavel-1 > a {
        padding-left: 0 !important;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .header-default .header__wrapper .header-right {
        flex-basis: unset !important;
        -webkit-flex-basis: unset !important;
    }
    .btn-our-services {
        padding: 15px 20px !important;
    }

}

@media only screen and (max-width: 1100px) {
    .mainmenu-wrapper .page_nav ul.mainmenu li.lavel-1 > a {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        white-space: nowrap;
    }
    .header-number {
        font-size: 18px !important;
    }
}

@media (max-width: 991px) {
    .header-default .header__wrapper .header-right {
        margin: 0 -12px !important;
        -webkit-box-pack: end !important;
        -webkit-justify-content: flex-end !important;
        -ms-flex-pack: end !important;
        justify-content: flex-end !important;
    }
    .header-number {
        font-size: 24px !important;
    }
    .header-default .header-right > div {
        margin: 0 12px 0 24px !important;
    }
}

@media (max-width: 767px) {
    .btn-our-services, .my-own-btn {
        width: 300px !important;
    }
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 7.75rem auto;
    }
}

@media (max-width: 575px) {
    .header-default .header-right > div {
        margin: 0 12px 0 0 !important;
    }
    .modal-dialog {
        position: relative;
        width: auto;
        margin: 7.5rem 20px !important;
        pointer-events: none;
    }
}

@media (max-width: 475px) {
    .header-number {
        font-size: 20px !important;
    }
    .btn-our-services, .my-own-btn {
        width: 100% !important;
    }

    .greencardBtn {
        position: fixed;
        right: 0;
        bottom: 0;
        border-radius: 0 !important;
        background: #27b077 !important;
        color: #fff !important;
    }
}

@media (max-width: 414px) {
    .header-number {
        font-size: 17px !important;
    }

    .modal-body-flex-item {
        padding: 15px;
    }
}

@media (max-width: 350px) {
    .header-number {
        font-size: 14px !important;
    }
}

@media (max-width: 310px) {
    .header-number {
        font-size: 12px !important;
    }
}
