/* General */
body {
    font: 15px/1.5 Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    background-color: #E5EAF5;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.dark {
    padding: 15px;
    background: #513472;
    color: #E5EAF5;
    margin-top: 10px;
    margin-bottom: 10px;
}

ul {
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background: #513472;
    color: #E5EAF5;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #FF1D58 3px solid;
}

header a {
    color: #E5EAF5;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}

header #branding {
    float: left;
}

header #branding h1 {
    margin: 0;
}

header #branding h1 img {
    display: inline;
    vertical-align: middle;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #FF1D58;
}

header nav {
    float: right;
    margin-top: 10px;
}

.social {
    margin: 10px 0 55px 0;
}

.social address {
    display: inline-block;
    white-space: nowrap;
    margin: 0;
    font-style: normal;
}

.social a[href^="tel"]::after {
    content: " (626) 590-0576";
}

.ico-text {
    vertical-align: middle;
}

header .highlight, header .current a {
    color: #FF1D58;
    font-weight: bold;
}

header a:hover {
    color: #d0bdf4;
    font-weight: bold;
}

/* Showcase */
#showcase {
    /*background: url('../img/sfd_00004.jpeg') no-repeat center;*/
    /*background-size: cover;*/
    /*color: #E5EAF5;*/
    text-align: center;
}

#showcase h2 {
    /*font-size: 25px;*/
    margin-top: 10px;
    margin-bottom: 10px;
}

#showcase p {
    font-size: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.column {
    flex: 24%;
    max-width: 24%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

/* Newsletter */
#newsletter {
    padding: 15px;
    color: #E5EAF5;
    background: #513472;
}

#newsletter h1 {
    float: left;
}

#newsletter form {
    float: right;
    margin-top: 15px;
}

#newsletter input[type="email"] {
    padding: 4px;
    height: 25px;
    width: 250px;
}

.button_1 {
    height: 38px;
    background: #FF1D58;
    border: 0;
    padding-left: 20px;
    padding-right: 20px;
    color: #E5EAF5;
}

/* Boxes */
#boxes {
    margin-top: 20px;
}

#boxes .box {
    float: left;
    text-align: center;
    width: 30%;
    padding: 10px;
}

#boxes .box i {
    color: #FF1D58;
}

/* Sidebar */
aside#sidebar {
    float: right;
    width: 30%;
    padding: 5px;
}

aside#sidebar .contact input,
aside#sidebar .contact textarea {
    width: 90%;
    padding: 5px;
}

article#main-col {
    float: left;
    width: 65%;
}

/* Team Profile Cards */
.card {
  box-shadow: 0 4px 8px 0 rgba(1, 1, 1, 0.65);
  transition: 0.3s;
  border-radius: 5px;
  border: 1px #E5EAF5 solid;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(1, 1, 1, 0.65);
}

.card img {
    border-radius: 5px 5px 0 0;
}

.card-container {
  padding: 2px 16px;
}

.card-container h4 {
    margin-top: 10px;
}

/* Services */
ul#services li {
    list-style: none;
    padding: 20px;
    border: #f75990 solid 1px;
    margin-bottom: 5px;
    background: #513472;
    color: #E5EAF5;
}

ul#services h3 {
    border-bottom: #E5EAF5 solid 1px;
}

/* Footer */
footer {
    padding: 20px;
    margin-top: 20px;
    color: #E5EAF5;
    background-color: #FF1D58;
    text-align: center;
}

footer a {
    color: #E5EAF5;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

footer a:hover {
    color: #d0bdf4;
    font-weight: bold;
}

footer li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}

footer .social {
    display: inline-block;
    margin-bottom: 0px;
}

/* Responsiveness */
@media screen and (max-width: 800px) {
  .column {
      flex: 48.5%;
      max-width: 48.5%;
  }
}

@media(max-width: 768px) {
    header #branding,
    header nav,
    header nav li,
    .social,
    .social li,
    #newsletter h1,
    #newsletter form,
    #boxes .box,
    article#main-col,
    aside#sidebar {
        float: none;
        text-align: center;
        width: 100%;
    }

    header {
        padding-bottom: 20px;
    }

    .social {
        margin-bottom: 0;
    }

    #showcase h2 {
        margin-top: 40px;
    }

    .column {
      flex: 100%;
      max-width: 100%;
    }
    
    #boxes .box {
        padding: 10px 0;
    }

    aside#sidebar {
        padding: 5px 0;
    }

    #newsletter button {
        display: block;
        width: 100%;
    }

    #newsletter form input[type="email"],
    .contact input,
    .contact textarea,
    .contact label {
        width: 100%;
        margin-bottom: 5px;
    }

    .social a[href^="tel"]::after {
        display: none;
    }
}
