/* ============================================================
   test-homepage.css  —  v3
   Standalone CSS — soumissionsmaison.com/prefabriquees/
   Indépendant du thème Pindol
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,400italic,700,800');
@import url('https://fonts.googleapis.com/css?family=Patua+One');
@import url('https://fonts.googleapis.com/css?family=Satisfy');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700,800');

/* ---- Socialico (footer icons) ---- */
@font-face {
    font-family: 'Socialico';
    src: url('https://www.soumissionsmaison.com/prefabriquees/wp-content/themes/pindol/fonts/socialico-webfont.eot');
    src: url('https://www.soumissionsmaison.com/prefabriquees/wp-content/themes/pindol/fonts/socialico-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://www.soumissionsmaison.com/prefabriquees/wp-content/themes/pindol/fonts/socialico-webfont.woff') format('woff'),
         url('https://www.soumissionsmaison.com/prefabriquees/wp-content/themes/pindol/fonts/socialico-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ============================================================
   RESET
   ============================================================ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym,
address, big, cite, code, del, dfn, em, img, ins, kbd, q, s,
samp, small, strike, strong, tt, var, b, u, i, center, dl, dt,
dd, ol, ul, li, fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside, canvas, details,
embed, figure, figcaption, footer, header, hgroup, menu, nav,
output, ruby, section, summary, time, mark, audio, video {
    margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header,
hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* ============================================================
   BASE TYPOGRAPHY  (calquée sur style.php du thème)
   ============================================================ */
body {
    font-family: Raleway, Arial, Tahoma, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #646464;
    background-color: #f8f8f8;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    min-width: 1000px;
}

h1 { font-family: Raleway, Arial, Tahoma, sans-serif; font-weight: 400; font-size: 50px; line-height: 50px; color: #39464e; margin-bottom: 0; }
h2 { font-family: Raleway, Arial, Tahoma, sans-serif; font-weight: 700; font-size: 35px; line-height: 42px; color: #39464e; margin-bottom: 15px; }
h3 { font-family: Raleway, Arial, Tahoma, sans-serif; font-weight: 700; font-size: 27px; line-height: 33px; color: #39464e; margin-bottom: 15px; }
h4 { font-family: Raleway, Arial, Tahoma, sans-serif; font-weight: 700; font-size: 22px; line-height: 28px; color: #4e88a1; margin-bottom: 15px; }
h5 { font-family: Raleway, Arial, Tahoma, sans-serif; font-weight: 400; font-size: 20px; line-height: 26px; color: #4e88a1; margin-bottom: 15px; }
h6 { font-family: Raleway, Arial, Tahoma, sans-serif; font-weight: 400; font-size: 18px; line-height: 23px; color: #45464b; margin-bottom: 15px; }

p { margin: 0 0 15px 0; line-height: 24px; }
em { font-style: italic; }
b, strong { font-weight: bold; }
small { font-size: 80%; }

a, a:visited, a:focus { text-decoration: none; outline: 0; color: #449cd7; }
a:hover { text-decoration: underline; color: #2482c1; }

img { max-width: 100%; height: auto; border: 0; }
iframe { max-width: 100%; }

/* ============================================================
   GRID  (Skeleton 960)
   ============================================================ */
.container { position: relative; width: 960px; margin: 0 auto; padding: 0; }
.container .column,
.container .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; margin-bottom: 30px; }
.column.alpha, .columns.alpha { margin-left: 0; }
.column.omega, .columns.omega { margin-right: 0; }

.container .one.column,
.container .sixteen.columns { width: 940px; }
.container .one-second.column,
.container .eight.columns  { width: 460px; }
.container .one-third.column  { width: 300px; }
.container .two-third.column  { width: 620px; }
.container .one-fourth.column { width: 220px; }
.container .three-fourth.column { width: 700px; }
.container .two.columns   { width: 100px; }
.container .three.columns { width: 160px; }
.container .four.columns  { width: 220px; }
.container .five.columns  { width: 280px; }
.container .six.columns   { width: 340px; }
.container .seven.columns { width: 400px; }
.container .nine.columns  { width: 520px; }
.container .ten.columns   { width: 580px; }
.container .eleven.columns { width: 640px; }
.container .twelve.columns { width: 700px; }
.container .thirteen.columns { width: 760px; }
.container .fourteen.columns { width: 820px; }
.container .fifteen.columns  { width: 880px; }

/* Clearfix */
.container::after,
.clearfix::after,
.row::after { content: ''; display: table; clear: both; }
.row, .clearfix { zoom: 1; }
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }

/* ============================================================
   WRAPPER
   ============================================================ */
#Wrapper { margin: 0 auto; background-color: #fff; }
.layout-boxed { padding: 10px 0; }
.layout-boxed #Wrapper { width: 1000px; box-shadow: 0 0 3px rgba(0,0,0,.1); }

/* ============================================================
   HEADER
   ============================================================ */
#TopHeader {
    background-image: url('https://www.soumissionsmaison.com/prefabriquees/wp-content/uploads/2016/11/top-bg.jpg');
    background-position: center;
    background-size: cover;
}

#Header #top_bar {
    background-color: #ffffff;
    min-height: 120px;
}
#Header .sixteen {
    position: relative;
    z-index: 101;
    margin-bottom: 0;
    background-color: #fff;
    padding-bottom: 15px;
    border-bottom: #00a79d solid 10px;
}
#Header #logo {
    display: block;
    overflow: hidden;
    z-index: 101;
    padding: 15px 10px !important;
    position: absolute;
    top: 0;
    left: 0;
}
#Header #logo:hover { text-decoration: none; }
#Header #logo img { max-width: 220px; height: auto; }

/* Main nav */
#Header #menu { display: block; float: right; margin-top: 65px; }
#Header #menu > ul { list-style: none; float: left; position: relative; padding: 0; margin: 0; }
#Header #menu > ul > li { margin: 0; position: relative; z-index: 103; float: left; }
#Header #menu > ul > li > a {
    padding: 7px 15px; display: block; white-space: nowrap;
    font-size: 15px; color: #1e3e51; text-decoration: none;
    font-family: Raleway, Arial, sans-serif;
}
#Header #menu > ul > li > a:hover { text-decoration: none; color: #00a79d; }
#Header #menu > ul > li.menu-item-257 {
    background-color: #fff !important;
    border: #00a79d solid 2px;
    margin-right: 5px;
}
#Header #menu > ul > li.menu-item-257 > a { color: #00a79d !important; }
#Header #menu > ul > li.menu-item-257:hover { background: #00a79d !important; }
#Header #menu > ul > li.menu-item-257:hover > a { color: #fff !important; }

/* Addons (phone + CTA) */
#Header .addons { position: absolute; right: 0; top: 15px; overflow: hidden; }
#Header .addons p.phone {
    display: block; float: left; text-align: right;
    padding: 5px 10px 0; color: #414042 !important; font-weight: 800;
    font-size: 15px;
}
#Header .addons p.phone .fa {
    margin-right: 5px; color: #414042 !important;
    border: #00a79d solid 1px; border-radius: 15px; padding: 5px 8px;
}
#Header .addons p.phone span.call { color: #00a79d !important; font-weight: bold; }

#Header a.quotebtn {
    float: right;
    background-color: #00a79d;
    color: #fff !important;
    font-weight: 800;
    border: #00a79d solid 2px;
    padding: 7px 10px;
    margin-right: 10px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.2;
}
#Header a.quotebtn:hover { text-decoration: none; background-color: #fff; color: #00a79d !important; }

/* Responsive menu select */
#menu_responsive { display: none; margin-top: 65px; font-size: 14px; float: right; }
#menu_responsive select { margin-bottom: 0; padding: 7px; }

/* ============================================================
   #HomeTop
   ============================================================ */
#HomeTop { position: relative; }
#HomeTop #con1 { text-align: center; padding-top: 10px; }
#HomeTop #con1 h1 {
    font-size: 40px; line-height: 40px; color: #fff;
    margin-top: 0; margin-bottom: 15px;
}
#HomeTop #con1 h1.maintitle { margin-top: 25px !important; margin-bottom: 0 !important; }
#HomeTop #con1 h1.subtitle  { font-size: 34px !important; }
#HomeTop #con1 h6 {
    color: #fff; width: 80%; margin: 0 auto 20px;
    line-height: 1.5; font-size: 16px;
}

#HomeTop #con2 { position: relative; }
#HomeTop #con2 #col1 { text-align: center; position: relative; }

/* Lady (man) image — absolute over the hero background (left half) */
#HomeTop img.lady {
    position: absolute;
    width: 288px;
    left: 27%;
    bottom: 0;
}

#HomeTop #con2 #col2 { position: relative; }

/* ============================================================
   .formdiv  (green form box)
   ============================================================ */
.formdiv {
    background-color: #00a79d;
    padding: 10px;
    margin-top: 10px;
    width: 100% !important;
    position: relative;
    box-sizing: border-box;
}
.formdiv #seal {
    position: absolute;
    top: 5px;
    left: 10px;
    width: 100px;
    height: auto;
    z-index: 10;
}
.formdiv h5 {
    width: 76% !important;
    margin-left: 22% !important;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

/* Decorative arrow */
img.prefab-arrow {
    position: absolute;
    right: -95px;
    bottom: 90px;
    width: 120px;
    height: auto;
    pointer-events: none;
}

/* ============================================================
   GRAVITY FORMS STYLING
   ============================================================ */

/* Hide labels — original hides them */
#gform_wrapper_6 .gfield_label,
#gform_wrapper_1 .gfield_label { display: none !important; }

/* Wrapper margin */
#gform_wrapper_6,
#gform_wrapper_1 { margin-bottom: 0; }

/* All inputs / selects / textareas */
#gform_wrapper_6 input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
#gform_wrapper_6 select,
#gform_wrapper_6 textarea,
#gform_wrapper_1 input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
#gform_wrapper_1 select,
#gform_wrapper_1 textarea {
    height: 34px !important;
    padding: 4px 8px !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    background: #f1eff0 !important;
    border: 1px solid #b4aeae !important;
    border-radius: 0 !important;
    color: #333 !important;
    width: 100% !important;
    box-sizing: border-box;
    font-family: Raleway, Arial, sans-serif;
}
#gform_wrapper_6 textarea,
#gform_wrapper_1 textarea {
    height: 80px !important;
    padding: 6px 8px !important;
    resize: vertical;
}

/* Remove border when inside .formdiv (on the page) */
.formdiv #gform_wrapper_6 input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.formdiv #gform_wrapper_6 select,
.formdiv #gform_wrapper_6 textarea,
.formdiv #gform_wrapper_1 input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.formdiv #gform_wrapper_1 select,
.formdiv #gform_wrapper_1 textarea {
    border: 0 !important;
    outline: none;
}

/* Select custom arrow */
#gform_wrapper_6 select,
#gform_wrapper_1 select {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin-left: 0 !important;
    background-image: url('https://www.soumissionsmaison.com/prefabriquees/wp-content/uploads/2020/07/dropdown-arrow.png') !important;
    background-repeat: no-repeat !important;
    background-position: right 6px center !important;
    background-color: #f1eff0 !important;
    padding-right: 28px !important;
    cursor: pointer;
}

/* Placeholders */
#gform_wrapper_6 ::placeholder,
#gform_wrapper_1 ::placeholder { color: #888; opacity: 1; }
#gform_wrapper_6 ::-ms-input-placeholder,
#gform_wrapper_1 ::-ms-input-placeholder { color: #888; }

/* Field li spacing — slightly more breathing room than original */
#gform_wrapper_6 li.gfield,
#gform_wrapper_1 li.gfield {
    margin-top: 0;
    padding: 0 4px;
    margin-bottom: 6px;
}

/* Inline fields (Nom / Prénom) */
#gform_wrapper_6 .top_label li.gfield.gf_inline,
#gform_wrapper_1 .top_label li.gfield.gf_inline { width: 18.5% !important; }

/* ginput_container top margin */
div.ginput_container { margin-top: 0 !important; }

/* gform_footer */
#gform_wrapper_6 .gform_footer,
#gform_wrapper_1 .gform_footer,
#gform_wrapper_6 .gform-footer,
#gform_wrapper_1 .gform-footer {
    text-align: center;
    padding: 0 !important;
    margin-top: 8px;
}

/* Submit button — orange, full width */
#gform_wrapper_6 #gform_submit_button_6,
#gform_wrapper_1 #gform_submit_button_1 {
    width: 100% !important;
    padding: 14px 10px !important;
    background-color: #f7931e !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    font-family: Raleway, Arial, sans-serif !important;
    border: 2px solid #f7931e !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    cursor: pointer;
    line-height: 1.2;
    text-transform: none;
    display: block;
    box-sizing: border-box;
    -webkit-appearance: none;
}
#gform_wrapper_6 #gform_submit_button_6:hover,
#gform_wrapper_1 #gform_submit_button_1:hover {
    color: #f7931e !important;
    background-color: #fff !important;
}

/* p.subbutton (SSL logo + terms text below button) */
p.subbutton {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
p.subbutton img {
    width: 55px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    flex-shrink: 0;
}
p.subbutton span,
p.subbutton a {
    font-size: 11px !important;
    color: #fff;
    margin: 0;
    line-height: 14px;
    text-align: left;
}
p.subbutton a { color: #fff; text-decoration: underline; }
p.subbutton a:hover { color: #e0e0e0; }

/* GF validation */
.gform_wrapper .gform_validation_errors { padding: 10px !important; text-align: center; }
.formdiv .gform_wrapper div.validation_error {
    background-color: rgba(255,255,255,.9); border-color: #f00; color: #f00;
    line-height: 1.2; font-size: 14px;
}
.formdiv .gform_wrapper .gfield_error { background-color: transparent !important; border: 0 !important; padding-top: 0 !important; }
.gform_wrapper .field_description_below .gfield_description { font-size: 11px !important; padding: 2px 10px !important; margin-top: 0 !important; }
.gform_wrapper.gravity-theme .gform_fields { grid-row-gap: 6px !important; }
.gform_wrapper.gravity-theme .ginput_container_address span { flex: 0 0 100% !important; }
.gform_wrapper.gravity-theme #field_submit,
.gform_wrapper.gravity-theme .gform_footer { display: block !important; }
.gform_validation_container,
.gform_validation_container input { display: none !important; visibility: hidden !important; }

/* Address field tweaks */
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label { display: none !important; }
.gform_wrapper .ginput_complex.ginput_container_address .ginput_right { padding-right: 0 !important; width: 100%; }
.ginput_complex .ginput_right { min-height: auto !important; }

/* Chosen multi-select */
#gform_wrapper_6 .chosen-container-multi,
#gform_wrapper_1 .chosen-container-multi { margin: 5px 0 !important; }
#gform_wrapper_6 .chosen-container-multi .chosen-choices,
#gform_wrapper_1 .chosen-container-multi .chosen-choices { background-color: #f1eff0; background-image: none; }

/* ============================================================
   #HomeDesigner
   ============================================================ */
#HomeDesigner { background-color: #f2f2f2; }
#HomeDesigner #con1 { padding-top: 50px; text-align: center; }
#HomeDesigner #con1 h2 { margin-bottom: 0; }
#HomeDesigner #con1 h2.ready { font-weight: 100; }
#HomeDesigner #con2 { padding-top: 50px; text-align: center; padding-bottom: 30px; }
#HomeDesigner #con2 .one-fifth { width: 17.9%; float: left; margin-left: 10px; margin-right: 10px; }
#HomeDesigner #con2 .one-fifth img { width: 100%; display: block; }
#HomeDesigner #con2 .one-fifth .inner { border: #00a79d solid 1px; padding: 5px; }
#HomeDesigner #con2 .one-fifth .inner .typebtn {
    color: #fff; background-color: #00a79d; padding: 12px 0;
    font-size: 12px; font-weight: 700; letter-spacing: .5px;
}
#HomeDesigner #con2 .one-fifth .inner a { text-decoration: none; display: block; }
#HomeDesigner #con2 .one-fifth .inner a:hover .typebtn { background-color: #fff; color: #00a79d; }

/* ============================================================
   #HomeSteps
   ============================================================ */
#HomeSteps { background-color: #fff; }
#HomeSteps #con1 { text-align: center; padding-top: 50px; }
#HomeSteps #con1 h2 { text-transform: uppercase; font-weight: 100; }
#HomeSteps #con2 { padding-top: 40px; }
#HomeSteps #con2 .innerbox {
    display: flex; align-items: center;
    margin-bottom: 18px;
}
#HomeSteps #con2 .innerbox .column1 { width: 20%; flex-shrink: 0; margin-right: 12px; }
#HomeSteps #con2 .innerbox .column1 img { width: 100%; }
#HomeSteps #con2 .innerbox .column2 { flex: 1; }
#HomeSteps #con2 .innerbox .column2 h6 {
    margin-bottom: 0; text-transform: uppercase;
    font-weight: 800; font-size: 14px; line-height: 1.3;
    color: #45464b;
}
#HomeSteps #con2 .innerbox p { display: none; }
#HomeSteps #con3 { padding: 30px 0; text-align: center; }
#HomeSteps #con3 a {
    background-color: #f7931e; color: #fff; font-size: 22px; font-weight: 800;
    padding: 12px 30px; text-decoration: none; display: inline-block;
    border-radius: 6px;
}
#HomeSteps #con3 a:hover { background-color: #00a99d; text-decoration: none; }

/* ============================================================
   #HomeStats
   ============================================================ */
#HomeStats { background-color: #e8f6f7; }
#HomeStats #con1 { padding-top: 50px; text-align: center; }
#HomeStats #con1 h2 { font-weight: 100; text-transform: uppercase; }
#HomeStats #con2 { padding-top: 40px; text-align: center; padding-bottom: 30px; }
#HomeStats #con2 .one-fifth { width: 17.5%; float: left; margin-left: 10px; margin-right: 10px; }
#HomeStats #con2 .one-fifth img { max-width: 90px; width: 100%; margin: 0 auto 10px; display: block; }
#HomeStats #con2 .one-fifth h5 { color: #282e3a; font-weight: 800; font-size: 16px; line-height: 1.2; margin-bottom: 6px; }
#HomeStats #con2 .one-fifth p { font-size: 13px; line-height: 1.4; }

/* ============================================================
   #HomeComment
   ============================================================ */
#HomeComment #con1 { text-align: center; padding: 40px 0 20px; }
#HomeComment #con2 { padding-bottom: 40px; }
#HomeComment #con2 img { width: 100%; margin-top: 10px; }
#HomeComment #con2 .column.one-second:last-child { padding-top: 10px; }

/* ============================================================
   #HomeBlueBar
   ============================================================ */
#HomeBlueBar { background-color: #282e3a; color: #fff; text-align: center; padding: 30px 0; }
#HomeBlueBar h6 { color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 12px; }
#HomeBlueBar p { width: 85%; margin: 0 auto; color: #fff; line-height: 1.6; font-size: 15px; }

/* ============================================================
   #HomeHouses
   ============================================================ */
#HomeHouses { line-height: 0; font-size: 0; white-space: nowrap; overflow: hidden; }
#HomeHouses img { width: 25%; height: 205px !important; object-fit: cover; display: inline-block; }

/* ============================================================
   #HomeAdvantage
   ============================================================ */
#HomeAdvantage { padding: 50px 0 40px; background-color: #fff; }
#HomeAdvantage #col1 img { width: 100%; height: 325px; object-fit: cover; display: block; }
#HomeAdvantage h3 { text-transform: uppercase; font-weight: 400; margin-bottom: 16px; }
#HomeAdvantage #col2 ul { margin-top: 10px; }
#HomeAdvantage #col2 li {
    margin-left: 1.8em; margin-bottom: 8px; line-height: 1.5; color: #646464;
}
#HomeAdvantage #col2 li::before {
    content: "\f00c";
    font-family: 'FontAwesome', 'Font Awesome 5 Free', sans-serif;
    color: #00a99d; font-size: 15px; font-weight: 900;
    display: inline-block; margin-left: -1.8em; width: 1.8em;
}

/* ============================================================
   #HomeImagine
   ============================================================ */
#HomeImagine {
    background-image: url('https://www.soumissionsmaison.com/prefabriquees/wp-content/uploads/2016/11/bottom-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}
#HomeImagine #con1 { padding-top: 50px; text-align: center; padding-bottom: 10px; }
#HomeImagine #con1 h2 { text-transform: uppercase; color: #fff; }
#HomeImagine #con1 h4 { color: #fff; font-weight: 200; }

#HomeImagine #con2 { position: relative; }
#HomeImagine #con2 #col1 { position: relative; }
#HomeImagine #con2 #col2 { position: relative; }

/* Lady image in HomeImagine — sits in col2, absolute bottom-left */
#HomeImagine img.lady {
    position: absolute;
    bottom: 0px;
    width: 430px;
    left: 22%;
}

/* ============================================================
   .before-footer
   ============================================================ */
.before-footer { padding: 40px 0 20px; background-color: #e8f6f7; }
.bfooter-title {
    font-size: 20px; font-family: Montserrat, Arial, Tahoma, sans-serif;
    font-weight: 500; text-align: center; color: #414042; margin-bottom: 16px;
}
.menu-list { margin-left: 1.8em; }
.menu-list li { margin-bottom: 10px; }
.menu-list li::before {
    content: "\f00c";
    font-family: 'FontAwesome', 'Font Awesome 5 Free', sans-serif;
    color: #00a99d; font-size: 14px; font-weight: 900;
    display: inline-block; margin-left: -1.8em; width: 1.8em;
}
.menu-list a { color: #414042; font-size: 14px; line-height: 1.5; }
.menu-list a:hover { color: #00a99d !important; text-decoration: none; }

/* ============================================================
   #Footer
   ============================================================ */
#Footer {
    background-color: #e8f6f7 !important;
    background-image: none !important;
    text-align: center;
    border-bottom: #00a99d solid 15px;
    padding-top: 20px;
}
#Footer #con1 { padding: 20px 0; }
#Footer #con2 { padding: 10px 0; }
#Footer ul#menu-main-menu-2 { display: table; margin: 0 auto; padding: 0; }
#Footer ul#menu-main-menu-2 li { display: table-cell; background: none !important; width: 1%; text-align: center; }
#Footer ul#menu-main-menu-2 > li > a { padding: 7px 15px; color: #414042 !important; display: block; font-size: 14px; }
#Footer ul#menu-main-menu-2 > li > a:hover { text-decoration: underline; }
#Footer ul#menu-main-menu-2 > li.menu-item-257 > a { background-color: #666; color: #fff !important; border-radius: 3px; }
#Footer ul#menu-main-menu-2 > li.menu-item-257 > a:hover { background-color: #46c0b9; text-decoration: none; }
#Footer #con3 { padding-top: 30px; }
#Footer .social ul { padding: 0; margin: 0; display: inline-block; }
#Footer .social li { display: inline-block !important; float: none !important; }
#Footer .social li a {
    width: 70px !important; font-size: 42px !important;
    color: #00a99d !important; font-family: 'Socialico'; display: inline-block;
    text-decoration: none; line-height: 1;
}
#Footer #con4 { padding: 20px 0; }
#Footer #con4 .footerbox {
    background-color: #fff; padding: 12px 15px;
    border: #666 solid 1px; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between;
}
#Footer #con4 .footerbox p {
    text-align: left; color: #666 !important;
    line-height: 1.4; font-size: 14px; margin: 0; flex: 1;
}
#Footer #con4 .footerbox a {
    color: #fff; background-color: #46c0b9; text-decoration: none;
    font-size: 16px; font-weight: 700; padding: 10px 30px;
    white-space: nowrap; border-radius: 4px; flex-shrink: 0; margin-left: 15px;
}
#Footer #con4 .footerbox a:hover { background-color: #666; text-decoration: none; }
#Footer #con5 { color: #666; padding: 20px 0 30px; font-size: 13px; line-height: 1.8; }
#Footer #con6 img { position: relative; top: 5px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- 768-959px (tablet portrait) ---- */
@media only screen and (min-width: 768px) and (max-width: 959px) {
    body { min-width: 0; }
    .container { width: 768px; }
    .container .column, .container .columns { margin-left: 10px; margin-right: 10px; }
    .container .one-second.column { width: 364px; }
    .container .one.column,
    .container .sixteen.columns { width: 748px; }
    .container .one-third.column  { width: 236px; }
    .container .two-third.column  { width: 492px; }
    .layout-boxed #Wrapper { width: 788px; }
    #Header #menu { display: none; }
    #menu_responsive { display: block; }
    #HomeDesigner #con2 .one-fifth,
    #HomeStats #con2 .one-fifth { width: calc(20% - 10px); margin-left: 5px; margin-right: 5px; }
    .formdiv { width: 85% !important; }
    #HomeTop img.lady { width: 28%; }
    #HomeImagine img.lady { width: 40%; }
}

/* ---- 768-1024px (iPad landscape) ---- */
@media (min-width: 768px) and (max-width: 1024px) {
    #Header #logo { padding: 25px 10px !important; width: 215px !important; }
    #Header #logo img { width: 100% !important; }
    #Header .sixteen { height: 90px !important; }
    #Header .addons { top: 35px; }
    #Header .addons p.phone, #Header a.quotebtn { font-size: 13px; }
    img.prefab-arrow { right: -35px; width: 80px; }
    #Footer #con4 .footerbox a { padding: 8px 20px; }
}

/* ---- max 959px ---- */
@media only screen and (max-width: 959px) {
    #HomeTop #con1 h1.maintitle { margin-top: 20px !important; font-size: 30px; line-height: 1.1; }
    #HomeTop #con1 h1.subtitle { font-size: 25px !important; line-height: 1.1; }
    #HomeTop #con1 h6 br { display: none; }
    #HomeTop #con1 h6 { font-size: 14px; line-height: 1.3; }
    #HomeImagine #con1 h2 { font-size: 25px !important; line-height: 1.1; }
    #HomeImagine #con1 h4 { font-size: 16px; line-height: 1.2; }
    .formdiv { position: relative; margin-bottom: 0; box-sizing: border-box; }
    .formdiv #seal { max-width: 80px; left: 8px !important; top: 8px !important; }
    #HomeStats #con2 .one-fifth { margin-left: 5px; margin-right: 5px; width: calc(20% - 10px); }
    #HomeStats #con2 .one-fifth br { display: none; }
    #HomeSteps #con2 .innerbox .column1 { margin-right: 8px; }
    #Footer #con4 .footerbox { flex-direction: column; text-align: center; }
    #Footer #con4 .footerbox p { text-align: center; width: 100%; }
    #Footer #con4 .footerbox a { margin-left: 0; margin-top: 10px; display: block; }
}

/* ---- max 767px (mobile) ---- */
@media only screen and (max-width: 767px) {
    body { min-width: 0; }
    .container { width: 300px; }
    .container .column,
    .container .columns { margin: 0; margin-bottom: 20px; width: 300px !important; }
    .container .one.column,   .container .sixteen.columns,
    .container .one-second.column, .container .one-third.column,
    .container .two-third.column,  .container .one-fourth.column,
    .container .three-fourth.column,
    .container .two.columns,   .container .three.columns,
    .container .four.columns,  .container .five.columns,
    .container .six.columns,   .container .seven.columns,
    .container .eight.columns, .container .nine.columns,
    .container .ten.columns,   .container .eleven.columns,
    .container .twelve.columns,.container .thirteen.columns,
    .container .fourteen.columns,.container .fifteen.columns { width: 300px !important; }
    .layout-boxed { padding: 0; }
    .layout-boxed #Wrapper { width: 100%; }

    /* Header */
    #Header .container { width: 300px; margin: 0 auto; }
    #Header .sixteen {
        width: 100%; display: flex; align-items: center;
        justify-content: center; flex-direction: column-reverse; padding: 10px 0;
    }
    #Header #logo { position: static; width: 90% !important; }
    #Header #logo img { width: 65% !important; max-width: none; }
    #Header .addons { position: static; float: none; margin: 0; padding: 8px; text-align: center; }
    #Header a.quotebtn { float: none; display: block; font-size: 13px; margin-right: 0; }
    #Header #top_bar { min-height: unset; }
    #Header #menu { display: none; }
    #menu_responsive { display: block; }

    /* HomeTop */
    #HomeTop #con1 h1.maintitle { font-size: 20px !important; line-height: 1.1 !important; margin-top: 10px !important; }
    #HomeTop #con1 h1.subtitle  { font-size: 18px !important; line-height: 1.1 !important; }
    #HomeTop #con1 h6 { width: 100%; font-size: 14px; line-height: 1.3; }
    #HomeTop #con2 #col1 { display: none; }
    #HomeTop img.lady { display: none; }

    .formdiv #seal { display: none; }
    .formdiv h5 { width: 100% !important; margin-left: 0 !important; text-align: center !important; }

    /* HomeDesigner */
    #HomeDesigner #con1, #HomeDesigner #con2 { padding-top: 30px; }
    #HomeDesigner #con1 h2 { font-size: 22px !important; }
    #HomeDesigner #con2 .one-fifth { margin-left: 0; margin-right: 0; }

    /* HomeStats */
    #HomeStats #con1 h2, #HomeSteps #con1 h2,
    #HomeImagine #con1 h2, #HomeComment #con1 h2 { font-size: 22px !important; }
    #HomeStats #con2 .one-fifth { margin-left: 0; margin-right: 0; }

    /* HomeSteps */
    #HomeSteps #con3 a { font-size: 16px; display: block; padding: 12px 20px; }

    /* HomeImagine */
    #HomeImagine #con2 #col1 { display: none; }
    #HomeImagine img.lady { position: static; width: 160px; margin: 0 auto 0; display: block; left: auto; bottom: auto; }

    /* Gravity forms */
    #gform_wrapper_6, #gform_wrapper_1 { margin-right: 0; }
    #gform_wrapper_6 .top_label li.gfield.gf_inline,
    #gform_wrapper_1 .top_label li.gfield.gf_inline { width: 100% !important; }
    #gform_wrapper_6 #gform_submit_button_6,
    #gform_wrapper_1 #gform_submit_button_1 { font-size: 15px !important; padding: 12px 15px !important; }

    /* Footer */
    #Footer ul#menu-main-menu-2 li { display: block; width: 100%; }
    #Footer .social li a { width: 50px !important; font-size: 36px !important; }
    #Footer #con4 .footerbox { flex-direction: column; }
    #Footer #con4 .footerbox a { margin-left: 0; margin-top: 8px; width: 100%; box-sizing: border-box; }
    #Footer #con2 { display: none; }

    /* Articles section */
    .before-footer .container .column { margin-bottom: 10px; }
}

/* ---- 480-767px (mobile landscape) ---- */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .container { width: 420px; }
    .container .column,
    .container .columns { width: 420px !important; }
    .layout-boxed #Wrapper { width: 460px; }
    #Header .container { width: 420px; }
}

/* ---- max 640px ---- */
@media only screen and (max-width: 640px) {
    .formdiv .gfield { margin-bottom: 4px !important; padding: 0 !important; }
}
