/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Mobile styles
   ========================================================================== */
/**{outline:red dotted 1px;}*/
/*.container, .header, .nav, .menu, .main, .holder, .content, .title, .info, .aspect-ratio, #contact-info, iframe, a, li, table, th, tr, td, span, p, h1, h2, h3, body, html{outline:none;}*/
nav, div{-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
.nav{position:fixed;top:0;width:0;height:100%;overflow:hidden;transition: width 0.3s ease;}
.main{width:100%;transition: width 0.3s ease;}
#nav:target{width:100%;}
#nav:target + .main {
	.menu-toggle-open {display:none;}
	.menu-toggle-close {display:block;}
	.main {}
}
nav{z-index:100;}
.container, .header, .menu, .menu-toggle, .holder, .content, .info, .offer, #treat-table, #open-times-table, #tab-list{width:100%;}
.header{position:relative;background-image: url("../img/header.png");background-repeat:norepeat;overflow:hidden;}
.container{background-color:#FFFEE8;}
.content{padding:1%;}
.offer, .info, .vouchers{padding:0% 1%;font-size:0.75em;font-weight:bold;}
.offer h1{font-family:Helvetica, Arial, sans-serif;font-size:1.25em;font-weight:bold;text-decoration:underline;}
.small-print{font-weight:normal;font-size:0.3em;}
.aspect-ratio{position:relative;width:50%;height:0;padding-bottom:43%;float:right;}
.aspect-ratio iframe{position:absolute;width:100%;height:100%;left:0;top:0;max-width:400px;}
.tabs{border-radius: 10px 10px 0 0;display:inline;color:#FFFEE8;font-weight:bold;padding:0.4em 10px 0.2em 10px;white-space:nowrap;}
.treatment-div{width:100%;padding:1em 1% 0 1%;}
.pricelist{border:1px solid #FFFEE8;margin-bottom:1em;width:100%;border-radius: 5px;border-collapse:separate;}
.pricelist td, .pricelist th{border:0px;}
.menu{margin:0;}
.home-list{margin:1em;font-size:0.75em;font-family:Helvetica, Arial, sans-serif;}
#nav-icon{font-weight:bold;}
#button, #menu-toggles{position:relative;display:block;background:#4A002F;text-decoration:none;color:#FFFEE8;text-align:center;font-weight:bold;line-height:1.8;overflow:hidden;white-space:nowrap;}
#menu-toggles{text-align:left;text-indent:10px;}
h2{color:#4A002F;text-decoration:underline;font-size:1.4em;}
tr:nth-child(odd){background:#F4E6FC;}
tr:nth-child(even){background:#E8BFFF;}
td, th{padding:2px 0 2px 5px;border:1px solid black;}
li.tabs:hover{cursor:pointer;}
#note{font-size:0.75em;font-weight:bold;}
#general, #about{font-family: 'comfortaalight';font-size:1em;}
#contact-info{margin:10px;}
#copy{clear:both;position:relative;bottom:-1.5em;font-size:0.6em;color:#B0B0B0;}
#title{margin:0;background:transparent;padding-left:2%;color:#4A002F;}
#header-phone p{font-weight:normal;font-size:0.75em;color:#4A002F;margin:0 10px 0 10px;}
#header-num-float{float:left;}
#link{text-decoration:none;color:#6193FF;}
#link:hover, #link:active{text-decoration:underline;}
#head-shot{width:50%;border-radius:5px;}
#tab-list{line-height:2em;padding:0;margin:0;}
#treat-name{width:80%;}
#treat-price{width:20%;}
#treat-description{width:100%;font-size:0.7em;font-weight:bold;}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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 */
	.container{max-width:960px;margin:10px auto 0 auto;box-shadow: 0 1px 2px 1px #888888;border-radius:5px;}
	.nav{position:relative;width:20%;float:left;}
	.menu{width:96%;margin:110px 2% 0 2%;}
	.main{width:80%;float:left;}
	.header{height:80px;width:100%;border-radius:0 5px;}
	.holder{}
	.content{width:75%;float:left;}
	.offer, .info, .vouchers{width:24%;float:left;background-color:#FFF;border:1px solid #DDDDDD;margin-top:10px;border-radius:5px;}
	.home-list{margin:1em 4em;font-size:0.8em;}
	#menu-toggles{display:none;transition: width 0.3s ease;}
	#button{line-height:2.5;margin-bottom:20px;border-radius:5px;}
	#button:hover, #button:active{background:#91005C;}
	#title{font-size:2.5em;}
	#header-phone p{font-size:1em;color:#4A002F;}
	#open-times-table{width:75%;margin:0;}
	#head-shot{float:right;width:35%;margin-left:5px;}
	#about{font-size:0.9em;text-indent:1em;}
	#general{font-size:0.9em;}
	td{font-size:0.8em;}
	h2{font-size:1.5em;}
}

@media only screen and (min-width: 45em) {
	.header{height:100px;}
	#title{line-height:100px;font-size:3.5em;}
	#header-phone{position:absolute;right:5px;top:0;}
	#header-phone p{font-weight:bold;margin:1em 0;}
	#header-num-float{float:right;}
}

@media only screen and (min-width: 100em) {
    /* Style adjustments for viewports that meet the condition */
	.container{max-width:1500px;}
	.home-list{font-size:1em;}
	#about{font-size:1em;}
}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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