/*

Main colors used in site:

Brown: #BEA064

*/


* {
	margin: 0px;
	padding: 0px;
}

.clear {	clear: both;
}


/*-------------------------------------------------------------*/
/*-----------------------------LINKS---------------------------*/
/*-------------------------------------------------------------*/

a:link {
	color: #4b3201;
	text-decoration: underline;
	font-weight: bold;
}

a:visited {
	color: #4b3201;
	text-decoration: none;
}

a:hover {
	color: #C60;
	text-decoration: underline;
}

a:active {
	color: #4b3201;
	text-decoration: none;
}

/*-------------------------------------------------------------*/
/*-----------------------------FONTS---------------------------*/
/*-------------------------------------------------------------*/

p {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 19px;
	color: #4b3201;
	margin: 0 0 15px 0;
}

h1 {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #4b3201;
	margin: 0 0 5px 0;
	line-height: 22px;
}

h3 {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #4b3201;
	margin: 0 0 5px 0;
}

.legacy {
	font-family: 'Forum', cursive;
	font-size: 14px;
}

/*--------------------------------------------------------------*/
/*-----------------------------HEADER---------------------------*/
/*--------------------------------------------------------------*/

#header {
	height: 130px;
	background: url(../images/headerBg.jpg) top repeat-x;
}

#logoArea {
	height: 90px;
	padding: 7px 0 0 0;
	float: left;
}

#mailingList {
	height: 90px;
	float: right;
	width: 188px;
	height: 26px;
	padding: 55px 0 0 0;	
}

.container {
	width: 920px;
	margin: 0 auto;
}

/*-----------------------------------------------------------*/
/*-----------------------------NAV---------------------------*/
/*-----------------------------------------------------------*/

#navArea {
	width: 887px;
	height: 33px;
	margin: 0 auto;
	text-align: center;
}

/*-----------------------------------------------------------------*/
/*-----------------------------MAIN AREA---------------------------*/
/*-----------------------------------------------------------------*/
	
#mainArea {
	width: 960px;
	margin: 0 auto;
}

#contentArea {
	background: url(../images/contentMid.png) repeat-y;
	padding: 20px 40px 20px 40px;
	min-height: 700px;
}

#headerImage {
	margin-bottom: 15px;
}

#homeBg {
	background: url(../images/backgroundHome.jpg) top center no-repeat;
	background-color: #bea064;
}

#pipesBg {
	background: url(../images/backgroundPipes.jpg) top center no-repeat;
	background-color: #bea064;
}

#galleryBg {
	background: url(../images/backgroundGallery.jpg) top center no-repeat;
	background-color: #bea064;
}

#philosophyBg {
	background: url(../images/backgroundPhilosophy.jpg) top center no-repeat;
	background-color: #bea064;
}

#premierBg {
	background: url(../images/premierBg.jpg) top center no-repeat;
	background-color: #bea064;
}

/*--------------------------------------------------------------*/
/*-----------------------------FOOTER---------------------------*/
/*--------------------------------------------------------------*/


/*------------------------------------------------------------*/
/*-----------------------------MISC---------------------------*/
/*------------------------------------------------------------*/

.title {
		margin-bottom: 15px;
}

.leftPic {
	float: left;
	margin: 0 10px 10px 0;
	}
	.leftPic p {
		font-family: Helvetica, Arial, sans-serif;
		font-size: 11px;
		font-weight: bold;
		line-height: 14px;
		color: #4b3201;
		text-align: center;
		margin-top: 5px;
		}

.rightPic {
	float: right;
	margin: 0 0 10px 10px;
	}
	.rightPic p {
		font-family: Helvetica, Arial, sans-serif;
		font-size: 11px;
		font-weight: bold;
		line-height: 14px;
		color: #4b3201;
		text-align: center;
		margin-top: 5px;
		}

.modelBox {
	background-color: #f6eddb;
	padding: 10px;
	width: 190px;
	height: 220px;
	margin: 5px 5px 5px 5px;
	float: left
	}
	.modelBox img {
		margin-bottom: 10px;
	}
	.modelBox p {
		font-family: Helvetica, Arial, sans-serif;
		font-size: 11px;
		line-height: 14px;
		color: #4b3201;
		margin: 0 0 15px 0;
	}
	
.galleryBox {
	background-color: #f6eddb;
	padding: 10px;
	width: 190px;
	height: 200px;
	margin: 5px 5px 5px 5px;
	float: left
	}
	.galleryBox img {
		margin-bottom: 10px;
	}
	.galleryBox p {
		font-family: Helvetica, Arial, sans-serif;
		font-size: 11px;
		line-height: 14px;
		color: #4b3201;
		margin: 0 0 15px 0;
	}

.galleryThumb {
	background-color: #ffffff;
	padding: 10px;
	width: 190px;
	margin: 5px 5px 5px 5px;
	float: left
	}
	.galleryThumb p {
	font-family: Helvetica, Arial, sans-serif;
		font-size: 11px;
		text-align: center;
		color: #4b3201;
		margin: 10px 0 0 0;
	}
	
.dividingTitles {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	background-color: #4b3201;
	color: #ffffff;
	padding: 5px;
	margin: 15px 0 15px 0;
}

.slideshow {
	height: 320px;
	width: 880px;
	margin:  0 0 15px 0;
}

.commentBox {
	padding: 15px 15px 5px 15px;
	background-color: #ffffff;
	margin: 0 0 15px 0;
}

.signature {
	font-weight: bold;
	font-style: italic;
}

.bullets {
    font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 19px;
	color: #4b3201;
	margin: 0 0 15px 0;
    padding: 0 0 0 20px;
}

/* =========================================
   ATHERTON BAGPIPES GALLERY
   4 IMAGES PER ROW
   ========================================= */

#contentArea .galleryThumb {
    float: none;
    display: inline-block;
    vertical-align: top;
    width: 23%;
    margin: 0px 14px 14px 0;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
}

/* Every thumbnail has exactly the same size */
#contentArea .galleryThumb a {
    display: block;

    width: 100%;
    height: 150px;

    overflow: hidden;

    background: #f5f5f5;
    border: 1px solid #d2d2d2;

    box-sizing: border-box;
}

/* Force every image to fit the thumbnail */
#contentArea .galleryThumb a img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    object-fit: cover;
    object-position: center center;

    box-sizing: border-box;
}

/* Hover */
#contentArea .galleryThumb a:hover {
    border-color: #BEA064;
}

#contentArea .galleryThumb a:hover img {
    opacity: 0.9;
}

/* Number */
#contentArea .galleryThumb p {
    margin: 7px 0 0 0;
    padding: 0;

    font-size: 13px;
    line-height: 18px;
    text-align: center;
}

/* Clear */
#contentArea .clear {
    clear: both;
}


/* =========================================
   TABLET
   ========================================= */

@media screen and (max-width: 700px) {

    #contentArea .galleryThumb {
        width: 47%;
        margin-right: 3%;
        margin-bottom: 20px;
    }

    #contentArea .galleryThumb a {
        height: 150px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media screen and (max-width: 420px) {

    #contentArea .galleryThumb {
        width: 47%;
        margin-right: 3%;
        margin-bottom: 18px;
    }

    #contentArea .galleryThumb a {
        height: 130px;
    }

}

/* =========================================
   ATHERTON BAGPIPES VIDEO GALLERY
   ========================================= */
   
.videoGallery {
    clear: both;
    width: 100%;
    margin: 35px 0 30px 0;
    padding: 25px 0 30px 0;
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
    text-align: left !important;
    box-sizing: border-box;
}

.videoGalleryTitle {
    margin-bottom: 20px;
}

.videoGalleryTitle h2 {
    margin: 0 0 7px 0;
    padding: 0;

    font-size: 22px;
    line-height: 30px;
    font-weight: bold;
}

.videoGalleryTitle p {
    margin: 0;
    padding: 0;

    font-size: 14px;
    line-height: 21px;
}


/* Video thumbnail */

.videoThumb {
    display: inline-block;
    width: 280px;
    max-width: 100%;
    margin: 0 auto;

    text-align: center;
    box-sizing: border-box;
}

.videoThumb a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.videoImage {
    position: relative;

    width: 100%;
    height: 170px;

    overflow: hidden;

    background: #222;
    border: 1px solid #cfcfcf;

    box-sizing: border-box;
}

.videoImage img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    object-fit: cover;
    object-position: center center;
}


/* Play button */

.videoPlayButton {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 62px;
    height: 62px;

    margin-left: -31px;
    margin-top: -31px;

    border-radius: 50%;

    background: rgba(190, 160, 100, 0.95);
    color: #fff;

    font-size: 25px;
    line-height: 62px;

    text-align: center;

    padding-left: 3px;

    box-sizing: border-box;

    transition: all 0.25s ease;
}

.videoThumb a:hover .videoPlayButton {
    transform: scale(1.1);
    background: #BEA064;
}

.videoThumb a:hover .videoImage img {
    opacity: 0.85;
}

.videoThumb > a > p {
    margin: 8px 0 0 0;
    padding: 0;

    font-size: 14px;
    line-height: 20px;
}


/* =========================================
   VIDEO POPUP
   ========================================= */

.videoPopup {
    display: none;

    position: fixed;
    z-index: 999999;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.88);

    align-items: center;
    justify-content: center;

    padding: 30px;

    box-sizing: border-box;
}

.videoPopup.active {
    display: flex;
}

.videoPopupOverlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
}


/* Popup content */

.videoPopupContent {
    position: relative;
    z-index: 2;

    width: 900px;
    max-width: 95%;

    background: #000;

    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);

    box-sizing: border-box;
}

.videoPopupContent video {
    display: block;

    width: 100%;
    height: auto;

    max-height: 80vh;

    background: #000;
}


/* Close button */

.videoPopupClose {
    position: absolute;

    z-index: 5;

    top: -42px;
    right: 0;

    width: 35px;
    height: 35px;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.75);
    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 28px;
    line-height: 32px;

    text-align: center;

    cursor: pointer;
}

.videoPopupClose:hover {
    background: #BEA064;
}


/* =========================================
   MOBILE
   ========================================= */

@media screen and (max-width: 600px) {

    .videoGallery {
        margin-top: 25px;
        padding: 20px 0 25px 0;
    }

    .videoGalleryTitle h2 {
        font-size: 19px;
        line-height: 26px;
    }

    .videoThumb {
        width: 100%;
        max-width: 280px;
    }

    .videoImage {
        height: 165px;
    }

    .videoPopup {
        padding: 15px;
    }

    .videoPopupContent {
        width: 100%;
        max-width: 100%;
    }

    .videoPopupContent video {
        max-height: 70vh;
    }

    .videoPopupClose {
        top: -42px;
        right: 0;
    }

}

li.navPipes ul {
    z-index: 999 !important;
}