@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=DM+Serif+Display&display=swap');

body {
    line-height: 180%;
    font-size:16px;
    color:#2d2d2d;
    background-image: url('../img/lexline_pattern.png'); 
    background-size: 100px;
    background-color: #f5f5f5;
}

h1 {
    font-size: 48px;
    line-height: normal;
    margin-bottom:40px;
}

h2 {
    color: #525252;
    font-family: 'DM Serif Display', serif;
    font-weight: normal;
    margin: 0 0 20px 0;
    padding: 0;
    font-size:22px;
    font-size: 38px;
    line-height: normal;
}

#topMenu {    
    z-index:100;
    position: fixed;
    right:0px;
    top:0px;
    background-color: #3a3a3aed;
    font-size:14px;
    color:rgb(223, 223, 223);
    height:60px;    
}
    #topMenu .btnArea.right {
        position: absolute;
        right:0;
        top:0;
    }        
    #topMenu .btnArea.left {
        position: absolute;
        left:260px;
        top:0;
    }        
        #topMenu .btnArea.desktop {
            display:block;
        }
        #topMenu .btnArea.mobile {
            display:none;
            cursor: pointer;
        }
            #mobileMenu {
                display:none;
                z-index:100;
                position: fixed;
                right:0px;
                top:60px;
                background-color: #070707f0;
                font-size:14px;
                color:rgb(223, 223, 223);
                width:100%;                
            }
        #topMenu .btnArea > div {
            display: inline-block;
            line-height: 60px;
            padding: 0 20px;
            white-space: nowrap;
            font-weight: bold;
            text-transform: uppercase;
            cursor: pointer;
        }
            #topMenu .btnArea > div:hover {
                color:#e59e51;
            }
            

        .menuMobileIcon {
            height:30px;
            width:30px;
            background: url("public/img/menu_mobile.svg") no-repeat;
        }
            .menuMobileIcon:hover {
                background: url("public/img/menu_mobile_hover.svg") no-repeat;
            }


    #mobileMenu > div {
        font-size:18px;
        padding: 20px 40px;
        border-bottom: 1px solid black;
        cursor: pointer;
    }
        #mobileMenu > div:hover {
            color:#e59e51;
        }

    .userIcon {
        height: 16px;
        vertical-align: middle;
        margin-right: 5px;
        margin-bottom: 2px;
        
    }

    #logoTagline {        
        line-height: normal;
        margin-top:20px;
        font-size:72px;
    }

    #bulletsTable {
        width:100%;
    }
    #bulletsTable td {
        width:33.33%;
        vertical-align: top;
    }
        #bulletsTable td:nth-child(1) {text-align: left;}
        #bulletsTable td:nth-child(2) {text-align: center;}
        #bulletsTable td:nth-child(3) {text-align: right;}
        #bulletsTable td > div {
            display: inline-block;
            text-align: center;
            max-width: 300px;
        }




    #bullets {
        font-size:0;      
        display: none;  
        margin: 0 auto;
        width: 300px;
    }
        .bullets img {
            height: 70px;
            margin-bottom: 10px;
        }
        #bullets > div {
            font-size:16px;
            max-width: 300px;
            margin-bottom:40px;
        }
      





    #offerGrid {
        width:100%;        
        display: grid;        
        justify-content: center;
        box-sizing: border-box;
        grid-gap:16px;  
        grid-template-columns: repeat(auto-fit, 300px);
        max-width: 1440px;
        margin:-110px auto 80px auto;        
    }
        #offerGrid > div {
            background-color:white;
            cursor: pointer;                        
            overflow: hidden;            
        }
            #offerGrid > div:hover {                
                background-color:#609e51;
                color:white;
            }

        #offerGrid > div > div.image {
            height:210px;
            background-image: url('public/img/lexline_background.jpg'); 
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;    
            position: relative;
        }
            #offerGrid > div:hover > div.image {
                transform: scale(1.02);          
                transition: transform .5s;

            }
        #offerGrid > div > div.description {            
            font-family: 'DM Serif Display', serif;
            font-size: 20px;
            line-height: normal;
            text-align: center; 
            padding: 30px 60px;
        }



            .arrow {
                position: absolute;
                bottom: -1px;
                width: 100%;
                height: 0;
            }
            .arrow:before,
            .arrow:after {
                content: '';
                position: absolute;
                bottom: 100%;
                width: 50%;
                box-sizing: border-box;
            }
            .arrow:before {
                right: 50%;
                border-top: 14px solid transparent;
                border-right: 14px solid white;
            }
            .arrow:after {
                left: 50%;
                border-top: 14px solid transparent;
                border-left: 14px solid white;
            }

                #offerGrid > div:hover .arrow:before {                
                    border-right-color:#609e51;
                }
                #offerGrid > div:hover .arrow:after {                
                    border-left-color:#609e51;
                }



      

   
      .arrowUp {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 20px;
        background-color: #eeebe5;
      }
      .arrowUp:before,
      .arrowUp:after {
        content: '';
        position: absolute;
        bottom: 100%;
        width: 50%;
        box-sizing: border-box;
      }
      .arrowUp:before {
        right: 50%;
        border-bottom: 20px solid #eeebe5;
        border-right: 20px solid transparent;
      }
      .arrowUp:after {
        left: 50%;
        border-bottom: 20px solid #eeebe5;
        border-left: 20px solid transparent;
      }



.footerBox {
    color:rgb(249, 249, 249);
    background-color: #525252;
}
.footerContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}



.boxContactPartner {
    display: inline-block;
    vertical-align: top;
    text-align: left;    
    width:100%;
    max-width: 550px;
    margin-bottom:40px;
}

.linksToPartners {
    text-align: left;
    line-height: 20px;
    margin-bottom: 10px;
}
    .linksToPartners a {
        color: #06387f;
    }
    .linksToPartners a:hover {
        color: #094ca8;
    }



.link.underLined {        
    border-bottom:1px solid black;
    line-height: 24px;
}
    .link.underLined {        
        border-bottom:1px solid black;
        line-height: 24px;
        transition: border 0.25s, color .25s;        
    }
        .link.underLined:hover {        
            color: #0a4faf;
            border-color: #0a4faf;
        }
        .link.underLined:active {        
            color: black;
            border-color: black;
        }
        
@media only screen and (max-width: 1000px) {
    #bullets {display:block;}
    #bulletsTable {display:none;}


    #topMenu .btnArea.desktop {
        display:none;
    }
    #topMenu .btnArea.mobile {
        display:block;
    }
}       


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


    


    #logoTagline {
        font-size:48px;
    }
    h1 {
        font-size:32px;
    }

    h2 {
        font-size: 32px;
    }

}       
