/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */
@font-face {
    font-family: 'Amsi Regular';
    src: url('fonts/AmsiPro-Regular.otf') format('opentype');
   
}
@font-face {
    font-family: 'Amsi Bold';
    src: url('fonts/AmsiPro-Bold.otf') format('opentype');
   
}
@font-face {
    font-family: 'Amsi Light';
    src: url('fonts/AmsiPro-Light.otf') format('opentype');
}
@font-face {
    font-family: 'Amsi Semi-Bold';
    src: url('fonts/AmsiPro-SemiBold.otf') format('opentype');
}

@font-face {
    font-family: 'Amsi Extra-Bold';
    src: url('fonts/AmsiPro-Ultra.otf') format('opentype');
}

h1,h3,h2,p,a,span,input,div{
	font-family: 'Amsi Regular' !important;
}




.uk-navbar {
    background: rgba(0,0,0,0) !important;
}

.tm-navbar-sticky .tm-navbar-wrapper, .tm-navbar-sticky .tm-navbar-wrapper-animate {
    border-width: 0;
}

.mod span {
    display: none;
}
.mod img {
    width: 280px;
    position: relative;
    top: 35px;
}
.uk-navbar-nav > li:nth-child(2) {
    width: 360px;
    background: #ea4033;
    height: 140px;
    border-radius: 0 0 15px 15px;
    text-align: center;
}
.uk-navbar-nav > li > a {
    font-family: 'Amsi Light' !important;
    color: #818181;
    text-transform: none;
    font-size: 16px !important;
    letter-spacing: 0;
}
.uk-navbar-nav > li.uk-active > a{
    color: #ea4033 !important;
    font-family: 'Amsi Regular' !important;
}
.uk-navbar-nav > li > a:hover,.uk-navbar-nav > li > a:focus{
    color: #ea4033 !important;
    font-family: 'Amsi Regular' !important;
}

.uk-active .uk-navbar {
    background: rgba(255,255,2555,0.5) !important; 
}

.tm-navbar-wrapper-animate.uk-active .mod img {
    
    top: 0;
}
.tm-navbar-wrapper-animate.uk-active .uk-navbar-nav > li:nth-child(2) {
    height: inherit !important;
}
.tm-navbar-wrapper-animate.uk-active {
    position: relative !important;
}
/* Top a ====================================================================================================================================================*/
#tm-top-a{
	padding-top: 0px;
}

.slidetopa a {
    width: 15px;
    height: 15px;
    background-color: rgba(255,255,255,0.5) !important;
    border: none;
}
.slidetopa .uk-active a {
    background: #333 !important;
}



/* Top b ====================================================================================================================================================*/
.cardg .uk-grid {
    margin-left: 0;
}
.cardg p {
    line-height: 16px;
    font-size: 14px;
}
.cardg .uk-width-1-3 {
    width: 60px;
    padding-left: 15px;
    text-align: center;
}
.cardg .uk-width-2-3 {
    width: calc(100% - 60px);
    padding-right: 15px;
    padding-left: 0;
}

.cardg .uk-width-1-2 img {
    height: 21px;
    margin-left: 5px;
}
.cardg .uk-width-1-3 img {
    width: 20px;
}
.cardg .uk-grid .uk-width-1-2 {
    padding-left: 0;
    text-align: center;
    margin-top: 15px;
}
.cardg div.uk-width-1-2:nth-child(4) {
    border-left: 2px solid #ea4033;
}
.cardg .uk-width-1-1 {
    padding-left: 0;
    padding-bottom: 20px;
}
.fac a {
    display: block;
    color: #fff;
    font-family: 'Amsi Bold' !important;
    font-size: 17px;
    text-transform: uppercase;
    top: 3px;
    position: relative;
}
.fac a:hover {
    text-decoration: none !important;
}
.fac {
    position: relative;
    margin-top: 18px;
    width: 150px;
    text-align: center;
    left: calc(50% - 75px);
    background-color: #ea4033;
    border-radius: 5px;
    height: 35px;
}
.sred, .sblue, .sgray {
    margin-left: 5px;
    padding: 0px 6px 3px 6px;
    color: #fff;
}
.sblue {
    background-color: #0036bf;
}
.sred {
    background: #eb443e;
}
.sgray {
    background: #4c4c4c;
}
.cardg h3 span {
    font-family: 'Amsi Extra-Bold' !important;
    position: relative;
    top: 8px;
}
.cardg h3 {
    background-color: #ea4033;
    color: #Fff;
    text-align: center;
    height: 53px;
    border-radius: 5px 5px 0px 0px;
    margin-bottom: 0;
}
.imgas img {
    padding: 15px;
}
.cardg {
    width: 350px;
    background-color: #f2f2f2;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 13px 0px;
    border-radius: 5px 5px 8px 8px;
}
.cardg.anaya h3 {
    background-color: #d0508b;
}
.anaya .fac {
    background: #d0508b;
}

/* Top c ====================================================================================================================================================*/
#tm-top-c {
    background-image: url('https://nitroil.com.mx/images/jpg/Fondo-para-ubicacion.jpg');
    background-size: 100%;
}
.mapin {
    padding: 25px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 4px 0px;
}
.titlec {
    font-family: 'Amsi Extra-Bold' !important;
    color: #ea4033;
    text-align: center;
}


/*Nosotros ====================================================================================================================================================*/
.nosotros #tm-main {
    background-image: url('https://nitroil.com.mx/images/jpg/fondo-nosotros-nitroil.jpg');
    background-size: cover;
}
.nosotros .tm-main {
    
}
.textnosotros {
    text-align: justify;
    padding: 30px;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 13px 0px;
    background-color: #fff;
    margin-bottom: 50px;
}
/*Contacto ====================================================================================================================================================*/
.uk-form-horizontal .uk-form-controls {
    margin-left: 0;
}
.uk-form-horizontal .uk-form-label {
    width: 100px;
    font-family: 'Amsi Regular' !important;
}

.uk-form-row.rsform-block.rsform-block-antispam > label {
    width: auto;
    color: black;
    font-size: 16px;
}

.uk-form-row.rsform-block.rsform-block-antispam > div > input {
    width: 100% !important;
}

.uk-form input:not([class*="uk-form-width-"]):not([class*="uk-width-"]):not([type="radio"]):not([type="checkbox"]), .uk-form select:not([class*="uk-form-width-"]):not([class*="uk-width-"]), .uk-form textarea:not([class*="uk-form-width-"]):not([class*="uk-width-"]) {
    width: 100%;
    text-transform: none;
    border-color: #ea4033;
    font-family: 'Amsi Regular' !important;
}
#nombre::placeholder,#telefono::placeholder,#email::placeholder,#mensaje::placeholder{
    color: #ea4033;
}
#btncontinuar {
    font-family: 'Amsi Regular' !important;
    background-color: #ea4033;
    letter-spacing: 0;
    top: 20px;
    position: relative;
    top: calc(50% - 20px);
    left: calc(50% - 63.5px);
}
.formadecont {
    position: relative;
    max-width: 700px;
    padding: 40px 40px;
    margin: auto;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 13px 0px;
    border-radius: 15px;
    background: #fff;
}
.contacto #tm-main {
    background-image: url('https://nitroil.com.mx/images/jpg/Imagen-CONTACTO.jpg');
    background-size: cover;
}
.conttitle {
    text-align: center;
    font-family: 'Amsi Extra-Bold' !important;
    color: #ea4033;
    font-size: 35px;
}
.rsform-block-btncontinuar .uk-form-label.control-label.formControlLabel {
    width: 0;
}
.uk-form-row.rsform-block.rsform-block-btncontinuar {
    height: 100%;
}
.rsform-block-btncontinuar .uk-form-controls.formControls {
    height: 100%;
}
.tnksmsj a {
    display: block;
    padding: 10px;
    background: #ea4033;
    width: 100px;
    text-align: center;
    color: #fff;
    border-radius: 10px;
    margin-top: 10px;
}
.tnksmsj {
    color: #000;
}







/* Footer ====================================================================================================================================================*/
#tm-footer{
    background-color: #ea4033;
}
.tm-footer-fixed .tm-block-footer {
    position: relative !important;
    height: 120px !important;
    padding: 0;
    background-color: #ea4033;
    z-index: 10;
}
.tm-footer-fixed {
    padding-bottom: 0px;
}
#tm-anchor-bottom {
    display: none;
}
.mapa {
    border: 14px solid #fff;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 3px 0px;
 
}
#tm-footer > div {
    max-width: 100%;
}
.tm-footer.uk-text-center {
    max-width: 100%;
    width: 100%;
}
.textfoot {
    line-height: 15px;
    text-align: left;
    width: 225px;
    position: relative;
    margin: auto;
    margin-bottom: auto;
    color: #fff;
}
.logomc {
    width: 120px;
    position: relative;
    margin: auto;
        margin-bottom: auto;
}
.iconsnav {
    position: fixed;
    left: 0;
    top: 200px;
    width: 70px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 3px 0px;
    background-color: #fff;
    border-radius: 0px 20px 20px 0px;
    z-index: 51;
}
.iconsnav > div {
    margin: 15px;
}
.iconsnav img {
    width: 30px;
}
.tm-footer-left.uk-flex.uk-flex-middle .uk-panel {
    width: 100%;
}
.tm-footer-left.uk-flex.uk-flex-middle {
    width: 100%;
}
.ham{
    display: none;
}





/* ============================================
   ------- OFFCANVAS
 ============================================== */

 /* The side navigation menu */
.sidenav {
  height: 0;
  width: 250px;
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0;
  left: 0;
  background-color: #fff;
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 0; /* Place content 0px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  text-align: left;
}

.tm-block-footer .tm-footer a {
    color: #a4a4a4;
}
.tm-footer .closebtn.uk-icon-close {
    display: none;
}
/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 20px;
  color: #a4a4a4;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #ff474e !important;
}

/* Position and style the close button */
.sidenav .closebtn {
    position: absolute;
    left: 0px;
    font-size: 40px;
    bottom: 81px;
    color: black !important;
    text-shadow: 2px 2px 4px #000000;
    
    height: 20px;
}

#mySidenav {
    z-index: 50;
    width: 100%;
}

.off_logo {
    text-align: center;
    margin-bottom: 20px;
}

.off_logo img {
    width: 169px;
    position: initial;
}

.off_logo > .logo {
    margin: 20px 0px 12px 0px;
}
.iconsfoot {
    text-align: center;
}
.sidenav .closebtn {
    position: absolute;
    font-size: 40px;
    color: black !important;
    text-shadow: 2px 2px 4px #000000;
    top: 35px;
    right: 30px;
    padding: 0px;
    left: auto;
}
#mySidenav > div {
    margin-bottom: 25px;
}
#mySidenav .off_li {
    text-align: left;
    padding: 4px 0 11px 0;
    font-size: 30px !important;
    line-height: 20px;
    color: #333;;
    width: 300px;
    margin: auto;
    text-transform: capitalize;
    font-weight: bold;
    margin-top: 15px;
    font-family: 'Quicksand';
    text-align: center;
    border-radius: 9px;
}
#mySidenav .sub_li {
    font-weight: 400;
}

#mySidenav .off_li:hover,
#mySidenav .off_li:focus,
#mySidenav .active {
    color: #fff !important;
    background-color: #ea4033 !important;
}
#mySidenav p.off_li:hover,
#mySidenav p.off_li:focus {
    background-color: #fff !important;
}
#mySidenav {
    
    background-size: 400px;
    background-color: #fff;
}



/* Position and style the open button */
.openbtn {
    position: fixed;
    top: 17px;
    right: 30px;
    font-size: 27px;
    
    color: #fff !important;
    border-width: 1px;
    border-style: solid;
    border-color: RGBA(192, 192, 192, 0.26);
    background: RGBA(0, 0, 0, 0.65);
    padding: 6px 8px;
}
/*==============================
    CSS
==============================*/
.content_offcanvas1 {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  width: 100%;
}
.ham {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: fixed;
  top: 0;
  right: 10px;
  z-index: 100;
  display: none;
}
.hamRotate.active {
  transform: rotate(45deg);
}
.hamRotate180.active {
  transform: rotate(180deg);
}
.line_offcanvas1 {
  fill:none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke:#000;
  stroke-width:5.5;
  stroke-linecap:round;
}
  /*==============================
      O F F C A N V A S  1
==============================*/
.ham1 .top_offcanvas1 {
  stroke-dasharray: 40 139;
}
.ham1 .bottom_offcanvas1 {
  stroke-dasharray: 40 180;
}
.ham1.active .top_offcanvas1 {
  stroke-dashoffset: -98px;
}
.ham1.active .bottom_offcanvas1 {
  stroke-dashoffset: -138px;
}
.ham.hamRotate.ham1.active{
display: inherit;
}
#tm-bottom-d {
    z-index: 10;
    padding: 0;
}
.tm-bottom-d .uk-width-1-1.uk-grid-margin {

    margin-top: 0;

}

.line_offcanvas1 {
    stroke: #000;
  }
#mySidenav .iconsfooter {
    text-align: center;
}
#mySidenav .iconsfooter .uk-icon-facebook {
    margin-left: 0;
}



#mySidenav .uk-grid {
    margin-top: 20px;
    bottom: 0;
    left: calc(50% - 63px);
}
#mySidenav a.off_li:nth-child(2) {
    margin-top: 100px;
}

.ham1.active .line_offcanvas1 {
    stroke: #000;
}




.sidenav .iconsfoot a {
    display: inline-block;
    padding: 0;
}







.off_logo > .logo {
    margin: 15px 0px 15px 0px;
    padding: 10px;
}
.uk-width-medium-1-1.off_logo {
    width: 150px;
    position: relative;
    left: calc(50% - 75px);
    background: red;
    border-radius: 10px 10px 10px 14px;
}

/* Responsivo ====================================================================================================================================================*/
@media(max-width: 1400px){
    .nosotros .tm-middle.uk-grid {
    margin-left: 0;
}
}




/* ====================================================================================================================================================*/

@media(max-width: 1220px){
.gridcards > div:nth-child(1){
    width: 100%;
    margin-bottom:25px;
}
.gridcards > div:nth-child(2),.gridcards > div:nth-child(3){
    width: 50%
}
.cardg {
    position: relative;
    margin: auto;
        margin-bottom: auto;
}

}


/* ====================================================================================================================================================*/
@media(max-width: 959px){
  .tm-navbar-center.uk-flex.uk-flex-center.uk-hidden-small.uk-hidden-medium {
    display: flex !important;
}  
.contacto .iconsnav {
    top: 72px;
}
}

/* ====================================================================================================================================================*/
@media(max-width: 767px){
.logosmall {
    background: #ea4033;
    width: 130px;
    height: 100%;
    border-radius: 0 0 10px 10px;
}
.tm-logo-small.uk-visible-small {
    height: 100%;
}
.tm-navbar-left {
    left: calc(50% - 65px);
}
.logosmall img {
    position: relative;
    top: calc(50% - 20px);
}
.uk-grid.gridcards > .uk-width-1-3 {
    width: 100%;
    margin-bottom: 25px;
}
.uk-grid.gridfoot > div {
    width: 100%;
    margin-bottom: 20px;
}
.textfoot {
    text-align: center;
}
.ham{
    display: inherit;
}
.mapin {
    padding: 0;
}
#mapa1 {
    position: absolute;
    left: 0;
    padding: 10px;
    top: -70px;
}
.textnosotros {
    font-size: 15px;
    line-height: 18px;
}
.uk-grid.gridcont .uk-width-1-2 {
    padding-left: 0;
    width: 100%;
}
.uk-grid.gridcont {
    margin-left: 0;
}

#g-recaptcha-27 > div {
    position: relative;
    left: calc(50% - 152px);
}
.contacto .iconsnav {
    top: 20px;
}
.slidetopa > div > ul,
    .slidetopa > div > ul > li{
       height: 400px !important;;
       min-block-size: 400px !important;;
    }
}
/* ====================================================================================================================================================*/
@media(max-width: 550px){
.iconsnav {
    top: auto !important;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: auto !important;
    border-radius: 0px;
    text-align: center
}
.iconsnav > div {
    margin: 15px;
    display: inline-table;
}
#tm-footer {
    margin-bottom: 60px;
}
}
/* ====================================================================================================================================================*/
@media(max-width: 500px){
.formadecont {
    padding: 20px 10px;
}
.contacto #tm-main .uk-container.uk-container-center {
    padding: 0;
}


}

/* ====================================================================================================================================================*/
@media(max-width: 400px){
.cardg {
    width: 300px;
}
.uk-grid.gridcards > div {
    padding-left: 0;
}
.uk-grid.gridcards {
    margin-left: 0;
}
.inicio #tm-top-b .uk-container.uk-container-center {
    padding: 0px 10px;
}
.textnosotros {
    font-size: 13px;
    line-height: 14px;
}
}