/*
Theme Name: Fergus Ewing
Theme URI:
Description: Fergus Ewing
Author: Hotscot
Author URI: http://www.hotscot.net
Version: 1.0
License:
License URI:
*/

/* Resets */
*{  margin: 0; padding: 0; }
img{ outline: none; }
a img {outline: none; border: 0px none; }
address{ font-style: normal; }
body{ font-family: Arial; }

/***  Base Colours ***/
/** text colours **/

/*
.text-white, .text-white a, a.text-white{ color: #fff; }
.text-black, .text-black a, a.text-black{ color: #000000; }
.text-off-black, .text-off-black a{ color: #333333; }
.text-light-yellow, .text-light-yellow a, a.text-light-yellow{ color: #FFF961; }
.text-yellow, .text-yellow a, a.text-yellow{ color: #F0D921; }
.text-light-green, .text-light-green a, a.text-light-green{ color: #63910D; }
.text-dark-green, .text-dark-green a, a.text-dark-green{ color: #303427; }
*/

.white {color:#ffffff;}
.yellow {color:#FFF961;}
.yellow-dark {color:#F0D921;}

/** colour backgrounds and misc colours **/
.light-grey-background{ background-color: #E5E5E5; }
.black-background{ background-color: #171717; }
.bright-green-background{ background-color: #63910D; }
/*** /Base Colours ***/

/** Image backgrounds **/
.header-top-background{
    background-color: #000;
}

.header-background{
    background-image: url('images/backgrounds/header-background.png');
    background-position: center top;
    background-repeat: repeat-x;
    height: 84px;
    border-left: 1px solid #333333;
    border-right: 1px solid #333333;
    postion: relative;
}
/*
.main-page-background{
    background-image: url('images/backgrounds/page-background.png');
    background-position: center top;
    background-repeat: repeat-y;
}

.nav-background{
    background-image: url('images/backgrounds/nav-background.png');
    background-position: center top;
    background-repeat: no-repeat;
    height: 60px;
}
.footer-sep{
    background-image: url('images/backgrounds/footer-shadow.png');
    background-position: center top;
    background-repeat: no-repeat;
    height: 30px;
}*/
#footer-shadow {
    background-image: url('images/backgrounds/footer-shadow.png');
    background-position: center top;
    background-repeat: no-repeat;
    height: 30px;
}
#footer-inner {
    width: 980px;
    height: 15px;
	margin:0px auto 0px auto;
	padding:0px 0px 0px 0px;
	background: #333333 url('images/backgrounds/footer-inner.gif') repeat-x left center;
}

/** base layout **/
.header,
#slideshow,
.footer{
    width: 980px;
    margin: 0 auto;
    overflow: auto;
}

.content-wrap {
    background-image: url('images/backgrounds/page-background-2.png');
    background-position: center top;
    background-repeat: repeat-y;
}
.nav {
    width: 980px;
	height:60px;
    margin: 0px auto 0px auto;
	padding:0px 0px 0px 0px;
    background-image: url('images/backgrounds/nav-background.png');
    background-position: center top;
    background-repeat: no-repeat;
}
.content {
    width: 980px;
    margin: 0px auto 0px auto;
	padding:0px 0px 0px 0px;
	background-image: url('images/backgrounds/content-back.png');
    background-position: center top;
    background-repeat: repeat-y;
}


/****** HEADER SECTION *********/
.header{
    position: relative;
    overflow: hidden;
}

.header .logo-wrap{
    width: 276px;
}

.logo-wrap{
    /*width: 127px;
    height: 84px;*/
    position: absolute;
    left: 0;
    z-index: 99999;
}

#logo{
    margin: 0px 0px 0px 44px;
    display: block;
    width: 192px;
    height: 124px;
    background-repeat: no-repeat;
    background-position: center top;
    background-image: url('images/header-logo-2.png');
    overflow: hidden;
    text-indent: -1000px;
    text-align: left;
}



.header .heading{
    width: 980px;
    /*margin-left: 237px;*/
	/* clear the abs logo */
}

.header .heading h1{
    font-weight: bold;
    font-size: 32px;
    margin: 23px 0px 0px 260px;
	color:#FFF961;
}

.header .heading h1 span{
    font-weight: normal;
}


#slideshow{
    width: 980px;
    height: 286px;
    background-color: #000;
    overflow: hidden;
}

/*********** Sidebar *************/
.sidebar{
    width: 280px;
    float: left;
    margin: 0;
    padding-bottom: 20px;
}

.sidebar-box{
    width: 240px;
    margin: 0 auto;
    margin-top: 10px;
    background-color: #333333;
    background-image: url('images/backgrounds/sidebar-box-bottom.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    min-height: 50px;
    padding-bottom: 10px;
}

.sidebar-box.news-box{
    padding-bottom: 0px;
    padding-top: 0px;

}

.sidebar-box-header{
    background-image: url('images/backgrounds/sidebar-header.png');
    background-position: center 6px;
    background-repeat: no-repeat;
    width: 180px;
    height: 40px;
    margin: 10px auto 0px auto;
    color: black;
    font-size: 18px;
    font-weight: bold;
    padding: 22px 40px 0px 10px;
    margin-top: 0px;
    overflow: hidden;
}

.sidebar-box-content{
    width: 205px;
    margin-left: 18px;
    padding-bottom: 20px;
    line-height: 1.4;
    font-size: 12px;
    padding-top: 10px;
}

/* NEWS BOX */
.news-box .sidebar-box-content{
    padding-top: 0px;
}

.news-box ul.archive-list{
    padding: 5px 0px 10px 0px;
    list-style-type: none;
}


.news-box ul.archive-list li a{
    text-decoration: none;
    color: #FEF48B;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    line-height: 1.6;
}
.news-box ul.archive-list li a:hover {text-decoration:underline; color:#ffffff;}

.news-seperator{
    border-bottom: 1px solid #666666;
    width: 200px;
    margin: 0 auto 0 2px;
}

.newsitem.first-news{
    margin-top: 9px;
    margin-bottom: 15px;
}

.newsitem.second-news{
    margin-top: 17px;
    margin-bottom:8px;
}

.newsitem h5 {
    font-size: 12px;
    line-height: 1.4;
	color:#F0D921;
}
.newsitem h5 a {color:#F0D921; font-weight:bold; text-transform:uppercase; text-decoration:none;}
.newsitem h5 a:hover {color:#ffffff; text-decoration:underline;}

/* SURGERY BOX */
.surgery .sidebar-box-content{
    padding-bottom: 19px;
}

.contact .sidebar-box-content{
    padding-bottom: 18px;
}

.surgery h5{
    font-size: 12px;
	color:#f0d921;
}

.surgery h6{
	margin:0px 0px 0px 0px;
	padding:18px 0px 0px 0px;
	font-size: 12px;
    line-height: 1.4;
	color:#F0D921;
	text-transform:uppercase;
	font-weight:bold;
}
.surgery p {
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
	font-size: 12px;
    line-height: 1.4;
	color:#ffffff;
	font-family:Arial, Helvetica, sans-serif;
}

/* 	CONTACT BOX */
.contact p {
	margin:0px 0px 0px 0px;
	padding:0px 0px 10px 0px;
	font-size: 12px;
    line-height: 1.4;
	color:#ffffff;
}
.contact p a {color:#F0D921; font-weight:bold;}
.contact p a:hover {color:#ffffff;}


/** Navigation **/
.nav ul{
    list-style-type: none;
    overflow: hidden;
    text-align: center;
    width: 965px;
    margin: 0 auto;
    padding-left: 15px;
}

.nav ul li{
    display: block;
    float: left;
}

.nav ul li a{
    display: block;
    height: 23px;
    background-image: url('images/backgrounds/nav-sep.png');
    background-position: left center;
    background-repeat: no-repeat;
    font-family: "Verdana";
    font-size: 16px;
    padding: 15px 15px 10px 15px;
	color:#000000;
	text-decoration:none;
}

.nav ul li.current_page_item a,
.nav ul li a:hover,
.nav ul li.current_page_item a:hover{
    color: #990000;
}

/*.nav ul li.last-nav a,*/
.nav ul li.page-item-5 a {
    background-image: none;
}

.nav-content-sep{
    background-image: url('images/backgrounds/nav-content-sep.png');
    height: 10px;
    background-position: 0 0;
    background-repeat: repeat-x;
}

/** MAIN CONTENT STYLES **/
.main-content{
    margin: 11px 0px 0 0px;
	padding: 0px 30px 20px 10px;
    width: 660px;
    float: left;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    font-family: Verdana;
}

.main-content p{
    margin-bottom: 20px;
}

h1,h2,h3,h4,h5,h6{
    font-weight:  normal;
    color: #333333;
    line-height: 1.2;
    font-family: Arial;
}

.main-content h1{
    font-size: 52px;
    color: #303326;
    margin-right: 0px;
    margin-bottom: 13px;
    border-bottom: 1px solid #CFCFCF;
    padding-bottom: 17px;

}

.main-content h2{
    color: #2170AE;
    font-size: 26px;
    margin-bottom: 15px;
    margin-right: 0px;
    line-height: 1.3;
}

.main-content h3{
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 10px
}

.main-content h4{
    color: #2170AE;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 15px
}

.main-content h5{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px
}

.main-content h6{
    color: #2170AE;
    font-style: italic;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px
}

.main-content ul,
.main-content ol,
.main-content dl{
    margin-left: 40px;
    margin-bottom: 20px;
}

.main-content table{
    border-collapse: collapse;
    margin-bottom: 20px;
}

.main-content table td,
.main-content table th{
    padding: 6px;

}

.main-content table td{
    border: 1px solid #CFCFCF;
}

.main-content table th{
    background-color: #2170AE;
    border: 1px solid #2170AE;
    color: #fff;
    font-weigt: bold;
}

.main-content form input[type="text"],
.main-content form input[type="password"],
.main-content form select,
.main-content form input[type="submit"],
.main-content form input[type="button"]{
    padding: 6px;
}



/** EO MAIN CONTENT **/

/***** FOOTER ******/
.footer{
    padding-bottom: 30px;
}

.footer-left{
    width: 643px;
    float: left;
    padding: 2px 17px 10px 11px;
    margin-top: 0px;
}

.footer-right{
    width: 177px;
    float: right;
    line-height: 1.5;
    margin-top: 5px;
}
.footer-left p {
	margin:0px;
	padding:0px;
	font-size: 12px;
    line-height: 2;
	font-family:Arial, Helvetica, sans-serif;
	color:#333333;
}
.footer-left a {color:#333333; text-decoration:none;}
.footer-left a:hover {color:#000000; text-decoration:underline;}

.footer ul.social-links{
    list-style-type: none;
}

.footer ul.social-links li {
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	color:#333333;
	text-transform:uppercase;
}

.footer ul.social-links li.facebook{
    background-image: url('images/icons/facebook.png');
	background-repeat: no-repeat;
    background-position: left top;
    padding-left: 35px;
    margin-bottom: 6px;
}
.footer ul.social-links li.twitter{
    background-image: url('images/icons/twitter.png');
	background-repeat: no-repeat;
    background-position: left top;
    padding-left: 35px;
    margin-bottom: 6px;
}
.footer ul.social-links li a{
    display:block;
    height: 25px;
    font-size: 11px;
    padding-top:4px;
	font-weight:bold;
	text-decoration:none;
	color:#333333;
}
.footer ul.social-links li a:hover {color:#000000; text-decoration:underline;}

/* Misc classes */
.clear{
    clear: both;
}

.pull-left{
    float: left;
}

.pull-right{
    float: right;
}

.align-right{
    text-align: right;
}

.text-centered{
    text-align: center;
}

.uppercase{
    text-transform: uppercase;
}

.no-underline,
.no-underline a{
    text-decoration: none;
}

a.no-underline:hover,
.no-underline a:hover{
    text-decoration: underline;
}

.nav a.no-underline:hover,
.logo-wrap a.no-underline:hover{
    text-decoration: none;
}

.itallic{
    font-style: italic;
}

.bold{
    font-weight: bold;
}

/**  WP CORE **/
.alignnone {
    margin: 0px;
}

.aligncenter, div.aligncenter {
    display:block;
    margin: 5px auto 30px auto;
}

.alignright {
    float:right;


    margin: 10px 9px 30px 49px;
    margin-top: 9px;
}

.alignleft {
    float:left;
    margin: 0px 15px 30px 0px;
    /* Align images to top of paragraphs */
    margin-top: 2px;
}

.aligncenter {
    display: block;
    margin: 20px auto 20px auto;
}

.main-content div.wp-caption{
    text-align: center;
    padding-top:0px;
}

.main-content p.wp-caption-text{


    padding: 7px 20px 0 20px;
    margin-bottom: 0px;
    text-align: center;
    font-style: italic;
    font-size: 12px;
    line-height: 1.2;
}

/************* NEXTGEN GALLERY **************/
.ngg-album, .ngg-gallery-thumbnail-box {
    border: none !important;
    width: 223px;
    float: left;
    text-align: center !important;
    margin: 0 auto !important;
}

.ngg-description {
    display: none !important;
}

.ngg-albumtitle {
    text-align: center !important;
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
}

.ngg-thumbnail, .ngg-gallery-thumbnail {
    text-align: center;
    margin-right: 0 !important;
    margin: 0 auto !important;
    background-image: url(images/backgrounds/thumb-frame.png);
    padding: 22px 10px 30px 4px;
}

.ngg-thumbnail img, .ngg-gallery-thumbnail img {
    border: none !important;
    padding: 0px !important;
}

.ngg-gallery-thumbnail-box {
    width: 210px;
    margin-bottom: 15px !important;
    }

/* BODY LINKS */

.main-content a,
.main-content a:active,
.main-content a:focus,
.main-content a:hover,
.main-content a:visited{
    color:#990000; text-decoration:underline;
}
.main-content a:hover{
    color:#2270AF; text-decoration:underline;
}