/*
Theme Name: Euclides
Theme URI: http://www.cssigniter.com/ignite/themes/euclides
Description: Free WordPress theme for tutorial authors
Author: the CSSIgniter team
Author URI: http://www.cssigniter.com/
Version: 1.4
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,menu,nav,section { margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; }
blockquote,q { quotes:none; }
blockquote:before,blockquote:after,q:before,q:after { content:''; content:none; }
:focus { outline:0; }

/* html5 tags */
article,aside,dialog,figure,footer,header,hgroup,menu,nav,section { display:block; }

/* basic rules */
body { font:14px/20px "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif; }
h1 { font-size:40px; }
h2 { font-size:40px; }
h3 { font-size:30px; }
h4 { font-size:26px; }
h5 { font-size:20px; }
h6 { font-size:16px; }
h1,h2,h3,h4,h5,h6 { line-height:1; letter-spacing:-1px; -ms-word-wrap: break-word; word-wrap: break-word; }
a {  text-decoration:none; }
abbr,acronym { border-bottom-width:0; }
strong { font-weight:bold; }
em { font-style:italic; }
ins { text-decoration:none; }
del { text-decoration:line-through; }
pre { white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; }
.alignleft { float:left; }
.alignright { float:right; }
.aligncenter { margin-left: auto; margin-right: auto; }
img { max-width:100%; height:auto; }
img.aligncenter { display: block; }
.floatnone { display:block; margin-bottom:5px; }
.floatleft { float:left; margin:5px 10px 5px 0; }
.floatright { float:right; margin:5px 0 5px 10px; }
.text { border:none; padding:8px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; }
textarea { border:none; padding:8px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; }
fieldset { margin-bottom:10px; }
table { width:100%; margin-bottom:20px; }
dl { margin-bottom: 20px; }
dl dd { margin-left:20px; margin-bottom:5px; }
.gallery {
	margin-bottom: 20px;
	overflow: hidden;
}

.gallery img {
	display:block;
}

.gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	position: relative;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 48%;
	max-width: -webkit-calc(50% - 4px);
	max-width:         calc(50% - 4px);
}

.gallery-columns-3 .gallery-item {
	max-width: 32%;
	max-width: -webkit-calc(33.3% - 4px);
	max-width:         calc(33.3% - 4px);
}

.gallery-columns-4 .gallery-item {
	max-width: 23%;
	max-width: -webkit-calc(25% - 4px);
	max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
	clear: left;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 6px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	width: 100%;
}

.gallery-caption:before {
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

/* clearfix */
.group:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }

/* structure */
#page { width:980px; margin:0 auto; }
#header { position:relative; padding:20px 0 40px 0; margin-bottom:40px;  }
#posts { float:left; width:640px; }
#sidebar { float:right; width:300px; }

/* logo */
#logo { margin:30px 0; }
#logo a { display:block; font-size:60px; font-weight:bold; line-height: 1; letter-spacing:-1px;  }
#logo em { font:normal 11px Georgia,serif; letter-spacing:1px; text-transform:uppercase; }

/* navigation */
#nav { padding:10px 0 0 10px; -moz-border-radius:5px; }
#nav ul { list-style: none; }
.main-nav ul { position:absolute; top:-999em; width:15em; }
.main-nav ul li { width:100%; }
.main-nav li:hover { visibility:inherit; }
.main-nav li { float:left; position:relative; z-index:2000; }
.main-nav a { display:block; position:relative; padding:0 .6em .7em; text-decoration:none; }
.main-nav a:hover { color:#fff; }
.main-nav li a { font-size:14px; text-transform:uppercase; }
.main-nav li ul { background:#3a404c; }
.main-nav li li a { font-weight:normal; text-transform:none; padding:10px;  }
.main-nav li li a:hover { background:none; }
.main-nav li:hover ul,.main-nav li.sfHover ul { left:5px; top:2.1em; z-index:99; }
.main-nav li:hover li ul,.main-nav li.sfHover li ul { top:-999em; }
.main-nav li li:hover ul,.main-nav li li.sfHover ul { left:16em; top:0; }
.main-nav li li:hover li ul,.main-nav li li.sfHover li ul { top:-999em; }
.main-nav li li li:hover ul,.main-nav li li li.sfHover ul { left:15em; top:0; }
.main-nav a.sf-with-ul { min-width:1px; }
.main-nav ul a:focus > .sf-sub-indicator,.main-nav ul a:hover > .sf-sub-indicator,.main-nav ul a:active > .sf-sub-indicator,.main-nav ul li:hover > a > .sf-sub-indicator,.main-nav ul li.sfHover > a > .sf-sub-indicator { background-position:-10px 0; }

/* post */
.post { margin-bottom:80px;  }
.post a:hover { text-decoration:underline; }
.post h1 a:hover,.post h2 a:hover,.post-footer a:hover { text-decoration:none; }
.post h2,.post h3,.post h4,.post h5 { margin-bottom:15px; }
.post p { margin-bottom:15px; }
.post ol,.post ul { margin-bottom:15px; list-style-position: inside; }
.post ol ul, .post ul ul, .post ul ol, .post ol ol { margin-left:20px; }
.post .alignleft { margin:5px 15px 15px 0; }
.post .alignright { margin:5px 0 15px 15px; }
.date { margin:20px 0; font:normal 12px Georgia,serif; font-style:italic; }
.tags { margin-bottom:10px; }
.post .post-thumb {  padding:10px 10px 20px; margin:0 20px 20px 0; }
.post-footer { clear:both; position:relative; padding:15px 0; }
.post-footer a { font-weight:bold; }
.more { position:absolute; top:15px; right:0; }
.meta { clear:both; margin-bottom:25px; line-height:1; }
.meta p {  float:left; width:405px; padding:25px 0; margin-bottom:0; }
.meta ul { list-style:none; float:right; width:215px; margin-top:27px; font-size:12px; font-weight:bold; }
.meta ul li { padding-bottom:5px; }
.meta ul li span { font:normal 12px Georgia,serif; font-style:italic; }
.meta-button { display:inline-block; height:58px; padding:0 10px 0 0; line-height:1; margin-right:25px;  }
.meta-button span { display:inline-block; height:18px; padding:20px 30px 20px 40px;text-align:center; font-size:18px; font-weight:bold; }
.meta-button:hover,.meta-button:hover span { text-decoration:none!important; }

/* related posts */
#related { margin:50px 0 10px; padding:25px 0; }
#related ul { list-style:none; }
#related ul li { float:left; width:194px; margin-right:29px; }
#related ul li.last { margin-right:0; }
#related ul li img {  padding:5px 5px 15px 7px; }
#related a { display:block; padding-left:1px; }

/* comments */
.post-comments { margin:5px 0 20px; padding-top:25px; line-height:1.5; }
.post-comments ul,.post-comments ol { list-style:none; }
.comment-text { padding:15px 0; }
.comment-copy { margin-left:110px; padding-bottom:10px; }
.comment-meta { font-size:12px; margin-bottom:5px; }
.avatar { float:left; margin-top:5px; }
.depth-2,.depth-3,.depth-4,.depth-5 { margin-left:110px; }
.btn-reply { display:inline-block; }
#cancel-comment-reply-link { display:block; font-size:12px; padding-top:5px; }

/* form */
#form-wrapper { margin-top:40px; padding-top:25px; }
.post-form { margin-bottom:30px; }
.post-form h2 { margin-bottom:30px; }
.post-form label { display:block; }
textarea { width:90%; height:140px; }

/* paging */
#paging { margin-bottom:30px; }
#paging a, #paging span { padding: 5px 10px; border-radius: 4px; background: #3A404C; color: #FFF; font-weight: bold; border: 3px solid #DDDCD1;  }
#paging .current { background: #525c6c; }
#paging .nav-symbol { padding: 0; margin: 0; border: 0; background: none; }

/* sideblock */
.block { margin-bottom:40px; }
.block ul { list-style:none; }
.block ul li { border-bottom:dotted 1px #D9D7CD; padding:3px 0; }
.block h3 {font-size:18px; padding:14px 0; margin-bottom:15px;  }
.block p { font-size:12px; margin-bottom:10px; }

/* newsletter */
#newsletter .text { width:284px; }

/* latest posts */
.ci_category_latest li { padding-bottom:10px; }
.ci_category_latest h4 { font-size:18px; }
.ci_category_latest .date { margin:5px 0; }

/* ads125 */
#ads125 li, .ads125 li { float:left; }
#ads125 li a, .ads125 li a { display:block; margin:0 20px 20px 0; }
#ads125 li.last a, .ads125 li.last a { margin:0 0 20px; }
#ads125 li a img, .ads125 li a img { display:block; }

/* calendar */
#wp-calendar { width:100%; }

.flickr_badge_image { float:left; padding:5px;}
.flickr_badge_image a img { display:block; }
#flickr_badge_image1, #flickr_badge_image2, #flickr_badge_image4, #flickr_badge_image5, #flickr_badge_image7, #flickr_badge_image8 { margin:0 10px 10px 0; }
#flickr_badge_image3, #flickr_badge_image6, #flickr_badge_image9  { margin:0 0 10px 0; }

/* footer */
#footer-wrap { background:#3a404c; }
#footer { width:980px; margin:0 auto; }
#footer p { padding:10px 0;  font-size:11px; }