
@import url('https://fonts.googleapis.com/css2?family=Open+Sans');

/* Global Styles */
:root{
--SJelectrical-gray:#CDCDCD;
--SJelectrical-black:#373737;
--SJelectrical-orange:#ff7200;
--SJelectrical-font:'Open Sans', sans-serif;
--dotsystems-color:#F7EC45;
--dotsystems-black:#000000;
--crabs-white:#ffffff;
}

html{
    scroll-behavior: smooth;
}

.bg-electrical{
    background-color: var(--SJelectrical-orange)!important;
}

.bg-electrical-gray{
    background-color: var(--SJelectrical-gray);
}

.text-electrical{
    color:var(--SJelectrical-orange); 
}
.text-footer{
    font-size: 1rem;
}

@media screen and(max-width: 400px){
    .contact-link{
        font-size: .2rem!important;
    }
}

hr.style1 { 
    border: 0; 
    height: 1px; 
    background-image: -webkit-linear-gradient(left, #f0f0f0, #ff7200, #f0f0f0);
    background-image: -moz-linear-gradient(left, #f0f0f0, #ff7200, #f0f0f0);
    background-image: -ms-linear-gradient(left, #f0f0f0, #ff7200, #f0f0f0);
    background-image: -o-linear-gradient(left, #f0f0f0, #ff7200, #f0f0f0); 
  }

/* navbar */

.subtitle-principal{
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1.25rem;
    font-weight: bold;
}
.subtitle-secondary{
    font-style: italic;
}

.nav-link, .dropdown-item{
    color:var(--dotsystems-black)!important;
    transition: background-color .5s, color .5s;
    text-decoration: none;
}

.nav-link:hover, .dropdown-item:hover{   
    color:var(--SJelectrical-orange)!important;
    background-color: var(--crabs-white);
    border-radius: 5px;

}

  /*social-buttons dotSystems*/

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: -10px;
  }
  .social-buttons__button {
    margin: 10px 5px 0;
  }
  
  .social-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    width: 70px;
    height: 70px;
    text-decoration: none;
  }
  .social-button__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border-radius: 100%;
    background: #fff;
    text-align: center;
  }
  .social-button i,
  .social-button svg {
    position: relative;
    z-index: 1;
    transition: 0.3s;
  }
  .social-button i {
    font-size: 28px;
  }
  .social-button svg {
    height: 40%;
    width: 40%;
  }
  .social-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 0;
    height: 0;
    border-radius: 100%;
    transition: 0.3s;
  }
  .social-button:focus, .social-button:hover {
    color: #fff;
  }
  .social-button:focus::after, .social-button:hover::after {
    width: 100%;
    height: 100%;
    margin-left: -50%;
  }
  .social-button--mail {
    color: #0072c6;
  }
  .social-button--mail::after {
    background: #0072c6;
  }
  .social-button--facebook {
    color: #3b5999;
  }
  .social-button--facebook::after {
    background: #3b5999;
  }
  .social-button--linkedin {
    color: #0077b5;
  }
  .social-button--linkedin::after {
    background: #0077b5;
  }
  .social-button--github {
    color: #6e5494;
  }
  .social-button--github::after {
    background: #6e5494;
  }
  .social-button--codepen {
    color: #212121;
  }
  .social-button--codepen::after {
    background: #212121;
  }
  .social-button--steam {
    color: #7da10e;
  }
  .social-button--steam::after {
    background: #7da10e;
  }
  .social-button--snapchat {
    color: #eec900;
  }
  .social-button--snapchat::after {
    background: #eec900;
  }
  .social-button--twitter {
    color: #55acee;
  }
  .social-button--twitter::after {
    background: #55acee;
  }
  .social-button--instagram {
    color: #e4405f;
  }
  .social-button--instagram::after {
    background: #e4405f;
  }
  .social-button--youtube {
    color: #FF0000;
  }
  .social-button--youtube::after {
    background: #FF0000;
  }

  /*Contact-us*/
.google-maps {
    position: relative;
    padding-bottom: 40%;
    height: 0;
    overflow: hidden;
  }
  .google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }

  .dotsystems-link{
    color:var(--dotsystems-color); 
    font-weight:bold;
    transition: color .5s;
    text-decoration: none;
}
.dotsystems-link:hover{
    color:var(--SJelectrical-orange)
}

.bg-black{
    background-color: var(--dotsystems-black);
}

.contact-link{
    color: var(--crabs-white);
    transition: color .5s;
}

.contact-link:hover{
    color: var(--SJelectrical-orange)!important;
}
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color:var(--SJelectrical-orange); /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    transition: background-color .5s;
  }
  
  #myBtn:hover {
    background-color: var(--SJelectrical-black); /* Add a dark-grey background on hover */
  }