/* For mobile phones: */
@media only screen and (max-width: 768px) {
    .hideMobile {
        display: none;
    }
    .showMobile {
        display: block !important;
    }
    .content-wrapper {
        overflow-y: scroll;
    }
    .content-wrapper.expanded {
        margin-left: 0;
        margin-top: 60px;
        float: none;
    }
    .imgLoading,
    .newsfeed .imgLoading {
        width: 220px;
        position: absolute;
        top: 0;
        z-index: 1001;
        left: 0;
        height: 200px;
        right: 0;
        bottom: 0;
        margin: auto;
    }
    .newsfeed .imgLoading {
        width: 100px;
        height: 100px;
    }
    .barcoLogin {
        position: fixed;
        top: 34%;
    }

    /* LOGIN */
    .container1,
    .contentFish {
        display: none;
    }
    .barcoLogin img {
        width: 240px;
    }
    .bgtop,
    .bgBottom {
        background-size: cover;
    }
    .login {
        width: 47vh;
        height: 69vh;
        display: block;
        margin: 0 auto;
        position: relative;
        left: auto;
        right: auto;
        float: none;
        top: 8%;
    }

    /* MENU */
    .sidebar-wrapper {
        width: 100%;
        height: 60px;
        float: none;
    }
    .tcon-menu__lines {
        display: inline-block;
        height: 5.71429px;
        width: 100%;
        border-radius: 2.85714px;
        -webkit-transition: 0.3s;
        transition: 0.3s;
        background: white;
        position: relative;
    }
    .tcon-menu__lines::before,
    .tcon-menu__lines::after {
        display: inline-block;
        height: 5.71429px;
        width: 40px;
        border-radius: 2.85714px;
        -webkit-transition: 0.3s;
        transition: 0.3s;
        background: white;
        content: '';
        position: absolute;
        left: 0;
        -webkit-transform-origin: 2.85714px center;
        transform-origin: 2.85714px center;
        width: 100%;
    }
    .tcon-menu__lines::before {
        top: 10px;
    }
    .tcon-menu__lines::after {
        top: -10px;
    }
    .tcon-transform .tcon-menu__lines {
        -webkit-transform: scale3d(0.8, 0.8, 0.8);
        transform: scale3d(0.8, 0.8, 0.8);
    }
    .tcon-menu--xbutterfly {
        width: 60px;
        height: 30px;
        float: right;
        margin-top: 15px;
        margin-right: 10px;
    }
    .tcon-menu--xbutterfly .tcon-menu__lines::before,
    .tcon-menu--xbutterfly .tcon-menu__lines::after {
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-transition: top 0.3s 0.6s ease, -webkit-transform 0.3s ease;
        transition: top 0.3s 0.6s ease, -webkit-transform 0.3s ease;
        transition: top 0.3s 0.6s ease, transform 0.3s ease;
        transition: top 0.3s 0.6s ease, transform 0.3s ease,
            -webkit-transform 0.3s ease;
    }
    .tcon-menu--xbutterfly.tcon-transform .tcon-menu__lines {
        background: transparent;
    }
    .tcon-menu--xbutterfly.tcon-transform .tcon-menu__lines::before,
    .tcon-menu--xbutterfly.tcon-transform .tcon-menu__lines::after {
        top: 0;
        -webkit-transition: top 0.3s ease, -webkit-transform 0.3s 0.5s ease;
        transition: top 0.3s ease, -webkit-transform 0.3s 0.5s ease;
        transition: top 0.3s ease, transform 0.3s 0.5s ease;
        transition: top 0.3s ease, transform 0.3s 0.5s ease,
            -webkit-transform 0.3s 0.5s ease;
        width: 40px;
    }
    .tcon-menu--xbutterfly.tcon-transform .tcon-menu__lines::before {
        -webkit-transform: rotate3d(0, 0, 1, 45deg);
        transform: rotate3d(0, 0, 1, 45deg);
    }
    .tcon-menu--xbutterfly.tcon-transform .tcon-menu__lines::after {
        -webkit-transform: rotate3d(0, 0, 1, -45deg);
        transform: rotate3d(0, 0, 1, -45deg);
    }
    .tcon-visuallyhidden {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .tcon-visuallyhidden:active,
    .tcon-visuallyhidden:focus {
        clip: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        position: static;
        width: auto;
    }
    .efx {
        width: 50%;
        height: 19px;
        top: 20px;
    }
    img.player {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        margin-top: 11px;
        left: 10px;
        cursor: default;
    }
    .hideMenuMobile {
        display: none;
    }
    .showMenuMobile {
        transition: height 0.5s;
    }
    .showMenuMobile {
        display: block;
        height: 100%;
    }
    .levelProgress {
        background: url(../img/bgLevel.png?1682202651562) no-repeat scroll
            0 0 transparent;
        height: 14px;
        background-size: 100% 18px;
        width: 100%;
    }
    .percent {
        height: 10px;
    }
    .point {
        padding-left: 27px;
        float: left;
        height: 50px;
        margin-bottom: 5px;
        position: relative;
        width: 110px;
        clear: none;
    }
    .sidebar-wrapper ul {
        padding-left: 0;
        clear: both;
        position: relative;
        top: 30px;
    }
    .sidebar-wrapper ul li {
        height: 36px;
    }
    .sidebar-wrapper ul li img {
        margin-left: 39%;
    }
    .sidebar-wrapper ul li p {
        font-size: 14px;
    }

    /* NOTIFICATIONS */
    .newNotification {
        left: 39%;
    }
    .listNotifications {
        position: absolute;
        right: 0;
        background-color: #fff;
        width: 100%;
        top: 0 !important;
        min-height: 130px;
        max-height: 500px;
        overflow: auto;
        /* padding-bottom: 30px; */
        box-shadow: none;
        height: auto !important;
    }
    #modalNotifications .btnClose {
        position: absolute;
        right: 10px;
        z-index: 10;
    }

    /* DECK */
    .scoreboard,
    .actions,
    .tavern {
        margin-bottom: 40px;
    }
    .actions .itemChallenge h2,
    .c2 p {
        margin-top: 0;
    }
    .c2 p {
        position: relative;
        top: 12px;
    }

    /* PROFILE */
    .modalRegister {
        background-size: 100% 100% !important;
        padding: 50px;
        padding-top: 15px;
    }
    .profile {
        max-width: 324px;
        margin-bottom: 10px;
    }
    .imageAvatar .boatEdit {
        left: 55%;
    }
    .btnMyBoats,
    .btnAvailableBoats {
        width: 32%;
        font-size: 12px;
        border-radius: 17px 0 0 0;
        left: -3px;
    }
    .btnAvailableBoats {
        width: 25%;
        border-radius: 0 17px 0 0;
        left: 7px;
    }
    .btnBoatEditor {
        font-size: 12px;
        border-radius: 0;
        width: 30%;
    }
    #modalBuyBoat .modal-content {
        width: 100%;
    }

    /* TAVERN */
    .newsFeedList {
        max-width: 100%;
        padding-left: 0;
    }
    .content-btn {
        max-width: 100%;
    }
    .btnLoadMoreNews {
        margin: 40px auto;
    }
    .tavernList .ovarlay {
        width: 100%;
    }
    .tavernList .imgLoading {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
    }

    /* CHALLENGES */
    .selectType {
        width: 101%;
        margin-bottom: 0;
        margin-top: 30px;
    }
    .selectType button {
        width: 47%;
    }
    .listChallenges {
        padding: 0;
    }
    .itemChallenge {
        width: 100%;
    }
    .line {
        width: 100%;
    }
    .progressBar {
        width: 92%;
    }
    .itemChallenge h2 {
        position: relative;
        top: 23px;
    }

    /* COMPETITION */
    .page-competition .page-wrapper {
        width: 92% !important;
        height: 78% !important;
        top: 50px !important;
    }
    .page-competition .page-content {
        border-radius: 23px !important;
    }
    .page-competition .page-content .image h2 {
        font-size: 12px !important;
    }
    .page-competition .grid-item {
        margin-bottom: 30px !important;
    }
    .page-competition-detail .competition-header {
        width: 100vw !important;
        font-size: 12px !important;
        border-bottom-left-radius: 15px !important;
        border-bottom-right-radius: 15px !important;
        background-size: 100% 100% !important;
    }
    .page-competition-detail .competition-header .competition-status {
        font-size: 12px !important;
        padding: 10px;
    }
    .competition-boats .boats-start,
    .competition-boats .boats-end {
        top: 23vh !important;
        height: 55vh !important;
        width: 100px !important;
    }
    .competition-boats .boats-start img,
    .competition-boats .boats-end img {
        width: 100%;
    }

    /* SHOP */
    .selectItemMenu,
    .shopMobile {
        width: 100%;
        max-width: 100% !important;
        margin-top: 30px;
    }
    .selectItemMenu button {
        width: 32.4%;
        font-size: 12px;
        float: left;
        left: 6px;
    }
    .listItemsShop {
        max-width: 100%;
        list-style-type: none;
        padding: 0;
    }
    .containerItems {
        width: 100%;
    }
    .infoCostItem .efx {
        top: 8px;
        left: -9px;
        width: 56px;
        height: 32px;
        float: left;
        padding-left: 20px;
        line-height: 1.9;
    }
    .infoCostItem div:nth-child(3) .efx {
        width: 62px;
    }
    .infoCostItem p {
        clear: both;
    }
    .listPurchasesHistory .contImg {
        width: 44px;
        height: 44px;
    }
    .btnsPurchase {
        left: 14%;
    }
    .listPurchasesHistory {
        padding: 0;
    }
    .listPurchasesHistory li {
        font-size: 12px;
        width: 100%;
    }
    .listPurchasesHistory li span {
        width: 22%;
        line-height: 1.4;
        padding-top: 30px;
    }
    .listPurchasesHistory li img {
        width: 80px;
        height: 96%;
        margin-left: 0;
        margin-right: 10px;
    }
    .listPurchasesHistory li p {
        max-width: 75%;
    }
    .listPurchasesHistory li p strong {
        font-size: 12px;
    }
    #modalDetailItemPurchase .modal-content {
        width: 100%;
        height: auto;
    }
    #modalDetailItemPurchase .modal-body.modalDetailItemPurchase {
        height: auto;
        padding: 20px;
    }
    #modalDetailItemPurchase .costitem {
        width: 100%;
    }
    .costitem ul li:nth-child(1) {
        width: 35%;
    }
    .costitem ul li:nth-child(2) {
        width: 31%;
    }
    .costitem ul li:nth-child(3) {
        width: 31%;
    }
    #modalBuyShop .modal-content {
        width: 100%;
        height: auto;
    }
    .modalBuyBoat p {
        max-width: 80%;
        margin: 42px auto;
        clear: both;
        position: relative;
        top: 13px;
    }
    .selectItemMenu button:nth-child(1) {
        left: 5px;
        width: 99px;
    }
    .selectItemMenu button:nth-child(2) {
        left: -3px;
        width: 94px;
    }
    .selectItemMenu button:nth-child(3) {
        left: -3px;
        width: 94px;
    }
    .selectItemMenu button:nth-child(4) {
        left: -3px;
        width: 94px;
    }
    .imageItem {
        width: 94%;
    }
}
