/**************************************************************************************************
 * RESPONSIVE PAGE LAYOUTS
 * Breakpoints:
   (min-width: 320px) and (max-width: 639px)
   (min-width: 640px) and (max-width: 959px)
   (min-width: 960px)
 **************************************************************************************************/

body {
    min-width: 320px;
}




/* Small devices */
@media screen and (min-width: 320px) and (max-width: 639px) {
	#browser-size {
		background: rgba(255,0,0,0.6);
	}
}

/* Medium devices  */
@media screen and (min-width: 640px) and (max-width: 959px) {
	#browser-size {
		background: rgba(0,255,0,0.8);
	}
}

/* Large devices  */
@media screen and (min-width: 960px) {
	#browser-size {
		background: rgba(0,0,255,0.6);
	}
}



/**************************************************************************************************
 * REPLACE FIXED WIDTH WITH RELATIVE WIDTH
 * FLUID TILL MAX-WIDTH!
 **************************************************************************************************/


@media screen and (max-width: 959px) {

    #globalNavigationWrapper, #headerWrapper, #contentWrapper, #footerWrapper {
        width: 100%;
    }
    #sectionNavigationWrapper, #primaryNavigation, #contentHeader, div.defaultPageLayout, div.homePageLayout {
        width: auto;
    }


    #content #contentWrapper {
        padding: 0;
        margin: 0;
    }
    #content div.homePageLayout {
        background: none;
    }
    #content div.homePageLayout div.page.columnOne,
    #content div.homePageLayout div.page.columnTwo {
        width: 100%;
    }
    #content div.homePageLayout div.threeColumnLayout div.column {
        width: auto;
    }

}


/**************************************************************************************************
 * CONTENT AREA PAGE LAYOUTS
 **************************************************************************************************/
/* Small devices */
@media screen and (max-width: 639px) {

    #content div.homePageLayout div.twoColumnLayout.thirtySeventy div.layout.columnOne,
    #content div.homePageLayout div.twoColumnLayout.thirtySeventy div.layout.columnTwo {
        width: 100%;
    }

    #content div.homePageLayout div.twoColumnLayout.thirtySeventy div.layout.columnOne div.columnWrapper,
    #content div.homePageLayout div.twoColumnLayout.thirtySeventy div.layout.columnTwo div.columnWrapper {
        padding: 5px 15px;
    }
}

/* Medium devices  */
@media screen and (min-width: 640px) and (max-width: 959px) {

    #content div.homePageLayout div.twoColumnLayout.thirtySeventy div.layout.columnOne {
        width: 45%;
    }
    #content div.homePageLayout div.twoColumnLayout.thirtySeventy div.layout.columnTwo {
        width: 55%;
    }

    #content div.twoColumnLayout div div.layout.columnWrapper {
        padding: 20px;
    }
}


/**************************************************************************************************
 * HEADER HIDE no longer required elements
 **************************************************************************************************/
#globalNavigation {
    display: none;
}


#switcher {
    display: none;
}
#search {
    display: none;
}

/**************************************************************************************************
 * NEW HEADER
 **************************************************************************************************/

#menu-toggle {
    display: none;
}

#header div.wrapper {
    background: transparent none;
    width: 70%;
}

#logo {
    width: 30%;
}

#logoWrapper {
    padding-left: 15px;
}

#newMainNavi {
    height: 50px;
    margin-bottom: -7px;
    width: 100%;
}

#newSwitcher {
    height: 40px;
    margin: 0;
    padding: 0;
    text-align: right;
    position: relative;
}

#primaryNavigation {
    background: #618ae4;
}

#horiba-home {
    display: none;
}


/* Small devices */
@media screen and (max-width: 639px) {
    #header {
        height: 80px;
    }
    #headerWrapper {
        height: 100%;
        position: relative;
    }
}



/**************************************************************************************************
 * NEW 1ST LEVEL NAV
 **************************************************************************************************/

ul.main-nav {
    margin-bottom: 0;
    margin-right: 7px;
    float: right;
}

ul.main-nav > li a{
    font-weight: 700;
}

ul.main-nav > li {
    border-bottom: 7px solid transparent;
    display: block;
    float: left;
    line-height: normal;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.main-nav > li > a,
ul.main-nav > li > span {
    padding:16px 8px 20px;
    display:inline-block;
    text-transform: uppercase;
    text-decoration: none;
}
ul.main-nav li {
    background-image: none;
}
ul.main-nav > li.current {

    /*border-bottom: 7px solid #333;*/
}
ul.main-nav > li.current a {

    color: #777;
}


ul.main-nav > li:hover > a {
    color: white;
    background-color: #618ae4;
    /*transition: all 500ms ease;*/
}

ul.main-nav > li.active > a {
    color: white;
    background-color: #618ae4;
}

ul.main-nav li.home a {
    padding-bottom: 17px;
    padding-top: 11px;
    font-size: 18px;
}

/* Medium devices */
@media screen and (max-width: 639px)  {

    ul.main-nav .home {
        display: none;
    }
}


/**************************************************************************************************
 * NEW 2ND LEVEL NAV
 **************************************************************************************************/
ul.main-nav div.sub-menu {
    display: none;
    /*opacity: 0;
    transition: visibility 100ms linear 0s, opacity 200ms ease-in 0s;
    visibility: hidden;*/
}

ul.main-nav > li:hover div.sub-menu,
ul.main-nav > li.active div.sub-menu {
    display: block;
    /*opacity: 1;
    visibility: visible;*/
}

ul.main-nav li div.sub-menu {
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    width: 100%;
}

ul.main-nav li div.sub-menu ul.sub-menu {
    background: #ebebeb;
    border-bottom: 7px solid #618ae4;
    border-top: 7px solid #618ae4;
    position: absolute;
    padding: 15px 16px 10px;
    z-index: 999;
    right: 0;
    width: 240px;
}
ul.main-nav li.search div.sub-menu ul.sub-menu {
    width: auto;
}


ul.main-nav li.products div.sub-menu {
    background: #ebebeb;
    border-bottom: 7px solid #618ae4;
    border-top: 7px solid #618ae4;
    left: 0;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 999;

}


ul.main-nav li.products div.sub-menu ul.sub-menu {
    border-bottom: 0 none;
    border-top: 0 none;
    margin: 0 auto;
    padding-left: 0px;
    padding-right: 0px;
    position: static;
    width: 100%;
}


ul.main-nav li.products ul.sub-menu > li {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: 20%;
}




ul.main-nav li ul.sub-menu li {
    border-bottom: 1px solid #dedee0;
    line-height: normal;
    list-style-type: none;
    margin: 0 0 5px 3px;
    padding: 4px 2px;
}
ul.main-nav li ul.sub-menu li:last-child,
ul.main-nav li.search ul.sub-menu li {
    border-bottom: none;
}



@media screen and (min-width: 640px) {
    ul.main-nav li.products ul.sub-menu > li {
        border-bottom: 0 none;

    }

    ul.main-nav li.products ul.sub-menu > li > div {
        padding: 10px;
    }


    /*ul.main-nav li.products ul.sub-menu .image-wrap {
        width: 100%;
        height: 80px;
        background: lightblue;
    }*/

    .image-wrap img {
        height: auto;
        max-width: 100%;
    }

    ul.main-nav > li:hover > ul.sub-menu {
        margin-top: 0;
        border-bottom: 7px solid #618ae4;
        border-top: 7px solid #618ae4;

    }

}




@media screen and (min-width: 960px) {

    ul.main-nav li div.sub-menu {
        width: 910px;

    }

    ul.main-nav li.products div.sub-menu ul.sub-menu {
        width: 910px;
    }

}









/**************************************************************************************************
 * NEW MOBILE MENU
 **************************************************************************************************/

/* Extra small devices (phones ) */
@media (max-width: 639px) {

    #horiba-home {
        background: transparent;
        bottom:0;
        color: #3a7ee3;
        display: table;
        height: 100%;
        position: absolute;
        right: 100px;
        top: 0;
        width: 40px;
        z-index: 999;
    }

    #horiba-home span {
        display: table-cell;
        font-size: 18px;
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        vertical-align: middle;
        text-align: center;
        text-decoration: none;
    }
    #horiba-home span:before {
        content: "\f015";
    }
    #horiba-home:hover, #horiba-home:focus {
        text-decoration: none;
        outline: none;
    }


    #menu-toggle {
        background: transparent;
        bottom:0;
        color: #3a7ee3;
        display: table;
        height: 100%;
        position: absolute;
        right: 0;
        top: 0;
        width: 60px;
        z-index: 999;
    }
    #menu-toggle span {
        display: table-cell;
        font-size: 24px;
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        vertical-align: middle;
        text-align: center;
        text-decoration: none;
    }

    #menu-toggle:hover, #menu-toggle:focus {
        text-decoration: none;
        outline: none;
    }
    #menu-toggle span:before {
        content: "\f0c9";
    }
    #menuWrapper.menu-active #menu-toggle span:before {
        content: "\f00d";
    }


    #newSwitcher {
        display: none;
    }

    #header div.wrapper {
        height: auto;
        width: 100%;
    }



    #newMainNavi {
        background: #ebebeb;
        border-bottom: 7px solid #3a7ee3;
        border-top: 7px solid #3a7ee3;
        display: none;
        height: auto;
        left: 0;
        position: absolute;
        right: 0;
        top: -2000px;
        width: 100%;
        z-index: 999;

        transition: top 0.2s ease-out 0s;

    }

    #menuWrapper.menu-active #newMainNavi {
        display: block;
        top: 80px;
    }
    #menuWrapper.menu-active #menu-toggle {
        background: #3a7ee3;
        color: white;
    }




    ul.main-nav {
        float: none;
        margin: 10px 15px;
    }

    ul.main-nav > li {
        float: none;
        margin-bottom: 12px;
    }

    ul.main-nav ul {
        display: block;
        float: none;
    }


    ul.main-nav li a span.arrow {
        display: none;
    }
    ul.main-nav .home {
/*        display: none; */
    }

    ul.main-nav .search a {
        display: none;
    }
    /*
    ul.main-nav .search .search-wrap {
        text-align: left;
    }
    */

    ul.main-nav li div.sub-menu,
    ul.main-nav li.products div.sub-menu {
        background: transparent;
        border: 0 none;
        display: block;
        position: static;
    }


    ul.main-nav li div.sub-menu ul.sub-menu {
        background: transparent;
        border-bottom: 0 none;
        border-top: 0 none;
        margin: 0;
        padding: 0;
        position: static;
        right: inherit;
        width: 100%;
        z-index: 999;
    }

    ul.main-nav li ul.sub-menu > li,
    ul.main-nav li.products ul.sub-menu > li {
        float: none;
        margin-top: 4px;
        padding: 6px 0;
        width: 100%;
    }

    ul.main-nav li.products ul.sub-menu > li p {
        margin: 0;
    }


    ul.main-nav li.products div.sub-menu ul.sub-menu div.image-wrap {
        display: none;
    }

	ul.main-nav > li a {
		font-size: 110%;
	}

    ul.main-nav > li > a,
    ul.main-nav > li > span,
    ul.main-nav > li > a:hover,
    ul.main-nav > li:hover > a {
        background: transparent;
        color: black;
        cursor: auto;
        text-decoration: none;
        text-transform: inherit;
        padding: 0;
        margin-bottom: 6px;
    }

}



/**************************************************************************************************
 * NEW SEARCH IN MENU
 **************************************************************************************************/
div.search-wrap {
    background: white none repeat scroll 0 0;
    border: 1px solid #dedee0;
    display: inline-block;
    height: 30px;
    overflow: hidden;
    vertical-align: middle;
    white-space: nowrap;
}
.search-wrap input {
    border-color: transparent;
    border-style: none;
    border-width: 0;
    padding: 5px;
}

button.search {
    background: #3a7ee3;
    border-width: 0;
    color: white;
    cursor: pointer;
    float: none;
    height: 100%;
    margin: 0;
    padding: 5px;
    width: auto;
}

/**************************************************************************************************
 * MAINBANNER
 * REPLACE /fileadmin/mainbanner/homeBanner.css and .js!!!
 * REPLACE nivoslider!!!
 **************************************************************************************************/

/*#mainBannerCycle {
    background-size: cover !important;
    height: auto !important;
    width: 100% !important;
}


#mainBannerCycle img {
    width: auto;
    height: auto;
}
*/
.homePageLayoutWrapper .nivo-controlNav,
.homePageLayoutWrapper .nivo-directionNav {
    display: none;
}


/**************************************************************************************************
 * SEGMENT HOME MAIN-BUTTONS
 **************************************************************************************************/


#content div.twoColumnLayoutWrapper div.columnTwo div.columnWrapper > div > div {
    margin-bottom: 10px;
    margin-right: 6px;
    overflow: visible;
    position: relative;
}

#content div.twoColumnLayoutWrapper div.columnTwo div.columnWrapper > div > div:before {
    content: "";
    display: block;
    padding-top: 15%;
    width: 100%;
}


#content div.twoColumnLayoutWrapper div.columnTwo div.columnWrapper > div > div h2 {
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

#content div.twoColumnLayoutWrapper div.columnTwo div.columnWrapper > div > div h2 a {
    background-color: transparent;
    background-position: left 30%;
    background-repeat: no-repeat;
    background-size: 46% auto;
    border-color: #dedee0 #dedee0 #dedee0 #618ae4;
    border-radius: 0 5px 5px 0;
    border-style: solid;
    border-width: 1px 1px 1px 5px;
    display: table;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
}


#content div.twoColumnLayoutWrapper div.columnTwo div.columnWrapper > div > div h2 a::after {
    background: #dedee0;
    border-radius: 0 5px 5px 0;
    bottom: 0;
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    width: 15px;
    z-index: 5;
}

#content div.twoColumnLayoutWrapper div.columnTwo div.columnWrapper > div > div h2 a::before {
    background: transparent url("../img/bullet_triangle.gif") no-repeat scroll 0 0;
    bottom: 0;
    content: "";
    height: 12px;
    position: absolute;
    right: 0;
    width: 12px;
    z-index: 9;
}


#c1632 div.csc-header a {
    background-image: url("../img/cgd_home_mainbtn_ats_4x3.jpg");
}
#c1633 div.csc-header a {
    background-image: url("../img/cgd_home_mainbtn_pe_4x3.jpg");
}
#c1634 div.csc-header a {
    background-image: url("../img/cgd_home_mainbtn_me_4x3.jpg");
}
#c1635 div.csc-header a {
    background-image: url("../img/cgd_home_mainbtn_scientific_4x3.jpg");
}
#c1636 div.csc-header a {
    background-image: url("../img/cgd_home_mainbtn_semicon_4x3.jpg");
}


/*#content div.twoColumnLayout div div.layout.columnWrapper > div .csc-header {
    overflow: visible;
}*/

#content div.twoColumnLayout div div.layout.columnWrapper > div a:hover,
#content div.twoColumnLayout div div.layout.columnWrapper > div a:focus {
    opacity: .8;
    transition: all 0.2s ease-out 0s;
}

#content div.twoColumnLayout div div.layout.columnWrapper > div a span {
    display: table-cell;
    font-size: 13px;
    line-height: 140%;
    padding: 0 14px 0 50%;
    vertical-align: middle;
}


#content div.homePageLayout div.twoColumnLayout.thirtySeventy div.layout.columnTwo h2 {
    /*margin-bottom: 2px;*/
}


@media screen and (min-width: 640px) and (max-width: 959px) {
    #content div.twoColumnLayoutWrapper div.columnTwo div.columnWrapper > div > div h2 a {
        border-width: 1px 1px 1px 7px;
    }
}

/*@media (max-width: 639px) {
    #content div.twoColumnLayoutWrapper div.columnTwo div.columnWrapper > div h2:before {
        content: "";
        display: block;
        padding-top: 20%;
        width: 100%;
    }

    #content div.twoColumnLayoutWrapper div.columnTwo div.columnWrapper > div h2 a {
        border-width: 1px 1px 1px 4px;
    }
}

@media screen and (min-width: 640px) {
    #content div.twoColumnLayoutWrapper div.columnTwo div.columnWrapper > div h2:before {
        content: "";
        display: block;
        padding-top: 11.85%;
        width: 100%;
    }
}*/


/**************************************************************************************************
 * NEWS TICKER
 **************************************************************************************************/



@media screen and (max-width: 959px) {

    div.newsTickerActive {
        background: none;
        border: 1px solid #dedee0;
        height: 48px;
        padding: 5px 8px 4px;
        border-radius: 6px;
    }
    div.newsTicker div.articles {
        width: 100%;
    }
    div.newsTicker div.csc-header, div.newsTicker div.articles {
        float: none;
    }

    div.homePageLayout div.newsTicker {
        margin: 5px 15px 15px;
    }
}



/**************************************************************************************************
 * SMALL SECONDARY BANNER
 **************************************************************************************************/

@media screen and (max-width: 959px) {

    #content div.homePageLayout div.threeColumnLayout div.column {
        width: 100%;
    }

    div.tx-llbanner-pi1 div.banner:before {
        content: "";
        display: block;
        padding-top: 40%; /* height:84px / width:210px; */
    }

    div.homePageLayout div.tx-llbanner-pi1 {
        margin: 0;
        padding: 0;
    }
    div.homePageLayout div.tx-llbanner-pi1 div.banner {
        margin-bottom: 15px;
        padding: 0;
        position: relative;
/*        width: 100% */
    }



    div.tx-llbanner-pi1 div.banner h3 a {
        background-attachment: scroll;
        background-clip: border-box;
        background-origin: padding-box;
        background-position: 0 0;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 8px;
        bottom: 0;
        height: 100% !important;
        left: 0;
        padding: 0;
        position: absolute;
        right: 0;
        top: 0;
        width: 100% !important;
    }

    div.tx-llbanner-pi1 div.banner a {
        background-position: left top;
        box-shadow: 0 -25px 50px 15px rgba(255, 255, 255, 0.3) inset;
        transition: all 0.3s ease-out 0s;

    }


    div.tx-llbanner-pi1 div.banner a:hover {
        background-position: left top;
        box-shadow: 0 -30px 30px -5px rgba(110, 139, 224, 0.4) inset;
    }

    /*div.tx-llbanner-pi1 div.banner h3 a span {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }*/

    /*div.homePageLayout div.tx-llbanner-pi1 {
        margin: 10px -5px 0;
    }*/

    /*div.homePageLayout div.tx-llbanner-pi1 div.banner {
        padding: 0 15px 10px 5px;
    }*/
    #content div.homePageLayout div.threeColumnLayout div.layout.columnThree div.columnWrapper {
        padding: 0 12px 0 0;
    }
}

/*@media (max-width: 639px) {
    div.homePageLayout div.tx-llbanner-pi1 div.banner h3 {

    }
}*/


@media screen and (max-width: 639px) {
    div.homePageLayout div.tx-llbanner-pi1 div.banner {

        width: 100%
    }
}

@media screen and (min-width: 640px) and (max-width: 959px) {
    /*div.homePageLayout div.tx-llbanner-pi1 div.banner {
        float: left;
        width: 50%;
    }*/

    div.homePageLayout div.tx-llbanner-pi1 div.banner:first-child {
        float: left;
        width: 49%;
    }

    div.homePageLayout div.tx-llbanner-pi1 div.banner:last-child {
        float: right;
        width: 49%;
    }

}



/**************************************************************************************************
 * sonstiges
 **************************************************************************************************/

@media screen and (max-width: 639px) {
    #content {
        font-size: 100%;
    }
}

@media screen and (max-width: 959px) {
    div.newsLatest div.newsItem p.readMore {
        display: inline-block;
    }
}

@media screen and (min-width: 640px) and (max-width: 959px) {
    #content div.homePageLayout div.twoColumnLayout.thirtySeventy div.layout.columnOne {
        padding-top: 20px;
    }
}


/**************************************************************************************************
 * COUNTRY SELECTION
 **************************************************************************************************/


#newSwitcher > a {
    display: inline-block;
    font-size: 110%;
    margin-right: 7px;
    padding: 4px 8px;
}

#newSwitcher > a i:before {
    content: "\f107";
}
#newSwitcher.active > a i:before {
    content: "\f00d";
}

#newSwitcher.active > a,
#newSwitcher > a:hover {
    background-color: #618ae4;
    color: white;
    text-decoration: none;
}

#regionMenu {
    display: none;
}

#newSwitcher.active #regionMenu {
    display: block;
}
#regionMenu {
    background: #ebebeb;
    border-bottom: 7px solid #3a7ee3;
    margin-right: 7px;
    margin-top: 25px;
    padding: 8px 20px 0 16px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 999;
}

#regionMenu ul li {
    background-image: none;
    list-style-type: none;
    margin: 0 0 5px 3px;
    padding: inherit;

    font-weight: 700;
}

.menuArea > div {
    padding: 4px 0;
}


@media screen and (max-width: 639px) {
    #globe-toggle {
        background: transparent;
        bottom:0;
        color: #3a7ee3;
        display: table;
        height: 100%;
        position: absolute;
        right: 60px;
        top: 0;
        width: 40px;
        z-index: 999;
    }
    #globe-toggle span {
        display: table-cell;
        font-size: 18px;
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        vertical-align: middle;
        text-align: center;
        text-decoration: none;
    }
    #globe-toggle:hover, #globe-toggle:focus {
        text-decoration: none;
        outline: none;
    }
    #globe-toggle span:before {
        content: "\f0ac";
    }
    #menuWrapper.globe-active #globe-toggle span:before {
        content: "\f00d";
    }

    /*#menuWrapper.globe-active #newMainNavi {
        display: block;
        top: 80px;
    }*/
    #menuWrapper.globe-active #globe-toggle {
        background: #3a7ee3;
        color: white;
    }
	
	#menuWrapper.globe-active #regionMenu {
		border-top: 7px solid #3a7ee3;
		display: block;
		margin: 0;
		top: 80px;
		width: 100%;
	}
	
	
	#menuWrapper.globe-active #newSwitcher {
		display: block;
	}
	#menuWrapper #newSwitcher {
		height: auto;
		position: static;
	}
	
	#menuWrapper #newSwitcher > a {
		display: none;
	}
	
	
#regionMenu ul li a {
    font-size: 110%;
    line-height: 150%;
}
	
		
    /*
    #newSwitcher {
        display: block;
        margin: 0;
        padding: 0;
        position: absolute;
        right: 0;
        text-align: right;
        top: 0;
        width: 100%;
    }
    */
}

@media screen and (min-width: 640px) and (max-width: 959px) {
    #newSwitcher > a {
        margin-right: 0;
    }
    #regionMenu  {
        margin-right: 0;
    }
}


/**************************************************************************************************
 * NEW FOOTER
 **************************************************************************************************/

#footerNavigation {
    background: none;
    float: none;
    margin: 0;
}

#footerNavigation ul li {
    background: none;
}

#copyright {
    background: none;
    float: none;
    margin: 0;
}




@media screen and (max-width: 639px) {

    #footer {
        font-size: 94%;
    }

    #footerWrapper {
        padding-top: 12px;
    }

    #footerNavigation ul li {

        display: block;
        float: none;
        padding: 3px 0;
    }
}





