/*
Theme Name: TechBear
Version: 1.0.6
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author:   TechBear
Author URI: https://techbear.com
Template: Divi
*/

@import url("../Divi/style.css");


/* Menu Dropdown */
@media all and (min-width: 980px){
.nav li ul {
    position: absolute;
    padding: 0;
}
#top-menu li li {
    margin: 0;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid #eee;
}
#top-menu li li a {
    width: 100%;
    padding: 6px 0 6px 16px;
    display: block;
}
}
/* Collapsable Menu */
#main-header .et_mobile_menu .menu-item-has-children > a { background-color: transparent; position: relative; }
#main-header .et_mobile_menu .menu-item-has-children > a:after { font-family: 'ETmodules'; text-align: center; speak: none; font-weight: normal; font-variant: normal; text-transform: none; -webkit-font-smoothing: antialiased; position: absolute; }
#main-header .et_mobile_menu .menu-item-has-children > a:after { font-size: 16px; content: '\4c'; top: 13px; right: 10px; }
#main-header .et_mobile_menu .menu-item-has-children.visible > a:after { content: '\4d'; }
#main-header .et_mobile_menu ul.sub-menu { display: none !important; visibility: hidden !important;  transition: all 1.5s ease-in-out;}
#main-header .et_mobile_menu .visible > ul.sub-menu { display: block !important; visibility: visible !important; }

/* Ninja Forms */
.nf-field-element input, .nf-field-element select, .nf-field-element textarea {
    padding: 5px;
}
input.ninja-forms-field[type="button"] {
    background: #fff;
    color: #0d3c6c;
    border: 1px solid #0d3c6c;
    padding: 10px 20px;
    font-size: 15px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
	cursor: pointer;
	}
input.ninja-forms-field[type="button"]:hover {
	color: #fff;
    background: #0d3c6c;
	}

/* Footer */
#footer-widgets .footer-widget li {
	    padding-left: 0;
}
#footer-widgets .footer-widget h4.title {
	   padding-bottom: 30px;
}
#footer-widgets .footer-widget li:before {
	display:none;
}
#footer-bottom {
    padding: 0;
    background-color: #1f1f1f;
    background-color: rgba(0, 0, 0, 0.32);
}
#footer-bottom a {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

/* Copyright footer */
#footer-tb {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 8px;
	padding-bottom: 8px;
}
#footer-tb .copyright {
	color: #fff;
	margin-top: 8px;
	text-align: center;
}
#footer-tb #footer-tb-a {
	display: flex;
	align-items: center;
	filter: grayscale(0%);
	transition: all .4s ease-in-out;
	color: #fff;
}
#footer-tb #footer-tb-a:hover {
	cursor: pointer;
	filter: grayscale(100%);
}
@media (min-width: 769px) {
	#footer-tb {
		flex-direction: row;
		justify-content: space-between;
	}
	#footer-tb .copyright {
		margin-top: 0;
	}
}

@media (min-width: 981px) {
/******** START RESPONSIVE > FOOTER ********/
/* START Responsive > Footer > 3 column */
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget {
    width: 31.267%;
}
/* END Responsive > Footer > 3 column */

/* START Responsive > Footer > 4 column */
.et_pb_gutters3.et_pb_footer_columns4 .footer-widget {
    width: 22.675%;
}
.et_pb_gutters3 .footer-widget {
    margin-right: 3%;
}
/* END Responsive > Footer > 4 column */

/* START Responsive > Footer > 5 column */
.et_pb_gutters3.et_pb_footer_columns5 .footer-widget {
	width: 17.6%;
}
/* END Responsive > Footer > 5 column */

/* START Responsive > Footer > 6 column */
.et_pb_gutters3.et_pb_footer_columns6 .footer-widget {
    width: 14.083%;
}
/* END Responsive > Footer > 6 column */

/* START Responsive > Footer > 1.5 - 3 - 1.5 column */
.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(-n+3):not(:nth-child(2)) {
    width: 22.875%;
}
/* END Responsive > Footer > 1.5 - 3 - 1.5 column */

/* START Responsive > Footer > 1/4 - 3/4 column */
.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(1) {
    width: 23.375%;
}
/* END Responsive > Footer > 1/4 - 3/4 column */
/******** END FOOTER ********/
}
@media (max-width: 980px) {
    #footer-widgets {
        text-align: center;
    }
    .fwidget {
        text-align: center;
        width: 100%;
    }
}

/* Animations */
.overflow {
  overflow: hidden;
  height: 300px;
  width: 300px;
  display: inline-block;
}
.tb-animate img {
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.tb-zoom:hover img {
-moz-transform: scale(1.05);
-webkit-transform: scale(1.05);
-o-transform: scale(1.05);
-ms-transform: scale(1.05);
transform: scale(1.05);
}
.tb-zoomout img{
  -moz-transform: scale(1.15);
-webkit-transform: scale(1.15);
-o-transform: scale(1.15);
-ms-transform: scale(1.15);
transform: scale(1.15);
}
.tb-zoomout:hover img{
  -moz-transform: scale(1.00);
-webkit-transform: scale(1.00);
-o-transform: scale(1.00);
-ms-transform: scale(1.00);
transform: scale(1.00);
}
.tb-opacity:hover img {
  opacity: 0.7; /* Modern Browsers */
    filter: alpha(opacity=70); /* For IE8 and earlier */
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; /* IE8 */
}
.tb-darker:hover img {
 -webkit-filter: brightness(60%); /* Safari */
    filter: brightness(60%);
}
.tb-lighter:hover img {
-webkit-filter: brightness(160%); /* Safari */
    filter: brightness(160%);
}
.tb-grayscale:hover img {
    -webkit-filter: grayscale(100%); /* Safari */
    filter: grayscale(100%);
}

.tb-color img {
  -webkit-filter: grayscale(100%); /* Safari */
    filter: grayscale(100%);
}
.tb-color:hover img {
  -webkit-filter: grayscale(0%); /* Safari */
    filter: grayscale(0%);
}
.tb-round:hover img {
    border-radius: 50%;
}
/* Social profile icons for widget */
ul.social-profiles {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: auto;
  width: auto;
}
ul.social-profiles li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
a.social {
    font-size: 1.3em;
    line-height: 1.2em;
    padding: 6px;
    height: 2rem;
    width: 2rem;
    text-align: center;
    background: #2ba3f2;
    color: #fff;
    margin: 3px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
a.social:hover, a.social:focus {
  background: #258ed4;
}
