:root {
    --red: #bf2e2e;
    --text: #37474F;
    --primary: #755A49;
    --primary-dark: #4D3A2E;
    --primary-light: #F5D4B5;
    --accent: #00FF00;
    --brown-shade1: #4D3A2E;
    --brown-shade2: #F5F5F5;
    --grey-shade3: #EEF7F3;
    --grey-shade4: #E7F0EC;
    --grey-shade5: #AAAAAA;
    --grey-shade6: #999999;
    --green-tint: #F5FFF9;
    --text-grey: #F5FFF9;
    --small-text-white: #F5FFF9;
    --black: #241616;
    --white: #F5F5F5;


    --header_height: 85px;
}

html {
    min-width: 460px;
    font-family: 'Tajawal', sans-serif;
}

html, body {
    min-width: 360px;
    max-width: 100%;
    overflow-x: hidden;
}


h2{
    font-size: 46px;
    line-height: 56px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    margin-bottom: 70px;
    display: inline-block;
    position: relative;
    font-family: Tajawal, sans-serif;
}

h2:before{
    content: "";
    position: absolute;
    bottom: 22px;
    left: -100px;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

h4{
    font-size: 22px;
    color: #171717;
    font-family: Tajawal, sans-serif;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: content-box;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
        box-sizing: border-box!important;
        padding: 0!important;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

body {
    margin: 0;
}

a {
    text-decoration: none!important;
    text-underline: none!important;
    cursor: pointer;
}

input {
    outline: none;
}

.centre-parent {
    width: 100%;
    display: flex;
    justify-content: center;
}


header {
    width: 100%;
    overflow: hidden;
    position: static;
    top: 0;
}

header > * {
    width: 100%;
}

header a {
    display: flex;
}


#thick-bar > * {
    height: 100%;
}

#thick-bar img {
    height: 100%;
    filter: brightness(0.8);
}

#thick-bar > * {
    display: flex;
    justify-content: space-between;
}

#img-container {
    max-width: 200px;
}

#navigation {
    display: flex;
}

#navigation > a {
    margin-right: 40px;
    transition: color 100ms;
}

#navigation > a:hover {
    color: var(--primary);
}

#welcome-text {
    color: var(--white);
    font: 500 35px/50px Tajawal;
}

/*header item*/
.headeritem {
    display: inline-block;
    padding: 15px 20px;
    position: relative;
}
.headeritem:after {
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    background: var(--primary);
    width: 0;
}
.headeritem:hover:after {
    width: 100%;
    left: 0;
}
/*header*/
/*page header in our services and contact us */
.contact-header{
    height: 350px;
    margin-top: var(--header_height);
    position: relative;
}
.contact-header::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    opacity: 0.9;
}
.contact-header::after{
    background-image: url("assets/page-title-bg.png");
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#welcome-text {
    position: absolute;
    top: 47%;
    z-index: 999;
    right: 44%;
}
.header-p{
    font-size: 15px;
    margin-right: 7px;
}
.header-span{
    color: var(--primary-light);
    font-size: 15px;
}
/*end of header*/
/*start of footer css*/
.pb-60 { padding-bottom: 60px;}
.pt-60 { padding-top: 60px;}
.dark-bg { background-color: #171717; }

a, a:hover, a:active, a:focus {
    text-decoration: none;
    outline: none;
}
.lawFirm--footer a {
    color: var(--primary-light);
}
.lawFirm--footer-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.lawFirm--footer-menu ul li {
    display: inline-block;
    margin-left: -4px;
}
.lawFirm--footer-menu ul li:last-child {
    margin-left: 0px;
}
.lawFirm--footer-menu ul li a {
    display: block;
    padding: 0px 18px;
    color: #fff;
}
.lawFirm--footer-menu ul li a:hover {
    color: var(--primary-light);
}
.lawFirm--footer-menu ul li a {
    padding: 0 7.5px;
}
/*end of footer css*/

#thick-bar a {
    align-items: center;
    color: var(--brown-shade1);
    font: 400 20px/26px Tajawal;
    white-space: nowrap;
}

#thick-bar > * > a:hover {
    color: var(--primary-dark);
    filter: drop-shadow(1 px 1 px 2 px var(--primary-light));
}

#thick-bar > * > * {
    margin-right: 40px;
}

#thick-bar {
    height: 85px;
    background: var(--white);
    padding: 18px 0;
    box-sizing: border-box;
}

#search-button {
    border: 0;
    padding: 0;
    align-items: center;
    height: 48px;
    width: 48px;
    display: flex;
    justify-content: center;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
}

#search-button:hover i {
    color: var(--black) !important;
}

.input-group {
    display: flex;
    align-items: center;
    flex-basis: 100%;
}

.input-group input {
    width: 100%;
    max-width: 400px;
    border-top-right-radius: 7px !important;
    border-bottom-right-radius: 7px !important;
}

.search-field {
    border-radius: 0 !important;
    border-color: transparent !important;
}

.search-btn {
    border-radius: 0 !important;
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
    width: 4.8em;
    color: white;
}

#search-input {
    background-color: #eeeeee;
    height: 100%;
    padding: 0 28px 0 0;
    border: none;
    width: calc(80% - 45px);
}

#search-input::placeholder {
    color: var(--brown-shade1);
    opacity: 0.5;
    font: 400 18px/48px Tajawal;
}

#menu {
    cursor: pointer;
    width: 40px;
    height: 20px;
}

#nav-menu {
    position: absolute;
    left: 0;
    margin-right: 0 !important;
    background: #fff;
    padding: 15px 25px;
    flex-direction: column;
    z-index: 2;
    top: 125px;
    transition: left 200ms ease-in-out;
    width: 150px;
}

#nav-menu a {
    width: max-content;
    margin-bottom: 20px;
    font: 400 16px/24px Tajawal;
}

#nav-menu .normal-link {
    color: var(--black);
    border-bottom: 2px var(--brown-shade1) solid;
    width: 100%;
}

@media (max-width: 1000px) {
    .hide-on-1000-and-down {
        display: none !important;
    }
}

@media (min-width: 1000px) {
    .hide-on-1000-and-up {
        display: none !important;
    }
}


    .show-on-1200-and-down {
        display: block !important;
    }

    #thin-bar-content {
        justify-content: center;
    }

    #thin-bar-content-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    #thin-bar-content-left > * {
        width: max-content;
        font: 400 14px/24px Tajawal !important;
    }


    #thin-bar-content-left > *:nth-of-type(1) {
        margin-right: 0;
    }

    #menu {
        margin-right: 0;
    }




@media (max-width: 600px) {

    .hide-on-600-and-down {
        display: none !important;
    }

    #thick-bar img {
        height: 60%;
        margin-top: auto;
        margin-bottom: auto;
    }

    #img-container {
        max-width: 90px;
    }

    #thick-bar > * > * {
        margin-right: 10px;
    }

}




.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
}
.animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    transition: opacity;
    transition-duration: 1s;
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.fadeOut {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
}

@-webkit-keyframes dotline-move {
    40% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
        opacity: 0.8;
    }
    100% {
        -webkit-transform: translateX(300px);
        transform: translateX(300px);
        opacity: 0;
    }
}

@keyframes dotline-move {
    40% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
        opacity: 0.8;
    }
    100% {
        -webkit-transform: translateX(300px);
        transform: translateX(300px);
        opacity: 0;
    }
}
@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -40px, 0);
        transform: translate3d(0, -40px, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -40px, 0);
        transform: translate3d(0, -40px, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}
.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 40px, 0);
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 40px, 0);
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}
.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.spin {
    -webkit-animation: spin 2s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes bounce {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }
    100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }
}
@keyframes bounce {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }
    100% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
}
.bounce {
    -webkit-animation: bounce 1s ease-in-out 0s infinite alternate;
    animation: bounce 1s ease-in-out 0s infinite alternate;
}

@-webkit-keyframes bounce2 {
    0% {
        -webkit-transform: translateY(3px);
        transform: translateY(3px);
    }
    50% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    100% {
        -webkit-transform: translateY(3px);
        transform: translateY(3px);
    }
}
@keyframes bounce2 {
    0% {
        -webkit-transform: translateY(3px);
        transform: translateY(3px);
    }
    50% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    100% {
        -webkit-transform: translateY(3px);
        transform: translateY(3px);
    }
}
@-webkit-keyframes rotate2d {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes rotate2d {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.rotate2d {
    -webkit-animation: rotate2d 2s linear infinite;
    animation: rotate2d 1s linear infinite;
}

@-webkit-keyframes rotate-2d {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}
@keyframes rotate-2d {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}
.rotate-2d {
    -webkit-animation: rotate-2d 2s linear infinite;
    animation: rotate-2d 1s linear infinite;
}

@-webkit-keyframes rotate3d {
    0% {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }
    100% {
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}
@keyframes rotate3d {
    0% {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }
    100% {
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}
.rotate3d {
    -webkit-animation: rotate3d 2s linear infinite;
    animation: rotate3d 1s linear infinite;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px);
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg);
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg);
    }
}
@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}
@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0);
    }
    50% {
        -webkit-transform: scale(1);
    }
}
@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
    50% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}
@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
    }
    20% {
        -webkit-transform: scaleY(1);
    }
}
@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }
    20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
    }
}
@-webkit-keyframes sk-cubemove {
    25% {
        -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
    }
    50% {
        -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
    }
    75% {
        -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    }
    100% {
        -webkit-transform: rotate(-360deg);
    }
}
@keyframes sk-cubemove {
    25% {
        transform: translateX(42px) rotate(-90deg) scale(0.5);
        -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
    }
    50% {
        transform: translateX(42px) translateY(42px) rotate(-179deg);
        -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
    }
    50.1% {
        transform: translateX(42px) translateY(42px) rotate(-180deg);
        -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
    }
    75% {
        transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
        -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    }
    100% {
        transform: rotate(-360deg);
        -webkit-transform: rotate(-360deg);
    }
}
@-webkit-keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
    }
    100% {
        -webkit-transform: scale(1);
        opacity: 0;
    }
}
@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}
@-webkit-keyframes sk-rotate {
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes sk-rotate {
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}
@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
    }
}
@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@-webkit-keyframes sk-circleBounceDelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes sk-circleBounceDelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@-webkit-keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }
    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}
@keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }
    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}
@-webkit-keyframes fade {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
    }
}
@keyframes fade {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
    }
}

/*mobile responsive*/
.nav-icon-mob {
    cursor: pointer;
    height: 100%;
    width: 60px;
    color: var(--primary);
}

.mob-item {
    color: var(--primary);
}

.mob-item:hover {
    color: var(--primary);
}

#mob_nav {
    left: -250px;
    top: 70px;
    z-index: 1000;
    position: fixed;
    background-color: var(--white);
    transition: left 200ms ease-in-out;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (max-width: 1000px) {
    #flyer {
        flex-direction: column;
        bottom: -300px !important;
    }

    #about-us {
        padding-top: 180px;
    }
}

@media (max-width: 880px) {
    #about-us-container {
        flex-direction: column;
    }

    .about-us-container {
        flex-direction: column;
        padding-top: 30px;
    }

    .about-us-div-1 {
        padding-bottom: 30px;
    }
    .mob-margin-right-0{
        margin-right: 0 ;
    }
    .mob-margin-0{
        margin: 0 ;
    }
    .mob-pading-0{
        padding: 0;
    }
    .mob-pading-20-up-down{
        padding: 20px 0 ;
    }
    .mob-pading-20{
        padding: 20px ;
    }
    .mob-pading-10{
        padding: 10px ;
    }
    .mob-pading-top-60{
        padding-top: 60px;
    }
    .mob-pading-top-10{
        padding-top: 10px;
    }
    .mob-pading-bottom-20{
        padding-bottom: 10px;
    }
    .mob-pading-top-20{
        padding-top: 20px;
    }
    .mob-center-content{
        display: flex;
        justify-content: center;
    }
    .mob-width-50{
        width: 50%;
    }
    .mob-width-100{
        width: 100%;
    }
}
@media (max-width: 770px) {
    .our-services-div-1{
        display: flex;
        padding: 0 40px !important;
        margin: 0;
        flex-direction: row;
    }
    .our-services-div-1{
        display: flex;
        padding: 0 40px !important;
        margin: 0;
        flex-direction: row;
    }
    .mob-welcome-txt{
        top: 40% !important;
        right: 43% !important;
    }
    .mob-txt-30{
        font-size: 30px;
    }
}
@media (max-width: 580px) {
    .nav-icon-mob {
        margin-left: 50px;
    }
    .mob-welcome-txt{
        top: 40% !important;
        right: 20% !important;
    }
}


footer .row div:nth-child(3){
    text-align: end;
}

@media screen and (max-width: 480px) {
    footer{
        font-size: 14px;
    }

    * {
        box-sizing: border-box !important;
    }


    footer ul li a{
        width: max-content;
    }

    footer .row{
        margin: 0;
    }

    footer .row div:nth-child(3){
        text-align: center;
    }

    footer .row div:nth-child(3) a{
        display: block;
    }
}
