/*
Theme Name: Peregrina Stiftung in CSS
Author: LexoGmbH
Author URI: https://www.lexo.ch/
Version: 1.0
*/


.clearfix:after {visibility: hidden;display: block;font-size: 0;content: " ";clear: both;height: 0;}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

/* CSS reset */
body,div,dl,dt,dd,h3,h4,h5,h6,pre,form,fieldset,input,textarea,blockquote,th,td,ul { 
    margin:0;
    padding:0;
}

ul,li {
    list-style: none;
}

html,body {
    margin:0;
    padding:0;
    min-height: 100%;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
fieldset,img { 
    border:0;
}
address,caption,cite,code,dfn,th,var {
    font-style:normal;
    font-weight:normal;
}
caption,th {
    text-align:left;
}
q:before,q:after {
    content:'';
}
abbr,acronym {
    border:0;
}

canvas, img {
    image-rendering: optimizeQuality;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: bicubic;
    max-width: 100%;
    height: auto;
}

* {
    outline: none;
}

.map-wrapper img {
    border-radius: 8px;
    transition: scale 0.2s;
}

.map-wrapper a img:is(:hover, :focus) {
    scale: 1.025;
}

/* WORDPRESS CONTENT IMAGE CLASSES */

.alignright {
    float: right;
    margin: 0.5em 0 0.5em 1em;
}

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

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

.alignleft,
.alignright,
.aligncenter,
.alignnone,
p img {
    height: auto;
    max-width: 100%;
    margin-top: 8px;
}

/*FONTS*/

@font-face {
  font-family: 'Raleway-Regular';
  src: url('fonts/Raleway-Regular.eot?#iefix') format('embedded-opentype'),  url('fonts/Raleway-Regular.woff') format('woff'), url('fonts/Raleway-Regular.ttf')  format('truetype'), url('fonts/Raleway-Regular.svg#Raleway-Regular') format('svg');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Raleway-Medium';
  src: url('fonts/Raleway-Medium.eot?#iefix') format('embedded-opentype'),  url('fonts/Raleway-Medium.woff') format('woff'), url('fonts/Raleway-Medium.ttf')  format('truetype'), url('fonts/Raleway-Medium.svg#Raleway-Medium') format('svg');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Raleway-Bold';
  src: url('fonts/Raleway-Bold.eot?#iefix') format('embedded-opentype'),  url('fonts/Raleway-Bold.woff') format('woff'), url('fonts/Raleway-Bold.ttf')  format('truetype'), url('fonts/Raleway-Bold.svg#Raleway-Bold') format('svg');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Raleway-Italic';
  src: url('fonts/Raleway-Italic.eot?#iefix') format('embedded-opentype'),  url('fonts/Raleway-Italic.woff') format('woff'), url('fonts/Raleway-Italic.ttf')  format('truetype'), url('fonts/Raleway-Italic.svg#Raleway-Italic') format('svg');
  font-weight: 400;
  font-style: normal;
}



@font-face {
  font-family: 'CenturyGothic-Italic';
  src: url('fonts/CG/CenturyGothic-Italic.eot?#iefix') format('embedded-opentype'),  url('fonts/CG/CenturyGothic-Italic.woff') format('woff'), url('fonts/CG/CenturyGothic-Italic.ttf')  format('truetype'), url('fonts/CG/CenturyGothic-Italic.svg#CenturyGothic-Italic') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'CenturyGothic-Bold';
  src: url('fonts/CG/CenturyGothic-Bold.eot?#iefix') format('embedded-opentype'),  url('fonts/CG/CenturyGothic-Bold.woff') format('woff'), url('fonts/CG/CenturyGothic-Bold.ttf')  format('truetype'), url('fonts/CG/CenturyGothic-Bold.svg#CenturyGothic-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'CenturyGothic';
  src: url('fonts/CG/CenturyGothic.eot?#iefix') format('embedded-opentype'),  url('fonts/CG/CenturyGothic.woff') format('woff'), url('fonts/CG/CenturyGothic.ttf')  format('truetype'), url('fonts/CG/CenturyGothic.svg#CenturyGothic') format('svg');
  font-weight: normal;
  font-style: normal;
}








/*b, strong {
    font-family: 'Raleway-Bold';
}*/

.font-class b, .font-class strong {
    font-family: "CenturyGothic-Bold", CenturyGothic, AppleGothic, sans-serif;
} 

/*em, i {
    font-family: 'Raleway-Italic';

}*/

.font-class em, .font-class i {
    font-family: "CenturyGothic-Italic", CenturyGothic, AppleGothic, sans-serif;
}

hr {
    margin-top: 40px;
    margin-bottom: 40px;
    border: 0;
    border-top: 1px solid #cccccc;
}

html {
    font-size: 10px;
}

/*body {
    font-family: 'Raleway-Medium';
    font-size: 1.6rem;
    color: #111111;
}*/

body.font-class {
    font-family: "CenturyGothic", CenturyGothic, AppleGothic, sans-serif;
    font-size: 1.6rem;
    color: #111111;
}

a {
    color: #111111;
}

a:hover {
    color: #758e30;
    text-decoration: none;
    outline: none;
}

a:focus,a:visited {
    text-decoration: none;
    outline: none;
}
i.fa {
    font: normal normal normal 14px/1 FontAwesome !important;
    font-size: 18px !important;
    margin-left: 10px;
}
/*h1 {
    font-family: 'Raleway-Medium';
    font-size: 2.8rem;
    text-transform: uppercase;
    color: #9fbc4c;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 15px;
    position: relative;
    margin-bottom: 40px;
}*/
h1 {
    font-family: "CenturyGothic", CenturyGothic, AppleGothic, sans-serif;
    font-size: 3.2rem;
    text-transform: uppercase;
    color: #9fbc4c;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 15px;
    position: relative;
    margin-bottom: 40px;
}

h1:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    width: 67px;
    background: #9fbc4c;
}

.font-class h2 {
    font-family: "CenturyGothic", CenturyGothic, AppleGothic, sans-serif;
    font-size: 2.2rem;
    text-transform: uppercase;
    color: #9fbc4c;
    /*border-bottom: 1px solid #cccccc;*/
    /*padding-bottom: 15px;*/
    position: relative;
    margin-bottom: 20px;
}

/*.font-class h2:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    width: 67px;
    background: #9fbc4c;
}*/

/*h2 {
    font-family: 'Raleway-Medium';
    font-size: 2.2rem;
    text-transform: uppercase;
    color: #9fbc4c;
    margin-bottom: 20px;
}*/

.font-class h3 {
    font-family: "CenturyGothic", CenturyGothic, AppleGothic, sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    color: #9fbc4c;
    margin-bottom: 5px;
    padding-bottom: 5px;
    /*border-bottom: 1px solid #cccccc;*/
}
/*.font-class h3:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    width: 67px;
    background: #9fbc4c;
}*/

/*h3 {
    font-family: 'Raleway-Medium';
    font-size: 2rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 22px;
}*/


h3 {
    position: relative;
}

/*p {
    line-height: 30px;
    margin: 0 0 41px;
}*/

.font-class p {
    line-height: 26px;
    margin: 0 0 41px;
}

p:empty {
    display: none;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 22px;
    position: relative;
}

ul li:after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 6px;
    height: 10px;
    background: url('images/list-style.png') no-repeat center center;
}

#content-wrapper ul {
    margin: 0 0 41px 0;
}

/*#content-wrapper ul li {
    line-height: 30px;
}*/

.font-class #content-wrapper ul li {
    line-height: 26px;
}

#content-wrapper ul li:after {
    top: 9px;
}

.footerBoxContent a:hover {
    color: #fff;
}

.page-template-template-contact.gecko form textarea {
    margin-bottom: 16px;
}

.page-template-template-home-php #content-wrapper {
    padding-top: 54px;
    padding-bottom: 28px;
}

.underline {
    width: 100%;
    height: 1px;
    background: #768c37;
    position: relative;
}

.underline:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    background: #768c37;
    height: 3px;
    width: 67px;
}

.relative {
    position: relative;
}

.ratio {
    display: block;
    width: 100%;
    height: auto;
}

#location1, #location2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*HEADER*/

#upperHeader {
    min-height: 100px;
    top: 0px;
    position: fixed;
    background: #dfdfdf;
    /*border-bottom: 1px solid #768c37;*/
    left: 0;
    width: 100%;
    z-index: 10;
}

#logoWrapper {
    min-height: 190px;
    margin-top: 159px;
}

/*.logged-in.home #logoWrapper {
    min-height: 190px;
    margin-top: 68px;
}*/

.home #logoWrapper {
    min-height: 190px;
    margin-top: 99px;
}

.page-template-template-contact-php #subMenu.fullSubmenu {
    min-height: 12px !important;
}

/*.single #logoWrapper, .page-template-template-contact-php #logoWrapper {
    margin-top: 112px;
}*/

#logoWrapper.homeLogoWrapper {
    background: #92ad44;
    text-align: center;
}

#logoWrapper.homeLogoWrapper img {
    margin: 35px 0px;
}

#logoWrapper.pageLogoWrapper {
    background: #fff;
    text-align: right;
}

#logoWrapper.pageLogoWrapper img {
    margin: 31px 0px;
}

#menuWrapper {
    text-align: center;
    min-height: 100px;
/*    margin-bottom: -5px;*/
}

#menuWrapper .header_menu, #subMenu .injectedMenu  {
    display: none;
}

.menu_wrapper_inner {
    display: inline-block;
    vertical-align:top;
}

.header_menu {
/*    width: 1048px;
    margin: 0 auto;
    padding-left: 0 !important;*/
    float: left;
}

#main-menu-append {
    position: relative;
}

#main-menu-append:before {
    content: '';
    width: 1px;
    height: 68px;
    background-color: #333;
    position: absolute;
    left: -0.5px;
    top: 50%;
    margin-top: -34px;
    z-index: 10;
}

/*#menuWrapper #main-menu li {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-family: 'Raleway-Medium';
    float: left;
    list-style: none !important;
    padding-left: 0;
}*/

.font-class #menuWrapper .header_menu li {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-family: "CenturyGothic", CenturyGothic, AppleGothic, sans-serif;
    float: left;
    list-style: none !important;
    padding-left: 0;
}

#menuWrapper .header_menu li:after {
    display: none;
}

/*#menuWrapper #main-menu > li > a {
    padding: 40px 22px;
    display: inline-block;
    -webkit-transition: color 0.25s;
    -moz-transition: color 0.25s;
    -ms-transition: color 0.25s;
    -o-transition: color 0.25s;
    transition: color 0.25s;
}*/

.font-class #menuWrapper .header_menu > li > a {
    padding: 40px 25px;
    display: inline-block;
    -webkit-transition: color,background-color 0.25s;
    -moz-transition: color,background-color 0.25s;
    -ms-transition: color,background-color 0.25s;
    -o-transition: color,background-color 0.25s;
    transition: color,background-color 0.25s;
}

#menuWrapper .header_menu li.current-menu-item a, #menuWrapper .header_menu li.current-menu-parent a {
    background: #92ad44;
    color: #fff;
    position: relative;
/*    border-left: 1px solid #768c37;
    border-right: 1px solid #768c37;*/
/*    padding: 40px 20px;*/
}

#menuWrapper .header_menu li a:focus {
    color: #fff !important;
}

/*#menuWrapper #main-menu li.current-menu-item a:after, #menuWrapper #main-menu li.current-menu-parent a:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #92ad44;
}*/

#menuWrapper .header_menu li a:hover {
    background: #92ad44;
    color: #fff;
}

#menuWrapper .header_menu li ul {
    display: none;
}

.wp-caption-text {
    margin: 9px 0 0 0 !important;
    font-size: 1.4rem;
    text-align: left;
    line-height: 1.2em !important;
}

#subMenu {
    min-height: 12px;
    background: #92ad44;
    /*border-top: 1px solid #768c37;*/
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -ms-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}

#subMenu.fullSubmenu {
    min-height: 59px !important;
}

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

.injectedMenu {
    padding-left: 48px;
}

/*.injectedMenu li {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-family: 'Raleway-Medium';
    float: left;
    list-style: none !important;
    padding-left: 0;
}*/

.font-class .injectedMenu li {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-family: "CenturyGothic", CenturyGothic, AppleGothic, sans-serif;
    float: left;
    list-style: none !important;
    padding-left: 0;
}

.injectedMenu li:after {
    display: none;
}

#pageTopContainer, .homeSlide {
    height:430px !important;
    width: 100%;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

.injectedMenu li a {
    padding: 19px 19px;
    display: inline-block;
    -webkit-transition: color 0.25s;
    -moz-transition: color 0.25s;
    -ms-transition: color 0.25s;
    -o-transition: color 0.25s;
    transition: color 0.25s;
}

.injectedMenu li a:hover {
    color: #fff;
}

.injectedMenu li.current-menu-item a {
    color: #fff;
}

/*FOOTER*/

footer {
    min-height: 100px;
    background: #92ad44;
}

#upperFooter {
    min-height: 440px;
    border-bottom: 1px solid #758e30;
    padding-top: 56px;
}

#lowerFooter {
    min-height: 100px;
    text-align: center;
    position: relative;
}

.customRow {
    margin-left: -30px;
    margin-right: -30px;
}

/*.footerBoxWrapper {
    padding-right: 30px;
    padding-left: 30px;
    float: left;
    width: 33.33%;
    font-family: 'Raleway-Medium';
}*/

.font-class .footerBoxWrapper {
    padding-right: 30px;
    padding-left: 30px;
    float: left;
    width: 33.33%;
    font-family: "CenturyGothic", CenturyGothic, AppleGothic, sans-serif;
}

.footerBoxContent {
    margin-top: 31px;
}

.footerBoxContent ul li {
    border-bottom: 1px solid #768c37;
    position: relative;
    list-style: none;
    padding: 10px 0px 10px 22px;
}

.footerBoxContent ul li:first-child {
    padding: 0px 0px 10px 22px;  
}

.footerBoxContent ul li:after {
    content: '';
    position: absolute;
    top: 15px;
    left: 6px;
    width: 6px;
    height: 10px;
    background: url('images/list-style.png') no-repeat center center;
}

.footerBoxContent ul li:first-child:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 6px;
    width: 6px;
    height: 10px;
    background: url('images/list-style.png') no-repeat center center;
}

/*#copyright {
    display: inline-block;
    padding: 69px 0px;
    font-family: 'Raleway-Medium';
    font-size: 1.2rem;
}*/

.font-class #copyright {
    display: inline-block;
    padding: 69px 0px;
    font-family: "CenturyGothic", CenturyGothic, AppleGothic, sans-serif;
    font-size: 1.3rem;
}

#scrollToTop {
    width: 72px;
    height:72px;
    background: url('images/ftt.png') no-repeat center center;
    position: absolute;
    bottom: 50%;
    right: 174px;
    cursor: pointer;
    -o-transform: translateY(50%);
    -moz-transform: translateY(50%);
    -ms-transform: translateY(50%);
    -webkit-transform: translateY(50%);
    transform: translateY(50%);
}

#socialHolder {
    margin-right: -5px;
    margin-left: -5px;
    margin-top: 38px;
}

.socialElements {
    width: 40px;
    height: 40px;
    margin-right: 5px;
    margin-left: 5px;
    display: block;
    float: left;
    overflow: hidden;
    position: relative;
}

.socialElements img {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 40px;
    width: 40px;
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -ms-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}

.socialElements:hover img {
    width: 50px;
    height: 50px;
}

.ButtonLink {
    margin-top: 56px;
}

.ButtonLink a {
    background: #768c37;
    padding: 19px 34px;
    color: #fff;
    display: inline-block;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -ms-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}

.ButtonLink a:hover {
    color: #768c37;
    background: #fff;
}

/*.homeRight p .custom-button {
    margin-bottom: -18px;
}*/

/*KONTAKT*/

.contactAddresse, .contactTelefon, .contactemail, .contactFax {
    padding-left: 23px;
}

.contactemail a, .infowindow-content a {
    color: #9fbc4c !important;
}

.contactText {
    margin-top: 32px;
    color: #000;
}

.contactAddresse, .contactemail {
    margin-top: 22px;
}

.contactTelefon,
.contactFax
{
    margin-top: 20px;
}

.contactAddresse:after {
    content: "";
    position: absolute;
    top: 3px;
    left: 0px;
    width: 12px;
    height: 16px;
    background-image: url('images/contact-sprite.png');
    background-repeat: no-repeat;
    background-position: -2px -8px;
}

.contactTelefon:after {
    content: "";
    position: absolute;
    top: 5px;
    left: 0px;
    width: 12px;
    height: 16px;
    background-image: url('images/contact-sprite.png');
    background-repeat: no-repeat;
    background-position: -2px -47px;

}

.contactFax:after {
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    color: #6F6F6F;
    position: absolute;
    top: 5px;
    left: 0px;
    content: "\f1ac";
    font-size: 14px !important;

}

.contactemail:after {
    content: "";
    position: absolute;
    top: 6px;
    left: 0px;
    width: 12px;
    height: 16px;
    background-image: url('images/contact-sprite.png');
    background-repeat: no-repeat;
    background-position: -2px -92px;

}

#mapWrapper {
    margin-bottom: 55px;
}

/*#mapWrapper p {
    line-height: 23px;
    margin: 0 0 15px;
}*/

.font-class #mapWrapper p {
    line-height: 19px;
    margin: 0 0 15px;
}

form input {
    height: 57px;
    background: #f2f2f2;
    width:100%;
    border: none;
    color: #6f6f6f;
    padding: 15px 25px;
    margin-bottom: 17px;
}

form textarea {
    height: 205px;
    background: #f2f2f2;
    width:100%;
    border: none;
    color: #6f6f6f;
    padding: 15px 25px;
    margin-bottom: 12px;
    resize: none;
    vertical-align: top;
    margin-bottom: 17px;
}

.fieldReq {
    font-family: arial;
    position: absolute;
    top: 17px;
    right: 15px;
    color: #757575;
    font-size: 27px;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #757575;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #757575;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #757575;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #757575;
}

.range-bar {
    position: relative;
    height: 57px;
    background: #f2f2f2;
    width:100%;
    border: none;
    color: #6f6f6f;
    margin-bottom: 17px;
    display: block;
}

.range-handle {
    position: absolute;
    width: 176px;
    height: 57px;
    background: url('images/spamschutz.png') 0px 0px no-repeat;
    cursor: e-resize;
}

.field_range label {
    display: none;
}

form #submit:disabled {
    height: 57px;
    background: #f2f2f2;
    width: 100%;
    border: none;
    color: #6f6f6f;
    padding: 15px 25px;
    margin-bottom: 17px;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -ms-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}

form #submit {
    height: 57px;
    background: #9fbc4c;
    width: 100%;
    border: none;
    color: #fff;
    padding: 15px 25px;
    margin-bottom: 17px;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -ms-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}

input.error {
    border: 1px solid #9fbc4c;
}

label.error {
    display: none !important;
}

#formWrapper {
    padding-bottom: 50px;
}

/* Base for label styling */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked,
[type="radio"]:not(:checked),
[type="radio"]:checked {
  position: absolute;
  left: -9999px;
}

[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label,
[type="radio"]:not(:checked) + label,
[type="radio"]:checked + label {
  position: relative;
  padding-left: 33px;
  cursor: pointer;
}

/* checkbox aspect */
[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
    content: '';
    position: absolute;
    left:0; top: -1px;
    width: 20px; height: 20px;
    background: #9fbc4c;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

[type="radio"]:not(:checked) + label:before,
[type="radio"]:checked + label:before {
    content: '';
    position: absolute;
    left:0; top: 0px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #9fbc4c;
}

/* checked mark aspect */
[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after {
    content: '';
    background: url('images/checkboxCheck.png');
    width: 11px;
    height: 9px;
    position: absolute;
    top: 4px;
    left: 5px;
    font-size: 18px;
    line-height: 0.8;
    color: #09ad7e;
    transition: all .2s;
}

[type="radio"]:not(:checked) + label:after,
[type="radio"]:checked + label:after {
  content: '';
  width: 8px; height: 8px;
  position: absolute;
  top: 4px; left: 4px;
  font-size: 18px;
  background: #c82828;
  border-radius: 50%;
  transition: all .2s;
}


/* checked mark aspect changes */
[type="checkbox"]:not(:checked) + label:after,
[type="radio"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}

[type="checkbox"]:checked + label:after,
[type="radio"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}

label {
    color: #6f6f6f;
}

.checkboxHolder {
    padding: 18px 0px 17px 0px;
}

/* hover style just for information */
/*label:hover:before {
  border: 1px solid #c82828!important;
}*/

#allWrapper {
    overflow: hidden;
    position: relative;
}

#menuOverlay {
    display: none;
}

#menuOverlay.activeMenu {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 9999;
    display: block;
}

#nav_burger {
    width: 60px;
    height: 45px;
    position: absolute;
    -webkit-transform: rotate(0deg) translateY(-50%);
    -moz-transform: rotate(0deg) translateY(-50%);
    -o-transform: rotate(0deg) translateY(-50%);
    transform: rotate(0deg) translateY(-50%);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 10;
    left: 15px;
    top: 50%;
    display: none;
}

#nav_burger span {
    display: block;
    position: absolute;
    height: 9px;
    width: 100%;
    background: #FFFFFF;
    border-radius: 9px;
    opacity: 1;
    left: 0px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.pageLogoWrapper #nav_burger span {
    background: #9fbc4c;
}

#nav_burger span:nth-child(1) {
    top: 0px;
}

#nav_burger span:nth-child(2), #nav_burger span:nth-child(3) {
    top: 18px;
}

#nav_burger span:nth-child(4) {
    top: 36px;
}

#nav_burger span:nth-child(1) {
  top: 0px;
}

#nav_burger span:nth-child(2),#nav_burger span:nth-child(3) {
  top: 18px;
}

#nav_burger span:nth-child(4) {
  top: 36px;
}

#nav_burger.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav_burger.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav_burger.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav_burger.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#siteWrapper {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#mobileMenu {
    width: 235px;
    height: 100%;
    background: #92ad44;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 9999;
    position: absolute;
    padding-top: 30px;
    -webkit-transform: translate3d(-235px, 0, 0);
    -moz-transform: translate3d(-235px, 0, 0);
    -ms-transform: translate3d(-235px, 0, 0);
    -o-transform: translate3d(-235px, 0, 0);
    transform: translate3d(-235px, 0, 0);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#mobileMenu.activeMenu {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: inset -8px 0px 10px rgba(0,0,0,0.15);
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

#mobileMenu .mobile_menu {
    width: 100%;
    margin: 0;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

#mobileMenu .mobile_menu .sub-menu li {
    padding-left: 13px !important;
}

#mobileMenu .mobile_menu li a {
    color: #111111;
    display: block;
    padding-bottom: 7px;
}

#mobileMenu .mobile_menu li:after {
    display: none !important;
}

#mobileMenu .mobile_menu > li {
    padding: 7px 0px 0px 0px;
    border-bottom: 1px solid #768c37;
}

#mobileMenu .mobile_menu li.current-menu-item > a {
    color: #fff;
}

#siteWrapper.activeMenu {
    -webkit-transform: translate3d(235px, 0, 0);
    -moz-transform: translate3d(235px, 0, 0);
    -ms-transform: translate3d(235px, 0, 0);
    -o-transform: translate3d(235px, 0, 0);
    transform: translate3d(235px, 0, 0);
}

.section_title {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 8px;
    margin-bottom: 2px;
    margin-top: 5px;
}

.button-holder {
    margin-top: 32px;
}

.button {
    margin-top: 32px;
}

.button a {
    background: #92ad44;
    padding: 19px 34px;
    color: #fff !important;
    display: inline-block;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -ms-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}

.button a:hover {
    background: #768c37;
}

#content-wrapper {
    padding-bottom: 20px;
/*    min-height: 530px;*/
}

#content-wrapper a {
    color: #9fbc4c;
}

.download_sections {
    margin-bottom: 40px;
}

/*.section_body {
    font-family: 'Raleway-Medium';
    line-height: 32px;
}*/

.font-class .section_body {
    font-family: "CenturyGothic", CenturyGothic, AppleGothic, sans-serif;
    line-height: 28px;
}

/*.section_body a {
    display: inline-block;
    margin-top: 10px;
}*/

.left {
    width: 180px;
    height: 100%;
    position: absolute;
    top: 26px;
    left: 0;
    line-height: 26px;
}

.right {
    width: 100%;
    padding-left: 200px;
    padding-bottom: 26px;
    border-bottom: 1px solid #cccccc;
    padding-top: 26px;
    line-height: 26px;
}

.section_organization_wrapper:first-child .right  {
    padding-top: 6px;
}

.section_organization_wrapper:first-child .left  {
    top: 6px;
}

/*#organizationWrapper {
    padding-bottom: 50px;
    line-height: 31px;
}*/

.font-class #organizationWrapper {
    padding-bottom: 50px;
    line-height: 27px;
}

.homeLeft {
    width: 66.67%;
    padding-right: 30px;
    padding-left: 30px;
    float: left;
}
div#newsFeed p {
    margin-bottom: 10px;
    clear: both;
}

.homeRight {
    width: 33.33%;    
    padding-right: 30px;
    padding-left: 30px;
    float: left;
}

.newsfeedContainer {
    margin-bottom: 50px;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 35px;
}

.newsfeedContainer:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.section_date {
    margin-top: 8px;
    margin-bottom: 20px;
}

.newsMore,
.custom-button {
    margin-top: 15px;
    
    padding: 15px 35px;
    display: inline-block;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -ms-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
    background: #92ad44;
    color: #111111 !important; /*#ffffff*/
    /*border: 1px solid #92ad44;*/
}

.newsMore:hover,
.custom-button:hover {
    color: #ffffff !important;
    background: #92ad44; /*#768c37*/
}

.custom-button.full-width {
    display: block;
    width: 100%;
    text-align: center;
}

#newsFeed .section_title {
    border-bottom: none;
    padding-bottom: 0;
}


/*----------------------------------------------------*/
/*------------- ADDITIONAL FORM STYLES ---------------*/
/*----------------------------------------------------*/

form#form{
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
form#form.flip-form {
    -webkit-transform: rotateX(-90deg);
    -moz-transform: rotateX(-90deg);
    -ms-transform: rotateX(-90deg);
    -o-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
div#response-holder {
    position: absolute;
    top: 50%;
    left: 0px;
    width: 100%;
    text-align: center;
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}

span.relative-submit-wrapper {
    position: relative;
    display: inline-block;
    float: right;
}

.relative {
    position: relative;
}
span.error {
    max-height: 0px !important;
    max-width: 0px !important;
    overflow: hidden;
    display: inline-block !important;
    border: 0px !important;
}
form#form em {
    position: absolute;
    top: 9px;
    right: 3px;
    z-index: 100;
    font-style: normal;
}
form#form em:before {
    content: "\f06a";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #ffffff;
    color: red;
    font-weight: 700;
    font-size: 22px;
    width: 20px;
    height: 16px;
    display: inline-block;
    text-align: center;
    line-height: 20px;
    border-radius: 100%;
    cursor: pointer;
    margin: 10px 10px 10px 0px;
}
span.error.hover-active {
    max-height: none !important;
    max-width: 300px !important;
    position: absolute;
    top: 7px;
    right: 40px;
    background: #fff;
    padding: 6px 10px;
    line-height: 15px;
    border: 0px;
    z-index: 100;
    display: inline-block !important;
    font-size: 13px;
    color: #f90106;
    font-weight: 700;
    overflow: visible;
}
form#form em.hover-active {
    width: 90%;
    text-align: right;
}
span.error.hover-active:after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 16px;
    background: url(images/hover_error_form-white.png);
    position: absolute;
    top: 5px;
    right: -6px;
}
div#response {
    font-size: 26px;
    color: rgb(146, 173, 69);
}
input#submit[disabled] {
    cursor: no-drop;
}
.contact-form-wrapper {
    position: relative;
}

/*----------------------------------------------------------------*/
/*---------------------- Google Recaptcha ------------------------*/
/*----------------------------------------------------------------*/



#googlecaptcha_wrapper {
    position: absolute;
    top: 4px;
    right: 10px;
    opacity: 0.0001;
    visibility: hidden;
    -webkit-transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
    -moz-transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
    -ms-transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
    -o-transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
    -webkit-transform: translate(0,-150%) scale(0.95);
    -moz-transform: translate(0,-150%) scale(0.95);
    -ms-transform: translate(0,-150%) scale(0.95);
    -o-transform: translate(0,-150%) scale(0.95);
    transform: translate(0,-150%) scale(0.95);
}

#googlecaptcha_wrapper.active {
    opacity: 0.9999;
    visibility: visible;
    -webkit-transform: translate(0,-122%) scale(0.95);
    -moz-transform: translate(0,-122%) scale(0.95);
    -ms-transform: translate(0,-122%) scale(0.95);
    -o-transform: translate(0,-122%) scale(0.95);
    transform: translate(0,-122%) scale(0.95);
}

#googlecaptcha_wrapper:after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 10%;
    width: 34px;
    height: 15px;
    background-repeat: no-repeat;
    background-image: url('images/gc_arrow.png');
}

#googlecapatcha {
    display: inline;
}


.custom_icons{
    position: relative;
    margin-left: 30px !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
}
.custom_icons:before{
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  color: #6F6F6F;
  position: absolute;
}
.address_icon:before{
    content: "";
    position: absolute;
    top: 3px;
    left: -23px;
    width: 12px;
    height: 16px;
    background-image: url(images/contact-sprite.png);
    background-repeat: no-repeat;
    background-position: -2px -8px;
}
.phone_icon:before{
    content: "";
    position: absolute;
    top: 3px;
    left: -22px;
    width: 12px;
    height: 16px;
    background-image: url(images/contact-sprite.png);
    background-repeat: no-repeat;
    background-position: -2px -47px;
}
.fax_icon:before{
    top: 3px;
    left: -23px;
    content: "\f1ac";
    font-size: 14px !important;
}
.email_icon:before{
    content: "";
    position: absolute;
    top: 6px;
    left: -22px;
    width: 12px;
    height: 16px;
    background-image: url(images/contact-sprite.png);
    background-repeat: no-repeat;
    background-position: -2px -92px;
}



/*-----------    margin classes - update----------- */

.remove_margin_top{
  margin-top: 0 !important;
}
.remove_margin_bottom{
  margin-bottom: 0 !important;
}
h1.smaller_spacing{
    margin-bottom: 20px !important;
}
h2.smaller_spacing{
    margin-bottom: 20px !important;
}
h3.smaller_spacing{
    margin-bottom: 10px !important;
}
p.smaller_spacing, ul.smaller_spacing{
    margin-bottom: 5px !important;
}
/*-----------end margin classes - update----------- */
/* MEDIA QUERY */

@media (max-width: 1360px) {
    .footerBoxWrapper, .homeLeft, .homeRight {
        padding-right: 15px;
        padding-left: 15px;
    }

    .customRow {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (max-width: 1200px) {
/*    #main-menu {
        width: 970px;
        margin: 0 auto;
    }*/

    /*#menuWrapper #main-menu > li > a {
        padding: 40px 15px;
    }*/

    .font-class #menuWrapper #main-menu > li > a {
        padding: 40px 18px;
    }

    .injectedMenu {
        padding-left: 0;
    }

    .injectedMenu li a {
        padding: 19px 16px;
    }

    #scrollToTop {
        right: 100px;
    }
}

@media (max-width: 1024px) {
    #upperHeader {
        display: none;
    }

    #logoWrapper.pageLogoWrapper {
        text-align: center;
    }

    #nav_burger {
        display: block;
    }

    #logoWrapper {
        min-height: 190px;
        margin-top: 0px !important;
    }

    .homeLeft,.homeRight {
/*        margin-bottom: 120px;*/
        margin-top: 96px;
    }
    .page-template-template-home-php #content-wrapper {
        padding-top: 0px; 
    }
}
 
@media (max-width: 992px) {
    .footerBoxWrapper {
        width: 50%;
    }

    .footerBoxWrapper:last-child {
        width: 100%;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    #lowerFooter {
        text-align: left;
    }

    #pageTopContainer, .homeSlide {
        height: 360px !important;
    }
}

@media (max-width: 768px) {
    .font-class #copyright {
        padding: 50px 0px;
    }
    .button-holder {
        margin-top: 10px;
    }
    #newsFeed {
        margin-bottom: 60px;
        margin-top: 20px;
    }
    .page-template-template-home-php #content-wrapper {
        padding-top: 0;
        padding-bottom: 0px;
    }
    .home #content-wrapper .customRow {
        display: table;
        margin: 0px;
    }
    .homeLeft {
        display: table-footer-group;
    }
    .homeRight {
        display: table-header-group;
    }
    .footerBoxWrapper {
        width: 100%;
        float: none;
        margin-bottom: 50px;
    }

    .footerBoxWrapper:last-child {
        width: 100%;
        float: none;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    #scrollToTop {
        right: 20px;
    }

    #copyright {
        padding: 35px 0px;
        padding-right: 100px;
    }

    .contactemail {
        margin-bottom: 50px;
    }

    .left {
        width: 100%;
        height: 100%;
        position: static;
        top: 26px;
        left: 0;
    }

    .right {
        width: 100%;
        padding-left: 0px;
        padding-bottom: 26px;
        border-bottom: 1px solid #cccccc;
        padding-top: 26px;
    }

    .section_organization_wrapper  {
        padding-top: 26px;
    }

    .homeLeft, .homeRight {
        width: 100%;
        float: none;
    }

    #pageTopContainer, .homeSlide {
        height: 290px !important;
    }

    .checkboxHolder {
        padding: 10px 0px 22px 0px;
    }
}
@media (max-width : 600px) {
    .alignleft, .alignright, .aligncenter {
        float: none;
        clear: both;
        display: block;
        text-align: center;
        margin: 15px auto;
        width: 90%;
        height: auto;
    }
}
@media (max-width : 480px) {
    .logoImg {
        max-width: 70%;
        height: auto;
    }

    .h_iframe {
        height: 350px;
    }

    #logoWrapper {
        min-height: 130px;
        margin-top: 0px;
    }

    #logoWrapper.homeLogoWrapper , #logoWrapper.pageLogoWrapper {
        text-align: right;
    }

    [type="checkbox"]:not(:checked) + label, [type="checkbox"]:checked + label, [type="radio"]:not(:checked) + label, [type="radio"]:checked + label {
        position: relative;
        padding-left: 33px;
        cursor: pointer;
        display: inline-block;
    }
   
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    transition: all 0.3s ease;
    color: white;
}


.injectedMenu li:first-child a {
    padding-left: 47px;
}