/*
www.devsaran.com
*/


/* =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, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

/* remember to define focus styles! */
:focus {
  outline: 0;
}
body {
  background: #fff;
  line-height: 1;
}
ol, ul {
  list-style: none;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: separate;
  border-spacing: 0;
}
caption, th, td {
  font-weight: normal;
  text-align: left;
}

blockquote, q {
  quotes:none;
  border: 1px solid #bbbbbb;
  background: #d8d8d8 url(images/quote.png) no-repeat;
  padding: 10px 5px 5px 47px;
  text-shadow: 1px 1px #fff;
  margin: 5px 0;
  border-radius: 7px;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}
code {
  background: #d8d8d8;
  text-shadow: 1px 1px #fff;
  border: 1px solid #bbbbbb;
  display: block;
  padding: 7px;
  margin: 5px 0;
  border-radius: 7px;
}
a img {
  border: 0;
}

/* Block elements */
header, hgroup, footer, section, article, aside {
  display: block;
}

/* Body, Common Classes & Wrap */
body { 
  background: #eee url("images/main-bg.png") repeat; 
  nowhitespace: afterproperty; 
  font: 12px/1.8 'Helvetica Neue', Helvetica, Arial, sans-serif; 
  color: #444; 
  -webkit-font-smoothing: antialiased; 
  -webkit-text-size-adjust: 100%; 
}
body a { 
  color: #f15a23 
} 
body a:hover { 
  text-decoration: none; 
  color: #000 
}

pre{
  margin: 20px 0;
  background: #eee;
  border: 1px solid #ddd;
  padding: 10px;
  white-space: pre-wrap;  /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla */
  white-space: -pre-wrap;  /* Opera 4-6 */
  white-space: -o-pre-wrap;  /* Opera 7 */
  word-wrap: break-word;  /* Internet Explorer 5.5+ */
}

.remove-margin { margin-right: 0 !important }
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clear { clear: both }


/*  Structure  */

#wrap { 
  margin-top: 25px; 
  background: #fff; 
  -webkit-box-shadow: 
  0px 0px 6px rgba(0, 0, 0, 0.15); 
  -moz-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.15); 
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.15); 
  margin-bottom: 25px;
}

.outerbox{ 
  width: 970px; 
  margin: 0 auto; 
  -moz-box-sizing: border-box; 
  -webkit-box-sizing: border-box; 
  box-sizing: border-box;  
}

#main-content { 
  background: #fff; 
  padding: 25px; 
}

img{ max-width: 100%; }

h1, h2, h3, h4, h5, h6 { font-weight: bold; }
h1, h2, h3, h4, h5, h6 { color: #444 }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #444 }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: #f15a23 }
h2, h3, h4, h5, h6 { margin: 30px 0 20px; font-weight: 600; }
h1 { font-size: 24px; margin: 0 0 20px; }
h2 { font-size: 18px }
h3 { font-size: 16px }
h4 { font-size: 14px }
h5 { font-size: 12px }
h6 { font-size: 11px }

p { margin: 0 0 20px }
p img { margin: 0 }
em { font-style: italic }
strong { font-weight: bold }
small { font-size: 80% }
hr { border: solid rgba(0, 0, 0, 0.2); border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }
p a, p a:visited { line-height: inherit }
a:link { text-decoration: none }
a:focus { outline: 0 }
a { outline: 0 }
p a, p a:visited { line-height: inherit }
a:link { text-decoration: none }
a:focus { outline: 0 }

/* Text elements */

ul, ol {
  margin: 0 0 1.5em 2em;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
  margin-bottom: 0;
  margin-left: 1em;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0 1.5em 1.5em;
}

dfn, cite, i {
  font-style: italic;
}
address {
  margin: 0 0 1.5em;
}

abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}
mark, ins {
  background: #fff9c0;
  text-decoration: none;
}
sup,
sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  bottom: 1ex;
}
sub {
  top: .5ex;
}
small {
  font-size: 75%;
}
big {
  font-size: 125%;
}
figure {
  margin: 0;
}
table {
  margin: 0 0 1.5em;
  width: 100%;
  border:1px solid #ddd;
  border-right:none;
  background:#fff;
}

th {
  font-weight: bold;
  padding:10px 10px;
  background:#555;
  color:#fff;
}

tr{
  padding:5px 5px;
}

td{
  padding:5px 10px;
  border-top:1px solid #ddd;
  border-right:1px solid #ddd;
}

/*grids*/
.grid-container{position: relative; margin-right: -25px; }
.grid-1,
.grid-2,
.grid-3,
.grid-4,
.grid-5,
.grid-6{ display: block; float: left; margin-right: 20px; margin-bottom: 20px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

.grid-1{ width: 920px; }
.grid-2{ width: 450px; }
.grid-3{ width: 290px; margin-right: 25px; margin-bottom: 25px; }
.grid-4{ width: 215px; }
.grid-5{ width: 168px; }
.grid-6{ width: 140px; margin-right: 16px; margin-bottom: 16px; }

/*classes to remove margins*/
.no-right-margin{ margin-right: 0; }
.no-btm-margin{ margin-bottom: 0; }

/*floats*/
.float-left{ float: left; }
.float-right{ float: right; }


/* Header
================================================== */
#header { position: relative; padding: 40px 25px; }
#header-image{ display: block; border-top: 5px solid #eee; }

/*logo*/
#logo{ float: left }
#logo a { font-weight: 700; padding: 0px; margin: 0px; text-decoration: none; display: inline-block; }
#logo h1 a, #logo h2 a { color: #000; }
#logo h1 a:hover, #logo h2 a:hover { color: #f15a23; }
#logo-img img{ float: left; padding: 0 10px 10px; }
#logo h1, #logo h2 { font-size: 32px; margin: 0 !important; line-height: 1em !important; }
#logo h3.site-slogan{ font-style: italic; font-family: Georgia, "Times New Roman", Times, serif; margin: 0; font-size: 12px; font-weight: normal; }


#header #search-block { float: right; width: 220px; }
#search-block #search-block-form{ float: right; padding: 15px; clear:both; }

/* Main Navigation
================================================== */
#navigation { background: #383838; height: 45px; border-bottom: 5px solid #eee; position: relative; }

/* Superfish Core
================================================== */
.sf-menu, .sf-menu * { margin: 0; padding: 0; list-style: none; }
.sf-menu { line-height: 1.0 }
.sf-menu ul { position: absolute; top: -999em; width: 180px; }
.sf-menu ul li { width: 100% }
.sf-menu li:hover { visibility: inherit }
.sf-menu li { float: left; position: relative; }
.sf-menu a { display: block; position: relative; }
.sf-menu li:hover ul, .sf-menu li.sfHover ul { left: 0px; top: 50px; z-index: 99; }
ul.sf-menu li:hover li ul, ul.sf-menu li.sfHover li ul { top: -999em }
ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul { left: 180px; top: 1px; }

#navigation .sf-menu > li:hover > ul, .sf-menu li.sfHover > ul { top: 45px; padding-top: 1px }
#navigation ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul,
ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul { left: 190px; top: -1px }

#navigation .sf-menu { float: left; border-right: 1px solid rgba(255,255,255, 0.1); }
#navigation .sf-menu a { font-size: 12px; height: 45px; line-height: 45px; padding: 0 25px; text-decoration: none; font-weight: 700; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out }
#navigation .sf-menu li { float: left; position: relative; } 
#navigation .sf-menu > li { border-left: 1px solid rgba(255,255,255, 0.1); border-right: 1px solid rgba(0,0,0,1); }
#navigation .sf-menu > li:first-child { border-left: none; }
#navigation .sf-menu li:first-child > a, .sf-menu li:first-child > a:hover{ border-left: none; }
#navigation .sf-menu > li > a:hover, #navigation .sf-menu > li.sfHover > a { color: #fff; background: #2e2e2e; }
#main-menu > .sf-menu > li > a.active,
#main-menu > .sf-menu > li > a.active:hover,
#main-menu > .sf-menu > li > a.active-trail,
#main-menu > .sf-menu > li > a.active-trail:hover{ color: #fff; background: #f15a23 !important; }

/*drop-down styles*/
#navigation .sf-menu ul { position: absolute; nowhitespace: afterproperty; top: -999em; background: #383838; width: 190px; -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1); box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1); z-index: 9999; }
#navigation .sf-menu ul li:first-child { border-top: 0 }
#navigation .sf-menu ul li:last-child { border-bottom: 0 }
#navigation .sf-menu a { display: block; position: relative; }
#navigation ul ul { padding-top: 0; z-index: 1 !important; }
#navigation .sf-menu ul li > a.active,
#navigation .sf-menu ul li > a.active-trail { color: #fff; background-color: #2e2e2e; }
#navigation li.sfHover { color: #000 }
#navigation .sf-menu ul a { display: block; padding: 1.4em 1.4em; }
#navigation .sf-menu ul li { border-top: 1px solid rgba(255,255,255, 0.1); border-bottom: 1px solid rgba(0,0,0,1); }
#navigation .sf-menu ul a { color: #888; padding: 17px 15px; height: auto; margin: 0px; border: 0px; line-height: 1em; font-size: 11px; font-weight: normal; text-shadow: none;}
#navigation .sf-menu ul li > a:hover { color: #fff; background-color: #2e2e2e; background-image: none; }
#navigation ul ul li { border-left: none; border-right: none; }
#navigation .sf-menu ul ul{ border-top: 1px solid #444; }
#navigation .sf-sub-indicator + .sf-sub-indicator { display: none; }

#navigation ul.menu { border: none; list-style: none; }
#navigation ul.menu li { margin: 0; }
#navigation ul li.expanded { list-style:none; }
#navigation ul li.collapsed { list-style:none; }
#navigation ul li.leaf { list-style:none; }
#navigation li.expanded, li.collapsed, li.leaf { margin: 0; padding: 0; }

/* Social
================================================== */
#social { position: absolute; right: 25px; top: 50%; margin-top: -10px; list-style: none; margin-bottom: 10px; }
#social li { display: inline-block; margin-left: 7px; }
#social a { height: 20px; display: block; float: left; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out }
#social a img { height: 20px; width: 20px; -moz-opacity: 0.8; -khtml-opacity: 0.8; opacity: 0.8; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out } 
#social a:hover img { display: block; -moz-opacity: 1.0; -khtml-opacity: 1.0; opacity: 1.0 }


/* Slider
================================================== */

/*home slider*/
#full-slider{ margin: -30px -25px 25px; border-bottom: 5px solid #eee; }

/* FlexSlider
================================================== */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/*main*/
.flexslider-container { position: relative; }
.flexslider { position: relative; zoom: 1; }
.flexslider ul{ margin: 0; }
.flexslider li.slide{ margin: 0; position: relative; }

/*control nav*/
.flex-control-nav{ height: 8px; position: absolute; right: 20px; bottom: 20px }
.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline; }
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {width: 8px; height: 8px; display: block; background: url("images/bullets.png") no-repeat 0 0; cursor: pointer; text-indent: -9999px;}
.flex-control-nav li a:hover {background-position: -9px 0; }
.flex-control-nav li a.flex-active {background-position: -9px 0; cursor: default;}

/*next/prev arrows*/
.flex-direction-nav li a.flex-next, .flex-direction-nav li a.flex-prev { position: absolute; display: block; width: 25px; height: 25px; line-height: 25px; position: absolute; bottom: 20px; cursor: pointer; font-size: 10px; text-align: center; background: #000; color: #fff !important; opacity: 0.7; -moz-opacity: 0.7; -webkit-opacity: 0.7 }
.flex-direction-nav li a.flex-next { left: 50px; }
.flex-direction-nav li a.flex-prev { left: 20px; }
.flex-direction-nav li a:hover{ opacity: 1; background: #f15a23; color: #fff !important }

/* slider caption */
.flexslider-container .flex-caption { text-shadow: none; position: absolute; left: 20px; top: 20px; text-align: left; margin: 0; background: #000; opacity: 0.8; -moz-opacity: 0.8; -webkit-opacity: 0.8; padding: 20px; font-size: 13px; color: #fff; font-weight: bold; }
.flexslider-container .flex-caption h2{ color: #fff; margin: 0; }
.flexslider-container .flex-caption p { margin: 0 0; font-size: 12px; color: #ccc;  }
.flexslider-container .flex-caption p:last-child{ margin: 0 }
.flexslider-container .flex-caption a{ color: #ef4135 !important }
.flexslider-container .flex-caption a:hover{ text-decoration: underline }


#breadcrumbs {
  border-bottom: 1px solid #EEEEEE;
  font-size: 11px;
  margin-bottom: 20px;
  padding-bottom: 5px;
}

#content {
  display: inline;
  margin: 0;
  margin-top: 15px;
  padding-bottom: 25px;
}

body.sidebar-first #content {
  float: left; 
  width: 640px;
  margin-top: 15px;
  padding-bottom: 25px;
}

.node-teaser {
  border-bottom: 1px solid #EEEEEE;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.node h2.title {
  font-size: 21px;
  line-height: 25px;
  margin: 8px 0;
}

h1.page-title {
  color: #000000;
  font-size: 24px;
  line-height: 1.2em;
  margin: 8px 0;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.6);
}

#search-block .block,
#preface-wrap .block,
.region-header .block,
.region-footer .block, 
.region-content-top .block{
  margin: 0px 0px 25px 0px;
}

#search-block .block > h2,
#preface-wrap .block > h2,
.region-header .block > h2,
.region-footer .block > h2, 
.region-content-top .block > h2{
  font-size: 14px; 
  padding-bottom: 10px;
  margin: 0;
}

#sidebar { 
  float: right; 
  width: 250px; 
  padding-bottom: 25px;
  margin-top: 15px;
}

#sidebar .block {
  margin: 0px 0px 25px 0px;
}

#sidebar .block > h2 {
  font-size: 14px;
  height: 35px;
  line-height: 35px;
  margin: 10px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
}


/* Footer
================================================== */

/*footer main*/
#footer { color: #9f9f9f; position: relative; padding: 25px; background: #2d2d2d; font-size: 12px; min-height: 5px; border-top: 5px solid #eee; }
#footer a { color: #999 }
#footer a:hover { color: #cecece }
#footer ul { margin: 0 }

#footer .block > h2{ font-size: 13px; color: #ccc; border-bottom: 1px solid #444444; padding-bottom: 5px; margin: 0 0 10px }

/*footer bottom*/
#footer-bottom { color: #9f9f9f; padding: 10px 25px; font-size: 11px; background-color: #222; border-top: 1px solid #333;  }
#footer-bottom a { color: #ccc }
#footer-bottom a:hover { color: #fff }
#copyright { font-size: 11px; }
#back-to-top{ text-align: right }

/* -------------- Form Elements  ------------- */

fieldset { background: #ffffff; border: 1px solid #cccccc; margin-top: 10px; margin-bottom: 32px;
padding: 0 0 10px; position: relative; top: 12px; /* Offsets the negative margin of legends */
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.fieldset-wrapper { margin-top: 25px; }

.node-form .vertical-tabs .fieldset-wrapper { margin-top: 0; }

.filter-wrapper { top: 0; padding: 1em 0 0.2em;
-khtml-border-radius-topright: 0; -khtml-border-radius-topleft: 0; -moz-border-radius-topright: 0; -moz-border-radius-topleft: 0;
-webkit-border-top-left-radius: 0; -webkit-border-top-right-radius: 0; border-top-left-radius: 0; border-top-right-radius: 0; }

.filter-help a { font-size: 0.857em; padding: 2px 20px 0; }

.filter-wrapper .form-item label { margin-right: 10px; }

.filter-wrapper .form-item { padding: 0 0 0.5em 0.5em; }

.filter-guidelines { padding: 0 1.5em 0 0.5em; }

fieldset.collapsed { background: transparent; -khtml-border-radius: 0; -moz-border-radius: 0;  -webkit-border-radius: 0; border-radius: 0; }

fieldset legend { background: #dbdbdb; border: 1px solid #ccc; border-bottom: none; display: block; height: 2em;
left: -1px; line-height: 2; padding: 0; position: absolute; text-indent: 10px; text-shadow: 0 1px 0 #fff; top: -12px; width: 100%;
-khtml-border-radius-topleft: 4px; -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; 
-khtml-border-radius-topright: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }

fieldset.collapsed legend { -khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

fieldset .fieldset-wrapper { padding: 0 10px; }

fieldset .fieldset-description { margin-top: 5px; margin-bottom: 1em; line-height: 1.4; font-style: italic; }

input { margin: 2px 0; padding: 4px; }

input, textarea {  font-size: 0.929em; }

textarea { line-height: 1.5; }

textarea.form-textarea, select.form-select { padding: 4px; }

input.form-text, textarea.form-textarea, select.form-select { border: 1px solid #ccc; }

.password-suggestions ul li { margin-left: 1.2em; }

.form-item { margin-bottom: 1em; margin-top: 2px; }

.form-item label { font-size: 0.929em; }

.form-type-radio label, .form-type-checkbox label { margin-left: 4px; }

.form-type-radio .description, .form-type-checkbox .description { margin-left: 2px; }

.form-actions { padding-top: 10px; }

/* Contact Form */

.contact-form #edit-name { width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.contact-form #edit-mail { width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.contact-form #edit-subject { width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.contact-form #edit-message { width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
-khtml-border-top-left-radius: 4px; -khtml-border-top-right-radius: 4px; -moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px;
border-top-left-radius: 4px; border-top-right-radius: 4px; }

.contact-form .resizable-textarea .grippie {  width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
-khtml-border-bottom-left-radius: 4px; -khtml-border-bottom-right-radius: 4px; -moz-border-radius-bottomleft: 4px;
-moz-border-radius-bottomright: 4px; -webkit-border-bottom-left-radius: 4px; -webkit-border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }

/* Comment form */

.comment-form label { float: left; font-size: 0.929em; }

.comment-form input, .comment-form .form-select { margin: 0; 
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.comment-form .form-type-textarea label { float: none; }

.comment-form .form-item,
.comment-form .form-radios,
.comment-form .form-type-checkbox,
.comment-form .form-select { margin-bottom: 10px; overflow: hidden; }

.comment-form .form-type-checkbox,
.comment-form .form-radios { margin-left: 120px; }

.comment-form .form-type-checkbox label,
.comment-form .form-radios label { float: none; margin-top: 0; }

.comment-form input.form-file { width: auto; }

.comment-form .form-text { display: block; margin: 0; width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

.comment-form .form-item .description { font-size: 0.786em; line-height: 1.2; margin-left: 120px; }

#content h2.comment-form { margin-bottom: 0.5em; }

.comment-form .form-textarea { -khtml-border-radius-topleft: 4px; -khtml-border-radius-topright: 4px;
-moz-border-radius-topleft: 4px; -moz-border-radius-topright: 4px;
-webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px;
border-top-left-radius: 4px; border-top-right-radius: 4px; }

.comment-form fieldset.filter-wrapper .fieldset-wrapper,
.comment-form .text-format-wrapper .form-item { margin-top: 0; margin-bottom: 0; }

.filter-wrapper label { width: auto; float: none; }

.filter-wrapper .form-select { min-width: 120px; }

.comment-form fieldset.filter-wrapper .tips { font-size: 0.786em; }

#comment-body-add-more-wrapper .form-type-textarea label { margin-bottom: 0.4em; }

#edit-actions input { margin-right: 0.6em; }

/* Other Overrides */

div.password-suggestions { border: 0; }

.ui-widget-overlay { background: #222222; opacity: 0.7; }

div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane { padding: 1em; }

#forum .name { font-size: 1.083em; }

#forum .description { font-size: 1em; }

/* Form Buttons */

button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
/* IE10 */ 
background-image: -ms-linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* Mozilla Firefox */ 
background-image: -moz-linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* Opera */ 
background-image: -o-linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* Webkit (Safari/Chrome 10) */ 
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #E3E3E3));
/* Webkit (Chrome 11+) */ 
background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* Proposed W3C Markup */ 
background-image: linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* IE6-9 */ 
filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#E3E3E3');

border: 1px solid #dbdbdb;
-moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; -ms-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px;
-moz-box-shadow: inset 0 1px 0 0 white; -webkit-box-shadow: inset 0 1px 0 0 white; -o-box-shadow: inset 0 1px 0 0 white; box-shadow: inset 0 1px 0 0 white;
color: #333333; text-shadow: 0 1px 0 white; position: relative; font-weight:bold; padding: 4px .8em 5px .8em; font-size: 13px; }

button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
/* IE10 */ 
background-image: -ms-linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* Mozilla Firefox */ 
background-image: -moz-linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* Opera */ 
background-image: -o-linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* Webkit (Safari/Chrome 10) */ 
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #DBDBDB), color-stop(1, #F2F2F2));
/* Webkit (Chrome 11+) */ 
background-image: -webkit-linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* Proposed W3C Markup */ 
background-image: linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* IE6-9 */ 
filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#DBDBDB', endColorstr='#F2F2F2');

-moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; -ms-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px;
-moz-box-shadow: inset 0 1px 0 0 white;
-webkit-box-shadow: inset 0 1px 0 0 white;
-o-box-shadow: inset 0 1px 0 0 white;
box-shadow: inset 0 1px 0 0 white;
cursor: pointer; }

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; }


#block-search-form { padding-bottom: 7px; }

#block-search-form .content { margin-top: 0; }

#search-form input#edit-keys,
#block-search-form .form-item-search-block-form input { float: left; font-size: 1em; height: 1.143em; margin-right: 5px; width: 9em; }

#search-block-form input.form-submit,
#search-form input.form-submit { margin-left: 0; margin-right: 0; height: 25px; width: 34px; padding: 0; cursor: pointer;
text-indent: -9999px; border-color: #e4e4e4 #d2d2d2 #b4b4b4; background: url(images/search-button.png) no-repeat center top; overflow: hidden; }

#search-block-form input.form-submit:hover,
#search-block-form input.form-submit:focus,
#search-form input.form-submit:hover,
#search-form input.form-submit:focus { background-position: center bottom; }

#search-form .form-item-keys label { display: block; }


ol.search-results { padding-left: 0; }

.search-results li { border-bottom: 1px solid #d3d7d9; padding-bottom: 0.4285em; margin-bottom: 0.5em; }

.search-results li:last-child { border-bottom: none; padding-bottom: none; margin-bottom: 1em; }

.search-results .search-snippet-info { padding-left: 0; }

.node-submitted { font-size: 11px; color: #666; margin: 0 0 10px; }
.node-submitted a { color: #666; }
.node-submitted a:hover { color: #000; }
.node-submitted li { background: #f5f5f5; padding: 2px 5px; float: left; margin-right: 5px; list-style: none; }
.node-submitted li span{ margin-right: 5px; }


.links li a {
  background-color: #E7E5E3;
  color: #100100;
  padding: 4px 5px;
  border-radius: 4px;
  text-shadow: 1px 1px #fff;
  font-weight: normal;
}

.links li a:hover {
  background-color: #D7D5D3;
  color: #100101;
}


/*-------------------------------------------*
/* Fix CKEditor style
/*-------------------------------------------*/
#content table.cke_editor {
  background: transparent;
  border: 0;
}
#content table.cke_editor td {
  background: transparent;
  padding: 0;
  border: 0;
}

/*-------------------------------------------*
/* Poll, Buttons, Form
/*-------------------------------------------*/
.poll .vote-form .choices .title {
  font-size: 14px;
  font-weight: normal;
  line-height: 2;
}

.poll .vote-form .choices {
  margin: 0;
}

.form-item label {
  font-size: 13px;
  font-weight: bold;
}

/*-------------------------------------------*
/* Menus and item lists 
/*-------------------------------------------*/
.item-list ul {
  margin: 0;
  padding: 0 0 0 1.5385em;
}

.item-list ul li {
  margin: 0;
  padding: 0;
}

ul.menu li {
  margin: 0;
  padding: 0;
}

ul.inline {
  clear: both;
}

ul.inline li {
  margin: 0;
  padding: 0;
}

/*-------------------------------------------*
/* Admin Tabs
/*-------------------------------------------*/
.tabs-wrapper {
  border-bottom: 1px solid #b7b7b7;
  margin: 0 0 5px 0;
}

ul.primary {
  border: none;
  margin: 0;
  padding: 0;
}

ul.primary li a {
  background: none;
  border: none;
  display: block;
  float: left;
  line-height: 1.5385em;
  margin: 0;
  padding: 0 1em;
  border-radius: 4px 4px 0 0;
  margin-right: 5px;
}

ul.primary li a:hover, ul.primary li a.active {
  background: #666;
  border: none;
  color: #fff;
}

ul.primary li a:hover {
  background: #888;
  text-decoration: none;
}

ul.secondary {
  background: #666;
  border-bottom: none;
  clear: both;
  margin: 0;
  padding: 0;
}

ul.secondary li {
  border-right: none;
}

ul.secondary li a, ul.secondary li a:link {
  border: none;
  color: #ccc;
  display: block;
  float: left;
  line-height: 1.5385em;
  padding: 0 1em;
}

ul.secondary li a:hover, ul.secondary li a.active {
  background: #888;
  color: #fff;
  text-decoration: none;
}

ul.secondary a.active {
  border-bottom: none;
}

ul.inline, ul.links.inline {
  margin-left: 0;
}

/*-------------------------------------------*
/* Tabs and Tags
/*-------------------------------------------*/
.field-name-field-tags {
  margin: 0 0 10px 0;
}

.field-name-field-tags a { 
  padding: 4px 7px;  
  background: #F5F5F5; 
  color: #666; 
  margin-right: 5px; 
  margin-bottom: 5px; 
  font-size: 11px; 
  font-weight: bold; 
  -webkit-transition: all 0.1s ease-in-out; 
  -moz-transition: all 0.1s ease-in-out; 
  -o-transition: all 0.1s ease-in-out;
}

.field-name-field-tags a:hover { 
  background: #f15a23; 
  color: #fff; 
}

.field-name-field-tags .field-item {
  margin: 0 1em 0 0;
}

.field-name-field-tags div {
  display: inline;
}

#main .field-label{
  color: #000;
}

#main .field-items .field-item{
}

/*-------------------------------------------*
/* Profile
/*-------------------------------------------*/
.profile {
  margin: 1.5385em 0;
}

.profile dd {
  margin-bottom: 1.5385em;
}

.profile h3 {
  border: none;
}

.profile dt {
  margin-bottom: 0;
}

.password-parent {
  width: 36em;
}

/* Comments */

.comment h2.title { margin-bottom: 1em; }

.comment div.user-picture img { margin-left: 0; }

.comment { margin-bottom: 20px; display: table; vertical-align: top; }

.comment .attribution { display: table-cell; padding: 0 35px 0 0; vertical-align: top; overflow: hidden; }

.comment .attribution img { margin: 0; border: 1px solid #d3d7d9; }

.comment .attribution .username { white-space: nowrap; }

.comment .comment-submitted p { margin: 4px 0; font-size: 1.071em; line-height: 1.2; }

.comment .comment-submitted .comment-time { font-size: 0.786em; }

.comment .comment-submitted .comment-permalink { font-size: 0.786em; text-transform: lowercase; }

.comment .content { font-size: 0.929em; line-height: 1.6; }

.comment .comment-arrow { background: url(images/comment-arrow.gif) no-repeat 0 center transparent;
border-left: 1px solid; border-right: 1px solid; height: 40px; margin-left: -36px; margin-top: 15px; position: absolute; width: 20px; }

.comment .comment-text { padding: 0 25px 10px 35px; display: table-cell; vertical-align: top; position: relative; width: 100%; border-left: 1px solid #d3d7d9; }

.comment .indented { margin-left: 40px; }

.comment-unpublished { margin-right: 5px; padding: 5px 2px 5px 5px; }

.comment .comment-text .comment-arrow { border-left: 1px solid #ffffff; border-right: 1px solid #ffffff; }

/*-------------------------------------------*
/* Navigation
/*-------------------------------------------*/
.item-list .pager {
}

.item-list .pager li {
  background: #cfcfcf;
  border-radius: 3px;
  margin-right: 4px;
  text-shadow: 1px 1px #fff;
}

/*-------------------------------------------*
/* Forum
/*-------------------------------------------*/
.field-name-taxonomy-forums div {
  display: inline;
  margin-top: 4px;
}

.field-name-taxonomy-forums .field-items {
}

#forum .title {
  font-size: 16px;
}

#forum .submitted {
  font-size: 12px;
  font-family: Lucida Grande, Verdana, Arial, sans-serif;
  background: transparent;
  padding: 0;
}

#forum .container {
  background: #a1a1a1;
  color: #fff;
}

#forum .container a {
  color: #000;
  font-weight: bold;
}

#forum div.indent {
  margin-left: 2px;
}

.forum-starter-picture {
  float: left;
  padding: 4px;
  border: 1px solid #d9d9d9;
  margin: 5px 7px 5px 0;
}

#forum th {
  background: #434343;
  text-shadow: none;
  color: #fff;
}

#forum th a {
  color: #fff;
}

#forum td.forum .icon, #forum .icon div {
  background: url(images/no-new-posts.png) no-repeat;
  width: 35px;
  height: 35px;
}

#forum .name a{ 
  font-size: 16px;
}


/*-----------------------------------------------------------------------------------*
/* Shortcodes
/*-----------------------------------------------------------------------------------*/

/*columns*/
.one-half{ width:48%; }
.one-third{ width:30.66%; }
.two-third{ width:65.33%; }
.one-fourth{ width:22%; }
.three-fourth{ width:74%; }
.one-fifth{ width:16.8%; }
.one-sixth{ width:13.33%; }
.one-half, .one-third, .two-third, .one-fourth, .three-fourth, .one-fifth, .one-sixth {
  position:relative; margin-right:4%; float:left;
}

.column-last{margin-right: 0px;}
.column-first{margin-left: 0px;}



/* Apply To All Responsive Layouts
================================================== */
@media only screen and (max-width: 959px) { }


/* #Tablet (Portrait) = Design for a width of 730px
================================================== */

@media only screen and (min-width: 768px) and (max-width: 959px) {

  /*grid*/
  #wrap.outerbox{ width: 730px; }
  #wrap .grid-1{ width: 680px; }
  #wrap .grid-2{ width: 330px; }
  #wrap .grid-3{ width: 214px; margin-right: 19px; margin-bottom: 19px; }
  #wrap .grid-4{ width: 155px; }
  #wrap .grid-5{ width: 120px; }
  #wrap .grid-6{ width: 100px; margin-right: 16px; margin-bottom: 16px; }

  /*main*/
  #wrap #content{ width: 450px }
  #wrap #sidebar{ width: 205px }
  
}

/* Mobile (Portrait) = Design for a width of 280px
================================================== */

@media only screen and (max-width: 767px) {
  /*grid*/
  #wrap.outerbox{ width: 280px; }
  #wrap .grid-1, #wrap .grid-2, #wrap .grid-3, #wrap .grid-4, #wrap .grid-5, #wrap .grid-6{ width: 230px; }
  
  /*main*/
  #wrap #content{ width: 100%; }
  #wrap #sidebar{ width: 100%; }

  /*shortcodes*/
  .one-half,
  .one-third,
  .one-fourth,
  .one-fifth,
  .one-sixth,
  .one-two-third,
  .one-three-fourths { width: 100%; margin: 0 0 25px; }
}


/* Mobile (Landscape) = Design for a width of 440px
================================================== */

/* Note: Design for a width of 440px */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  /*grid*/
  #wrap.outerbox{ width: 440px; }
  #wrap .grid-1, #wrap .grid-2, #wrap .grid-3, #wrap .grid-4, #wrap .grid-5, #wrap .grid-6{ width: 390px; }
}


/* General
================================================== */
img{ max-width: 100%; }

#navigation .selector { display: none; }


/* Apply To All Responsive Layouts
================================================== */
@media only screen and (max-width: 959px) {
  
  /*hide stuff*/
  .flexslider-container .flex-caption{ display: none }
  
  /*navigation top menu*/
  #navigation .selector option{ background:#f5f5f5; -webkit-appearance:none; padding: 10px; border-bottom: 1px solid #ddd }
  #navigation .selector, 
  #navigation .selector span{ cursor: pointer !important; -webkit-font-smoothing:antialiased }
  #navigation .selector, 
  #navigation .selector *{ margin:0; padding:0 }
  #navigation .selector select{ top:0px; left:0px; height: 45px }
  #navigation .selector{ width: 100%; color: #f15a23; font-weight: bold; line-height: 45px; text-indent: 20px }
  #navigation .selector{ height: 51px; width: 60px; width: 100%; display:-moz-inline-box; display:inline-block; vertical-align:middle; zoom:1; *display:inline; cursor: pointer !important; position:relative; overflow:hidden; background: url("images/responsive-drop-arrow.png") right center no-repeat }
  #navigation .selector select:focus{outline:0; }
  #navigation .selector span{ display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
  #navigation .selector select{ position:absolute; height:45px; background:none; width:100%; font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; font-size:12px; font-weight:500; border:0 !important }

    
  /*display dropdown nav*/
  #navigation .selector { display: inline-block; }
  #navigation ul { display: none; }
}



/* #Tablet (Portrait) = Design for a width of 730px
================================================== */
@media only screen and (min-width: 768px) and (max-width: 959px) {
  

}



/* Mobile (Portrait) = Design for a width of 280px
================================================== */

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

  /*hide stuff*/
  .flexslider-container .flex-caption{ display: none }
  #top-search{ display:none; }
  
  /*main*/
  #content { width: 100% }
  
  /*header*/
  #logo{ margin: 0 !important }

  
  /*sidebar*/
  #sidebar{ margin-top: 15px; padding-top: 25px; border-top: 4px solid #eee; }
  
  
  /*footer*/
  #footer-bottom{ text-align: center }
  #back-to-top { margin-top: 5px; text-align: center;}
  
       
}


/* Mobile (Landscape) = Design for a width of 440px
================================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  
    
}