/*
THEME NAME: Harting EAP
DESCRIPTION: Custom Theme for Harting EAP
VERSION: 2.0
AUTHOR: Mr. WPress
AUTHOR URI: https://www.mrwpress.com/
.
*/

/*
CSS Notes:
https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i,900,900i&display=swap
font-family: 'Roboto', sans-serif;

 */

/* CSS RESET RULES */
* {
    margin: 0;
    padding: 0;
    vertical-align: top;
}

body,
html {
    background: #414850;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #444b53;
    font-size: 18px;
    line-height: 1.5em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 900;
    display: block;
    margin: 0 0 30px;
    line-height: 1.3em;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 25px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 30px;
    font-weight: 900;
    color: #e8a70f;
}

body.search-results h3 {
    margin: 0;
}

body.search-results .hentry small.date {
    margin: 0 0 25px;
    display: block;
}

p {
    margin: 0 0 30px;
    padding: 0;
}

form p {
    padding: 0;
    margin: 0;
}

input[type="text"],
textarea {
    padding: 10px;
    margin: 0 0 5px;
}

a {
    text-decoration: none;
    transition: color .5s ease;
}

ul,
ol {
    margin: 0 0 30px;
    padding: 0;
}

li {
    list-style: none;
}

.contentwrapper li {
    list-style: inherit;
    margin-left: 30px;
}

.contentwrapper li.widget {
    list-style: none;
    margin-left: 0;
}

hr {
    width: 100%;
    background: #f0b310;
    height: 1px;
    font-size: 0;
    display: block;
    border: none;
    padding: 0;
    margin: 0 0 30px;

}

b,
strong {
    font-weight: 700;
}

a {
    color: #f0b310;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}

.fa,
.fas {
    line-height: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.wonderplugintabs-panel-inner + a.remove {
    display: none !important;
}

header input#toggle,
header label.toggle {
    display: none;
}

.site_center {
    max-width: 1200px;
    padding: 0 2%;
    margin: 0 auto;
}

button,
.button,
input[type="submit"] {
    transition: background 0.5s ease;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#0b6ea9+0,0d5795+50,104989+100 */
    background: #0b6ea9; /* Old browsers */
    background: -moz-linear-gradient(top, #0b6ea9 0%, #0d5795 50%, #104989 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #0b6ea9 0%,#0d5795 50%,#104989 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #0b6ea9 0%,#0d5795 50%,#104989 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0b6ea9', endColorstr='#104989',GradientType=0 ); /* IE6-9 */
    color: #fff;
    text-transform: uppercase;
    padding: 12px 22px;
    margin: 0 0 13px;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid #c1c4c6;
    border-right: 3px solid #c1c4c6;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    line-height: normal;
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    display: inline-block;
}

.button.yellow {
    color: #40484f;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fadd05+0,f4c40c+50,f0b310+100 */
    background: #fadd05; /* Old browsers */
    background: -moz-linear-gradient(top, #fadd05 0%, #f4c40c 50%, #f0b310 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #fadd05 0%,#f4c40c 50%,#f0b310 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #fadd05 0%,#f4c40c 50%,#f0b310 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fadd05', endColorstr='#f0b310',GradientType=0 ); /* IE6-9 */
}

button i,
.button i {
    transition: margin-left 0.5s ease;
    color: #f0b310;
    display: inline-block;
    line-height: inherit;
}

button.yellow i,
.button.yellow i {
    color: #fff;
}

button:hover,
.button:hover {
    background: #4889c8;
    color: #fff;
}

button:hover i,
.button:hover i {
    margin-left: 5px;
}

.alignright {
    float: right;
    margin: 0 0 15px 15px;
}

.alignleft {
    float: left;
    margin: 0 15px 15px 0;
}

.alignnone {
    display: block;
    margin: 0 auto;
}

/*  Columns  */

.one_half {
    width: 48%;
    margin: 0 2% 0 0;
}

.one_half.last_column {
    margin: 0 0 0 2%;
}

.three_fourth.last_column {
    width: calc(75% - 60px);
    margin: 0 0 0 60px;
}

.content-column.one_third {
    padding-right: 3.6vw;
}

.content-column.one_third:last-child {
    padding-right: 0;
}

/* end columns  */


/*  Header  */

.headerwrapper {
    background: transparent url("images/harting-header-bg.jpg") top left repeat-x;
    position: relative;
    z-index: 99999999;
    box-shadow: 2px 2px 5px #000;
    min-height: 175px;
}

header .logo {
    background: transparent url("images/logo-bg.jpg") no-repeat;
    width: 509px;
    height: 155px;
    position: absolute;
}

header .logo img {
    margin: 0 0 0 33px;
}

header .button.yellow {
    float: right;
    margin: 25px 30px 0;
    border-color: #2e343a;
}

header .navwrapper {
    clear: both;
    float: right;
}

header nav {
    padding: 20px 30px 0;
}

.fixnav header nav {
    padding: 0;
}

.fixnav header .navwrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#56656d+0,48575e+100 */
    background: #56656d; /* Old browsers */
    background: -moz-linear-gradient(top, #56656d 0%, #48575e 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #56656d 0%,#48575e 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #56656d 0%,#48575e 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#56656d', endColorstr='#48575e',GradientType=0 ); /* IE6-9 */
    padding: 0 30px 0 0;
    text-align: right;
}

header nav ul.menu {
    padding: 30px 0 0;
    margin: 0;
}

header ul.theme_social,
header ul.theme_social li {
    display: inline-block;
}

header ul.theme_social li {
    padding: 5px 0 0;
}

header nav li {
    display: inline-block;
    position: relative;
    margin: 0 11px;
}

header nav li a {
    color: #fff;
    display: block;
    text-transform: uppercase;
    font-size: 17px;
}


header nav li li a {
    padding: 10px 20px;
}

header nav li.current_page_item a {
    color: #f0b310;
}


header ul.theme_social a:hover {
    border: none;
}

header nav li ul,
header nav li ul ul {
    position: absolute;
    left: -9999em;
    width: 275px;
    text-align: left;
    background: #4c5c63;
}

header nav li:hover ul {
    left: 0;
}

header nav ul ul li,
header nav ul ul li a {
    border: none;
}

header nav ul ul li {
    display: block;
    border-top: 1px solid #697c86;
    margin: 0;
}

header nav ul ul li a {
    text-transform: none;
    color: #f0b310;
}

header nav ul ul li a:hover,
header nav ul ul li.current-menu-item a {
    background: #f0b310;
    color: #4c5c63;
}

header ul.theme_social li {
    margin: 0 11px;
    border: none;
}

header ul.theme_social a,
header ul.theme_social a:hover {
    color: #fff;
    background: transparent;
}

/* end header */

/*  Contentwrapper  */

.contentwrapper {
    background: #fff;
    padding: 70px 0;
}

/*  Service Blocks  */

.theme_service_blocks {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e9eced+0,ffffff+100 */
    background: #e9eced; /* Old browsers */
    background: -moz-linear-gradient(top, #e9eced 0%, #ffffff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #e9eced 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #e9eced 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9eced', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    text-align: center;
    padding: 90px 20px;
}

#sidebar-services_blocks ul {
    display: grid;
    grid-template-columns: repeat(3, auto);
    column-gap: 28px;
    justify-content: center;
}

.theme_service_blocks .widget_custom_post_widget {
    background: #fff;
    border: 1px solid #e3e3e5;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    padding: 30px;
    margin: 0 0 28px;
    text-align: left;
    max-width: 330px;
    box-shadow: 5px 5px 15px #d2d3d5;
    /*display: inline-block;*/
    color: #444b53;
    font-size: 16px;
    transition: all .2s ease;
    flex: 1 0;
}

.theme_service_blocks .widget_custom_post_widget:hover {
    -webkit-transform: translate(5px, 5px);
    -ms-transform: translate(5px, 5px);
    transform: translate(5px, 5px);
}

.theme_service_blocks .widget_custom_post_widget h2,
.theme_service_blocks .widget_custom_post_widget h2 a,
.theme_service_blocks .widget_custom_post_widget h3,
.theme_service_blocks .widget_custom_post_widget h3 a,
.theme_service_blocks .widget_custom_post_widget h4,
.theme_service_blocks .widget_custom_post_widget h4 a,
.theme_service_blocks .widget_custom_post_widget h5,
.theme_service_blocks .widget_custom_post_widget h5 a,
.theme_service_blocks .widget_custom_post_widget h6,
.theme_service_blocks .widget_custom_post_widget h6 a {
    color: #f0b310;
    font-size: 25px;
    font-style: italic;
}

.theme_service_blocks .widget_custom_post_widget h2,
.theme_service_blocks .widget_custom_post_widget h3,
.theme_service_blocks .widget_custom_post_widget h4,
.theme_service_blocks .widget_custom_post_widget h5,
.theme_service_blocks .widget_custom_post_widget h6 {
    padding: 15px 0;
    margin: 0 0 15px;
    border-bottom: 1px solid #bcc4c9;
}

.theme_service_blocks .widget_custom_post_widget h2:after,
.theme_service_blocks .widget_custom_post_widget h3:after,
.theme_service_blocks .widget_custom_post_widget h4:after,
.theme_service_blocks .widget_custom_post_widget h5:after,
.theme_service_blocks .widget_custom_post_widget h6:after {
    content: '\f138';
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    color: #1f5694;
    font-size: 20px;
    margin: 0 0 0 10px;
    font-style: normal;
}

/*  Footer  */

.footerwrapper {
    color: #fff;
    padding: 60px 0;
    font-size: 16px;
}

#footer_bottom {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

#sidebar-footer_sidebar {
    float: left;
    width: 70%;
}

#sidebar-footer_sidebar_right {
    width: 30%;
    float: right;
    text-align: right;
    font-size: 13px;
}

#sidebar-footer_sidebar_right img {
    float: right;
}

#sidebar-footer_sidebar_right p {
    overflow: hidden;
    clear: both;
    margin: 0;
}

footer .sidebar .content-column ul ul li a:before {
    position: relative;
    content: "- ";
    color: #a3aab0;
}

/*  Home Page  */

#wonderplugintabs-1 > .wonderplugintabs-panel-wrap {
    border: none !important;
}

div.home_software_tabs {
    background: #fff;
    max-width: none !important;
    padding: 60px 0;
}

h2.hp_tab_title {
    text-align: center;
}

#wonderplugintabs-container-1 .wonderplugintabs {
    margin: 0 auto;
}

#wonderplugintabs-1 > .wonderplugintabs-panel-wrap {
    border-top: 1px solid #5c6e76 !important;
}

#wonderplugintabs-1 > .wonderplugintabs-header-wrap .wonderplugintabs-header-li {
    border-color: #5c6e76;
    border-radius: unset !important;
}

#wonderplugintabs-1 > .wonderplugintabs-header-wrap .wonderplugintabs-header-li {
    border-bottom: 1px solid #5c6e76 !important;
}

#wonderplugintabs-1 > .wonderplugintabs-header-wrap .wonderplugintabs-header-li-active {
    border-color: #5c6e76 !important;
    border-bottom: 1px solid #fff !important;
    margin: 0 10px 0 0 !important
}

/*  Main Content  */

section.main-content {
    max-width: 1200px;
    overflow: hidden;
    padding: 0 4%;
    margin: 0 auto;
}

.this_page_child_pages {
    background: #e8a70f;
    padding: 20px 0;
    font-size: 17px;
}

.this_page_child_pages ul {
    margin: 0;
    padding: 0;
    text-align: right;
}

.this_page_child_pages li {
    display: inline-block;
    margin: 0 9px 0 0;
}

.this_page_child_pages li.first {
    color: #fff;
    font-weight: 700;
}

.this_page_child_pages a {
    color: #fff;
    padding: 0 12px 0 0;
    position: relative;
}

.this_page_child_pages a:hover {
    text-decoration: underline;
}

.this_page_child_pages a:after {
    width: 1px;
    background: #fff;
    height: 15px;
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -7px;
    border-left: 1px solid #f0cea5;
}

.this_page_child_pages li.first a:after,
.this_page_child_pages li:last-child a:after {
    display: none;
}

/*  end main content  */

/*  Testimonials  Widget  */

#sidebar-testimonials_sidebar {
    background: #f0b310 url("images/harting_testi_quote.gif") center 80px no-repeat;
    padding: 150px 0 80px;
    text-align: center;
}

#sidebar-testimonials_sidebar > ul {
    margin: 0 auto;
    padding: 0 50px;
    max-width: 1200px;
}

#sidebar-testimonials_sidebar div.content {
    color: #fff;
    font-style: italic;
    font-size: 33px;
    font-weight: 300;
    line-height: 1.5em;
}

#sidebar-testimonials_sidebar .widget_acg_testimonials_widget {
    max-width: 1000px;
    margin: 0 auto;
}

#sidebar-testimonials_sidebar div.meta {
    max-width: 425px;
    margin: 0 auto;
}

#sidebar-testimonials_sidebar .meta.name {
    font-weight: 700;
}

#sidebar-testimonials_sidebar .meta.title {
    font-style: italic;
}

#sidebar-testimonials_sidebar .testi_controls li {
    display: inline-block;
    margin: 30px 15px 0 15px;
}

.testi_controls i {
    color: #1f5694;
    font-size: 35px;
}

/*  Blog  */

.postwrapper {
    overflow: hidden;
    padding: 0 0 30px;
    margin: 0 0 25px;
    border-bottom: 1px solid #f0b310;
}

.postwrapper h2.entry-title {
    margin: 0;
}

.postwrapper .post_featured_image {
    float: left;
    width: 45%;
}

.postwrapper .post {
    float: right;
    width: 50%;
}

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

.blog .navigation a.page-numbers,
.blog .navigation span.current {
    width: 35px;
    height: 35px;
    display: inline-block;
    text-align: center;
    line-height: 35px;
    margin: 0 5px;
    border: 1px solid #f0b310;
}

.blog .navigation a.prev,
.blog .navigation a.next {
    width: auto;
    padding: 0 10px;
}

.blog .navigation a.page-numbers:hover,
.blog .navigation span.current {
    background: #f0b310;
    color: #fff;
}

span.read-more-wrapper {
    display: block;
    margin: 20px 0;
}

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

/*  End blog  */

/** Partners  **/

#sidebar-partners_sidebar {
    border-top: 1px solid #c8cdd0;
    background: #fff;
    padding: 60px 5%;
    text-align: center;
    font-size: 22px;
}

#sidebar-partners_sidebar .widget {
    display: block;
    margin: 0 0 30px;
}

#sidebar-partners_sidebar li.widget_media_image {
    display: inline-block;
    margin: 0;
}

/** end partners  **/


/*  Footer Styles  */



/* end footer styles */

/*  Overrites  */


/* end overrites */

/** Slideshow Styles  **/

* {box-sizing:border-box}

/* Slideshow container */
.hp-slideshow {
    position: relative;
    margin: auto;
    background: #474e56;
    overflow: hidden;
    color: #fff;
    clear: both;
}

.hp-slideshow li.hp-slide {
    flex-wrap: wrap;
}

.hp-slideshow li.hp-slide img,
.hp-slideshow li.hp-slide .hp-slide-copy-wrapper {
    width: 42.5%;
    float: left;
}

.hp-slideshow li.hp-slide .hp-slide-copy-wrapper img {
    float: inherit;
    margin: 0;
    width: auto;
}

.hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy {
    padding: 60px 60px 0 60px;
    font-weight: 300;
}

.hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy h2,
.hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy h3,
.hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy h4 {
    color: #f0b310;
    font-weight: 400;
    letter-spacing: 2px;
}

.hp-slide-copy .button {
    border: none;
    -webkit-box-shadow: 2px 2px 5px #000;
    -moz-box-shadow: 2px 2px 5px #000;
    box-shadow: 2px 2px 5px #000;
}

/* Hide the images by default */
.hp-slide {
    display: none;
}

.hp-control-wrapper {
    position: absolute;
    bottom: 30px;
    left: 42.5%;

}

.hp-control-wrapper .hp-slide-prev,
.hp-control-wrapper .hp-slide-next {
    display: none;
}

.hp-control-wrapper ul.hp-control {
    margin: 0 0 0 60px;
}

.hp-control-wrapper ul.hp-control li.hp-slide-page {
    display: inline-block;
}

/* Next & previous buttons */
.hp-prev, .hp-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.hp-prev {
    left: 0;
}
/* Position the "next button" to the right */
.hp-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.hp-prev:hover, .hp-next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 24px;
    width: 24px;
    margin: 0 2px;
    border-radius: 50%;
    transition: background-color 0.6s ease;
    display: block;
    border: 1px solid #f0b310;
}

.dot.active, .dot:hover {
    background: #f0b310;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

.hp-slideshow ul.hp-fade-gal.fade-gal {
    margin: 0;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/**  End Slideshow  */

/**  Accordions and Tabs  **/

.main-content.page .wonderplugintabs-header-wrap {
    margin: 0 0 -25px !important;
}

.main-content.page .wonderplugintabs-panel-wrap {
    background: #e9eced !important;
    padding: 30px;
    font-size: 18px;
    color: #444b53;
    overflow: visible !important;
}

.main-content.page .wonderplugintabs-header-li {
    border: 2px solid #e8a70f !important;
    border-radius: unset !important;

}

.main-content.page .wonderplugintabs-header-li:hover,
.main-content.page .wonderplugintabs-header-li-active {
    background: #e8a70f !important;
}

.main-content.page .wonderplugintabs-next,
.main-content.page .wonderplugintabs-prev {
    top: unset !important;
    bottom: -15px !important;
    margin: 0 -30px 0 !important;
}

.main-content.page .wonderplugintabs-prev {
    margin: 0 0 0 -30px !important;
    left: 50% !important;
}

.main-content.page .wonderplugintabs-next {
    right: 50% !important;
}

/* wonderplugintabs-header-li-first wonderplugintabs-header-li-active wonderplugintabs-header-li-active-first */

/**  End A&T  **/

/*******   FORM STYLES  ************/


form li.gfield,
form .ginput_container_radio li,
form .ginput_container_checkbox li {
    list-style: none;
    margin: 0 0 30px;
}

form .ginput_container_radio li,
form .ginput_container_checkbox li {
    margin: 0 0 5px;
}

input[type="email"],
input[type="text"],
textarea {
    width: calc(100% - 32px); /* Width minus border width and left and right */
    min-width: 200px;
    max-width: 500px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: inset 2px 2px 4px #ccc;
    background: #f1f1f1;
}

label {
    font-size: 1.4em;
}

.gfield_checkbox label,
.gfield_radio label {
    cursor: pointer;
}

/** Checkboxes  **/

.gfield_checkbox li, .gfield_radio li {
    position: relative;
}

.gfield_radio li label,
.gfield_checkbox li label {
    margin: 2px 0 0 21px;
}

body .gform_wrapper ul li.gfield.optional .gfield_checkbox label::after,
body .gform_wrapper ul li.gfield.optional .gfield_radio label::after {
    content: "";
    opacity: 1;
}

body .gform_wrapper .gfield_radio li input[type="radio"],
body .gform_wrapper .gfield_checkbox li input[type="checkbox"] {
    display: none;
}
ul.gfield_checkbox li[class^="gchoice"] label:before,
ul.gfield_checkbox li[class^="gchoice"] label:after,
ul.gfield_radio li[class^="gchoice"] label:before,
ul.gfield_radio li[class^="gchoice"] label:after {
    bottom: 0;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
}
ul.gfield_checkbox li[class^="gchoice"] label:after,
ul.gfield_radio li[class^="gchoice"] label:after {
    content: "";
    background-color: #fff;
    border: solid 1px #3c3c3c;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    display: inline-block;
    height: 13px;
    width: 13px;
    position: absolute;
    top: 0;
    left: 0;
    transition: left .25s, background-color .13s;
    z-index: 1;
}

ul.gfield_checkbox li[class^="gchoice"] label:after {
    border-radius: inherit;
}

ul.gfield_checkbox input[type="checkbox"]:checked + label:before,
ul.gfield_radio input[type="radio"]:checked + label:before {
    content: "";
    background: #ccc;
    width: 13px;
    height: 13px;
    left: 1px;
    z-index: 3;
}

ul.gfield_radio input[type="radio"]:checked + label:before {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

select {
    -webkit-appearance: button;
    -webkit-border-radius: 2px;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-padding-end: 20px;
    -webkit-padding-start: 2px;
    -webkit-user-select: none;
    /*background: url(images/15xvbd5.png) 97% center no-repeat, -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);*/
    border: 1px solid #AAA;
    color: #555;
    font-size: inherit;
    overflow: hidden;
    padding: 5px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
}

/*********   END FORM STYLES  ********/

@media only screen and (max-width: 1420px) {
    .hp-slideshow .hp-slide-copy-wrapper {
        width: 57.5% !important;
    }

    .hp-slideshow li.hp-slide .slidecopy img {
        width: auto;
        max-height: 50px;
    }
}

@media only screen and (max-width: 1350px) {
    .hp-slideshow li.hp-slide .slidecopy {
        font-size: 14px;
    }
}

@media only screen and (max-width: 1300px) {
    footer {
        padding: 0 5%;
    }

    .hp-control-wrapper {
        bottom: 10px;
    }
}

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

    .hp-control-wrapper {
        bottom: 10px;
        width: auto;
        left: unset;
        right: 0;
        text-align: right;
    }
}

@media only screen and (max-width: 1150px) {
    header .logo {
        background: none;
    }

    header .logo img {
        height: 75px;
    }

    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy,
    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy .button {
        font-size: 13px;
    }

    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy h2,
    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy h3,
    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy h4 {
        font-size: 18px;
        margin: 0 0 10px;
    }
}

@media only screen and (max-width: 1000px) {
    div#hp_hero #gv_hero_copy {
        margin-left: 0;
        left: 0;
    }

    div#hp_hero div#gv_hero_small {
        font-size: 25px;
    }

    div#hp_hero div#gv_hero_large {
        font-size: 40px;
    }

    .gv_settlement_scode .settlement_amount,
    .gv_settlement_scode i {
        font-size: 20px;
    }
}

@media only screen and (max-width: 950px) {
    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy {
        padding: 30px 30px 0 30px;
    }

    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy .button {
        font-size: 11px;
    }
}


@media only screen and (max-width: 825px) {
    footer .one_fourth {
        width: 48%;
    }
}

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

    .headerwrapper {
        background: transparent url("images/harting-header-mobile-bg.jpg") repeat-x;
        min-height: 254px;
        text-align: center;
    }

    header .logo {
        width: 100%;
        max-width: 80%;
        height: auto;
        margin: 0 auto;
        display: block;
        position: relative;
        top: initial;
        left: initial;
    }

    header .logo img {
        margin: 0 auto;
        display: block;
    }

    header .button.yellow {
        float: none;
        display: inline-block;
    }

    header .navwrapper {
        float: none;
    }

    .navwrapper label.toggle {
        display: block;
        color: #f0b310;
        text-align: right;
        padding: 0;
        margin: 0;
        position: absolute;
        top: 200px;
        right: 22px;
        cursor: pointer;
        font-size: 50px;
    }

    body.fixnav label.toggle {
        position: relative;
        top: unset;
        right: unset;
        margin: 20px 0;
    }

    .navwrapper ul.menu {
        display: none;
    }

    .navwrapper input#toggle:checked + ul.menu {
        display: block;
        margin: 75px 0 0;
    }

    header nav li ul,
    header nav li ul ul {
        background: transparent;
    }

    header nav {
        text-align: left;
        padding: 0;
    }

    header nav li {
        display: block;
        border-top: 1px solid #697c86;
        margin: 0;
    }

    header nav li a {
        padding: 8px 20px;
        border-bottom: none;
    }

    header nav li#nav_search {
        display: none;
    }

    header nav ul.sub-menu {
        border-top: none !important;
    }

    header nav ul ul {
        position: relative;
        left: auto;
        width: auto;
        display: block;
        margin: 0;
    }

    header nav li a:hover,
    header nav li.current-menu-item a {
        background: #f0b310;
        color: #4c5c63;
    }

    header nav li.current-menu-item li a {
        background: transparent;
        color: #fff;
    }

    header nav ul ul li a {
        padding-left: 30px;
        color: #fff;
    }

    header ul.theme_social {
        display: block;
        width: 100%;
        overflow: hidden;
        border-top: 1px solid #697c86;
        padding: 30px 0 0;
    }

    header ul.theme_social li {
        width: 50%;
        float: left;
        text-align: center;
        background: #f0b310;
        margin: 0 0 30px;
    }

    header ul.theme_social li:hover {
        background: #697c86;
        color: #fff;
    }

    header ul.theme_social a,
    header ul.theme_social a:hover {
        border: none;
    }

    div.practice_areas .postwrapper {
        max-width: none;
        margin: 0 2%;
    }

    .one_half {
        width: 100%;
        margin: 0 0 30px;
    }

    .one_half.last_column {
        margin-left: 0;
    }

    .hp-slideshow ul.hp-fade-gal.fade-gal {
        height: auto !important;
    }

    .hp-slideshow li.hp-slide img,
    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper {
        float: none;
        clear: both;
    }

    .hp-slideshow li.hp-slide img {
        width: 100%;
    }

    .hp-slideshow li.hp-slide .slidecopy img {
        width: auto;
        max-height: none;
    }

    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper {
        width: 100% !important;
    }

    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper p img {
        width: 30%;
    }

    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy {
        font-size: 23px;
    }

    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper .slidecopy .button {
        display: none;
    }

    .hp-control-wrapper {
        position: relative;
        left: unset;
        bottom: unset;
        text-align: center;
        width: 100%;
        margin: 30px 0;
    }

    .hp-control-wrapper ul.hp-control {
        margin: 0;
    }

    #sidebar-services_blocks ul {
        grid-template-columns: repeat(2, 50%);

    }
}

@media only screen and (max-width: 650px) {
    .postwrapper .post_featured_image,
    .postwrapper .post {
        float: none;
        width: 100%;
        display: block;
        clear: both;
        margin: 0 0 15px;
    }

    footer {
        text-align: center;
    }

    #sidebar-footer_sidebar,
    #sidebar-footer_sidebar_right {
        width: 100%;
        float: none;
        clear: both;
        text-align: center;
    }

    footer .one_fourth {
        width: 100%;
        float: none;
        clear: both;
        margin: 0 0 30px;
    }

    #sidebar-footer_sidebar_right img {
        float: none;
        margin: 0 auto 30px;
    }
}

@media only screen and (max-width: 600px) {
    .three_fourth.last_column {
        margin-left: 0;
        width: 100%;
    }

    .content-column.one_third {
        padding-right: 0;
    }
}

@media only screen and (max-width:414px) {
    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper p {
        margin: 0 0 10px;
        font-size: 18px;
        line-height: 23px;
    }

    .hp-slideshow li.hp-slide .hp-slide-copy-wrapper p img {
        width: 30%;
    }

    #sidebar-services_blocks ul {
        grid-template-columns: repeat(1,auto);
    }

    section.main-content {
        overflow: visible;
    }

}