/*
Default install styles for the FSM Foundation
Version: 5.0.0
Description: Framework styles for FSM Foundation websites
Author: Full Spectrum Marketing
Author URI: http://www.fsm.agency
*/

body {
    /* Font Smoothing */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;

    /* Base Typography */
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;

    /* Rendering */
    text-rendering: optimizeLegibility; 

    /* Modern Text Control */
    text-wrap: pretty;
    
    /* Touch optimization */
    touch-action: manipulation; 
}

/* Fix Divi Theme Builder Header */
.et-l--header #main-header {
  padding: 0;
  z-index: 99999;
}

#main-header .et_menu_container.et_pb_row {
  max-width: 1200px;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.et_pb_row.et_menu_container::after {
    display: none;
}

#main-header > .et_menu_container > .et_pb_column {
    width: auto!important;
    margin: auto 0;
}

#main-header #logo {
  max-width: 180px;
}

/* Remove Divi Bottom Bar */
#footer-bottom {
    display: none !important;
}

/* Basic Gravity Forms */

#page-container .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
#page-container .gform_wrapper textarea.textarea,
#page-container div.form_saved_message div.form_saved_message_emailform form input[type=text] {
    border: 1px solid rgba(0, 0, 0, .5);
    font-size: 1em;
    padding: 1em 1em;
    min-height: auto;
    max-height: none;
    background: rgba(255, 255, 255, .5);
    border-radius: 5px;
}

#page-container .gform_wrapper label {
    font-size: 1em;
    line-height: 1em;
}

.gform_wrapper input[type=text]:focus,
.gform_wrapper input[type=search]:focus,
.gform_wrapper input[type=radio]:focus,
.gform_wrapper input[type=tel]:focus,
.gform_wrapper input[type=time]:focus,
.gform_wrapper input[type=url]:focus,
.gform_wrapper input[type=week]:focus,
.gform_wrapper input[type=password]:focus,
.gform_wrapper input[type=checkbox]:focus,
.gform_wrapper input[type=color]:focus,
.gform_wrapper input[type=date]:focus,
.gform_wrapper input[type=datetime]:focus,
.gform_wrapper input[type=datetime-local]:focus,
.gform_wrapper input[type=email]:focus,
.gform_wrapper input[type=month]:focus,
.gform_wrapper input[type=number]:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, .2);
}

body #page-container .et_pb_button,
body #page-container .gform_button {
    cursor: pointer;
}

/* Responsive font sizes */

.et_divi_theme h1,
.et_divi_theme h2,
.et_divi_theme h3,
.et_divi_theme h4,
.et_divi_theme h5,
.et_divi_theme h6 {
    padding-bottom: 0;
    margin-bottom: .5rem;
}

/* Fix blurb max-width issue */

#page-container .et_pb_blurb {
    max-width: 100%;
}


/* Side-By-Side */
.side-by-side,
    {
    display: flex;
    justify-content: center;
    margin-top: 3vh;

    a:first-child {
        margin-right: 1vh !important;

    }
}


@media only screen and (max-width:980px) {

    .side-by-side {
        display: flex;
        flex-direction: column;
    }

    .side-by-side a:first-child {
        margin-right: 0 !important;
        margin-bottom: 1vh !important;
    }
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.left {
    text-align: left;
    align-items: flex-start;
}

.right {
    text-align: right;
    align-items: flex-end;

}

/* Remove spacing and max-width from Post Content Module
.et_pb_module.et_pb_post_content .et_pb_row,
.et_pb_module.et_pb_post_content .et_pb_section {
    padding: 0;
    width: 100%;
}*/

/* Footer icon styles 
footer .et_pb_social_media_follow li a.icon:before {
    font-size: 20px !important;
    transition: 0.3s ease all;

}

footer li.et_pb_social_icon:hover {
    scale: 1.1;
    transition: 0.3s ease all;

}

footer a:not(.et_pb_button, .et_pb_social_icon a) {
    border-radius: 4px;
    padding: 2px;
    transition: ease all .2s;
    display: inline;
    overflow: hidden;
    text-decoration: underline;
}

footer a:not(.et_pb_button, .et_pb_social_icon a):hover {
    border-radius: 3px;
    background-color: rgba(21, 43, 55, .2);
    transition: ease all .2s;
}
*/
