/*
Theme Name: Diecasting
Theme URI: http://www.diecasting.co.nz
Description: Responsive template for Diecasting
Version: 09102014
Author: Web Revolution
Author URI: http://www.webrevolution.co.nz
*/

/* =CSS 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,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,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

/* =Global Styles
   ========================================================================== */
*:focus {
    outline: 0;
}

html {
    font-family: sans-serif; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

body {
    color: #666;
    background: url(images/bg.jpg) repeat-x;
    font: 14px/1.4 verdana, Helvetica, sans-serif;
}

a {
    color: #c37d00;
    text-decoration: none;
}

a:hover {
    color: #005ebe;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

sup, sub {
    font-size: 14px;
    position: relative;
    top: -0.9em;
    vertical-align: baseline;
}

sub {
    top: 0.9em;
}

hr,
hr.dotted-content-separator {
    border: 0;
    clear: both;
    height: 1px;
    display: block;
    color: #ccc;
    margin: 5px 0 15px;
}

hr {
    background-color: #ccc;
}

hr.dotted-content-separator {
    background-color: transparent;
    border-top: 1px dotted #ccc;
}

/* =Colours
   ========================================================================== */
.blue {
    color: #005ebe;
}

.red {
    color: #f00;
}

/* =Float - Display
   ========================================================================== */
.clearfix { *zoom: 1; }

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
    line-height: 0;
}

.clearfix:after {clear: both;}

.clear-both {clear: both;}

.clear-left {clear: left;}

.clear-right {clear: right;}

.float-left {float: left;}

.float-right {float: right;}

.display-block {display: block;}

.display-none {display: none;}

.display-inline-block {display: inline-block;}

/* =Container Width
   ========================================================================== */
.full-width {
    float: left;
    width: 100%;
    position: relative;
    min-width: 320px;
}

.wrapper {
    margin: 0 auto;
    position: relative;
    min-width: 300px;
    max-width: 940px;
    padding: 0 10px 2px;
    background: url(images/wrap-bg.png) repeat-y;
}

.inner-width {
    width: 100%;
    position: relative;
}

/* =Transition Effects
   ========================================================================== */
#navbar a,
#nav_menu-2 a,
.transition-effect {
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}

/* =Wrapping Images
   ========================================================================== */
img.alignright { 
    float: right;
    margin: 0.1em 0 1em 1em;
}

img.alignleft {
    float: left;
    margin: 0.1em 1em 1em 0;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignright { float:right; }

.alignleft { float:left; }

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Image Caption */
p.wp-caption-text {
    font-size: 0.9em;
    margin-bottom: 0;
}

/* Responsive Image */
img,
.widget img,
.wp-caption {
    max-width: 100%;
}

img,
img[height],
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
    height: auto;
}

img.size-full,
img.size-large,
img.wp-post-image {
    height: auto;
    max-width: 100%;
}

/* =Font
   ========================================================================== */
.font-size-12 {
    font-size: 12px;
}

.font-size-14 {
    font-size: 14px;
}

.font-size-16 {
    font-size: 16px;
}

.font-size-17 {
    font-size: 17px;
}

.font-size-18 {
    font-size: 18px;
}

.font-size-19 {
    font-size: 19px;
}

.font-size-20 {
    font-size: 20px;
}

.font-size-22 {
    font-size: 22px;
}

.font-size-24 {
    font-size: 24px;
}

.font-size-26 {
    font-size: 26px;
}

.font-size-28 {
    font-size: 28px;
}

.font-size-30 {
    font-size: 30px;
}

.font-size-32 {
    font-size: 32px;
}

.font-size-34 {
    font-size: 34px;
}

.font-size-36 {
    font-size: 36px;
}

.font-size-38 {
    font-size: 38px;
}

.font-size-40 {
    font-size: 40px;
}

.line-height-1 {
    line-height: 1;
}

.line-height-2 {
    line-height: 1.1;
}

.line-height-3 {
    line-height: 1.2;
}

.line-height-4 {
    line-height: 1.3;
}

.line-height-5 {
    line-height: 1.4;
}

.line-height-6 {
    line-height: 1.5;
}

.text-align-center {
    text-align: center;
}

/* =Headings
   ========================================================================== */
h1,h2,h3,h4,h5,h6 {
    color: #005ebe;
    line-height: 1.2;
    margin-bottom: 0.2em;
}

h1 {
    font-size: 24px;
    margin-top: 15px;
}

h2 {
    font-size: 21px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 19px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 17px;
}

/* =Header
   ========================================================================== */
#masthead {
    background: #000;
    padding-top: 20px;
    padding-bottom: 20px;
}

#header-logo {
    float: left;
    width: 375px;
}

#menu-toggle {
    width: 28px;
    height: 24px;
    float: right;
    clear: right;
    display: none;
    cursor: pointer;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    margin-right: 12px;
    background: #fff;
}

#text-7 {
    float: right;
    min-width: 185px;
    margin-bottom: 20px;
}

#text-7 .widget-title,
#text-7 .textwidget {
    float: left;
    line-height: 1;
    font-size: 18px;
}

#text-7 a,
#text-7 .widget-title {
    color: #ccc;
}

/* =Main Navigation
   ========================================================================== */
#navbar {
    background: #005ebe;
}

#navbar .first-list-wrap > li {
    float: left;
    position: relative;
}

#navbar .first-list-wrap > li:before {
    content: ' ';
    display: inline-block;
    position: absolute;
    width: 1px;
    height: 100%;
    background: #4086ce;
}

#navbar .first-list-wrap > li:first-child {
    margin-left: 0;
}

#navbar .first-list-wrap > li:first-child:before {
    display: none;
}

#navbar a {
    color: #fff;
    display: block;
    font-size: 14px;
}

#navbar .first-list-wrap > li:first-child {
    margin-left: 15px;
}

#navbar .first-list-wrap > li > a {
    font-weight: bold;
    padding: 10px 16px;
}

#navbar .first-list-wrap > li:hover > a{
    background: #4086ce;
    background: -moz-linear-gradient(top,  #4086ce 0%, #4086ce 25%, #276db5 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4086ce), color-stop(25%,#4086ce), color-stop(100%,#276db5));
    background: -webkit-linear-gradient(top,  #4086ce 0%,#4086ce 25%,#276db5 100%);
    background: -o-linear-gradient(top,  #4086ce 0%,#4086ce 25%,#276db5 100%);
    background: -ms-linear-gradient(top,  #4086ce 0%,#4086ce 25%,#276db5 100%);
    background: linear-gradient(top bottom,  #4086ce 0%,#4086ce 25%,#276db5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4086ce', endColorstr='#276db5',GradientType=0 );
}

#navbar .first-list-wrap > li.current-menu-item > a {
    background: #ffb53a;
    background: -moz-linear-gradient(top,  #ffb53a 0%, #fdbc46 11%, #ffc355 19%, #ffcb63 31%, #feca64 33%, #9a6600 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffb53a), color-stop(11%,#fdbc46), color-stop(19%,#ffc355), color-stop(31%,#ffcb63), color-stop(33%,#feca64), color-stop(100%,#9a6600));
    background: -webkit-linear-gradient(top,  #ffb53a 0%,#fdbc46 11%,#ffc355 19%,#ffcb63 31%,#feca64 33%,#9a6600 100%);
    background: -o-linear-gradient(top,  #ffb53a 0%,#fdbc46 11%,#ffc355 19%,#ffcb63 31%,#feca64 33%,#9a6600 100%);
    background: -ms-linear-gradient(top,  #ffb53a 0%,#fdbc46 11%,#ffc355 19%,#ffcb63 31%,#feca64 33%,#9a6600 100%);
    background: linear-gradient(top bottom,  #ffb53a 0%,#fdbc46 11%,#ffc355 19%,#ffcb63 31%,#feca64 33%,#9a6600 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb53a', endColorstr='#9a6600',GradientType=0 );
}

#navbar .first-list-wrap > li > ul {
    display: none;
    position: absolute;
    z-index: 999999999;
    background: #005ebe;
    min-width: 100%;
}

#navbar .first-list-wrap > li:hover > ul {
    display: block;
}

#navbar .first-list-wrap > li > ul > li {
    position: relative;
    white-space: nowrap;
}

#navbar .first-list-wrap > li > ul > li > ul {
    display: none;
    position: absolute;
    background: #005ebe;
    left: 100%;
    top: 0;
}

#navbar .first-list-wrap > li > ul > li:hover > ul {
    display: block;
}

#navbar .first-list-wrap > li > ul > li,
#navbar .first-list-wrap > li > ul > li > ul > li {
    border-top: 1px solid #0054b4;
}

#navbar .first-list-wrap > li > ul > li:first-child,
#navbar .first-list-wrap > li > ul > li > ul > li:first-child {
    border: none;
}

#navbar .first-list-wrap > li > ul > li > a,
#navbar .first-list-wrap > li > ul > li > ul > li > a {
    padding: 12px;
}

#navbar .first-list-wrap > li > ul > li:hover > a,
#navbar .first-list-wrap > li > ul > li.current-menu-item > a,
#navbar .first-list-wrap > li > ul > li > ul > li:hover > a,
#navbar .first-list-wrap > li > ul > li > ul > li.current-menu-item > a {
    color: #feca64;
}

/* =Hero
   ========================================================================== */

/* =Main Content Container
   ========================================================================== */

/* =Main Content Column
   -------------------------------------------------------------------------- */
#breadcrumbs {
    padding-top: 15px;
}

#breadcrumbs a {
    color: #c37d00;
}

#breadcrumbs a:hover {
    color: #005ebe;
}

.main-content-with-sidebar {
    width: 680px;
    float: right;
    margin-right: 10px;
}

.no-sidebar .entry-content {
    padding-left: 10px;
    padding-right: 10px;
}

.no-sidebar #breadcrumbs {
    padding-left: 10px;
}

.site-content p {
    margin-bottom: 1.4em;
}

.site-content ul,
.site-content ol {
    margin-left: 15px;
    margin-bottom: 1.5em;
}

.site-content li {
    margin-bottom: 0.5em;
}

.site-content ul > li {
    list-style: disc;
}

.site-content ol > li {
    list-style: decimal;
}

.site-content ul > li > ul,
.site-content ol > li > ol {
    margin: 0.5em 0 0.5em 2.2em;
}

.site-content ul > li > ul > li {
    list-style: circle;
}

.site-content ol > li > ol > li {
    list-style: lower-roman;
}

.site-content ul.payment_methods li {
    list-style: none;
}

.enquiry-btn a {
    -moz-box-shadow:inset 0px 1px 0px 0px #fed897;
    -webkit-box-shadow:inset 0px 1px 0px 0px #fed897;
    box-shadow:inset 0px 1px 0px 0px #fed897;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f6b33d), color-stop(1, #d29105) );
    background:-moz-linear-gradient( center top, #f6b33d 5%, #d29105 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6b33d', endColorstr='#d29105');
    background-color:#f6b33d;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    border:1px solid #eda933;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:16px;
    padding:6px 9px;
    text-decoration:none;
    text-shadow:1px 1px 0px #cd8a15;
}

.enquiry-btn a:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #d29105), color-stop(1, #f6b33d) );
    background:-moz-linear-gradient( center top, #d29105 5%, #f6b33d 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d29105', endColorstr='#f6b33d');
    background-color:#d29105;
}

.gallery {
    margin-bottom: 20px !important;
}

table {
    width: 100%;
    min-width: 500px;
    margin-bottom: 20px;
    border-collapse: collapse;
}

td {
    font-size: 12px;
    padding: 10px;
    text-align: center;
    word-break: break-all;
    vertical-align: middle;
    border: 1px solid #ccc;
}

/* Homepage */
.home-intro {
    margin-bottom: 10px;
    border-bottom: 4px solid #ccc;
}

.home-intro p {
    margin-bottom: 0;
}

.home-intro-blurb {
    color: #fff;
    padding: 15px 10px;
    background: #005ebe;
}

.home-intro-blurb h1 {
    color: #fff;
    margin-top: 0;
}

.home-col2-wrap h2 {
    font-size: 18px;
}

.home-col2-wrap h3 {
    font-size: 14px;
    font-weight: bold;
}

.home-col2-left,
.home-col2-right {
    width: 48%;
}

.home-col2-wrap p {
    margin-bottom: 10px;
}

.home-col2-left {
    float: left;
}

.home-col2-right {
    float: right;
}

/* Three Column */
#content-wrap-inner  {
    width: 700px;
    float: right;
}

#content-wrap-inner .site-content {
    width: 460px;
    float: left;
}

#tertiary-2 {
    float: right;
    width: 212px;
    margin-right: 8px;
}

/* Content Menu */
.content-inline-menu ul {
    margin-left: 0;
    margin-bottom: 0;
}

.content-inline-menu ul li {
    list-style: none;
    display: inline-block;
    position: relative;
    padding-left: 10px;
}

.content-inline-menu ul li:first-child {
    padding-left: 0;
}

.content-inline-menu ul li:before {
    content: '|';
    color: #005ebe;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
}

.content-inline-menu ul li:first-child:before {
    display: none;
}

.content-inline-menu ul li a {
    color: #c37d00;
}

.content-inline-menu ul li:hover > a {
    text-decoration: underline;
}

.content-inline-menu ul li.active > a {
    cursor: default;
    font-weight: bold;
    text-decoration: none;
}

/* Search Page */
.post-summary-wrap  {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

/* Pagination */
.wp-pagenavi {
    clear: both;
    margin-bottom: 20px;
}

/* =Sidebar
   -------------------------------------------------------------------------- */
#tertiary {
    width: 212px;
    float: left;
    margin-left: 8px;
}

#nav_menu-2,
#search-2 {
    background: #cbcbcb;
    padding-bottom: 10px;
}

#nav_menu-2 .widget-title {
    color: #fff;
    font-size: 18px;
    padding: 12px 15px;
    background: #005ebe;
    margin-bottom: 2px;
    text-transform: uppercase;
}

#nav_menu-2 .menu {
    max-width: 192px;
    margin-left: auto;
    margin-right: auto;
}

#nav_menu-2 a {
    color: #666;
    display: block;
}

#nav_menu-2 .menu > li > a {
    padding: 6px 5px;
    background: #b5b5b5;
}

#nav_menu-2 .menu > li > ul {
    max-width: 172px;
    margin-left: auto;
    margin-right: auto;
}

#nav_menu-2 .menu > li > ul > li {
    border-top: 1px solid #b5b5b5;
}

#nav_menu-2 .menu > li > ul > li:first-child {
    border: none;
}

#nav_menu-2 .menu > li > ul > li > a {
    padding: 5px 0;
}

#nav_menu-2 .menu > li:hover > a,
#nav_menu-2 .menu > li > ul > li:hover > a {
    color: #333;
}

#nav_menu-2 .menu > li.current-menu-item > a,
#nav_menu-2 .menu > li > ul > li.current-menu-item > a {
    color: #c37d00;
}

#search-2 {
    padding: 15px;
}

#search-2 .widget-title {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

#text-8 a,
#text-9 a {
    -moz-box-shadow: 0px 1px 0px 0px #a4e271;
    -webkit-box-shadow: 0px 1px 0px 0px #a4e271;
    box-shadow: 0px 1px 0px 0px #a4e271;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #89c403), color-stop(1, #77a809) );
    background:-moz-linear-gradient( center top, #89c403 5%, #77a809 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#89c403', endColorstr='#77a809');
    background-color:#89c403;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    display:inline-block;
    color:#ffffff;
    font-family:Arial;
    font-size:16px;
    font-weight:normal;
    padding:6px 9px;
    text-decoration:none;
    text-align: center;
    text-shadow:1px 1px 0px #528009;
    margin-top: 15px;
}

#text-8 a:hover,
#text-9 a:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #77a809), color-stop(1, #89c403) );
    background:-moz-linear-gradient( center top, #77a809 5%, #89c403 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#77a809', endColorstr='#89c403');
    background-color:#77a809;
}

#tertiary-2 .widget {
    padding: 15px 10px;
    margin-bottom: 4px;
    background: #ecede8;
}

#tertiary-2 .widget-title {
    font-size: 18px;
    margin-bottom: 3px;
    padding-bottom: 3px;
    border-bottom: 1px solid #dbd5c5;
}

#text-2 ul {
    margin-left: 15px;
}

#text-2 ul li {
    list-style: disc;
}

#text-4 img {
    width: 125px;
    margin: 0 auto 10px;
}

/* =Footer
   ========================================================================== */
#footer-top-inner {
    color: #fff;
    background: #005ebe;
}

#footer-top-inner .widget-title {
    color: #fff;
}

#text-5,
#text-6 {
    padding-top: 20px;
    padding-bottom: 20px;
}

#text-5 .widget-title,
#text-6 .widget-title {
    margin-left: 15px;
}

#text-5 .textwidget,
#text-6 .textwidget {
    padding: 0 15px;
}

#text-5 {
    width: 700px;
    float: left;
}

#text-6 {
    float: right;
    width: 212px;
    position: relative;
}

#text-6 a {
    color: #fff;
}

#text-6:before {
    content: ' ';
    display: inline-block;
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 0;
    background: #3177bf;
}

#colophon {
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 4px solid #b8b8b8;
    background: #cccccc;
    background: -moz-linear-gradient(top,  #cccccc 0%, #cacaca 2%, #cdcdcd 3%, #cbcbcb 5%, #e4e4e4 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cccccc), color-stop(2%,#cacaca), color-stop(3%,#cdcdcd), color-stop(5%,#cbcbcb), color-stop(100%,#e4e4e4));
    background: -webkit-linear-gradient(top,  #cccccc 0%,#cacaca 2%,#cdcdcd 3%,#cbcbcb 5%,#e4e4e4 100%);
    background: -o-linear-gradient(top,  #cccccc 0%,#cacaca 2%,#cdcdcd 3%,#cbcbcb 5%,#e4e4e4 100%);
    background: -ms-linear-gradient(top,  #cccccc 0%,#cacaca 2%,#cdcdcd 3%,#cbcbcb 5%,#e4e4e4 100%);
    background: linear-gradient(top bottom,  #cccccc 0%,#cacaca 2%,#cdcdcd 3%,#cbcbcb 5%,#e4e4e4 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#e4e4e4',GradientType=0 )
}

#copyright {
    font-size: 12px;
    padding-left: 10px;
}

#copyright,
#copyright a {
    color: #666;
}

/* =Social Links
   ========================================================================== */

/* =Forms (Enquiry & Search)
   ========================================================================== */
input,
select,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
 
input[type=checkbox] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
}
 
input[type=radio] {
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
}
 
body .gform_wrapper {
    margin: 0;
    max-width: 400px;
    margin-bottom: 20px;
}

.ui-datepicker {
    position: absolute;
}

.sub-label-highlight {
    font-weight: bold;
}

body .gform_wrapper .gform_body .gform_fields .gfield {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
    font-weight: normal;
}
 
body .gform_wrapper .ginput_complex .ginput_right input[type="text"],
body .gform_wrapper .ginput_complex .ginput_right input[type="url"],
body .gform_wrapper .ginput_complex .ginput_right input[type="email"],
body .gform_wrapper .ginput_complex .ginput_right input[type="tel"],
body .gform_wrapper .ginput_complex .ginput_right input[type="number"],
body .gform_wrapper .ginput_complex .ginput_right input[type="password"],
body .gform_wrapper .ginput_complex.ginput_container.has_first_name.has_last_name span.name_last input[type="text"] {
    width: 99% !important;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield input,
body .gform_wrapper .gform_body .gform_fields .gfield textarea,
body .gform_wrapper .gform_body .gform_fields .gfield select {
    width: 99%;
    border: none;
    padding: 8px 0.5%;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 0 1px #e0e0e0;
    box-shadow: inset 0 0 0 1px #e0e0e0;
}

body .gform_wrapper .gform_body .gform_fields .gfield select {
    max-width: 300px;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield input:focus,
body .gform_wrapper .gform_body .gform_fields .gfield textarea:focus,
body .gform_wrapper .gform_body .gform_fields .gfield select:focus {
    -webkit-box-shadow: inset 0 0 0 1px #84e6ff;
    box-shadow: inset 0 0 0 1px #84e6ff;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio li input[type=radio] {
    -webkit-box-shadow: none;
    box-shadow: none;
}

body .gform_wrapper .gform_footer { *zoom: 1; }

body .gform_wrapper .gform_footer:before,
body .gform_wrapper .gform_footer:after {
    content: "";
    display: table;
    line-height: 0;
}

body .gform_wrapper .gform_footer:after {clear: both;}
 
body .gform_wrapper .gform_footer input[type=submit] {
    color: #fff;
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 12px 8px;
    background: #005ebe;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
 
body .gform_wrapper .gform_footer input[type=submit]:hover {
    background: #333;
}
 
/* Error Message */
body .gform_wrapper .validation_error {
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 98% !important;
    color: #fff !important;
    border: none !important;
    font-size: 14px !important;
    position: fixed !important;
    padding: 10px 1% !important;
    z-index: 999999999 !important;
    text-align: center !important;
    font-weight: normal !important;
    background: rgba(255,0,0,0.9) !important;
}
 
body .gform_wrapper .top_label .gfield_error,
body .gform_wrapper .top_label .gfield_error .ginput_container {
    width: 100%;
    max-width: 100%;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield_error .gfield_label {
    color: #000;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield_error input,
body .gform_wrapper .gform_body .gform_fields .gfield_error textarea {
    -webkit-box-shadow:inset 0 0 0 1px #f00;
    box-shadow:inset 0 0 0 1px #f00;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield_error .gfield_checkbox li label {
    color: #f00;
}
 
body .gform_wrapper li.gfield.gfield_error,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    padding: 0 !important;
    margin: 0 !important;
    border: none;
    background: none;
}
 
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required {
    padding: 0 !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield.gfield_error .gfield_time_hour,
body .gform_wrapper .gform_body .gform_fields .gfield.gfield_error .gfield_time_minute,
body .gform_wrapper .gform_body .gform_fields .gfield.gfield_error .gfield_time_ampm {
    width: 60px;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield_error .validation_message {
    display: none !important;
}
 
/* Success Message */
body .gform_confirmation_wrapper {
    top: 0 !important;
    left: 0 !important;
    width: 98% !important;
    color: #fff !important;
    font-size: 14px !important;
    position: fixed !important;
    padding: 10px 1% !important;
    text-align: center !important;
    z-index: 999999999 !important;
    background: rgba(41,154,77,0.9) !important;
}
 
@media screen and (max-width: 767px) {
    body .gform_wrapper .ginput_complex .ginput_right input[type="text"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="url"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="email"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="tel"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="number"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="password"],
    body .gform_wrapper .ginput_complex.ginput_container.has_first_name.has_last_name span.name_last input[type="text"] {
        width: 98% !important;
    }
     
    body .gform_wrapper .gform_body .gform_fields .gfield input,
    body .gform_wrapper .gform_body .gform_fields .gfield textarea {
        width: 98%;
        padding: 8px 1%;
    }
}

/* Search Form */
.searchform #search-input {
    width: 176px;
    border: none;
    padding: 3px;
}

/* =Sprite
   ========================================================================== */
#menu-toggle {
    background: url(images/sprite@1x.png) no-repeat;
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
    #menu-toggle {
        background: url(images/sprite@2x.png) no-repeat;
        background-size: 50px 50px;
    }
}

/* **************************************************************************
   **************************************************************************
   =Responsive Style
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   ========================================================================== */

/* =Header
========================================================================== */
@media screen and (max-width: 599px) {
    #header-wrap {
        padding-left: 0;
        padding-right: 0;
    }
    
    #masthead {
        padding: 10px 0;
    }
    
    #header-logo {
        width: 170px;
        margin-top: 7px;
    }
    
    #text-7 {
        min-width: 135px;
        margin-bottom: 10px;
    }
    
    #text-7 .textwidget,
    #text-7 .widget-title {
        font-size: 12px;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    #menu-toggle {
        display: block;
    }
    
    #navigation {
        display: none;
    }
    
    #navigation-wrap {
        padding-left: 0;
        padding-right: 0;
    }
    
    #navbar .first-list-wrap > li {
        float: none;
        clear: both;
        width: 100%;
    }
    
    #navbar .first-list-wrap > li:before {
        display: none;
    }
    
    #navbar .first-list-wrap > li:first-child {
        margin-left: 0;
    }
    
    #navbar .first-list-wrap > li > ul,
    #navbar .first-list-wrap > li > ul > li > ul {
        left: 0;
        position: relative;
        display: block;
    }
    
    #navbar .first-list-wrap > li > ul {
        background: #0a68c8;
    }
    
    #navbar .first-list-wrap > li > ul > li > ul {
        background: #1775d5;
    }
    
    #navbar .first-list-wrap > li > ul > li,
    #navbar .first-list-wrap > li > ul > li > ul > li {
        border: none;
    }
    
    #navbar .first-list-wrap > li > a {
        padding: 15px;
        border-top: 1px solid #0054b4;
    }
    
    #navbar .first-list-wrap > li > ul > li > a {
        padding: 15px 15px 15px 30px;
        border-top: 1px solid #0054b4;
    }
    
    #navbar .first-list-wrap > li > ul > li > ul >  li > a {
        padding: 15px 15px 15px 45px;
        border-top: 1px solid #0054b4;
    }
    
    #navbar .first-list-wrap > li.menu-item-has-children > a,
    #navbar .first-list-wrap > li > ul > li.menu-item-has-children > a {
        position: relative;
    }
    
    #navbar .first-list-wrap > li.menu-item-has-children > a:before,
    #navbar .first-list-wrap > li > ul > li.menu-item-has-children > a:before {
        content: ' ';
        display: inline-block;
        position: absolute;
        width: 0;
        height: 0;
        top: 24px;
        right: 15px;
        border: 5px solid #fff;
        border-left-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
    }
}

@media screen and (min-width: 768px) {
    #navigation {
        display: block !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 899px) {
    #navbar .first-list-wrap > li:first-child {
        margin-left: 0;
    }
    
    #navbar a {
        font-size: 11px;
        font-weight: normal !important;
    }
    
    #navbar .first-list-wrap > li {
        width: 14.28571428571429%;
    }
    
    #navbar .first-list-wrap > li > a {
        padding: 15px 0;
        text-align: center;
    }
    
    #navbar .first-list-wrap > li > ul > li,
    #navbar .first-list-wrap > li > ul > li > ul > li {
        white-space: normal;
    }
    
    #navbar .first-list-wrap > li > ul > li > a,
    #navbar .first-list-wrap > li > ul > li > ul > li > a {
        font-size: 10px;
    }
}

@media screen and (max-width: 959px) {
    .wrapper {
        background: none;
    }
}
   
/* =Main Content Area
========================================================================== */
@media screen and (max-width: 799px) {
    #content-wrap {
        padding-bottom: 15px;
    }
    
    .main-content-with-sidebar,
    #tertiary,
    #content-wrap-inner,
    #text-5,
    #text-6 {
        float: none;
        clear: both;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .main-content-with-sidebar {
        margin-bottom: 20px;
    }
    
    #text-4 {
        text-align: center;
    }
    
    #nav_menu-2 .menu,
    #nav_menu-2 .menu > li > ul {
        max-width: 100%;
    }
    
    #nav_menu-2 .menu > li > a {
        padding: 10px 15px;
    }
    
    #nav_menu-2 .menu > li > ul > li > a {
        padding: 10px 15px 10px 30px;
    }
    
    #search-2 .widget-title {
        text-align: center;
    }
    
    #search-2 .searchform {
        max-width: 185px;
        margin-left: auto;
        margin-right: auto;
    }
    
    #text-8 a, #text-9 a {
        display: block;
    }
    
    #text-5,
    #text-6 {
        text-align: center;
    }
    
    #text-5 {
        padding-bottom: 0;
    }
}

@media screen and (min-width: 800px) {
    .main-content-with-sidebar,
    #content-wrap-inner,
    #text-5 {
        width: 65.92398427260813%;
    }
}

@media screen and (min-width: 825px) {
    .main-content-with-sidebar,
    #content-wrap-inner,
    #text-5 {
        width: 67.00507614213198%;
    }
}

@media screen and (min-width: 850px) {
    .main-content-with-sidebar,
    #content-wrap-inner,
    #text-5 {
        width: 68.01968019680197%;
    }
}

@media screen and (min-width: 875px) {
    .main-content-with-sidebar,
    #content-wrap-inner,
    #text-5 {
        width: 68.97374701670644%;
    }
}

@media screen and (min-width: 900px) {
    .main-content-with-sidebar,
    #content-wrap-inner,
    #text-5 {
        width: 69.87253765932793%;
    }
}

@media screen and (min-width: 925px) {
    .main-content-with-sidebar,
    #content-wrap-inner,
    #text-5 {
        width: 70.72072072072072%;
    }
}

@media screen and (min-width: 950px) {
    .main-content-with-sidebar,
    #content-wrap-inner,
    #text-5 {
        width: 71.52245345016429%;
    }
}

@media screen and (min-width: 975px) {
    .main-content-with-sidebar,
    #content-wrap-inner,
    #text-5 {
        width: 72.28144989339019%;
    }
}

@media screen and (min-width: 1000px) {
    .main-content-with-sidebar {
        width: 72.28144989339019%;
    }
    
    #content-wrap-inner {
        width: 700px;
    }
    
    #content-wrap-inner .site-content {
        width: 460px;
    }
    
    #tertiary-2 {
        width: 212px;
    }
}

@media screen and (min-width: 800px) and (max-width: 1000px) {
    #content-wrap-inner {
        margin-right: 10px;
    }
}

@media screen and (max-width: 1000px) {
    #content-wrap-inner .site-content,
    #tertiary-2 {
        width: 100%;
        float: none;
        clear: both;
    }
}

/* =Footer
========================================================================== */
@media screen and (max-width: 799px) {
    #copyright {
        font-size: 10px;
        text-align: center;
    }
}