/*
Theme Name: Rolf SI
Description: A custom theme designed especially for Archie Underwood
Version: 0.1
Author: BinaryM Inc.

*/

/* @group RESET */
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 {
	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;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

hr {
  border:0;
  width:0;
  height:0;
  overflow:hidden;
  clear:both;
}

/* @end */

/* @group GLOBALS */

@font-face {
	font-family: 'Glyphicons Halflings';
	src: url('fonts/glyphicons-halflings-regular.eot');
	src: url('fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('fonts/glyphicons-halflings-regular.woff') format('woff'), url('fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.glyphicon {
	position: relative;
	top: 1px;
	display: inline-block;
	font-family: 'Glyphicons Halflings';
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.glyphicon-star:before {
	content: "\e006";
}
.glyphicon-star-empty:before {
	content: "\e007";
}


body {
	line-height: 1;
	font-family: arial, helvetica, sans-serif;
	font-size: 76%;
	color: #333;
	background:#ccc url(images/bg-body.png) bottom right no-repeat fixed;
}

/* @end */

/* @group IDs */

#container {
    width: 940px;
    margin: 0 auto;
    background:#fff url(images/bg-top.png) 616px 0 no-repeat;
    padding:10px 20px;
}
#content {
    clear:both;
    border:2px solid #000;
    background:#fff url(images/bg-sidebar.png) bottom right no-repeat;
}
#logo {
    float:left;
    margin:-60px 0 0 -2px;
}
#tagline a {
    display:block;
    background:transparent url(images/h1.png) top left no-repeat;
    text-indent:-1000em;
    width:450px;
    height:60px;
    margin:4px 0 0 120px;
    float:left;
}
#quote {
    margin:5px 5px 0 0;
    padding:0;
    width:240px;
    font-size:80%;
    line-height:110%;
    color:#333;
    float:right;
    text-align:right;
}

#primaryContent {
    border-right:2px solid #77bf6e;
    width:740px;
    float:left;
}
#secondaryContent {

    width:194px;
    float:left;
}
#nav p {
    float:right;
    margin:0 5px 0 0;
    padding:0;
    text-align:right;
}
#footer {
	clear: both;
}
	/* @end */

/* @group TYPOGRAPHY */

a,
.fakelink {
	text-decoration: underline;
	font-weight: normal;
	color: #45b35c; }

a:hover,
.fakelink:hover {
	text-decoration: none;
	font-weight: normal;
	color: #666; }

a.noline {
	text-decoration: none;
	color: #333; }


h1 {
	font-size: 2.9em;
	font-weight: bold;
	font-style: italic;
	letter-spacing: .055em; }

h2 { /* posts */
	font-size: 2.1em;
	text-decoration: none;
	margin: 1.0em 0em .2em 0em;
	line-height: 1.2em;
	color: #333; }

h2 a:link, h2 a:visited { /* posts */
	text-decoration: none;
	letter-spacing: -.04em;
	font-weight: bold; }

h2 a:hover { /* posts */
	text-decoration: underline; }

h3 {
	font-size: 1.4em;
	margin: 1.2em 0;
	font-weight: normal;	}

h4 {
	font-size: 1.2em;
	margin: 1.2em 0;
	font-weight: bold;	}

h5 {
	font-size: 1.0em;
	margin: 1.2em 0;
	font-weight: bold;	}

h6 {
	font-size: 0.8em;
	margin: 1.2em 0;
	font-weight: bold;	}

img {
	border: 0;	}

ol, ul, li {
	font-size: 1.0em;
	line-height: 1.8em; 	}

ol, ul {
    margin:1em 3em;
}

p {
	font-size: 1.0em;
	line-height: 1.8em;
	margin: 1.2em 0;	}

strong, b {
	font-weight: bold;	}

.smalltext {
	font-size: .8em;
	color: #666; }

	/* @end */



/* @group NAV */


#nav ul {
    list-style:none;
    margin:0;  }

#nav li {
    font-size: 1.15em;
    display: inline;
    padding: 0 15px;
    border-right:1px solid #333;
}

#nav li.page-item-116 {
    border-right:0;
}

#nav li a {
	text-decoration: underline;
	color: #45b35c; }

#nav li a:visited {
	color:#45b35c;	 }

#nav li a:hover {
	color:#300;
        text-decoration:none; }

#nav li.current_page_item a:link, #nav li.current_page_item a:visited, #nav li.current_page_item a:hover {
	color: #000;
	font-weight: bold;
	text-decoration: none; }


  	/* @end */

/* @group Sidebar */

#secondaryContent ul {
    margin:0 0 10px 15px;
}
.session {
    font-size:110%;
    color:#333;
}

  	/* @end */


/* @group FOOTER */

#footer {
	color: #999;
	margin: 0 auto;
	padding: 10px 0 0 0; }

#footer a:link, #footer a:visited {
	color: #999; }

#footer p {
    text-align:center;
	font-size: .9em;
	padding: 0;
	margin: 0; }

	/* @end */

/* @group WordPress */

.post {
	border-bottom:1px solid #ccc;
	margin-bottom:1em;
	padding-bottom:1em;
}
.navigation {
	font-size:1.2em;
	margin:1em 0;
	padding:1em 0;
}

.textwidget {
	margin-bottom:20px;
	margin-top:20px; }

.clear {
	clear: both; }

#tags {
    margin-bottom:35px; }

.alignright {
	float:right;
}
.alignleft {
	float:left;
}
.aligncenter {
	display:block;
	text-align:center;
}

img.alignright {
    border:5px solid #666;
    margin:0 0 10px 20px;

}
img.alignleft {
    border:5px solid #666;
    margin:0 20px 10px 0;
}

/* @end */

/* @group Misc */

.gutter {
    padding:4px 10px;
}
.float {
    width:320px;
    height:260px;
    margin-left:20px;
    float:left;
    overflow:hidden;
    border-top:1px solid #ccc;
}

#homebox {
    float:left;
    width:720px;
    margin-bottom:5px;
    border-bottom:2px solid #44B25B;
    background:transparent url(images/bg-vertline.png) center center repeat-y;
}
#homebox > div {
    width:360px;
    float:left;
}

.fifty {
    width:50%;
    float:left;
}

.cform textarea,
.cform input {
	width:250px;
}
.cform select {
	width:258px; /* attempt to have equal length */
}

/* Gravity Forms Stuff */
.yotpo_rating .ginput_container_radio li {
	display: inline-block;
	position: relative;
	width: 35px;
	height: 35px;
	margin-bottom: 0;
}

.yotpo_rating .ginput_container_radio li input {
	position: absolute;
	z-index: -9;
	width: 1;
	height: 1;
	overflow: hidden;
	top: 5px;
	left: 5px;
}

.yotpo_rating .ginput_container_radio li label {
	cursor: pointer;
	position: absolute;
	z-index: 3;
	width: 35px !important;
	height: 35px;
	margin: 0 !important;
	line-height: 1 !important;
	font-family: 'Glyphicons Halflings';
	font-style: normal;
	top: 1px;
	-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
}

.yotpo_rating .ginput_container_radio li input:checked + label:before {
	content: "\e006";
}

.yotpo_rating .ginput_container_radio li:hover label:before, .yotpo_rating .ginput_container_radio li.yotpo_hover label:before, .yotpo_rating .ginput_container_radio li.yotpo_checked label:before {
	content: "\e006";
	color: #f8ae44;
}

.yotpo_rating .ginput_container_radio li label:before {
	font-size: 30px !important;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	background: #fff;
	content: "\e007";
}


/* @end */


@media only screen and (max-width: 1010px) {

	* {
		box-sizing: border-box;
	}
	#container {
		width: 90%;
	}
	#content {
		background-image: url(images/bg-body.png);
		background-size: 200px;
	}
	#primaryContent {
		width: 100%;
		border-right: 0;
		float: none;
	}
	#secondaryContent {
		display: none;
	}
	#quote {
		display: none;
	}
	#nav li {
		padding: 0 5px;
	}
	#homebox {
		width: 100%;
	}
	#homebox > div {
		width: 50%;
	}
	.float {
		width: 100%;
		margin-left: 0;
		height: auto;
	}

}
@media only screen and (max-width: 940px) {

	#container {
		background-image: none;
		width: 98%;
		padding: 10px;
	}
	#logo {
		float: right;
		margin: -60px -2px 0 0;
	}
	#tagline a {
		margin-left: 15px;
	}
	#nav p {
		float: left;
		text-align: left;
		padding-left: 16px;
	}
	#nav ul {
		clear:left;
		padding-left: 12px;
	}
/*	#homebox {
		display: none;
	}
*/
}

@media only screen and (max-width: 720px) {

	#homebox > div img {
		width: 120px;
		height: auto;
		border-width: 3px;
		margin-top: 10px;
		margin-left: 15px;
	}

}

@media only screen and (max-width: 670px) {

	#homebox > div img {
		width: 110px;
		border-width: 2px;
		margin-top: 20px;
		margin-left: 10px;
	}

}

@media only screen and (max-width: 620px) {

	#homebox {
		background-position: 67%;
	}
	#homebox > div:first-of-type {
		width: 35%;
		float:right;
	}
	#homebox > div:first-of-type img {
		display: none;
	}
	#homebox > div:last-of-type {
		width: 65%;
	}

}

@media only screen and (max-width: 570px) {
	#logo {
		display: none;
	}
	#nav {
		padding-top: .7em;
	}
	#nav p {
		float: none;
		display: inline-block;
		text-align:center;
		width: 100%;
	}
	#nav ul {
		border: 1px solid #ccc;
		border-width: 1px 0;
		margin-top: .7em;
		padding: .5em 0;
	}
	#nav li {
		padding: 0;
		border-right: 0;
		margin: 0;
		width: 13%;
		display: inline-block;
		text-align: center;
	}
	#nav li:first-of-type,
	#nav li:last-of-type {
		width: 14%;
	}
	#homebox {
		background-image: none;
	}

	#homebox > div:first-of-type {
		display: none;
	}
	#homebox > div:last-of-type {
		width: 100%;
	}
	img.wp-image-910{
		display: none;
	}
	#primaryContent img {
		max-width: 50%;
		height: auto;
	}
	.fifty {
	    width: 100%;
	    float: none;
	}
}
@media only screen and (max-width: 470px) {
	#tagline a {
		width: 98%;
		background-size: contain;
		background-position: center center;
		margin: 0 auto;
	}
	div.alignright {
		float:none;
		width: 100% !important;
	}

}
