/* BOAT-TING STYLES */

/* general rules */

html { overflow: -moz-scrollbars-vertical; }

body { 
    max-width: 1200px;
	margin: 20px auto;
	font-family: arial, sans-serif;
	font-weight: bold;
	font-style: italic;
	background-color: #99cccc;
	color: #000000;
	background: #8bbbcf url(images/water.jpg);
}

p { margin: 0; }

a, a:visited { 
    color: #fff; 
    background-color: #0085B0; 
    padding: 3px 5px 2px 2px; 
    text-decoration: none; 
}

a:hover, a:active { 
    color: #0085B0; 
    background-color: #fff; 
}

em { 
	font-weight: normal;
	/*margin-left: 5px;*/
}

em.br {
    display: block;
    margin-left: 10px;
}

strong {
    position: relative;
	display: block !important;
	text-transform: uppercase;
}

.spacer {
    height: 10px;
}


/* spcific rules */

#container {
    display: grid;
    grid-template-areas: 
    'header'
    'fore'
    'aft'
    'hull';
    margin: 0 auto;
    width: auto;
    max-width: 100%;
}

#header {
    grid-area: header;
    margin: 0 auto;
}

#logo { text-align: center; }

#logo #flag { margin-left: 32px; }

#intro {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 10px;
    font-size: 17px;
	font-weight: bold;
	text-align: center;
    line-height: 22px;
}

#intro p { 
    margin: 0;
    font-size: 18px;
}

#intro span { 
    font-size: 20px; 
    display: inline-block; 
    margin: 0; 
}

#intro h1 { font-size: 20px; }

#intro h2 { font-size: 18px; }


/*** boat sails - editable copy ***/

/* main sail */

#fore {
    grid-area: fore;
    height: 340px;
    /*margin: 0 auto;*/
    margin-top: 20px;
    background: url(images/mainsail.png) no-repeat bottom center;
    background-size: 310px 340px;
    display: flex;
    justify-content: center;
}

#mainsail h1 {
	margin-bottom: 36px;  /*defines top position of listings text */
	margin-left: 120px;
    margin-top: 6px;
	font-size: 15px;
}

#mainsail p {
    width: 250px;
    margin: 0 10px 24px 70px;
	font-size: 17px;
	font-style: italic;
    line-height: 1.2em;
    letter-spacing: -.5px;
}

#mainsail span { 
	display: block !important;
	position: relative;
}

#mainsail em { 
    margin-left: 10px;
}


/* small sails */

#aft {
    grid-area: aft;
    position: relative;
    width: 100%;
    height: 422px;
    margin: 0 auto;
    /*margin-top: 22px;*/
    background: url(images/smallsails.png) no-repeat bottom center;   
    background-size: 310px 430px;    
    display: flex;
    justify-content: center;
}


/* second sail */

#secondsail { margin-left: 40px; width: 220px; }

#secondsail h1 {
    margin-bottom: 12px;  /*defines top position of listings text */
    margin-top: 7px;
	margin-left: 40px;
	font-size: 15px;
}

#secondsail p { 
	margin-bottom: 12px; 
	font-size: 15px;
	line-height: 1.1em;
}

#secondsail span { 
	display: block !important;
	position: relative;
}

#secondsail strong { margin: 0; }

#secondsail em { margin-left: 6px; }


/* third sail */

#thirdsail {
    margin-left: 24px;
	position: absolute;
	bottom: 24px;
	color: #191919;
	text-align: center;   
}

#thirdsail h1 {
	margin: 0;
	margin-bottom: 20px; /* defines vertical position of text */
	margin-left: 10px;    
	font-size: 15px;
}
#thirdsail p { 
	margin-bottom: 16px;
    margin-left: -6px;
	font-style: italic;
	font-size: 16px;
	line-height: 1.4;
} 	
#thirdsail span { 
	display: block !important;
	position: relative;
}

/* hull */

#hull {
    grid-area: hull;
    margin: 0 auto;
    width: 100%;
    height: 150px;
    background: url(images/hull-onethird.png) no-repeat top;
    background-size: 300px 150px;
   
}

#address {
    margin-top: 20px;
    margin-left: 10px;
	font-size: 15px; 
	line-height: 16px;
	text-align: center;
    color: #191919;
}

#address span { 
    display: block;
    font-size: 16px;
    line-height: 20px;
}

#address p { line-height: 19px; }

#note {
    margin: 30px auto;
    max-width: 90%;
	font-size: 16px; 
	line-height: 1.1em;
	text-align: center;
    color: #191919;
    background-color: rgba(255, 255, 255, .6);
    border: 3px solid #181818;
    border-radius: 6px;
}

#note p { padding: 5px 10px 5px 15px; }

#note span {
    display: block;
    font-size: 18px;
}

#note a {
    display: inline-block;
    font-size: 17px;
    margin: 5px 0;
}


/**** ALL DEVICES MEDIA QUERIES ****/

@media only screen and (min-width:400px) {
    
    #hull { background-size: 380px 150px; }
    
    #note { max-width: 80%; }
    
}

@media only screen and (min-width:500px) {
    
    #hull { background-size: 480px 150px; }
    
}

@media only screen and (min-width:600px) {
    
    #hull { background-size: 580px 150px; }
    
}

@media only screen and (min-width:768px) {
    
    #container {
        grid-template-columns: 48% 48%;
        grid-template-areas: 
        'header header' 
        'fore aft'
        'hull hull';
    }
    
    #intro { 
        max-width: 70%; 
        /*margin-bottom: 30px;*/
    }
    
    #fore {
        height: 412px;
        margin-top: 40px;
        background: url(images/mainsail-onehalf.png) no-repeat bottom right;
        background-size: 340px 400px;
        justify-content: right;
    }
    
    #mainsail {    
        position: relative;
        left: -4px;
    }
    
    #mainsail h1 {
        margin-top: 20px;
        margin-bottom: 36px;  /*defines top position of listings text */
        margin-left: 90px;
    }
    
    #mainsail p {
        width: 260px;
        margin: 0 10px 24px 30px;
	    font-size: 18px;
    }
    
    #aft {
        margin-top: 30px;
        background: url(images/smallsails.png) no-repeat bottom left;
        background-size: 310px 430px; 
        justify-content: left;
    }
    
    #secondsail { margin-left: 66px; }
    
    #thirdsail { margin-left: 60px; }
    
    #hull {
        background: url(images/hull-twothirds.png) no-repeat top;
        background-size: 700px 130px;
    }
    
    #address { margin-top: 18px; }
    
    #address span { display: inline; }
    
    #address p {
        font-size: 16px;
        line-height: 22px;
    }
    
    #note {
        margin-top: 50px;
        max-width: 60%;
    }
    
}

@media only screen and (min-width:1050px) {
    
    #intro { max-width: 60%; }
    
}

@media only screen and (min-width:1200px) {
    
    #container {
        max-width: 1200px;
        grid-template-columns: auto 33% 33%;
        grid-template-areas: 
        'header fore aft'
        'hull hull hull';
    }
    
    #header {
        position: relative;
        left: 50px;
    }
    
    #intro { 
        max-width: 90%; 
        margin-bottom: 0;
    }
    
    #fore { height: 446px; }
    
    #mainsail { margin-top: 34px; }
    
    #aft { height: 456px; }
    
    #secondsail { margin-top: 34px; }
    
    #hull {
        height: 220px;
        background: url(images/hull-fullwidth.png) no-repeat top;
        background-size: 1100px 220px;
    }
    
    #address {
        float: left;
        width: 30%;
        margin-top: 40px;
        margin-left: 110px;
    }
    
    #address span { display: block; }
    
    #note {
        float: left;
        max-width: 45%;
        margin-top: 5px;
        padding-left: 10px;
        background-color: transparent;
        border: none;
        border-left: 5px solid #181818;
        border-radius: 0;
        font-size: 17px;
    }
    
    #note span {
        display: inline;
        margin-left: 10px;
    }
    
}
