/*
Theme Name: unsleepable
Theme URI:  http://openswitch.org/unsleepable
Description: A modern, minimalist blog theme designed and coded by <a href="http://openswitch.org">Ben Gray</a>.
Version: 2.1
Author: Ben Gray
Author http://openswitch.org
Tags: white, black, silver, pink, gray, two-columns, fat-footer, fixed-width, right-sidebar

	All elements of this theme are protected by the GPLv3:
	http://www.opensource.org/licenses/gpl-3.0.html
*/

/* ---- Reset ---- */

@import url('reset.css');


/* ---- Unsleepable Style Following ---- */

.clearer {

   clear: both; 

}



a {

    color: #DA1071;

    text-decoration: none;

}



a:hover {

    text-decoration: underline;

}



body {

    background-color: #ccc;
    background-image: url('images/body-bg.gif');
    background-position: top left;
    background-repeat: repeat-x;

    font-family: 'Trebuchet MS';

    font-size: 12px;

}



#wrapper {

    width: 875px;

    margin: 0 auto;

}



#header {

    border-left: 1px solid #555;

    height: 100px;

    width: 875px;

}



h1 {

    float: left;

    width: 270px;

    font-size: 12px;

    border-right: 1px solid #555;

    text-indent: -9999px;

}



h1 a {

    display: block;

    width: 250px;

    height: 50px;

    line-height: 50px;

    padding: 50px 20px 0px 0px;

    background-image: url('http://cdn1.mywebcache.com/wp-content/uploads/mywebcache.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 188px 95px;

}



h1 a:hover {

    background-color: #000;

}



#menu {

    list-style-type: none;

    font-family: 'Lucida Grande', Verdana, Arial, sans-serif;

    font-size: 11px;

}



#menu li {

    float: left;

    text-transform: lowercase;

    width: 7em;

    border-right: 1px solid #555;

}



#menu a {

    color: #fff;

    text-decoration: none;

    display: block;

    height: 50px;

    width: 7em;

    line-height: 50px;

    padding: 50px 0 0;

    text-align: center;

}



#menu a:hover, .current_page_item {

    background: #0D78B6;

}



#container {

    background: #fff;

    clear: both;

    padding: 30px 20px;

    color: #333;

}



#content, #comments-list {

    line-height: 1.5em;

    width: 600px;

    float: left;

    font-size: 13px;

}



/* ---- Begin Post Styling ---- */



.post, .page {

    margin: 0 0 35px 0

}



.post p, #comments-list ol li p, .page p {

    margin: 0 0 1em 0;

}



.editlink {

    float: right;

    padding: 0 0 5px 5px;

}



h2.entry-title, h3.entry-title {

    display: inline;

    line-height: 1em;

}



h2.entry-title, h2.entry-title a, .page h2, h2.search, h2.archive {

    font-family: Helvetica, Arial, sans-serif;

    font-size: 23px;

    font-weight: bold;

    letter-spacing: -1px;

    color: #555;

    text-transform: lowercase;

}



h2 a:hover {

    color: #DA1071;

    text-decoration: none;

}



span.entry-date {

    margin: 0 0 0 3px;

    padding: 0;

    color: #ccc;

    font-family: Helvetica, Arial, Sans-Serif;

    letter-spacing: -1px;

    font-weight: bold;

    font-size: 23px;

    text-transform: lowercase;

    display: inline;

}



.entry-content {

    margin: 10px 0 2px 0;

    padding: 0 0 5px 0;

    background-image: url('images/break.gif');
    background-position: bottom left;
    background-repeat: repeat-x;

}



.entry-content h3 {

    font-size: 15px;

    display: block;

    font-weight: bold;

    font-family: Helvetica, Arial, Sans-Serif;

    color: #555;

}



.entry-content h4 {

    font-size: 15px;

    display: block;

    font-weight: normal;

    font-family: Helvetica, Arial, Sans-serif;

    color: #555;

}



.entry-content ul {

    padding: 0 0 0 10px;

    margin: 0 0 1em 0;

}



.entry-content ul li {

    background-image: url('images/bullet_black.png');
    background-position: 0 2px;
    background-repeat: no-repeat;

    padding: 0 0 0 17px;

}



.entry-content ol {

    list-style: decimal;

    margin: 0 0 1em 15px;

}



.entry-meta {

    color: #bbb;

    font-size: 11px;

    font-family: 'Lucida Grande', Verdana, Arial, sans-serif;

}



.entry-meta a {

    color: #666;

}



.entry-meta a:hover {

    color: #DA1071;

}



span.sep {

    padding: 0 2px 0;

}



.categories {

    background-image: url('images/page_white.png');
    background-position: left;
    background-repeat: no-repeat;

    padding: 2px 0 2px 20px;

}



.tags {

    background-image: url('images/tag_blue.png');
    background-position: left;
    background-repeat:  no-repeat;

    padding: 2px 0 2px 20px;

}



a.comments-link {

    background-image: url('images/comment.png');
    background-position: left;
    background-repeat: no-repeat;

    padding: 2px 0 2px 20px;

}



/* ---- Begin Sidebar Styling ---- */

#searchform .hidden {

    font-family: Helvetica, Arial, Sans-Serif;

    font-size: 16px;

    font-weight: bold;

    display: block;

    color: #555;

    margin: 0 0 10px 0;

    padding: 0;

    letter-spacing: -1px;

    text-transform: lowercase;

}



#sidebar {

    width: 200px;

    float: right;

    color: #666;

    line-height: 1.3em;

}



#sidebar a {

    color: #333;

}



#sidebar a:hover {

     color: #DA1071;

}



#sidebar h2, #sidebar h2 a {

    font-family: Helvetica, Arial, Sans-Serif;

    font-size: 16px;

    font-weight: bold;

    display: block;

    color: #555;

    margin: 0 0 10px 0;

    padding: 0;

    letter-spacing: -1px;

    text-transform: lowercase;

}



#sidebar h2 a:hover {

    color: #DA1074;

}



#sidebar ul li.widget {

    margin: 0 0 20px 0;

}



#sidebar ul li ul li {

    margin: 0 0 5px 0;

}



/* ---- Special Styling For The Stupid Calendar ---- */

#calendar_wrap {

    margin: -20px 0 20px 0;

}



#wp-calendar caption {

    font-family: Helvetica, Arial, Sans-Serif;

    font-size: 16px;

    font-weight: bold;

    color: #555;

    letter-spacing: -1px;

    text-transform: lowercase;

    width: 200px;

}



#wp-calendar {

    color: #666;

}



#wp-calendar a {

    color: #DA1074;

}



#wp-calendar td, #wp-calendar thead tr th{

    padding: 5px;

    border: 1px solid #fff;

}



#wp-calendar #today {

    border: 1px solid #ddd;

}



/* ---- Begin Footer Styling ---- */



#subfooter {

    clear: both;

    width: 835px;

    background: #fff url('images/subfooter-bg.jpg') top repeat-x;

    font-size: 13px;

    line-height: 1.3em;

    padding: 20px;

    color: #333;

}



#subfooter p {

    margin: 0 0 1em 0;

}



#subfooter h2, #subfooter h2 a {

    font-family: Helvetica, Arial, Sans-Serif;

    font-size: 16px;

    font-weight: bold;

    display: block;

    color: #555;

    margin: 0 0 10px 0;

    padding: 0;

    letter-spacing: -1px;

    text-transform: lowercase;

}



#subfooter .widget {

    width: 230px;

    float: left;

}



#subfooter .center {

    margin: 0 22px 0;

}



#subfooter ul li ul li{

    margin: 0 0 5px 0;

}



#shoe {

    clear: both;

    background: #333;

    height: 100px;

}



#foot {

    width: 875px;

    margin: 0 auto;

    color: #fff;

    font-family: 'Lucida Grande', Verdana, Arial, sans-serif;

    font-size: 10px;

}



.left-foot {

    float: left;

    padding: 25px 0 0 20px;

}



.right-foot {

    float: right;

    padding: 25px 20px 0 0;

}



span.openswitch a {

    float: left;

    display: block;

    width: 16px;

    height: 17px;

    background-image: url('images/openswitch.gif');
    background-repeat: no-repeat;
    background-position: center center;

    text-indent: -9999px;

    margin: 0 0 0 10px;

}


.floating-box {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin: 5px;
}


/* ---- Begin Comment Styling ---- */

#comments-list {

    margin: 25px 0 0 0;

}



h3#comments {

    font-family: 'Trebuchet MS';

    font-size: 22px;

    line-height: 1em;

}



#comments-list ol {

    margin: 25px 0;

}



#comments-list ol li {

    margin: 0 0 10px 0;

    padding: 10px;

}



#comments-list ol li.odd {

    background: #f7f7f7;

}



#comments-list ol li.bypostauthor {

    border: 1px solid #666;

}



.avatar {

    float: right;

    border: 1px solid #ccc;

    padding: 1px;

    margin: 5px 0 5px 5px;

}



.comment-meta {

    margin: 0 0 10px 0;

}



#respond h3 {

    font-family: 'Trebuchet MS';

    font-size: 22px;

    line-height: 1em;

    margin: 0 0 25px 0;

}



#commentform p {

    margin: 0 0 8px 0;

}



#commentform input, #commentform textarea{

    font-size: 13px;

    font-family: 'Trebuchet MS', sans-serif;

    padding: 2px;

}



textarea#comment {

    width: 385px;

    height: 200px;

    background: transparent url('images/comment-textarea.png') center no-repeat;

}



/* ---- Default Page Styling ---- */

.page .entry-content {

    background: none;

}



/* ---- Archives Page Styling ---- */

.page h2, h2.search, h2.archive {

    width: 600px;

    text-align: center;

    padding: 0 0 5px 0;

}



.page ul li {

    background: none;

}



/* ---- Search Page Styling ---- */



h3.entry-title, h3.entry-title a {

    font-family: Helvetica, Arial, sans-serif;

    font-size: 18px;

    font-weight: bold;

    letter-spacing: -1px;

    color: #555;

    text-transform: lowercase;

    display: inline;

    line-height: 1em;

}



h3.entry-title a:hover {

    color: #DA1071;

}



.search-results .entry-content {

    background: none;

}



.search-entry-date, .archive-entry-date {

    margin: 0 0 0 3px;

    padding: 0;

    color: #ccc;

    font-family: Helvetica, Arial, Sans-Serif;

    letter-spacing: -1px;

    font-weight: bold;

    font-size: 18px;

    text-transform: lowercase;

    display: inline;

}



h2.search, h2.archive {

    padding: 0 0 25px 0;

}



/* ---- Misc Styling ---- */

code {

    font: 1.3em 'Courier New', Courier, Fixed;

    display:block; 

    overflow:auto; 

    text-align:left; 

    background:#efefef; 

    border:1px solid #A6B0BF; 

}



blockquote {

    margin: 20px 0;

    padding: 0 20px 0 50px;

    background: transparent url('images/quote.png') 5% 0% no-repeat;

    font-size: 14px;

    font-family: Georgia, Times, serif;

    color: #666;

    font-style: italic;

}



em {

    font-style: italic;

}



strong {

    font-weight: bold;

}



img.alignleft {

    padding: 1px;

    border: 1px solid #bbb;

    float: left;

    clear: left;

    margin: 0.5em 15px 0.5em 0;

}



img.alignright {

    padding: 1px;

    border: 1px solid #bbb;

    float: right;

    clear: right;

    margin: 0.5em 0 0.5em 15px;

}



img.aligncenter {

    padding: 1px;

    border: 1px solid #bbb;

    margin: 0 auto 1.5em auto;

    float: none; 

    clear: both;

}



div.previous {

    float: left;

}



div.next {

    float: right;

}



.entry-content img {

    max-width: 95%;

    height: inherit;

}

/* cr33 - responsive */

.page h2, h2.search, h2.archive, textarea#comment, #comments-list, #foot, 
#header, #content, #wrapper { max-width: 100%; }

object { max-width: 100% !important; }

#subfooter, #header {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	width: auto;
}

/*
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target {
	background: #0D78B6 !important;
}
*/

.mob-menu { display: none; }
	
#subfooter .widget { width: 30%; }

@media screen and (max-width: 854px) {
	
	#sidebar { 
		float: left; 
		width: 100%;
		background: #fff url('images/subfooter-bg.jpg') top repeat-x;
		margin: 0 -20px;
		width: 100%;
		padding: 30px 20px;
	}

	#sidebar .widget {
		width: 50%;
		float: left;
	}

	#sidebar .widget-first {
	}

	#sidebar .widget-2 {
		clear: both;
	}

	#sidebar ul li.widget-last {
		margin-top: -66px;
	}


}

@media print {
	#sidebar { display: none; }
	#wprmenu_bar { display: none; }
	#wprmenu_menu { display: none; }
	#wprmenu { display: none; }
	
	body { background-color: #fff; }
}

@media print and (color) {
   * {
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
     }
}

@media screen and (max-width: 559px) {
	
	#subfooter .widget { 
		margin: 0 0 12px 0; 
		padding: 10px;
	}

}


@media screen and (max-width: 599px) {

	.desktop { display: none; }
	
	html body { 
		background-color: #333333; 
		position: static !important;
	}

	.page, .post, #sidebar { font-size: 14px; }

	.entry-meta a { 
		padding-right: 4px; 
		line-height: 2em;
	}

	#sidebar {
	}

	#sidebar .widget { width: 100%; }

	#sidebar ul li.widget-last {
		margin-top: 0;
	}

	#sidebar ul li ul li,
	#subfooter ul li ul li {
		  margin: 0 0 14px 0;
	}

	#subfooter .center { margin: 0; }

	#subfooter .widget { width: 100%; }

	ul.tweets em { 
		display: none; 
	}
	#header { display: none; }

	#wprmenu_bar { 
		min-height: 100px;
		padding-top: 0 !important;
		position: absolute !important;
	 }

	.menu_title {
		text-align: center !important;
	}

	.menu_title .bar_logo { 
		height: 100px !important;
		padding-right: 0px !important;
	}
	
	#wprmenu_bar .wprmenu_icon {
		margin-top: 34px;
		height: 24px !important;
		width: 30px !important;
	}

	#wprmenu_bar .wprmenu_icon span {
		width: 30px !important;
	}

	#wprmenu_bar .wprmenu_ic_2 { top: 10px !important; }

	#wprmenu_bar .wprmenu_ic_3 { top: 20px !important; }

	#wrapper { padding-top: 38px; }

	#wprmenu_menu.top {
		position: absolute !important;
		top: 100px !important;
		background-color: rgba( 0, 0, 0, 0.75 ) !important;
	}

	.current_page_item { background: rgba( 0, 0, 0, 0.5 ); }
/*	
	#wprmenu_menu.wprmenu_levels ul li {
		width: 20% !important;
		float: left;
	}
*/
	#wprmenu_menu.wprmenu_levels ul li a {
		text-align: center;
		text-transform: lowercase;
	}

	#wprmenu_menu.wprmenu_levels ul li a:hover {
		color: #DA1071;
	}

	#wprmenu_menu .wpr_search { 
		/* margin-top: 40px; */
		padding: 20px !important;
	}
		
/*
	.mob-menu {
		display: block;
		position: relative;
		padding-left: 1.25em;
	}

	.mob-menu:before {
		content: "";
		position: absolute;
		left: 0;
		top: 0.25em;
		width: 1em;
		height: 0.15em;
		background: black;
		box-shadow: 
		0 0.25em 0 0 white,
		0 0.5em 0 0 white,
		0 0.75em 0 0 white;
	}
*/
}

@media all and (max-width: 5200px) {

	.content .one{
		display: block;
	}

	.content .two{
		display: none;
	}
}

@media all and (max-width: 400px) {

	.content .one{
		display: none;
	}

	.content .two{
		display: block;
		float: right;
		margin: 20px 10px 0 0;
	}
}
