/*
Theme Name:     divi-child
Description:    
Author:         as@4swxs
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/


#footer-bottom, .et_overlay {
  display: none;
}

#main-content {
  padding:0px!important;
}

#main-footer {
    position: relative;
}

#et-secondary-menu {
  float: none;
}


#top-menu li.mega-menu>ul>li>a:first-child {
	color:#fff!important;
}
.holepunch-legend {
  margin-top:.5em;
  max-width: 250px!important;
}

#main-footer::before {
    content: "";
    background-image: url(http://www.canadamagdrills.ca/wp-content/uploads/2018/08/Group-11.png);
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-position: 90% 40%;
    background-repeat: no-repeat;
    background-size: 30%;
}

#et-top-navigation {
  background-color: #1C1C1C;
}

#et_top_search {
  display: none;
}

#top-header {
  background-color: #ffffff !important;
}

.logo_container {
  display: inline-block;
  width: 49.8%;
}


#et-secondary-menu {
  display: inline-block;
  width: 49.8%;
}

#et-secondary-menu {
  vertical-align: middle;
}

.contact-us-container {
  color: #000000 !important;  
  display: inline-block;
}

#top-header > div {
  display: none;
}



/* Desktop Only Menu Styles */

@media (min-width: 981px) {
  
  #main-header > div.container.clearfix.et_menu_container {
    padding: 0px;
  }
  
  #main-header > div.container.clearfix.et_menu_container > div.logo_container {
    text-align: left;
    padding-left: 25px;
    padding-right: 25px;

  }
  
  #menu-item-10735 {
    float: right;
    background-color: #C22623;
  }
  
  #top-menu-nav {
    width: 100%;
  }
  

  
  .et_header_style_centered #top-menu>li>a {
    padding-bottom: 0px;
  }
}

.woocommerce-Tabs-panel table{
  border:none!important;
}
.woocommerce-Tabs-panel table td {
  border:none!important;
}

.woocommerce-Tabs-panel table > tbody {
  box-shadow: 0 0 8px 0px rgba(0,0,0,.2);}

.woocommerce-Tabs-panel table > tbody > tr:nth-child(1) > td {
  background-color: #006AC0;
  color:white;

  font-weight: bold!important;
  text-align:center;
  font-size:24px;
  padding:.7em 2em!important;
  border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  letter-spacing: 1px;
  line-height:1em!important;
}


body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs li a, body.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 1em 1.5em!important;
  border-top-left-radius:5px!important;
  border-top-right-radius:5px!important;
  
}





.product-template-default #sidebar {
	display:none!important;

}

.woocommerce-Tabs-panel table tr:nth-child(odd) {
  background-color:#F5F5F5!important;
    
}


 div.woocommerce-tabs.wc-tabs-wrapper {
  border:none;
}

#tab-description {
  padding: 0px!important;
  
}

.woocommerce-Tabs-panel h2, #tab-description > h2 
{
  display:none;
}

#content-area table td, #content-area table th, #content-area table tr, #main-content table.cart td, #main-content table.cart th, #main-content table.cart tr, table.cart td, table.cart th, table.cart tr {
  padding: 1.2em 2em;
  font-weight:400;

}


body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs li, body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs li.active, body.woocommerce div.product .woocommerce-tabs ul.tabs li, body.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border:none!important;
  background-color:transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border:none;
}

.wc-tabs .active a{
  background-color:#F5F5F5!important;
      box-shadow: 0px 5px 4px 1px rgba(0,0,0,.3);
}


.wc-tabs li {

  margin-right: 5px!important;

}

body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs, body.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding-left:1em!important;
}


.wc-tabs {
  background-color:transparent!important;
  text-transform: uppercase;
  letter-spacing:.5px;
  
}

.wc-tabs a {
background-color:#D6D6D6;
  
}

.additional_information_tab {
  display:none!important;
}

#tab-videos > p {
  text-align:center;
}

#tab-hougen-resources{
  padding: 1em!important;
  background-color: #F5F5F5!important;
  box-shadow: 0px 0px 8px 0px rgba(0,0,0,.2);
  border-radius:5px;
  display: flex;
    justify-content: space-evenly;
    
    
}



#tab-videos
{
  padding: 1em!important;
  background-color: #F5F5F5!important;
  box-shadow: 0px 0px 8px 0px rgba(0,0,0,.2);
  border-radius:5px;
}
@media (min-width:981px){
#tab-videos {
  padding: 1em 25%!important;
}
}
#tab-hougen-resources p {
    width: 100%;
    display: flex;
  justify-content: center; 

}



#tab-hougen-resources a {
  background-color: #C22623;
  color:white;
  margin: 1em;
  border-radius: 5px;
  border: 2px solid #c22623;
  width: fit-content;
    margin: auto;
  margin-top: 0px;
  margin-bottom: 0px; 
}

@media (max-width:548px){

#tab-hougen-resources p {
flex-flow: column;
}
  #tab-hougen-resources a {
        margin: 0em 1em;
  }
}

#tab-hougen-resources a:hover{

  background-color:transparent!important;
  color:#C22623;
  border: 2px solid #C22623;
}




.annular-cutter-link {
  text-align:center;
  background-color:#006AC0!important;
  color:white;
 
  letter-spacing:.5px;
  font-size: 16px;
}

.annular-cutter-link td {
  background-color:#c63633!important;
  border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;

}

.annular-cutter-link a {
  color:#1c1c1c!important;
  font-weight:bold;
}
.questions-link, .questions-link a {
  text-align:center;
  color:white;

  letter-spacing:.5px;
  font-size: 20px;
  font-weight:bold;
}
.questions-link td {
  background-color:#c63633!important;
}

.sub-menu {
  margin-top: 7px;
}














@media (max-width: 767px) {
  #tab-title-additional_information > a {
    display:none!important;
  }
  
  #content-area table td, #content-area table th, #content-area table tr, #main-content table.cart td, #main-content table.cart th, #main-content table.cart tr, table.cart td, table.cart th, table.cart tr {
    padding: .857em .857em!important;
        line-height: 1.7em;
  }
}

@media (max-width: 555px) {
  #content-area table td, #content-area table th, #content-area table tr, #main-content table.cart td, #main-content table.cart th, #main-content table.cart tr, table.cart td, table.cart th, table.cart tr {
    padding: .5em 1em;
    font-size: 11px;
  }
  
  .woocommerce-Tabs-panel table > tbody > tr:nth-child(1) > td {
    font-size:18px!important;
  }
  
  #tab-description > table > tbody > tr:nth-child(10) > td:nth-child(2) {
    width:100px;
  }
  
  
  
}






/* Sidebar for Mag Drill Product Page */  /* Sidebar for Mag Drill Product Page */ /* Sidebar for Mag Drill Product Page */  /* Sidebar for Mag Drill Product Page */



.term-28 .count, .term-454 .count, .term-29 .count, .term-448 .count, .term-449 .count .term-482 .count {
    padding: 3px 10px!important;
    background-color: #1c1c1c;
    color: white;
    float: right;
    border-radius: 5px;
  }



@media (min-width: 981px){
  
  
  #sidebar {
  min-width: 260px!important;
  }
    #woocommerce_layered_nav-12,  #woocommerce_layered_nav-13,  #woocommerce_layered_nav-14 {
    margin-top: 10px!important;
    margin-bottom: 15px!important;
  }
  
  #woocommerce_layered_nav-10{
    margin-bottom: 15px!important;
  }
  .term-28 #left-area, .term-454 #left-area, .term-29 #left-area, .term-448 #left-area, .term-449 #left-area, .term-482 #left-area{
    width:75%!important;
  }
  
  .term-28 #sidebar, .term-454 #sidebar,  .term-29 #sidebar, .term-448 #sidebar, .term-449 #sidebar, .term-482 #sidebar{
        position: fixed;
    height: 100%;
    background-color: #ececec;
    left: 0;
    top: 212px;
  }
  
  .term-28 #sidebar .et_pb_widget, .term-454 #sidebar .et_pb_widget, .term-29 #sidebar .et_pb_widget, .term-448 #sidebar .et_pb_widget, .term-449 #sidebar .et_pb_widget, .term-482 #sidebar .et_pb_widget{

        width: 80%;
  }
  .term-28 #sidebar .et_pb_widget:first-child, .term-454 #sidebar .et_pb_widget:first-child, .term-29 #sidebar .et_pb_widget:first-child, .term-448 #sidebar .et_pb_widget:first-child, .term-449 #sidebar .et_pb_widget:first-child, .term-482 #sidebar .et_pb_widget:first-child {
    
    margin-top: 58px!important;
  
  }
    
  
  .term-28 #woocommerce_layered_nav-8, .term-454 #woocommerce_layered_nav-8, .term-29 #woocommerce_layered_nav-8, .term-448 #woocommerce_layered_nav-8, .term-449 #woocommerce_layered_nav-8, .term-482 #woocommerce_layered_nav-8{ 
    margin-top: 2em!important;
    
  }
  .term-28 .widgettitle, .term-454 .widgettitle, .term-29 .widgettitle, .term-448 .widgettitle, .term-449 .widgettitle, .term-482 .widgettitle {
    font-weight:bold;
    font-size:24px;
    border-bottom: .5px solid #666;
        margin-bottom: .6em;
  }
  

  
  .term-28 .count, .term-454 .count, .term-29 .count, .term-448 .count,  .term-449 .count, .term-482 .count  {
     padding: 0px 5px!important;
    background-color: #1c1c1c;
    color: white;
    float: right;
    border-radius: 5px;
  }
  
  .container {
        max-width: 1280px!important;
  }
  

}

.term-28 .widgettitle, .term-454 .widgettitle, .term-29 .widgettitle, .term-448 .widgettitle, .term-449 .widgettitle, .term-482 .widgettitle  {
    font-weight:bold;
    font-size:24px;
    border-bottom: .5px solid #666;
        margin-bottom: .6em;
  }



#sidebar .et_pb_widget {
  margin-top: 30px;
}



/* Sidebar for Mag Drill Product Page */  /* Sidebar for Mag Drill Product Page */ /* Sidebar for Mag Drill Product Page */  /* Sidebar for Mag Drill Product Page */
 




.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current{
  background-color:#fff;
  font-weight:bolder;
  color:#c22623;
  
}

.max-depth-blurbs .et_pb_blurb_content{
    transition: all .5s ease-in-out;
    width: 100%;
    height: 100%;
    margin: 0px;
    max-width: 100%;
    background-color: transparent;
}

.max-depth-blurbs .et_pb_column {
      animation: fadeTop 1s 1 cubic-bezier(.77,0,.175,1);
}



.max-depth-blurbs .et_pb_blurb_container {
  position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
  
}

.max-depth-blurbs a {
      display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.max-depth-blurbs .et_pb_blurb_content:hover {
      transform: translateY(-4px);
        box-shadow: 0px 6px 11px rgba(0, 0, 0, 0.31);
}


.max-depth-blurbs .et_pb_main_blurb_image .et_pb_animation_top.et-animated{
      animation: fadeIn 1s 1 cubic-bezier(.77,0,.175,1)!important;
  
}

.max-depth-blurbs .et_pb_main_blurb_image {
  margin-bottom: 0px!important;
display:block!important;  
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  
}

@media (min-width:981px) {
  .max-depth-blurbs .et_pb_main_blurb_image {
     max-height: 265px;
  overflow:hidden;
  }
  
  
  
}
.max-depth-blurbs h4 {
  text-align:center;
  color:white;
    height: 100%;
    z-index: 99;
    width: 100%;
  position: absolute;
  padding-bottom: 0px!important;

}

.max-depth-blurbs .et_pb_blurb_description {
  height:100%;
    width:100%;
  position:absolute;
}

.max-depth-blurbs .et_pb_blurb_description:before {
  content: "";
  display:block;
  height:100%;
    width:100%;
  position:absolute;
      background-color: rgba(0, 0, 0, 0.5);
}

.mag-drill-header .et_parallax_bg {
      background-position: 50%;
}

.post-10481 .et_shop_image:before {
  content:"Max Depth:\A 1″ (25mm)";
  display:block;
  color: #fff;
  position: absolute;
  background-color:#C22623;
  padding: .5em;
    right: 0;
  bottom: 0;
    animation:fadeIn;
  animation-duration: 1s;
  white-space:pre;
  line-height: 1.2em;
  font-size: 11px;
  
    
}

.post-10677 .et_shop_image:before, .post-6851 .et_shop_image:before, .post-6853 .et_shop_image:before, .post-10151 .et_shop_image:before, .post-10142 .et_shop_image:before, .post-10145 .et_shop_image:before, .post-10966 .et_shop_image:before, .post-10147 .et_shop_image:before, .post-10968 .et_shop_image:before, .post-11561 .et_shop_image:before, .post-11728 .et_shop_image:before {
  content:"Max Depth:\A 2″ (50mm)";
  display:block;
  color: #fff;
  position: absolute;
  background-color:#C22623;
  padding: .5em;
    right: 0;
  bottom: 0;

  animation:fadeIn;
  animation-duration: 2s;
  white-space:pre;
  line-height: 1.2em;
  font-size: 11px;

  
}

.up-sells .et_shop_image::before ,.related.products .et_shop_image::before {
display:none!important;
}

.post-6847 .et_shop_image:before, .post-6849 .et_shop_image:before, .post-6859 .et_shop_image:before, .post-10152 .et_shop_image:before, .post-10157 .et_shop_image:before, .post-10155 .et_shop_image:before {
    content:"Max Depth:\A 3″ (76mm)";
  display:block;
  color: #fff;
  position: absolute;
  background-color:#C22623;
  padding: .5em;
    right: 0;
  bottom: 0;

  animation:fadeIn;
  animation-duration: 2s;
  white-space:pre;
  line-height: 1.2em;
  font-size: 11px;

}

.post-10158  .et_shop_image:before {
  content:"Max Depth:\A 4″ (100mm)";
  display:block;
  color: #fff;
  position: absolute;
  background-color:#C22623;
  padding: .5em;
    right: 0;
  bottom: 0;
  animation:fadeIn;
  animation-duration: 2s;
  white-space:pre;
  line-height: 1.2em;
  font-size: 11px;
}

.post-10424  .et_shop_image:before {
    content:"Max Depth:\A 6″ (152mm)";
  display:block;
  color: #fff;
  position: absolute;
  background-color:#C22623;
  padding: .5em;
    right: 0;
  bottom: 0;
  animation:fadeIn;
  animation-duration: 2s;
  white-space:pre;
    line-height: 1.2em;
  font-size: 11px;
}


#top-menu li.mega-menu.mega-menu-parent-2>ul>li {
  width: 48%!important;
}

.magdrill-table tbody {
width: 100%;
    display: table;
  text-align:center;
}

.magdrill-table-header span { 
  padding:.5em;
  display:block;

}

.magdrill-table-header img {
    max-width: 170px;
    padding: .5em;
}
.magdrill-table {

  display: block;
    position: static;
    overflow-x: scroll;
  overflow-y:hidden;
  table-layout: fixed;
   transition: all ease-in-out 0.4s;
     border-collapse: separate;
  border-radius:10px;
}
.magdrill-table th {
      background-color: #fff;
    color: #006AC0!important;
    
    font-weight: bold!important;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1em!important;
      padding: 1em 3em!important
}

.magdrill-table tr:nth-child(2) th, 
.magdrill-table tr:nth-child(2) td {
  color:#fff!important;
  background-color:#006AC0!important;
}

.left-table-header{
    text-align: center;
    white-space: nowrap;
  padding:0em!important;
	writing-mode: vertical-lr;
  z-index:9999;
   }
.left-table-header > div{
width:10px;
  }
.left-table-header > div > span {
writing-mode: vertical-lr;
  }

.magdrill-table th, .magdrill-table td {
  border: 1px solid #fff;
}

.magdrill-table tr:nth-child(even) {background: #f5f5f5;}
.magdrill-table tr:nth-child(odd) {background: #FFF;}

.cutter-color-headers {
  background-color: #787878;
  color:white;
    
}

.model-specification-headers {
  background-color: #999; 
  color:white;
    
}

.aa-magdril-table {
background-color:#ccc;
  
}

.cutter-color-headers, 
.aa-magdril-table, .model-specification-headers {
  padding: 6px 10px!important;
   position:sticky;
  left:0px;
}

.magdrill-table td {
  font-size:12px;
  line-height:1.2em;
}

.sticky-column-2 {
  left:32px;
  
}
.magdrill-table-header th {
  padding:0px!important;
}




.magdrill-table {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab!important;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

 /* (Optional) Apply a "closed-hand" cursor during drag operation. */
.magdrill-table:active {
    cursor: grabbing!important;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}


.magdrill-table .table-header-row td{
     
    font-weight: bold!important;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1em!important;
  font-size:16px!important;
    padding: 1em 3em!important;
}


.magdrill-table .table-header-row td a {
  color:#fff!important;
}

.steel-styles-img{
  position:absolute;
  right:0;
  z-index:-1;
  top:0;
  max-width:50px;
}


.sub-table-header {
  background-color: #666!important;
  color: white!important;

    letter-spacing: .5px;
    font-size: 16px;
}






