/*
	Theme Name: Digital Palms
	Theme URI: http://dptechsupport.com
	Description: Custom WordPress theme for Digital Palms Technical Support
	Version: 1.0
	Author: Digital Palms (@digitalpalms)
	Author URI: http://dptechsupport.com
*/

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

/* Border-Box Sizing */
*, *:before, *:after {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}

/* Group / Clear-Fix Helper */
.group:after {content: ""; display: table; clear: both;}

/* WP Screenreader Fix */
label.screen-reader-text {display:none;}

body, h1, h2, h3, h4, h5, h6, ul, p {margin:0;}
body {background:#000 url("img/cactus.jpg") no-repeat scroll center top; background-size:100% auto; font-family:hammersmithoneregular, sans-serif;}
article {word-wrap:break-word;}
p {line-height:22px;}
a {color:#000;}
a:visited {text-decoration-color:orange;}
a:hover {text-decoration-color:red;}
h1 a, h1 a:hover, h2 a, h2 a:hover {color:#000;text-decoration:none;}
/*.entry-title {margin-bottom:-9px;}*/
img {max-width:100%;}
hr {background:#C0C0C0; border:none; height:1px; overflow:hidden; margin:10px 0;}
ul {padding:0 0 10px 20px;}
textarea {width:100%;}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

#container {background-color:#fff;; margin:0 auto; border-left:1px solid #000; border-right:1px solid #000; padding:10px; width:640px;}

/* Sidebar */
aside {border-right:1px solid #C0C0C0; display:block; float:left; margin-bottom:10px; padding-right:10px; width:198px;}
aside img {display:block; margin-bottom:10px;}

aside .search {border-top:1px solid #C0C0C0;position:relative;padding:10px 0;}
aside .search-input {height:25px;border:1px solid #000;padding:0 10px;width:141px;}
aside .search-submit {position:absolute; right:0; width:27px; height:27px; background:url("img/search.png") no-repeat scroll center center #000; border:none; padding:0; cursor:pointer;}

aside nav ul {list-style:none; padding:0;}
aside nav ul li {position:relative;}
aside nav ul:first-child {list-style:none; padding:0 0 10px 0;}
aside nav ul .menu-item a {border-bottom:1px solid #C0C0C0; color:#000; display:inline-block; min-height:50px; line-height:50px; padding-left: 10px; text-align:left; text-decoration:none; width:100%;}
aside nav ul .menu-item a:hover {color:#000; text-decoration:none;}
aside nav ul .menu-item:first-child a {border-top:1px solid #C0C0C0;}
aside nav ul .menu-item a:hover,
	aside nav ul .menu-item.current-post-ancestor a,
	aside nav ul .menu-item.current-menu-item a {background-color:#dadada;}
aside nav ul .menu-item a:hover:after,
	aside nav ul .menu-item.current-post-ancestor a:after,
	aside nav ul .menu-item.current-menu-item a:after {font-family:FontAwesome; position:absolute; right:10px; content:"\f0a9";}

aside nav .sub-menu {display:none;}
aside nav .sub-menu .menu-item {margin:0 0 0 10px;}
aside nav .sub-menu .menu-item:first-child a {border-top:none;}

aside .sidebar-widget li {line-height:22px;}

/* Default Foramtting */
main {border-left:1px solid #C0C0C0; display:block; float:right; left:-1px; margin-bottom:10px; min-height:579px; padding-left:9px; position:relative; width:420px;}
main > * {position:relative; right:-1px;}
main h5 {line-height:26px; position:absolute; right:10px; top:10px;}
main article div.author {font-size:0.8em; text-align:right;}
main article li {line-height:22px;}

.gallery dl {margin:0 !important;}
.gallery a {padding:0 !important;}
.gallery img {border:none !important; height:100%;}


.comments .form-submit {padding-bottom:0;}

.pagination {text-align:center;}

/* Footer */
footer {border-top:1px solid #C0C0C0; clear:both; padding-top:10px; text-align:center;}
footer #scroller {font-size:0; margin:0 auto;}
footer #scroller a {margin:0 5px;}
footer #scroller img {background-color:#fff; border-radius:50%; box-sizing:border-box; height:75px; width:75px;}
footer #counter {font-size:0.8em; text-align:center;}
footer #antipixels {font-size:0;}
footer #antipixels img {margin:5px 5px 0;}

/* Home / Archive / Search Results */
.home main article,
	.archive main article,
	.search-results main article {background-color:#FCA905; margin-bottom:10px; min-height:202px; padding:10px;}
.home main article:nth-child(even),
	.archive main article:nth-child(even),
	.search-results main article:nth-child(even) {background-color:#D6530D;}
.home main article h2,
	.archive main article h2,
	.search-results main article h2 {width:247px;}
.home main article.has-post-thumbnail img,
	.archive main article.has-post-thumbnail img,
	.search-results main article.has-post-thumbnail img {float:left; margin-right:10px; width:150px; height:150px; object-fit:cover;}
.home main article:nth-child(even).has-post-thumbnail img,
	.archive main article:nth-child(even).has-post-thumbnail img,
	.search-results main article:nth-child(even).has-post-thumbnail img {float:right; margin-right:0; margin-left:10px; width:150px; height:150px; object-fit:cover;}
.home main article .view-article,
	.archive main article .view-article,
	.search-results main article .view-article {color:#D6530D; display:block;}
.home main article:nth-child(even) .view-article,
	.archive main article:nth-child(even) .view-article,
	.search-results main article:nth-child(even) .view-article {color:#FCA905; display:block;}
.home main article hr,
	.archive main article hr,
	.search-results main article hr {background:#D6530D;}
.home main article:nth-child(even) hr,
	.archive main article:nth-child(even) hr,
	.search-results main article:nth-child(even) hr {background:#FCA905;}
	


/* Single Post / Page */
.single main article h2 {width:247px;}
.page main article h2 {width:275px;}
.single main article h5 {right:0; top:0;}
.page main article hr {margin-top:0;padding:0;}
.single main article p,
	.page main article > * {padding-bottom:10px;}
.single main article p:last-of-type,
	.page main article p:last-of-type {padding-bottom:0; margin-bottom:10px;}
.single main article a[href$=".jpg"],
	.single main article a[href$=".jpeg"],
	.single main article a[href$=".png"],
	.single main article a[href$=".gif"],
	.page main article a[href$=".jpg"],
	.page main article a[href$=".jpeg"],
	.page main article a[href$=".png"],
	.page main article a[href$=".gif"] {display:block; font-size:0; line-height:0; padding-bottom:0;}
.single main article p:last-of-type a:last-of-type,
	.page main article p:last-of-type a:last-of-type {padding-bottom:0;}

/* Secret Santa */
.secret-santa main article > * {padding:0;}

/* Carryover from HTML5Blank. Wordpress Core */
.aligncenter, div.aligncenter {display:block; margin:10px auto;}
.alignright {float:right; margin:0 0 0 10px;}
.alignleft {float:left; margin:0 10px 0 0;}
.aligncenter {display:block; margin:0 auto 0 auto;}
a img.alignright {float:right; margin:0 0 0 10px;}
a img.alignleft {float:left; margin:0 10px 0 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;}

