/*-----------------------------------------------------------
-------------------------------------------------------------
*	ECHO THEME for NB 4.0+			                        *
*   AUTHOR: Paulo Nunes                                     *
*   URL: https://github.com/syndicatefx/nibbleblog-themes   *
*	DATE: 06-02-2014                                        *
------------------------------------------------------------*/

/*--------------------------------------
  FONTS
--------------------------------------*/
@import url(http://fonts.googleapis.com/css?family=Roboto:400,400italic,700,700italic,300,300italic&subset=latin,cyrillic);

/**********
 * COLORS
 * Orange: #F4A81D
 * Tan: #D8D1CA
 * Brown: #766661
 * Black: #222222
 */

@font-face {
    font-family: 'futura_condensedbold';
    src: url('../fonts/futura_condensed_bold-webfont.woff2') format('woff2'),
         url('../fonts/futura_condensed_bold-webfont.woff') format('woff'),
         url('../fonts/futura_condensed_bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'avantgarde_bk_btbook';
    src: url('../fonts/avgardn-webfont.woff2') format('woff2'),
         url('../fonts/avgardn-webfont.woff') format('woff'),
         url('../fonts/avgardn-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: "HelveticaNeueLTStd-LtCn";
  src: 	url("../fonts/HelveticaNeueLTStd-LtCn.ttf") format("truetype"),
    	url("../fonts/HelveticaNeueLTStd-LtCn.woff2") format("woff2");
    	url("../fonts/HelveticaNeueLTStd-LtCn.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/*--------------------------------------
  RESET HTML
--------------------------------------*/
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,dialog,summary{display:block}audio[controls],canvas,video{display:inline-block;*display:inline;zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{height:100%;overflow-y:scroll;overflow-x:hidden;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}
body{min-height:100%;font-size:100%;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;text-rendering:optimizeLegibility;margin:0}
h1,h2,h3,h4,h5,h6,p,blockquote,q,figure,pre,address,hr,code,samp,dl,ol,ul,menu{padding:0;margin:0}
abbr,acronym,blockquote,code,dir,kbd,listing,plaintext,q,samp,tt,var,xmp{-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;-o-hyphens:none;hyphens:none}
h1{font-size:2.75em;line-height:1.2em;margin-bottom:0.4em}
h2{font-size:2em;line-height:1em;margin-bottom:0.5em}
h3{font-size:1.75em;line-height:1.33em;margin-bottom:0.6667em}
h4{font-size:1.25em;line-height:1em;margin-bottom:1em}
h5{font-size:1em;line-height:1.142em;margin-bottom:1.142em}
h6{font-size:0.9em;line-height:1.33em;margin-bottom:1.33em}
p,ul,ol,dl,blockquote,pre{font-size:1em;line-height:1.625em;margin-bottom:1.5em}
p + p{margin-top:-.75em}small{font-size:0.875em;line-height:1.714em;margin-bottom:1.714em}pre code{word-wrap:normal;white-space:-moz-pre-wrap;white-space:pre-wrap}pre,code,kbd,samp{font-family:Menlo, Consolas, 'DejaVu Sans Mono', Monaco, 'Courier New', Courier, monospace}pre,code{white-space:pre;font-size:.9em;}pre{background:#f8f8f8;padding:.5em;}blockquote,q{quotes:none}blockquote{font-size:1.1em;position:relative;padding:1em}blockquote:before,blockquote:after{height:1em;position:absolute;font-size:3em}blockquote:before{content:'“';top:0;left:0}blockquote:after{content:'”';bottom:0;right:0}blockquote > p{padding:0}q:before,q:after{content:'';content:none}cite{font-size:0.8em}blockquote,q,cite,dfn{font-style:italic}ul,ol{list-style-position:inside}li ul,li ol,dl dd{margin-left:1.5em}var,address{font-style:normal}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}figure{margin-bottom:1.5em}figure img{display:block;margin:0 auto}figcaption{text-align:center}img,object,embed,video{max-width:100%;_width:100%}img{height:auto;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}abbr[title],dfn[title],acronym{cursor:help}ins,mark{text-decoration:none}del{text-decoration:line-through}b,dt{font-weight:700}

/*--------------------------------------
----------------------------------------
*									   *
*			THEME STYLES               *
*                                      *
----------------------------------------
--------------------------------------*/

#test_page{
  background:hsla(0,0%,0%,1);
}

.fullWidth{
	width: 100% !important;
	max-width: 100% !important;
}
.noPadding{
	padding: 0 !important;
}
.clear_fix{
	clear: both;
}


html{
	background:#e4e7ec;
	background:-moz-linear-gradient(left, #e4e7ec 24em, #ffffff 24em);
	background:-webkit-gradient(linear, left top, right top, color-stop(24em,#e4e7ec), color-stop(24em,#ffffff));
	background:-webkit-linear-gradient(left, #e4e7ec 24em,#ffffff 24em);
	background:-o-linear-gradient(left, #e4e7ec 24em,#ffffff 24em);
	background:-ms-linear-gradient(left, #e4e7ec 24em,#ffffff 24em);
	background:linear-gradient(to right, #e4e7ec 24em,#ffffff 24em);
	color:#596270;
}
body{
	font:100% 'Roboto', Arial, sans-serif;
	font-weight:300;
	line-height:1.625em;
	background-color: #D8D1CA !important;
}

/*----------------HEADERS--------------*/
h1,h2,h3,h4{
	font-weight:300;
	color:#586374
}
header h1{
	font-size:2em;
	margin:0;
}
.post-title{
	font-weight:400;
}
.plugin_box h3{
	font-size:1.2em;
	font-weight:400;
	text-transform:uppercase;
}

/**************************
 * HOME PAGE 
 *************************/
#brown_strip2{
	background-image: url('./img/trans_bg.png');
	background-repeat: repeat;
}
#brown_divider{
	position:relative;
	z-index:3;
	height: 10px;
	background-color: #766661;
	-moz-box-shadow:    3px 3px 18px 3px #222;
  	-webkit-box-shadow: 3px 3px 18px 3px #222;
  	box-shadow:         3px 3px 18px 3px #222;
}
#footer{
	background-image: url('./img/footer_bg.png');
	background-repeat: no-repeat;
	background-size: cover;
	height: auto;
	width: 100%;
	text-align: center;
}

/*************************
 * NAVIGATION 
 ************************/
#logo_container{
	height: 115px;
}
#logo1{
	position:relative;
	z-index:10;
	display: inline-block;
	font-family: futura_condensedbold;
	color: #F4A81D;
	font-size: 70px;
	-webkit-text-stroke-width: 2px;
   -webkit-text-stroke-color: #FFFFFF;
}
#logo2{
	position:relative;
	z-index:10;
	display: inline-block;
	font-family: avantgarde_bk_btbook;
	color: #FFFFFF;
	font-size: 28px;
	margin-left: 5px;
}
#head_piece1{
	background-image: url('./img/trans_bg.png');
	background-repeat: no-repeat;
	background-size: 393px 115px;
	background-position: bottom left;
	height: 115px;
	padding-left: 10px;
	padding-top: 20px;
	margin-left: 80px;
}
#head_piece2{
	position: relative;
	top: -60px;
	background-image: url('./img/trans_bg2.png');
	background-repeat: no-repeat;
	background-size: 100% 55px;
	background-position: bottom left;
	height: 55px;
	width: 100%;
}
#head_piece3{
	position: relative;
	top: -60px;
	background-color: #F4A81D;
	height: 4px;
	width: 100%;
	-webkit-box-shadow: 0 3px 5px 0px black;
	-moz-box-shadow: 0 3px 5px 0px black;
	box-shadow: 0 3px 5px 0px black;
}
#head_piece4{
	position: relative;
	top: 55px;
	background-color: #F4A81D;
	height: 4px;
	width: 100%;
	-webkit-box-shadow: 0 3px 5px 0px black;
	-moz-box-shadow: 0 3px 5px 0px black;
	box-shadow: 0 3px 5px 0px black;
}
#nav_menu{
	position: relative;
	top: 55px;
	list-style-type: none;
	background-image: url('./img/trans_bg2.png');
	background-repeat: no-repeat;
	background-size: 100% 55px;
	background-position: bottom left;
	height: 55px;
	padding: 0;
	margin: 0;
}
#nav_menu li{
	float: left;
	border-left: 1px solid #999999;
	padding-left: 15px;
	padding-right: 15px;
	height: 55px;
}
#nav_menu li.last{
	float: left;
	border-left: 1px solid #999999;
	border-right: 1px solid #999999;
}
#nav_menu li.nb{
	font-family: futura_condensedbold;
	text-shadow: 1px 1px 1px #000;
	border: none;
	color: #FFFFFF;
	font-size: 32px;
	float: right;
	padding-right: 20px;
}
#nav_menu li a{
	display: inline-block;
	font-family: avantgarde_bk_btbook;
	color: #F4A81D;
	font-size: 20px;
	height: 55px;
	padding-top: 12px;
}
#nav_menu li a .white_arrow{
	height: 7px;
	display: inline-block;
	margin-left: 3px;
	vertical-align: super;
}
#navigation .sub_menu{
	display: none;
	position:absolute;
	list-style-type: none;
	background-image: url('./img/trans_bg2.png');
	background-repeat: no-repeat;
	background-size: 135px auto;
	background-position: bottom left;
	height: auto;
	width: 135px;
	padding: 0;
	margin: 0;
	top: 115px;
	overflow: hidden;
	z-index: 100;
}
#navigation #services_menu{
	margin-left: 130px;
	width: 225px;
	background-size: 225px auto;
}
#navigation .sub_menu li{
	padding-left: 15px;
	padding-right: 15px;
	height: 55px;
}
#navigation .sub_menu li a{
	display: inline-block;
	font-family: avantgarde_bk_btbook;
	color: #F4A81D;
	font-size: 20px;
	height: 55px;
	padding-top: 12px;
}
/******************************
 * FOOTER STYLES 
 *****************************/
#footer_directory{
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: left;
	margin-top: 40px;
	margin-bottom: 30px;
	margin-left: 30px;
}
#footer_directory li{
	line-height: 34px;
}
#footer_directory li a{
	color: white;
	font-family: avantgarde_bk_btbook;
	font-size: 22px;
	text-decoration: none;
}
#footer_directory li a:hover{
	text-decoration: underline;
}
#arrow_top_container{
	width: 60px;
	height: 50px;
	background-color: #EEEEEE;
	-webkit-border-radius: 10px; 
  	-moz-border-radius: 10px; 
  	border-radius: 10px;
  	text-align: center;
  	margin-left: 30px;
  	margin-bottom: 20px;
  	cursor: pointer;
}
#arrow_top_container i{
	font-size: 48px;
    margin: 0px;
    padding: 0;
    height: 34px;
    position: relative;
    top: -8px;
    left: 12px;
}
#arrow_top_container span{
	display: inline-block;
    font-family: HelveticaNeueLTStd-LtCn;
    font-weight: bold;
    color: #000000;
    font-size: 14px;
    position: relative;
    right: 16px;
}
#footer_top .footer_column{
	text-align: left;
	padding: 30px;
}
#footer_top .footer_column h3{
	font-size: 30px;
	font-weight: bold;
	color: #FFFFFF;
	font-family: calibri, sans-serif;
}
#footer_top .footer_column hr{
	margin-top: 10px;
	margin-bottom: 10px;
	width: 80%;
	float: left;
}
#footer_top .orange_letter{
	color: #F4A81D;
	font-family: futura_condensedbold;
	font-weight: bold;
	font-size: 24px;
	padding-left: 10px;
}
#footer_top .phone{
	color: #FFFFFF;
	font-family: HelveticaNeueLTStd-LtCn;
	font-weight: bold;
	font-size: 24px;
}
#footer_top .email{
	color: #FFFFFF;
	font-family: HelveticaNeueLTStd-LtCn;
	font-weight: bold;
	font-size: 22px;
}
#footer_top .address{
	color: #FFFFFF;
	font-family: HelveticaNeueLTStd-LtCn;
	font-weight: bold;
	font-size: 20px;
}
#footer_top .footer_column .article{
	color: #FFFFFF;
}
#footer_top .footer_column .article h4{
	font-size: 22px;
	font-family: calibri, sans-serif;
	font-weight: bold;
}
#footer_top .footer_column .article h4{
	font-size: 21px;
	font-family: calibri, sans-serif;
}
#footer_top .footer_column .sm_icon_container{
	clear: both;
	display: inline-block;
}
#footer_top .footer_column .sm_icon_container a{
	height: 40px;
	width: 40px;
}
#footer_top .footer_column .sm_icon{
	height: 40px;
}
#footer_bottom{
	height: 40px;
	background-color: #666666;
	color: #000000;
	font-size: 16px;
	font-weight: bold;
	font-family: calibri, san-serif;
	padding-top: 10px;
	padding-bottom: 10px;
}
#footer_bottom a{
	color: #000000;
}

/*----------------LINKS----------------*/
a{
	color:#3466B1;
	text-decoration:none;
	outline:none;
}
p a{
	border-bottom:1px solid #E4E7EC;
}
a:hover{
	color:#26559B;
}
header a,.post-title a{
	color:#727F94;
}
header a:hover,.post-title a:hover{
	color:#465263;
}
#button{
	display:none;
}
.info a,.older,.newer{
	font-size:90%;
	font-weight:400;
	padding:.2em .5em;
	margin-right:.2em;
	border-radius:2px;
}
.info a,.category a{
	background:#E4E7EC;
	color:#727F94;
}
.category a{
	display:block;
	background:#766661;
	padding:.2em;
	padding-left: 10px;
	margin:.2em 0;
	border-radius:2px;
	color: white;
}
.info a:hover,.category a:hover{
	background:#F4A81D;
	color:#fff;
}
.older,.newer{
	position:absolute;
	top:0;
	background:#757E8E;
	font-size:100%;
	color:#fff;
	margin:0;
}
.older{
	left:0;
}
.newer{
	right:0;
}
.older:hover,.newer:hover{
	background:#465263;
	color:#fff;
}
.plugin_box a{
	font-weight:400;
}
footer a{
	font-weight:400;
}
/*----------------LAYOUT--------------*/
.main{
	max-width:64em;/*1024px*/
}
.main:after,.pager:after{
	content:"";
	display:table;
	clear:both;
}
header{
	position:relative;
	text-align:center;
	margin-bottom:2em;
}
header img{
	max-width:50%;
}
.content{
	background:#eeeeee;
	width:40em;
	max-width:40em;
	float:right;
	padding:2em 2em 0;
}
aside,header{
	width:20em;
	float:left;
	padding:2em 1em 0;
	clear:left;
}
.pager{
	position:relative;
	width:100%;
	padding:5em 0;
}
footer{
	font-size:90%;
	text-align:center;
	color:#A6AEB7;
	padding:3em 1em;
}
/*----------------POSTS---------------*/
article{
	position:relative;
	margin:0 0 5em;
}
.publish-date{
	position:absolute;
	top:0;
	left:-5em;
	max-width:8em;
	background:#eeeeee;
	padding:.2em .5em;
	border-radius:2px 0 0 2px;
}
.month,.day,.year{
	display:block;
	text-align:center;
}
.month,.day{
	font-weight:700;
}
.day{
	font-size:2em;
}
.tags,.info{
	list-style:none;
}
.tags li,.info li{
	display:inline-block;
}
/*-------------DEFAULT COMMENTS-------*/
.comment{
	background:#fff;
	border:1px solid #e8e8e8;
	border-bottom:2px solid #ddd;
	padding:.5em;
	margin:2em 0;
}
.comment:after{
	content:"";
	display:table;
	clear:both;
}
.avatar{
	float:left;
	margin:0 1em 0 0;
}
.author_name,.date,.comment-body{
	display:block;
}
.author_name{
	font-size:125%;
	font-weight:400;
	line-height:1;
}
.date{
	font-size:90%;
}
.comment-body{
	margin-top:1em;
}
.alert{
	background:#F39C12;
	color:#fff;
	font-weight:400;
	padding:.2em;
}
textarea{
	overflow-y:auto;
	vertical-align:top
}
input,textarea{
	font-family:inherit;
	font-size:100%;
	margin:0;
	vertical-align:baseline;
	*vertical-align:middle
}
input{
	line-height:normal;
	*overflow:visible
}
input[type="submit"]{
	cursor:pointer;
	-webkit-appearance:button
}
input::-moz-focus-inner{
	border:0;
	padding:0
}
input[type="text"],input[type="email"],textarea{
	width:100%;
	background:#F8F9FA;
	border:1px solid #e8e8e8;
	border-bottom:2px solid #ddd;
	color:#858585;
	padding:.5em;
	outline:none;
	resize:vertical;
	margin-top:0.938em;
	font-size:1em;
}
textarea{
	min-height:10em;
	line-height:1.4em;
}
input[type="text"]:focus,input[type="email"]:focus,textarea:focus{
	background:#fff
}
input[type="submit"]{
	padding:.5em .8em;
	white-space:nowrap;
	vertical-align:middle;
	color:#fff;
	font-weight:700;
	cursor:pointer;
	display:block;
	background:#757E8E;
	border:transparent;
	margin:2em auto;
	border-radius:2px;
}
input[type="submit"]:hover,input[type="submit"]:focus,input[type="submit"]:active{
	background:#465263;
}
/*----------------PLUGINS-------------*/
.plugin_box ul{
	list-style:none;
}
li.image{
	float:left;
	max-width:20%;
	padding:0;
	margin:0 .5em 0 0;
}
li.name{
	font-weight:400;
}
li.about{
	font-size:90%;
	line-height:1.2;
}
.plugin_latest_posts a{
	color: #766661;
}
.plugin_pages a{
	color: #766661;
}
/*----------------------------------------------
	NIBBLEBLOG IMG ALIGN CLASSES USED IN EDITOR
----------------------------------------------*/
.nb-align-left{
	float:left;
	margin:0 1em 1em 0;
}
.nb-align-right{
	float:right;
	margin:0 0 1em 1em;
}
.nb-align-center{
	display:block;
	margin:0 auto 1em;
}
/*-------------------------------------
	MEDIA QUERIES
--------------------------------------*/

@media only screen and (max-width:980px) {
	html{
		background:#e4e7ec;
	}
	header{
		float:none;
		width:100%;
		padding-top:1em;
	}
	header img{
		max-width:15%;
	}
	#button{
	display:block;
	width:3em;
	height:3em;
	background:#757E8E;
	margin:.5em auto;
	border-radius:50%;
	}
	#button img{
		max-width:100%;
	}
	.main{
		position:relative;
		-webkit-transition: -webkit-transform 500ms ease;
		-moz-transition: -moz-transform 500ms ease;
		-o-transition: -o-transform 500ms ease;
		transition: transform 500ms ease;
		-webkit-transform: translateZ(0);
		-moz-transform: translateZ(0);
		-webkit-perspective: 1000;
		-moz-perspective: 1000;
		-webkit-backface-visibility: hidden;
		-moz-backface-visibility: hidden;
	}
	.content{
		width:100%;
		float:none;
		margin:0 auto;
	}
	aside{
		position:absolute;
		top:0;
		left:-320px;
		height:2em;
		overflow:hidden;
	}
	.open{
		-webkit-transform: translateX(320px) scale(1);
		-moz-transform: translateX(320px) scale(1);
		-ms-transform: translateX(320px) scale(1);
		-o-transform: translateX(320px) scale(1);
		transform: translateX(320px) scale(1);
	}
	.open aside{
		overflow:visible;
		height:auto;
	}
}
@media only screen and (max-width:767px) {
	.publish-date{
		position:relative;
		top:0;
		left:0;
		display:block;
		background:none;
		max-width:100%;
		margin-bottom:2em;
	}
	.month,.day,.year{
		display:inline;
	}
	.month,.day{
		font-weight:400;
	}
	.day{
		font-size:1em;
		margin-right:.5em;
	}
}
@media handheld, only screen and (max-width: 640px) {
	header img{
		max-width:20%;
	}
	.content{
		padding:2em 1em 0;
	}
	.post-title,.publish-date,.info li{
		text-align:center;
	}
	.info li{
		display:block;
		margin:.5em 0;
	}
}