/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/


@font-face {
    font-family: 'impactregular';
    src: url('/meme/fonts/impact-webfont.eot');
    src: url('/meme/fonts/impact-webfont.eot?#iefix') format('embedded-opentype'),
         url('/meme/fonts/impact-webfont.woff2') format('woff2'),
         url('/meme/fonts/impact-webfont.woff') format('woff'),
         url('/meme/fonts/impact-webfont.ttf') format('truetype'),
         url('/meme/fonts/impact-webfont.svg#impactregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:100%;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#337ab7;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

.btn-fb {
    background: #3b5998 none repeat scroll 0 0 !important;
    color: white;
}
.btn-fb:hover {
    background: #2b4988 none repeat scroll 0 0 !important;
    color: white;
}
.btn-twitter {
    background: #55acee none repeat scroll 0 0 !important;
    color: white;
}
.btn-twitter:hover {
    background: #459cde none repeat scroll 0 0 !important;
    color: white !important;
}
.btn-reddit {
	background:#ff4500 !important;
	color:white;
}
.btn-reddit:hover {
	background:#ef3500 !important;
}

.ul {
	padding:0;
	margin:0 0 5px;
}
.ul li {
    display: inline-block;
}

h1,h2,h3,h4,h5,h6 {
	color:#222;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

body > .container {
    margin: 0 auto 1.5rem;
}

.navbar { border-radius:0 !important; margin:0 0 20px !important; }
.navbar-brand {
    max-width: 220px;
    padding: 8px;
    margin-right:5px;
    margin-left: 0 !important;
}

.btn {
	border-radius:0 !important;
}


.header-advert {
    background: white none repeat scroll 0 0;
    border-bottom: 1px solid #d1d1d3;
    padding: 15px 0 15px;
    margin:0 0 20px;
}
.navbar {
	margin-bottom:0;
}

#twitter-widget-0 {
	max-height:400px;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/
#canvas { position:relative; }



.type-meme-generator h2, .type-meme-generator strong {
    border-bottom: 1px solid #c1c1c3;
    font-size: 16px;
    line-height: 1;
    margin: 0 0 8px;
    padding: 0 0 8px;
    display:block;
}
.type-meme-generator h2 a, .type-meme-generator strong a{
	color:#222;
}
.type-meme-generator .inner {
  
}
.block-title {
    background: #e4e4e4;
    color: #222;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin: 0 0 10px;
    padding: 10px;
    text-transform: uppercase;
}
.block-title a {
    color:#222;
}
.most-popular {
    margin: 0 0 20px;
}
.drop-box {
    margin: 0 0;
}

.please-wait {
    background: rgba(255, 255, 255, 0.95) none repeat scroll 0 0;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    border-radius:5px 5px 0 0;
    display:none;
}
.please-wait > span {
    background: #222 none repeat scroll 0 0;
    border: 5px solid white;
    color: white;
    left: 50%;
    margin-left: -100px;
    margin-top: -38px;
    padding: 15px;
    position: absolute;
    top: 50%;
    width: 200px;
}


.recent-block > .row {
    font-size: 0;
    text-align: justify;
    margin:0 -2.5px;
}

.recent-block > .row > div.type-user-submitted-memes, 
.recent-block > .row > article.type-user-submitted-memes,
.infinite-wrap div.type-user-submitted-memes,
.infinite-wrap  article.type-user-submitted-memes {
    display: inline-block;
    float: none;
    font-size: 16px;
    padding: 0 2.5px;
    vertical-align: top;
}

aside h3, aside h5 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
}
aside h3 {
    background: #222 none repeat scroll 0 0;
    color: white;
    font-size: 14px;
    line-height: 40px;
    margin: 0;
    padding: 0 14px;
}
.wpp-post-title {
    display: block;
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 5px;
    color:#222;
}
.wpp-views {
    display: block;
    margin: 0 0 10px;
}
.wpp-list li {
    margin:0 0 10px;
}
.wpp-list li:last-of-type { margin:0; }
.widget_text { margin:0 0 15px; }
.wpp-list .btn {
    display: block;
    margin: 5px 0 0;
    overflow: hidden;
    width: 100%;
}
.wpp-list a:first-child {
    float: left;
    margin: 0 5px 10px 0;
}
.wpp-list {
    background: white none repeat scroll 0 0;
    border: 1px solid #d1d1d3;
    padding: 15px;
}

.single-meme-generator .recent-block .share-bar, .single-user-submitted-memes .recent-block .share-bar { display:none; }
.single-meme-generator .recent-block .vote, .single-user-submitted-memes .recent-block .vote {margin:0; }

#blogs .type-post {
  margin-bottom: 30px
}
#blogs .type-post h2 { margin-top:0; }

.type-post h1 { margin-top:0; margin-bottom:25px; }

/*------------------------------------*\
   canvas
\*------------------------------------*/
#canvas {
    background: white none repeat scroll 0 0;
    border: 1px solid #d1d1d3;
    border-radius: 0 0 0 0;
    margin: 0;
    text-align:center;
     padding: 15px;
}
.single .well {
    border-color: #d1d1d3;
    border-radius: 0 0 5px 5px;
    border-top:none;
}

.well_top {
    border-color: #d1d1d3;
    border-radius: 5px 5px 0px 0px;
    border-bottom:none;
}

.well_top {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
    margin-bottom: 0px;
    min-height: 20px;
    padding: 19px;
}

.well .form-group { margin:0; }
.well_top .form-group { margin:0; }

.meme-title {
    color: #222;
    font-size: 29px;
    font-weight: bold;
    margin: 0 0 10px;
}
.top > p {
	font-size:16px;
}
.top > p:last-child {
    margin: 0 0 20px;
}
/*------------------------------------*\
	meme page
\*------------------------------------*/

.meme-category-list {
    margin: 15px 0;
}
.meme-category-list > ul {
    display: inline-block;
    list-style: outside none none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    vertical-align: top;
}
.meme-category-list li {
    display: inline-block;
    margin: 0 1px 1px 0;
}
.meme-category-list strong {
    background: #222 none repeat scroll 0 0;
    color: white;
    display: inline-block;
    font-weight: normal;
    padding: 3px 8px;
    margin:0 0 10px;
}
.meme-category-list a {
    background: #337ab7;
    color: white;

    padding: 5px 8px;
}
.meme-category-list a:hover {
    background: #666;
    text-decoration: none;
}
.meme-category-list > strong, .meme-category-list ul {
    font-size: 13px !important;
    line-height: 27px;
    padding: 0 10px !important;
}
.meme-category-list ul  {
	padding:0 !important;
}
.page-title {
    color: #222;
    font-size: 35px;
    font-weight: bold;
    line-height: 1;
    margin: 5px 0 22px;
}
.page-title > a {
    color: #222;
}

nav p {
    display: none;
}
nav .social_connect_form {
    margin: 9px 0 0 20px !important;
}
.archive .type-meme-generator {
    margin: 0 0 20px;
}
.archive .share-bar > li {
    display: inline-block;
    font-size: 14px;
    line-height: 28px;
    padding: 0;
    text-align: center;
    vertical-align: top;
    width: 25%;
}

/*------------------------------------*\
	adverts
\*------------------------------------*/
.type-user-submitted-memes h4, .type-user-submitted-memes h3 {
    color: #222;
    font-size: 14px;
    line-height: 1.3;
    margin: 10px 0;
    text-transform: capitalize;
}
.type-user-submitted-memes h4 a, .type-user-submitted-memes h1 a, .type-user-submitted-memes h3 a{ color:#222; }

.type-user-submitted-memes h1 {
    display: inline-block;
    font-size: 21px;
    margin: 10px 14px 10px 0;
    text-transform: capitalize;
    vertical-align: middle;
    font-weight:bold;
}
.user-meme-frame {
    background: white none repeat scroll 0 0;
    border: 1px solid #d1d1d3;
    padding: 20px;
    text-align: center;
    margin:0 0 10px;
}

.share-bar {
	font-size:0;
	text-align:justify;
    margin:0;
}
.share-bar > li {
    display: inline-block;
    font-size: 16px;
    line-height: 50px;
    padding: 0;
    vertical-align: top;
    width: 25%;
}

.share-bar > li > a {
    background: #444 none repeat scroll 0 0 !important;
    border-right: 1px solid;
    color: white;
    display: block;
    padding: 0 20px;
    text-decoration: none;
}
.single-user-submitted-memes .advert.meme.bottom { margin:10px; }


/*------------------------------------*\
    misc
\*------------------------------------*/



.single .type-post {
    font-size: 16px;
    line-height: 1.55;
}
.sidebar .inner {
    background: white none repeat scroll 0 0;
    margin: 0 ;
    padding: 10px;
}
.sidebar .inner h5 {
	margin-top:0;
	font-size:18px;
}
.most-popular .wpp-list {
    display: block;
    margin: 0;
    overflow: hidden;
    padding: 0;
    margin:0 -7.5px;
}
.most-popular .wpp-list > li {
    clear: none;
    float: left !important;
    width: 20%;
    padding:0 7.5px;
}
.most-popular img {
	width:100%;
}
.most-popular  .wpp-post-title {
    color: #222;
    display: block;
    float: left;
    font-weight: 500;
    margin: 5px 0 0;
    width: 100%;
}
/*------------------------------------*\
    Uploader
\*------------------------------------*/
.drop-box {
    background: #f8f8f8 none repeat scroll 0 0;
    border: 5px dashed #ddd;
    height: 45px;
    line-height: 20px;
    margin-left: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}
#canvas.dragover {
    background: #f9f9fb none repeat scroll 0 0;
    border-color:#4172d9;

}
#canvas.dragover-err {
	border-color:red !important;
}
.drop-box.dragover {
    border: 5px dashed #4172d9;
}
.drop-box.dragover-err {
    border: 5px dashed red !important;
}
fieldset.well {
    border-radius: 0 0 5px 5px !important;
}
fieldset.well_top {
    border-radius: 5px 5px 0 0 !important;
}
.progress {
    border-radius: 0;
    margin: 0;
}

.type-meme-generator .inner img {

    width: 100%;
}

/* Votes */
.vote {
    text-align:justify;
    font-size:0;
    margin:0 0 5px;
}
.vote > li {
    display: inline-block;
    vertical-align: middle;
    width: 33.333%;
    font-size:14px;
    text-align:center;
}
.vote .count { padding:0 10px; font-weight:bold; }
.recent-block:not(.alt) .inner > a {
    display: block;
    margin: 0 0 5px;
}
.recent-block .row > div.type-user-submitted-memes, 
.recent-block .row > article.type-user-submitted-memes,
.infinite-wrap div.type-user-submitted-memes,
.infinite-wrap  article.type-user-submitted-memes {
    margin-bottom:5px;
}
.recent-block .inner {
    background: white none repeat scroll 0 0;
    padding: 10px;
}
.recent-block .inner:hover {
    box-shadow:0 0 1px 2px rgba(0,0,0,0.1);
}
.alt .type-meme-generator {
    margin: 0 0 5px;
    padding: 0 2.5px;
    display:inline-block;
    vertical-align: top;
}


.single .share-bar {
    margin: 0 0 10px;
}
.single .vote {
    margin: 0 0 15px;
}
.customize-btn {
    margin: 0 0 10px !important;
}
/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:996px) {
	.recent-block  strong { display:none; }
}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {
	.navbar-brand {
	    margin-left: -8px !important;
	}
	
}
@media only screen and (min-width:1140px) {

    /* .col-sm-9 {
        float: right;
    } */

}
@media only screen and (min-width:1200px) {
	#canvas { padding: 5px; }
	.col-sm-9 {
	    width: 804px;
	}
	.col-sm-3 {
	    width: 366px;
	}

}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

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

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
