
body { height: 100%; padding: 0px; margin: 0px; box-sizing: border-box; font-family: Arial, sans-serif;}
html { height: 100%;  }


/* Tools */
.noPad				{ padding:0px;  }
.pad5			   	{ padding:5px;}
.pad10			  { padding:10px;}
.pad15			  { padding:15px;}
.pad20			  { padding:20px;}
.pad30			 	{ padding:30px;}
.pad50			 	{ padding:50px;}
.pad10t       { padding-top:10px;}
.pad20t       { padding-top:20px;}
.pad10b       { padding-bottom:10px;}
.pad10l       { padding-left:10px;}
.pad20l       { padding-left:20px;}
.pad10r       { padding-right:10px;}
.pad20r       { padding-right:20px;}
.pad5tb      { padding-bottom:5px; padding-top:5px;}   
.pad10tb      { padding-bottom:10px; padding-top:10px;}   
.pad20tb      { padding-bottom:20px; padding-top:20px;}   
.marginLeft10		{ margin-left:10px; }
.marginLeft20		{ margin-left:20px; }
.marginRight10		{ margin-right:10px; }
.marginTop150		{ margin-top:150px; }
.marginTop100		{ margin-top:100px; }
.marginTop50		{ margin-top:50px; }
.marginTop25		{ margin-top:25px; }
.marginTop10		{ margin-top:10px; }
.marginBot10		{ margin-bottom:10px; }
.marginBot25		{ margin-bottom:25px; }
.marginBot150		{ margin-bottom:150px; }
.alignLeft			{ text-align:left !important;}
.alignRight			{ text-align:right !important;}
.alignCenter		{ text-align:center;}
.hideThis           { display: none; }
.shadow_diffuse	    { text-shadow: 0 0 40px rgba(0, 0, 0, 0.49);}
.floatright		    	{ float:right !important;}

.border-right		{ border-right:1px solid #cecece;}
.border-bottom		{ border-bottom:1px solid #cecece;}
.border-top-medium  { border-top:6px solid #174764;}

.box-shadow-subtle li	{ box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.33);}
.box-shadow-medium 		{ box-shadow: 0px -3px 17px rgba(0, 0, 0, 0.3);}
.box-shadow-normal 		{ box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);}
.box-shadow-sidebar 	{ box-shadow: 4px 0px 4px 0px rgba(0, 0, 0, 0.15);}

.fullWidth  { width:100% !important }
.fullHeight { height:100% !important }
.fullWidth-controls input { width:100% !important; }
.expand { width:100% !important; }



i { margin-right:10px;}

/* Color Box */

.color-white	    { color:rgb(255, 255, 255) !important;}
.color-orange	    { color:#FF6600 !important;}
.color-green	    { color:#158241 !important;}
.color-blue		    { color:rgba(64, 64, 64, 1) !important;}
.color-red		    { color:rgb(172, 15, 0) !important;}
.color-dark-red		{ color:rgb(172, 15, 0) !important;}
.color-pale-blue	{ color:#24859e !important;}
.color-pale-green	{ color:#79A6A6 !important;}
.color-pale-brown	{ color:rgb(196, 165, 140) !important;}
.color-grey		    { color:rgb(166, 166, 166) !important;}
.color-darkgrey	  { color:rgba(64, 64, 64, 1) !important;}
.color-dark   	  { color:rgb(32, 32, 32) !important;}

.color-secondary  { color:#74675a }

.item-center     { display: flex;justify-content: center;   align-items:center !important;}
.item-top        { display: flex;justify-content: center;  }
.item-right      { display: flex;justify-content: flex-end; align-items:center;}
.item-left       { display: flex;justify-content: flex-start; align-items:center;}

/* LAYOUT GRID CONFIGURATION SHAPE */

.grid-container 
{
min-height: 100%;
display: grid;
grid-template-columns: 240px 1fr;
grid-template-rows: 80px 1fr 50px;
grid-template-areas: "Side Header" "Side Contents" "Side Footer";
}

.Side      { grid-area: Side;     background-color: rgb(255, 255, 255); z-index: 100;  }  
.Header    { grid-area: Header;   background-color: black }  
.Contents  { grid-area: Contents; background-color: #e9e9e9;  }  
.Footer    { grid-area: Footer;   background-color: rgb(218, 218, 218); }

.contents-grid-1x1 {
display: grid;
grid-template-columns: 1fr 0.25fr;
grid-template-rows: 1fr;
grid-template-areas: "contents-grid-1 contents-grid-2";
min-height: 81vh;
}
.contents-grid-1x1 .pad50 { padding:20px; }
.contents-grid-1      { grid-area: contents-grid-1; }
.contents-grid-1 img  { width: 100%; }
.contents-grid-2      { grid-area: contents-grid-2;   
                      background-repeat: none; 
                      background-size:cover; 
                      background-position: center center; } /* With Media Query for image effect */

.contents-grid-columns { 
                        display: grid;
                        grid-template-columns: 1fr;
                        grid-template-rows: 1fr 1fr;
                        height: 100%;
                        align-items: center; 
                        }
                        

.flex-grid-columns     { 
                        display: flex;
                        flex-direction: column;
                        height: 100%;
                        }

.flex-grid-columns > div  {   flex: 1;
                              display: flex;
                              flex-direction: column;
                              justify-content: center;
                           }


/* /GRID SECTION */

.logo-sidebar { height: 129px;}

.menu-header      { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; width: 100%; height: 100%; padding:5px; }
  .menu-header a          { text-decoration: none; 
                            padding:5px 15px 5px 15px; margin: 0px 10px 0px 10px;  
                            transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1); border-radius: 2px;
                            font-family: Arial; font-weight: bold; color:rgb(165, 165, 165) !important; cursor: pointer !important;}
  .menu-header a:hover    { background-color: rgb(90, 0, 0); }

.menu-header div             { border-right: 1px solid #AD2624;   }
.menu-header div:last-child  { border-right: 0px solid #AD2624;  border-left: 1px solid #AD2624;  }
.menu-header-grow            { flex-grow:1 }

.menu-content               { display:flex; flex-wrap: wrap; cursor:pointer;}
.menu-content a             { font-family: Arial; color:black; text-decoration: none; padding:5px 10px 5px 10px;}
.menu-content a:hover       { background-color: rgb(236, 236, 236); border-radius: 2px;}
.menu-content div:not(:last-child):after     { font-family: 'Font Awesome 5 Free';  content: '\f111'; font-size: 0.5em; 
                                              vertical-align: middle; display: inline; color:grey; padding: 0px 5px 0px 5px; }
.menu-content div           { }

.panel-info            { background-color: white;  display:flex; justify-content: space-between; padding:10px; flex-wrap: wrap-reverse;}
.panel-product-list    { background-color: white; margin-bottom: 10px; border-radius: 3px; overflow: hidden; box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.13);}
.product-category-text { font-family: Arial; font-weight: bold; font-size: 0.9em }
.product-thumbnail     { width: 100%; height: 100%; background-color: #6e717b; background-size:cover; background-position: center; display: block;}
.product-lote-text     { background-color: #ffffff;color: #ad2624;padding: 3px;position: absolute;font-size: 12px;border-bottom-right-radius: 10px;}
.product-price-tag     { }

.BoxTitle              { }

.form-search-style  label   { display:block; font-family: Arial; font-weight: bold; padding: 0px; margin:0px 0px 3px 0px; font-size: 0.9em;}
.form-search-style  select  { display:block; font-family: Arial; padding: 0px; margin:0px 0px 15px 0px; font-size: 0.9em; border:1px solid rgb(194, 194, 194); 
                            padding: 5px 5px 5px 5px; width: 100%; border-radius: 3px;  
                            box-shadow: 0px 0px 3px 3px inset #efefef;}

.form-search-style  input  {  display:block; font-family: Arial; padding: 0px; margin:0px 0px 15px 0px; font-size: 0.9em;border:1px solid rgb(194, 194, 194);
                            padding: 5px 5px 5px 5px; width: 100%; border-radius: 3px;  
                            box-shadow: 0px 0px 3px 3px inset #efefef;}

/* XL Product */

.xl-product-background { 
                      --xl-primary-light: rgb(177, 157, 136);
                      --xl-base-background: #2F2F2F;                      
                    }

.xl-product-background { background-color:var(--xl-base-background); }
.xl-product-lote       { color: var(--xl-primary-light); font-family: Arial; font-weight: bold; font-size: 28px}
.xl-product-descr      { color: var(--xl-primary-light); font-family: Arial; font-size: 17px; line-height: 20px; text-align: justify}
.xl-border-bottom      { border-bottom:1px solid var(--xl-primary-light)}
.xl-product-base       { font-family: Arial; color:rgb(190, 190, 190); font-size: 12px; }
.xl-product-price      { font-family: Arial; color:rgb(190, 190, 190); font-size: 28px; font-weight: bold; line-height: 25px; }
.xl-product-photo      { background-position: center; background-size: cover; background-repeat: no-repeat; min-height: 300px;}

/* Flex Tools */
.flex-spaced           { display:flex; justify-content: space-between; flex-wrap: wrap;  }
.flex                  { display:flex; margin-right: 10px; flex-wrap: wrap; align-items: inherit;  }
.flex div:first-child  { margin-right: 20px;  }
.grid-2-columns        { display:grid; grid-template-columns: 1fr 1fr; grid-column-gap: 10px; }
.flex-grow             { flex-grow: 1}
.flex-column-centered  { display: inline-flex; align-items: center; justify-content: center; }

/* Buttons */

.button-base       {  
                    display: block; padding: 5px 15px 5px 15px; cursor:pointer;
                    font-family: Arial;  font-size: 0.8em; font-weight: bold; text-align: center;
                    border-radius: 3px; transition: 0.4s cubic-bezier(0.075, 0.82, 0.165, 1); 
                    text-decoration: none !important;
                  }

.button-large       {      padding: 10px 25px 10px 25px; font-size: 1.2em; }

.button-is-white       { background: #f1f1f1; color: #383838  !important;  }
.button-is-white:hover { background-color:rgb(64, 64, 64,1); color:white !important}

.button-is-green       { background: #005c4d;      color: white  !important;  }
.button-is-green:hover { background-color:#012411; color:white !important}

.button-is-red       {background: rgba(172, 15, 0, 1);color: #e4e4e4  !important;}
.button-is-red:hover { background-color:rgb(78, 6, 5); color:white !important}

.button-is-neutral       { background: #ffffff; color: black  !important; border:1px solid white;  }
.button-is-neutral:hover { background-color:rgb(208, 208, 208); color:white !important}

.button-is-dark          { background: #424242; color: #e4e4e4  !important;}
.button-is-dark:hover    { background: #131313; color: #e4e4e4  !important}

.button-is-orange        { background: #d46f24; color: #e4e4e4  !important;  }
.button-is-orange:hover  { background-color:#723a0f; color:white !important}

.button-is-blue        { background: #203746; color: #e4e4e4  !important;  }
.button-is-blue:hover  { background-color:#052133; color:white !important}

.button-is-outline        { border: 1px solid #ffffff !important;  background-color: transparent;  }
.button-is-outline:hover  { border:2px solid #e4e4e4 !important}


/* Gradients */
.gradient-fade-r        { /* background-color: var(--xl-base-background); */                          
                        width: 100%; height: 100%; 
                        background: linear-gradient(90deg, var(--xl-base-background) 0%, #3e525b00 10%);
                        background-size: 1000% 100%;
                        /* background: linear-gradient(107deg, var(--xl-base-background) 100%, rgba(62,82,91,0) 100%);  */
                        animation-name: gradient-fade-r-anim; animation-direction: normal; animation-duration: 1s; animation-fill-mode: both;
                      }

                      @keyframes gradient-fade-r-anim {
                        to {    background-size: 100% 100%; }
                      }

.texture-image-contents {  width: 100%; height: 100%; background-image: url(/BancoCNH/Skin_CNHI/Placeholder/pattern.png); }

.circle-red { border:2px solid #AD2624; border-radius:50px; padding:10px;}

/* Fonts Config */
.font-text           { font-family: Arial; font-size: 0.8em; }
  .font-text  i    { font-size: 1.1em; margin-bottom: 3px; }
.font-text-medium    { font-family: Arial; font-size: 1em;  line-height: 18px;}
  .font-text-medium h2    { font-size: 1.5em;  line-height:24px;}
.font-text-large     { font-family: Arial; font-size: 1em;}
.font-text-xl        { font-family: Arial; font-size: 2em; line-height: 30px}
.font-title-small    { font-family: Arial; font-size: 0.8em; line-height: 12px;}
.font-title          { font-family: Arial; font-size: 0.7em; line-height: 12px;}
.font-title-medium   { font-family: Arial; font-size: 1em;   line-height: 12px;}
.font-title-large    { font-family: Arial; font-size: 1.2em;}
.font-title-xl       { font-family: Arial; font-size: 2em; line-height: 30px}

/* Mobile Gadgets */
#panel-leiloes       { display: block; height: 100%;}
#panel-info          { display: block; height: 100%;}
.panel-control       { display:none}

.mobile-is-active    { display:none} /* Item show only in mobile */

.Paginator        { position: relative; padding: 10px 0px 10px 0px }
.Paginator:before { content: ''; position: absolute; bottom: 50%; border-bottom: 1px rgba(0, 0, 0, 0.075) solid; width: 100%; z-index:0;} /* Pretty line Divider */

.Pag_Numbers     { list-style: none; padding: 0px; margin: 0px; display:flex}
.Pag_Numbers li  { background-color: #495057;width: 35px; text-align: center; cursor: pointer;
                  margin: 0px 2px 0px 2px; border-radius: 50px;height: 35px;
                  display: flex;justify-content: center; align-items: center; z-index: 10;
                  border:5px solid #e9e9e9;
                  box-sizing: content-box;
                }
.Pag_Numbers .active  { background-color: #AD2624;}
.Pag_Numbers li a  { color:white; font-family: Arial; font-size: 1em; font-weight: bold; text-decoration: none; }


.large-infographic     {    width: 230px;height: 230px;background-color: white;border-radius: 150px;box-shadow: 0px 3px 7px 0px #23232314;}
.large-infographic img    { width: 50%; height: auto;}

/* Groups */
                      
.gallery-group-item-2 {
                        display: grid;
                        grid-template-columns: 1fr 0.5fr;
                        grid-template-rows: 1fr 1fr;
                        grid-template-areas: "photo-01 photo-01" "photo-02 photo-count";
                        grid-auto-flow: row;
                        height: 100%;
                        }

.gallery-group-item-3 {
                        display: grid;
                        grid-template-columns: 1fr 1fr;
                        grid-template-rows: 1fr 1fr;
                        grid-template-areas: "photo-01 photo-02" "photo-03 photo-count";
                        grid-auto-flow: row;
                        /* row-gap: 1px;
                        column-gap:1px; */
                        height: 100%;
                        }

.gallery-group-item-4 {
                        display: grid;
                        grid-template-columns: 1fr 1fr 1fr;
                        grid-template-rows: 1fr 1fr 1fr;
                        grid-template-areas: "photo-01 photo-02 photo-02" "photo-01 photo-count photo-04" "photo-03 photo-03 photo-04";
                        grid-auto-flow: row;
                        height: 100%;
                        }

.photo-01      { grid-area: photo-01;    background-color: #AD2624 }        
.photo-count   { grid-area: photo-count; background-color:#2F2F2F; display: inline-grid; justify-content: center;align-content: center; text-align: center; height: 100%;}        
.photo-count  span:nth-child(1)   { color:#B49F8C; display: block; }
.photo-count  span:nth-child(2)   { color:rgb(250, 250, 250); display: block; line-height: 15px;  font-size: 0.8em;}
.font-count { font-family: Arial; line-height: 25px; font-size: 2em;}

.photo-02 { grid-area: photo-02; background-color: rgb(124, 27, 25) }        
.photo-03 { grid-area: photo-03; background-color: #AD2624 }        
.photo-04 { grid-area: photo-04; background-color: rgb(124, 27, 25) }

.group-icon              {color: rgba(172, 15, 0, 1);font-size: 1em;}
.group-icon-small        { color: #3e5e81; font-size: 1.4em;}
.group-header            { display: flex;    align-items: center;}
.group-header span       { /* display: block;  */  line-height: 19px;}
.group-title             {font-family: Arial;font-size: 1.1em;color: rgba(64, 64, 64, 1);font-weight: bold;line-height: 20px;}
.group-title-small       {font-family: Arial;font-size: 0.8em;color: rgba(172, 15, 0, 1);font-weight: bold;line-height: 20px;}
.group-subtitle          {display:block;font-family: Arial;font-size: 0.9em;color: rgba(110, 110, 110, 1);margin-top: -5px;}
/* MOBILE Engine */

@media only screen and (max-width: 600px) 
{

/* Tools */
.noPad				  { padding:0px;  }
.m-pad5			   	{ padding:5px;}
.m-pad10			  { padding:10px;}
.m-pad15			  { padding:15px;}
.m-pad20			  { padding:20px;}
.m-pad30			 	{ padding:30px;}
.m-pad50			 	{ padding:50px;}

.m-pad10tb      { padding-bottom:10px; padding-top:10px;}   
.m-pad20tb      { padding-bottom:20px; padding-top:20px;}   

.grid-container    { height: 100vh; width: 100vw; display: grid; 
                    grid-template-columns: 1fr; 
                    grid-template-rows: 80px 1fr 1fr; 
                    grid-template-areas: "Header" "Contents" "Footer";
                    }

.Side              { grid-area: unset  }  
.Footer            { grid-area: unset } 


/* Header Menu for the Mobile */
.menu-nav-mobile     { display: flex; flex-direction: row; justify-content: space-between; height: 80px; align-items: center; background-color:black}
.menu-nav-mobile div { color:white}

.panel-info div { display: block;}

#panel-leiloes     { display:none; position: fixed; top:0px; left:0px; right: 0px; bottom:0px; background-color: rgb(32, 32, 32); height: 120%; z-index: 1000;  overflow: hidden;  }
#panel-pesquisa    { display:none; position: fixed; top:0px; left:0px; right: 0px; bottom:0px; background-color: rgb(32, 32, 32); height: 120%; z-index: 1000;  overflow: scroll; color:white;   }
#panel-company     { display:none; position: fixed; top:0px; left:0px; right: 0px; bottom:0px; background-color: rgb(32, 32, 32); height: 120%; z-index: 1000;  overflow: scroll   }

/* Panel: Section Close, and Window tool */
.panel-control     { display: flex !important; background-color: #1b1b1b; width: 100%; top: 0px; height: 5vh; text-align: right; align-items: center; justify-content: flex-end; color:white; }  
.panel-control i   { margin:0px 15px 0px 15px }  
  
.menu-mobile-hidden { display: none;}

/* Panel: Menu Header */
.menu-header      { display:grid; grid-template-columns: 1fr 1fr;  grid-gap: 2px; height: 95vh; } /* Convert to 2 column section */
.menu-header div  { text-align: center; height: 100%; color:white; background-color: black; margin: 0px; border:0px;   } /* Convert to 2 column section */
.menu-header-grow { display: none; } /* we don't need this spacer, in the mobile version  */
.menu-header a    { display: flex; align-items: center; justify-content: center; height: 100%; margin: 0px; flex-direction: column}
.menu-header a i  { display: flex; justify-content: center; margin: 0px 0px 25px 0px; font-size: 25px; border:2px solid #AD2624; border-radius: 100px; padding:25px; }

  /* Panel: Menu Header */
.menu-content      { display: grid !important; width: 100vw; height: 85vh; grid-gap: 1px; } /* Convert to 2 column section */
.menu-content div  { background-color: rgb(0, 0, 0); display: flex; align-items: center; justify-content: center;   } /* Convert to 2 column section */
.menu-content a    { color:white !important;  }

.menu-content div:not(:last-child):after { content:''}

/* Targeting the LoggedOnBox element, for decoration purpose */
/* Engine inside interface.js */
.login-panel-user  #ctl00_ucBancoCNHLoginInfo_LoggedOnBox {background-color: #ad2624;display: flex; width: 100%;padding: 5px;justify-content: space-between;}
.login-panel-user #ctl00_ucBancoCNHLoginInfo_LoggedOnBox a { color:white; border:1px solid #ffffff26; padding:3px; border-radius:5px;}

.product-thumbnail { height: 250px; }

.gallery-group-item-4 { height: 300px;}
.gallery-group-item-3 { height: 300px;}
.gallery-group-item-2 { height: 300px;}

[class^="gallery-group-item"] .product-thumbnail  { height: auto; }

/* Mobile Exclusive Rules */

.mob-pad5tb           { padding-top: 10px; padding-bottom: 10px;}
.mob-pad20            { padding:10px; }

.mob-border-top       { border-top:1px solid rgb(128, 128, 128); }
.mob-border-bottom    { border-bottom:1px solid rgb(128, 128, 128); }
.mob-no-borders        { border:0px !important;  }
.border-left          { border:0px !important;  }

/* Fonts Config */
.m-font-text           { font-family: Arial; font-size: 0.8em; }
  .m-font-text  i      { font-size: 1.1em; margin-bottom: 3px; }
.m-font-text-medium    { font-family: Arial; font-size: 1em;  line-height: 18px;}
  .m-font-text-medium h2    { font-size: 1.5em;  line-height:24px;}
.m-font-text-large     { font-family: Arial; font-size: 1em;}
.m-font-text-xl        { font-family: Arial; font-size: 2em; line-height: 30px}
.m-font-title-small    { font-family: Arial; font-size: 0.8em; line-height: 12px;}
.m-font-title          { font-family: Arial; font-size: 0.7em; line-height: 12px;}
.m-font-title-medium   { font-family: Arial; font-size: 1em;   line-height: 12px;}
.m-font-title-large    { font-family: Arial; font-size: 1.2em;}
.m-font-title-xl       { font-family: Arial; font-size: 2em; line-height: 30px}

.mob-flex-order-first { order: -1;}

/* .mobile-is-active1   { display:block; } Item show only in mobile */
.mobile-hide         { display:none !important } /* Item hide only in mobile */

.button-clear {padding: 15px;}

/* Flex and Grid New Rules */
.mobile-flex     { display: flex; justify-content: start; width: 100%; align-items:center; }
.mobile-flex div { margin-right: 20px; }
.grid-2-columns  { display: block;}

.m-item-center     { display: flex;justify-content: center;   align-items:center !important;}
.m-item-top        { display: flex;justify-content: center;  }
.m-item-right      { display: flex;justify-content: flex-end; align-items:center;}
.m-item-left       { display: flex;justify-content: flex-start; align-items:center;}

.gradient-fade-r      { background: linear-gradient(0deg, var(--xl-base-background) 0%, #3e525b00 10%); }

.contents-grid-2      { grid-area: contents-grid-2; background-attachment: fixed; background-position: center center;} /* With Media Query for image effect 

/* Login Modal  */
.ModalBox-Screen    	{ position: unset !important;}

/* TEMPORARY - design mode */
/* .menu-header   { display: none;}
.panel-control { display: none;} */
}

/* Optimization for the Forms in Mobile - */
.pure-form-stacked { padding:0px;}

/* Medium screens */
@media all and (max-width:1200px) and (min-width: 768px) 
{
.grid-2-columns  { display: block;}
.divDynamicTabs { background-color: red;}
}

/* Medium screens */
@media all and (max-width: 768px) 
{
.product-thumbnail { height: 250px; }
.grid-2-columns  { display: block;}
}
