/*
Theme Name: HTG
Author: Desiree Woelper
Author URI: http://www.desiree-woelper.de
Description: A Theme for HTG GmbH
Version: 1.0
Text Domain: HTG
*/

/*----------------------------------------
        Globals 
------------------------------------------*/

*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;}

body{
    font-family: Arial, sans-serif;
    color: #1e1954;
}

p{
    margin: 0;
    font-size: 1em;
    line-height: 1.5;
}
a{
    text-decoration: none;
    color: #1e1954;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5em;
  font-family: inherit;
  font-weight: bold;
  line-height: 1.1;
  color: inherit;
    text-align: center;
}



h1, .h1 {
  font-size: 2rem;
}

h2, .h2 {
  font-size: 1.75rem;
}

h3, .h3 {
  font-size: 1.5rem;
}

h4, .h4 {
  font-size: 1.25rem;
}

h5, .h5 {
  font-size: 1rem;
}

h6, .h6 {
  font-size: 0.8rem;
}

address{
    font-style: normal;
}

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

@media screen and (min-width:600px){
    h1, .h1 {
  font-size: 2.5rem;
    }

    h2, .h2 {
      font-size: 2rem;
    }

    h3, .h3 {
      font-size: 1.75rem;
    }

    h4, .h4 {
      font-size: 1.5rem;
    }

    h5, .h5 {
      font-size: 1.25rem;
    }

    h6, .h6 {
      font-size: 1rem;
    }

    address{
        font-style: normal;
    }

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

}

/*----------------------------------------
        Header 
------------------------------------------*/

.site-header{
    position: relative;
}

.site-header .row{
    position: relative;
    padding: 0;
}

.logo{
    width: 100px;
    display: block;
    margin: 0.45em 1em;
}
.blogdescription{
    text-indent: -999em;
    display: none;
}

/* Suche Mobil */
.js .site-search{
    display: none;
}
#toggle-search {
    position: absolute;
    top: 1em;
    right: 5em;
    width: 50px;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    text-align: center;
    border: 4px solid #fdd27a;
    text-indent: -9999em;
    background: url("img/search-icon.png") no-repeat scroll center center;
}

/* Suche Display*/
.form{
    margin: 1em;
}
#searchform {
    height: 50px;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    }
#searchform #s {
    border: 4px solid #fdd27a;
    outline: none;
    height: 100%;
    padding: 0 3em 0 0.5em;
    width: 100%;
    }
#searchform #searchsubmit {
    background: url("img/search-icon.png") no-repeat scroll center center;
    border: medium none;
    cursor: pointer;
    display: block;
    height: 44px;
    position: absolute;
    right: 3px;
    width: 47px;
    top: 3px;}

@media screen and (min-width:800px){
    .logo{
        float: left;
        width: 140px;
        margin: 0.45em 1;
    }
    /* Suche Mobil */
    .site-search{
        position: absolute;
        /*top: 1.5em;*/
        right: 0em;
    }
    .js .site-search{
        display: block;
    }
    
    #toggle-search{
        display:none; 
    }
    
    /* Suche Display*/
    .form {
        margin: 0 auto;
        position: absolute;
        top: 3em;
        right: 0.7em;
    }
     .toggle {
        background: url("img/search-icon.png") no-repeat scroll center center;
        border: 4px solid #fdd27a;
        cursor: pointer;
        display: block;
        height: 50px;
        position: absolute;
        right: 0;
        width: 50px;
    }
    #searchform {
        float: right;
        height: 50px;
        margin: 0;
        opacity: 0;
        padding: 0;
        transition: all 0.2s ease-in-out 0s;
        visibility: hidden;
        width: 10px;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
    }
    .form:hover #searchform {
        display: block;
        opacity: 1;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        visibility: visible;
        width: 250px;
    }
    #searchform #s {
        border: 4px solid #fdd27a;
        float: right;
        outline: none;
        height: 100%;
        padding: 0 3em 0 0.5em;
        width: 100%;
    }
    #searchform #searchsubmit {
        background: url("img/search-icon.png") no-repeat scroll center center;
        border: medium none;
        cursor: pointer;
        display: block;
        height: 44px;
        position: absolute;
        right: 3px;
        width: 47px;
        top: 3px;
    }

}
/*----------------------------------------
        Navigation 
------------------------------------------*/

nav ul{
    margin: 0;
    padding:0 ;
    list-style: none;
}

nav a{
     text-decoration: none;
}

/* Hauptnavi */

.js .nav-primary{
    display: none;
}

#toggle-nav {
    position: absolute;
    top: 1em;
    right: 1em;
    width: 50px;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    text-align: center;
    text-indent: -9999em;
    border: 4px solid #1e1954;
    background: url("img/menu-icon.png") no-repeat scroll center center;
}

.nav-primary li{
    margin-bottom: 1px;
}

.nav-primary a{
    padding: 1em;
    display: block;
    color: #1e1954;
    font-weight: bold;
    text-transform: uppercase;
    border-left: 4px solid white;
}

.nav-primary a:hover, .nav-primary .current-menu-item a{
    border-left: 4px solid #ea7e27;
}
.nav-primary li ul{
    display: none;
}

/* Produktnavi */

.menu-products{
    height: 300px;
}

.nav-products{
    background: #fff5e1;
    border-bottom: 4px solid #fdd27a;
}
.nav-products li{
    display: block;
    height: 270px;
    margin: 0.5em 0;
}

.nav-products li.socks{
    background: url("img/htg-socks-icon.png") no-repeat scroll center center;
}
.nav-products li.underwear{
    background: url("img/htg-underwear-icon.png") no-repeat scroll center center;
}
.nav-products li.textiles{
    background: url("img/htg-textiles-icon.png") no-repeat scroll center center;
}
.nav-products li a{
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    padding: 13.3em 0 0 0;
    font-size: 1.2em;
    color: #1e1954;
}

.nav-products h2{
    text-align: center;
    text-transform: uppercase;
}

/* Sprachennavi */

.nav-language{
    font-size: 0.8em;
    display: none;
}
.wpml-ls-current-language,
.nav-language a:hover span{
    text-decoration: underline;
}

.nav-secondary{
    margin: 1em 0;
}

@media screen and (min-width:800px){
    .js .nav-primary{
        display: block;
    }
    #toggle-nav{
        display:none; 
    }
	.nav-primary {
		float:right;
		width:auto;
        margin: 4em 4em 0 0;
        height: auto;
    }
    .nav-primary li {
		width:auto;
		padding:0;	
        float: left;
        margin-bottom: 0;
    }
    .nav-primary a{
        border-bottom: 4px solid white;
        border-left: none;
    }
    .nav-primary a:hover, .nav-primary .current-menu-item a{
        border-bottom: 4px solid #ea7e27;
        border-left: none;
    }
    .nav-primary li:hover ul{
        display: block;
        position: absolute;
    }

    .nav-primary li ul li{
        float: none;
        z-index: 100;
    }
    
    .nav-secondary{
        margin: 0;
    }
    .nav-products li{
        height: 250px;
    }
    .nav-products li a{
    }

    .nav-language {
        display: block;
        position: absolute;
        top: 0.5em;
        right: 0;
    }
    .nav-language li{
        float: left;
    }

    .nav-language li a{
        display: block;
        margin: 0.8em;
    }
    .nav-products li:last-child a{
        margin-right: 0;
    }
    .nav-language2{
        display: none;
    }

}
/*----------------------------------------
        Main
------------------------------------------*/

.site-content{
    margin: 1.5em 0 3.375em 0;
    }
.home .site-content{
    text-align: center;
}
.home h1:nth-child(2){
    margin-top: 0em;
}

.search h2{
    text-align: left;
}
/* Teaser */

.site-teaser .columns,
.site-teaser .row{
    padding: 0;
}

.site-teaser{
    min-height: 87px;
    border-bottom: 4px solid #fdd27a;
    }
.home .site-teaser{
    background: url("img/htg-slide-home-small.jpg") no-repeat scroll center center;
    background-size: cover;
    }
.page-products .site-teaser,
.page-produkte .site-teaser{
    background: url("img/htg-slide-products-small.jpg") no-repeat scroll center center;
    background-size: cover;
    }
.page-company .site-teaser,
.page-unternehmen .site-teaser{
    background: url("img/htg-slide-company-small.jpg") no-repeat scroll center center;
    background-size: cover;
    }

@media screen and (min-width:480px){
    .site-teaser{
        min-height: 173px;
    }
    .home .site-teaser{
        background: url("img/htg-slide-home-medium.jpg") no-repeat scroll center center;
        background-size: cover;
    }
    .page-products .site-teaser,
    .page-produkte .site-teaser{
        background: url("img/htg-slide-products-medium.jpg") no-repeat scroll center center;
        background-size: cover;
        }
    .page-company .site-teaser,
    .page-unternehmen .site-teaser{
        background: url("img/htg-slide-company-medium.jpg") no-repeat scroll center center;
        background-size: cover;
        }
}

@media screen and (min-width:760px){
    .site-teaser{
        min-height: 250px;
    }
    .home .site-teaser{
        background: url("img/htg-slide-home-large.jpg") no-repeat scroll center center;
        background-size: cover;
    }
    .page-products .site-teaser,
    .page-produkte .site-teaser{
        background: url("img/htg-slide-products-large.jpg") no-repeat scroll center center;
        background-size: cover;
        }
    .page-company .site-teaser,
    .page-unternehmen .site-teaser{
        background: url("img/htg-slide-company-large.jpg") no-repeat scroll center center;
        background-size: cover;
        }
}

@media screen and (min-width:1024px){
    .site-teaser{
        min-height: 345px;
    }
    .home .site-teaser{
        background: url("img/htg-slide-home-x-large.jpg") no-repeat scroll center center;
        background-size: cover;
    }
    .page-products .site-teaser,
    .page-produkte .site-teaser{
        background: url("img/htg-slide-products-x-large.jpg") no-repeat scroll center center;
        background-size: cover;
        }
    .page-company .site-teaser,
    .page-unternehmen .site-teaser{
        background: url("img/htg-slide-company-x-large.jpg") no-repeat scroll center center;
        background-size: cover;
        }

}

p.post-meta {
    font-size: 0.7em;
    opacity: 0.7w;
    margin-bottom: 1em;
    display: block;
    }

/* Bilder im Beitrag bei floating Verhalten 
.wp-post.image{
    float: left
    max-width: 45%;
}*/

/* Kommentare */

div.comment-form{
    margin-top: 4em;
}

.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea{
    padding: 0.5em;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.24);
    margin: 0.2em 0 1em 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.19);
    width: 100%;
    max-width: 100%;
}

.comment-form input[type=submit]{
    background: rgba(255, 255, 255, 0.3);
    padding: 1em 1.5em;
    border: 1px solid rgba(255, 255, 255, 0.22)
}

.comment-list{
    margin-top: 5em;
}

.comment-list ul{
    padding: 0;
    margin: 0;
    list-style: none;
}

.single-comment{
    background: rgba(255, 255, 255, 0.24);
    padding: 1em;
    margin-bottom: 1em;
}

.single-comment .children{
    margin-top: 1em;
}

.single-comment .avatar{
    float: right;
    border-radius: 32px;
    object-fit: cover;
}

/* Kunden */
.section-clients{
    background: #dadada;
    min-height: 200px;
    border-bottom: 4px solid #fdd27a;
    position: relative;
}
.clients-title{
    text-transform: uppercase;
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 1em;
}
.slick-arrow{
    visibility: hidden;
    display: none !important;
}
@media screen and (min-width:920px){
    .slick-arrow{
        display: inline-block !important;
        visibility: visible;
        text-indent: -9999em;
        position: absolute;
        top: 32%;
        width: 50px;
        height: 50px;
        border: 4px solid #69668a;
        background: none;
        cursor: pointer;
    }
    .slick-next{
        left: -5%;
        background: url("img/arrow-next-icon.png") no-repeat scroll center center;
    }
    .slick-prev{
        right: -5%;
        background: url("img/arrow-prev-icon.png") no-repeat scroll center center;
    }
}

/* Products */
.page-products h1,
.page-produkte h1,
.page-company h1,
.page-unternehmen h1{
    text-transform: uppercase;
}
.section-products span{
    text-align: center;
}
.section-products h2{
    text-align: left;
    text-transform: uppercase;
}
.section-products article{
    padding: 2em 0;
}
.section-products article:nth-child(2){
    background: #fff5e1;
}
.section-products article:nth-child(2) span{
    float: right;
}

/* Company */
.page-company h2,
.page-unternehmen h2{
    font-size: 1.2em;
    text-align: left;
}

.employee{
    min-height: 35em;
}
.employee.columns{
    padding: 0 1em;
}

@media screen and (min-width: 57.5em) {

.page-company .employee:first-child,
.page-unternehmen .employee:first-child{
    background: black;
}
.page-company .employee:nth-child(2):after,
.page-unternehmen .employee:nth-child(2):after{
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}
.page-company .employee:nth-child(3),
.page-unternehmen .employee:nth-child(3){
    float: right;
    margin: 0 0 0 3em;
}
.page-company .employee:nth-child(3):after,
.page-unternehmen .employee:nth-child(3):after{
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
    }
}

h2.emp-name,
a.emp-mail{
    color: #f9b000;
}
a.emp-mail{
    font-weight: bold;
}

.page-company .employee:nth-child(2) h2.emp-name,
.page-unternehmen .employee:nth-child(2) h2.emp-name,
.page-company .employee:nth-child(2) a.emp-mail,
.page-unternehmen .employee:nth-child(2) a.emp-mail,
.page-company .employee:nth-child(3) h2.emp-name,
.page-unternehmen .employee:nth-child(3) h2.emp-name,
.page-company .employee:nth-child(3) a.emp-mail,
.page-unternehmen .employee:nth-child(3) a.emp-mail{
    color: #1e1954;
}

.text-link{
    color: #ea7e27;
}

.text-link:hover{
    text-decoration: underline;
}
/*----------------------------------------
        Sidebar
------------------------------------------*/

.site-sidebar{
    display: none;
}

.widget{
    padding: 1em;
    margin-bottom: 1em;
}

@media screen and (min-width:600px){
}

/*----------------------------------------
       Footer 
------------------------------------------*/

.site-footer{
    font-size: 0.9em;
    color: white;
}

.site-footer a{
    color: white;
}
.site-footer a:hover{
    text-decoration: underline;
}
.site-footer p{
    line-height: 1.2;
    float: right;
}

.site-footer .yellow-link,
.site-footer .yellow-link a{
    color: #fdd27a;
}

.footer-info{
    background: #1e1954;
    border-bottom: 4px solid #fdd27a;
}

.footer-meta{
    background: #050321;
}

.nav-meta a{
    margin: 0.5em;
  }

.footer-meta .row{
    padding: 1em 0;
}
.nav-meta li{
    float: left;
    border-right: 1px solid white;
    margin: 0;
}
.nav-meta li:last-child{
    border-right: none;
}
@media screen and (min-width:800px){
    .nav-meta{
        width: 11em;
        margin: 0 auto;
    }


}