/* Styles for common page objects*/
html {
    position: relative;
    min-height: 100%;
}
body {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 580px;
}
main {padding-bottom: 1rem;}
.logo {
    width: 200px;
}
.card-text .logo {
    width: 400px;
}
.search-btn {
    font-size: 1rem;
}
.center-image {
    display: block;
    margin: 0.5rem auto 0.5rem auto;
}
.responsive-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}
#grad {background-image: linear-gradient(to bottom, #56CAFF, #226BB0);}
.titles {
    position: relative;
    margin-top: 20px;
    margin-bottom: 1em;
    overflow: hidden;
}
.title {
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    font-size: 1.5rem;
    line-height: 1.1;
    color: #2B3D48;;
    text-transform: uppercase;
    font-weight: bold;
}
.inner_title {
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    font-size: 1.1rem;
    line-height: 1;
    color: #2B3D48;;
    text-transform: uppercase;
    font-weight: bold;
}
.titles .title::after {
    position: absolute;
    content: '';
    bottom: 2px;
    left: calc(100% + 5px);
    height: 2px;
    width: 1400px;
    background: #226BB0;
}
.titles .inner_title::after {
    position: absolute;
    content: '';
    bottom: 2px;
    left: calc(100% + 5px);
    height: 2px;
    width: 1400px;
    background: #226BB0;
}
.carousel-inner img {
    width: 100%;
    height: 100%;
}
.service_category {
    margin: 20px auto 20px auto;
    text-align: center;
}
.service_category_item {
    display: inline-block;
    box-sizing: border-box;
    height: 300px;
    width: 300px;
    text-align: center;
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    margin-bottom: 5px;
    overflow: hidden;
    box-shadow: 0 0 15px 0 #D6D6D6;
}
.service_category_item:hover {
    -webkit-transition: all 0.5s linear;
            transition: all 0.5s linear;
    box-shadow: 0 0 15px 0 #444444;
}
.service_category_item:hover .service_category_thumb img {
    -webkit-transform: scale3d(1.1, 1.1, 1);
            transform: scale3d(1.1, 1.1, 1);
}
.service_category_thumb {
    height: 220px;
    width: 100%;
    text-align: center;
    overflow: hidden;
    position: relative;
    display: inline-block;
    margin: 0 auto;
}
.service_category_thumb img {
    width: 300px;
    height: auto;
    -webkit-transition: all 0.5s linear;
            transition: all 0.5s linear;
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
}
.service_category_title a{
    text-decoration: none;
    color: #226BB0;
    font-weight: 500;
    font-size: 1em;
    padding: 0 10px 0 10px;
}
.section_block {margin: 1rem;}
.section_inner_block {padding: 1rem;}
.table-block {padding: 0;}
figure {
    width: 200px;
    height: auto;
    margin: 20px;
    position: relative;
}
figure img {
    width: 200px;
    height: auto;
}
figcaption {
    position: absolute;
    top: 15%;
    bottom: 15%;
    left: 0;
    right: 0;
    background-color: rgba(153, 153, 153, 0.8);
    padding: 20px;
    font-weight: 400;
    font-size: 0.9em;
    color: white;
    opacity: 0;
    transition: opacity 0.75s ease-out;
}
figcaption p {
    margin-top: 20px;
    font-size: 0.8em;
}
figure:hover figcaption {opacity: 1;}
.photo {
    display: block;
    margin: 20px auto;
}
.standard-description {
    padding: 5px 20px 10px 20px;
    text-indent: 30px;
    text-align: justify;
}
#underline {
    display: block;
    margin-bottom: 5px;
    border-bottom: 1px solid lightgrey;
}
.breadcrumb-item + .breadcrumb-item::before {content: ">";}
.feedback-form {padding: 20px;}
.flowstands th, .flowstands td {
    text-align: center;
    vertical-align: middle !important;
}
#region-selector select {
    margin: 0;
    padding: 5px;
    width: 280px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    height: 35px;
    border-radius: 2px;
    line-height: 30px;
color: #555555;
}
/* Footer Styles */
footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 555px;
    background-color: lightslategrey;
}
.main-footer {
    border-top:1px solid #f1f1f1;
    padding-top: 20px;
    height: 100%;
    color: #777;
    font-weight: bold;
}
.footer-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 12%;
}
.copyright p {
    font-size: 0.9rem;
    font-weight: normal;
    padding: 10px 10px 10px 20px;
}
.footer-content {
    font-weight: normal;
}
.footer-content, .footer-content a:hover{
    color: white;
    text-decoration: none;
}
.footer-content a, .icons {
    color: #003399;
}
.footer-content ul {
    padding-left: 0;
    list-style-type: none;
}
.footer-contact {
    line-height: 1.7rem;
    margin-bottom: 5px;
}
.footer-contact table {
    line-height: 0.8rem;
}
.footer-schedule {
    display: inline-grid;
}
.footer-schedule table {
    color: white;
}
.footer-schedule .dayoff {
    color: darkred;
    font-weight: bold;
}
.footer-phones {
    display: inline-grid;
}
.footer-phones p {
    margin: 0;
}
.social_media {
    margin-right: 10px;
    height: 40px;
    width: auto;
    transition: 1s;
}
.social_media:hover {
    transform: scale(1.2);
}
/* End of Footer Styles */

/* -------- Media queries ------------- */
@media screen and (max-width: 1380px) {
    body {
        font-size: 0.85rem;
    !important;
    }
    .logo {
        width: 180px;
    }
    .title {
        font-size: 1.2rem;
        line-height: 1.1;
    }
    .inner_title {
        font-size: 0.9rem;
        line-height: 1;
    }
    .form-control {
        font-size: 0.85rem;
        line-height: 1;
    }
    .service_category_item {
        height: 250px;
        width: 250px;
    }

    .service_category_thumb {
        height: 190px;
    }

    .service_category_thumb img {
        width: 250px;
    }
    .feedback-form {
        padding: 5px;
    }
}
@media screen and (max-width: 1200px) {
    .logo {
        width: 150px;
    }
    .search-btn {
       font-size: 0.75rem;
    }
}
@media screen and (max-width: 1115px) {
    #search {
        width: 125px;
    }
}
@media screen and (max-width: 991px) {
    body {
        margin-bottom: 1000px;
    }
    footer {
        height: 1000px;
    }
    .footer-bottom {
        height: 6%;
    }
    #search {
        width: 70%;
        margin-right: 5px;
    }
}
@media screen and (max-width: 768px) {
    #myCarousel {display: none;}
}
@media screen and (max-width: 560px) {
    .copyright p {
        font-size: 0.85rem;
        padding: 5px;
    }
}
@media screen and (max-width: 575px) {
    figure {margin: 20px auto;}
    .card-text .logo {
       width: 250px;
    }
}