@media screen and (max-width: 600px)
    {
    #outerWrapper
        {
        width: 100%;
        max-width: 100%;
        }

    #content
        {
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
        }
    }
    
.curvy
    {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    margin: 10px;
    }
    
#content .curvy > table.form > tbody > tr > td > div > table.form > tbody > tr > td
    {
    display: block;
    width: 100%;
    box-sizing: border-box;
    }
    
/*#content .curvy img.photo
    {
    width: 300px !important;
    max-width: 100% !important;
    height: auto !important;
    } */
    
#content .curvy
    {
    width: auto;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    }

#content .curvy table.form
    {
    max-width: 100%;
    box-sizing: border-box;
    }
    
#content > table.form
    {
    table-layout: fixed;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    }
    
#content > img[src="/images/spacer.gif"]
    {
    display: none;
    }
    
#content .pageLinks
    {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    }

#content .pageLinks a
    {
    display: inline-block;
    margin: 3px 4px;
    }
    
#content > table.form > tbody > tr > td > table
    {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    }

#content .pageLinks
    {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    box-sizing: border-box;
    }
    
#content select
    {
    max-width: 100%;
    box-sizing: border-box;
    }   
    
#content form[name="search"] table.form tr
    {
    display: block;
    }

#content form[name="search"] table.form td
    {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 5px 0;
    }
    
#content form[name="search"] table.form
    {
    margin-left: 0 !important;
    width: 100%;
    }

#content form[name="search"] table.form td
    {
    padding: 2px 0;
    text-align: left;
    }

#content form[name="search"] table.form td:has(> select),
#content form[name="search"] table.form td:has(> input)
    {
    display: block;
    }

#content form[name="search"] table.form td:not(:has(select, input))
    {
    display: none;
    }
    
#content > table.form > tbody > tr > td > table > tbody > tr:nth-child(2) > td
    {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    }
    
#content > table.form > tbody > tr > td > table > tbody > tr:nth-child(2) > td:nth-child(2)
    {
    display: none;
    }
    
#content table.form
    {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    box-sizing: border-box;
    }
    
#content .photo
    {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
    }
    
#header
    {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    }

#header > div
    {
    width: 100%;
    text-align: center;
    }

#header img
    {
    display: block;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
    }
    
#header img
    {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    transform: none;
    }
    
#header
    {
    height: auto !important;
    min-height: 0 !important;
    }
    
/* Models page - Photo and statistics */

.modelDetails
    {
    width: 100% !important;
    table-layout: auto;
    }

.modelDetails > tbody > tr:first-child > td
    {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    text-align: left;
    }

/* Models page - Main photograph */

@media screen and (max-width: 600px)
    {
    .modelDetails > tbody > tr:first-child > td:first-child img.photo
        {
        display: block;
        width: 90% !important;
        max-width: 300px !important;
        height: auto !important;
        box-sizing: border-box;
        margin: 0;
        }
    #special_word 
        {
        font-size: 14px !important;
        }
    }

.modelDetails > tbody > tr:first-child > td:nth-child(2)
    {
    text-align: left;
    }
    
/* Models page - Main photograph */

#content .curvy .modelDetails > tbody > tr:first-child > td:first-child img.photo
    {
    display: block;
    width: 90% !important;
    max-width: 260px !important;
    height: auto !important;
    box-sizing: border-box;
    margin: 0;
    }
    
/* Models page - Biography */

#content .curvy .modelDetails > tbody > tr:first-child > td:nth-child(2)
    {
    display: block;
    width: 90% !important;
    max-width: 90%;
    min-width: 0;
    box-sizing: border-box;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: normal;
    }

#content .curvy .modelDetails > tbody > tr:first-child > td:nth-child(2) p
    {
    max-width: 90%;
    overflow-wrap: anywhere;
    }
    
/* Models page - Video thumbnails */

#content .curvy .modelVideos > tbody > tr
    {
    display: flex;
    flex-wrap: wrap;
    }

#content .curvy .modelVideos > tbody > tr > td
    {
    display: block;
    width: 50% !important;
    box-sizing: border-box;
    text-align: center;
    }

#content .curvy .modelVideos > tbody > tr > td img.photo
    {
    display: block;
    width: 105% !important;
    max-width: 200px !important;
    height: auto !important;
    margin: 0 auto 5px;
    }

#content .curvy .modelVideos > tbody > tr > td .video_title
    {
    overflow-wrap: anywhere;
    }
    
/* Keywords page - Video thumbnails */

#content .keywordGrid > tbody > tr
    {
    display: flex;
    flex-wrap: wrap;
    }

#content .keywordGrid > tbody > tr > td
    {
    display: block;
    width: 50% !important;
    box-sizing: border-box;
    text-align: center;
    }

#content .keywordGrid > tbody > tr > td img.photo
    {
    display: block;
    width: 105% !important;
    max-width: 200px !important;
    height: auto !important;
    margin: 0 auto 5px;
    }

#content .keywordGrid > tbody > tr > td .video_title
    {
    overflow-wrap: anywhere;
    }
    
/* Tour page - Video listings */

#content .curvy .tourVideos > tbody > tr
    {
    display: flex;
    flex-wrap: wrap;
    }

#content .curvy .tourVideos > tbody > tr > td
    {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    }

#content .curvy .tourVideos > tbody > tr > td img.photo
    {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    }
    
/* User Account page - Form */

#content .accountForm
    {
    width: 100% !important;
    table-layout: fixed;
    }

#content .accountForm > tbody > tr
    {
    display: flex;
    flex-wrap: wrap;
    }

#content .accountForm > tbody > tr > td
    {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    min-width: 0;
    }

#content .accountForm input[type="text"],
#content .accountForm input[type="password"]
    {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    }
    
/* Clip Galleries page - Gallery thumbnails */

#content .galleryGrid
    {
    width: 100% !important;
    }

#content .galleryGrid > tbody
    {
    display: flex;
    flex-wrap: wrap;
    }

#content .galleryGrid > tbody > tr
    {
    display: contents;
    }

#content .galleryGrid > tbody > tr > td
    {
    display: block;
    width: 50% !important;
    box-sizing: border-box;
    text-align: center;
    }

#content .galleryGrid > tbody > tr:first-child > td
    {
    width: 100% !important;
    }

#content .galleryGrid > tbody > tr > td img.photo
    {
    display: block;
    width: 105% !important;
    max-width: 200px !important;
    height: auto !important;
    margin: 0 auto;
    }
    
/* Contact page - Form */

#content .contactForm
    {
    width: 100% !important;
    table-layout: fixed;
    }

#content .contactForm > tbody > tr
    {
    display: flex;
    flex-direction: column;
    }

#content .contactForm > tbody > tr > td
    {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    min-width: 0;
    }

#content .contactForm input[type="text"],
#content .contactForm select,
#content .contactForm textarea
    {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    }
    
/* Registration page - Membership pricing */
/* Registration page - Main table */

#content .registrationForm
    {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
    box-sizing: border-box;
    }

#content .registrationPricing
    {
    width: 100% !important;
    }

#content .registrationPricing > tbody > tr
    {
    display: flex;
    flex-direction: column;
    }

#content .registrationPricing > tbody > tr > td
    {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    text-align: center;
    }

#content .registrationPricing img
    {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;
    }
  
 /* Registration page - Form fields */

#content .registrationForm > tbody > tr
    {
    display: flex;
    flex-wrap: wrap;
    }

#content .registrationForm > tbody > tr > td
    {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    min-width: 0;
    }

#content .registrationForm input[type="text"],
#content .registrationForm input[type="password"]
    {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    }
    
   /* Registration page - Promotional images */

#content .registrationPromos
    {
    width: 100% !important;
    table-layout: fixed;
    }

#content .registrationPromos > tbody > tr
    {
    display: flex;
    flex-direction: column;
    }

#content .registrationPromos > tbody > tr > td
    {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    text-align: center;
    }

#content .registrationPromos img
    {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;
    } 
    
 /* Index page - Main layout */

#content .indexLayout
    {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
    }

#content .indexLayout > tbody > tr > td
    {
    width: 100% !important;
    box-sizing: border-box;
    }

#content .indexContent
    {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    } 
    
/* Index page - Age verification box */

#content .indexContent .box
    {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    padding: 15px !important;
    box-sizing: border-box;
    }
    
/* Index page - Inner age verification content */

#content .indexContent .box
    {
    min-width: 0 !important;
    }

#content .indexContent .box .matt
    {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    }
    
/* Index page - Review links */

#content .indexReviews
    {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
    }

#content .indexReviews > tbody > tr > td
    {
    width: 100% !important;
    box-sizing: border-box;
    text-align: center;
    }

#content .indexReviews img
    {
    max-width: 100% !important;
    height: auto !important;
    }
