/*
Theme Name: TechBear
Version: 1.0.5
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-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;
    color: #fff !important;
}
#footer-tb a:first-child {
    float: left;
    padding-top: 10px;
}
#footer-tb a:last-child {
    color: #fff !important;
    float: left;
    margin-left: 10px;
    padding: 15px 0 0 0;
}
p.copyright {
    float: right;
    line-height: 50px;
    color: #fff;
}
@media (max-width: 980px) {
    #footer-tb {
        display: block;
        margin: 0 auto;
        width: 190px;
    }
    p.copyright {
        float: right;
        line-height: 50px;
        color: #fff;
        font-size: 12px;
        width: 100%;
        text-align: center;
    }
    #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%;
}
@media only screen and (max-width: 980px) {
#footer-tb a:last-child{
margin-left:5px !important;
}
}