/*
Theme Name: NWRS
Description: New World Reg Theme
Author: Creating Matter
Author URI: http://www.creatingmatter.com/
Version: 1.0.0
Template: Divi
*/



body { 
	   -webkit-font-smoothing: antialiased;
	font-smoothing: always;
	text-rendering: optimizeLegibility;
	   -webkit-text-size-adjust: none;
	   -ms-text-size-adjust: 100%;
}

@font-face {
	font-family: 'et-line';
	src:url('fonts/et-line.eot');
	src:url('fonts/et-line.eot?#iefix') format('embedded-opentype'),
		url('fonts/et-line.woff') format('woff'),
		url('fonts/et-line.ttf') format('truetype'),
		url('fonts/et-line.svg#et-line') format('svg');
	font-weight: normal;
	font-style: normal;
}


[data-icon]:before {
	font-family: 'et-line';
	content: attr(data-icon);
	speak: none;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	display:inline-block;
}

.home_services {
	background-color: #ffffff;
	padding: 20px 4%;
	border: 1px solid #ccc;
}

.home_services [data-icon] {
	color: #245fbb; 
	font-size: 70px;
}

.home_services h4 { margin: 10px 0 0 0; }
.home_services p { margin: 10px 0; }
.home_services a { display: block; margin-top: 10px; font-family: 'Oswald', Arial, sans-serif; }

.mobile_block { display: block; }

.the_hero h1, .the_hero p { color: #ffffff; }
.the_hero h1 { text-transform: uppercase; }

li { margin: 10px 0; }

.pg_titles {
	background-position: right 50%!important;
background-size: auto 100%;
}

.pg_titles h1 { font-size: 36px; text-transform: uppercase; color: #a2eaff; font-weight: bold; padding-bottom: 0px; margin-bottom: 0px; line-height: 1.0; }

#gform_submit_button_1, .mybtn, .gform_button {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0px!important;
  font-size: 20px!important;
  background: transparent!important;
  padding: 14px 4px 14px 4px!important;
  text-decoration: none!important;
  width: 100%!important;
  text-transform: uppercase!important;
  font-weight: bold!important;
}

#gform_submit_button_1 {
   border: solid #f1c40f 4px!important;
   color: #f1c40f!important;
}

#gform_submit_button_1:hover {
  background: #f1c40f!important;
  text-decoration: none!important;
  color: #ffffff!important;
}

.mybtn, .gform_button {
   border: solid #3498db 4px!important;
   color: #3498db!important;
}

.mybtn:hover, .gform_button:hover {
  background: #3498db!important;
  text-decoration: none!important;
  color: #ffffff!important;
}

.side_links { color: #f1c40f; display: block; }
.side_links:hover { color: yellow; }
.side_icon { font-size: 75px; margin-bottom: 20px; display: block; }

.download_bar { background-color: #226d91; padding: 40px 20px; color: #ffffff; }
.download_bar h3 { color: #ffffff; text-transform: uppercase; font-weight: bold; }

.download_bar input[type=email], .download_bar input[type=text] { border-color: #ffffff!important; }


h2,h3,h4,h5 { padding-bottom: 1em; }
ul { padding-top: 1em!important; }



.gform_wrapper, .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] { margin-bottom: 0px!important; }
.gform_wrapper .gform_footer { padding-bottom: 0px!important; }

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea { 
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
        border-bottom: 1px solid #cccccc!important; 
        color: #000000;

}


/*.gform_wrapper ul.gform_fields li.gfield { padding-right: 0px!important; }*/
.gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) { max-width: 94%!important; }

/*.gform_wrapper .hidden_label input.large, .gform_wrapper .hidden_label select.large, .gform_wrapper .top_label input.large, .gform_wrapper .top_label select.large { max-width: 94%!important; }*/

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) { padding: 20px 8px!important; } 

::-webkit-input-placeholder { font-family: Georgia, serif; font-style: italic; color: #777777; font-size: 16px!important; letter-spacing: 0px!important; }

:-moz-placeholder { font-family: Georgia, serif; font-style: italic; color: #777777; font-size: 16px!important; letter-spacing: 0px!important; }

::-moz-placeholder { font-family: Georgia, serif; font-style: italic; color: #777777; font-size: 16px!important; letter-spacing: 0px!important; }

:-ms-input-placeholder { font-family: Georgia, serif; font-style: italic; color: #777777; font-size: 16px!important; letter-spacing: 0px!important; }

/*
@media only screen and (min-width: 642px) {
.gform_wrapper .top_label li.gfield.gf_left_half, .gform_wrapper .top_label li.gfield.gf_right_half { width: 48.7%!important; }
.gform_wrapper .top_label li.gfield.gf_left_half { margin-right: 2.6%; }
}
*/

#input_2_2, #input_2_3, #gform_wrapper_3, #field_3_1, #gform_fields_3, #input_3_1, #input_3_1_6, #input_3_1_3 { margin-top: 0px!important; }

#gform_fields_3 { padding-top: 0px!important; }
#field_3_4 { margin-top: 22px!important; }

#field_3_7 { margin: 40px 0!important; }

.gform_wrapper li.hidden_label input, body .gform_wrapper ul li.gfield, #gform_submit_button_1 { margin-top: 0px!important; }

#field_2_4 { margin-top: 34px; }

#gform_1 .gform_footer { margin-top: 0px!important; padding-top: 0px!important; }





.gform_wrapper ul.gfield_checkbox li input[type=checkbox], .gform_wrapper ul.gfield_radio li input[type=radio] {
visibility: hidden;
margin: 0;
width: 0!important;
}
.gform_wrapper input[type=checkbox] + label, .gform_wrapper input[type=radio] + label { font-size: 16px; }
input[type=checkbox] + label:hover, input[type=radio] + label:hover { cursor: pointer; }
input[type=checkbox] + label:before, input[type=radio] + label:before {
font-family: "ETmodules";
font-size: 36px;
position: relative;
top: 0.3em;
margin-right: 0.2em;
}
.gform_wrapper li.gf_list_inline ul.gfield_checkbox li, .gform_wrapper li.gf_list_inline ul.gfield_radio li {
display: -moz-inline;
display: inline;
}

input[type=checkbox] + label:before { content: '\56'; }
input[type=checkbox] + label:hover:before { content: '\5a'; filter: alpha(opacity=20); opacity: 0.2; }
input[type=checkbox]:checked + label:before { content: '\5a'; }
input[type=checkbox]:checked + label:hover:before { filter: alpha(opacity=100); opacity: 1; }
input[type=radio] + label:before { content: '\5b'; }
input[type=radio] + label:hover:before { content: '\5c'; filter: alpha(opacity=20); opacity: 0.2; }
input[type=radio]:checked + label:before { content: '\5c'; }
input[type=radio]:checked + label:hover:before { filter: alpha(opacity=100); opacity: 1; }

.ginput_container_checkbox ul { padding-top: 0px!important; }
body .gform_wrapper ul li.field_description_below div.ginput_container_checkbox, body .gform_wrapper ul li.field_description_below div.ginput_container_radio { margin-top: 0px!important; }
.ginput_container_checkbox { margin-left: -20px; }





h2.team_name { padding-bottom: 0em; }
h3.team_title { margin-top: 10px; padding-bottom: 1.5em; }
.team_pic { margin: 20px 30px 20px 0px; float: left; }
.team_pic_r { margin: 20px 0px 20px 30px; float: right; }

.home_icons span { font-size: 60px; }
.home_icons p, .home_icons h2 { text-align: center; }
.home_icons h2 { padding: 20px 0 0 0; }

#footer-widgets .gform_wrapper { margin-top: 0px!important; }
#footer-widgets ul { padding-top: 0px!important; }
#footer-widgets li { margin-top: 0px!important; }
#footer-widgets .footer-widget li:before { content: none; }
#footer-widgets .footer-widget li { padding-left: 0px!important; }
#footer-widgets .gform_footer { margin-top: 0px; padding-top: 0px; }
#footer-widgets #gform_submit_button_4 { padding: 10px 0!important; }
#footer-widgets h4 { color: #777777!important; font-weight: bold; }
#footer-widgets .footer-widget a, #footer-widgets .footer-widget li a { } #footer-widgets .footer-widget li a:hover { color: yellow!important; }

/* Team Sidebar */

.team_bar_title { text-align: center; margin-bottom: 30px; }
.team_bar { padding: 0 20px; }
.team_row { width: 100%; display: block; padding: 0 0 20px; height: 60px; }
.team_subrow { margin-top: 20px!important; width: 100%; display: block; padding: 0 0 20px; clear: both; height: 60px; }
.team_img { float: left; margin-right: 20px; }
.team_bar_name { float: left; margin-top: 16px; }
.clear_it { clear: both; }
.team_row, .team_subrow { color: #f1c40f; }
.team_row:hover, .team_subrow:hover { background-color: #1d6689; color: yellow; }


@media (min-width: 1192px) {
	.home_break { display: block; }
}

@media (max-width: 980px) {
.home_icons .et_pb_column { margin-bottom: 70px; }
.home_img_scale { width: 50%; height: auto; text-align: center; }

}

/* Setting the breakpoint of the mobile menu */
@media only screen and ( max-width: 1015px ) {
#top-menu-nav, #top-menu {display: none;}
#et_top_search {display: none;}
#et_mobile_nav_menu {display: block;}
}

.header_vid {
  position: relative;
  background-color: black;
  height: 490px;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
  z-index: 0;
}

.home-vp {   
	display: flex;
  align-items: center;
  justify-content: center;
	height: 100%; 
	text-align: center; 
	z-index: 10; 
	padding: 20px 20px;
}
/*
.header_vid video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -10;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
*/

.header_vid video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 480px;
    width: auto;
    height: auto;
    z-index: -10;
    max-height: 140%;
    max-width: 280%!important;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.header_vid .container {
  position: relative;
  z-index: 2;
}

.header_vid .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 0;
}

.vp-text { color: #fff!important; }

@media (pointer: coarse) and (hover: none) {
  .header_vid {
    background: url('https://www.newworldreg.com/wp-content/uploads/2019/04/nwrs-bkg-img.png') black no-repeat center center scroll;
  }
  .header_vid video {
    display: none;
  }
}

.home-vp h1 { line-height: 1.2; margin-bottom: 10px; }
.vp-br { display: block; }

@media screen and (min-width: 699px) {
	.sent { display: block; font-size: 21px; }
	.home-vp h1 { font-size: 50px; }
}

@media screen and (max-width: 698px) {
	.home-vp h1 { font-size: 26px; }
	.sent { font-size: 19px; }
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content { width: 100%!important; }