/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


div#div-StageHome {
    width: 1260px;
}

div#div-BottomLine {
    width: 1256px;
}

div#div-TopLine {
    width: 1256px;
}

#div-LeftButtons {
    width: 70px;
    height: 588px;
}

@media all and (max-width: 1000px) and (orientation: portrait)  {  

    div#div-StageHome {
        width: 300px;
    }

    div#div-BottomLine {
        width: 300px;
    }

    div#div-TopLine {
        width: 300px;
    }

    #div-LeftButtons {
        width: 296px;
        height: 70px;
    }

}


div#div-StageHome {
    margin-left: auto;
    margin-right: auto;
}

div#div-BottomLine {
    margin-top: 4px;
    margin-left: auto;
    margin-right: auto;
    color: #888;
    font-size: 0.9em;
    /*width: 960px;*/
}
div#div-BottomLine a {
    color: #333;
}

div#div-TopLine {
    margin-left: auto;
    margin-right: auto;
    color: #aaa;
    font-size: 24px;
}

#span-Disclaimer {
    float:left; 
}
#span-Copyright {
    float:right; 
}

div#div-StageAdvertisers {
    width: 958px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

div#div-StageFreePost {
    width: 588px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

div#div-StagePlacePost {
    width: 810px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

div#div-StagePreviewPost {
    width: 588px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;    
}

div#div-StagePostSubmitted {
    width: 588px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;     
}

div#div-StageDeletePost {
    width: 588px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;     
}

div#div-StageSelectCat {
    width: 292px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;    
}

div#div-StageMainList {
    width: 884px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;    
}

div#div-StageFAQs {
    width: 736px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;    
}

div#div-StageContactGeneral {
    width: 440px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;    
}

div#div-StageAdPayment {
    width: 296px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;    
}

div#div-StageSafetyNotice {
    width: 296px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;    
}

div.basicBlockA {
	color: #4b4a4a;
    background-color: #fff;
    border: 0;
    margin:0;
    padding:0;
    float:left;
    overflow:hidden;
    position:relative;
}

div.offBottom4 {
    margin-bottom: 4px;
}
div.offRight4, img.offRight4 {
    margin-right: 4px;
}
div.singleWideA {
    width: 70px;
}
div.singleHighA {
    height: 70px;
}
div.doubleWideA {
    width: 144px;
}
div.doubleHighA {
    height: 144px;
}
div.tripleHighA {
    height: 218px;
}
div.tripleWideA {
    width: 218px;
}
div.quadWideA {
    width: 292px;
}
div.quadHighA{
    height: 292px;
}
div.quintaWideA {
    width: 366px;
}
div.quintaHighA {
    height: 366px;
}
div.sextaHighA {
    height: 440px;
}
div.sextaWideA {
    width: 440px;
}
div.sextaWideB {
    width: 444px;
}
div.septaWideA {
    width: 514px;
}
div.septaHighA {
    height: 514px;
}
div.octaWideA {
    width: 588px;
}
div.octaHighA{
    height: 588px;
}
div.nonaWideA {
    width: 662px;
}
div.undecaWideA {
    width: 736px;
}
div.duodecaWideA {
    width: 810px;
}
div.triodecaWideA {
    width: 884px;
}
div.quaddecaWideA {
    width: 958px;
}

img.auto-roll:hover {
    cursor:pointer;
}

img.offBottom4 {
    margin-bottom: 4px;
}
img.offRight4 {
    margin-right: 4px;
}

div.freeAdHighA {
    height: 46px;
}

.greyBack {
    background-image: url("../img/spare-blank-grey-button.png");
    background-repeat: repeat;    
}

/* Free Posts Main Page*/

div.adsBox img {
    float: left;
}

div.freePostItem img {
    float: left;
}

div.freePostTextWrapper {
    width: 245px;
}
div.freePostTextWrapper h5 {
    font-weight: bold;
    margin: 0px 4px;
    color: #333333;
    font-size: 11px;
    line-height: 15px;
    font-style: normal;
    font-variant: normal;
    text-decoration: none
}
div.freePostTextWrapper p {
    margin: -2px 4px;
    font-size: 11px;
    overflow:hidden;
    color: #666666;
    cursor: pointer;
    font-size: 12px;
    line-height: 16px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
}
div.freePostTextWrapperLists {
    width: 540;
}
div.freePostTextWrapperLists h5 {
    font-weight: bold;
    margin: 0px 4px;
    color: #333333;
    font-size: 11px;
    line-height: 15px;
    font-style: normal;
    font-variant: normal;
    text-decoration: none
}

div.freePostTextWrapperLists p {
    margin: -2px 4px;
    font-size: 11px;
    overflow:hidden;
    color: #666666;
    cursor: pointer;
    font-size: 12px;
    line-height: 16px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
}

div.freePostItem.lastPost {
    position: relative;
    text-align: center;
    font-size: 14px;
    font-variant: small-caps;
    font-weight: bold;
    color: gray;
}

/* Free Post display */

#div-PostInfo {
    background-image: url("../img/mainadvert-infopanel.png");
}
#div-PostInfo img {
    display:block;
    margin-left: 4px;
    margin-top: -7px;
}
#div-PostInfo img:first-child {
    margin-top: 40px;
}
#div-PostInfo span {
    display:block;
    margin-left: 4px;
    margin-top: -7px;
    font-size: 16px;
    color: #666;
}
#div-PostInfo span.postDate {
    font-size: 16px;
    color: #fff;
    margin-top: 0px;
    margin-right: 4px;
    margin-bottom: 1px;
    display:inline-block;
    position:absolute;
    right: 0px;
    bottom: 0px;
    vertical-align:bottom;   
}
#div-PostBody {
    background-image: url("../img/mainadvert-textbox.png"); 
    background-attachment: fixed;
}
#div-PostBody pre, #div-PostBody h5 {
    padding-left: 4px;
}


/* Free Post place */

#div-PlaceLeftColumn {
    font-size: 12px;
    background-image: url("../img/advertinfoforms-lefthandgreybox.png");
    background-repeat: repeat;
}


#div-PlaceMiddleColumn input[type="text"], #div-PlaceMiddleColumn select {
    height: 24px;
}


#div-PlaceLeftColumn.exchangesPost {
    /*background-image: url("../img/advertforms-leftpanelwithtext-exchanges.en.png"); */
}
#div-PlaceLeftColumn label {
    display: block;
    line-height: 28px;
    text-align: right;
    font-size: 15px;
    margin-right: 4px;
}

#div-PlaceMiddleColumn input, #div-PlaceMiddleColumn textarea, #div-PlaceMiddleColumn select {
    width: 290px;
    margin-bottom: 4px;
    resize: none;
    padding: 1px;
    border: 1px solid #4b4a4a;
}
#div-PlaceMiddleColumn textarea {
    height: 135px;
}
#div-PlaceMiddleColumn input[type="file"] {
    border: 1px solid white;
}


#div-PlaceRightColumn {
    font-size: 12px;
    background-image: url("../img/advertinfoforms-righthandgreybox.png");
    background-repeat: repeat;
}

#div-PlaceRightColumn  div.notes-standard {
    display: block;
    text-align: left;
    font-size: 15px;
    margin-left: 4px;
}

#div-PlaceRightColumn.exchangesPost {
    /*background-image: url("../img/advertforms-rightpanelwithtext-exchanges.en.png");*/
}

#div-PlaceRightColumn #span-noTeachersInJobsNotice {
    position: absolute;
    display: inline-block;
    bottom: 4px;
    width: 98%;
    margin-left: 13px;
    color: white;
    font-size: 16px;
    line-height: 18px;
}

#div-PlaceTermsConditions * {
    position: absolute;
}
#div-PlaceTermsConditions input {
    z-index: 1000;
    top: 27px;
    left: 30px;
}


#div-ClassesNotesTitle { }
#div-ClassesNotesDesc { margin-top: 5px; }
#div-ClassesNotesName { margin-top: 37px; }
#div-ClassesNotesEmail { margin-top: 8px; }
#div-ClassesNotesPhone { margin-top: 5px; }
#div-ClassesNotesNation { margin-top: 9px; }
#div-ClassesNotesAge { margin-top: 5px; }
#div-ClassesNotesGender { margin-top: 8px; }
#div-ClassesNotesPic { margin-top: 8px; }

#div-JobsNotesTitle { margin-top: 1px; }
#div-JobsNotesDesc { margin-top: 10px; }
#div-JobsNotesName { margin-top: 31px; }
#div-JobsNotesEmail { margin-top: 7px; }
#div-JobsNotesPhone { margin-top: 7px; }
#div-JobsNotesNation { margin-top: 7px; }
#div-JobsNotesPic { margin-top: 7px; }

#div-ExchangesNotesNation { margin-top: 1px; }
#div-ExchangesNotesLang { margin-top: 6px; }
#div-ExchangesNotesTitle { margin-top: 8px; }
#div-ExchangesNotesDesc { margin-top: 10px; }
#div-ExchangesNotesName { margin-top: 31px; }
#div-ExchangesNotesEmail { margin-top: 7px; }
#div-ExchangesNotesPhone { margin-top: 7px; }
#div-ExchangesNotesAge { margin-top: 7px; }
#div-ExchangesNotesGender { margin-top: 7px; }
#div-ExchangesNotesWantGen { margin-top: 7px; }
#div-ExchangesNotesPic { margin-top: 7px; }

#div-CommunityNotesCategory { margin-top: 1px; }
#div-CommunityNotesTitle { margin-top: 33px; }
#div-CommunityNotesDesc { margin-top: 10px; }
#div-CommunityNotesName { margin-top: 31px; }
#div-CommunityNotesEmail { margin-top: 7px; }
#div-CommunityNotesPhone { margin-top: 7px; }
#div-CommunityNotesPic1 { margin-top: 10px; }
#div-CommunityNotesPic2 { margin-top: 5px; }


/* FAQs */


#div-StageFAQs a:hover {
    text-decoration: underline;
}

#div-StageFAQs li {
    margin-bottom: 10px;
    padding-right: 10px;
}

#div-StageFAQs .bigformTxt {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    font-variant: normal;
    color: #333333;
}

#div-StageFAQs .darkgrey13 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-style: normal;
    color: #333333;
}

#div-StageFAQs .orange14 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-style: normal;
    color: orange;
}

#div-StageFAQs #faqContent {
    background-image: url("../img/spare-blank-grey-button.png");
    background-repeat: repeat;
    padding: 4px;
}

#div-StageFAQs a, a:visited {
    color: #333333;
    text-decoration: none;
}
            

/* Free POst Delete */

#input-DeleteRef {
    width: 288px;
    height: 70px;
    font-size: 44px;
    border: 0;
}
#input-DeletePass {
    width: 288px;
    height: 70px;
    font-size: 44px;
    border: 0;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
