/*
Theme Name: IB Theme
Theme URI: https://ideabox.io
Description: This is a custom child theme.
Author: IdeaBox Creations
Author URI: https://ideabox.io
Template: page-builder-framework
Version: 1.0
*/

body {
	font-family: 'proxima-nova', sans-serif;
	font-size: 18px;
	background: #eee;
	color: #333;
}
a {
	color: #e1144d;
}
a:hover {
	color: #333;
}
.wpbf-button, input[type="submit"], .pp-info-box-button {
    font-family: futura-pt;
    font-weight: 100;
	background: #e1144d;
	color: #fff;
	border: 2px solid #e1144d;
	border-radius: 5px !important;;
}
.wpbf-button:hover, input[type="submit"]:hover, .pp-info-box-button:hover {
	background: transparent;
	color: #e1144d;
}
.elementor-button:not(.pp-button),
.pp-info-box-button {
    color: #e1144d;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(to right, #e1144d 50%, #fff 50%);
    background-size: 202% 100%;
    background-position: right bottom;
    transition: all .5s ease-out;
}
.elementor-button:not(.pp-button):hover,
div.pp-gravity-form .gform_footer input[type="submit"]:hover,
.pp-info-box-button:hover {
    color: #fff;
    background-position: left bottom;
}
textarea, select, input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], input[type="datetime"] {
	border: 1px solid #929292;
	border-radius: 5px;
}
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-nav-menu .elementor-nav-menu--main,
.elementor-widget-slides .elementor-slide-heading,
h1, h2, h3, h4, h5, h6 {
	font-family: 'futura-pt', sans-serif;
	font-weight: 400 !important;
}

.elementor-widget-slides .elementor-slide-description,
.elementor-widget-slides .elementor-slide-button {
	font-family: 'proxima-nova', sans-serif;	
}
.elementor-button.elementor-size-sm {
	padding: 8px 24px;
}
.wpbf-container {
	max-width: 100%;
	padding: 0;
}
#container,
.elementor-location-footer .elementor-inner {
      max-width: 1700px;
	padding-bottom: 0;
	margin: 0 auto;
	overflow: hidden;
}
.elementor-location-footer .elementor-inner {
	padding: 0;	
}
.wpbf-main {
	background: #fff;
}

/* 404 Style */
@-webkit-keyframes eyes {
  0%,
	8.8888888889%,
  100% {
    top: -50px;
  }
  17.7777777778% {
    top: -45px;
  }
  91.1111111111% {
    top: -20px;
  }
  57.7777777778%,
	88.8888888889% {
    top: -15px;
  }
  66.6666666667% {
    top: -25px;
  }
}
@keyframes eyes {
  0%,
	8.8888888889%,
  100% {
    top: -50px;
  }
  17.7777777778% {
    top: -45px;
  }
  91.1111111111% {
    top: -20px;
  }
  57.7777777778%,
	88.8888888889% {
    top: -15px;
  }
  66.6666666667% {
    top: -25px;
  }
}
@-webkit-keyframes wings {
  0%,
	88.8888888889%,
  100% {
    top: 70px;
  }
  91.1111111111% {
    top: 60px;
  }
}
@keyframes wings {
  0%,
	88.8888888889%,
  100% {
    top: 70px;
  }
  91.1111111111% {
    top: 60px;
  }
}
@-webkit-keyframes feet {
  0%,
	88.8888888889%,
  100% {
    top: -2px;
  }
  91.1111111111% {
    top: 0px;
  }
}
@keyframes feet {
  0%,
	88.8888888889%,
  100% {
    top: -2px;
  }
  91.1111111111% {
    top: 0px;
  }
}
.error404-container {
    position: relative;
    text-align: center;
}
.error404-container img {
    display: inline-block;
    z-index: 2;
    position: relative;
    margin: 0 10px;
    width: 170px;
}
.error404-container .bird {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}
.error404-container .bird .body {
    width: 175px;
    height: 186px;
    border-radius: 50%;
    background-clip: padding-box;
    background-color: #e1144d;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.3);
}
.error404-container .bird .body:before, .error404-container .bird .body:after {
    position: absolute;
    content: "";
    z-index: -1;
    width: 26px;
    height: 93px;
    border-radius: 50%;
    background-color: #f01a4f;
    box-shadow: inset 0 0 13px rgba(0, 0, 0, 0.3);
    top: 70px;
    -webkit-animation: wings 4.5s linear infinite;
    animation: wings 4.5s linear infinite;
}
.error404-container .bird .body:before {
    left: 0;
}
.error404-container .bird .body:after {
    right: 0;
}
.error404-container .wire {
    position: absolute;
    z-index: 1;
    width: 350px;
    height: 330px;
    left: -88px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: black;
}
.error404-container .bird .body .eye {
    position: absolute;
    z-index: 1;
    overflow: hidden;
    width: 50px;
    height: 50px;
    top: 28px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #f01a4f;
    box-shadow: inset 0 0 0 1px #f01a4f;
}
.error404-container .bird .body .eye.left {
    left: 15px;
}
.error404-container .bird .body .eye.right {
    right: 15px;
}
.error404-container .bird .body .eye:before, .error404-container .bird .body .eye:after {
    position: absolute;
    content: "";
}
.error404-container .bird .body .eye:before {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #000;
    top: 25px;
}
.error404-container .bird .body .eye:after {
    width: 200px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(109, 0, 25, 0) 0%, rgba(130, 1, 31, 0) 35%, #f01a4f 36%, #f01a4f 100%);
    -webkit-animation: eyes 4.5s linear infinite;
    animation: eyes 4.5s linear infinite;
}
.error404-container .bird .body .eye.left:before {
    left: 15px;
}
.error404-container .bird .body .eye.left:after {
    left: -60px;
    top: -40px;
}
.error404-container .bird .body .eye.right:before {
    right: 15px;
}
.error404-container .bird .body .eye.right:after {
    right: -60px;
    top: -40px;
}
.error404-container .bird .body .beak {
    position: absolute;
    z-index: 1;
    width: 41px;
    height: 55px;
    top: 70px;
    left: 67px;
    border-radius: 50%;
    background-color: #31bfae;
}
.error404-container .bird .body .beak:before {
    position: absolute;
    content: "";
    width: inherit;
    height: inherit;
    top: 2px;
    left: 0;
    border-radius: 50%;
    background: #eb9f2d;
}
.error404-container .bird .body .beak:after {
    position: absolute;
    content: "";
    z-index: -1;
    width: 37px;
    height: inherit;
    top: 12px;
    left: 2px;
    border-radius: 50%;
    background: #c7083f;
}
.error404-container .bird .body .beak div {
    position: absolute;
    width: 43px;
    height: 43px;
    top: -1px;
    left: -1px;
    border-radius: 50% 60% 50% 40%;
    background-clip: padding-box;
    background-color: #f7d35d;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.error404-container .bird .body .beak div:before {
    position: absolute;
    content: "";
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 17px;
    height: 8px;
    top: 10px;
    left: 20px;
    border-radius: 50%;
    background-color: #fff;
}
.error404-container .bird .body .feet {
    position: absolute;
    bottom: 15px;
    width: 100%;
    z-index: 2;
}
.error404-container .bird .body .feet:before,
.error404-container .bird .body .feet:after {
    position: absolute;
    content: "";
    width: 27px;
    height: 21px;
    border-radius: 50%;
    background-color: #f8c14d;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.2);
    -webkit-animation: feet 4.5s linear infinite;
    animation: feet 4.5s linear infinite;
}
.error404-container .bird .body .feet:before {
    left: 40px;
}
.error404-container .bird .body .feet:after {
    right: 40px;
}

/* Contact Map */
@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(137, 166, 239, 0.3), 0 0 0 8px rgba(137, 166, 239, 0.3), 0 0 0 16px rgba(137, 166, 239, 0.3), 0 0 0 24px rgba(137, 166, 239, 0.3);
}
  100% {
    box-shadow: 0 0 0 8px rgba(137, 166, 239, 0.3), 0 0 0 16px rgba(137, 166, 239, 0.3), 0 0 0 24px rgba(137, 166, 239, 0.3), 0 0 0 32px rgba(137, 166, 239, 0);
}
}
@-webkit-keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(137, 166, 239, 0.3), 0 0 0 8px rgba(137, 166, 239, 0.3), 0 0 0 16px rgba(137, 166, 239, 0.3), 0 0 0 24px rgba(137, 166, 239, 0.3);
}
  100% {
    box-shadow: 0 0 0 8px rgba(137, 166, 239, 0.3), 0 0 0 16px rgba(137, 166, 239, 0.3), 0 0 0 24px rgba(137, 166, 239, 0.3), 0 0 0 32px rgba(137, 166, 239, 0);
}
}

.contact-map {
    position: relative;
}
.contact-map img {
    width: 100%;
}
.contact-map .dot-mn {
    background-color: #e1144d;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    animation: ripple 1s linear infinite;
    -webkit-animation: ripple 1s linear infinite;
}
.contact-map .dot-nj {
    top: 44.5%;
    left: 23.05%;
}
.contact-map .dot-in {
    top: 53.1%;
    right: 29.05%;
}
.contact-map .dot-mn .loc-mn {
    font-size: 16px;
    font-weight: 600;
    color: #223464;
    position: absolute;
    box-shadow: 0 2px 4px 0 rgba(21, 30, 70, 0.12);
    border: solid 1px rgba(21, 30, 70, 0.04);
    border-radius: 4px;
    padding: 5px;
    left: 24px;
    top: -23px;
    background: white;
    width: 154px;
    text-align: center;
}
.contact-map .dot-mn .loc-mn:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 18px;
    margin-left: -86px;
    width: 0px;
    height: 0px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}
.contact-map .dot-mn .loc-mn .ttl {
    border-top: 1px solid #e9ebf8;
    margin: 12px auto 0;
    width: 120px;
}
.contact-map .dot-mn .loc-mn .ttl .tt {
    font-size: 14px;
    color: #7e85ae;
    background: white;
    margin: -12px auto 0;
    width: 90px;
    font-weight: 400;
    text-align: center;
}


/* Footer */

.footer-social-menu {
    text-align: right;
    margin-bottom: 0;
    font-family: 'futura-pt', Sans-Serif;
    padding: 0;
}
.footer-social-menu li {
    display: inline-block;
    text-transform: lowercase;
    margin-right: 20px;
    position: relative;
}
.footer-social-menu li:last-child {
    margin-right: 0;
}
.footer-social-menu a {
    color: #fff;
    line-height: 20px;
    display: block;
    padding: 13px 0;
}

.footer-social-menu a:after {
    content: "";
    opacity: 0;
    bottom: 0;
    left: calc(100% + 20px);
    width: 10px;
    height: 3px;
    display: block;
    background-color: #ffffff;
    position: absolute;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transition-timing-function: cubic-bezier(.58,.3,.005,1);
    -o-transition-timing-function: cubic-bezier(.58,.3,.005,1);
    transition-timing-function: cubic-bezier(.58,.3,.005,1);
}

.footer-social-menu a:hover:after {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    width: 100%;
    left: 0;
}



/* Media Queries */

@media only screen and (max-width: 1400px) {
	.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1140px !important;
}
}

@media only screen and (max-width: 1024px) {
	.elementor-section.elementor-section-boxed > .elementor-container {
		padding: 0 20px;
	}
	.error404 .error404-block > .elementor-container {
		padding: 0;
	}
	.error404 .error404-block .elementor-column-wrap {
		box-shadow: none !important;
	}
	.error404-container img {
        width: 130px;
    }
}
@media only screen and (max-width: 1024px) {
    .footer-social-menu li {
        margin-right:5px;
        font-size: 13px;
    }
}

@media only screen and (max-width: 767px) {
    .contact-map .dot-mn .loc-mn {
        padding: 5px 2px;
        width: 130px;
        font-size: 14px;
    }
    .contact-map .dot-mn .loc-mn:after {
        left: 60%;
        bottom: 22px;
    }
    .contact-map .dot-mn .loc-mn .ttl .tt {
        font-size: 12px;
    }
    .footer-social-menu {
        text-align: center;
        margin-left: 0;
        padding-left: 0;
    }
    .footer-social-menu li {
        margin-right: 5px;
    }
}
@media only screen and (max-width: 600px)  {
    .error404-container img {
        width: 100px;
        margin: 0;
    }
    .error404-container .wire {
        height: 500px;
        left: -92px;
        z-index: -10;
        bottom: -8px;
    }
    .error404-container .bird .body {
        width: 160px;
        height: 170px;
    }
    .error404-container .bird .body .beak {
        left: 60px;
    }
}
@media only screen and (max-width: 480px)  {
    .error404-container img {
        width: 90px;
        margin: 0 -5px;
    }
    #inner-content.wpbf-container {
        padding-bottom: 0;
    }
}
@media only screen and (max-width: 370px)  {
    .error404-container img {
        width: 70px;
    }
    .error404-container .bird .body {
        width: 150px;
        height: 160px;
    }
    .error404-container .wire {
        width: 330px;
        height: 550px;
        left: -85px;
        z-index: -10;
        bottom: -6px;
    }
    .error404-container .bird .body .beak {
        left: 55px;
    }
}