@media only screen and (max-device-width: 480px) {
    html {
        -webkit-text-size-adjust: none; /* prevent iOS from scaling text */
    }
}

html.landscape #ContentColumn { /* landscape mode */
    font-size: 125%;
    line-height: 1.3;
}

html.mobile .desktopOnly {
    display: none;
}

.mobileOnly {
    display: none;
}

html.mobile .mobileOnly {
    display: block;
}

html.mobile form > table {
    max-width: 100% !important;
    width: auto !important;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#NotifyDiv  input[type="text"],
html.mobile .formbody input[type="text"],
html.mobile .comments input[type="text"],
#NotifyDiv  textarea,
html.mobile .formbody textarea,
html.mobile .comments textarea,
#NotifyDiv  select,
html.mobile .formbody select,
html.mobile .comments select {
    width: 90% !important;
}

html.mobile #pendingSubmission table {
    width: 100%;
}

html.mobile img {
    max-width: 100%;
    height: auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html.mobile iframe {
    max-width: 100%;
}

html.mobile.android2 iframe {
    width: 100% !important;
}

#toolbar {
    text-align: center;
    width: 100%;
    height: auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1000;
    padding: 4px 2px;
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    display: block;
}

html.mobile #toolbar {
    display: table;
    padding: 0;
}

html.mobile #toolbarInnerWrapper {
    display: table-cell;
    vertical-align: middle;
    height: 35px;
}

html.mobile #toolbar button {
    width: 47.5%;
    font-size: 12px;
    padding: 0.3em;
}

html.android2 #toolbar button {
    background: #f7f7f7;
    border: 1px solid #2F4255;
    border-radius: 0.5em;
}

html.fullView #mobileBtn {
    width: 97%;
}

html.mobile #toTopBtn,
html.mobile #navBtn {
    width: 64.1%;
}

html.mobile #fullBtn {
    width: 31.1%;
    margin-right: 4px;
}

html.mobile #fullBtn,
html.mobile #navBtn {
    display: inline-block;
}

#fullBtn,
#navBtn,
#toTopBtn,
html.mobile #mobileBtn {
    display: none;
}

.iosbtnfix {
    height: 1000px;
    overflow: hidden;
}

.phantomHeaderImage {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

html.mobile,
html.mobile body {
    height: 100%;
}

html.mobile #PageWrapper {
    margin-top: 35px;
    text-align: center;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    background-size: 100%;
    -webkit-overflow-scrolling: touch;
}

html.fullView #PageWrapper {
    margin-top: 65px;
}

html.mobile #Header,
html.mobile #Footer {
    width: 100%;
}

html.mobile #Header,
html.mobile #Header .Liner {
    background-size: 100%;
}

/* ===== Mobile Header Photo ===== */
html.mobile #Header .Liner {
background-image: url(../image-files/paris-insiders-guide-banner-mobile.jpg);
background-repeat: no-repeat;
background-color: transparent;
background-position: top left;
min-height:210px;
position:relative; 
padding:1px 0;
}
/* ===== END Mobile Header Photo ===== */

html.mobile h2 {

}
/*
html.mobile h4 {
border-top: 1px solid #b3aabc;
margin:20px 0px -5px 0px;
}
*/
html.mobile #ContentWrapper {
    padding: 0;
    float: none;
}

html.mobile #ContentColumn,
html.mobile #NavColumn,
html.mobile #ExtraColumn {
    float: none;
    width: auto;
    margin: 0;
}

html.mobile #NavColumn,
html.mobile #ExtraColumn {
    margin-top: 200px;
}

html.mobile #PageWrapper {
    text-align: center;
}

html.mobile #ContentColumn,
html.mobile #Header,
html.mobile #NavColumn,
html.mobile #ExtraColumn {
    text-align: left;
}

html.mobile #NavColumn,
html.mobile #ExtraColumn {
    display: inline-block;
    width: 180px; /* original column width */
    vertical-align: top;
    overflow: hidden;
}

html.mobile #Footer {
    position: absolute;
    top: 10000px;
    left: 0;
    overflow: hidden;
}

/* -- T3 menus 2015 -- */
html.mobile .T3Menu {
border: 1px solid #5C6C4B;
}

/* -- CalloutBox 2015 -- */
html.mobile .CalloutBox {
background: #f3f6e2;
border: 1px solid #5C6C4B;
width: 100%;
margin:20px 0px 20px 0px;
text-align:left;
padding:4px 10px 4px 0px;
color: #5F663D;
font-size: 100%;
}

html.mobile .CalloutBox p {
margin:0px 6px 0px 0px;
padding-right:7px
}

html.mobile .CalloutBox ul {
line-height:20px;
margin-left:0px;
}
/* -- END CalloutBox 2015 -- */

/* ===== Ad Sense Centring for Mobile===== */
html.mobile .AdSenseBoxLeftNB {
width: 336px;
margin: 1px auto 4px auto;
clear: both;
background-color: transparent;
border: 0px;
}

html.mobile .AdSenseBoxRightNB {
width: 300px;
margin: 2px auto 4px auto;
clear: both;
background-color: transparent;
border: 0px;
}
/* =====END Ad Sense Centring for Mobile===== */

/* ===== SignUpBoxMobile===== */

html.mobile .SignUpBoxMobile {
background-color: #d7e8a6;
background: url(../image-files/sign-up-graphic-mobile.jpg) top left no-repeat;
width: 100%;
border: 1px  #39412C;
margin-top:20px;
margin-bottom:20px;
margin-right:0px;
margin-left:0px;
padding-top:4px;
padding-bottom:4px;
padding-right:6px;
padding-left:6px;
color: #5F663D;
font-size: 95%;
}

html.mobile div.SignUpBoxMobile p {
margin: 6px;
}

html.mobile p.SignUpBoxMobile {
padding: 6px;
}

html.mobile div.SignUpBoxMobile h4 {
text-align:center;
margin:5px 0px 0px 0px; 
line-height:110%;
font-size:100%;
}

html.mobile div.SignUpBoxMobile h5{
margin: 5px 0px 0px 0px;
text-align:center;
margin:5px 0px 0px 0px; 
line-height:130%;
font-size:90%;
}

/* =====END SignUpBoxMobile =====*/

@media only screen and (max-width: 359px) { /* portrait mode (very narrow columns) */
    html.mobile #NavColumn,
    html.mobile #ExtraColumn {
        width: 158px;
    }

    html.mobile #ExtraColumn {
        margin-left: -4px !important;
    }

    html.mobile #NavColumn .Liner,
    html.mobile #ExtraColumn .Liner {
        padding-left: 1px;
        padding-right: 1px;
    }

    html.mobile #ExtraColumn .Liner {
        padding-left: 0;
    }

    html.mobile #NavColumn *,
    html.mobile #ExtraColumn * {
        max-width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        background-size: 100%;
    }
}

@media only screen and (max-width: 379px) {
    html.mobile #ExtraColumn {
        margin-left: 0;
    }
}

@media only screen and (min-width: 360px) {
    html.mobile #NavColumn,
    html.mobile #ExtraColumn {
        width: 178px;
    }
}

@media only screen and (min-width: 380px) {
    html.mobile #NavColumn,
    html.mobile #ExtraColumn {
        width: 180px; /* original column width */
    }

    html.mobile #ExtraColumn {
        margin-left: 20px;
    }
}

@media only screen and (max-width: 550px) {
    html.mobile .socializeIt,
    html.mobile .socializeIt img {
        width: 100% !important;
    }

    html.mobile .socializeIt textarea {
        width: 100% !important;
    }

    html.mobile .socializeIt > tbody > tr:first-child > td {
        width: 45%;
    }

    html.mobile .socializeIt > tbody > tr:first-child > td:first-child {
        width: 10%;
    }
}

/* Design specific */

html.mobile #ContentWrapper {
    background: transparent;
}


/* disable plug-ins */
html.m #sthoverbuttons,
html.m #google_translate_element {
    display: none !important;
}

html.mobile #PageWrapper {
background-color:#fffef5;
}