@media screen and (-webkit-min-device-pixel-ratio:0) {
    form.login_form input {
        line-height: 1.5;
    }
}

@media screen and (max-width: 1199px) { 
    header .nav_menu li a {
        padding: 25px 18px !important;
    }
    
    .profile_page .profile_brand_img {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    .profile_page .profile_brand_img a {
        margin: 0 15px;
    }
    .profile_page {
        padding-bottom: 70px;
    }
    .profile_page .add_friend a.btn {
        padding: 12px 18px;
    }
    .profile_page .profile_caption .profile_img {
        width: 160px;
        height: 160px;
    }
    .profile_page .profile_caption p {
        padding: 10px 41px 10px 70px;
        font-size: 26px;
    }
    .profile_page .add_friend a.btn {
        padding: 13px 19px;
    }
    .profile_caption {
        padding-left: 74px;
    }
    .profile_item_right .profile_timestemp {
        width: 100%;
        min-width: 100%;
    }

    .ride_overview .category_selector .card .card_header {
        -webkit-flex-flow: wrap;
        flex-flow: wrap;
        -ms-flex-flow: wrap;
    }
    .ride_overview .category_selector .card .card_header .my_rating {
        padding-left: 20px;
        margin-top: 5px;
    }
    .ride_overview .category_selector .card .card_body {
        -webkit-flex-flow: wrap;
        flex-flow: wrap;
        -ms-flex-flow: wrap;
        padding: 12px 40px;
    }
    .ride_overview .category_selector .card .card_body .card_btn {
        margin-top: 8px;
    }

    .profile_settings .setting_inner .profile_setting_left {
        min-width: auto;
    }
    .profile_settings .setting_inner .profile_setting_main {
        max-width: none;
    }
    .profile_settings .setting_inner .profile_setting_right {
        min-width: auto;
    }
    .profile_settings .setting_menu .sidebar_menu .setting_item a {
        padding: 18px 30px;
    }
    .profile_settings .setting_menu .sidebar_menu .setting_item.active a {
        padding-left: 30px;
    }

    footer .footer_inner .social_icon a {
        margin-right: 22px;
        margin-bottom: 25px;
    }
}
@media screen and (max-width: 991px) { 
    header .nav_menu {
        flex-direction: column;
    }
    header .nav_menu li {
        text-align: center;
        margin: 0;
    }
    header .navbar-nav .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid #F7F7FA;
    }
    div#navbarSupportedContent {
        position: absolute;
        right: 0px;
        top: 100%;
        left: -1px;
        background: rgb(255, 255, 255);
        z-index: 9999;
    }
    header .profile_img {
        margin-left: 10px;
    }
    .navbar-nav .dropdown-menu {
        text-align: center;
        border: none;
    }
    .navbar-nav .dropdown-menu a {
        font-size: 13px;
        padding: 15px 0;
        color: #454F63;
        font-weight: 400;
    }
    header .nav_menu li .dropdown-menu.show a {
        padding: 15px 35px !important;
    }
    header .nav_menu li .dropdown-menu.show a + a {
        border-top: 1px solid #F7F7FA;
    }

    .social_feed_right {
        min-width: auto;
    }
    .social_feed_left {
        max-width: auto;
    }
    .social_feed .profile_item {
        padding: 20px 0 20px 15px;
    }
    .social_feed .profile_timestemp .timestemp .profile_title {
        padding-right: 14px;
    }
    .social_feed .timestemp .map_img {
        padding-bottom: 125px;
    }

    .profile_page .profile_item {
        padding: 20px 0 20px 15px;
    }
    .profile_page .profile_timestemp .timestemp .profile_title {
        padding-right: 14px;
    }
    .profile_page .timestemp .map_img {
        padding-bottom: 125px;
    }
    .profile_page .challenges {
        padding: 120px 30px 25px 30px;
    }
    .profile_caption {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -90px;
        transform: none;
        padding: 0 15px;
        margin: auto;
    }
    .profile_page .profile_caption .profile_img {
        margin-left: 59px;
    }
    .profile_page .profile_caption p {
        position: relative;
        left: 0;
        top: 0;
        padding: 0;
        background-color: transparent;
        color: #596274;
        padding-left: 35px;
        padding-top: 10px;
    }

    .ride_overview .category_selector .card .card_body {
        padding: 12px 32px 12px 15px;
    }
    .ride_overview .map iframe {
        height: 400px !important;
    }
    .challenges .map {
        padding: 10px;
    }
    .challenges .map iframe {
        height: 400px !important;
    }

    .ride_overview .map {
        padding: 10px;
    }

    .profile_settings {
        padding-bottom: 24px;
    }
    .profile_settings .setting_inner .profile_setting_main {
        margin-top: 24px;
        margin-bottom: 8px;
    }
    .profile_settings .profile_setting_main .form_profile_img {
        margin: auto;
    }
    .profile_settings .setting_inner .profile_setting_right {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;

        -webkit-box-pack: space-between;
        -moz-box-pack: space-between;
        -ms-flex-pack: space-between;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }
    .profile_settings .mijin_account {
        width: 100%;
        margin-right: 12px;
    }
    .profile_settings .connections {
        width: 100%;
        margin: 0;
        margin-left: 12px;
    }
    .profile_settings .setting_menu {
        position: absolute;
        right: 12px;
        left: 12px;
        z-index: 999;
    }
    .profile_settings .setting_menu .sidebar_menu {
        position: relative;
    }
    .profile_settings .setting_menu .sidebar_menu li {
        display: none;
        transition: border-width 0.4s;
    }
    .profile_settings .setting_menu .sidebar_menu li:first-child {
        display: block;
        color: #78849E;
        border-left: 10px solid #fc5200;
    }
    .profile_settings .setting_menu .sidebar_menu .setting_item a {
        padding: 15px 30px;
    }
    .profile_settings .setting_menu .sidebar_menu li:first-child a {
        padding-left: 30px;
    }
    .profile_settings .setting_menu .sidebar_menu.open li {
        display: block;
    }
    .profile_settings .setting_menu .sidebar_menu span {
        display: block;
    }
    .profile_settings .setting_menu .sidebar_menu span:before {
        position: absolute;
        top: 15px;
        right: 30px;
        content: "\f078 ";
        font-family: FontAwesome;
        color: #454F63;
    }
    .profile_settings .setting_menu .sidebar_menu.open span:before {
        content: "\f077";
    }
    .profile_settings .setting_inner .profile_setting_left {
        height: 54px;
        box-sizing: content-box;
    }
    .profile_settings .setting_inner {
        margin-top: 0;
    }
    .profile_settings .connections {
        min-height: auto;
    }

    footer .footer_inner h3 {
        margin-bottom: 10px;
    }
    footer .footer_link div {
        margin-bottom: 20px;
    }
    footer .footer_inner {
        padding: 60px 0 40px;
    }
}
@media screen and (max-width: 767px) {
    .bottom_nav .navbar-brand {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 6px;
    }
    nav .navbar-brand span {
        margin-left: 15px;
        padding: 12px;
        padding-left: 15px;
    }
    header .nav_menu li a {
        font-size: 13px;
        padding: 20px 25px !important;
    }
    /* header nav .serch input {
        display: none;
    } */
    header nav .serch.serchpopup {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 8px;
        z-index: 2;
    }
    header nav .serch input {
        background: #f6f6f9;
        padding: 6px 10px 6px 35px;
        min-width: 126px;
        width: 100%;
        max-width: min-content;
    }
    header nav .serch.serchpopup input {
        min-width: 100%;
        background-color: #F6F6F9;
        padding: 6px 35px;
    }
    header nav .serch i.fa.fa-search {
        left: 15px;
    }
    header nav .serch.serchpopup i.fa.fa-times {
        display: inline-block;
        position: absolute;
        right: 15px;
        transform: translateY(-50%);
        top: 50%;
        color: #454f63;
    }
    header .bottom_nav .profile_img .dropdown-menu.show {
        top: calc(100% + 10px);
        right: -5px !important;
    }
    .bottom_nav nav.navbar.navbar-expand-lg.p-md-0 {
        padding-left: 0;
        padding-right: 0;
    }

    .social_feed {
        padding-bottom: 20px;
    }
    .social_feed .news_brevet button {
        padding: 16px 20px;
    }
    .social_feed .timestemp .flex-sm-rows {
        display: block;
    }
    .social_feed .timestemp .map_img {
        margin: 0 20px 0 20px;
        padding-bottom: 50%;
        width: calc(100% - 40px);
    }
    .social_feed .profile_timestemp .timestemp {
        padding: 0;
    }
    .social_feed h4 img {
        width: 14px;
        height: 14px;
    }
    .social_feed .timestemp .map_img img {
        height: auto;
        top: 15px;
    }

    .profile_page .row {
        flex-wrap: wrap;
        justify-content: center !important;
    }
    .profile_page {
        padding-bottom: 20px;
    }
    .profile_caption {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -160px;
        transform: none;
        padding: 0 15px;
        margin: auto;
    }
    .profile_page .row.profile_caption_inner {
        flex-direction: column;
    }
    .profile_page .profile_caption .profile_img {
        margin: auto;
        width: 150px;
        height: 150px;
    }
    .profile_page .profile_caption p {
        padding-left: 0;
        text-align: center;
        font-size: 22px;
    }
    .profile_page .add_friend a.btn {
        /* border-radius: 5px !important; */
        background: #e7623e;
        color: #ffffff;
        padding: 10px 14px;
        font-size: 14px;
    }
    .profile_page .add_friend {
        justify-content: center;
        top: 0;
        margin-top: 15px;
    }
    .profile_page .challenges {
        padding: 180px 30px 25px 30px;
    }
    .profile_page .timestemp .map_img img {
        height: auto;
    }
    .profile_page .profile_timestemp .timestemp {
        padding: 0;
    }
    .profile_page .profile_timestemp .timestemp .flex-sm-rows {
        display: block;
        min-width: 100%;
    }
    .profile_page .timestemp .map_img {
        margin: 15px 20px 0 20px;
        padding-bottom: 50%;
        width: calc(100% - 40px);
    }
    .profile_page .profile_item {
        padding: 20px 20px 20px 15px;
    }
    .profile_page .profile_item_right {
        width: 100%;
        min-width: 100%;
    }
    .profile_page .profile_brand_img {
        height: auto;
    }

    .ride_overview {
        padding-bottom: 20px;
    }
    .ride_overview .map {
        padding: 5px;
    }
    .ride_overview .category_selector .card .card_body .card_btn {
        padding: 6px 16px;
    }
    .ride_overview .category_title {
        margin-bottom: 0;
    }
    .ride_overview .select_category .category_list {
        display: none;
    }
    .ride_overview .select_category .category_responsive {
        display: block;
    }

    .challenges {
        padding-bottom: 18px;
    }
    .challenges .map {
        padding: 5px;
    }
    .challenges .progress_main .progress_counter {
        margin-bottom: 18px;
    }
    .challenges .select_category {
        display: block !important;
    }
    .challenges .category_title {
        margin-bottom: 10px;
    }
    .challenges .progress_main .progress_counter .progress_bar {
        padding: 20px 15px; 
    }
    .challenges .progress_main .klassment_main .klassment_item {
        margin: 9px 15px 16px 15px;
    }
    .challenges .category_dropdown {
        display: block !important;
    }
    .challenges .category_dropdown .category_btn {
        margin-left: 1px;
        margin-top: 10px;
    }
    .challenges .category_dropdown .category_selector .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }
    .challenges .category_dropdown .dropdown-menu.show {
        overflow: hidden;
        min-width: auto;
        width: 100%;
    }

    .profile_settings .setting_inner .profile_setting_right {
        -webkit-flex-flow: row wrap;
        flex-flow: row wrap;
        -ms-flex-flow: row wrap;
    }
    .profile_settings .mijin_account {
        margin-right: 0;
    }
    .profile_settings .connections {
        margin-left: 0;
        margin-top: 24px;
    }
    .profile_settings .profile_setting_main .form_profile_img {
        width: 135px;
        height: 135px;
    }

    footer .footer_inner .btn_playstore {
        margin-bottom: 20px;
        margin-right: 10px;
    }
    footer .footer_inner .btn_applestore {
        margin-bottom: 20px;
    }
    footer .footer_inner .social_icon a {
        margin-bottom: 0;
    }
    footer .footer_inner {
        padding: 40px 0 40px;
    }
    footer .footer_inner .social_icon a {
        margin-right: 10px;
        margin-left: 10px;
    }
}
@media screen and (max-width: 576px) {
    .social_feed .profile_timestemp .timestemp {
        padding: 0;
    }
    
    .profile_item_right .profile_timestemp {
        max-width: initial;
    }
    .profile_page .profile_timestemp .timestemp {
        padding: 0;
    }
    .profile_page .profile_item_right .row {
        max-width: 100%;
        margin: 0;
    }
    .profile_page .profile_item_right .row div.set_padding {
        padding: 0;
    }
    .profile_page .profile_caption .profile_img {
        margin-bottom: 5px;
    }
    .profile_page .profile_brand_img a {
        margin: 5px 10px;
    }
    .profile_page .profile_brand_img {
        padding: 15px 15px;
    }

    footer .footer_inner ul.nav {
        margin: auto;
    }
    footer .footer_inner .social_icon {
        justify-content: center;
    }
}
@media screen and (max-width: 420px) {
    nav .navbar-brand img {
        height: 28px;
        width: auto;
        max-width: 140px;
    }
    nav .navbar-brand span {
        font-size: 18px;
        padding: 10px;
        padding-left: 10px;
        margin-left: 10px;
    }

    .ride_overview .category_selector .card .card_body {
        padding: 12px 15px 12px 15px;
    }
}
@media screen and (max-width: 400px) {
    .banner {
        height: 615px;
    }
    form.login_form {
        width: 100%;
        top: 0;
        left: 0;
        transform: initial;
    }
    form .social_btn {
        flex-direction: column;
    }
    form .social_btn .btn_garmin {
        margin-bottom: 14px;
    }
    form .btn_facebook {
        margin-left: 0;
    }
    .brand_logo .col-6.col-lg-4.p-0.text-center {
        min-width: 100%;
    }
    form .btn_forgotpass {
        font-size: 12px;
    }
    .form-check label {
        font-size: 13px;
        line-height: 1;
    }
    .form-check label:before {
        margin-right: 7px;
    }
    .profile_settings .profile_setting_main form .input_file {
        display: block;
        text-align: center;
    }
    .profile_settings .input_file:hover > .button {
        margin-right: 0;
    }
    .profile_settings .input_file > .label {
        display: block;
        margin-top: 5px;
    }
}
@media screen and (max-width: 341px) {
    footer .footer_inner .btn_playstore {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
  