/*
Theme Name: Fashion and Uniform Fabrics
Theme URI: http://www.fashionanduniformfabrics.co.nz
Description: Responsive template for Fashion and Uniform Fabrics
Version: 14092015
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: #333;
    background: #000;
    font: 14px/1.4 'Open Sans', sans-serif;
}

a {
    color: #2489d7;
    text-decoration: none;
}

a:hover {
    color: #000;
}

em {
    font-style: italic;
}

strong {
    font-weight: 600;
}

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: #dbdbdb;
    margin: 20px 0;
}

hr {
    background-color: #dbdbdb;
}

hr.dotted-content-separator {
    background-color: transparent;
    border-top: 1px dotted #dbdbdb;
}

/* =Colours
   ========================================================================== */

/* =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: 1000px;
    padding: 20px 10px;
}

.inner-width {
    width: 100%;
    position: relative;
}

/* =Transition Effects
   ========================================================================== */
.transition-effect {
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

/* =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;
}

/* =Margins & Paddings
   ========================================================================== */
.margin-top-zero {
    margin-top: 0 !important;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-25 {
    margin-top: 25px;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-top-35 {
    margin-top: 35px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-top-45 {
    margin-top: 45px;
}

.margin-top-50 {
    margin-top: 50px;
}

.margin-bottom-zero {
    margin-bottom: 0 !important;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-25 {
    margin-bottom: 25px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-35 {
    margin-bottom: 35px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-bottom-45 {
    margin-bottom: 45px;
}

.margin-bottom-50 {
    margin-bottom: 50px;
}

.padding-top-5 {
    padding-top: 5px;
}

.padding-top-10 {
    padding-top: 10px;
}

.padding-top-15 {
    padding-top: 15px;
}

.padding-top-20 {
    padding-top: 20px;
}

.padding-top-25 {
    padding-top: 25px;
}

.padding-top-30 {
    padding-top: 30px;
}

.padding-top-35 {
    padding-top: 35px;
}

.padding-top-40 {
    padding-top: 40px;
}

.padding-top-45 {
    padding-top: 45px;
}

.padding-top-50 {
    padding-top: 50px;
}

.padding-bottom-5 {
    padding-bottom: 5px;
}

.padding-bottom-10 {
    padding-bottom: 10px;
}

.padding-bottom-15 {
    padding-bottom: 15px;
}

.padding-bottom-20 {
    padding-bottom: 20px;
}

.padding-bottom-25 {
    padding-bottom: 25px;
}

.padding-bottom-30 {
    padding-bottom: 30px;
}

.padding-bottom-35 {
    padding-bottom: 35px;
}

.padding-bottom-40 {
    padding-bottom: 40px;
}

.padding-bottom-45 {
    padding-bottom: 45px;
}

.padding-bottom-50 {
    padding-bottom: 50px;
}

/* =Headings
   ========================================================================== */
h1,h2,h3,h4,h5,h6 {
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 0.8em;
}

h1 {
    color: #000;
    font-size: 25px;
}

h2 {
    font-size: 23px;
}

h3 {
    font-size: 21px;
}

h4 {
    font-size: 19px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 17px;
}

/* =Tables
   ========================================================================== */
table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

td {
    padding: 10px;
    border: 1px solid #e8e8e8;
}

/* =Header
   ========================================================================== */
#header {
    background: #072652;
}

#header-wrap {
    padding-top: 0;
    padding-bottom: 0;
}

#header-logo {
    z-index: 1;
    float: left;
    position: relative;
}

.tag-line {
    width: 100%;
    color: #fff;
    margin: auto;
    left: 0;
    right: 0;
    font-size: 16px;
    font-weight: 600;
    margin-top: 50px;
    text-align: center;
    position: absolute;
    max-width: 260px;
    text-transform: uppercase;
}

#text-2,
#search-2 {
    z-index: 1;
    float: right;
    position: relative;
}

#text-2 {
    margin-top: 22px;
    margin-bottom: 15px;
}

#text-2 .phone-number {
    color: #fff;
    font-size: 26px;
    line-height: 1;
    font-weight: 700;
}

#search-2 {
    clear: right;
}

/* =Main Navigation
   ========================================================================== */
#navigation {
    background: #000;
}

#navigation-wrap {
    padding-top: 0;
    padding-bottom: 0;
}

#menu-toggle {
    color: #fff;
    display: none;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

#menu-bars {
    width: 25px;
    height: 19px;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 15px;
    position: absolute;
}

#menu-bars span {
    width: 100%;
    height: 5px;
    display: block;
    background: #fff;
    margin-bottom: 2px;
}

#menu-bars span:last-child {
    margin-bottom: 0;
}

#navbar .first-list-wrap {
    text-align: center;
}

#navbar .first-list-wrap > li {
    position: relative;
    display: inline-block;
}

#navbar .first-list-wrap > li:first-child {
    margin-left: 0;
}

#navbar a {
    color: #fff;
    display: block;
    font-size: 16px;
}

#navbar .first-list-wrap > li > a {
    font-weight: 600;
    padding: 15px 35px;
}

#navbar .first-list-wrap > li:hover > a,
#navbar .first-list-wrap > li.current-menu-item > a {
    color: #fff200;
    background: #1f1f1f;
}

#navbar .first-list-wrap > li > ul {
    display: none;
    position: absolute;
    z-index: 999999999;
}

#navbar .first-list-wrap > li:hover > ul {
    display: block;
}

/* =Hero
   ========================================================================== */
#hero  {
    background: #fff;
    border-bottom: 3px solid #7d9e06;
}

#hero-wrap {
    padding-top: 0;
    padding-bottom: 0;
}

/* =Main Content Container
   ========================================================================== */
#main {
    background: #fff;
}

/* Overlay */
#cboxClose {
    top: -36px;
    color: #fff;
    width: auto;
    height: auto;
    z-index: 1;
    padding: 9px 15px;
    text-indent: 0;
    background: none;
    font-weight: 600;
    background: #6f9125;
}

.two-column-list {
    margin-bottom: 20px;
}

.two-column-list ul li {
    float: left;
    width: 48%;
}

.two-column-list ul li:nth-child(2n+1) {
    clear: left;
}

.two-column-list ul li:nth-child(2n) {
    float: right;
}

.thumbnails-grid .wp-caption {
    float: left;
    margin-bottom: 20px;
}

.thumbnails-grid .wp-caption .wp-caption-text {
    margin-bottom: 0;
}

/* =Main Content Column
   -------------------------------------------------------------------------- */
.main-content-with-sidebar {
    width: 745px;
    float: left;
}

.site-content p {
    margin-bottom: 1.6em;
}

.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;
}

/* Blog Layout */
.post-summary-wrap {
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #e8e8e8;
}

/* Testimonials */
.post-testimonial-wrap {
    text-align: center;
}

.post-testimonial-wrap p {
    font-size: 16px;
}

/* =Sidebar
   -------------------------------------------------------------------------- */
#tertiary {
    width: 235px;
    float: right;
}

#tertiary .widget {
    margin-top: 20px;
}

#tertiary .widget:first-child {
    margin-top: 0;
}

#tertiary .widget-title {
    color: #fff;
    padding: 20px 15px;
    background: #072652;
    position: relative;
}

#gform_widget-2 .widget-title {
    margin-bottom: 0;
    cursor: pointer;
    padding-right: 63px;
}

#text-3 ul {
    margin-left: 15px;
}

#text-3 ul li {
    font-size: 13px;
    list-style: disc;
    margin-bottom: 10px;
}

#text-4 a {
    color: #fff;
    font-size: 16px;
    line-height: 1.1;
    background: #7d9e06;
    position: relative;
    padding: 15px 70px 15px 15px;
}

#text-4 a:hover {
    background: #6f9125;
}

#text-4 a span {
    font-size: 20px;
    font-weight: 600;
}

#text-5  {
    width: 155px;
    margin-left: auto;
    margin-right: auto;
}

#text-6 .textwidget,
#text-7 .textwidget {
    line-height: 1.8;
}

/* =Footer
   ========================================================================== */
#footer {
    background: #2488d4;
}

#footer,
#footer a,
#copyright,
#copyright a {
    color: #fff;
}

#footer a:hover {
    color: #fff200;
}

.footer-column {
    float: left;
    margin-left: 3%;
    line-height: 1.8;
    width: 31.33333333333333%;
}

.footer-column:first-child {
    margin-left: 0;
}

.footer-column .widget-title {
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1e72b2;
}

#copyright {
    font-size: 10px;
    text-align: center;
}

#copyright-wrap {
    padding-top: 15px;
    padding-bottom: 15px;
}

#copyright a:hover {
    color: #fff200;
}

#toTop {
    bottom: 20px;
    right: 20px;
    position: fixed;
    z-index: 9998;
    width: 50px;
    height: 50px;
    opacity: 0.8;
    display: block;
    cursor: pointer;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

/* =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: 100%;
    margin-bottom: 20px;
}

.ui-datepicker {
    position: absolute;
}

.sub-label-highlight {
    font-weight: bold;
}

body .gform_wrapper .gform_body .gform_fields .gfield,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required {
    position: relative;
    margin: 0 0 10px 0 !important;
    padding-left: 0 !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
    font-weight: normal;
}

body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
    margin-top: 9px;
    margin-left: 0;
}

body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container {
    padding: 0 !important;
    margin: 0 !important;
}

body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
body .gform_wrapper li.gfield_html {
    max-width: 100%;
}
 
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: #333;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
 
body .gform_wrapper .gform_footer input[type=submit]:hover {
    background: #000;
}
 
/* 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%;
    }
}

/* Newsletter Sign-up form */
body #gform_wrapper_3 .gform_body .gform_fields .gfield {
    margin-bottom: 15px !important;
}

body #gform_wrapper_3 .gform_body .gform_fields .gfield .gfield_label {
    display: none;
}

body #gform_wrapper_3 .gform_footer {
    padding: 0;
}

/* Search form */
.searchform input[type="search"] {
    border: none;
    padding: 5px;
    background: #fff;
    -webkit-border-radius: 0;
    border-radius: 0;
}

/* =Sprite
   ========================================================================== */
#toTop,
#text-4 a:before,
#text-6 .widget-title:before,
#text-7 .widget-title:before,
#gform_widget-2 .widget-title:before {
    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) {
    #toTop,
    #text-4 a:before,
    #text-6 .widget-title:before,
    #text-7 .widget-title:before,
    #gform_widget-2 .widget-title:before {
        background: url(images/sprite@2x.png) no-repeat;
        background-size: 250px 250px;
    }
}

#text-4 a:before,
#text-6 .widget-title:before,
#text-7 .widget-title:before,
#gform_widget-2 .widget-title:before {
    content: '';
    position: absolute;
    display: inline-block;
}

#text-4 a:before,
#text-6 .widget-title:before,
#text-7 .widget-title:before,
#gform_widget-2 .widget-title:before {
    margin: auto;
}

#text-4 a:before,
#text-6 .widget-title:before,
#text-7 .widget-title:before,
#gform_widget-2 .widget-title:before {
    top: 0;
    bottom: 0;
    right: 15px;
}

#gform_widget-2 .widget-title:before {
    width: 33px;
    height: 30px;
    background-position: -127px 0;
}

#text-4 a:before {
    width: 41px;
    height: 50px;
    background-position: 0 0;
}

#text-6 .widget-title:before {
    width: 40px;
    height: 40px;
    background-position: -46px 0;
}

#text-7 .widget-title:before {
    width: 32px;
    height: 40px;
    background-position: -91px 0;
}

#toTop {
    background-position: -165px 0;
}

/* **************************************************************************
   **************************************************************************
   =Responsive Style
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   ========================================================================== */

/* =Header
========================================================================== */
@media screen and (max-width: 549px) {
    .tag-line {
        clear: both;
        font-size: 3vw;
        max-width: 100%;
        padding-top: 10px;
        position: relative;
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 767px) {
    #header-logo {
        width: 140px;
    }
    
    
    
    #menu-toggle {
        display: block;
    }
    
    #text-2 {
        margin-top: 9px;
        margin-bottom: 9px;
    }
    
    #text-2 .phone-number {
        font-size: 24px;
    }
    
    #navigation-wrap {
        padding-left: 0;
        padding-right: 0;
    }
    
    #navbar {
        display: none;
    }
    
    #navbar .first-list-wrap {
        text-align: left;
    }
    
    #navbar .first-list-wrap > li {
        width: 100%;
        display: block;
    }
    
    #navbar .first-list-wrap > li > a {
        padding: 15px;
        border-top: 1px solid #1c1c1c;
    }
    
    #hero-wrap {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (min-width: 550px) and (max-width: 767px) {
    .tag-line {
        font-size: 12px;
        margin-top: 24px;
        max-width: 200px;
    }
}

@media screen and (min-width: 768px) {
    #navbar {
        display: block !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 849px) {
    #navbar .first-list-wrap > li > a {
        padding-left: 25px;
        padding-right: 25px;
    }
}
   
/* =Main Content Area
========================================================================== */
@media screen and (max-width: 767px) {
    #text-3,
    #text-6 .textwidget,
    #text-7 .textwidget {
        text-align: center;
    }
    
    #text-3 ul li {
        list-style: none;
    }
    
    #cboxClose {
        left: 0;
        font-size: 10px;
        max-width: 290px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    
    .two-column-list ul li,
    .two-column-list ul li:nth-child(2n),
    .two-column-list ul li:nth-child(2n+1) {
        float: none;
        clear: both;
        width: 100%;
    }
}

@media screen and (max-width: 799px) {	
    .main-content-with-sidebar,
    #tertiary {
        float: none;
        clear: both;
        width: 100%;
    }
    
    .main-content-with-sidebar {
        margin-bottom: 20px;
    }
}

@media screen and (min-width: 800px) {
    .main-content-with-sidebar {
        width: 66.57929226736566%;
    }
}

@media screen and (min-width: 825px) {
    .main-content-with-sidebar {
        width: 67.63959390862944%;
    }
}

@media screen and (min-width: 850px) {
    .main-content-with-sidebar {
        width: 68.63468634686347%;
    }
}

@media screen and (min-width: 875px) {
    .main-content-with-sidebar {
        width: 69.57040572792363%;
    }
}

@media screen and (min-width: 900px) {
    .main-content-with-sidebar {
        width: 70.45191193511008%;
    }
}

@media screen and (min-width: 925px) {
    .main-content-with-sidebar {
        width: 71.28378378378378%;
    }
}

@media screen and (min-width: 950px) {
    .main-content-with-sidebar {
        width: 72.07009857612267%;
    }
}

@media screen and (min-width: 975px) {
    .main-content-with-sidebar {
        width: 72.81449893390192%;
    }
}

@media screen and (min-width: 1000px) {
    .main-content-with-sidebar {
        width: 73.5202492211838%;
    }
}

@media screen and (min-width: 1037px) {
    .main-content-with-sidebar {
        width: 74.5%;
    }
}

/* =Footer
========================================================================== */
@media screen and (max-width: 767px) {
    .footer-column {
        float: none;
        clear: both;
        width: 100%;
        text-align: center;
        margin: 0 auto 40px;
    }
    
    .footer-column:last-child {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 959px) {
    #footer .widget-title {
        font-size: 16px;
    }
}