/* Base */

body {
    margin: 0;
    padding: 0;
    background: #fcf5ef !important;
}

form {
    overflow: hidden;
    position: relative;
}

/* End base */


/* Header */

header {
    background: #0e77bb;
    overflow: hidden;
}

header p {
    margin: 14px 0;
}

header p a {
    text-decoration: none;
    color: #fcf5ef;
    font-size: 18pt;
}

header p, .content p, h1, h2 {
    text-align: center;
}

div.header-splitter {
    width: 100%;
    height: 12px;
    background: #cecece;
}

/* End header */


/* Footer */

.content .order-box a,
footer h2 {
    color: #aea9a3;
}

footer table,
.content table  {
    border-collapse: separate;
    width: 911px;
    margin: 25px auto;
    border-spacing: 25px;
}

footer table td,
.content table td {
    text-align: center;
    vertical-align: middle;
    margin: 3px 0;
}

footer div.footer-background {
    position: relative;
    background: #d6d5d5;
    width: 100%;
    padding: 25px 0;
}

footer div.footer-background .up-arrow {
    position: absolute;
    left: 100px;
    bottom: 18px;
    cursor: pointer;
}

footer table {
    border-spacing: 0;
    position: relative;
}

footer table td {
    width: 33%;
}

footer table td.left {
    text-align: left;
}

footer table td.right {
    text-align: right;
}

/* End footer */


/* Popovers */

.popover {
    border-radius: 10px;
    background-color: #d6d5d5;
    border: 1px solid #d6d5d5;
    max-width: 911px;
    width: 911px;
    box-shadow: none;
}

.popover.bottom > .arrow::after,
.popover.top > .arrow::after {
    border-bottom-color: #d6d5d5;
    border-top-color: #d6d5d5;
}

.popover.bottom > .arrow,
.popover.top > .arrow {
    border-bottom-color: #d6d5d5;
    border-top-color: #d6d5d5;
}

.popover-button {
    cursor: pointer;
}

.social-networks-share {
    width: auto;
    margin: 0 auto;
}

.social-networks-share a {
    margin: 0 30px;
}

/* End popovers */


/* Carousel */

div.carousel {
    width: 576px;
    margin: 0 auto;
}

a.carousel-control {
    background: none;
}

a.carousel-control span.glyphicon-chevron-right,
a.carousel-control span.glyphicon-chevron-left {
    width: 54px;
    height: 54px;
}
.carousel-control.right,
.carousel-control.left {
    background: none;
}

.glyphicon-chevron-left::before {
    content: none;
}

.glyphicon-chevron-right::before {
    content: none;
}

a.carousel-control span.glyphicon-chevron-right {
    background-image: url('/static/img/grey-arrow-right.png');
    margin-left: 55px;
}

a.carousel-control span.glyphicon-chevron-left {
    background-image: url('/static/img/grey-arrow-left.png');
    margin-right: 55px;
}

div.carousel-inner img {
    margin: 0 133px;
}

.carousel-indicators {
    display: none;
}

/* End carousel */


/* Process images */

div.process {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 30px 0;
    gap: 15px;
}

div.process .step {
    flex: 1;
    text-align: center;
    max-width: 250px;
}

div.process .step img {
    max-width: 100%;
    height: auto;
}

div.process .arrow {
    flex-shrink: 0;
}

div.process .arrow img {
    display: block;
}

/* End process images */


/* Offices section */

div.offices-section {
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

div.offices-content {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

div.offices-list {
    flex: 1;
}

div.offices-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

div.offices-list li {
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #e8e4e0;
    border-radius: 5px;
    line-height: 1.6;
}

div.offices-list li strong {
    color: #29628f;
}

span.office-hours {
    color: #666;
    font-size: 0.9em;
}

span.office-phone {
    color: #333;
    font-size: 0.9em;
}

div.offices-map {
    flex: 1;
    min-height: 400px;
    border-radius: 5px;
    overflow: hidden;
}

/* End offices section */





.content {
    width: 911px;
    margin: 0 auto;
}

h1, h2, .phone {
    color: #29628f;
}

h1 {
    font-size: 36pt;
}

h2, .phone {
    font-size: 18pt;
}

.content, .content div {
    overflow: hidden;
}

.content .order-box a {
    padding: 20px 80px;
    margin: 10px 0;
    background: none;
    font-size: 18pt;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid #aea9a3;
    border-radius: 5px;
}

.content .order-box a:hover {
    color: #231f20;
    border-color: #231f20;
}

.full-width,
.half-width {
    text-align: justify !important;
}

.full-width {
    width: 100%;
}

.half-width {
    width: 48%;
    margin: 0 0%;
}

.left-align {
    float: left;
}

.right-align {
    float: right;
}

hr.grey-line {
    background: #231f20 !important;
    /*background: none;*/
    color: #231f20 !important;
    width: 406px;
    height: 1px;
}
hr.float-left{
    float: left;
    clear: left;
    margin: 26px 20px 0 0;
}
hr.float-right {
    float: right;
    clear: right;
    margin: 26px 0 0 20px;
}

div.splitter {
    float: left;
    width: 100%;
    margin: 20px 0;
}

div.splitter img {
    margin: 0 auto;
}

div.tooltip-half-width {
    text-align: justify !important;
    width: 45%;
    margin: 20px 2%;
}


.full-width,
.half-width {
    text-align: justify !important;
}

.full-width {
    width: 100%;
}

.modal-content {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

/* Responsive: process block */

@media (max-width: 600px) {
    div.process {
        flex-direction: column;
        gap: 10px;
    }

    div.process .arrow img {
        transform: rotate(90deg);
    }

    div.process .step {
        max-width: 80%;
    }
}