/*
	Widget styling for Cubricks Theme.
*/

/* =Widgets
----------------------------------------------- */
.widget-area {
	font-size: 12px;
}
#secondary .widget,
#supplementary .widget {
	/*background: url(../images/widget-bottom.png) repeat-x scroll 100% 100%;*/
	clear: both;
	padding: 0 0 10px;
	margin: 0 0 10px;
	width: 100%;
}
.widget-title {
	width: 100%;
	font-family: Tahoma, Geneva, sans-serif;
	color: rgba(225,112,9,1);
	text-transform: none;
	text-decoration: none;
}
#secondary .widget-title,
#secondary .widget-title > a {
	width: 100%;
	font-family: Tahoma, Geneva, sans-serif;
	color: rgba(225,112,9,1);
	text-decoration: none;
	margin-left: 5px;
}
#secondary .widget-title span,
#secondary .widget-title span + a:link {
	line-height: 1.0;
	font-size: 14px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	padding: 2px 2%;
}
.widget iframe {
	margin-top: 10px;
}
.widget ul {
	font-size: 15px;
	margin: 0;
}
.widget ul ul {
	margin-left: 1.5%;
}
.widget ul li {
	color: #777;
	font-size: 13px;
	overflow: hidden;
}
.widget a {
	text-decoration: none;
}
.widget a:hover,
.widget a:focus,
.widget a:active {
	text-decoration: underline;
}

/* Slider Homepage widgets */
.page-template-slider-homepage-php #content-wrapper {
	padding-bottom: 2%;
}
#homepage-sidebar {
	width: 100%;
	margin: 0 auto;
	padding: 2% 0;
}
.page-template-slider-homepage-php #homepage-sidebar .widget {
	margin-bottom: 3%;
}
/* Two Footer Widget Areas */
#homepage-sidebar.two .widget-area {
	float: left;
	margin-right: 2.6%;
	width: 48.6%;
}
#homepage-sidebar.two .widget-area + .widget-area {
	margin-right: 0;
}

/* Three Footer Widget Areas */
#homepage-sidebar.three .widget-area {
	float: left;
	margin-right: 2%;
	width: 32%;
}
#homepage-sidebar.three .widget-area + .widget-area + .widget-area {
	margin-right: 0;
}

/* Widget Forms and Buttons */
/* Forms */
input[type=text],
input[type=password],
textarea {
	background: #fafafa;
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	border: 1px solid #83A4CC;
	color: #666666;
	outline: none !important;
}
input[type=text]:focus,
textarea:focus {
	color: #222;
	background-color: #f9f9f9;
}
textarea {
	padding-left: 3px;
	width: 98%;
}
input[type=text] {
	padding: 3px;
}

/* Header Search */
#search-module {
	display: block;
	float: right;
}
#social-media-before-sidebar > #search-module {
	display: block;
	float: right;
	width: 100%;
}
#search-module .widget {
	padding: 0;
}
.widget .textwidget img {
	width: 100%;
}

/* Search Widget */
.widget .searchform,
.widget form,
.module form {
	width: 100%;
}
.module form {
	margin: 2%;
}
.widget input[type=text] {
	background: #FFFFFF;
}
.widget .searchform input[type=text],
.module .searchform input[type=text],
.widget input[type=text].field,
.widget .search-field input[type=text] {
	background: #F3F6F9 url(../images/search.png)  no-repeat 5px 2px scroll;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	moz-border-top-left-radius: 5px;
	moz-border-bottom-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-khtml-border-top-left-radius: 5px;
	-khtml-border-bottom-left-radius: 5px;
	border-right: none;
	font-size: 14px;
	line-height: 1.625;
	outline: none !important;
	margin: 0;
	height: 16px;
	padding: 4px 10px 4px 28px;
	text-align: left;
	width: 58%;
	display: inline-block;
	float: left;
}
.widget .searchform input[type=submit],
.module .searchform input[type=submit],
.widget .search-field input[type=submit],
.widget.widget_search input[type=submit].submit {
	text-shadow: #719E03 1px 1px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	-moz-border-top-right-radius: 5px;
	-moz-border-bottom-right-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-khtml-border-top-right-radius: 5px;
	-khtml-border-bottom-right-radius: 5px;
	padding: 1px 3px 5px;
	font-size: 14px;
	line-height: 1.625;
	text-align: center;
	width: 25%;
	height: 26px;
	display: inline-block;
	float: left;
	font-weight: 500;
}
.widget .searchform input:focus[type=text] {
	background-color: #FFFFFF;
}
#supplementary .widget.widget_search form {
	width: 100%;
}
#supplementary .widget.widget_search input[type=submit] {
	display: none;
}

/* Search Page */
#content .searchform {
	width: 100%;
}
#content .searchform input[type=text],
#content .entry-content input[type=text],
.post-password-required input[type=password] {
	background: #F3F6F9 url(../images/search-big.png)  no-repeat scroll 2% 50%;
	width: 60%;
	display: inline-block;
	float: left;
	font-size: 20px;
	color: #222;
	outline: 0;
	margin: 0;
	height: 40px;
	padding: 0 15px 0 45px;
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
	-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.7);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
	moz-border-top-left-radius: 6px;
	moz-border-bottom-left-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-khtml-border-top-left-radius: 6px;
	-khtml-border-bottom-left-radius: 6px;
	border-right: none;
}
#content .searchform input[type=submit],
#content input[type=submit],
.post-password-required input[type=submit] {
	width: 25%;
	display: inline-block;
	float: left;
	margin: 0;
	font-size: 20px;
	color: #FFFFFF !important;
	cursor: pointer;
	line-height: 1;
	height: 42px;
	padding: 0 15px;
	text-shadow: #719E03 1px 1px;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
	-moz-border-top-right-radius: 6px;
	-moz-border-bottom-right-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-khtml-border-top-right-radius: 6px;
	-khtml-border-bottom-right-radius: 6px;
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
	-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.7);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.post-password-required input[type=password] {
	background: #F3F6F9 url(../images/keys.png)  no-repeat scroll 2% 50%;
	margin: 0;
	width: 35%;
}
.post-password-required input[type=submit] {
	width: 10%;
}
/* Jetpack Contact Form */
#content > article .entry-content .contact-form {
	width: 100%;
	padding: 0;
}
#content .contact-form input[type=text],
#content .contact-form textarea {
	border: 1px solid rgba(51, 102, 0, 0.7);
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	width: 92%;
	margin-bottom: 1.6%;
}
#content .contact-form input[type=text],
#content .contact-form input[type=text].name,
#content .contact-form input[type=text].email,
#content .contact-form input[type=text].url {
	padding: 0 1.5% 0 7%;
	width: 91%;
}
#content .contact-form input[type=text] {
	background: #F3F6F9;
	padding: 0 7% 0 1.5%;
	clear: both;
}
#content .contact-form input[type=text].name {
	background: #F3F6F9 url(../images/name.png) no-repeat 1% 50% scroll;
}
#content .contact-form input[type=text].email {
	background: #F3F6F9 url(../images/email.png) no-repeat 1% 50% scroll;
}
#content .contact-form input[type=text].url {
	background: #F3F6F9 url(../images/website.png) no-repeat 1% 50% scroll;
}
#content .contact-form select {
	width: 50%;
	font-size: 100%;
	height: 38px;
	line-height: 1;
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	-moz-border-top-right-radius: 6px;
	-moz-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-webkit-border-top-left-radius: 6px;
	-khtml-border-top-right-radius: 6px;
	-khtml-border-top-left-radius: 6px;
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
	-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.7);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(51, 102, 0, 0.7);
}
#content .contact-form div {
	margin-bottom: 0.5%;
}
#content .contact-form label.checkbox,
#content .contact-form label.radio {
	width: 96%;
}
#content .contact-form input[type=radio],
#content .contact-form input[type=checkbox] {
	font-size: 100%;
	margin: 0 1% 0.6%;
}
#content .contact-form textarea {
	width: 97%;
	padding: 1% 1%;
}
#content .contact-form p.contact-submit {
	padding: 2% 0 4% 0;
}
#content > article.post-password-required .entry-content form {
	padding-bottom: 5%;
}
.post-password-required label {
	clear: both;
}
#content p.contact-submit > input[type=submit] {
	height: 28px;
	padding: 0 7px;
}
#content .searchform input:focus[type=text] {
	background-color: #FFFFFF;
}

/* Post Password Form */
.post-password-required #content input[type=text] {
}
.post-password-required #content input[type=submit] {
	height: 42px;
	padding: 0 15px;
}
/* Jetpack Subscribe Widget */
#subscribe-blog input[type=text],
#subscribe-blog input[type=submit],
#supplementary .searchform input[type=text] {
	margin: 2% 0;
}
#subscribe-blog input[type=submit],
.searchform input[type=submit],
.widget input[type=submit],
.widget input[type=submit].submit,
#content input[type=submit] {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #3D9400; /* solid color for older browsers */
	background-image: -webkit-linear-gradient(top,#3D9400,#398A00);
	background-image: -moz-linear-gradient(top,#3D9400,#398A00);
	background-image: -ms-linear-gradient(top,#3D9400,#398A00);
	background-image: -o-linear-gradient(top,#3D9400,#398A00);
	border: 1px solid rgba(51, 102, 0, 0.7);
	color: #FFFFFF;
	text-shadow: 0 1px rgba(0,0,0,0.3);
}
#subscribe-blog input:hover[type=submit],
.searchform input:hover[type=submit],
.widget input:hover[type=submit],
.module input:hover[type=submit],
#content input:hover[type=submit] {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #398A00; /* solid color for older browsers */
	background-image: -webkit-linear-gradient(top,#398A00,#3D9400);
	background-image: -moz-linear-gradient(top,#398A00,#3D9400);
	background-image: -ms-linear-gradient(top,#398A00,#3D9400);
	background-image: -o-linear-gradient(top,#398A00,#3D9400);
	border: 1px solid rgba(51, 102, 0, 1);
	color: #FFFFFF;
	text-shadow: 0 1px rgba(0,0,0,0.5);
}
#subscribe-blog input[type=text],
#subscribe-blog input[type=submit],
#content p.contact-submit > input[type=submit],
#supplementary .searchform input[type=text],
#supplementary .widget.widget_search input[type=text] {
	-moz-border-radius: 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
}
#subscribe-blog input[type=text] {
	text-align: left;
	font-size: 16px;
	line-height: 1.2;
	padding: 5px 10px 5px 28px;
	clear: both;
	width: 96%;
}
#subscribe-blog input[type=submit] {
	font-weight: bold;
	text-align: center;
	width: 96%;
	margin: 2% 0;
	padding: 2% 0;
}
#subscribe-blog p:first-child {
	padding: 1%;
}
#subscribe-blog,
.widget form {
	padding: 2% 0;
}
#supplementary .searchform input[type=submit] {
	display: none;
}

/* Twitter */
.widget_twitter li {
	list-style-type: none;
	margin-bottom: 14px;
}
.widget_twitter .timesince {
	display: inline;
	font-size: 11px;
	margin-right: -10px;
	text-align: right;
}

/* Widget Image */
.widget_image img {
	height: auto;
	max-width: 100%;
	margin: 0 auto;
}
.widget_image .wp-caption {
	width: 100% !important;
}
.widget_image .wp-caption {
	background: none;
	margin: 1% auto;
}
.widget_image .wp-caption-text {
	margin: 1% auto;
	padding: 0;
}
.widget_image .wp-caption .wp-caption-text:before {
	color: #666;
	content: '';
}

/* Calendar Widget */
.widget_calendar #wp-calendar {
	color: #555;
	width: 95%;
	text-align: center;
}
.widget_calendar #wp-calendar a {
	font-weight: bold;
}
.widget_calendar #wp-calendar caption,
.widget_calendar #wp-calendar td,
.widget_calendar #wp-calendar th {
	text-align: center;
}
.widget_calendar #wp-calendar caption {
	font-size: 11px;
	font-weight: 500;
	padding: 5px 0 3px 0;
	text-transform: uppercase;
}
.widget_calendar #wp-calendar th {
	background: #f4f4f4;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-weight: bold;
}
.widget_calendar #wp-calendar tfoot td {
	background: #f4f4f4;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
#supplementary > .widget-title {
	text-shadow: 1pt 1px 1pt rgba(0, 0, 0, 1);
}
.widget ul,
.widget div,
.widget .postform {
	list-style-type: none;
	font-size: 100%;
}
.widget ul ul {
	margin-left: 3%;
}
.widget ul li,
.widget form p {
	color: #777;
	margin: 0;
	line-height: 1.625;
}
.widget p {
	margin-top: 5px;
	margin-bottom: 0;
}
.widget ul.tweets li {
	color: #777;
	line-height: 1.625;
}
#secondary .widget ul,
#secondary .widget p,
#secondary .widget div.tagcloud,
#secondary .widget form,
#secondary .widget-grofile h4 {
	margin: 0 1.5%;
}
#secondary .widget ul, 
.widget.widget_rss_links .widget-title-bg + p,
.widget #pd_top_rated_holder {
	padding-top: 1.6%;
}
.widget-grofile h4 {
	margin: 0;
}
.widget .postform {
	color: #373737;
	font-size: 14px;
}
.widget_facebook_likebox iframe {
	max-width: 100%;
}

/* Primary sidebar icons */
#secondary > .widget_archive ul li {
	background: url(../images/archives.png) no-repeat 0% 30% scroll;
	padding-left: 20px;
}
#secondary > .widget_categories ul li {
	background: url(../images/cat-bg.png) no-repeat 0% 30% scroll;
	padding: 0 0 0 20px;
}
#secondary > .widget_recent_entries ul li,
#secondary > .widget_category_posts ul li {
	background: url(../images/posts.png) no-repeat 0% 3% scroll;
	padding: 0 0 5px 20px;
}
#secondary > .widget_recent_comments ul li {
	background: url(../images/comments-list.png) no-repeat 0% 3% scroll; 
	padding: 0 0 5px 20px;
}
#secondary > .widget_links ul li,
#secondary > .widget_meta ul li {
	background: url(../images/sidebar-bullet.png) no-repeat 2px 7px scroll; 
	padding: 0 0 0 15px;
}
#secondary > .widget_pages ul li {
	background: url(../images/permalink.png) no-repeat 2px 5px scroll; 
	padding: 0 0 0 20px;
}
#secondary > .widget_twitter ul li {
	background: url(../images/twitter.png) no-repeat 2px 5px scroll; 
	padding: 0 0 0 20px;
}
.widget ul.children li {
	background: url(../images/list-icon.png) no-repeat 2px 5px scroll; 
	padding: 0 0 0 15px;
}
#secondary > .widget {
	overflow: hidden;
}
.widget a {
	text-decoration: none;
}
.widget a:hover,
.widget a:focus,
.widget a:active {
	text-decoration: underline;
}
.tagcloud,
.textwidget {
	margin: 1% auto;
}
.tagcloud a,
#tab-tags a {
	margin: 0;
	line-height: 1.2;
}
.tagcloud a:hover,
#tab-tags a:hover {
	text-decoration: none;
	color: #F55B2C;
}
#supplementary .widget a {
	color: #1E598E;
	font-weight: 600;
}

/* Supplementary */
#supplementary {
	padding: 1% 0.5%;
	overflow: hidden;
}
#supplementary .widget-title {
	margin: 0 0 2%;
	padding: 0;
}
#supplementary .widget-area .widget-title > a {
	text-decoration: none;
}

/* Two Footer Widget Areas */
#supplementary.two .widget-area {
	float: left;
	margin-right: 2.6%;
	width: 48.6%;
}
#supplementary.two .widget-area + .widget-area {
	margin-right: 0;
}

/* Three Footer Widget Areas */
#supplementary.three .widget-area {
	float: left;
	margin-right: 2%;
	width: 32%;
}
#supplementary.three .widget-area + .widget-area + .widget-area {
	margin-right: 0;
}

/* Four Footer Widget Areas */
#supplementary.four .widget-area {
	float: left;
	margin-right: 1.3%;
	width: 24%;
}
#supplementary.four .widget-area + .widget-area + .widget-area + .widget-area {
	margin-right: 0;
}

/* Five Footer Widget Areas */
#supplementary.five .widget-area {
	float: left;
	margin-right: 1.2%;
	width: 19%;
}
#supplementary.five .widget-area + .widget-area + .widget-area + .widget-area + .widget-area {
	margin-right: 0;
}

/* Six Footer Widget Areas */
#supplementary.six .widget-area {
	float: left;
	margin-right: 1%;
	width: 15.8%;
}
#supplementary.six .widget-area + .widget-area + .widget-area + .widget-area + .widget-area + .widget-area {
	margin-right: 0;
}

/* Poll Daddy */
.widget .PDS_Poll {
	margin-top: 1%;
	width: 100%;
	margin: 0 auto;
}