/*
  Sonia's Dressmaking and Alteration shop
  http://soniasdressmaking.com
*/

html {
    padding: 0;
    margin: 0;
}

body {
    background-color: white;
    color: black;
    padding: 10px;
    margin: 0em;
    font-size: 12pt;
    font-family: arial, helvetica, sans-serif;
}

a {
    color: black;
}

h1, h2 {
    font-family: arial;
    text-align: center;
}

h1 {
    font-size: 50pt;
    margin-bottom: 0px;
    margin-top: 0px;
}

h2 {
    font-size: 14pt;
}

table {
    border-collapse: collapse;
}

td {
    padding: 0px;
}

table th {
    font-weight: normal;
    text-align: left;
}

/* Single row of content */
div.row, header, section, address {
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 1em;
    position: relative;
    clear: both;
}

header {
    position: relative;
}

div.announce {
    text-decoration: underline;
    font-size: larger;
    font-weight: bold;
    text-align: center;
}

table.hours, table.hours td, table.hours th {
    padding: 0;
    border: none;
    border-collapse: collapse;
    padding-right: 1em;
}

p.links-row {
    text-align: center;
}

p.links-row a {
    margin-right: 1em;
    margin-left: 1em;
    display: inline-block;
}

header div.title {
/*	margin-left: 100px; */
}

div.address {
    font-style: normal;
    margin-bottom: 1em;
}

div.map-links {
    float: right;
    margin-left: 1em;
}

#sonia-logo {
    position: absolute;
    left: 0px;
    top: 0px;
}

img.image-left {
    float: left;
}

img.image-position {
    position: absolute;
    left: 0px;
    top: 0px;
}

div.map-links a {
    margin-left: 2em;
}

.borange {
    border: solid orange 1px;
}

.bred {
    border: solid red 1px;
}


/*
  Overlay content for scrollable content with indicator.
  Horizontally center at the top of the the parent.
  Display none by default for overlay canvas and content.
*/

div.overlay {
    position: fixed;
    display: none;
    right: 0px;    left: 0px;
    top: 0px;    bottom: 0px;
    background-color: rgba(256,256,256, 0.92);
    z-index: 1;
    cursor: pointer;
    overflow: auto;
}

/* Styling of popup overlay and its content */
div.popup {
    position: absolute;
    display: none;
    right: 0px;    left: 0px;
    top: 0px;
    z-index: 1;
    cursor: pointer;
    max-width: 1030px;		/* match widest child image width plus 2x shade width */
    margin: auto;
    padding: 0px;
    height: auto;
}

div.popup h1 {
    font-size: 24pt;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Scrollable image(s) with gradient boundaries */
div.img-frame {
    position: relative;
}

div.img-frame div.shade-left, div.img-frame div.shade-right {
    width: 15px;		/* width must match teh *-of-type margines */
    height: 100%;
    position: absolute;
    top: 0px;
    z-index: 100;
}

div.img-frame div.shade-left {
    background: linear-gradient(to right, white, transparent);
    left: 0px;
}

div.img-frame div.shade-right {
    background: linear-gradient(to left, white, transparent);
    right: 0px;
}

div.img-scroller {
    overflow: auto;
}

div.img-scroller img:first-of-type {
    margin-left: 15px;
}

div.img-scroller img:last-of-type {
    margin-right: 15px;
}

img.boutique-img {
    cursor: pointer;
    width: 600px; height: auto;
}

img.works-img {
    height: 160px; width: auto;
    cursor: pointer;
}

/* margins are applied along with .img-scroller *-of-type margins */
img.works-img-popup {
    height: 320px; width: auto;
    margin-right: 10px;
    margin-left: 10px;
}

/* Close overlay X button */
span.popup-close {
    margin-bottom: 3px;
    margin-right: 10px;
    font-size: 22pt;
    float: right;
    font-weight: normal;
    clear: both;
}

span.popup-close:hover {
    color: blue;
}

/* Mobile view */
@media screen and (max-width: 750px) {
    body {
	font-size: 10pt;
    }
    #sonia-logo {
	width: 50px;
	height: 48px;
	margin-bottom: 4em;
    }
    header div.title {
/*	margin-left: 50px; */
    }
    h1 {
	font-size: 32pt;
    }
    h2 {
	font-size: 12pt;
    }
}
