@media only screen and (max-width: 1200px) {
    .tabContent>.title {
        overflow: hidden;
    }

    .tabContent>.title img {
        max-width: 100%;
    }

    .actionSectionTitle h3 {
        font-size: 16px;
    }

    .tabContent>.title h2 {
        font-size: 21px;
    }

    /* .actionSection .actionSectionTitle+.actions {
        top: 30px;
    } */

    .actionSection .actionSectionTitle+.actions+.actionSectionBody {
        margin-top: 50px;
    }

    .actionSection:not(:last-of-type) {
        /* padding-bottom: 10px; */
    }

    .client-bar .clientItem {
        max-width: 42%;
    }

    .client-bar .clientItem p {
        font-size: 14px;
    }

    .client-bar .clientItem span {
        font-size: 10px;
    }

    .shopCategorySearchingContainer {
        margin-top: 42px;
    }
    
    .shopPOSGuestCheckout+.actionSectionBody {margin-top: 40px;}

    .doorframe {height: 100%;width: 100%;}

    .sidebar:not(.active) .logoBox {
        pointer-events: none;
        opacity: 0;
    }
}

@media only screen and (max-width: 820px) {
    .actionSection.clientProfilePaymentsArea .actionSectionTitle+.actions a {
        display: block;
        margin-top: 5px;
    }
    .clientProfilePaymentsArea {
        padding-bottom: 140px !important;
    }
    .clientProfilePaymentsArea .actionSectionBody {
        margin-top: 140px !important;
    }
}

@media only screen and (max-width: 640px) {
    .actionSection .actionSectionTitle+.actions {
        top: 30px;
    }
    
    .tableSecondarySelect {
        left: 50% !important;
        transform: translateX(-50%);
        /* margin-top: -35px; */
    }

    .tableSecondarySelect,.tableSecondarySelect select {
        width: 100%;
    }
    
	/* Force table to not be like tables anymore */
	table:not(.ui-datepicker-calendar),
    table:not(.ui-datepicker-calendar) thead,
    table:not(.ui-datepicker-calendar) tbody,
    table:not(.ui-datepicker-calendar) th,
    table:not(.ui-datepicker-calendar) td,
    table:not(.ui-datepicker-calendar) tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	table:not(.ui-datepicker-calendar) thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table:not(.ui-datepicker-calendar) tr { border: 1px solid #ccc; margin-bottom: 25px; border-bottom: none;}

	table:not(.ui-datepicker-calendar) tr:last-child {margin-bottom: 0px;}
	
	table:not(.ui-datepicker-calendar) td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	table:not(.ui-datepicker-calendar) td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	table:not(.ui-datepicker-calendar) td:first-child {background: #7777;}

    .sidebar .currentlyLoggedIn, .sidebar .cdGymChosen {
        overflow: hidden;
    }

    .actionSection .actionSectionTitle+.actions a {
        display: block;
        margin-top: 5px;
    }
    
    .actionSection .actionSectionTitle+.actions br {
        display: none;
    }
    
    .gymManagersSection .actionSectionBody {
        margin-top: 110px;
    }

    .dataTables_filter .clearFakeSearch {
        margin-top: 8px;
    }
}

@media only screen and (max-width: 400px) {
    .fakeSearchText {
        display: block;
        text-align: left;
        width: 100%;
    }
    
    .tableQuickSearch {
        padding-bottom: 70px !important;
    }
    
    .actionSection .actionSectionTitle+.actions {
        width: 100%;
    }
    
    .actionSection .actionSectionTitle+.actions input {
        width: 100%;
        display: block;
    }
    
    .fakeTableSearchContainer {
        display: block;
    }

    .shopPOSClientContainer, .shopPOSChargeListContainer {
        display: block;
        width: 100%;
        max-width: 100%;
    }
    
    form#posSaleForm {
        width: 100%;
        display: block;
    }
    
    .posGenericChargeContainer {
        display: block;
        float: none;
        width: 100%;
        clear: both;
        margin: 10px 0;
        text-align: left;
    }
    
    a.action.shopPOSGenericCharge {
        top: initial;
        display: block;
        text-align: left;
    }
    
    .shopPOSSaleContainer {
        padding-bottom: 45px;
    }
    
    .shopCategorySearchingContainer {
        margin-top: 60px;
    }
    
    .tableQuickSearch .dataTables_length {
        margin-top: 20px;
    }

    .shopPOSGuestCheckout {
        left: auto;
        right: 0;
    }

    .mobile {
        display: block;
    }

    .notMobile {
        display: none;
    }
}

@media only screen and (max-width: 820px) {
    a.action.shopPOSGenericCharge {
        top: -20px;
        position: relative;
    }
}

@media only screen and (max-width: 600px) {
    a.action.shopPOSGenericCharge {
        top: 10px;
    }
    
    .shopPOSSaleContainer {
        padding-bottom: 45px;
    }
}

@media only screen and (max-width: 640px) {
    [data-tab='shop-history'] .dataTables_length {
        margin-top: 40px;
    }
    
    [data-tab='shop-history'] .tableSecondarySelect, [data-tab='shop-history'] .tableSecondarySelect select {
        width: 120px;
        z-index: 100;
    }

    [data-tab='reporting-revenue'] .tableSecondarySelect {
        margin-bottom: 20px;
        display: block;
        float: none;
        position: relative;
        margin-top: 20px;
    }
    
    [data-tab='reporting-revenue'] .tableSecondarySelect, [data-tab='reporting-revenue'] .tableSecondarySelect select {
        width: 120px;
        z-index: 100;
    }
}

@media only screen and (max-width: 640px) {
    [data-tab='shop-history'] .tableSecondarySelect {
        width: 100%;
        text-align: center;
        top: 0 !important;
        transform: translateY(-50%);
        position: relative;
        left: 0 !important;
        margin-bottom: -60px;
    }

    span.clearFakeSearch {
        right: auto;
        margin-top: -4px !important;
    }
}