/*
 Theme Name:   Northland Fence
 Theme URI:    https://www.icebergwebdesign.com
Description:   Website development for Northland Fence
 Author:       Iceberg Web Design
 Author URI:   https://www.icebergwebdesign.com
 Template:     iceberg
 Text Domain:  northland

 START YOUR CHILD THEME CSS HERE
*/

.iceberg-fixed-navigation .iceberg-logo {
    width: 380px !important;
}

/* --- NAVIGATION --- */

/* Removes triangle in slide bar */
.iceberg-navigation .iceberg-navigation-slide-bar:before {
    content: " ";
    display: block;
    width: 0px;
    height: 0px;
    position: absolute;
    left: 50%;
    margin-left: -3px;
    bottom: 0px;
    border-width: 0px 0px 0px 0px;
    border-style: solid;
    border-color: transparent;
}

.iceberg-navigation .iceberg-navigation-slide-bar {
    border-color: #555555;
    border-bottom-width: 2px;
}

.menu-item {padding-top: 61px;}
.iceberg-fixed-navigation .menu-item {padding-top: 20px !important;}
.iceberg-fixed-navigation .iceberg-logo {width: 75px;}
.iceberg-fixed-navigation .iceberg-main-menu-right-wrap {padding-top: 30px !important;}

span#nowrap {white-space: nowrap;}

.iceberg-navigation .sf-vertical > li {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #1b3f77;
}

/* --- HOME PAGE --- */

.gdlr-core-feature-box-item .gdlr-core-feature-box-item-image {
    margin-bottom: 20px;
}

.iceberg-body h1 {
	text-shadow: 2px 2px 6px #555555;
}

/* --- HIDE BLOG THUMBNAILS ON BLOG MAIN PAGE --- */
.gdlr-core-blog-left-thumbnail .gdlr-core-blog-thumbnail-wrap{display: none;}

/* --- BUTTONS ---*/

/* Defaults for goodlayers buttons */
.iceberg-body input[type="submit"], .gdlr-core-button {
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 33px;
    display: inline-block;
    -webkit-appearance: none;
    /*border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;*/
}

/* Removes default gradient and sets default color for goodlayers buttons 
.gdlr-core-body .gdlr-core-button.gdlr-core-button-gradient {
    background: #ed1c24;
}*/

/* --- FORMS --- */

.iceberg-body input, .iceberg-body textarea {
    color: #4e4e4e;
    padding: 3px 10px;
    border: 1px solid #eeeeee;
    font-size: 18px;
    background-color: #f1f1f1;
}

/* --- GRAVITY FORMS --- */

.gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
    border: 1px solid #eeeeee;
    padding: 10px !important;
    margin: 0px 0px 5px 0px;
    background-color: #f3f3f3 !important;
}

.gform_wrapper textarea {
    border: 1px solid #eeeeee !important;
    padding: 10px !important;
    background-color: #f3f3f3 !important;
}

.gform_wrapper input[type="submit"] {
    padding: 15px 60px !important;
    background-color: #111B63 !important
}

/* #input_6_1, #input_6_2 {
    background-color: #ffffff !important;
} */
/* 4 column ready class ------------------------------------------------------*/

.gform_wrapper .top_label li.gfield.gf_one_quarter { float:left; margin-right: 0%; width: 25%; clear:right !important; }
.gform_wrapper .top_label li.gfield.gf_quarter_last { margin-right:0; }
.gform_wrapper .top_label li.gfield.gfield_error.gf_one_quarter { width: 18% }
.gform_wrapper .top_label li.gfield.gf_one_quarter input.medium, .gform_wrapper .top_label li.gfield.gf_one_quarter input.large, .gform_wrapper .top_label li.gfield.gf_one_quarter select.medium, .gform_wrapper .top_label li.gfield.gf_one_quarter select.large { width: 100% }
.gform_wrapper .top_label li.gfield.gf_one_quarter+li.gsection, .gform_wrapper .top_label li.gfield.gf_one_quarter+li.gsection { padding: 16px 0 8px 0 }
.gform_wrapper .top_label li.gfield.gf_one_quarter+li.gfield, .gform_wrapper .top_label li.gfield.gf_one_quarter+li.gfield, .gform_wrapper .top_label li.gfield.gf_one_quarter+li.gfield, .gform_wrapper .top_label li.gfield.gf_one_quarter+.gform_footer, .gform_wrapper .top_label li.gfield.gf_one_quarter+.gform_footer, .gform_wrapper .top_label li.gfield.gf_one_quarter+.gform_footer { clear: both }

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type="submit"] {
    font-size: 1em;
    width: 100% !important;
    margin: 20px 16px 0 0 !important;
    border: none;
    background-color: #b51b20 !important;
}

.gform_wrapper .gform_footer {
    padding: 0 16px 0 0 !important;
}

/* --- MISC --- */

hr {margin-top:60px; margin-bottom:60px;}

ul li {list-style-position: outside;}
ol li {list-style-position: outside;}



.gdlr-core-image-overlay.gdlr-core-gallery-image-overlay .gdlr-core-image-overlay-title {
    font-size: 15px;
    display: block;
    letter-spacing: 1px; font-weight: bold; background: #000; background: rgba(0,0,0,0.7); padding: 10px 20px;
    text-transform: uppercase;
}

.iceberg-sidebar-area .iceberg-widget-title {
    font-size: 17px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    position: relative; line-height: 1.5;
    margin-bottom: 28px;
    overflow: visible;
}

/* --- GALLERY ---*/

.gallery-item {
    display: inline-block;
    text-align: left;
    vertical-align: top;
    margin: 0 0 1.5em;
    padding: 0 1em 0 0;
    width: 50%;
}

.gallery-columns-1 .gallery-item {
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: none;
    display: inline-block;
    max-width: 100%;
}

.gallery-item a img {
    display: block;
    -webkit-transition: -webkit-filter 0.2s ease-in;
    transition: -webkit-filter 0.2s ease-in;
    transition: filter 0.2s ease-in;
    transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
    -webkit-filter: opacity(60%);
    filter: opacity(60%);
}

.gallery-caption {
    display: block;
    text-align: left;
    padding: 0 10px 0 0;
    margin-bottom: 0;
}

/* Gallery Columns */

.gallery-item {
    max-width: 25%;
}

.gallery-columns-1 .gallery-item {
    max-width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}


/* --- FOOTER --- */

.iceberg-copyright-text {
    text-transform: none;
    text-align: center;
    padding-top: 28px;
    padding-bottom: 28px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.iceberg-footer-wrapper .iceberg-widget-title {
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.menu-header {
	font-size: 20px !important;
	letter-spacing: 1px;
	text-transform: uppercase !important;
	color: #ffffff !important;
	margin-top: 30px;
}

.iceberg-navigation .sf-vertical > li {
    padding-top: 3px;
    padding-bottom: 3px;
}

/* Submenu styling */


.sf-vertical ul.sub-menu {
	position: unset;
}

.iceberg-header-side-nav.iceberg-style-left .sf-vertical > li > ul.sub-menu {
    padding-left: 20px;
}

.iceberg-navigation .sf-vertical ul.sub-menu li > a {padding: 2px 0 !important;}

.iceberg-navigation .sf-vertical ul.sub-menu li:first-child {
    padding-top: 2px;
}

.iceberg-navigation .sf-vertical ul.sub-menu li:last-child {
    padding-bottom: 2px;
}

.sf-vertical ul.sub-menu {
	margin-bottom: 0px;
}


/* --- RESPONSIVE --- */

ul.mm-listview li a { color: #dddddd !important; }

ul.mm-listview li.current_page_item a, ul.mm-listview li a:hover { color: #ffffff !important; }

.mm-menu {background-color: #222222;}

.mm-listview .mm-divider, .mm-listview > li > a, .mm-listview > li > span, .mm-navbar .mm-title { white-space: unset !important; }

/* Breakpoint for mobile header - 999px */
@media (max-width: 999px) {
    .iceberg-overlay-menu-content ul.menu > li {font-size: 20px;}
    .iceberg-logo-inner {padding: 5px 0 17px 0 !important;}
    .menu-item {padding-top: 0px;}
    .menu-header {display: none;}
	.iceberg-top-bar-right-social {display:none!important;}
}

/* Breakpoint for column stacking - 768px */
@media (max-width: 768px) {
   .iceberg-page-title { font-size: 26px !important; }
   .gdlr-core-title-item-title { font-size: 32px !important; }
   .iceberg-fixed-navigation .iceberg-logo {width: 300px !important;}
   .home-buttons {margin-top: 30px;}
}

@media (max-width: 400px) {
	.gdlr-core-body .gdlr-core-button {width: auto !important; margin-right: 0 !important; font-size: 12px !important;}
}


.iceberg-header-social {text-align: center !important;}
.iceberg-header-social a {color: #ffffff !important;}
.iceberg-header-social a:hover {color: #b9cff5 !important;}