/*
 * Import Fonts
 */
@import url('https://fonts.googleapis.com/css?family=Ubuntu');
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Condensed');
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono');

/*
 * Color Scheme
 * rgb(63,  21, 64) : #3F1540 : Dark Header Background
 * rgb(107, 37,109) : #6B256D : Logo Dark
 */

/*
 * Styles
 */

body {
    font-family: 'Ubuntu', sans-serif;
    line-height: 1.5;
    padding: 0;
    margin: 0;
    background-color: #FFFFFF;
}

/*
 * Global
 */
.container {
    width: 80%;
    max-width: 768px;
    margin: auto;
    overflow: hidden;
}

ul {
    margin: 0;
    padding: 0;
}

.button_1 {
    height: 34px;
    background-color: #E8491D;
    border: none;
    padding-left: 20px;
    padding-right: 20px;
    color: #FFFFFF;
    font-family: 'Ubuntu', sans-serif;
}

.dark {
    padding: 15px;
    background-color: #3F1540;
    color: azure;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*
 * Header
 */
header {
    background-color: #3F1540;
    color: azure;
    padding-top: 10px; /*Not require */
    min-height: 62px;
    border-bottom: #E8491D 3px solid;
}

header #branding {
    float: left;
}

header #branding h1 {
    margin: 0;
}

header #branding a {
    color: azure;
    font-size: 30px;
    text-decoration: none;
}

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

header nav {
    float: right;
    font-family: 'Ubuntu Condensed', sans-serif;
    margin-top: 10px;
    font-size: 20px;
}

header nav a {
    color: azure;
    text-decoration: none;
}

header nav a:hover {
    color: azure;
    text-decoration-line: underline;
    text-underline-position: auto;
    text-transform: uppercase;
}

header .highlight, header .current a {
    color: azure;
    text-underline-position: auto;
    text-transform: uppercase;
}


/*
 * Showcase
 */

#showcase {
    padding-top: 20px;
    min-height: 220px;
    text-align: center;
    color: #6B256D;
    text-decoration: none;
}

#showcase img {
    max-height: 200px;
    min-height: 50px;
    max-width: 201px;
    min-width: 51px;
    padding: 0px;
}

#showcase h1 {
    padding: 0px;
    margin: 0px;
    font-size: 25px;
}


/*
 * Newsletter
 */
#newsletter {
    padding: 15px;
    color: azure;
    background-color: #3F1540;
}

#newsletter h1 {
    float: left;
    font-size: 20px;
    padding-left: 
}

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

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

/*
 * Boxes
 */

#boxes {
    margin-top: 20px;
}

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

#boxes .box45 {
    float: left;
    width: 45%;
    text-align: left;
    padding: 10px 10px 0px 0px;
}

#boxes .box img {
    width: 90px;
}

#boxes p {
    text-align: left;
}

/*
 * Side Bar
 */

aside#sidebar {
    float: right;
    width: 33%;
    margin-top: 56px; //Originally 10
}

aside#sidebar .quote input {
    width: 90%;
    padding: 5px;
}

aside#sidebar .quote textarea {
    width: 90%;
    min-height: 80px;
    padding: 5px;
}

/*
 * Main-Col: Works With Side Bar
 */
article#main-col {
    float: left;
    width: 65%;
}


/*
 * Services
 */
ul#services li {
    list-style: none;
    padding: 0px 10px 0px 20px;
    margin-bottom: 5px;
    
    border: #CCCCCC solid 1px;
    background-color: #E6E6E6;
    
    border: #FBF2FB solid 1px;
    background-color: #FBF2FB;
    background-color: #FDFBFD;
}


/*
 * Address
 */
#address {
    margin-top: 20px;
}

a[href^="mailto"] {
    color: #6B256D;
    text-decoration: none;
}


/*
 * Footer
 */

footer {
    padding: 20px;
    margin-top: 10px;
    color: azure;
    background-color: #3F1540;
    text-align: center;
}

footer #social-media {
    width: 100%;
    height: 60px;
}

footer #usefull-links {
    width: 100%;
    height: 30px;
    margin-top: 20px;
}

footer #usefull-links ul li {
    outline-style: none;
    list-style: none;
    display: inline;
    padding: 0 3px 0 3px;
}

footer #usefull-links a {
    text-decoration: none;
    color: azure;
}

footer #usefull-links a:hover {
    text-decoration-line: underline;
    text-underline-position: auto;
    text-transform: uppercase;
}

footer #usefull-links .current a {
    color: azure;
    text-underline-position: auto;
    text-transform: uppercase;
}

footer #credit {
    width: 100%;
    height: 30px;
}

footer #social-media ul {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 10%); /* Horizontal, Vertical */
}

footer #social-media ul li {
    outline-style: none;
    list-style: none;
}

footer #social-media ul li a {
    width: 50px;
    height: 50px;
    background-color: #3F1540;
    text-align: center;
    line-height: 50px;
    font-size: 25px;
    margin: 0 10px;
    display: block;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2px solid azure;
}

footer #social-media ul li a .fa {
    position: relative;
    color: #FFFFFF;
    transition: .5s;
}

footer #social-media ul li a:hover .fa {
    transform: rotateY(360deg); /* rotate() or rotateX() */
    color: azure;
}

footer #social-media ul li a:before {
    content: '';
    position: absolute;
    top 100%;
    left 0;
    width: 100%;
    height: 100%;
    transition: .5s;
}

footer #social-media ul li a:hover:before {
    top: 0;
}


/*
 * Media Queries
 */

@media(max-width: 768px) {
    header #branding,
    header nav,
    header nav li,
    #newsletter h1,
    #newsletter form,
    #boxes .box30,
    #boxes .box45,
    article#main-col,
    aside#sidebar {
        float: none;
        text-align: center;
        width: 100%;
    }
    
    header {
        padding-bottom: 20px;
    }
    
    #showcase h1 {
        margin-top: 40px;
    }
    
    #newsletter button,
    .quote button {
        display: block;
        width: 100%;
    }
    
    #newsletter form input[type="email"],
    .quote input,
    .quote textarea {
        width: 100%;
        margin-bottom: 5px;
    }
}
