@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;
}


#headerMenuWrapper {
    position: absolute;
    z-index: 10;
    color: white;
    width: 100%;
}
    #headerMenuWrapper.blackMenu {
        color: black;
    }
#headerMenuBar {
    width: 100%;
    display: grid;
    grid-template-columns: 160px auto;
    height: 80px;
    transition: 0.3s height;
}
    #headerMenuBar .logo {
        display: flex;
        justify-content: center;
        align-items: center;  
    }
    #headerMenuBar .logo > img {
        filter: brightness(0) invert(1);
        height: 28px;        
        cursor: pointer; 
    }
        #headerMenuWrapper.blackMenu #headerMenuBar .logo > img {
            filter: brightness(100%) invert(0);
        }


    .menuButtonsWrapper {
        white-space: nowrap;
        text-align: right;
        font-size: 15px;
        display: flex;
        justify-content: flex-end;
        align-items: center;  
    }
        .menuButtonsWrapper > div {
            display: inline-block;
            padding: 10px 20px;
            margin: 0 10px;
            cursor: pointer;
            transition: .3s color;
        }
        .menuButtonsWrapper > div:hover {
            color:rgb(224, 224, 224);
        }
        .menuButtonsWrapper > div.selected {
            font-weight: bold;
        }    


    #headerMenuWrapper.scrolled #headerMenuBar {
        height:80px;
    }
    #headerMenuWrapper.prepared {
        top:-80px;
        position: fixed;
        background-color: white;
        color: black;
        transition: top 0.3s ease-out;
    }
        #headerMenuWrapper.prepared #headerMenuBar .logo > img {
            filter: brightness(100%) invert(0);
        }
    #headerMenuWrapper.scrolled {
        top:0;
        position: fixed;
        background-color: white;
        color: black;
        -webkit-box-shadow: rgba(0,0,0,0.1) 0px 1px 20px 0px;
        box-shadow: rgba(0,0,0,0.1) 0px 1px 20px 0px;
        transition: top 0.1s ease-out;
    }
        #headerMenuWrapper.scrolled #headerMenuBar .logo > img {
            filter: brightness(100%) invert(0);
        }
        #headerMenuWrapper.scrolled .menuButtonsWrapper > div{
            padding: 23px 20px;
        }
            #headerMenuWrapper.scrolled .menuButtonsWrapper > div.selected {
                border-radius: unset;
                background-color: unset;
                border-bottom:4px solid #510F8D;
                color:#510F8D;
            }
    
            #headerMenuWrapper.scrolled .menuButtonsWrapper > div:not(.selected):hover {
                color:rgb(32, 32, 32);
            }




#videoWrapper {
    z-index:0;
    position: absolute;
    top:0;
    left:0;        
    width: 100%;
    height: 100vh;
    overflow: hidden;
    transition: 0.3s opacity,padding;
    opacity: 1;
}
    #mainWrapper.hidevideo #videoWrapper {
        opacity: 0.05;
    }
    #mainVideo {
        min-width: 100vw;
        min-height: 100vh;
        position: absolute;
    }
    





#mobileMenu {
    display:none;
    z-index:100;
    position: fixed;
    right:0px;
    top:80px;
    background-color: #070707f0;
    font-size:14px;
    color:rgb(223, 223, 223);
    width:100%;                
}
    #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: 80px;
            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;          
            box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
        }
            #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;
}


#partnersGrid {
    background-color:#ffffff;
    text-align: center;
    padding: 20px;

}
    #partnersGrid > div {
        display: inline-flex;
        justify-content: center;
        padding: 35px;
        width: 200px;
        max-width: calc(100% - 80px);
        position: relative;
        font-size:18px;
        font-weight: bold;
        vertical-align: middle;
    }
        #partnersGrid img {
            width: 100%;
        }




.locationHeader {
    color: #525252;
    margin-bottom: 15px;
    font-size: 20px;
}

.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;
        }
        

#imgMobileBtn {
    display:none;
    position: absolute;
    top: 25px;
    right: 20px;
    height: 45%;
    filter: brightness(0) invert(1);
}
    #headerMenuWrapper.scrolled #imgMobileBtn {
        filter: brightness(100%) invert(0);
    }



@media only screen and (max-width: 1000px) {
    #bullets {display:block;}
    #bulletsTable {display:none;}


    #topMenu .btnArea.desktop {
        display:none;
    }
    #topMenu .btnArea.mobile {
        display:block;
    }

    .menuButtonsWrapper {
        display:none;
    }
    #imgMobileBtn {
        display:block;
    }

}       


@media only screen and (max-width: 850px) {


    #logoTagline {
        font-size:48px;
    }
    #secondDescText {
        display:none;
    }


    #logoTagline {
        font-size:48px;
    }
    h1 {
        font-size:32px;
    }

    h2 {
        font-size: 32px;
    }



}       
