/* -----------------------------------------
GENERAL
----------------------------------------- */
body {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: normal;
    font-family: 'Roboto Condensed', sans-serif;
}
p, h1, h2, h3, h4, h5, h6 {
    margin: 0 0 6px 0;
}

@media (min-width: 550px) {
    p, h1, h2, h3, h4, h5, h6  {
        margin: 0 0 8px 0;
    }
}
@media (min-width: 768px) {
    p, h1, h2, h3, h4, h5, h6  {
        margin: 0 0 10px 0;
    }
}

@media (min-width: 992px) {
    p, h1, h2, h3, h4, h5, h6  {
        margin: 0 0 15px 0;
    }
}
@media (min-width: 1200px) {

}

a, a:visited, a:focus {
    transition: color 0.18s ease, background-color 0.18s ease;
    outline: none;
    text-decoration: none;
}

.dis-none {
    display: none;
}
.dis-fl {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}
.fl-l {
    float: left;
}
.fl-r {
    float: right;
}
.fl-l:after,
.fl-r:after {
    display: block;
    content: "";
    clear: both;
}
.ta-c {
    text-align: center;
}


/* -----------------------------------------
HEADER
----------------------------------------- */
.header {
    background:#fff;
    padding:32px 0;
    border-bottom:1px solid #dedede;
}
.header-left, .header-right {
    color:#999;
}
.dentistry-in-borshchiv {
    display: none;
}
.header-left p {
    letter-spacing: 1px;
    text-transform: uppercase;
}
.header-left p.call-us {
    font-size: 12px;
    padding: 0;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.header-left p.call-us .tel {
    font-size: 10px;
}
.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
}
.col-sm-6.col-xs-12,
.col-sm-3.col-xs-12 {
    text-align: center;
    margin-bottom: 8px;
}
.logo img {
    width: 260px;
}
@media (min-width: 550px) {
    .header-left p.call-us{
        font-size: 14px;
    }
    .header-left p.call-us .tel {
        font-size: 12px;
    }
}
@media (min-width: 768px) {
    .dentistry-in-borshchiv {
        display: block;
        font-size: 12px;
    }
    .col-sm-6,
    .col-sm-3.col-xs-12 {
        text-align: unset;
        margin-bottom: unset;
    }
    .logo img {
        width: unset;
    }
    div.col-sm-6.col-xs-12 {
        text-align: center;
    }
    .header-right {
        text-align:right;
    }
    .header-left p.call-us{
        font-size: 18px;
    }
    .header-left p.call-us .tel {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    .header-right p{
        margin-top: 20px;
    }
    .header-left p.call-us{
        font-size: 22px;
    }
    .header-left p.call-us .tel {
        font-size: 20px;
    }
}
@media (min-width: 1200px) {
    p.dentistry-in-borshchiv {
        font-size: 14px;
    }
    .header-left p {
        line-height: 27px;
    }
    .header-left p.call-us{
        font-size: 25px;
    }
    .header-left p.call-us .tel {
        font-size: 22px;
    }
}

/* -----------------------------------------
MAIN NAVIFATION
----------------------------------------- */
.navigation {
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;

}
.navigation a,
.navigation a:visited {
    line-height: normal;
    color: #999999;
}
.navigation a:focus,
.navigation a:hover {
  text-decoration: none;
}
.nav-container {
    margin: 0 auto;
}
.nav-container ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.nav-container li > a {
    padding: 15px 30px;
    display: block;
}
.nav-container li > a.active:hover {
    background-color: #67dfff;
}
.nav-container li:hover  > a {
    background-color: #d7f6fe;
    text-decoration: none;
    color:#333333;
}
.nav-container li > ul {
    display: none;
    text-align: left;
    list-style-type: none;
}
.nav-container li > ul a {
    color:#333333;
}
.nav-container li:hover > ul {
    border-top: 1px solid #fff;
    background: #423D3D;
    position: absolute;
    display: block;
    z-index: 1;
}
.nav-container li:hover > ul > li {
    min-width: 200px;
}
.nav-container li:hover > ul > li > a {
    color: #999999;
    padding-left: 15px;
    min-width: 200px;
}
@media (min-width: 768px) {
    .nav-container li > a {
        padding: 10px 17px;
    }
}
@media (min-width: 1200px) {
    .nav-container li > a {
        padding: 15px 30px;
    }
}


/* -----------------------------------------
SlIDER
----------------------------------------- */
.carousel-control > .prev,
.carousel-control > .next {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    margin: auto;
    font-weight: bold;
    font-size: 36px;
    height: 50px;
    width: 50px;
    text-align: center;
    color: #fff;
    background-color: #67dfff;
}
.carousel-control .prev {
    padding-right: 5px;
}
.carousel-control .next {
    padding-left: 5px;
    right:0;
}
.carousel-indicators {
  display: none;
}
.carousel-indicators li {
    border: 1px solid #67dfff;
}
.slider-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
}
.sld-info {
    text-align: center;

    padding: 1px;
}
.sld-info h2 {
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.05;

    font-size: 10px;
    margin: 0 0 8px 0;
}
.sld-info p {
    color: #333333;
    text-align: center;
    letter-spacing: 0.1em;

    font-size: 6px;
    margin-bottom: 12px;
}
.container a.button,
input[type="submit"] {
    font-size: 12px;
    padding: 5px 10px;
    border: 1px solid #67dfff;
    line-height: normal;
    color: #000;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

@media (min-width: 550px) {
    .sld-info {
        padding: 2px;
    }
    .sld-info h2 {
        font-size: 16px;
        margin: 0 0 14px 0;
    }
    .sld-info p {
        font-size: 10px;
        margin-bottom: 18px;
    }
    .container a.button,
    input[type="submit"] {
        font-size: 14px;
        padding: 8px 15px;
        border: 2px solid #67dfff;
    }
}
@media (min-width: 768px) {
    .carousel-indicators {
        display: block;
    }
    .sld-info {
        padding: 3.2px;
    }
    .sld-info h2 {
        font-size: 22px;
        margin: 0 0 19px 0;
    }
    .sld-info p {
        font-size: 13px;
        margin-bottom: 26px;
    }
}

@media (min-width: 992px) {
    .sld-info {
        padding: 4px;
    }
    .sld-info h2 {
        font-size: 36px;
        margin: 0 0 24px 0;
    }
    .sld-info p {
        font-size: 16px;
        margin-bottom: 32px;
    }
    .container a.button,
    input[type="submit"] {
        font-size: 20px;
        padding: 15px 15px;
        border: 3px solid #67dfff;
    }
}
@media (min-width: 1200px) {
    .sld-info {
        padding: 5px;
    }
    .sld-info h2 {
        font-size: 46px;
        margin: 0 0 30px 0;
    }
    .sld-info p {
        font-size: 20px;
        margin-bottom: 42px;
    }
    .container a.button,
    input[type="submit"] {
        padding: 15px 30px;
    }
}

/* -----------------------------------------
MAIN: Services list
----------------------------------------- */
.container.services-list {
    padding-top: 15px;
}
.container.services-list .dis-fl {
  display: block;
}
.container a.button:hover,
input[type="submit"]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #67dfff;
    border: 3px solid #4BBFDE;
}
.services-list {
    transition: top 0.12s ease;
    text-align: center;
}
.services-list .row {
    justify-content: center;
    -webkit-justify-content: center;
}
.services-list .item-wrapper {
    padding: 15px 0 15px 0;
}
.services-list .item {
    margin-bottom: 5px;
    color: #fff;
    background: #67dfff;
    height: 120px;
}
.services-list p {
    padding-top: 1em;
    margin-bottom: 2em;
    text-transform: uppercase;
    line-height: 1.5;
}
.services-list a {
    color: #fff;
    padding: 15px 30px;
    border: 3px solid #fff;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}
.services-list .item-wrapper:hover {
    padding: 8px 0 22px 0;
}
.services-list .item:hover a,
.services-list .item-wrapper:hover a {
    color: #000;
    background: #fff;
}
.services-list a:hover,
.services-list a:focus {
    text-decoration: none;
}

@media (min-width: 550px) {
    .container.services-list .dis-fl {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
    }
    .services-list .item {
        margin: 0 15px 0 30px;
    }
}



/* -----------------------------------------
MAIN: WHY CHOOSE US
----------------------------------------- */
.slogan-main {
    border-bottom: 1px solid #dedede;
    text-align: center;
    text-transform: uppercase;
    padding: 25px 0 15px 0;
}
.slogan-main h1 {
    margin: 0;
}
.why-choose-us {
    position: relative;
}
.book-container {
    width: inherit;
    justify-content: center;
    -webkit-justify-content: center;
}
.why-choose-us .book {
    margin-bottom: 5px;
    text-decoration: none;
    text-align: center;
    padding: 10px 15px;
    border: solid 4px #67deff;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    font-weight: bold;
    color: #ffffff;
    background-color: #67deff;
    background-image: -moz-linear-gradient(top, #67deff 0%, #2DCDFA 100%);
    background-image: -webkit-linear-gradient(top, #67deff 0%, #2DCDFA 100%);
    background-image: -o-linear-gradient(top, #67deff 0%, #2DCDFA 100%);
    background-image: -ms-linear-gradient(top, #67deff 0% ,#2DCDFA 100%);
}
.why-choose-us .book:hover {
    border:solid 4px #67deff;
    color:#67deff;
    background:#ffffff;
}
.why-choose-us  ul {
    padding: 5px 5px;
}
.why-choose-us li {
    list-style-type: none;
    padding: 0 0 0 70px;
    margin-bottom: 10px;
}
.why-choose-us .staff {
    background: url(../images/icons/icon_staff.png) left no-repeat;
}
.why-choose-us .health {
    background: url(../images/icons/icon_health.png) left no-repeat;
}
.why-choose-us .appointment {
    background: url(../images/icons/icon_appointment.png) left no-repeat;
}
.why-choose-us h2 {
    margin-bottom: 10px;
    font-size: 23px;
    color: #b2b2b2;
}

@media (min-width: 768px) {
    .why-choose-us {
        background: url(../images/bg_whychooseus.jpg) right no-repeat;
    }
    .why-choose-us  ul {
        width: 60%;
        padding: 20px 0 30px 0;
    }
    .book-container {
        position: absolute;
        bottom: 0;
    }
}

/* -----------------------------------------
FOOTER
----------------------------------------- */
footer {
    color: #bfbfbf;
    background: #585858;
    padding: 50px 0 30px 0;
}
footer .container {
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}
footer .container div {
    text-align: center;
}
footer h3 {
    color: #fff;
}
footer ul {
    list-style-type: none;
    padding-left: 0;
}
footer a {
    color: #bfbfbf;
    text-decoration: none;
}
footer a:hover {
    color: #fff;
    text-decoration: none;
}
li.development {
    padding-top: 0.8em;
}
@media (min-width: 550px) {
    footer .container {
        flex-direction: row;
    }
}
/* -----------------------------------------
SLIDES FOR PAGES
----------------------------------------- */
.slider {
    position: relative;
    width: 100%;
    height: 189px;
}

.slider.specialists {
    background: url(../images/slides_for_pages/our_team_768.jpg) no-repeat top center;
}
.slider.services {
    background: url(../images/slides_for_pages/services_768.jpg) no-repeat top center;
}
.slider.dentistry-tour {
    background: url(../images/slides_for_pages/dentistry_tour_768.jpg) no-repeat top center;
}
.slider.client-info1 {
    background: url(../images/slides_for_pages/client_info1_768.jpg) no-repeat top center;
}
.slider.client-info2 {
    background: url(../images/slides_for_pages/client_info2_768.jpg) no-repeat top center;
}

.specialists a.button,
.services a.button,
.dentistry-tour a.button,
.client-info1 a.button,
.client-info2 a.button {
    position: absolute;
    top: 67.5px;
    width: 30%;
    text-align: center;
}

@media (min-width: 768px) {
    .slider.specialists {
        background: url(../images/slides_for_pages/our_team.jpg) no-repeat top center;
    }
    .slider.services {
        background: url(../images/slides_for_pages/services.jpg) no-repeat top center;
    }
    .slider.dentistry-tour {
        background: url(../images/slides_for_pages/dentistry_tour.jpg) no-repeat top center;
    }
    .slider.client-info1 {
        background: url(../images/slides_for_pages/client_info1.jpg) no-repeat top center;
    }
    .slider.client-info2 {
        background: url(../images/slides_for_pages/client_info2.jpg) no-repeat top center;
    }
    .specialists a.button,
    .services a.button,
    .dentistry-tour a.button,
    .client-info1 a.button,
    .client-info2 a.button {
        margin-left: 70px;
    }
}
@media (min-width: 1200px) {
    .specialists a.button,
    .services a.button,
    .dentistry-tour a.button,
    .client-info1 a.button,
    .client-info2 a.button {
        margin-left: 100px;
    }
}


/* -----------------------------------------
ASIDE FOR PAGES
----------------------------------------- */
aside.dis-fl {
    padding-top: 20px;
    flex-direction: column;
    min-height: 350px;
}
aside.dis-fl .item {
    min-width: 260px;
}

.fixedsticky-active {
    position: fixed;
    top: 0;
}
aside.services-list .item:nth-child(2) {
    top: 170px;
}


/* -----------------------------------------
ARTICLE
----------------------------------------- */
article,
section {
    padding: 30px 35px 35px;
    letter-spacing: 0.75px;
}
article h1,
section h1,
article h2,
section h2 {
    color: #666666;
    font-weight: normal;
    letter-spacing: 1px;
}
article h2,
section h2 {
  font-size: 24px;
}
article ul {
    list-style-type: circle;
    text-align: justify;
}
article li {
    padding-bottom: 10px;
}
@media (min-width: 550px) {
    ul.dentist {
        padding-left: 215px;
    }
}
/* -----------------------------------------
PAGE_PRICE
----------------------------------------- */
div.table-header {
    position: relative;
    padding: 10px 35px 0px 35px;
    text-align: center;
    cursor: pointer;
    border-bottom: 2px solid #67deff;
}
div.table-header h4 {
    margin-bottom: 10px;
}
table.price {
    width: 100%;
}
table.price tr:nth-child(2n) {
  background-color: rgba(117,220,255,0.1);
}
table.price tr:hover {
  background-color: rgba(117,220,255,0.75);
  color: white;
}
table.price td {
  padding: 5px 10px 5px 5px;
}
table.price tr td:nth-child(2n) {
    text-align: right;
}
table.price .indent {
  padding-left: 25px;
}

.table-control {
    position: absolute;
    top: 15px;
    right: 15px;
}

/* -----------------------------------------
PAGE_SPECIALISTS
----------------------------------------- */
.specialist > img {
    float: left;
    margin: 5px 20px 20px 0;
}
.specialist {
    /*border-bottom: 1px solid #ccc;  change this to something*/
    margin-bottom: 35px;
}

a.thumbnail:active,
a.thumbnail:focus,
a.thumbnail:hover {
    border-color: #67deff;
}
.modal-body > img {
    width: 100%;
}

/* -----------------------------------------
PAGE_LICENSE
----------------------------------------- */
img.license {
    max-width: 100%;
}

/* -----------------------------------------
page_GUARANTEE
----------------------------------------- */
ol ol table.table {
    margin-left: -80px;
}

/* -----------------------------------------
PAGE_CONTACTS
----------------------------------------- */
#map {
    margin-bottom: 30px;
}
.fill-form {
    text-align: center;
    font-weight: bold;
}
label,
label span {
    display: block;
}
input,
textarea {
    padding: 0 15px;
    width: 100%;
    height: 45px;
    margin-bottom: 15px;
    outline-style: none;
}
textarea {
    padding: 15px 15px;
    height: 135px;
}
input:focus,
textarea:focus {
    border: 2px solid #67deff;
}
input[required]:focus {
    outline: 2px solid red;
}
.container input[type="submit"] {
    font-size: 14px;
}

@media (min-width: 992px) {
    input,
    textarea {
        width: 80%;
    }
}

/* -----------------------------------------
PAGE_NOT_FOUND
----------------------------------------- */
.page-not-found {
    padding: 50px 0;
}
.page-not-found p {
    font-size: 24px;
}
.page-not-found img {
    max-width: 100%;
    margin-bottom: 25px;
}
