body {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    /*color: #828282; */
    color: #000;
    background: #fff;
}

/* Montstraat fonts */
@font-face{
    font-family:Montserrat;
    
}

.main {
    margin-top: 100px;
}

.lexx-font-1 {
    font-family: 'Montserrat', sans-serif;
    color: #000;
    font-style: bold;
    
}

.lexx-font-2 {
    font-family: 'Roboto', sans-serif;
}

/* links */
a {
    color: #bea34d;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

a:hover, a:focus {
    color: #31486f;
}

#lexx-link {
    color: #bea34d;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

#lexx-link:hover {
    color: #fff;
}

/* Colors */
.text-gold {
    color: #bea34d;
}

.text-dark-blue {
    color: #31486f;
}

.text-red {
    color: #DC143C;
}

.lexx-span-1 {
    color: #17365d;
}

.lexx-span-2 {
    color: #fd3556;
}

.bg-white {
    background-color: #ffffff;
}

.bg-lexx {
    background-color: #31486f;
}

/* Lexx configs */
#lexx-nav {
    box-shadow:  10px 10px 8px #ccc;
}

#lexx-footer {
	background: #0b162a;
    color: rgba(255, 255, 255, 0.5);
    padding: 3em 0 0em 0;
    clear: both;
}

#lexx-footer h4{
	color: #fff;
    font-size: 20px;
    border-bottom: 2px solid #bea34d;
    padding-bottom: 15px;
}

#lexx-footer li {
    padding: 0;
    margin: 0;
	list-style: none;
}

#lexx-footer a {
	color: #bea34d;
}

.btn-lexx {
    color: #fff;
    background-color: #bea34d;
    border-color: #bea34d;

    margin-right: 4px;
    margin-bottom: 4px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    border-radius: 30px;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    padding: 8px 20px;
}

.services {
    position: relative;
    padding: 30px;
    margin-bottom: 60px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    
}

.services h3 {
    font-weight: 400; 
}

.services h3 a {
    color: #31486f; 
}

.services .icon {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    display: table;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s; 
}
    
.services .icon i {
      display: table-cell;
      vertical-align: middle;
      height: 70px;
      font-size: 60px;
      line-height: 40px;
      color: #31486f; 
}

.services:hover, .services:focus {
    background: #31486f;
    color: rgba(255, 255, 255, 0.7); }
    .services:hover h3 a, .services:focus h3 a {
      color: #fff; }
    .services:hover .icon i, .services:focus .icon i {
      color: #bea34d; }


/* Services sub pages */
.lexx-card-bg {
    background-color: #31486f!important;
    color: #fff;
}
.bg-lexx-card {
    background-color: #31486f;
    color: #fff;
}

/* customise jumbotron */
.lexx-jumbotron {
    background: url("../images/lexx_services.jpeg"); 
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    padding: 8rem 0rem;
    height: 400px;
    display: block;
    max-width: 100%;
}

/*.lexx-careers {
    background: url("../images/lexx_career.jpeg"); 
    background-repeat: no-repeat;
    background-position: center;
    padding: 8rem 0rem;
    height: 400px;
    display: block;
    max-width: 100%;
} */

.lexx-services-jumbotron {
    background: url("../images/lexx_laws_2.jpg") no-repeat center center; 
    background-size: cover;
    height: auto;
    display: block;
    max-width: 100%;
    padding: 8rem 0rem;
}

/*.lexx-services-commercial {
    background: url("../images/lexx_commercial.jpg") no-repeat center center; 
    background-size: cover;
    background-attachment: fixed;
    height: auto;
    display: block;
    max-width: 100%;
    padding: 8rem 0rem;
} */

.lexx-services-dispute {
    background: url("../images/lexx_services_2.png") no-repeat center center;
    height: 300px;
    display: block;
    max-width: 100%;
    padding: 8rem 0rem;
}

.lexx-services-employment {
    background: url("../images/lexx_labour.jpeg") no-repeat center center; 
    background-size: cover;
    height: auto;
    display: block;
    max-width: 100%;
    padding: 8rem 0rem;
}
/*
.lexx-services-tourism {
    background: url("../images/lexx_tourism2.jpeg") no-repeat center center; 
    height: 300px;
    display: block;
    width: 100%;
    padding: 8rem 0rem;
}*/

.lexx-services-maritime {
    background: url("../images/lexx_maritime_2.jpeg") no-repeat center center; 
    background-size: cover;
    height: auto;
    display: block;
    max-width: 100%;
    padding: 8rem 0rem;
}
/*
.lexx-services-intellectual {
    background: url("../images/lexx_intellectual.jpg") no-repeat center center; 
    background-size: cover;
    background-attachment: fixed;
    height: auto;
    display: block;
    max-width: 100%;
    padding: 8rem 0rem;
}
*/
.lexx-services-tax {
    background: url("../images/lexx_tax.jpeg") no-repeat center center; 
    height: 300px;
    display: block;
    max-width: 100%;
    padding: 8rem 0rem;
}

.lexx-services-telecommunication {
    background: url("../images/lexx_telecommunication.jpeg") no-repeat center center; 
    background-size: cover;
    height: auto;
    display: block;
    max-width: 100%;
    padding: 8rem 0rem;
}

.lexx-services-family {
    background: url("../images/lexx_family.jpeg") no-repeat center center; 
    
    height: auto;
    display: block;
    width: 100%;
    padding: 8rem 0rem;
}

.lexx-services-insurance {
    background: url("../images/lexx_insurance.jpg") no-repeat center center; 
    background-size: cover;
    height: auto;
    display: block;
    max-width: 100%;
    padding: 8rem 0rem;
}
/*
.lexx-services-energy {
    background: url("../images/lexx_energy.jpeg") no-repeat center center; 
    min-height: 300px;
    display: block;
    max-width: 100%;
    padding: 8rem 0rem;
}*/

.lexx-services-realestate {
    background: url("../images/lexx_property.jpg") no-repeat center center;
    background-position: center center;  
    background-size: cover;
    height: 400px;
    display: block;
    width: 100%;
    padding: 8rem 0rem;
}

/* LEXX values section */
.lexx-values {
    margin-top: 3rem;
    margin-bottom: 3rem;
}


/* LEXX contact bar */
.lexx-contact-bar {
    background-color: #ffffff;
    color: #31486f;
    font-size: 2rem;
    font-weight: bold;
    font-family: Montserrat;
}

.lexx-heading h2 {
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #31486f;
    font-weight: 400;
    text-align: center;
}

.lexx-office {
    background-color: #31486f;
    color: #fff;
    padding-top: 15px;
    border-color: #fff;
    border: 10px solid;
    text-align: center;
    word-wrap: normal;
}


/* Lexx career */
#lexx-cv-form {
    margin-bottom: 2rem;
}

.btn_lexx_center {
    text-align: center;
}

.form-border {
    
    border: 3px solid #31486f;
    border-radius: .25rem;
}

.lexx-divider {
    margin: 2rem 0;
}



/* JUmbo testing code */
.jumbotrom {
  position:relative;
  overflow:hidden;
}

.jumbotrom .container {
  position:relative;
  z-index:2;
  
  background:rgba(0,0,0,0.2);
  padding:2rem;
  border:1px solid rgba(0,0,0,0.1);
  border-radius:3px;
}

.jumbotron-background {
  object-fit:cover;
  font-family: 'object-fit: cover;';
  position:absolute;
  top:0;
  z-index:1;
  width:100%;
  height:100%;
  opacity:0.5;
}

img.blur {
    -webkit-filter: blur(4px);
    filter: blur(4px);
  filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='4');

}

/* pagination */

.pagination {
    justify-content: center;
}

.page-item.active .page-link {
    background-color: #31486f;
    border-color: #31486f;
}

.page-link {
    color: #31486f;
}

/* footer social icon */
#lexx-social {
    display: table-cell;
    vertical-align: middle;
    height: 70px;
    font-size: 60px;
    line-height: 40px;
    color: #ffffff; 
}

/*  Maps */
#map {
  width: 100%;
  height: 500px;
   }

.lexx-carousel-text {
    position: absolute;
    top: 40%;
    left: 50%;
    font-size:5vw;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.lexx-carousel-text2 {
    position: absolute;
    top: 25%;
    left: 65%;
    font-size:3.2vw;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* Small devices (landscape phones, 576px and up) */
   @media (min-width: 576px) { 
    .lexx-carousel-text {
        position: absolute;
        top: 40%;
        left: 50%;
        font-size:5vw;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .lexx-carousel-text2 {
        position: absolute;
        top: 25%;
        left: 65%;
        font-size:3.2vw;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
}
   
/*Medium devices (tablets, 768px and up) */
   @media only screen and  (min-width: 768px) {
    .lexx-carousel-text {
        position: absolute;
        top: 40%;
        left: 50%;
        font-size:5vw;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .lexx-carousel-text2 {
        position: absolute;
        top: 25%;
        left: 65%;
        font-size:3.5vw;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
}
   
/* Large devices (desktops, 992px and up) */
   @media only screen and  (min-width: 992px) {
    .lexx-carousel-text {
        position: absolute;
        top: 40%;
        left: 50%;
        font-size:5vw;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .lexx-carousel-text2 {
        position: absolute;
        top: 25%;
        left: 65%;
        font-size:3.5vw;
        -webkit-transform: translate(50%, 50%);
        -ms-transform: translate(50%, 50%);
        transform: translate(50%, 50%);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media only screen and  (min-width: 1200px) {
    .lexx-carousel-text {
        position: absolute;
        top: 30%;
        left: 50%;
        font-size:5vw;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .lexx-carousel-text2 {
        position: absolute;
        top: 26%;
        left: 65%;
        font-size:3.0vw;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
}

/* Specifics for .display-3 class -- */
@media only screen and (max-width: 400px){
    .display-3{
        font-size: 1.3rem;
        font-weight: 150;
        line-height: 0.8;
    }
}


@media only screen and (max-width: 680px){
    .display-3 {
        font-size: 2.5rem;
        font-weight: 250;
        line-height: 1.0;
    }
}


.carousel-caption {
    top: 0;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    bottom: 30px;
    
}

/*  Marquee codes */
.marquee {
    overflow: hidden;
}

img.blur {
	-webkit-filter: blur(4px);
	filter: blur(4px);
  filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='4');

}