html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: auto;
}
html, body, #pageWrapper, .centerPage {
    min-width: 320px;
}
 body {
    background-color: #fff !important;
    color: #333333;
    font-family: "Open Sans",sans-serif;
}
.absolute{ position: absolute; }
.relative{ position: relative; }

#pageWrapper{
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
    top: 0;
    -webkit-transition: top .3s ease-out;
    -moz-transition: top .3s ease-out;
    -ms-transition: top .3s ease-out;
    -o-transition: top .3s ease-out;
    transition: top .3s ease-out;    
}
#pageWrapper.toggle{
    top: -75px;
}
.headerSpacer {
    height: 243px;
    position: relative;
}

.headerOuterWrapper{
    -webkit-transition: top .3s ease-out;
    -moz-transition: top .3s ease-out;
    -ms-transition: top .3s ease-out;
    -o-transition: top .3s ease-out;
    transition: top .3s ease-out;    
    
    position: fixed;
    top: 0; 
    width: 100%;
    z-index: 250;
}

#pageWrapper.toggle .headerOuterWrapper{
    top: -75px; 
}

.bgHead {
    height: 245px;
    width: 100%;
    top: 0;
    left: 0;
}

.bgHead .bgOrange{ height: 73px; }
.bgHead .bgYellow{ height: 125px; }
.bgHead .bgWhite{ height: 45px; }

.bgHeaderImage {
    background: rgba(0, 0, 0, 0) url("../img/bg_header.png") repeat-x scroll 0 0;
    height: 125px;
    width: 100%;
}
header{ 
    position: relative;
    z-index: 100;
}
.centerPage, .wideWrapper {
    margin: 0 auto;
    max-width: 1105px;
    position: relative;
    width: 100%;
}
.centerPage{
     box-sizing: border-box;
     padding: 0 15px;
}
#pageWrapper header {
    height: 235px;
}

#headMenu {
    height: 65px;
    margin-top: 0.5rem;
    white-space: nowrap;
}

#headMenu > li {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    height: 55px;
    line-height: 2rem;
    margin-right: 2%;
    text-align: center;
    vertical-align: top;
    width: 32%;
    border-radius: 8px;
}

#headMenu > li a {
    box-sizing: border-box;
    color: #fff;
    display: block;
    padding: 10px;
}

.root-4 #headMenu > li:first-of-type a,
#headMenu > li.active a { color: #ec890f; }

#headMenu > li:nth-child(1) { background-color: #447cb3; left: 0;}
#headMenu > li:nth-child(2) { background-color: #3a6658; left: 34%;}
#headMenu > li:nth-child(3) { background-color: #662044; left: 68%;}

.root-4 #headMenu > li:first-of-type,
#headMenu > li.active { background-color: #ffca64;}



.root-4 #headMenu > li:first-of-type,
#headMenu > li.active {
    height: 65px;
    border-radius: 8px 8px 0 0;
    z-index: 1;
}

#headMenu li .element {
    width: 100%;
}

.root-4 #headMenu li:first-of-type .border,
#headMenu li.active .border {
    background-color: inherit;
    position: absolute;
    top: 0;
    height: 65px;
    width: 5%;
}

.root-4 #headMenu li:first-of-type .border.borderLeft,
#headMenu li.active .border.borderLeft {
    left: -5%
}
.root-4 #headMenu li:first-of-type .border.borderRight,
#headMenu li.active .border.borderRight {
    left: 100%;
}

.root-4 #headMenu > li:first-of-type .border::after,
#headMenu > li.active .border::after{
    background-color: #FF992A;
    position: absolute;
    top: 0;
    left: 0;
    content: " ";
    height: 100%;
    width: 100%;
}
.root-4 #headMenu  > li:first-of-type .border.borderLeft::after,
#headMenu > li.active .border.borderLeft::after {
    border-radius: 0 0 30px;
}

.root-4 #headMenu  > li:first-of-type .border.borderRight::after,
#headMenu > li.active .border.borderRight::after {
    border-radius: 0 0 0 16px;
}

.menuWrapper {
    height: 115px;
    padding-bottom: 45px;
}

#logo {
    display: inline-block;
    margin-top: 1.4rem;
    position: relative;
    vertical-align: top;
    width: 20%;
    z-index: 10;
}

#mainMenu {
    white-space: nowrap;
    display: inline-block;
    height: 160px;
    margin-left: 1.3%;
    vertical-align: top;
    margin-top: 0.6rem;
    width: 52%;
}

#mainMenu > li {
    display: inline-block;
    height: 160px;
    margin-right: 3%;
    vertical-align: top;
    white-space: normal;
    width: 22.67%;
    padding-bottom: 1px;
}

#mainMenu.elements-5 > li {
    margin-right: 2%;
    width: 18.5%;
}
#mainMenu .element .label {
    bottom: 0px;
    box-sizing: border-box;
    font-size: 0.9rem;
    font-weight: bold;
    height: 2.85rem;
    line-height: 1.1rem;
    padding: 0.2rem 15% 0;
    position: absolute;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}
#mainMenu.elements-5 .element .label {
    padding: 0.2rem 8% 0;
}
#mainMenu li.entry-9 .element .label {
    padding: 0.2rem 20% 0;
}


#mainMenu li .element {
    height: 125px;
    width: 100%;
}
#mainMenu.elements-5 li .element {
    height: 103px;
}


#mainMenu .element > a > img {
    height: auto;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

#mainMenu .element img.normal, #mainMenu li.active .element img.hover, #mainMenu li:hover .element img.hover{
    opacity: 1;
    -webkit-transition: opacity .2s ease-out;
    -moz-transition: opacity .2s ease-out;
    -ms-transition: opacity .2s ease-out;
    -o-transition: opacity .2s ease-out;
    transition: opacity .2s ease-out;    
}

#mainMenu .element img.hover, #mainMenu li.active .element img.normal, #mainMenu li:hover .element img.normal{
    opacity: 0;
    -webkit-transition: opacity .25s ease-in;
    -moz-transition: opacity .25s ease-in;
    -ms-transition: opacity .25s ease-in;
    -o-transition: opacity .25s ease-in;
    transition: opacity .25s ease-in;    
}
#mainMenu .entry-7  a, #footerMainMenu .entry-7  a{ color: #427eac; }
#mainMenu .entry-8  a, #footerMainMenu .entry-8  a{ color: #4ca452; }
#mainMenu .entry-9  a, #footerMainMenu .entry-9  a{ color: #eb4847; }
#mainMenu .entry-10 a, #footerMainMenu .entry-10 a{ color: #45ada8; }


#mainMenu li.active .element a .label{ color: #fff; }

#mainMenu li.active.entry-7 .element .label{ background-color: #427eac; }
#mainMenu li.active.entry-8 .element .label{ background-color: #4ca452; }
#mainMenu li.active.entry-9 .element .label{ background-color: #eb4847; }
#mainMenu li.active.entry-10 .element .label{ background-color: #45ada8; }


header .rightSide {
    display: inline-block;
    margin-left: 1.6%;
    width: 25%;
    position: relative;
}

header .searchBar {
    margin-top: 15px;
    position: relative;
    top: 5px;
    width: 100%;
}
.serachFieldWrapper {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.5) inset;
    box-sizing: border-box;
    overflow: hidden;
    padding: 5px 15px;
    position: relative;
    width: 100%;
    height: 35px;
}

.serachFieldWrapper > input[type="text"] {
    border: medium none;
    height: 25px;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 10;
    padding-right: 25px;
    box-sizing: border-box;
}

.searchBar input[type="submit"], .sendSearchForm {
    background-color: #ff992a;
    border: medium none;
    border-radius: 100%;
    height: 30px;
    position: absolute;
    right: 4px;
    top: 3px;
    width: 30px;
    z-index: 50;
}

.sendSearchForm {
    color: #fff;
    line-height: 1.9rem;
    text-align: center;
    z-index: 60;
    cursor: pointer;
}

.mainMenuBtn {
    background-color: #ff992a;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 11px;
    padding: 7px 0 10px;
    text-align: center;
    vertical-align: top;
}