:root{
    --colDark: #586679;
    --colRed: #a51b1b;
    --textGrey: #8c8c8c;
}

* {
	margin: 0;
  	padding: 0;
	font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

html,body{
	width: 100%;
	height: auto;
} 

h1{
    font-family: 'Source Sans Pro', sans-serif;
    text-transform: uppercase;
    font-size: 60px;
}

h2{
    font-family: 'Playfair Display', serif;
    font-size: 45px;
    text-transform: uppercase;
    font-weight: 600;
}

p{
    font-size: 18px;
}

.container{
    max-width: 1200px;
}


/* TOP */

#top{
    background-color: var(--colDark);
    width: 100%;
    height: auto;
    padding: 40px 0;
}

.left-top{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.left-top ul{
    margin-bottom: 0;
}

.left-top ul li{
    list-style: none;
}

.left-top ul li a{
    color: white;
    font-size: 18px;
    text-decoration: none;
}

.left-top ul li a i{
    margin-right: 5px;
    font-size: 22px;
    margin-top: 5px;
}

.navbar-brand img{
    width: 100%;
    height: auto;
}

.right-top{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.right-top ul{
    margin-bottom: 0;
    text-align: right;
}

.right-top ul li{
    list-style: none;
    font-size: 18px;
    color: white;
}

/* NAVBAR */

.navbar {
    transition: all 0.4s;
    background-color: white;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .nav-link {
    color: #555;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--colRed);
    text-decoration: none;
}

.navbar .navbar-brand {
    color: #fff;
}


/* Change navbar styling on scroll */
.navbar.active {
    background: #fff;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.active .nav-link {
    color: #555;
}

.navbar.active .nav-link:hover,
.navbar.active .nav-link:focus {
    color: #555;
    text-decoration: none;
}

.dropdown:hover .dropdown-menu{
    display: block;
}

.dropdown-menu{
    margin-top: 0;
    border-top: 2px solid var(--colRed);
}

.dropdown-item:hover{
    background-color: var(--colDark);
    color: white;
}

.navbar.active .navbar-brand {
    color: #555;
}

.btn-top-1{
    background-color: var(--colRed);
    color: white !important;
    border-radius: 5px;
    padding: 10px 20px !important;
}

.btn-top-1:hover{
    opacity: 0.8;
    transition: all 0.5s ease;
}

.btn-top-2{
    background-color: var(--colRed);
    color: white !important;
    border-radius: 5px;
    padding: 10px 20px !important;
    margin-left: 5px;
}

.btn-top-2:hover{
    opacity: 0.8;
    transition: all 0.5s ease;
}


/* Change navbar styling on small viewports */
@media (max-width: 991.98px) {
    .navbar {
        background: #fff;
    }

    .navbar .navbar-brand, .navbar .nav-link {
        color: #555;
    }
    .btn-top-1{
        width: 50%;
        margin-bottom: 10px;
        margin-top: 10px;
        margin-left: auto;
        margin-right: auto;
    }
    .btn-top-2{
        width: 50%;
        margin-left: 0;
        margin: 0 auto;
    }
    .navbar-toggler{
        margin: 0 auto;
    }
    .navbar-nav{
        text-align: center;
    }
    .dropdown-menu{
        text-align: center;
    }
}

/*************** slider ****************/
.slider {
  width: 100%;
  min-height: 70vh;
  position: relative;
  z-index: 3;
  overflow: hidden; 
}

.slider h1{
	color: white;
	padding: 15px 0;
	font-weight: bold;
	letter-spacing: 2px;
	line-height: 1;
}

  .slider h4 {
    font-size: 26px;
    color: white;
    margin-bottom: 50px;
    margin-top: 20px;
    font-weight: 600;
	  letter-spacing: 2px;
      text-transform: capitalize;
}


.slider #owlCarousel,
.slider .owl-stage-outer,
.slider .owl-stage,
.slider .owl-item-bg,
.slider .owl-item {
  min-height: 70vh; 
}

.slider .owl-item {
  display: inline-block;
  width: 100%;
  overflow: hidden;
  -webkit-backface-visibility: hidden; 
}

.slider .owl-item-bg {
  background-repeat: no-repeat;
  background-size: cover;
 	background-position: center;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.slide-content {
	width: 100%;
    height: 100%;
    padding: 5vh 0;
}

.slider .back {
  position: absolute;
  width: 100%;
  min-height: 70vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
	background: rgba(0,0,0,0.4);
   }

.slide-text-box {
  z-index: 4; 
    padding-left: 100px;
}

#slider.owl-theme .owl-controls .owl-nav .owl-prev{
	background-color: transparent;
	font-size: 25px;
	position: absolute;
	top: 45%;
	left: 0%
}

#slider.owl-theme .owl-controls .owl-nav .owl-next{
	background-color: transparent;
	font-size: 25px;
	position: absolute;
	top: 45%;
	right: 0%
}

.btnSLider{
	padding: 15px 0;
}

.btnSLider a{
	background-color: var(--colRed);
	text-decoration: none;
	padding: 15px 40px;
	border: 2px solid var(--colRed);
	color: white;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
	font-size: 22px;
    border-radius: 5px;
}

.btnSLider a:hover{
	opacity: 0.8;
    transition: all 0.5s ease;
}

/* SERVING */

#serving{
    padding: 30px 0;
    background-color: var(--colDark);
    margin-top: -10px;
    width: 100%;
    height: auto;
}

.text-serving{
    text-align: center;
}

.text-serving h3{
    text-transform: uppercase;
    color: white;
    margin-bottom: 0;
    font-weight: 600;
}

/* PRACTICE */

#practice{
    padding: 80px 0;
    width: 100%;
    height: auto;
}

.title-practice{
    text-align: center;
    margin-bottom: 80px;
}

.title-practice h5{
    text-transform: capitalize;
    color: var(--colDark);
}

.title-practice h2{
    position: relative;
    margin-bottom: 50px;
}

.title-practice hr{
    width: 60px;
    background-color: var(--colRed);
    margin: 0 auto;
    transform: rotate(90deg);
}

.padd-pract{
    padding: 15px;
}

.text-practice{
    text-align: center;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    width: 100%;
    min-height: 460px;
    padding: 60px 20px;
    box-shadow: 10px 10px 15px #eeeeee;
    transition: all 0.5s ease 0s;
}

.text-practice:hover{
    box-shadow: none; 
}

.text-practice i{
    color: var(--colDark);
    font-size: 60px;
    margin-bottom: 20px;
}

.text-practice h3{
    margin-bottom: 0;
    font-weight: 600;
    color: var(--colDark);
}

.text-practice hr{
    width: 100px;
    background-color: var(--colRed);
    height: 2px;
    margin: 20px auto;
}

.text-practice p{
    margin-bottom: 30px;
}

.text-practice a{
    font-size: 18px;
    color: var(--colRed);
    text-decoration: none;
    font-weight: 600;
}

.text-practice a:hover{
    font-size: 18px;
    color: var(--colDark);
    text-decoration: none;
}

.text-practice a i{
    font-size: 14px;
    color: var(--colRed);
}

/* QUICK */

#quick{
    padding: 40px 0;
    background-color: var(--colDark);
    margin-top: -10px;
    width: 100%;
    height: auto;
}

.text-quick{

}

.text-quick h3{
    text-transform: uppercase;
    color: white;
    margin-bottom: 0;
    font-weight: 600;
}

.btn-quick{
    text-align: right;
}

.btn-quick a{
    padding: 15px 35px;
    text-transform: uppercase;
    font-size: 22px;
    background-color: white;
    border-radius: 5px;
    color: var(--colDark);
    text-decoration: none;
}

.btn-quick a:hover{
    opacity: 0.8;
    transition: all 0.5s ease;
}

/* WHY */

#why{
    padding: 80px 0;
}

.title-why{
    text-align: center;
    margin-bottom: 80px;
}

.title-why h5{
    text-transform: capitalize;
    color: var(--colDark);
}

.title-why h2{
    position: relative;
    margin-bottom: 50px;
}

.title-why hr{
    width: 60px;
    background-color: var(--colRed);
    margin: 0 auto;
    transform: rotate(90deg);
}

.padd-why{
    padding: 15px;
}

.text-why{
    padding: 40px;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    min-height: 570px;
}

.text-why h4{
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--colDark);
}

.text-why p:nth-of-type(2){
    margin-bottom: 0;
}

.img-why{
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
}

.text-inform{
    padding: 40px;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
    background-color: #eeeeee;
}

.text-inform h4{
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--colDark);
}

.img-why-attorny{
    width: 100%;
    height: 450px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
}

.video-why iframe{
    width: 100%;
    height: 450px;
    border-radius: 5px;
}

.photo-2{
    display: none;
}

/* TESTIMONIALS */

.padd-consult{
    padding: 0;
}

#testimonials{
    background-image: url(..//images/disability.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: auto;
}

.bg-free-testimonials{
    background: rgba(0,0,0,0.7);
    width: inherit;
    height: inherit;
    padding: 200px 0;
}

.testim{
    text-align: center;
    padding: 0 120px;
}
.testim i{
    font-size: 60px;
    color: white;
}
.testim .testim-desc{
    font-size: 22px;
    font-style: italic;
    color: #fff;
    line-height: 26px;
    margin: 40px 0;
}
.testim .testim-name{
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.testim .testim-post{
    font-size: 16px;
    color: #fff;
}

#testimonials .owl-controls{
    margin-top: 40px;
}

/* FREE CONSULTATION */

#free-consult{
    padding: 80px 0;
    width: 100%;
    height: auto;
}

.title-free{
    text-align: center;
    margin-bottom: 80px;
}

.title-free h5{
    text-transform: capitalize;
    color: var(--colDark);
}

.title-free h2{
    position: relative;
    margin-bottom: 50px;
}

.title-free hr{
    width: 60px;
    background-color: var(--colRed);
    margin: 0 auto;
    transform: rotate(90deg);
}

.form-free{
    width: 80%;
    margin: 0 auto;
}

.form-cons{
    box-shadow: none !important;
    min-height: 45px;
}

.form-free h4{
    padding: 0 10px;
    margin-bottom: 15px;
    color: var(--textGrey);
}

.form-free p{
    padding: 0 10px;
    font-size: 14px;
    color: var(--textGrey);
}

.form-free p a{
    text-decoration: none;
}

.btn-consult{
    padding: 15px 35px;
    text-transform: uppercase;
    font-size: 22px;
    background-color: var(--colRed);
    border: none;
    border-radius: 5px;
    color: white;
    text-decoration: none;
}

.btn-consult:hover{
    opacity: 0.8;
    transition: all 0.5s ease;
}

/* OUR TEAM */

#our-team{
    padding: 80px 0;
    background-color: #eeeeee;
    width: 100%;
    height: auto;
}

.title-team{
    text-align: center;
    margin-bottom: 80px;
}

.title-team h5{
    text-transform: capitalize;
    color: var(--colDark);
}

.title-team h2{
    position: relative;
    margin-bottom: 50px;
}

.title-team hr{
    width: 60px;
    background-color: var(--colRed);
    margin: 0 auto;
    transform: rotate(90deg);
}

.padd-team{
    padding: 15px;
}

.meet-team{
    text-align: center;
    border: 1px solid var(--colDark);
    padding: 40px 20px;
    min-height: 550px;
    border-radius: 5px;
    transition: all 0.5s ease 0s;
}

.meet-team:hover{
    transform: translateY(-15px);
    box-shadow:0 10px 7px rgba(0, 0, 0, 0.3);
}

.meet-team img{
    border-radius: 50%;
    width: 60%;
    height: 60%;
}

.meet-team h4{
    font-weight: 600;
    color: var(--colDark);
    margin: 20px 0;
}

.meet-team hr{
    margin: 20px 0;
}

.meet-team  a i{
    color: var(--colRed);
}

.meet-team  a i:hover{
    color: var(--colDark);
    transition: all 0.5s ease;
}

/* FOOTER */

#footer{
    padding: 80px 0;
    background-color: var(--colDark);
    width: 100%;
    height: auto;
}

.text-footer{
    text-align: center;
}

.text-footer h3{
    text-transform: capitalize;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.text-footer ul{
    margin-bottom: 40px;
}

.text-footer ul li{
    list-style: none;
    margin-bottom: 5px;
    color: white;
    font-size: 18px;
}

.text-footer ul li a{
    text-decoration: none;
    color: white;
}

.text-footer ul li a:hover{
    text-decoration: none;
    color: var(--colRed);
    transition: all 0.5s ease;
}

.map-foo{
    text-align: center;
}

.map-foo iframe{
    width: 100%;
    height: 350px;
}

footer{
    background-color: black;
}

.copy{
    text-align: center;
    padding: 15px 0;
}

.copy p{
    font-size: 12px;
    margin-bottom: 0;
    color: white;
}

.copy p a{
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.copy p a:hover{
    text-decoration: underline;
}

/* RESPONSIVE HOME PAGE */

@media (min-width: 992px) and (max-width: 1199px) {
    .nav-link{
        font-size: 14px;
    }
    .text-practice{
        min-height: 490px;
    }
    .meet-team{
        min-height: 500px;
    }
    .meet-team img{
        width: 80%;
        height: 80%;
    }
    .meet-team p{
        font-size: 14px;
    }
}

@media (min-height: 1366px){
    
}

@media (min-width: 768px) and (max-width: 991px) {
	.navbar-brand img{
        width: 100%;
    }
    .logo-top{
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .left-top ul li a{
        font-size: 14px;
    }
    .right-top ul li{
        font-size: 14px;
    }
    .text-practice{
        min-height: 540px;
    }
    .text-why{
        min-height: auto;
    }
    .img-why{
        width: 100%;
        height: 350px;
    }
    .img-why-attorny{
        height: 350px;
    }
    .video-why iframe{
        height: 350px;
    }
    .bg-free-testimonials{
        padding: 120px 0;
    }
    .testim{
        padding: 0 60px;
    }
    .meet-team{
        min-height: 520px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .left-top{
        display: none;
    }
    .right-top{
        display: none;
    }
    #top{
        padding: 20px 0;
    }
    .logo-top{
        text-align: center;
    }
    .navbar-brand img{
        width: 250px;
    }
    .slide-text-box{
        padding-left: 15px;
    }
    .text-quick h3{
        text-align: center;
    }
    .btn-quick{
        text-align: center;
        margin-top: 40px;
        margin-bottom: 15px;
    }
    .text-why{
        min-height: auto;
    }
    .img-why{
        width: 100%;
        height: 280px;
    }
    .img-why-attorny{
        height: 280px;
    }
    .video-why iframe{
        height: 280px;
    }
    .bg-free-testimonials{
        padding: 80px 0;
    }
    .testim{
        padding: 0 40px;
    }
    .form-free{
        width: 100%;
    }
    .meet-team{
        min-height: 515px;
    }
    .map-foo iframe{
        height: 300px;
    }
}

@media (min-width: 321px) and (max-width: 480px) {
    .left-top{
        display: none;
    }
    .right-top{
        display: none;
    }
    #top{
        padding: 20px 0;
    }
    .logo-top{
        text-align: center;
    }
    .navbar-brand img{
        width: 250px;
    }
    .slider {
      min-height: 60vh;
    }
    .slider #owlCarousel,
    .slider .owl-stage-outer,
    .slider .owl-stage,
    .slider .owl-item-bg,
    .slider .owl-item {
      min-height: 60vh; 
    }
    .slider .back {
      min-height: 60vh;
   }
    .slide-text-box{
        padding-left: 15px;
    }
    .slider h1{
        font-size: 40px;
        padding-top: 0;
    }
    h2{
        font-size: 30px;
    }
    .text-quick h3{
        text-align: center;
    }
    .btn-quick{
        text-align: center;
        margin-top: 40px;
        margin-bottom: 15px;
    }
    .text-why{
        min-height: auto;
        padding: 20px;
    }
    .img-why{
        width: 100%;
        height: 250px;
    }
    .img-why-attorny{
        height: 250px;
    }
    .video-why iframe{
        height: 250px;
    }
    .bg-free-testimonials{
        padding: 80px 0;
    }
    .testim{
        padding: 0;
    }
    .form-free{
        width: 100%;
    }
    .meet-team{
        min-height: auto;
    }
    .map-foo iframe{
        height: 250px;
    }
    #practice, #why,#free-consult,#our-team,#footer{
        padding: 40px 0;
    }
    .photo-1{
        display: none;
    }
    .photo-2{
        display: block;
    }
    .text-inform{
        margin-top: 15px;
        padding: 20px;
        margin-bottom: 15px;
    }
    .btn-top-1, .btn-top-2{
        width: 100%;
    }
}

@media (max-width: 320px) {
    .left-top{
        display: none;
    }
    .right-top{
        display: none;
    }
    #top{
        padding: 20px 0;
    }
    .logo-top{
        text-align: center;
    }
    .navbar-brand img{
        width: 250px;
    }
    .slider {
      min-height: 80vh;
    }
    .slider #owlCarousel,
    .slider .owl-stage-outer,
    .slider .owl-stage,
    .slider .owl-item-bg,
    .slider .owl-item {
      min-height: 80vh; 
    }
    .slider .back {
      min-height: 80vh;
   }
    .slide-text-box{
        padding-left: 15px;
    }
    .slider h1{
        font-size: 40px;
        padding-top: 0;
    }
    h2{
        font-size: 30px;
    }
    .text-quick h3{
        text-align: center;
    }
    .btn-quick{
        text-align: center;
        margin-top: 40px;
        margin-bottom: 15px;
    }
    .text-why{
        min-height: auto;
        padding: 20px;
    }
    .img-why{
        width: 100%;
        height: 250px;
    }
    .img-why-attorny{
        height: 250px;
    }
    .video-why iframe{
        height: 250px;
    }
    .bg-free-testimonials{
        padding: 80px 0;
    }
    .testim{
        padding: 0;
    }
    .form-free{
        width: 100%;
    }
    .meet-team{
        min-height: auto;
    }
    .map-foo iframe{
        height: 250px;
    }
    #practice, #why,#free-consult,#our-team,#footer{
        padding: 40px 0;
    }
    .photo-1{
        display: none;
    }
    .photo-2{
        display: block;
    }
    .text-inform{
        margin-top: 15px;
        padding: 20px;
        margin-bottom: 15px;
    }
    .btn-top-1, .btn-top-2{
        width: 100%;
    }
}