
@media screen and (max-width: 578px) {
    .trdfairTitle h1{
        font-size: 28PX!important;
    }
    .defaultloGo img{
        width: 100px;
    }
    .bFairMa {
        padding-top: 78px!important;
        height: 112% !important;
         position: relative!important;
        top: 30 px;
        bottom: 0;
        background: none!important;
        color: #f1f1f1;
        /* width: 100%; */
         padding-bottom:0!important;
    }
    #custCarousel .carousel-indicators li img{
        margin-top: -9px;
        background: red;
        display: block;
        opacity: 0.5;
        padding: 8px 25px!important;

    }
    div#edu_clo_res {
        margin-top: -40px!important;
    }
    header#page-header .btn {
        padding: 0 0!important;
    }
}
@media screen and (max-width: 578px) {
    .trdfairTitle h1{
        font-size: 28PX!important;
    }
    .bFairMa{
        position: relative!important;
    }
    ul#listDAdN .nav-link {
         border: 1px #fff solid!important;
        padding: 5px 13px!important;
        color: #29334c;
        background: #f4f4f5cf;
        margin: 0 -1px!important;
        border-radius: 2px;
    }
    .course_details{
        text-align: center!important;
    }
    #custCarousel .carousel-indicators li img{
        margin-top: -9px;
        background: red;
        display: block;
        opacity: 0.5;
        padding: 8px 25px!important;

    }
    .admission_content_co {
        border: none!important;
        background-color: transparent!important;
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
        padding: 5px 10px!important;
    }
    .admission_content_co .btn-hero-sm{
        padding: 1px!important;
    }
    .admission_content_listing:hover {
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
        background: #f9f8f5;
    }
    .ad_pr_logo {
        padding: 1px!important;
        margin-left: -10px;
        width: 80px!important;
        border-radius: 5px;
        background: #fff;
         margin-top: 0;
        position: absolute;
        /* margin-bottom: -13px; */
        height: 80px!important;
        border: 1px solid #607D8B;
    }
    .d_short_ad {
        text-align: start!important;
        margin-top: 45px!important;
    }
    .loved_and_review {
        margin-top: -235px!important;
        text-align: right!important;
    }
    .d_short_ad button {
        padding: 2px 7px!important;
        margin: 0 1px;
    }
    ul#categories_title {
        padding-left: 0!important;
    }
    .admission_content_listing {
        margin-bottom: 10px;
    }
    .admission_content_listing .btn {
        color: #007075;
        background: #fff;
        margin-bottom: 10px;
        text-transform: capitalize;
        padding: 1px 8px;
    }
    .admission_content_co h2{
        margin-bottom: 0!important;
    }
    .sub_tag-title {
        margin-bottom: -15px;
        margin-top: 30px;
    }
    .Subject_tags {
        padding-bottom: 30px;
    }
    .logo-wrapper>li {
        margin: 1px 4px;
        float: left;
        width: 20%;
         padding: 0!important;
        text-align: center;
        border: 2px solid #ddd;
    }
    .search-container{
        padding: 10px 0;
        max-width: 100%!important;
        position: inherit!important;
    }
    .search-container .input-group-lg>.form-control{
        font-size: 10px!important;
    }
    div#searchlions p {
        margin-bottom: 1px;
        font-size: 10px!important;
    }
    #search:target {
        height: 138vh!important;
        width: 100vw;
        transition: opacity 0.5s;
    }
    div#searchlions {
        background: #007075!important;
        color: #fff;
    }

    div#searchlions span {
        font-size: 12px;
    }

    div#ser {
        margin-left: 2%!important;
        margin-top: -151px!important;
        position: absolute;
    }
    div#search_box {
        margin-top: -145px;
    }

    .sp-thumbnail-title strong{
        font-size: 12px!important;
        font-weight: 600;
    }
    .sp-thumbnail-container.sp-thumbnail, .sp-thumbnail-container{
        width: 180px!important;
        height: 79px!important;
    }
    .sp-image-container{
        width: 360px;
        height: 180px!important;
    }
    /*.sp-slide.sp-selected{*/
    /*    width: 360px;*/
    /*    height: 210px!important;*/
    /*    left: 0px;*/
    /*}*/
    .sp-mask.sp-grab {
        width: 360px!important;
        height: 176px!important;
    }
    div#events_icon_ad {
        display: none;
        margin-top: -95px;
        width: 100px;
        height: 100px;
        overflow: hidden;
        float: right;
    }
    .coming-event p {
        line-height: 1.4;
        font-size: 14px;
        margin-bottom: 0!important;
    }
    .upcoing_events .event-title {
        font-size: 16px;
        margin-bottom: 5px;
    }
    span#e_date_time {
        font-size: 13px;
    }
    div#clients_logo .carousel-control-next, .carousel-control-prev {
        margin-left: 2px!important;
        margin-top: 0;
        background: transparent;
        margin-right: 0px!important;
        /* top: 106px; */
        bottom: -1px;
        z-index: 1;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 26px;
        color: red;
        text-align: center;
        opacity: .5;
        transition: opacity .15s ease;
        /* padding: initial; */
    }
    .clients_partners {
        padding: 0 10px 10px 10px!important;
        background: #fff;
    }
    .logo-wrapper>li {
        list-style: none;
        margin: 4px!important;
        float: left;
        width: 14%!important;
        /* max-width: 90px; */
        padding: 1px;
        text-align: center;
        border: 1px solid #ddd;
        height: 11%;
        max-height: 90px;
    }
    .ad_nepal_cat_ab {
        background: #fff;
        padding: 0 0 15px 0!important;
    }
    .ad_nepal_cat_ab_all{
        margin: 5px 0!important;
    }
    .ad_nepal_cat_ab_all3{
        margin: 5px 0!important;
    }
    #f_ad_ne_main_title{
        font-size: 20px!important;
    }
    div#heading_ti_adn span {
        font-size: 12px;
    }
    .courses .single-course{
        margin-top: 0!important;
    }
    .admission_content_co h2{
        font-size: 15px!important;
    }
    .co_adnepal_tap {
        text-align: left!important;
    }
    .ad_nepal_button {
        text-align: center!important;
    }
    h3.ad_courses{
        font-size: 13px!important;
    }
    .adn_facilities a {
        font-size: 14px !important;
    }
    div#short_by_adn {
        padding: 5px 5px 5px 0!important;
    }
    .college_search_fil a {
        padding: 4px;
        color: #0b1009;
        font-weight: inherit;
        text-transform: none!important;
        font-size: 13px;
    }
    .user_pr_logo {
        border-radius: 50%;
        box-shadow: 0 1px 0 4px #007075;
        padding: 5px;
        width: 60px!important;
        background: #fff;
        margin-top: 44px;
        position: absolute;
        margin-bottom: -13px;
        height: 60px!important;
        border: 1px solid #607D8B;
    }
    .user_loved_and_review {
        margin-top: -134px!important;
        text-align: right;
    }
    div#ad_flet-ri {
        flex-wrap: wrap-reverse;
    }
    .co_adnepal_tap a {
        font-size: 13px!important;
        padding: 0!important;
    }
    div#blog_sub_title img {
        height: 71px;
    }
    .bg-white.rounded.push.affix {
        padding: 0!important;
        position: fixed!important;
        left: 0;
        right: 0;
        width: 100%;
        top: 54px;
        z-index: 1024;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
        background: #243a50f2;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-animation-name: fadeInDown;
        animation-name: fadeInDown;
    }
}
@media only screen and (width:768px) {
     .bFairMa{
        position: relative!important;
    }
    .breaking-caret:after {
        content: "";
        width: 0;
        height: 0;
        border-top: 20px solid transparent;
        border-left: 15px solid #007bff;
        border-bottom: 20px solid transparent;
        position: absolute;
        right: -105px;
        top: 0;
    }
    .bFairMa {
        position: static !important;
        bottom: 0;
        background: rgb(13 55 89) !important;
    }
}
@media only screen and (width:768px) {
 .bFairMa {
        position: static !important;
        bottom: 0;
        background: rgb(13 55 89) !important;
    }
}

/* ----------- iPad 1, 2, Mini and Air ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
.bFairMa {
        position: static !important;
        bottom: 0;
        background: rgb(13 55 89) !important;
    }
}
/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
      .bFairMa {
        position: static !important;
        bottom: 0;
        background: rgb(13 55 89) !important;
    }

}