/*
 Theme Name:  Breco
 Theme URI:    https://www.bridgetonequip.com/
 Description:  Child Theme for Divi
 Author:       INDiVO
 Author URI:   https://www.indivo.com/
 Template:     Divi
 Version:      1.0.0
 */

 /***** Begin custom CSS *****/
 /* General */
 .vertical-align { display: flex; flex-direction: column; justify-content: center; }
.et_pb_text_0 h1 {word-wrap:normal;}

 /* Mobile Menu */

 .mobile_menu_bar::before {color:#FAF61B!important;}

 /* end mobile */

 /* Page loading animation */
 .loader { position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; z-index: 9999; background: url("/wp-content/uploads/2021/02/animated-breco-icon.gif") 50% 50% no-repeat; background-color: rgba(250, 246, 27, 0.8); }

 /* end page loader */
 .iframe-video-wrapper { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -9999; pointer-events: none; overflow: hidden; }
.iframe-video-wrapper iframe { width: 100vw; height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */ min-height: 100vh min-width: 100.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 *//*  position: absolute;
    top: 50%;
    left: 50%;
  transform: translate(-50%, -50%);*/ }







  /* Changing stack order on mobile */
  @media all and (max-width:980px) {

    /*** wrap row in a flex box ***/
    .custom_row { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; /* Safari 6.1+ */ flex-wrap: wrap; }

    /*** custom classes that will designate the order of columns in the flex box row ***/
    .first-on-mobile { -webkit-order: 1; order: 1; }
    .second-on-mobile { -webkit-order: 2; order: 2; }
    .third-on-mobile { -webkit-order: 3; order: 3; }
    .fourth-on-mobile { -webkit-order: 4; order: 4; }


    /*** add margin to last column ***/
    .custom_row:last-child .et_pb_column:last-child { margin-bottom: 30px; }
  }

  /* No hamburger footer menu */
  @media screen and (max-width:980px) {
    #custom-footer-menu .et_pb_menu__menu { display: block; }
    #custom-footer-menu .mobile_menu_bar { display: none; }
  }

  /* Extra Tablet styling */
  @media only screen and (min-device-width:769px) and (max-device-width:1200px) {
    .et_pb_text_0 h1 { font-size: 41px !important; }
    .et_pb_text_1 h2 { font-size: 24px !important; }
    .et_pb_text_3 h2 { font-size: 24px !important; }
    .et_pb_text_5 h2 { font-size: 24px !important; }
    .et_pb_text_7 h2 { font-size: 24px !important; }
    .et_pb_image_7 { padding-top: 0px !important; }
    .et_pb_column_7 { padding-top: 0 !important; }
    .et_pb_text_9 h3 { padding-top: 0px !important; }
    .et_pb_column_11 { padding-top: 0px !important; }
    .et_pb_text_13 { margin-top: 0px !important; }
    .et_pb_text_15 { margin-top: 0px !important; }
    .et_pb_column_17 { padding-top: 0px !important; }
  }

  /* tablet Adjustments */

  /*----------- iPad Pro ----------- */
  /* Portrait and Landscape */
  @media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
    


  }

  .tablet_show {display: none !important;}
@media only screen and (max-width:1300px) {
    .et_pb_text_0 h1 { font-size: 52px !important; }
  }
    @media only screen and (max-width:1070px) {
    .et_pb_text_0 h1 { font-size: 46px !important; }
  }
  @media screen and (max-width: 1025px) {
    .tablet_hide {display: none !important;}
    .tablet_show {display: block !important;}
    .bulletlist li {font-size: 17px; line-height: 1.4;}
    .mobile_text p {color:#fff !important;}
    .mobile_text a {color:#fff !important;}
    .custom_row:last-child .et_pb_column:last-child {margin-bottom: 0px;}
  }

  /* Extra Iphone styling */
  @media only screen and (max-width: 420px) {
    .et_pb_text_0 h1 { font-size: 30px !important; }
    .et_pb_text_1 h2 { font-size: 24px !important; }
    .et_pb_text_3 h2 { font-size: 24px !important; }
    .et_pb_text_5 h2 { font-size: 24px !important; }
    .et_pb_text_7 h2 { font-size: 24px !important; }
    .et_pb_image_7 { padding-top: 0px !important; }
    .et_pb_column_7 { padding-top: 0 !important; }
    .et_pb_text_9 h3 { padding-top: 0px !important; }
    .et_pb_column_11 { padding-top: 0px !important; }
    .et_pb_text_13 { margin-top: 0px !important; }
    .et_pb_text_15 { margin-top: 0px !important; }
    .et_pb_column_17 { padding-top: 0px !important; }
  }