#wrapper,
.container-inner { min-width: 320px; }

/* ------------------------------------------------------------------------- *
 *  Toggle Sidebar s2 : 1200px > 480px
/* ------------------------------------------------------------------------- */
@media only screen and (min-width: 480px) and (max-width: 1200px) {
	
	.container { padding: 0 10px; }
	
	/* s2 general */
	.s2 { width: 50px; }
	.s2 .sidebar-content { display: none; float: left; width: 100%; }
	.s2 .sidebar-toggle { display: block; }
	
	/* s2 expand/collapse */
	.s2-expand .s2 { background: #f9f9f9; position: absolute; top: 0; bottom: 0; width: 280px; margin: 0!important; z-index: 9; overflow: auto;
	-moz-transition: width .2s ease; -webkit-transition: width .2s ease; transition: width .2s ease; }	
	.s2-expand .s2 .sidebar-content { display: block; min-width: 280px; }
	.s2-collapse .s2 .sidebar-content { display: none; }
	
	/* s2 toggle icon */
	.col-3cm.s2-expand .s2 .icon-sidebar-toggle:before,
	.col-3cl.s2-expand .s2 .icon-sidebar-toggle:before { content: "\f061"; }
	.col-3cr.s2-expand .s2 .icon-sidebar-toggle:before { content: "\f060"; }
	
	/* s2 3 column, content middle */
	.col-3cm .main { background: url(img/sidebar/s-right-collapse.png) repeat-y right; }
	.col-3cm .main-inner { padding-right: 50px; }
	.col-3cm .s2 { margin-right: -50px; }
	.col-3cm.s2-expand .s2 { right: 0; }

}
@media only screen and (min-width: 961px) and (max-width: 1200px) {

	.s2 .sidebar-toggle { height: 60px; }
	.s2 .sidebar-toggle i { padding: 11px 0; }
	
	/* 3 column, content right */
	.col-3cl .main { background-image: none; }
	.col-3cl .main-inner { background: url(img/sidebar/s-right-dual-half-collapse.png) repeat-y right; padding-right: 370px; }
	.col-3cl .s1 { margin-right: -370px; }
	.col-3cl .s2 { margin-right: -50px; }
	.col-3cl.s2-expand .s2 { right: 320px; }
	
	/* 3 column, content left */
	.col-3cr .main { background-image: none; }
	.col-3cr .main-inner { background: url(img/sidebar/s-left-dual-half-collapse.png) repeat-y left; padding-left: 370px; }
	.col-3cr .s1 { margin-left: -370px; }
	.col-3cr .s2 { margin-left: -50px; }
	.col-3cr.s2-expand .s2 { left: 320px; }
	
}

/* ------------------------------------------------------------------------- *
 *  Toggle Sidebar s1 : 960px > 480px
/* ------------------------------------------------------------------------- */
@media only screen and (min-width: 480px) and (max-width: 960px) {
	
	/* s1 general */
	.s1 { width: 50px; }
	.s1 .sidebar-content { display: none; float: left; width: 100%; }
	.s1 .sidebar-toggle { display: block; }
	
	/* s1 expand/collapse */
	.s1-expand .s1 { background: #fbfbfb; position: absolute; top: 0; bottom: 0; width: 320px; margin: 0!important; z-index: 9; overflow: auto;
	-moz-transition: width .2s ease; -webkit-transition: width .2s ease; transition: width .2s ease; }	
	.s1-expand .s1 .sidebar-content,
	.s1-expand .s1 .post-nav { display: block; min-width: 320px; }
	.s1-collapse .s1 .sidebar-content,
	.s1-collapse .s1 .sidebar .post-nav { display: none; }
	
	/* s1 toggle icon */
	.col-2cl.s1-expand .s1 .icon-sidebar-toggle:before,
	.col-3cl.s1-expand .s1 .icon-sidebar-toggle:before { content: "\f061"; }
	.col-2cr.s1-expand .s1 .icon-sidebar-toggle:before,
	.col-3cm.s1-expand .s1 .icon-sidebar-toggle:before,
	.col-3cr.s1-expand .s1 .icon-sidebar-toggle:before { content: "\f060"; }

	/* 2 column, content right */
	.col-2cr .main-inner { background-position: -270px 0!important; padding-left: 50px; }
	.col-2cr .s1 { margin-left: -50px; }
	.col-2cr.s1-expand .s1 { left: 0; }
	
	/* 2 column, content left */
	.col-2cl .main-inner { background-image: url(img/sidebar/s-right-collapse.png); padding-right: 50px; }
	.col-2cl .s1 { margin-right: -50px; }
	.col-2cl.s1-expand .s1 { right: 0; }
	.col-2cl.s1-expand .sidebar-toggle { float: right; }
	
	/* 3 column, content middle */
	.col-3cm .main-inner { background-position: -270px 0!important; padding-left: 50px; }	
	.col-3cm .s1 { margin-left: -50px; }	
	.col-3cm .s2 { margin-right: -50px; }
	.col-3cm.s1-expand .s1 { left: 0; }
	.col-3cm.s2-expand .s2 { right: 0; }
	
	/* 3 column, content left */
	.col-3cl .main { background-image: none; }
	.col-3cl .main-inner { background: url(img/sidebar/s-right-dual-full-collapse.png) repeat-y right; padding-right: 100px; }
	.col-3cl .s1 { margin-right: -100px; }
	.col-3cl .s2 { margin-right: -50px; }
	.col-3cl.s1-expand .s1 { right: 0; }	
	.col-3cl.s2-expand .s2 { right: 50px; }
	
	/* 3 column, content right */
	.col-3cr .main { background-image: none; }
	.col-3cr .main-inner { background: url(img/sidebar/s-left-dual-full-collapse.png) repeat-y left; padding-left: 100px; }
	.col-3cr .s1 { margin-left: -100px; }
	.col-3cr .s2 { margin-left: -50px; }
	.col-3cr.s1-expand .s1 { left: 0; }
	.col-3cr.s2-expand .s2 { left: 50px; }
	
}

@media only screen and (max-width: 960px) {
	/* 60 > 50px spacing */
	#page { margin-top: 30px; }
	.page-title.pad { padding-top: 12px; padding-bottom: 12px; }
}


/* ------------------------------------------------------------------------- *
 *  Medium Screens : 959px > 0px (720px & 480px & 320px)
/* ------------------------------------------------------------------------- */
@media only screen and (max-width: 959px) {

	/*  match */
	.cp-match-title { margin: 0 -30px; padding: 16px 60px 17px; min-height: 70px; }
	.cp-match-home-club,
	.cp-match-away-club { font-size: 1.75em; }
	.cp-home-club-badge img,
	.cp-away-club-badge img { max-width: 68px; }
	.cp-match-home-club span,
	.cp-match-away-club span { padding-top: 10px; }
	.cp-home-score,
	.cp-away-score { font-size: 1.5em; padding-top: 6px; height: 55px; }

}

/* ------------------------------------------------------------------------- *
 *  Medium Screens : 719px > 0px (480px & 320px)
/* ------------------------------------------------------------------------- */
@media only screen and (max-width: 719px) {
	
	/* make collapsed sidebars 40px wide instead of 50px */
	.s1,
	.s2 { width: 40px; }
	
	/* 2 column, content right */
	.col-2cr .main-inner { background-position: -280px 0!important; padding-left: 40px; }
	.col-2cr .s1 { margin-left: -40px; }
	
	/* 2 column, content left */
	.col-2cl .main-inner { background-image: url(img/sidebar/s-right-collapse-40.png); padding-right: 40px; }
	.col-2cl .s1 { margin-right: -40px; }
	
	/* 3 column, content middle */
	.col-3cm .main { background: url(img/sidebar/s-right-collapse-40.png) repeat-y right; }
	.col-3cm .main-inner { background-position: -280px 0!important; padding-left: 40px; padding-right: 40px; }	
	.col-3cm .s1 { margin-left: -40px; }
	.col-3cm .s2 { margin-right: -40px; }
	
	/* 3 column, content left */
	.col-3cl .main-inner { background: url(img/sidebar/s-right-dual-full-collapse-40.png) repeat-y right; padding-right: 80px; }
	.col-3cl .s1 { margin-right: -80px; }
	.col-3cl .s2 { margin-right: -40px; }
	.col-3cl.s2-expand .s2 { right: 40px; }
	
	/* 3 column, content right */
	.col-3cr .main-inner { background: url(img/sidebar/s-left-dual-full-collapse-40.png) repeat-y left; padding-left: 80px; }
	.col-3cr .s1 { margin-left: -80px; }
	.col-3cr .s2 { margin-left: -40px; }
	.col-3cr.s2-expand .s2 { left: 40px; }
	
	/* layout */
	.container { padding: 0; }
	.grid { width: 100%; margin: 0 0 10px;}
	
	/* hide */
	.site-description,
	.image-caption { display: none; }
	
	/* base */
	.pad { padding: 20px 20px 10px; }
	.cp-player-title { margin: -20px -20px 30px; padding: 19px 20px; }
	.notebox { margin-bottom: 20px; }
	.entry { font-size: 0.938em; }
	
	/* text */
	.entry h1 { font-size: 1.875em; letter-spacing: -0.7px; }
	.entry h2 { font-size: 1.625em; letter-spacing: -0.5px; }
	.entry h3 { font-size: 1.5em; letter-spacing: -0.3px; }
	.entry h4 { font-size: 1.375em; letter-spacing: -0.3px; }
	.entry h5 { font-size: 1.125em; }
	.entry h6 { font-size: 1em; text-transform: uppercase; }

	/* header */
	#header { padding-bottom: 0; }
	.topbar-enabled #header { padding-top: 0; }
	#header .pad { padding-top: 0; padding-bottom: 0; }
	.toggle-search { right: auto; left: 0; top: 0;
	-webkit-box-shadow: 1px 0 0 rgba(255,255,255,0.1);
	box-shadow: 1px 0 0 rgba(255,255,255,0.1); }
	.search-expand { left: 0; right: auto; top: 50px; width: 320px; }

	.site-title { padding: 20px 0; width: 100%; float: none; margin-top: 10px; text-align: center; }
	.site-title a { text-align: center; width: 100%; }
	.site-title a img { display: none; }
	.site-title a .site-name { padding: 0 0 20px; float: none; display: inline-block; }
	.site-banner { float: none; margin: 0 auto 20px auto; text-align: center; max-width: 100%; }

	/* flexslider */
	.featured.flexslider .post-title-group { padding: 20px; }
	.featured.flexslider .post-title { font-size: 1.25em; }
	
	/* footer */
	#footer-bottom .pad { padding-top: 50px; padding-bottom: 40px; }
	#footer-bottom .one-half.last { margin-bottom: 0; }
	#footer-bottom { text-align: center; }
	#footer-bottom #footer-logo { margin-left: auto; margin-right: auto; }
	#footer-bottom .social-links { float: none; }
	#footer-bottom .social-links li { margin-left: 4px; margin-right: 4px; }
	
	/* comments */
	.comment-tabs { font-size: 0.875em; }
	.commentlist li { font-size: 0.813em; }
	.commentlist li ul li { padding-left: 10px; }
	
	/* page */
	#page { margin-top: 0; padding-bottom: 10px; }
	.pagination { margin-bottom: 30px; }
	.page-title { font-size: 0.875em; }
	.page-image-text { margin-top: -15px; }
	.page-image-text .caption { font-size: 1.625em; line-height: 30px;  }
	.page-image-text .description { font-size: 0.813em; }
	
	/* blog */
	.post-list { margin-left: 0; margin-right: 0;  }
	.post-list .post,
	.post-list .page	{ width: 100%; }
	.post-list .post-row { margin-left: 0; padding-left: 0; }
	.post-list .post-inner { margin-right: 0; }
	
	.featured .post-title,
	.single .post-title { font-size: 1.375em; line-height: 1.5em; letter-spacing: 0; }
	.post-byline { font-size: 0.813em; }
	.post-format { margin-bottom: 20px; }
	.format-gallery .post-format .flexslider .slides img { max-height: 240px; }
	.format-quote .post-format blockquote,
	.format-link .post-format p { font-size: 1.125em; }
	.format-link .post-format p { margin-bottom: 10px; }
	.single .format-status .entry { font-size: 1.25em; line-height: 1.4em; }
	.post-format .format-container .fa { font-size: 1.75em; }
	
	.author-bio .bio-desc { font-size: 0.813em; }
	
	.single .related-posts .post-title { font-size: 0.938em; }
	.related-posts li { width: 50%; }
	.related-posts li:nth-child(2) article { border-right-color: transparent; } 
	.related-posts li:nth-child(3),
	.related-posts li:nth-child(4) { display: none; }

	/* match */
	.cp-home-club-badge,
	.cp-away-club-badge { display: none; }

	/* players */
	.cp-related-players .grid { width: 31%; margin-right: 3.2%; margin-bottom: 10px; }
	.cp-related-players .grid:nth-child(3n) { margin-right: 0; }
	.cp-related-players .grid:nth-child(4n) { display: none; }
	.cp-related-players .post-title { font-size: 1.063em; }
	
	/* shortcodes */
	.dropcap { font-size: 5em; }

	/* wpcm score summary */
	.wpcm-ss-halftime {
		clear: both;
		margin: 20px 0 0;
	}
	
}

/* ------------------------------------------------------------------------- *
 *  Small Screens : 479px > 0 (320px)
/* ------------------------------------------------------------------------- */
@media only screen and (max-width: 479px) {
	
	/* layout */
	.content,
	.sidebar { width: 100%; float: none; margin-right: 0!important; margin-left: 0!important; }
	.sidebar { background: #f0f0f0; width: 100%; display: block; float: none; }
	.main,
	.main-inner { background-image: none!important; padding: 0!important;  }
	.s2 { right: 0!important; left: 0!important; }
	.cp-related-players .grid { width: 48.4%; margin-bottom: 10px; }
	.cp-related-players .grid:nth-child(2n) { margin-right: 0; }
	.cp-related-players .grid:nth-child(3n) { display: none; }
	
	/* hide */
	.mobile-sidebar-hide-s1 .s1,
	.mobile-sidebar-hide-s2 .s2,
	.mobile-sidebar-hide .sidebar { display: none; }
	
	/* base */
	.pad { padding: 15px 15px 5px; }
	.cp-player-title { margin: -15px -15px 30px; padding: 19px 15px; }
	.sidebar-top,
	.sidebar .widget { padding-left: 15px!important; padding-right: 15px!important; }
	.notebox { margin-bottom: 15px; }
	.gallery-caption { display: none; }
	
	/* header */
	.site-title a .site-name { font-size: 2.25em; }
	.site-banner { max-width: 100%; }

	.featured.flexslider .post-date { display: none; }

	/* match */
	.cp-match-centre h2 { float: none; }
	.cp-match-comp { float: none; display: block; }
	.cp-match-title { background-image: none !important; margin: 0; padding: 16px 20px 17px; }
	.cp-match-home-club,
	.cp-match-away-club { width: 100%; }
	.cp-match-meta { padding: 17px 20px; }
	.cp-match-referee { float: none; display:block; }
	.cp-match-home-club,
	.cp-match-away-club { font-size: 1.625em; }
	.cp-match-home-club { text-align: left; margin-bottom: 10px; }
	.cp-match-home-club span,
	.cp-match-away-club span { margin-top: 0; text-shadow: 0 0 0 #fdfdfd, 0 0 0 #fdfdfd, 0 0 0 #fdfdfd, 0 0 0 #fdfdfd; padding: 6px 10px 0 0;}
	.cp-home-score,
	.cp-away-score { float: right; font-size: 1.263em; height: 44px; margin-right: 0; min-width: 56px; padding-top: 5px; position: relative; }
	.cp-match-overtime { background-color: #ff4444; border: 1px solid #fdfdfd; color: #fff; font-size: 0.875em; font-weight: 600; height: 20px; width: 30px; top: 81px; left: 50%; line-height: 1.4; position: absolute; text-align: center; margin-left: -15px; margin-top: -10px; -webkit-border-radius: 2px; border-radius: 2px; }
	.cp-match-title-meta { float: left; }

	/* player */
	.cp-profile-image { float: none; width: 100%; text-align: center; }
	.cp-profile-meta { float: none; width: 100%; }

	/* blog */
	.format-link .post-format p { margin-bottom: 5px; }

	/* sharrre */
	.sharrre { width: 100px; }

	/* wpcm score summary */
	table.wpcm-ss-table {
		margin: 1em 0 0;
		float: left;
	}
	.wpcm-ss-halftime {
		text-align: right;
		margin: 10px 0 0;
	}

}

/* ------------------------------------------------------------------------- *
 *  High Res Images
/* ------------------------------------------------------------------------- */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {

	table.cp-table td.notes .greencard,
	table.cp-table td.notes .yellowcard,
	table.cp-table td.notes .blackcard,
	table.cp-table td.notes .redcard { display: inline-block; width: 12px; height: 18px; background: url(img/notes@2x.png) no-repeat; margin-left: 8px; text-indent: -100px;  background-size: 48px 18px; }
	table.cp-table td.notes .greencard { background-position: -48px 0px; }
	table.cp-table td.notes .yellowcard { background-position: 0px 0px; }
	table.cp-table td.notes .blackcard { background-position: -72px 0px; }
	table.cp-table td.notes .redcard { background-position: -24px 0px; }
}