/*--------------------------------------------------
  Sanford Design - Coming Soon
  Front Page Styles
--------------------------------------------------*/

/*----------
  Sections
----------*/
section, .section-main,
section > header, section > footer {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

section > header,
section > footer {
    padding: 18px 0;
    text-align: center;
}

/*----------
  Titles
----------*/
.title {
    text-align: center;
    font-size: 3em;
}

.title span:first-child {
    color: #194A89;
}

.title span:last-child {
    color: #255FAB
}

.subtitle {
    text-align: center;
    font-size: 2em;
}

@media screen and (max-width: 699px) {
    .title {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1.5em;
    }
}

/*--------------------
  Descriptions
--------------------*/
.description {
    font-size: 1.2em;
    text-align: center;
}

.description p {
    border: solid 2px transparent;
    padding-left: 1em;
    padding-right: 1em;
}

.description .boxed {
    padding-top: 1em;
    padding-bottom: 1em;
}

@media screen and (min-width: 500px) {
    .description p {
        padding-left: 3em;
        padding-right: 3em;
    }
}

/*--------------------
  Top Banner
--------------------*/
#top-banner {
    padding-top: 100px;
    min-height: 100vh;
    text-align: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #FFFFFF;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#top-banner .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

#top-banner .content-inner {
    margin: auto;
}

#top-banner .call-to-action {
    margin-top: 4em;
    margin-bottom: 2em;
}

#top-banner .call-to-action .arrow-down {
    margin-top: 0.5em;
}

/*----------
  Work
----------*/
#work > header .description p:first-child {
    color: #194A89;
}

#work .subtitle {
    color: #255FAB;
    text-decoration: underline;
}

.work-viewer .tabs button {
    -webkit-transition: color 0.4s ease;
    transition: color 0.4s ease;
    color: #FFFFFF;
    background-size: cover;
    background-position: center center;
    position: relative;
    background-color: transparent;
    padding: 1em;
}

.work-viewer .tabs button:hover,
.work-viewer .tabs button.active {
    color: #255FAB;
}

.work-viewer .tabs button .overlay {
    background-color: #255FAB;
    opacity: 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    -webkit-transition: background-color 0.4s ease;
    transition: background-color 0.4s ease;
}

.work-viewer .tab-bar:nth-child(odd) button:nth-child(even) .overlay,
.work-viewer .tab-bar:nth-child(even) button:nth-child(odd) .overlay {
    background-color: #194A89;
}

.work-viewer .tab-bar .tabs button:hover .overlay,
.work-viewer .tab-bar .tabs button.active .overlay {
    background-color: #FFFFFF;
}

.work-viewer .tabs .overlay ~ div {
    position: relative;
    z-index: 1;
}

.work-viewer .viewer > .content {
    padding: 2em 0;
}

.work-viewer li {
    margin-top: 1em;
    margin-bottom: 1em;
}

.work-viewer li > div {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

.work-viewer .location {
    font-weight: bold;
}

.work-viewer .location span:first-child {
    color: #255FAB;
}

.work-viewer .location span:not(:first-child):before {
    display: inline;
    content: "- "
}

@media screen and (min-height: 600px) and (min-width: 600px) {
    .work-viewer .tabs button {
        padding: 3em 1em;
    }
}

/*----------
  About
----------*/
#about .banner {
    text-align: center;
    background-image: url('/images/background/about.png');
    background-size: cover;
    background-position: center center;
}

#about .description {
    color: #255FAB;
}

#about .boxed {
    border-color: #194A89;
    color: #194A89;
}

/*----------
  Services
----------*/
#services {
    background-color: #194A89;
    color: #FFFFFF;
}

#services .boxed {
    border-color: #FFFFFF;
}

.service-viewer .tabs button {
    background-color: #001E3D;
}

.service-viewer .tabs button:hover:not(.active) {
    background-color: #255FAB;
}

.service-viewer .tabs button.active {
    color: #255FAB;
    background-color: #FFFFFF;
}

.service-viewer .viewer {
    border: solid 2px #FFFFFF;
}

.service-viewer .viewer > .content {
    padding: 6em 3em;
}

.food-service {
    margin-bottom: 2em;
}

.food-service .list-container {
    text-align: center;
}

.food-service .list-container ul {
    text-align: left;
    display: inline-block;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.food-service .list-container li {
    margin-top: 0.8em;
    margin-bottom: 0.8em;
}

/*----------
  Contact
----------*/
#contact {
    padding-bottom: 2em;
}

#contact .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}

#contact .contact-info {
    padding: 1em 3em;
    background-color: #194A89;
    color: #FFFFFF;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-right: 2em;
}

#contact .contact-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0.5em 0;
    padding: 0.5em 1em;
    border: solid 1px transparent;
}

#contact .contact-item:hover {
    border-color: #FFFFFF;
}

#contact .contact-item i {
    padding: 0 0.8em 0 0;
}

.contact-form {
    background-color: #FFFFFF;
    border: solid 2px #194A89;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form header {
    background-color: #194A89;
    color: #FFFFFF;
    padding: 1em;
}

.contact-form .subtitle {
    font-size: 1.2em;
}

.contact-form .main {
    padding: 2em 1em 1em 1em;
}

.contact-form input, .contact-form textarea, .contact-form button {
    display: block;
    width: 100%;
    margin: 0.8em 0;
}

.contact-form .split {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.contact-form .split input {
    margin: 0 0.4em 0 0;
}

.contact-form .split input + input {
    margin: 0 0 0 0.4em;
}

.contact-form .main > *:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 849px) {
    #contact .content {
        display: block;
        text-align: center;
    }

    #contact .contact-info {
        display: inline-block;
        text-align: left;
        margin-right: 0;
        margin-bottom: 2em;
        max-width: 100%;
    }
}

@media screen and (max-width: 449px) {
    #contact .main .wrap {
        padding: 0;
    }

    #contact .contact-info {
        padding-left: 1.5em;
        padding-right: 1.5em;
    }
    
    .contact-form .split {
        display: block;
    }

    #contact .contact-form .split input {
        margin: 0.8em 0;
    }
}
