/* ====================================================
 * Company: Unity Technologies
 * Author:  Rickard Andersson, rickard@unity3d.com
======================================================= */

/****************************************
  ==== LAYOUT
****************************************/

.background { height: 110px !important; }
.background:after { content:''; width: 200%; height: 2000px; position: absolute; display: block; bottom: -128px; left: 50%; z-index: -1; margin: 0 0 0 -100%; background: #f0f0f0; -webkit-transform: rotate(15deg); -moz-transform: rotate(15deg); -ms-transform: rotate(15deg); transform: rotate(15deg); }
.main-column { width: 100%; margin: 0 -360px 0 0; position: relative; }
.main-content { margin: 0 360px 0 0; }
.main-content:before { content: ''; display: block; width: 1px; height: auto; background: #e6e6e6; position: absolute; top: 0; bottom: 0; right: -31px; }
.sidebar-column { width: 340px; }
.sidebar-column:after { content: ''; display: block; width: 1px; height: auto; background: #e6e6e6; position: absolute; top: 0; bottom: 0; left: 10px; }

/****************************************
  ==== BLOG STYLES
****************************************/

footer .language-switcher .active, .mobile-menu .language-switcher .active { display: none; }
.social-buttons { list-style: none; }
.social-buttons li { float: left; margin: 0 15px 0 0; }
.social-buttons li:last-child { margin: 0; }
.social-buttons iframe { max-width: none; }
.category-header .rss-icon { width: 26px; height: 26px; margin: 9px 0 0 0; }
.category-header .rss-icon a { width: 26px; height: 26px; display: block; background: #ff7f33 url(../images/blog-sprites.png) 6px -33px no-repeat; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.post-author a { color: #455463; }
.post-comments a { display: block; font-family: 'avalon'; text-transform: uppercase; padding: 0 0 0 23px; background: url(../images/blog-sprites.png) 0 -77px no-repeat; }
.m-excerpt { display: none; }


/****************************************
  ==== SIDEBAR
****************************************/

.sidebar-column .widget { margin: 0 0 40px 0; }
.sidebar-column .search input.submit { width: 36px; height: 36px; border: 0; color: #fff; font-size: 0.6875em; position: absolute; top: 3px; right: 3px; cursor: pointer; text-indent: -9999em; background: url(../images/blog-sprites.png) 9px 9px no-repeat; }
.sidebar-column .categories .category .name { height: 40px; line-height: 40px; display: block; border-bottom: #e6e6e6 1px solid; text-decoration: none; }
.sidebar-column .categories .category .name:hover {  text-decoration: underline; }

.sidebar-column .categories .rssicon { width: 40px; height: 40px; position: absolute; top: 0; right: 0; }
.sidebar-column .categories .rssicon a { width: 40px; height: 40px; display: block; background: url(../images/blog-sprites.png) -66px -26px no-repeat; }

.sidebar-column .widget .post { min-height: 50px; }
.sidebar-column .widget .post img { width: 50px; height: 50px; position: absolute; top: 0px; left: 0; }
.sidebar-column .widget .post p, .sidebar-column .widget .post small { padding-left: 65px; }
.sidebar-column .widget .post p { font-size: 0.875em; line-height: 1.3em; }

/****************************************
  ==== FULL POST
****************************************/

div.post-header-image { width: 100%; height: 200px; background: 50% 50% no-repeat; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
div.post-full div.content h1 { margin: 30px 0 20px 0; font-size: 2.25em; }
div.post-full div.content h2 { margin: 30px 0 20px 0; }
div.post-full div.content h3 { margin: 30px 0 15px 0; }
div.post-full div.content h4 { margin: 30px 0 10px 0; }
div.post-full div.content ul { list-style-type: none; margin: 0 0 15px 0; }
div.post-full div.content ul { list-style-type: none; margin: 0 0 15px 0; }
div.post-full div.content ul li { padding: 0 0 4px 20px; background: none; position: relative; font-size: 0.9375em; } 
div.post-full div.content ul li:before { content: "\2022"; font-size: 1.75em; position: absolute; top: 1px; left: 0; color: #455463; }
div.post-full div.content ul ul { list-style-type: none; padding: 6px 0 0 0; }
div.post-full div.content ul ul li { font-size: 1em; }
div.post-full div.content ol { padding: 0 0 0 23px; margin: 0 0 15px 0; list-style-type: decimal; }
div.post-full div.content ol li { padding: 0 0 4px 0; font-size: 0.9375em; }
div.post-full div.content ol li ol { padding: 6px 0 0 23px; margin: 0; }
div.post-full div.content ol li ol li {font-size: 1em !important;}
div.post-full div.content ol.roman { list-style-type: lower-roman; }
div.post-full div.content ol.alpha { list-style-type:lower-alpha; }
div.post-full div.content ol ul { list-style-type: none; padding: 6px 0 0 0; margin: 0; }
div.post-full div.content ol ul li { padding: 0 0 4px 20px; background: none; position: relative; font-size: 0.9375em; } 
div.post-full div.content ol ul li:before { content: "\2022"; font-size: 2.125em; position: absolute; top: 0; left: 0; color: #455463; }
div.post-full div.content ul ol { padding: 6px 0 0 23px; margin: 0; }
div.post-full div.content ul ol li { padding: 0 0 4px 0; }
div.post-full div.content ul ol li:before { display: none; }
div.post-full div.content iframe { margin: 0 0 20px 0; }
div.post-full div.content strong { font-weight: bold; }
div.post-full div.content .alignleft { float: left; }
div.post-full div.content .alignright { float: right; }
div.post-full div.content img.alignright { margin: 0 0 20px 20px !important; }
div.post-full div.content img.alignleft { margin: 0 20px 20px 0 !important; }
div.post-full div.content img.alignnone, div.post-full div.content img.size-full { margin: 0 0 20px 0; }
div.post-full div.content img.aligncenter  { margin: 20px auto 20px auto; }
div.post-full div.content pre { padding: 10px; margin: 0 0 15px 0; background: #f0f0f0; overflow: auto; font-size: 0.8125em; }
div.post-full div.wp-caption { width: auto !important; margin: 0 0 30px 0; }
div.post-full div.wp-caption p.wp-caption-text { font-size: 0.9375em; color: #99a0a7; }
div.post-full div.wp-caption img { margin: 0 0 10px 0 !important; }
div.post-full div.content div.post-gallery { margin: 0 0 20px 0; }
div.post-full div.content div.post-gallery a { width: 20%; float: left; display: block; padding: 0 1px 1px 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.related-post img { width: 60px; height: 60px; position: absolute; top: 0; left: 0; }
.related-post p { padding-left: 75px; }
img.wp-smiley { display: inline-block; }

/****************************************
  ==== COMMENTS
****************************************/

/* Nested styling */
.comments ol { padding: 0; }
.comments ol li { width: 100%; display: block; float: left; padding: 0 0 15px 0; margin: 15px 0; border-bottom: #e6e6e6 1px solid; }
.comments ol li div.avatar { width: 60px; height: 60px; position: absolute; top: 0px; left: 0px; -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3); -moz-box-shadow: 0 0 10px rgba(0,0,0,0.3); box-shadow: 0 0 10px rgba(0,0,0,0.3); }
.comments ol li div.body { padding: 0 0 0 80px; }
.comments ol li ol { padding: 0 0 0 80px; }
.comments ol li ol li { padding: 0 0 0px 0; margin: 15px 0 0 0; border: 0; }
.comments ol li ol div.avatar { width: 40px; height: 40px; }
.comments ol li ol div.body { padding: 0 0 0 60px; }
.comments ol li ol li ol { padding: 0 0 0 60px; }

/* Basic styling */
.comments img.avatar { width: auto; height: auto; }
.comments .body .date, .comments .body .edit, .comments .body .reply { line-height: 20px; }
.comments .body .edit a, .comments .body .text a { color: #455463; }
.comments p.edit { position: absolute; top: 0; right: 0; }


/* Unity comment */
.comments .byuser { border: 0; padding: 0; }
.comments ol .byuser > div.comment:first-child { background: #b9f5e7; padding: 15px 15px 10px 15px; }
.comments ol .byuser > div.comment:first-child div.avatar { top: 15px; left: 15px; }
.comments .byuser > div.comment:first-child div.avatar { background: url(../images/blog-sprites.png) 0 -140px no-repeat; }
.comments .parent .byuser > div.comment:first-child div.avatar { background: url(../images/blog-sprites.png) -60px -140px no-repeat; }
.comments .byuser > div.comment:first-child div.avatar img { display: none; }
.comments ol li ol .byuser > div.comment:first-child { background: #b9f5e7; padding: 10px 10px 5px 10px; }
.comments ol li ol .byuser > div.comment:first-child div.avatar { top: 10px; left: 10px; }

/* Respond */
.comment-respond input[type="submit"] { height: 42px; line-height: 42px; display: block; float: left; padding: 0 20px 4px 20px; background-color: #222c37; color: #fff; font-size: 0.8125em; text-align: center; cursor: pointer; text-decoration: none; border: 0; font-family: 'avalonbold'; text-transform: uppercase; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
#cancel-comment-reply-link { display: none; }
.comments h2 { line-height: 26px; }
.comments .rssicon { width: 26px; height: 26px; margin: 3px 0 0 0; }
.comments .rssicon a { width: 26px; height: 26px; display: block; background: #ff7f33 url(../images/blog-sprites.png) 6px -33px no-repeat; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }

/****************************************
  ==== MEDIA QUERIES
****************************************/

@media only screen and (min-width: 768px) and (max-width: 980px){

.background { height: 0px !important; display: none; }
.background:after { left: 75%; }
.main-column { margin: 0 -260px 0 0; }
.main-content { margin: 0 260px 0 0; }
.sidebar-column { width: 240px; }
.sidebar-column .widget .post { min-height: 1px; }
.sidebar-column .widget .post img { display: none; }
.sidebar-column .widget .post p, .sidebar-column .widget .post small { padding-left: 0; }
.m-excerpt { display: block; }
.d-excerpt { display: none; }
.medium .g4 { width: 25%; float: right; }
.medium .g8 { width: 75%; padding-right: 0; }
.main-content .small .g2 { padding-bottom: 30px; }
.main-content .small .g10 { padding-bottom: 30px; }

}
@media only screen and (max-width: 767px){

.background { height: 0px !important; }
.background:after { left: 85%; }

.main-column { margin: 0; }
.main-content { margin: 0; }

.sidebar-column { width: 100% !important; }
.sidebar-column .pl20 { padding: 0 !important; }
.sidebar-column:after { display: none; }



.medium .g4 { width: 25%; }
.medium .g8 { width: 75%; }
.main-content .small .g2 { width: 20%; padding: 15px; }
.main-content .small .g10 { width: 80%; padding: 15px; }

#player { display: none; }

}
@media only screen and (min-width: 480px) and (max-width: 767px){



}
@media only screen and (max-width: 479px){

.medium .g4 { display: none; }
.medium .g8 { width: 100%; }
.main-content .small .g2 { display: none; }
.main-content .small .g10 { width: 100%; }
div.post-full div.content div.post-gallery a { width: 33.3333333334% }
.comments ol li { padding: 0 0 15px 0; margin: 15px 0; }
.comments ol li div.avatar { width: 40px; height: 40px; }
.comments ol li div.body { padding: 0 0 0 55px; }
.comments ol li ol { padding: 0 0 0 55px; }
.comments ol li ol li { margin: 15px 0 0 0; border: 0; }
.comments ol li ol div.avatar { display: none; }
.comments ol li ol div.body { padding: 0 0 0 0; }
.comments ol li ol li ol { padding: 0 0 0 20px; }
.comments ol .byuser > div.comment:first-child { padding: 5px 5px 0px 5px; }
.comments ol .byuser > div.comment:first-child div.avatar { top: 5px; left: 5px; }
.comments .byuser > div.comment:first-child div.avatar { background: url(../images/blog-sprites.png) -60px -140px no-repeat; }

}
@media only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio:2){

.categories .category .rss, .search input.submit, .post-comments a, .comments .byuser > div.comment:first-child div.avatar,
.comments .parent .byuser > div.comment:first-child div.avatar, .comments .rss-icon a, .category-header .rss-icon a { 
  background-image: url(../images/blog-sprites@2x.png); -webkit-background-size: 200px 200px; -moz-background-size: 200px 200px; -o-background-size: 200px 200px; background-size: 200px 200px;
}

}
