/*
 Theme Name:     South Seas Construction
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */


@media screen and (min-width: 981px) {
#page-container {
    top: 241px !important;
    padding-top: 241px !important;
}
}

.et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_split .et-fixed-header #et-top-navigation { padding-top: 0;}
.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a, .et_header_style_split .et-fixed-header #et-top-navigation nav > ul > li > a { padding: 20px;}
#et_top_search { margin-top: 20px;}
#et-secondary-nav .menu-item-has-children > a:first-child::after, #top-menu .menu-item-has-children > a:first-child::after, .fullwidth-menu .menu-item-has-children > a:first-child::after { top: 20px;}
.nav li ul, .fullwidth-menu li li a, #top-menu li li a { width: 200px;}
#top-menu li li { padding: 0;}
#top-menu li li a { padding: 6px 10px;}
.et_pb_blurb_position_left .et-pb-icon, .et_pb_blurb_position_right .et-pb-icon { font-size: 24px;}
.nbscontent h1, .nbscontent h2, .nbscontent h3, .nbscontent h4, .nbscontent h5, .nbscontent h6 { margin-top: 20px!important; margin-bottom: 20px; line-height: 1.1em!important;}
/*------------------gallery ------------*/
.gallery-3 .et_pb_gallery_grid .gutter_width { width: 10px; }
.gallery-3 .et_pb_gallery_grid .et_pb_gallery_item { margin-bottom:18px !important; }
.gallery-3 .et_pb_gallery_grid .et_pb_gallery_item { clear:none !important; }
.gallery-3 .et_pb_gallery_grid .et_pb_gallery_item { width: 31% !important; margin-right:2% !important; }
.gallery-3 .et_pb_gallery_grid .et_pb_gallery_item:nth-child(3n) { margin-right:0 !important; }
.gallery-3 .et_pb_gallery_grid .et_pb_gallery_item:nth-child(3n+1) { clear:both !important; }
.gallery-3 .et_pb_gallery_grid .et_pb_gallery_image img { min-height: 0 !important; }


.gallery-4 .et_pb_gallery_grid .gutter_width { width: 10px; }
.gallery-4 .et_pb_gallery_grid .et_pb_gallery_item { margin-bottom:10px !important; clear:none !important; width: 24% !important; margin-right:1% !important; }
.gallery-4 .et_pb_gallery_grid .et_pb_gallery_item:nth-child(4n) { margin-right:0 !important; }
.gallery-4 .et_pb_gallery_grid .et_pb_gallery_item:nth-child(4n+1) { clear:both !important; }
.gallery-4 .et_pb_gallery_grid .et_pb_gallery_image, .gallery-4 .et_pb_gallery_grid .et_pb_gallery_image.landscape img { height: 160px !important;}
.gallery-4 .et_pb_gallery_grid .et_pb_gallery_image img { min-height: 0 !important; }
/*------------------gallery  end------------*/
.contact-info p::before { margin-right: 5px; border: medium none!important;}
.contact-info p.contact-phone:before { content: '\e090'!important; font-family: "ETmodules"!important; }
.contact-info p.contact-email:before { content: '\e010'!important; font-family: "ETmodules"!important; }
.contact-info p.contact-address:before { content: '\e01d'!important; font-family: "ETmodules"!important; }
.et_pb_widget_area_right { height: 100%;}

#main-footer .footer-widget h4 { padding-bottom: 25px;}
#footer-widgets .footer-widget li::before { display: none;}
.gform_wrapper { margin: 0!important;}
.footer-widget .large { background: rgba(255, 255, 255, 0.05) none repeat scroll 0 0!important; margin: 0!important; max-height: 8em!important;  padding: 10px!important;}
.gform_footer.top_label { padding: 0!important;}
.sidebar .gform_button.button { color: #ffffff!important; text-transform: uppercase;}
.footer-widget .gform_button.button { width: 96%!important; color: #ffffff!important; text-transform: uppercase;}
.footer-logo { width: 120px;}
#gform_2 .large { background: #ffffff none repeat scroll 0 0!important; border: 1px solid #dddddd!important; color: #333333; margin: 0;  max-height: 10em; padding: 10px;}
.sidebar #gform_wrapper_1.gform_wrapper { background: #f5f5f5 none repeat scroll 0 0; border: 1px solid #dbdbdb;  padding: 10px 20px 20px;}
.sidebar #gform_1 .large { background: #ffffff none repeat scroll 0 0; border: 1px solid #dddddd; color: #333333;  margin: 0; max-height: 8em; padding: 10px;}
h4.widgettitle { font-size: 24px; padding-bottom: 30px;}
input:focus, textarea:focus { box-shadow: 0 0 8px rgba(0, 0, 0, 0.1)!important;}

#callnowbutton {	font-weight: 900!important; font-size: 200%!important; letter-spacing: 1px!important;}
#callnowbutton img { margin-right: 10px!important;}
/*-------------------------------Mobile--------------------------*/
@media screen and (max-width:1024px){
}
@media screen and (min-width:768px) and (max-width:1023px){
#logo { max-height: 80%;}
.header-section .et_pb_column.et_pb_column_1_4 { width: 33%!important;}
.header-section .et_pb_column_1_4:first-child { display: none;}
}
@media screen and (min-width:568px) and (max-width: 767px){ 
.header-section .et_pb_column.et_pb_column_1_4 { width: 50%!important;}
.header-section .et_pb_button_alignment_right.et_pb_module { text-align: left;}
}
@media screen and (min-width:320px) and (max-width: 567px){ 
.header-section .et_pb_button_alignment_right.et_pb_module { text-align: left;}
.header-section .et_pb_column.et_pb_column_1_4 { width: 50%!important;}
.phone::before { margin-right: 5px!important; padding: 7px!important;}
.phone p { font-size: 13px!important;  color: #666!important;}
}
@media screen and (min-width:320px) and (max-width: 359px){ 
.phone p { font-size: 12px!important;}
}
@media screen and (min-width:320px) and (max-width: 767px){ 
#logo { max-height: 80%;}
.gallery-2 .et_pb_gallery_grid .et_pb_gallery_item, .gallery-3 .et_pb_gallery_grid .et_pb_gallery_item, .gallery-4 .et_pb_gallery_grid .et_pb_gallery_item { width: 100% !important; margin-right:0 !important; }
.header-section .et_pb_column_1_4:first-child, .header-section .et_pb_column_1_4:last-child { display: none!important;}
.et_pb_gallery { margin: 0 auto; max-width: 225px;}
}
/*-------------------------------Mobile end-------------------------*/