/*
Theme Name: SGM
Author: the Targetmarket team
Description: Custom theme for SGM
-------------------------------------------------------------- */
@font-face{font-family:edwardscript;src: url(fonts/ITCEdscr.TTF)} 
@font-face{font-family:edwardscript;src: url(fonts/ITCEdscr.TTF)}
@font-face{font-family:chopinscript;src: url(fonts/chopinscript.ttf)} 

body{background-image:url(images/bg-body.jpg);font-family:arial;background-repeat:no-repeat;background-attachment:fixed;background-size:cover;margin:0;padding:0;}
html{margin:0;padding:0;}

body,html,#page-wrap,#page{height:100%;position:relative;}
#primary, #content{min-height:100%;height:auto;}
#page-body{box-shadow: 0px 0px 15px #999;background:#FEFFF4;margin-top:50px;margin-bottom:50px;}
#page-body-frontpage{min-height:73%;height:auto;}

.text-color1{color:#97AF61;font-weight:bold;}

.width-wrap-global{width:1000px;margin:0 auto;}

#content{padding:20px 20px 20px 20px;position:relative;z-index:1;}

a{color:#F09C17;text-decoration:none;}
a:hover{color:#000;}

hr{margin:20px 0 15px 0;color:#EAEEBF;clear:both;}

h1, h2, h3, h4, h5{margin:0;padding:0;}
h1{color:#97af61;font-family:chopinscript;font-size:60px; line-height: 60px;font-weight:normal !important;}
h2, h3{margin:40px 0 0 0;}

.fl{float:left;}
.fr{float:right;}
.cb{clear:both;}

table{font-family:arial;width:100%;}
td{padding:15px;}
tr:nth-child(odd) {background: #CCC;}
tr:nth-child(even) {background: #FFF;}

#comments{display:none !important;}

#header{background:url(images/bg-header.png) repeat-x;height:163px;width:100%;position:relative;z-index:75;}
#header-logo{display:block;width:160px;height:163px;background:url(images/bg-logo.png) no-repeat;position:relative;top:inherit;margin-left:10px;z-index:10;}

#menu-header-menu{margin-top:37px;}
#menu-header-menu li{list-style-type:none;float:left;}
#menu-header-menu li a{color:#333;text-transform:uppercase;padding:21px 12px 16px 12px;display:block;font-size:12px;}
#menu-header-menu li:hover a{background:rgba(00,12,00,.8);color:#FFF;}
#menu-header-menu li:hover ul{left:inherit;}

#menu-header-menu ul li{float:none !important;}
#menu-header-menu ul li a{color:#fff !important;background:none !important;padding:12px;}
#menu-header-menu ul li:hover a{color:#FC0 !important;}
#menu-header-menu ul{position:absolute;left:-9999px;top:inherit;z-index:1100;background:rgba(00,12,00,.8);padding:15px;}
#menu-header-menu ul li{background:none !important;}

/*#menu-header-menu{margin:37px 0 0 0;}
#menu-header-menu li{list-style-type:none;float:left;}
#menu-header-menu li a{text-decoration:none;color:#493b11;display:block;padding:21px 12px 16px 12px;font-size:12px;text-transform:uppercase;}
#menu-header-menu li a:hover{color:#42883f;background:#E4E4B2;}

#menu-header-menu ul{position:absolute;left:-9999px;top:inherit;z-index:1000 !important;}
#menu-header-menu ul li:hover a{background:#E4E4B2;}
#menu-header-menu li:hover ul{left:inherit !important;}
#menu-header-menu ul li:hover ul a{background:none !important;padding:10px 0 0 12px !important;}
.sub-menu {background: rgba(000, 000, 000, 0.8);padding:5px 0 15px 0 !important;min-width:281px;margin:0 !important;}
.sub-menu li{float:none !important;}
.sub-menu a{color:#97AF61 !important;font-weight:normal;}
.sub-menu a:hover{color:#fff !important;font-weight:normal;margin-left:5px;background:none !important;}*/

#menu-footer-menu{width:1000px;margin:15px auto;padding-top:20px;}
#menu-footer-menu li{list-style-type:none;float:left;margin:0 40px;}
#menu-footer-menu li a{text-decoration:none;color:#fff;}
#menu-footer-menu li a:hover{color:#42883f;}

#golfcourse-nav{margin-top:50px;}

#course-maynard{display:block;float:left;width:328px;height:249px;background:url(images/btn-course-maynard.png) no-repeat;}
#course-chelmsford{display:block;margin-top:20px;float:left;width:328px;height:249px;background:url(images/btn-course-chelmsford.png) no-repeat;}
#course-norwood{display:block;margin-top:20px;float:left;width:328px;height:249px;background:url(images/btn-course-norwood.png) no-repeat;}
#course-newton{display:block;float:left;width:328px;height:249px;background:url(images/btn-course-newton.png) no-repeat;}
#course-shattuck{display:block;float:left;width:328px;height:249px;background:url(images/btn-course-shattuck.png) no-repeat;}
#course-rockland{display:block;margin-top:20px;float:left;width:328px;height:249px;background:url(images/btn-course-rockland.png) no-repeat;}
#course-stoneoak{display:block;margin-top:20px;float:left;width:328px;height:249px;background:url(images/btn-course-stoneoak.png) no-repeat;}
#course-unicorn{display:block;margin-top: 20px;float:left;width:328px;height:249px;background:url(images/btn-course-unicorn.png) no-repeat;}
#course-winchendon{display:block;margin-top:20px;float:left;width:328px;height:249px;background:url(images/btn-course-winchendon.png) no-repeat;}

.course-container{float:left;width:328px;height:249px; display: table;}

#footer-wrap{position:relative;top:inherit;z-index:100;margin-top:-100px;}
#footer-top{background:url(images/bg-footer-top.png) repeat-x bottom;height:40px;margin-top:20px;width:100%;}
#footer{background:#08392d;height:100px;margin-top:-16px;padding:0;width:100%;text-align:center;}

.course-selection-btn{background:#F09C17;padding:10px 15px;border-radius:10px;color:#000;position:relative;text-decoration:none;float:right;margin:-40px 20px 0 0;border:1px solid #08392D;box-shadow:0 0 5px #000;font-family:arial;font-size:14px;}
.course-selection-btn:hover{background:#08392D;color:#fff;}

.tw-recent-posts{background:#F0F2DB;padding:20px;font-family:arial;font-size:14px;color:#666666;}
.tw-recent-posts a{font-size:16px;}
.tw-recent-posts h3{font-size:22px;color:#0E5F4A;background:url(images/bg-recent-news.png) no-repeat;width:400px;height:44px;margin:-20px 0 0 -20px;text-align:center;padding:10px 0 0 0;}
.featured-post img{margin-top:5px;}

.entry-content{font-family:arial;font-size:14px;line-height:24px;padding:30px 0 30px 0; display: table;}
.entry-btn{background:#A7B863;color:#000;border:1px solid #FFD955;padding:10px 40px;font-size:16px;margin:0px 10px 0 0;}
.entry-btn:hover{background:#FFD955;color:#000;border:1px solid #A7B863;color:#000;}

.frontpage-botnav-btn{float:left;background:#FFD955;padding:20px 0px;width:300px;text-align:center;margin:20px 20px 0 0;color:#000;font-size:22px;border:1px solid #A7B863;}
.frontpage-botnav-btn:hover{background:#A7B863;border:1px solid #FFD955;}
#frontpage-bottom-nav{width:1000px;background:#F0F2DB;margin:0 0 0 -20px;height:110px;}
.edit-link{display:none;}

.entry-content .fr img{margin-left:60px;border:1px solid #ccc;}

.two-col-left{float:left;width:550px;}
.two-col-right{float:right;width:400px;}


.colsWrapperFull{
width: 100%;
display: table;
clear: both;
}

.colsWrapperSeventy{
width: 72%;
width: calc( 100% - 260px );
display: table;
}


.twocols{
width: 49%;
width: calc( 50% - 10px );
margin-right: 20px;
}

.twocols.left{ float: left;}
.twocols.right{ float: right; margin-right: 0px;}


.threecols{
width: 30%;
width: calc( 33.3% - 13px );
}

.threecols.left{ float: left; margin-right: 20px; }
.threecols.middle{ float: left; }
.threecols.right{ float: right;}
.twocols.left.ad{
	width: calc( 100% - 350px);
}
.ad{
	background: #ccc; 
	padding: 15px !important; 
	border-radius: 15px;
	text-align: center;
	    float: right;
    margin-top: 5px;
    margin-left: 10px;
}

.misc_content {
	float: right;
	width: auto;
	margin: 0 0 10px 10px;
	text-align:left;

}

.entry-content:last-of-type {
    padding-bottom: 0px;
}

table {
    padding-top: 15px;
}

div#header-menu {
    /*margin-left: 45px;*/
}

.entry-content :nth-child(1) {
    margin-top: 0px;
    padding-top: 0px;
}

.ad + H3 {
    margin-top: 0px;
}

body.shattuck{
	background-image: url('/wp-content/themes/sgm/images/bg-body.jpg');
}

body.newton{
		background-image: url('/wp-content/themes/sgm/images/bg-body2.jpg');
}

body.maynard{
		background-image: url('/wp-content/themes/sgm/images/bg-body3.jpg');
}

body.chelmsford{
		background-image: url('/wp-content/themes/sgm/images/bg-body4.jpg');
}

body.norwood{
		background-image: url('/wp-content/themes/sgm/images/bg-body5.jpg');
}

body.rockland{
		background-image: url('/wp-content/themes/sgm/images/bg-body6.jpg');
}