/*
    Theme Name: USBALE Theme
    Theme URI: http://usbale.com
    Author: Web Motion
    Description: Theme site for USBALE
    Version: 1.0
    Text Domain: usbale
*/

/*
  https://codex.wordpress.org/Styling_Images_in_Posts_and_Pages
*/

@font-face {
    font-family: Roboto Regular;
    src: url(fonts/Roboto/Roboto-Regular.ttf);
}

@font-face {
    font-family: Roboto Light;
    src: url(fonts/Roboto/Roboto-Light.ttf);
}

@font-face {
    font-family: Roboto Bold;
    src: url(fonts/Roboto/Roboto-Bold.ttf);
}

@font-face {
    font-family: Lato Regular;
    src: url(fonts/Lato/Lato-Regular.ttf);
}

@font-face {
    font-family: Roboto LightItalic;
    src: url(fonts/Roboto/Roboto-LightItalic.ttf);
}


@font-face {
    font-family: Open Sans;
    src: url(fonts/OpenSans/OpenSans-Regular.ttf);
}





html {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: Roboto Regular, sans-serif;
    margin:0;
    padding: 0;
    font-size: 15px;
}

h1 {
    text-align: center;
    font-family: Roboto Light, sans-serif;
    font-size: 40px;
    text-transform: uppercase;
}

h2 {
    font-family: Roboto Regular, sans-serif;
    text-transform: uppercase;
    font-size: 24px;
}

h3 {
    font-family: Roboto Regular, sans-serif;
    font-size: 20px;
}

h4 {
    font-family: Roboto Light, sans-serif;
    font-size: 18px;
}

p {
    font-family: Roboto Light, sans-serif;
    color: #1b222d;
    line-height: 1.6;
    margin-bottom: 25px;
}

img.alignright {
    float:right;
    margin:0 0 1em 1em
}
img.alignleft {
    float:left;
    margin:0 1em 1em 0
}
img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
a img.alignright {
    float:right;
    margin:0 0 1em 1em
}
a img.alignleft {
    float:left;
    margin:0 1em 1em 0
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.navbar {
    border: none;
    margin:0;
    min-height: 0;
}

.navbar-default {
    height: 41px;
    background-color: transparent;
}


.left-right-nav {
    padding-left: 0;
    padding-right: 0;
}

.hard-line {
    width: 100%;
    height: 2px;
    background: #2989d8; /* Old browsers */
    background: -moz-linear-gradient(45deg, #2989d8 0%, #4e5ca9 0%, #ee8a70 59%, #ee8a70 100%, #ee8a70 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, #2989d8 0%,#4e5ca9 0%,#ee8a70 59%,#ee8a70 100%,#ee8a70 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, #2989d8 0%,#4e5ca9 0%,#ee8a70 59%,#ee8a70 100%,#ee8a70 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2989d8', endColorstr='#ee8a70',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

#nav-phones {
    float: right;
    margin-top: 37px;
    font-size: 16px;
    color: #4e5ca9;
    font-family: "Lato Regular", sans-serif;
}

#nav-img-phone {
    float: right;
    margin-top: 52px;
    margin-right: 18px;
}

.usbale-1 {
    padding-left: 0;
    padding-right: 0;
}

#logo {
    margin-top: 23px;
    padding: 0;
}

#phone-nums {
    padding: 0;
}

#nav-phones p {
    margin-bottom: 0;
    color: #4e5ca9;
    font-family: "Lato Regular", sans-serif;
    text-decoration: none;
}

#bottom-nav-bg {
    width: 100%;
    height: 75px;
    list-style: none;
    background-color: white;
    padding-left: 30px;
    margin-top: 26px;
    -webkit-box-shadow: 0px 0px 58px -16px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 58px -16px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 58px -16px rgba(0,0,0,0.75);
}


#bottom-nav-bg li {
    display: inline-block;
    font-size: 17px;
    line-height: 75px;
}

#bottom-nav-bg li>a {
    color: #383838;
    text-decoration: none;
    padding-left: 25px;
    padding-right: 25px;
}

#bottom-nav-bg li a:hover {
    color: #4e5ca9;
}





#clinics {
    margin-top: 400px;
}

.clinic-block {
    height: 415px;
    padding: 0;
    width: 270px;
    margin-right: 29px;
    position: relative;
    font-family: "Roboto Light", sans-serif;
}

.clinic-block:hover {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2989d8+0,4e5ca9+0,ee8a70+59,ee8a70+100,ee8a70+100 */
    background: #2989d8; /* Old browsers */
    background: -moz-linear-gradient(45deg, #2989d8 0%, #4e5ca9 0%, #ee8a70 59%, #ee8a70 100%, #ee8a70 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, #2989d8 0%,#4e5ca9 0%,#ee8a70 59%,#ee8a70 100%,#ee8a70 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, #2989d8 0%,#4e5ca9 0%,#ee8a70 59%,#ee8a70 100%,#ee8a70 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2989d8', endColorstr='#ee8a70',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.clinic-upper-block {
    /* padding: 0;*/

}

.clinic-upper-block a {
    text-decoration: none;
}

.see-more {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 95px;
    font-size: 16px;

}

.see-more a {
    color: white;
    text-decoration: underline;
}


.clinic-block:hover .team-text p a {
    color: white;

}

.clinic-block .team-text p a {
    font-family: Roboto Light, sans-serif;
    color: #1b222d;
    line-height: 1.6;
    margin-bottom: 25px;
}

.clinic-block:hover .see-more {
    display: inline;
}

#clinics h1 {
    text-align: center;
    margin-bottom: 51px;
    font-family: "Roboto Light", sans-serif;
}

.team-text {
    font-size: 18px;
    margin-top: 38px;
    color: #1455a6;
    line-height: 28px;

}

#diagnostic {
    height: 588px;
    margin-top: 60px;
}

#diagnostic h1 {
    margin-top: 134px;
    margin-bottom: 100px;
    color: white;
    font-size: 45px;
    font-family: "Roboto Light", sans-serif;
    margin-left: 30px;
}


#blocks {
    margin-top: 110px;

}

.block1  {
    height: 226px;
    position: relative;
    text-align: center;
}

#blocks p a {
    position:absolute;
    color: white;
    font-size: 20px;
    bottom: 20px;
    left: 0;
}

#team h1 {
    margin-top: 80px;
    margin-bottom: 10px;
    font-family: "Roboto Light", sans-serif;
    text-align: left;
}

.see-more-link {
    margin-bottom: 40px;
}

.see-more-link a {
    color: #d4d4d4;
    font-size: 18px;
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
}

.see-more-link img{
    padding-bottom: 5px;
    padding-left: 10px;
}


footer {
    margin-top: 52px;
    margin-bottom: 50px;
}

.footer-nav ul {
    padding-left: 0;
}

.footer-nav ul li {
    display: inline;
    font-size: 14px;
}

.footer-nav ul li a {
    color: #737373;
}

.social {
    text-align: right;
}


.social {
    /*padding-right: 0;*/
}

.color-text {
    color: #4e5ca9;
    font-weight: bold;
}


.row-edited {
    margin-left: -45px;
}

#menu-item-403 a {
    color: #f20000 !important;
}

.news-container {

}

.news-info {
    margin-top: 20px;
    margin-bottom: 0;
    font-family: Roboto Light, sans-serif;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;
}

.news-info a {
    text-decoration: none;
    color: #3a3a3a;
}

.news-see-more {
    margin-top: 12px;
    margin-bottom: 0;
    font-family: Open Sans, sans-serif !important;
}

#breadcr {
    text-align: center;
    font-size: 15px;
    margin-top: 100px;
    margin-bottom: 0;
    opacity: 0.4;
    font-family: "Open Sans", sans-serif;
}

.news-container h1 {
    font-family: Roboto Light, sans-serif;
    margin-top: 24px;
    text-align: center;
}

.news-box {
    margin-top: 41px;
    text-align: center;

}

#paggination {
    margin-top: 85px;
}

#paggination a {
    text-align: center;
    display: inline;
    vertical-align: middle;
}

#paggination a div {
    display: inline-block;
}

.page-usbale {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(128, 128, 128, 0.33);
    margin-right: 10px;
    color: #737373;

}

.page-usbale.active {
    background-color: #515c98;
    border: none;
}

.page-usbale.active div {
    color: white;
}

.paggination-container {
    display: inline-block;
    margin-right: 10px;
}

.entry-content-page h2 {
    font-size: 22px;
    margin-bottom: 20px;
    text-transform: uppercase;
    margin-top: 40px;
}

.entry-title {
    margin-bottom: 60px;
}

.info-pic {
    font-family: Roboto LightItalic, sans-serif;
    margin-top: 10px;
}

.info-pic span {
    color: #979797;
}

.picture {
    margin: 0;
}

.p-indented {
    padding-left: 35px;
}


.table {
    border-bottom: 1px solid #ececec;
    margin-bottom: 50px;
}

.table thead tr {
    border-bottom: none !important;
}

.table tr td {
    color: #7f7f7f;
}

.table>tbody>tr>td {
    border-top: none;
}

.table>thead>tr>th {
    font-weight: normal;
}

.staff-info p strong {
    font-family: Roboto Bold, sans-serif;
}

.page-id-42 footer {
    margin-top: 20px;
    margin-bottom: 0;
}

.page-id-42 #breadcr {
    margin-top: 100px;
}


span.page-numbers.current {
    margin-right: 10px;
    background-color: #515c98;
    border: none;
    color: white;
    padding: 10px 15px;
    display: inline;
    vertical-align: middle;
    text-align: center;
}

a.page-numbers {
    margin-right: 10px;
    background-color: white;
    padding: 9px 14px;
    box-sizing: border-box;
    display: inline;
    vertical-align: middle;
    text-align: center;
    border: 1px solid rgba(128, 128, 128, 0.33);
    color: #737373;
    text-decoration: none;
}

a.next.page-numbers {
    padding: 9px 18px;
}

a.prev.page-numbers {
    padding: 9px 18px;
}

.next {
    background-image: url("images/next-page.png");
    background-repeat: no-repeat;
    background-position: center;
}

.prev {
    background-image: url("images/prev-page.png");
    background-repeat: no-repeat;
    background-position: center;
}

#breadcr span a span {
    color: #1b222d;
}

.video-bottom {
    position: absolute;
    bottom: 80px;
    right: 5%;
    transition: all .5s ease-in-out;
    cursor: pointer;
}

.video-bottom:hover {
    transform: scale(1.5);
}

.stylish-input-group .input-group-addon{
    background: white;
}
.stylish-input-group .form-control{
    box-shadow:0 0 0;
    border-color:#ccc;
}
.stylish-input-group button{
    border:0;
    background:transparent;
}

.input-group-addon {
    display:block;
}

.stylish-input-group {
    position: absolute;
    top: 8px;
    right: 0;
    width: 300px;
}

.stylish-input-group button {
    position: absolute;
    right: 10px;
}


.hide {
    display: none;
}

.menu-item-has-children {
    position: relative;
}


.menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding-left: 0;
}

.menu-item-has-children:hover .sub-menu {
    display: block;
}

.sub-menu li {
    line-height: 20px !important;
    width: 344px;
    font-size: 14px !important;
    display: block !important;
    border-bottom: 1px solid #eaeaea;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu li:first-child {
    border-top: 1px solid #eaeaea;
}

.sub-menu li a {
    display: block !important;
    padding: 12px 16px;
}

.page-template-default .entry-content p {
    margin-bottom: 0;
}

.page-template-default .entry-content img {
    margin-bottom: 10px;
}

.entry-content img {
    max-width: 100%;
}



.nav>li>a {
    padding: 10px 24px 10px 0;

}

.ms-slide-info {
    position: absolute;
    left: 100px;
    bottom: 450px;
    display:inline;
}




.current-menu-item a {
    background-color: transparent !important;
}

#menu-primary li.current-menu-item,
#bottom-nav-bg li.current-menu-item {
    font-weight: #4e5ca9;
}

#usbale-1 {
    border-top: 0;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    background-color: transparent;
}

#bottom-nav-bg .sub-menu {
    z-index:15;
}

.master-slider-parent {
    position: absolute!important;
    overflow: hidden;
}

.ms-slide-bgcont {
    z-index: 11;
}

.ms-info {
    z-index: 12;
    position: relative;
}

.navbar-default .navbar-nav>li>a {
    color: #000000;
}

.navbar-default .navbar-nav>li>a:hover {
    color: #383838;
}

.ms-info a {
    z-index: 13;
}

.ms-info {
    width: 55%;
    margin-bottom: 60px;
}

.slider-btn {
    padding: 15px 30px;
    background-color: #4e5ca9;
    color: white;
    display: inline-block;
}

.slider-btn:focus, .slider-btn:active {
    color: white;
    text-decoration: none;
}

.slider-btn:hover {
    text-decoration: none;
    color: white;
}

.ms-info h2 {
    line-height: 1.2;
}

.ms-info p {
    width: 55%;
    font-size: 17px;
    line-height: 1.8;
    margin-top: 20px;
    margin-bottom: 20px;

}

.front-page-slider {
    display: none;
}


.ms-bullets-count div {
    border-radius: 100%;
    transform: scale(1.5);
}


.category-container h1 {
    margin-bottom: 19px;
}

.ms-bullets.ms-dir-h {
    z-index: 110;
}

#menu-footer li {
    word-spacing: 10px;
}

.search-form input {
    border-radius: 4px !important;
    border-right: 1px solid #ccc;
}

.team-link {
    color: rgb(255, 255, 255);
    font-size: 20px;
}

.team-link:hover {
    color: rgb(255, 255, 255);
}

#nav-phones {
    text-shadow: 2px 2px 2px #dfdfdf, 0 0 25px #ffffff, 0 0 5px #ffffff;
}
/*2020 corrections*/
.menu-item a {
    /*word-spacing: 5px;*/
    white-space: break-spaces;
}



/* 2024-12 some of the corrections */

/* All menu buttons lightning on hover and active page */
ul#menu-primary li > a:hover,
ul#menu-primary li.current_page_item > a,
ul#menu-primary li.current-menu-ancestor > a,
ul#bottom-nav-bg li > a:hover,
ul#bottom-nav-bg li.current_page_item > a,
ul#bottom-nav-bg li.current-menu-ancestor > a,
ul#menu-footer-menu li > a:hover,
ul#menu-footer-menu li.current_page_item > a,
ul#menu-footer-menu li.current-menu-ancestor > a {
    color: #23527c;
    font-weight: bold;
}

.gradient-heading {
    position: relative;
    display: inline-block;
    padding: 10px 16px;
    color: #ffffff;
    background: radial-gradient(
        circle,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.4) 90%,
        rgba(0, 0, 0, 0.2) 100%
        );
    border-radius: 8px;
    font-weight: bold;
    font-size: 2em;
    text-align: center;
}

.home-elements a:hover {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4));
    transform: scale(1.05);
}
.home-elements a {
    display: inline-block;
}
.block-level {
    margin-right: 16px;
}
.block-level:last-child {
    margin-right: 0;
}
.block1 p a {
    left: 16px !important;
}

/* Increase breadcrumb text contrast */
#breadcr {
    opacity: 1;
    margin-top: 60px !important;
}

/* Apply gradient to .container.usbale-1 on non-mobile screens */
@media (min-width: 992px) {
    .container.usbale-1 {
        position: relative;
    }
    .container.usbale-1::before {
        content: "";
        position: absolute;
        top: 0;
        left: 2vw;
        width: 96vw; /* Full viewport width */
        height: 100%; /* Match the height the element */
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0.6) 70%,
            rgba(255, 255, 255, 0) 100%
            );
        pointer-events: none; /* Prevent interference with clickable elements */
        z-index: 0;
        margin-left: calc(-50vw + 50%); /* Center the gradient without overflow */
    }
}

/* По-тъмен цвят на текста в таблиците */
.table tr td {
    color:#333;
}

/* Fix bad link colors */
.see-more-link a {
    color:#337ab7;
}

/* Top header menu long buttons fix */
.menu-top-long a {
    padding-top:2px !important;
}

/* reCAPTCHA position up */
.grecaptcha-badge {
    bottom:80px !important;
}


#upper-nav-menu {
    list-style: none;
}

#upper-nav-menu li {
    padding: 10px 28px 10px 0;
    font-size: 15px;
}

#upper-nav-menu li a {
    padding: 0;
    background-color: transparent;
    color: #1a1a1a;
}

#upper-nav-menu li:first-child {
    padding-left: 0px;
    font-size: 15px;
}

#upper-nav-lang {
    padding: 10px 0 10px;
    text-align: right;
}
@media (max-width: 991px) {
    #upper-nav-lang {
        margin-top: 16px;
    }
}
#upper-nav-lang .text-right a {
    text-decoration: none;
}
#upper-nav-lang .text-right img {
    margin-right: 15px;
    cursor: pointer;
}
#upper-nav-lang .sitemap {
    text-align: left;
}
#upper-nav-lang .sitemap a {
    text-decoration: none;
    color: black;
}
#upper-nav-lang .sitemap a:hover,
#upper-nav-lang .sitemap a.active {
    color: #23527c;
    font-weight: bold;
}
#upper-nav-lang .sitemap img {
    margin-top: -2px;
    margin-left: 2px;
    margin-right: 6px;
}
/* Right most flag - remove margin right */
#upper-nav-lang .text-right a:last-child img {
    margin-right: 0px;
    margin-left: 16px;
}

/* top menu condensation */
.nav#menu-primary {
    margin: 0 auto;
}
.nav#menu-primary > li:first-child > a {
    margin-left: 0;
    padding-right: 16px;
}
.nav#menu-primary > li:last-child > a {
    margin-right: 0;
    padding-right: 0;
}

@media (max-width: 991px) {
    .hard-line {
        margin-top: 20px;
    }
}