/*! HTML5 Boilerplate v5.2.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: #3f3f3f;
    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
   ========================================================================== */
.nav li a{font-weight: bold;}
.desktop-title{border-top:0px; border-left:0px; border-right:0px; padding: 8px 15px; border-bottom:2px solid #2554c7;margin: 10px 0px 0px 0px; background:#fff;font-weight: bold;}
.desktop-content{padding-left:10px;padding-top:10px;}
.btn-custom{background: #2554c7; color:#fff;}
.menu-container{border:2px solid #2554c7; box-sizing: border-box;padding:5px;border-radius:5px;margin-bottom:10px;}
.menu-user-container{border:2px solid #607D8B; box-sizing: border-box;padding:5px;border-radius:5px;margin-bottom:10px;}
.menu-title{font-weight:600;background:#e2e2e2;font-size:13px;padding-left:5px;border-radius:3px;border-bottom:2px solid #c2c2c2;box-sizing: border-box; margin:0px 0px 5px 0px;}
.menu-user-title{font-weight:600;background:#e2e2e2;font-size:13px;text-align:center;border-radius:3px;border-bottom:2px solid #c2c2c2;box-sizing: border-box;}
.wc-menu-item{font-size:12px;color:inherit;}

th{text-align: center;font-size:13px !important;}
td{text-align: center;font-size:13px !important;}
.board-title{text-align: left;cursor:pointer;}
.paginate_button{margin-right:5px;}
.paginate-container{text-align: right;}
.content-bg{background: #fff;padding:20px;width:100%;overflow:scroll;}
.mem-img{width:50px !important; height:50px; border-radius: 5px;}
.comment-container{ background: #e2e2e2;}
#withcar-header{
  background-color: #2554c7;
  height:110px;
  background-image: linear-gradient(141deg, #2f5ed1 0%, #4d7cef 51%, #75a4ff 75%);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
}
.logo-area img{width: 150px;box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 3px 1px -2px rgba(0,0,0,0.12);}
.mobile-circle-btn{position: fixed; right: 10vw; bottom:10vw; background-image:url("http://withcar.xenmedia.net/imgs/withcar/carleadclub_logo.png"); width:20vw; height:20vw; background-size: cover; border-radius: 20vw;box-shadow: 1px 2px 4px rgba(0, 0, 0, .5); cursor:pointer;z-index:10;}

.mobile-menu-container{
  display: none;
  width: 100%;
  height: 100%;
  background-color: #fff;
  position: fixed;
  overflow: scroll;
  top: 0;
  left: 0;
  z-index: 12;
  border: 10px solid #619196;
  box-sizing: border-box;
}
.mobile-close{
  position: absolute;
  right: 5vw;
  top: 5vw;
  font-size: 2rem;
}
.mobile-menu-list{margin-top:20vw;}
.mobile-menu-header{display: flex; justify-content: flex-start; align-items: center; height:40px; padding-left: 10px; font-size: 13px; background-color: #f8f8f8;color:#3f3f3f; border-bottom: 2px solid #00c292;}
.mobile-menu-body .row{
  margin: 0 !important;
  border-bottom: 1px solid #e2e2e2;
  box-sizing: border-box;
}
.mobile-menu-item{ padding-top: 5px; padding-bottom:5px; background-color: #fff; color:#000;}
.mobile-menu-item-text{padding-left:10px;text-decoration: underline; text-decoration-color: #00c292;}
.mobile-menu-item a { color: inherit;}

.mobile-board{margin-bottom:10px;margin-top:5px;}
.mobile-board-header{font-size:15px; padding: 8px; background: #fff; border-bottom: 2px solid #00c292; box-sizing: border-box}

.mobile-board-item{padding:2px 0px 2px 5px;}
.mobile-board-item a {color:inherit;}

.comment-count{color:#d2691e;}
.new-board-recommend{color:#fff;background-color: #d2691e;border-radius: 3px;padding:1px 3px;}

.mobile-bottom-container{display: none;margin-top: 10px;display:flex; justify-content: center; align-items: center;}
.mobile-bottom-container img{width: 30vw;}
.btn, .btn-xs, button{
  box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 3px 1px -2px rgba(0,0,0,0.12);
}


@media only screen and (max-width: 700px) {
  .mobile-container{padding-left:5px !important; padding-right:5px !important;}
  #withcar-header{
    height: 90px;
  }
  .logo-area img{
    width: 110px;
  }
  .mobile-btn{
    padding: 2px 6px;
  }
  .mobile-bottom-container{
    display: flex;
  }
}


/* ==========================================================================
   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 {
        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;
    }
}
