/*
Theme Name: RoyalGold
Theme URI: http://themeforest.net/user/liviu_cerchez
Version: 1.4.2
Author: liviu_cerchez
Author URI: http://themeforest.net/user/liviu_cerchez
Description: Fully responsive unique theme that looks great on any device.
Tags: light, one-column, left-sidebar, flexible-width, custom-menu, custom-colors, custom-background, featured-images, threaded-comments, custom-header, theme-options, translation-ready
License: GNU General Public License version 3.0 & Envato Regular/Extended License
License URI:  http://www.gnu.org/licenses/gpl-3.0.html & http://themeforest.net/licenses
Text Domain: royalgold
*/

/* reset */
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video { margin : 0; padding : 0; border : 0; outline : 0; font-size : 100%; vertical-align : baseline; background : transparent; }
article, aside, figure, footer, header, hgroup, nav, section { display : block; }

/* mouse selection */
::-moz-selection { color: #fff; background-color: #ff891e; text-shadow: none; }
::selection { color: #fff; background-color: #ff891e; text-shadow: none; }

/* general */
html { background: #f2f2f2 repeat top center fixed; -webkit-overflow-scrolling: touch; }
body { width: 100%; height: 100%; font-size: 14px; line-height: 24px; font-family: Helvetica, Arial, sans-serif; color: #222; overflow-x: hidden; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
h1, h2, h3, h4, h5 { font-weight: 400; overflow-wrap: break-word; -ms-word-wrap: break-word; word-wrap: break-word; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; }
h1 a, h2 a, h3 a, h4 a, h5 a { font-weight: inherit; }
h1 { font-size: 32px; line-height: 1.2; margin-bottom: 24px; }
h2 { font-size: 24px; line-height: 1.2; margin-bottom: 24px; }
h3 { font-size: 21px; line-height: 1.3; margin-bottom: 24px; }
h4 { font-size: 18px; line-height: 1.25; margin-bottom: 12px; }
h5 { font-size: 16px; margin-bottom: 12px; }
h6 { font-size: 14px; margin-bottom: 24px; letter-spacing: 1px; text-transform: uppercase; }
.no-bottom { margin-bottom: 0!important; }
.add-bottom, .tagcloud { margin-bottom: 24px!important; }

p, ol, ul, dl, pre { margin-bottom: 24px; }
.small { font-size: 90%; }
ul, ol { margin-left: 24px; list-style-position: inside; }
ul ul, ol ol, ul ol, ol ul { margin-left: 22px; margin-bottom: 0; }
ul { list-style-type: square; }
ol { list-style-type: decimal; }
ul.circle { list-style-type: circle; }
ul.disc { list-style-type: disc; }
ol.upper-roman { list-style-type: upper-roman; }
ol.lower-roman { list-style-type: lower-roman; }
ol.upper-alpha { list-style-type: upper-alpha; }
ol.lower-alpha { list-style-type: lower-alpha; }
ul.mdash, ul.links, .page-widget ul { margin-left: 0; list-style-type: none; }
ul.mdash li:before, .page-widget ul li:before { content: '\2014'; margin-right: 8px; position: relative; top: -1px; }
ul.links li h5 { padding-bottom: 5px; margin-bottom: 5px; border-bottom: 1px dotted #666; }
ul.links li h5:before { content: '\00BB'; margin-left: 7px; margin-right: 8px; position: relative; top: -1px; }
.list-bordered { list-style-type: none; margin-left: 0; padding: 0; }
.list-bordered li { margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px dotted #ddd; }

em { font-style: italic; }
strong { font-weight: bold; }
small { font-size: 80%; }
blockquote { position: relative; margin: 0 0 24px; padding-left: 24px; padding-right: 24px; border-left: 1px solid #777; font-family: Georgia, Times, "Times New Roman"; font-style: italic; color: #777; }
blockquote:before, blockquote:after { content: ''; }
blockquote:before { position: absolute; top: 0; left: 1px; border-left: 1px solid #777; height: 100%; }
blockquote cite { display: block; text-indent: 40px; position: relative; }
blockquote cite:before { content: "\201c"; font-weight: bold; font-style: normal; font: 94px/74px Arial; position: absolute; top: -2px; left: -36px; }
blockquote cite a, blockquote cite a:visited { color: #777; }

abbr[title] { border-bottom: 1px dotted #ddd; cursor: help; }
dfn { font-style: italic; }
ins { text-decoration: none; }
mark { font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: Monaco, "Courier New", monospace; font-size: 14px; line-height: 22px; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
sub, sup { position: relative; font-size: 11px; line-height: 0; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

hr { display: block; margin: 24px 0; padding: 0; height: 1px; border: 0; border-top: 1px solid #ddd; border-bottom: 1px solid #fff; }
img { max-width: 100%; height: auto; border-width: 0; vertical-align: middle; -ms-interpolation-mode: bicubic; }
p img.left { float: left; margin: 5px 12px 12px 0; }
p img.right { float: right; margin: 5px 0 12px 12px; }
svg:not(:root) { overflow: hidden; }
figure { margin-bottom: 24px; }
figure img { margin-bottom: 6px; }
figure figcaption { display: block; font-weight: normal; font-size: 14px; color: #888; }
iframe, embed { max-width: 100%; }

.float-left, .floatleft { float: left; }
.float-right, .floatright { float: right; }
.sticky, .gallery-caption, .bypostauthor { }
.aligncenter { display: block; margin: 0 auto; }
.alignright { float: right; margin: 0 0 12px 12px; }
.alignleft { float: left; margin: 0 12px 12px 0; }
.textcenter { text-align: center; }
.textright { text-align: right; }
.textleft { text-align: left; }
.screen-reader-text { position: absolute; top: -999em; left:-999em; }
span.highlight { background-color: #fff8be; padding-left: 2px; padding-right: 2px; }
.wp-caption { max-width: 100% !important; border: 1px solid #ddd; text-align: center; background-color: #fafafa; padding: 6px; margin-bottom: 12px; }
.wp-caption img { margin: 0; padding: 0; }
.wp-caption p.wp-caption-text { font-size: 12px; padding-top: 6px; margin: 0; }
.wp-caption dd { margin-bottom: 0; }
.wp-smiley { max-height: 1em; }
.gallery { margin-bottom: 24px!important; }
.gallery-item { margin-bottom: 0; margin-top: 0!important; }
.gallery-item img { border: 1px solid #fff!important; margin-top: -1px; }
.gallery-item .gallery-caption { margin-bottom: 0; }
.gallery > p, p:empty { display: none; }

.clearfix:after, .post:after, .gallery:after { content: ""; display: table; clear: both; }
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }

.widget_rss h3 img { position: relative; top: -2px; width: 13px; height: 13px; }
.widget_rss li { margin-bottom: 12px; }
.widget_rss li:last-child { margin-bottom: 0; }
.widget_rss .rss-date { display: block; color: #888; }

/* links */
a { color: #b75700; text-decoration: none; }
a:visited { color: #512700; }
.no-touch a:hover { color: #843f00; text-decoration: underline; }
a:focus { outline: thin dotted; color: #1e0e00; }
a:hover, a:active { outline: 0; }

/* table */
table { width: 100%; max-width: 100%; margin-bottom: 24px; border-collapse: collapse; border-spacing: 0; background-color: #fff; border: 1px solid #d9d9d9; }
table th, table td, table caption { padding: 4px; vertical-align: top; border: 1px solid #d9d9d9; font-size: 14px; line-height: 24px; text-align: left; }
table th, table caption { font-weight: bold; text-transform: uppercase; background-color: #ff891e; border: 1px solid #fe7900; color: #fff; }
table caption { text-align: center; border-bottom: 0; }
table thead th { vertical-align: bottom; }
table tbody + tbody { border-top: 2px solid #d9d9d9; }
table.table-striped tbody tr:nth-child(odd) td, table.table-striped tbody tr:nth-child(odd) th { background-color: #f9f9f9; }

/* buttons */
.button, button, input[type=submit], input[type=reset], input[type=button], .pagination .page-numbers { display: inline-block; padding: 8px 12px; margin-bottom: 24px; font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-weight: bold; text-transform: uppercase; vertical-align: middle; text-decoration: none; cursor: pointer; color: #fff; background-color: #ff891e; border: 0; -webkit-transition: all .25s linear; -moz-transition: all .25s linear; -ms-transition: all .25s linear; -o-transition: all .25s linear; transition: all .25s linear; }
.button:visited, button:visited, input[type=submit]:visited, input[type=reset]:visited, input[type=button]:visited, .pagination .page-numbers:visited, .button:hover, button:hover, input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover, .pagination .page-numbers:hover { color: #fff; text-decoration: none; }
.button:focus, button:focus, input[type=submit]:focus, input[type=reset]:focus, input[type=button]:focus, .pagination .page-numbers:focus, .button:hover, button:hover, input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover, .pagination .page-numbers:hover { background-color: #ea6f00; color: #fff; }
.button:active, button:active, input[type=submit]:active, input[type=reset]:active, input[type=button]:active { background-color: #d16300; }
.button.small, button.small, input[type=submit].small, input[type=reset].small, input[type=button].small { font-size: 11px; margin-bottom: 0; padding: 0 4px; }
.button.big, button.big, input[type=submit].big, input[type=reset].big, input[type=button].big { font-size: 21px; padding: 20px 29px; }
.button.full-width, button.full-width, input[type=submit].full-width, input[type=reset].full-width, input[type=button].full-width { width: 100%; padding-left: 0!important; padding-right: 0!important; text-align: center; }
.button.grey, button.grey, input[type=submit].grey, input[type=reset].grey, input[type=button].grey { background-color: #ccc; color: #111; }
.button.grey:focus, button.grey:focus, input[type=submit].grey:focus, input[type=reset].grey:focus, input[type=button].grey:focus, .button.grey:hover, button.grey:hover, input[type=submit].grey:hover, input[type=reset].grey:hover, input[type=button].grey:hover { background-color: #bfbfbf; }
.button.grey:active, button.grey:active, input[type=submit].grey:active, input[type=reset].grey:active, input[type=button].grey:active { background-color: #b3b3b3; }
.button.dark, button.dark, input[type=submit].dark, input[type=reset].dark, input[type=button].dark, .pagination .current { background-color: #333; color: #eaeaea; }
.button.dark:focus, button.dark:focus, input[type=submit].dark:focus, input[type=reset].dark:focus, input[type=button].dark:focus, .button.dark:hover, button.dark:hover, input[type=submit].dark:hover, input[type=reset].dark:hover, input[type=button].dark:hover { background-color: #4d4d4d; }
.button.dark:active, button.dark:active, input[type=submit].dark:active, input[type=reset].dark:active, input[type=button].dark:active { background-color: #595959; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* forms */
form { margin-bottom: 24px; }
label, legend { display: block; font-weight: bold; font-size: 13px; }
label.checkbox { margin-bottom: 12px; }
input[type=text], input[type=password], input[type=email], input[type=date], textarea, select { border: 1px solid #bfbfbf; outline: none; font-family: Helvetica, Arial, sans-serif; font-size: 13px; color: #111; background: #fff; width: 230px; max-width: 100%; display: block; margin: 0 0 12px; padding: 6px 4px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; }
input[type=text].full-width, input[type=password].full-width, input[type=email].full-width, input[type=date].full-width, textarea.full-width, select.full-width { width: 100%; }
input[type=text]:hover, input[type=password]:hover, input[type=email]:hover, input[type=date]:hover, textarea:hover, select:hover { border: 1px solid #a6a6a6; }
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=date]:focus, textarea:focus, select:focus { border: 1px solid #ff891e; -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .15); -moz-box-shadow: 0 0 3px rgba(0,0,0,.15); box-shadow: 0 0 3px rgba(0, 0, 0, .15); }
input[type=text]:focus:invalid, input[type=password]:focus:invalid, input[type=email]:focus:invalid, input[type=date]:focus:invalid, textarea:focus:invalid, select:focus:invalid { border-color: #e55; }
input[type=text][readonly], input[type=password][readonly], input[type=email][readonly], input[type=date][readonly], textarea[readonly], select[readonly] { opacity: 0.5; cursor: not-allowed; }
textarea { width: 450px; min-height: 60px; overflow: auto; }
input.inline { display: inline-block; }
select { width: 230px; }
.oldie select { width: 240px; }
.page-widget select { width: 100%; margin-bottom: 24px; }
.page-widget blockquote p cite { text-indent: 0; }
.page-widget blockquote p cite:before { display: none; }
input[type=checkbox], input[type=radio] { display: inline; position: relative; top: 1px; }
label span, legend span { font-weight: normal; font-size: 12px; }
::-webkit-input-placeholder { color: #ccc; }
:-moz-placeholder { color: #ccc; }
.wpcf7 input[type=text], .wpcf7 input[type=password], .wpcf7 input[type=email], .wpcf7 input[type=date], .wpcf7 textarea, .wpcf7 select, .wpcf7 input[type=submit] { margin-bottom: 0; }
div.wpcf7-response-output { margin: 0; }
div.wpcf7-validation-errors { border: 0; position: relative; margin-bottom: 12px; font-size: 13px; border-left: 3px solid #fff072; padding: 10px 12px; background-color: #fff8be; }
span.wpcf7-form-control-wrap { display: block; }
span.wpcf7-not-valid-tip { display: block; position: absolute; left: 0; top: 30px; width: auto; border: 0; font-size: 12px; line-height: 20px; padding: 0 5px; background-color: #fff8be; }

/* responsive video */
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background-color: rgba(0, 0, 0, .02); }
.video-container iframe, .video-container object, .video-container embed,  .video-container img, .video-container .map { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-wrapper { max-width: 100%; }

/* separators */
.sep { margin-bottom: 24px; height: 2px; border-top: 1px solid #808080; position: relative; clear: both; }
.sep span { display: block; position: absolute; left: 0; top: 1px; width: 100%; border-top: 1px solid #808080; }
.sep-margin-top { margin-top: 24px; }
.sep-no-margin { margin-bottom: 0; }

/* thumb */
.thumb { position: relative; display: inline-block; margin-bottom: 24px; }
.oldie .thumb { display: block; }
.thumb img { width: 100%; display: inline-block; }
.thumb .overlay { content: ''; display: none; position: absolute; z-index: 1; top: 0; left: 0; right: 0; bottom: 0; background: #000; }
.no-touch .thumb .overlay { display: block; }
.thumb .icon-fullsize, .thumb .icon-link, .thumb .icon-video { position: absolute; z-index: 2; top: 50%; left: 50%; width: 20px; height: 20px; margin-left: -10px; margin-top: -10px; background: url(images/sprite.png) no-repeat -999px 0; }
.thumb .overlay, .thumb .icon-fullsize, .thumb .icon-link, .thumb .icon-video { display: block; opacity: 0; filter: alpha(opacity=0); -webkit-transition: all .25s linear; -moz-transition: all .25s linear; -ms-transition: all .25s linear; -o-transition: all .25s linear; transition: all .25s linear; }
.thumb .icon-link { background-position: 0 -60px; }
.thumb .icon-fullsize { background-position: -20px -60px; }
.thumb .icon-video { width: 17px; margin-left: -8px; background-position: -40px -60px; }
.thumb:hover .overlay { opacity: 0.4; filter: alpha(opacity=40); }
.thumb:hover .icon-fullsize, .thumb:hover .icon-link, .thumb:hover .icon-video { opacity: 1; filter: none; -webkit-transition: none; -moz-transition: none; -ms-transition: none; -o-transition: none; transition: none; }

/* collapse */
.collapse { margin-left: 0; }
.collapse li { list-style-type: none; }
.collapse .collapse-title { cursor: pointer; padding-bottom: 5px; margin-bottom: 0; color: #b75700; border-bottom: 1px dotted #666; }
.collapse .collapse-title:hover { color: #843f00; }
.collapse .collapse-title:before { content: '+'; margin-left: 7px; margin-right: 8px; font-size: 15px; font-family: Arial, sans-serif; }
.collapse .collapse-content { height: 0; margin-left: 22px; margin-bottom: 5px; overflow: hidden; opacity: 0; filter: alpha(opacity=0); }
.collapse .active .collapse-title { color: #1a1a1a; }
.collapse .active .collapse-title:before, .no-js .collapse .collapse-title:before { content: '\2013'; position: relative; top: -2px; }
.collapse .active .collapse-content, .no-js .collapse .collapse-content { padding-top: 5px; height: auto; opacity: 1; filter: none; }
.collapse .active .collapse-content { -webkit-transition: all .25s linear; -moz-transition: all .25s linear; -ms-transition: all .25s linear; -o-transition: all .25s linear; transition: all .25s linear; }

/* dropcap */
.dropcap { float: left; background-color: #bbb; width: 44px; height: 44px; line-height: 44px; text-align: center; font-size: 23px; margin: 2px 8px 0 0; }
.dropcap.color { background-color: #ff891e; color: #fff; }

/* alert boxes */
.alert { position: relative; margin-bottom: 24px; font-size: 13px; border-left: 3px solid #c4c4c4; padding: 10px 12px; }
.alert.info { background-color: #fff; }
.alert.success { background-color: #dbfac9; border-color: #acf483; }
.alert.notice { background-color: #fff8be; border-color: #fff072; }
.alert.error { background-color: #ffc7b9; border-color: #ff8a6d; }

/* tooltips */
#tooltip { display: none; opacity: 0; text-align: center; color: #fff; background-color: #222; position: absolute; left: 0; top: 0; z-index: 100; font-size: 11px; line-height: 1; padding: 8px 10px; max-width: 100%; border-radius: 2px; }
#tooltip:after { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid #222; content: ''; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; }
.oldie #tooltip:after { bottom: -3px; }
#tooltip.top:after { border-top-color: transparent; border-bottom: 4px solid #222; top: -8px; bottom: auto; }
#tooltip.left:after { left: 4px; margin: 0; }
#tooltip.right:after { right: 4px; left: auto; margin: 0; }

/* social icons */
.icon-social { display: inline-block; width: 16px; height: 16px; margin-right: 2px; background: url(images/sprite.png) no-repeat -999px 0; }
.icon-social:hover { opacity: 0.75; filter: alpha(opacity=75); }
.icon-twitter { background-position: -88px 0; }
.icon-facebook { background-position: -120px 0; }
.icon-rss { background-position: -104px 0; }
.icon-dribbble { background-position: -136px 0; }
.icon-googleplus { background-position: -152px 0; }
.icon-pinterest { background-position: -168px 0; }
.icon-instagram { background-position: -184px 0; }
.icon-evernote { background-position: -88px -16px; }
.icon-vimeo { background-position: -104px -16px; }
.icon-youtube { background-position: -120px -16px; }
.icon-linkedin { background-position: -136px -16px; }
.icon-forrst { background-position: -152px -16px; }
.icon-flickr { background-position: -168px -16px; }
.icon-behance { background-position: -88px -32px; }
.icon-zerply { background-position: -104px -32px; }
.icon-tumblr { background-position: -120px -32px; }
.icon-email { background-position: -136px -32px; }
.icon-digg { background-position: -152px -32px; }
.icon-wordpress { background-position: -168px -32px; }

/* supersized */
#supersized-loader { position: fixed; z-index: -1; top: 80px; left: 50%; width: 40px; height: 40px; margin: 0 0 0 -20px; text-indent: -999em; background: #fff url('images/loading.gif') no-repeat center center; border-radius: 2px; opacity: 0.5; filter: alpha(opacity=50); }
#supersized { display: block; position: fixed; left: 0; top: 0; overflow: hidden; z-index: -999; height: 100%; width: 100%; margin: 0; visibility: hidden; background-color: #fff; background-color: rgba(255, 255, 255, .9); }
#supersized img { width: auto; height: auto; max-height: none; max-width: none; position: relative; display: none; outline: none; border: none; }
#supersized li { display: block; list-style: none; z-index: -30; position: fixed; overflow: hidden; top: 0; left: 0; width: 100%; height: 100%; }
#supersized li.prevslide { z-index: -20; }
#supersized li.activeslide { z-index: -10; }
#supersized li.image-loading { background: url(images/loading.gif) no-repeat center center; width: 100%; height: 100%; }
#supersized li.image-loading img { visibility: hidden; }
#supersized li.prevslide img, #supersized li.activeslide img { display: inline; }
#supersized a { width: 100%; height: 100%; display: block; }
.page-template-template-fullpage-php #supersized { right: 0; height: 100%; width: 100%; }
#supersized.speed img { -ms-interpolation-mode: nearest-neighbor; image-rendering: -moz-crisp-edges; }
#supersized.quality img { -ms-interpolation-mode: bicubic; image-rendering: optimizeQuality; }

/* header menu */
#header { margin-left: 20px; margin-bottom: 10px; width: 140px; z-index: 8; background: #fff repeat top center fixed; -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .25); -moz-box-shadow: 0 0 5px rgba(0,0,0,.25); box-shadow: 0 0 5px rgba(0, 0, 0, .25); }
#header #logo { padding: 15px; }
#header #logo h1 { margin-bottom: 0; }
#header #logo.text-version h1 { font-size: 21px; text-align: center; }
#header #logo h1 a { display: block; text-decoration: none; }
#header #logo h1 a img { display: block; }
#header #logo .menu-toggle { padding-top: 17px; height: 8px; }
.expand-supersized #header #logo .menu-toggle { display: none; }
#header #logo .menu-toggle span { display: block; width: 20px; height: 10px; margin: 0 auto; cursor: pointer; background: url(images/sprite.png) no-repeat -68px -10px; opacity: 0.5; filter: alpha(opacity=50); -webkit-transition: opacity 200ms ease-in-out; -moz-transition: opacity 200ms ease-in-out; -ms-transition: opacity 200ms ease-in-out; -o-transition: opacity 200ms ease-in-out; transition: opacity 200ms ease-in-out; }
.no-touch #header #logo .menu-toggle span:hover { opacity: 1; filter: none; }
#header nav { height: auto; overflow: hidden; opacity: 1; -webkit-transition: height,opacity 200ms ease-in-out; -moz-transition: height,opacity 200ms ease-in-out; -ms-transition: height,opacity 200ms ease-in-out; -o-transition: height,opacity 200ms ease-in-out; transition: height,opacity 200ms ease-in-out; }
#header nav ul { margin: 0; font-size: 15px; list-style: none; }
#header nav li { display: block; border-top: 1px solid #ddd; }
#header nav li a { display: block; padding: 10px 15px; color: #333; -webkit-transition: all .2s linear; -moz-transition: all .2s linear; -ms-transition: all .2s linear; -o-transition: all .2s linear; transition: all .2s linear; }
.no-touch #header nav li a:hover { text-decoration: none; background-color: #E6E6E6; background-color: rgba(0, 0, 0, .08); }
#header nav li.current_page_item > a { color: #ff891e; }
#header nav li.menu-item-has-children > a:after, #header nav li.page_item_has_children > a:after { float: right; content: '\00a0\002B'; font-family: Helvetica, Arial, sans-serif; position: relative; top: -1px; }
#header nav li.expand-menu > a:after { float: right; content: '\00a0\2013'; }
#header nav li ul { display: none; font-size: 12px; }
#header nav li ul li a { padding-left: 25px; }
#header nav li.expand-menu > ul { display: block; }

#header.hide-menu nav, .expand-supersized #header nav { height: 0; opacity: 0; filter: alpha(opacity=0); }
#header.hide-menu #logo .menu-toggle span { background-position: -68px 0; }
.no-js #header.hide-menu nav { height: auto; opacity: 1; filter: none; }

/* main */
#main { margin-top: 40px; z-index: 2; background: #fff repeat top center fixed; }
#main .wrapper { padding: 20px 20px 1px 20px; }
.staff-title h4 { float: left; }
.staff-title .social-icons { float: right; margin-top: 3px; }

/* footer */
#footer { padding: 10px 20px; z-index: 3; font-size: 11px; background: #fff repeat top center fixed; }
#footer .right-side a { border-left: 1px solid #aaa; padding-left: 10px; margin-left: 7px; }

.searchform { position: relative; }
.searchform input { margin-bottom: 0; }
.searchform input[type=text] { width: 100%; padding-right: 80px; }
.searchform input[type=submit] { position: absolute; top: 0; right: 0; height: 30px; padding-top: 6px; padding-bottom: 6px; margin: 0; }

/* post item */
.post { position: relative; }
.post h3 { margin-bottom: 2px; margin-right: 32px; }
.post h3 a { color: #222; }
.post h3 a:hover { color: #843f00; }
.post .date { font-size: 12px; margin-bottom: 6px; color: #888; }
.post .meta { margin-bottom: 12px; color: #888; background-color: #fff; padding: 8px 12px; font-size: 12px; }
.post .meta p { margin-bottom: 0; }
.post .meta p span {  position: relative; }
.post .meta p span:before { content: ''; float: left; position: relative; top: 3px; width: 13px; height: 13px; margin-top: 2px; margin-right: 4px; background: url(images/sprite.png) no-repeat -999px 0; }
.post .meta p span.permalink:before { background-position: -82px -48px; }
.post .meta p span.comments:before { width: 15px; background-position: -95px -48px; }
.post .meta p span.tags:before { margin-top: 3px; background-position: -110px -48px; }
.post .thumb { display: block; margin-bottom: 8px; }
.post a.all { position: absolute; top: 0; right: 0; display: block; width: 30px; height: 30px; background: url(images/sprite.png) no-repeat -38px -30px; }
.post a.all:hover { background-position: -38px 0; }

/* comments */
.commentlist { list-style: none; margin-left: 0; }
.commentlist .comment { border-top: 1px solid #c4c4c4; padding-top: 24px; margin-top: 24px; }
.commentlist .bypostauthor { border-top: 3px solid #ff891e; }
.commentlist .comment .comment-author { float: left; width: 52px; margin-right: 10px; }
.commentlist .comment .comment-author img { display: block; }
.commentlist .comment h6 { margin-bottom: 5px; }
.commentlist .comment a.comment-reply-link { font-weight: normal; text-transform: none; font-size: 11px; margin-left: 5px; position: relative; top: -1px; }
.commentlist .comment p { font-size: 13px; line-height: 20px; margin-bottom: 0; margin-top: 5px; }
.commentlist .comment p.date { font-size: 12px; margin-bottom: 6px; }
.commentlist .comment p.date:before { content: ''; float: left; width: 13px; height: 15px; margin-right: 6px; position: relative; top: 1px; left: 1px; background: url(images/sprite.png) no-repeat -68px -48px; }
.commentlist .comment .children { margin: 0 0 0 2em; list-style: none; }
#comments #respond span.required { font-weight: 700; }

/* panorama plugin custom style */
.page-template-template-nocontent-php .panorama360 .controls { position: fixed; left: auto; right: 10px; bottom: 10px; }

.page-template-template-nocontent-php .panorama360 .controls a { padding: 0; margin-left: 5px; margin-right: 0; width: 30px; height: 30px; opacity: 0.5; filter: alpha(opacity=50); background-color: #fff; cursor: pointer; }
.page-template-template-nocontent-php .panorama360 .controls a span { display: block; margin-top: 5px; background-image: url(images/sprite.png)!important; }
.page-template-template-nocontent-php .panorama360 .controls a.prev span { height: 20px; width: 13px; margin-left: 8px; background-position: -143px -48px; }
.page-template-template-nocontent-php .panorama360 .controls a.next span { height: 20px; width: 13px; margin-left: 8px; background-position: -156px -48px; }
.page-template-template-nocontent-php .panorama360 .controls a.stop span { height: 12px; width: 12px; margin-top: 9px; margin-left: 9px; background: #222; }
.page-template-template-nocontent-php .panorama360 a.title, .page-template-template-nocontent-php .panorama360 .title { padding: 0 10px; right: 115px; bottom: 10px; background-color: #fff; color: #222; font: inherit; line-height: 30px; font-weight: bold; }
.page-template-template-nocontent-php #header { position: absolute; top: 0; max-height: none; margin-bottom: 0; }
.page-template-template-nocontent-php.admin-bar #header { top: 46px; }
.page-template-template-fullpage-php #header { position: relative; margin-bottom: 80px; }
.page-template-template-fullpage-php #footer { position: fixed; left: 0; bottom: 0; right: 0; }

@media (min-width: 768px) {
	#header { position: fixed; width: 170px; left: 40px; margin-left: 0; max-height: 100%; overflow-y: auto; }
	.page-template-template-fullpage-php #header { margin-bottom: 40px; }
	#header #logo { padding: 20px; }
	#header nav ul { font-size: 16px; }
	#header nav ul ul { font-size: 14px; }
	#header nav ul ul ul { font-size: 13px; }
	#header nav ul li a { padding: 10px 20px; }
	#header nav ul li ul a { padding-left: 25px; }

	#main { position: absolute; width: 300px; top: 0; right: 0; min-height: 100%; margin-top: 0; }
	body.admin-bar #main { padding-top: 32px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; }
	#main .wrapper { padding: 20px 30px; }

	#supersized-loader { top: 50%; margin: -20px 0 0 -170px; }
	.expand-supersized #supersized-loader, .page-template-template-fullscreen-php #supersized-loader { margin-left: -20px; }
	#supersized { width: auto; right: 300px; }
	.expand-supersized #supersized, .page-template-template-fullscreen-php #supersized { width: 100%; right: 0; }
	.supersized-fullscreen, .supersized-prev, .supersized-next { display: none; position: fixed; z-index: 5; bottom: 47px; width: 30px; height: 30px; opacity: 0.5; filter: alpha(opacity=50); background-color: #fff; cursor: pointer; -webkit-transition: opacity .25s linear; -moz-transition: opacity .25s linear; -ms-transition: opacity .25s linear; -o-transition: opacity .25s linear; transition: opacity .25s linear; }
	.expand-supersized .supersized-fullscreen, .expand-supersized .supersized-prev, .expand-supersized .supersized-next { bottom: 20px; }
	.supersized-fullscreen:hover, .supersized-prev:hover, .supersized-next:hover { opacity: 1; filter: none; }
	.supersized-fullscreen span, .supersized-prev span, .supersized-next span { display: block; height: 20px; margin-top: 5px; background-image: url(images/sprite.png); }
	.supersized-fullscreen { display: block; right: 320px; }
	.expand-supersized .supersized-fullscreen, .page-template-template-fullpage-php .supersized-fullscreen { right: 20px; }
	.supersized-fullscreen span { width: 20px; margin-left: 5px; background-position: -123px -48px; }
	.supersized-prev { right: 390px; }
	.expand-supersized .supersized-prev, .page-template-template-fullpage-php .supersized-prev { right: 90px; }
	.supersized-prev span { width: 13px; margin-left: 8px; background-position: -143px -48px; }
	.supersized-next { right: 355px; }
	.expand-supersized .supersized-next, .page-template-template-fullpage-php .supersized-next { right: 55px; }
	.supersized-next span { width: 13px; margin-left: 9px; background-position: -156px -48px; }

	#footer { position: fixed; left: 0; bottom: 0; right: 300px; margin-top: 0; height: 16px; line-height: 16px; padding: 6px 0; }
	.page-template-template-fullpage-php #footer { right: 0; }
	#footer .left-side { float: left; margin-left: 6px; }
	#footer .right-side { float: right; margin-right: 6px; }

	.expand-supersized #main, .expand-supersized #footer { display: none; }
}

@media (min-width: 782px) {
	.page-template-template-nocontent-php.admin-bar #header { top: 32px; }
}
@media (min-width: 992px) {
	#main { width: 360px; }
	#footer { right: 360px; }
	#supersized { right: 360px; }
	#supersized-loader { margin-left: -200px; }
	.supersized-fullscreen { right: 380px; }
	.supersized-next { right: 415px; }
	.supersized-prev { right: 450px; }
}

/* retina display */
@media only screen and (min-width: 480px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
	.thumb .icon-fullsize, .thumb .icon-link, .thumb .icon-video, .icon-social, #header #logo .menu-toggle span, .post .meta p span:before, .post a.all, .commentlist .comment p.date:before, .page-template-template-nocontent-php .panorama360 .controls a span, .supersized-fullscreen span, .supersized-prev span, .supersized-next span { background-image: url(images/sprite2.png)!important; -webkit-background-size: 200px 80px; -moz-background-size: 200px 80px; background-size: 200px 80px; }
	.oldie .thumb .icon-fullsize, .oldie .thumb .icon-link, .oldie .thumb .icon-video, .oldie .icon-social, .oldie #header #logo .menu-toggle span, .oldie .post .meta p span:before, .oldie .post a.all, .oldie .commentlist .comment p.date:before, .oldie .page-template-template-nocontent-php .panorama360 .controls a span, .oldie .supersized-fullscreen span, .oldie .supersized-prev span, .oldie .supersized-next span { background-image: url(images/sprite.png)!important; }
}