body{
    padding-top: 100px;
   
    font: 15px/1.5 Arial, Helvetica, sans-serif;    
    margin: 0;    
    background-color: #f4f4f4;
    min-height: 100vh; /* will cover the 100% of viewport */    
    /* display: block; */
    position: relative;
    padding-bottom: 100px; /* height of your footer */
}

body::-webkit-scrollbar-track
{
	box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

body::-webkit-scrollbar
{
	width: 6px;
	background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb
{
	background-color: #e8491d;
}


/* Global*/
.container{
    width: 80%;
    margin: auto;
    overflow: hidden;
    
    
}
ul{
    margin: 0;
    padding: 0;

}
.button_1 {
    height: 38px;
    background: #e8491d;
    border: none;
    padding-left: 20px;
    padding-right: 20px;
    color: #ffffff;
}

.dark {
    padding: 15px;
    background: #35424a;
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 10px;
}

.main{
    height: 100vh;
}

/* Slideshow */

.slider-container {
    width:100%;
    overflow:hidden;
    background-attachment: fixed;
    
    
    }
    .slider {
    width: 500%;
    
    
    margin:0;
    left: 0;
    position: relative;
    overflow: hidden;
    z-index: -1;
    }

    .slider .fadeimg {
    
    width:10%;
                        
    opacity: 1;
    float: left;
    animation: 15s galeria infinite;            
    }

    
   

    @keyframes galeria {
    0% {
        /*opacity: 1;*/
        transform: translate(0%,0%);
    }
    20% {
        transform: translate(-100%,0%);
    }
    40% {
        transform: translate(-200%,0%);
    }
    60% {
        transform: translate(-300%,0%);
    }
    80% {
        transform: translate(-300%,0%);
    }
    100% {
        transform: translate(-300%,0%);
    }
    } 
    
    @media (max-width: 768px) {
        .slider .fadeimg{
            width: 20%;
        }
    }


/* Header */
header{
    position: fixed; 
    width: 100%;
    top: 0;
    background: #35424a;
    color: #ffffff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #e8491d 3px solid;
    transition: 200ms;
}

header ul{
    margin: 0;
    padding: 0;
}


header a{
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    transition: 400ms;
}

header li {
    float: left;
    display: inline;
    padding: 0 10px 0 10px;
    
}


header .top{
    display: block;
}



header #branding{
    float: left;
    padding: 0px;
   
}

header #branding h1{
    margin: 0;
    
    
}

header #branding h1 img{
    width: 40px;
    height: 40px;
    
}

header nav{
    float: right;
    margin-top: 10px;
}

header a:hover{
    color: #e8491d;
    font-weight: bold;
    
}

.dropdown{
    overflow: hidden;
}



.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;

}

.dropdown-content a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}

.dropdown-content a:hover {
background-color: #ddd;
}

.dropdown:hover .dropdown-content {
display: block;
transition: 400ms;
}

/* Showcase */
#showcase{
    min-height: 400px;
    background:url("../assets/resins.jpg");
    background-repeat: no-repeat;
    background-size: cover; 
    background-attachment: fixed; 

    text-align: center;
    color: #ffffff;
    
}


#showcase p{
    font-size: 30px;
}

#handshake{
    min-height: 400px;
    background:url("../assets/handshake.jpg");
    background-repeat: no-repeat;
    background-size: cover; 
    background-attachment: fixed; 

    text-align: center;
    color: #ffffff;
    
}
#handshake h3{ 
    margin-top: 10px;     
    font-size: 30px; 
     
}

#handshake p{
    font-size: 30px;
    
}

/* Products */

#resin-info{
    min-height: 200px;
    background:url("../assets/resins_info_dark.jpg");
    background-repeat: no-repeat;
    background-size: cover; 
    background-attachment: fixed;       
    text-align: center;
    color: #ffffff;
    font-size: 20px; 
}
#main-col h1{
    vertical-align: middle;
    font-size: 30px;
}

#film-info{
    min-height: 200px;
    background:url("../assets/film_dark.jpg");
    background-repeat: no-repeat;
    background-size: cover; 
    background-attachment: fixed;       
    text-align: center;
    color: #ffffff;
    font-size: 20px; 
}


#ink-info{
    min-height: 200px;
    background:url("../assets/ink_dark.jpg");
    background-repeat: no-repeat;
    background-size: cover; 
    background-attachment: fixed;       
    text-align: center;
    color: #ffffff;
    font-size: 20px; 
}

#copolymers-info{
    min-height: 200px;
    background:url("../assets/copolymers_dark.jpg");
    background-repeat: no-repeat;
    background-size: cover; 
    background-attachment: fixed;       
    text-align: center;
    color: #ffffff;
    font-size: 20px; 
}


/*boxes*/

#boxes{
    margin-top: 20px; 
    margin-bottom: 20px;  
    
}

#boxes .box{
   
    float: left;
    width: 40%;    
    height: 20%;
    margin-left: 4%;
    margin-right: 4%; 
    text-align: center;    
    padding: 10px;
    text-decoration: none;
    color: #35424a;
    font-size: 20px;  
    border-bottom: 5px solid #f4f4f4;   
}

#boxes .box:hover{
    color: #e8491d;
    font-weight: bold;  
    border-bottom: 5px solid #e8491d;
    
}

#boxes .box-image{
    object-fit: cover;
    height: 200px;
}

#product-boxes{
    margin-top: 20px; 
    margin-bottom: 20px;   
}

#product-boxes .product-box{
   
    margin-left: 4%;
    margin-right: 4%;
    
    float: left;
    width: 40%;    
    height: 400px;
    text-align: center;    
    padding: 10px;
    text-decoration: none;
    margin-bottom: 30px;
    color: #35424a;
    font-size: 20px; 
    border-bottom: 5px solid #f4f4f4;  
}



#product-boxes .product-box:hover{
    
    border-bottom: 5px solid #e8491d;
    
}

#product-boxes .product-box-image{
    object-fit: cover;
}


footer{
    z-index: -1;
    padding: 20px;
    bottom:0;
    margin: 0;
    color: #ffffff;
    background-color: #35424a;
    text-align: left;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}




aside#sidebar{
    float: right;
    width: 30%;
    margin-top: 10px;
}
aside#sidebar .gform input, aside#sidebar .gform textarea{
    width:90%;
    padding: 5px
}

article#main-col{
    float: left;
    width: 65%;
}

ul#services li{
    list-style: none;
    padding: 20px;
    border: #cccccc solid 1px;
    margin-bottom: 5px;
    background: #e6e6e6;
}

.sidepanel {
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    right: 0;
    height: 100vh;
    background-color:#35424a;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
    
  }
  
  /* The sidepanel links */
  .sidepanel li {
    padding: 8px 70px 8px 30px;
    font-size: 16px;
    color: white;
    display: block;
    transition: 0.3s;
    float: none;
  }
  
  /* When you mouse over the navigation links, change their color */
  .sidepanel a:hover {
    color: #e8491d;
  }
  
  /* Position and style the close button (top right corner) */
  .sidepanel .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  /* Style the button that is used to open the sidepanel */
  .openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: none;
    color: white;
    padding: 10px 15px;
    border: none;
  }
  
  .openbtn:hover {
    background-color: none;
  }

  #collapsed{
      display: none;
  }



/* About Slideshow */


@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


@media (max-width: 1000px) {
    header #branding,    
    article#main-col,       
    aside#sidebar{
        float: none;
        text-align: center;
        width:100%;        
    }
    header #branding h1{
        font-size: 18px;
        float: left;
    }
    header #branding img{
        height: 30px;
        width: 30px;
        padding: 0px;
    }
    #open{
        display: none;
    }
    #collapsed{
        display: block;
        float: right;
        margin: 0;
    }
    
    #boxes .box{
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;       
        
    }
    #boxes .box-image{
        object-fit: cover;
    }

    #product-boxes .product-box{
        width: 80%;
        margin-left: 10%;
        margin-right: 10%; 
        height: 500px;      
        
    }
    #boxes .product-box-image{
        object-fit: cover;
    }

    
    #showcase h1{
        margin-top: 40px;

    }

    .gform button{
        display: block;
        width: 100%;
    }

    .gform input, .gform textarea{
        width: 100%;
        margin-bottom: 5px;
    }

    #showcase{
        background: url("../assets/resins_mobile.jpg");
        background-attachment: fixed;
        background-size: auto;
    }

    #showcase h3{
        font-size: 20px;
        margin-top: 60px;
        margin-bottom: 20px;
    }

    #showcase p{
        font-size: 20px;
    }

    #resin-info{
        background: url("../assets/resins_info_dark_mobile.jpg");
        background-attachment: fixed;
        background-size: cover;
    }
    #resin-info h1{
        font-size: 20px;
    }
    #film-info h3{
        font-size: 20px;
    }
    #ink-info h3{
        font-size: 20px;
    }

    #handshake{
        background: url("../assets/handshake_mobile.jpg");
        background-attachment: fixed;
    }

    #handshake p{
        font-size: 20px;
    }
    .slider .fadeimg {
        animation: 25s galeria infinite;  
    }

    

}