/*
Theme Name: RDP Law Group
Author: HWDY Creative
Author URI: http://hwdycreative.com
Description: A custom theme for RDP Law Group
Version: 1.0

-------------------------------------------------------------- */
/* 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, sub, sup, 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;
  vertical-align: baseline;
  font: inherit;
  font-size: 100%;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  margin: 0;
  padding: 0;
  font-size: 62.5%;
  /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
code, kbd, tt, var {
  font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}
mark, ins {
  background: #fff9c0;
  text-decoration: none;
}
sup, sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  bottom: 1ex;
}
sub {
  top: .5ex;
}
small {
  font-size: 75%;
}
big {
  font-size: 125%;
}
figure {
  margin: 0;
}
table {
  margin: 0 0 1.5em;
  width: 100%;
}
th {
  font-weight: bold;
}
button, input, select, textarea {
  font-size: 100%;
  /* Corrects font size not being inherited in all browsers */
  margin: 0;
  /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
  vertical-align: baseline;
  vertical-align: middle;
  /* Improves appearance and consistency in all browsers */
}
button, input {
  line-height: normal;
  /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
  overflow: visible;
  /* Corrects inner spacing displayed oddly in IE6/7 */
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
  border: none;
  border-radius: 10px;
  background: #ccc;
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  /* Improves usability and consistency of cursor style between image-type 'input' and others */
  -webkit-appearance: button;
  /* Corrects inability to style clickable 'input' types in iOS */
  font-size: 12px;
  font-size: 1.4rem;
  line-height: 1;
  padding: 1.12em 1.5em 1em;
}
button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
button:focus, html input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, html input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active {
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  /* Addresses box sizing set to content-box in IE8/9 */
  padding: 0;
  /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
  -webkit-appearance: textfield;
  /* Addresses appearance set to searchfield in S5, Chrome */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration {
  /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
  -webkit-appearance: none;
}
button::-moz-focus-inner, input::-moz-focus-inner {
  /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
  border: 0;
  padding: 0;
}
/* Custom Styles */
body {
  font-family: "Poppins", futura-pt, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6em;
  color: #595D5E
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
  color: #195096;
  font-weight: 500;
  text-decoration: none;
}
.call-box:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-color: transparent;
  border-style: solid;
  border-top-width: 5.4em;
  border-right-width: 4.8em;
  border-left-color: #fff;
  border-top-color: #fff;
  z-index: 10;
}
.angled:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-color: transparent;
  border-style: solid;
  border-top-width: 8em;
  border-right-width: 6em;
  border-left-color: #fff;
  border-top-color: #fff;
  z-index: 10;
}
/*
.mega-menu-row {border-right:10px solid #F1F1F1 !important;border-left:10px solid #F1F1F1 !important; border-bottom:10px solid #F1F1F1!important}
*/
.mega-sub-menu li:last-child > a {
  border-bottom: none !important
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover {
  font-weight: 500;
  font-family: futura-pt, sans-serif;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
  font-weight: 500;
  font-family: futura-pt, sans-serif;
}
.elementor-widget-image .elementor-image > a img[src$=".svg"], .elementor-widget-image .elementor-image figure > a img[src$=".svg"] {
  width: 100% !important;
}
#mega-menu-wrap-primary {
  font-weight: 500 !important;
  font-family: futura-pt, sans-serif !important;
}
.elementor-button {
  font-weight: 500 !important;
  font-family: futura-pt, sans-serif !important;
  text-transform: uppercase
}
a {
  text-decoration-color: #fff;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link ac {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 300 !important;
  font-size: 14px;
}
.elementor-card-shadow-yes .elementor-post__card {
  -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, .1) !important;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, .1) !important;
}
.morphsearch-content {
  display: none;
}
.elementor-icon-box-description a {
  color: #00438A
}
.elementor-icon-box-description a:hover {
  text-decoration: underline
}
.elementor-card-shadow-yes .elementor-post__card:hover {
  -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, .2) !important;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, .2) !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
  box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.1)
}
.centered {
  margin: 0px auto
}
h1 {
  color: #FFFFFF;
  font-family: "Libre Baskerville", futura-pt, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2em !important;
  letter-spacing: -0.5px;
}
h2 {
  color: #195096;
  font-family: "Libre Baskerville", futura-pt, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.4em !important;
  letter-spacing: -0.5px;
}
h3 {
  color: #195096;
  font-family: "Libre Baskerville", futura-pt, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4em !important;
  letter-spacing: -0.5px;
}
h4 {
  color: #64C0F8;
  font-family: "futura-pt", futura-pt, sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.4em !important;
}
h5 {
  color: #195096;
  font-family: "Libre Baskerville", futura-pt, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4em !important;
  letter-spacing: 0px;
}
p {
  font-family: "Poppins", futura-pt, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6em !important;
	margin-bottom:20px
}
.elementor-button {
  border-radius: 0px 0px 0px 0px !important;
  padding: 15px 40px 15px 40px !important;
  color: #FFFFFF;
  background-color: #0A88D4 !important;
  font-weight: 500;
  font-family: futura-pt, sans-serif !important;
  text-transform: uppercase;
}
.elementor-button:hover {
  color: #FFFFFF;
  background-color: #0A88D4 !important;
  transform: scale(1.1);
}
.three-ctas .elementor-button {
  background-color: #FFFFFF !important;
}
.three-ctas .elementor-button .elementor-button-text {
  color: #195096 !important;
}
.three-ctas .elementor-button:hover {
  color: #fff !important;
  background-color: #0A88D4 !important;
  text-decoration: none
}
.three-ctas .elementor-button:hover .elementor-button-text {
  color: #fff !important;
  text-decoration: none
}
.elementor-widget-icon-list .elementor-icon-list-icon i {
  color: #6ec1e4;
  font-size: 16px;
  width: 1.25em;
}
.elementor-widget .elementor-icon-list-icon + .elementor-icon-list-text {
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
  padding-left: 5px;
  color: #595D5E;
}
.elementor-icon-list-icon {
  text-align: left;
}
.elementor-icon-list-item:not(:last-child) {
  padding-bottom: calc(10px/2) !important;
}
.elementor-icon-list-item a {
  color: #595D5E
}
.elementor-divider {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.elementor-divider-separator {
  width: 20% !important;
  border-top: 1px solid #64C0F8 !important
}
.elementor-button.elementor-size-md {
  font-size: 18px;
}
.elementor a {
  color: #00438A
}
.elementor a:hover {
  color: #0A88D4;
  text-decoration: underline
}
.elementor-button-text {
  color: #fff
}
.elementor-text-editor p {
  margin-bottom: 15px;
}
.elementor-text-editor h3, .elementor-text-editor h2 {
  margin-bottom: 15px;
  margin-top: 30px;
}
.elementor-text-editor h3 > :first-child {
  margin-top: 0;
}
.elementor-text-editor h2 > :first-child {
  margin-top: 0;
}
.elementor-text-editor ul {
  list-style: none; /* Remove default bullets */
    margin-left: 30px;
}

.elementor-text-editor ul li::before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #64C0F8; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}
@media screen and (max-width:768px) {
  h1 {
    font-size: 38px;
    line-height: 1.2em !important;
    letter-spacing: -0.5px;
  }
  h2 {
    font-size: 34px;
    line-height: 1.4em !important;
    letter-spacing: -0.5px;
  }
  h3 {
    font-size: 28px;
    line-height: 1.4em !important;
    letter-spacing: -0.5px;
  }
  h4 {
    font-size: 18px;
    line-height: 1.4em !important;
  }
  h5 {
    font-size: 21px;
    line-height: 1.4em !important;
    letter-spacing: 0px;
  }
  p {
    font-size: 16px;
    line-height: 1.6em !important;
  }
  .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
    padding: 10px 20px !important;
  }
  .main-nav {
    background-image: linear-gradient(270deg, #fff 15%, #FFFFFF 15%) !important
  }
  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
    padding: 0px 10px 0px 10px !important;
  }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    margin: 0px 5px 0px 5px !important;
    padding: 0px 0px 0px 0px !important;
  }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
    color: #fff !important
  }
  #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
    margin-top: 30px !important;
  }
  .call-box {
    background: #195096
  }
  .call-box:before {
    border: none
  }
    .elementor-69 .elementor-element.elementor-element-aa81960 > .elementor-element-populated {padding:15px !important; margin:0px !important}
  .elementor-element-a148898 {
    width: 50% !important;
    text-align: left !important;
    float: left !important;
  } 
  .elementor-element-3d77a7e {
    width: 50% !important; 
  }
}

@media screen and ( min-width: 2100px ) {
    
    .main-nav {background-image: linear-gradient(270deg, #195096 25%, #FFFFFF 0%) !important;}
}

.morphsearch {background:rgb(0,0,0,.85) !important}

.morphsearch-close::before, .morphsearch-close::after {background:#fff !important}

.morphsearch.open .morphsearch-input {
    font-size: 3em !important;
}

.morphsearch.open .morphsearch-form {
    width: 40% !important;
}

.morphsearch-submit {

    width: 40px !important;
    height: 40px !important;

}

.ui-autocomplete {
    width: 40% !important;
}

.morphsearch-form {background: #fff !important; padding: 30px !important; height:100px !important}