﻿.pageSubTitle {
    color: #008BA8;
    font-size: 26px;
    line-height: 41px;
    margin-bottom: 19px;
    position: relative
}

.pageSubTitle::before {
    content: '';
    position: absolute;
    width: 95px;
    height: 18px;
    background-color: #e8e8e8;
    bottom: 0;
    border-radius: 10px;
    z-index: -1;
}

.branches {
    padding-top: 27px;
}

.branches .pagetitle h2 {
    margin-bottom: 38px;
}

.branches .pagetitle h2:after {
    background: #008BA8;
}

.branches .nav-tabs:not(.page-tabs) {
    display: flex;
    justify-content: space-between;
}

.branches .nav-tabs:not(.page-tabs) > li > a {
    font-size: 16px;
    line-height: 25px;
    /*color: #464749 !important;*/
    color: #58595B !important;
    border: 1px solid #E8E8E8;
    min-width: 175px;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-radius: 8px;
}

.branches .nav-tabs:not(.page-tabs) > li > a > img {
    margin-right: 13px;
}

.branches .nav-tabs:not(.page-tabs) > li .active {
    background: #008ba8 !important;
    color: #fff !important;
    border-bottom: 5px #008ba8 solid;
}

.branches .nav-tabs:not(.page-tabs) > li .active img {

    -webkit-filter: invert(100%) sepia(99%) saturate(10%) hue-rotate(341deg) brightness(105%) contrast(1101%);
    filter: invert(100%) sepia(99%) saturate(10%) hue-rotate(341deg) brightness(105%) contrast(1101%);
}

.branches .nav-tabs:not(.page-tabs) > li .active:after {
    border-top: 10px solid #008ba8;
}

.branches .tab-content {
    padding: 41px 0 0 0;
    min-height: unset;
    margin:10px;
    padding:15px !important;
    background-color:#F8F8F8 !important;
}

.branches .locationTabs li:not(:last-of-type) {
    padding-bottom: 22px
}

.branches .locationTabs li a {
    display: flex;
    align-items: center;
}

.branches .locationTabs li a span {
    font-size: 16px;
    color: #585858;
    line-height: 19px;
    margin-left: 8px;
}

.branches .locationTabs li:nth-last-of-type(2) span {
    color: #008ba8;
}

.branches .locationTabs li a img {
    width: 24px;
    object-fit: none;
}

.newForm2 .pageSubTitle {
    margin-bottom: 37px;
    padding-top: 34px;
}

.newForm2 .findUsSection {
    background: #F0F2F5;
    border-radius: 49px;
    display: flex;
    justify-content: center;
    min-height: 98px;
    align-items: center;
    width: 997px;
    margin: 0 auto;
    margin-bottom: 37px;
}

.newForm2 .findUsSection p {
    font-size: 20px;
    color: #58595B;
    line-height: 35px;
    text-align: center;
    font-weight: bold;
    padding: 0 0 0px 57px;
}

.newForm2 .findUsSection span {
    display: block;
    font-size: 16px;
}

.newForm2 .form-group {
    margin-bottom: 21px !important;
}

.newForm2 .form-control:focus,
.newForm2 .select2-container:focus,
.newForm2 .Itemrow .Data > *:focus {
    outline: none !important;
}

.newForm2CloneHight {
    height: 60px
}

.select2-dropdown .select2-results__option.select2-results__option--highlighted {
    color: #008ba8;
    background-color: #dae7fc;
}

.newForm2 .fileupload {
    position: relative;
    padding: 0;
    height: 0;
    text-align: right;
}

.newForm2 .fileupload input {
    margin: 0 !important;
}

.newForm2 textarea.form-control {
    height: 104px;
    min-height: 104px !important;
}

.newForm2 .fileupload .upload {
    border: 1px dashed #909194;
    border-radius: 25px;
    width: 220px;
    height: 50px;
    background: #fff;
    color: #008BA8;
    line-height: 50px;
    font-size: 16px;
    font-weight: bold;
}

.newForm2 .addImageC a {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    color: #58595B;
    margin-top: 25px;
}

.newForm2 .addImageC a img {
    margin-right: 6px;
}

.newForm2 .btngroup {
    padding: 30px 0 25px 0;
}

.newForm2 .btn:not(div),
.newForm2 .gbuttontb {
    background: #008BA8 !important;
    width: 176px;
    height: 62px;
}

.newForm2 .col-form-label span {
    color: red;
}

.newForm2 .btngroup .btn:hover {
    background-color: #068ca8 !important;
}

@media(max-width:767px) {
    .branches .nav-tabs:not(.page-tabs) {
        display: block;
    }

    .branches .locationTabs li:last-of-type {
        margin-bottom: 30px
    }

    .newForm2 .findUsSection {
        width: 100%;
        display: grid;
        justify-items: center;
        padding: 10px;
    }

    .newForm2 .findUsSection p {
        padding: 0;
    }

    .newForm2 .addImageC a {
        margin-top: 0;
    }

    .newForm2Clone,
    newForm2CloneHight {
        height: 60px
    }

    .branches .nav-tabs:not(.page-tabs) > li > a {
        display: flex;
        justify-content: end;
        padding-left: 29%;
    }

    .newForm2 .fileupload {
        text-align: left;
    }

    .newForm2 .btn:not(div),
    .newForm2 .gbuttontb {
        width: 100%;
        height: 50px;
    }
}
.branches ul {
    padding: 0 !important
}
.branches ul,
.branches ul li {
    list-style: none !important;
}
.branches .nav-tabs:not(.page-tabs) > li > a::before {
    display: none
}
.branches  li::before {
    display: none !important; 
} 
.branches .locationTabs li > span,
.branches .locationTabs li a {
    display: flex;
    align-items: center;
}
.branches .locationTabs li > span span,
.branches .locationTabs li a span {
    font-size: 16px;
    color: #585858;
    line-height: 19px;
    margin-right: 8px;
}