@font-face {
    font-family: 'prime';
    src:  url('../fonts/prime.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

#colorpicker{
    height: 30%;
    margin-bottom: 5px;

}

#tabledata{
    position: relative;
    height: 68%;
    background: white;
    margin-top: 20px;
    top: 1px;
    overflow-y: auto;
}

table{
    position: relative;
    top:10px;
    width:90%;
    margin-left: 5%;
}


#alertinfo{
    padding: 5px;
    background: #99ffa6;
    border-radius: 5%;
    text-align: center;
    font-family: 'prime', Verdana, sans-serif;
    margin:3%;
    color:#255e14;
    opacity:0;
}

#tabledata th div{
    background: #2183ce; /* Old browsers */
    background: -moz-linear-gradient(left, #2183ce 36%, #13a4dd 67%, #13a4dd 67%, #6ab5f2 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #2183ce 36%,#13a4dd 67%,#13a4dd 67%,#6ab5f2 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #2183ce 36%,#13a4dd 67%,#13a4dd 67%,#6ab5f2 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2183ce', endColorstr='#6ab5f2',GradientType=1 ); /* IE6-9 */
    font-family: 'prime', Verdana, sans-serif;
    font-weight: 100;
    font-size: 18px;
    padding: 8px 18px 8px 18px;
    color: white;
    display:none;
}



#tabledata td div{
    padding: 8px;
    font-family: 'prime', Verdana, sans-serif;
    font-weight: 100;
    font-size: 12px;
    margin: 1px;
    background: rgba(150,150,150,0.1);
    display: none;
}





#closebutton{
    font-family: 'Open Sans', Arial, sans-serif;
    float:right;
    background: #ffc4b2;
    color:white;
    padding: 5px 10px 5px 8px;
    cursor: pointer;


    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;

}

#closebutton:hover{
    background:#ff3a3a;
}

#changeable{
    display:none;
}

#pickedimg img{
    position:relative;
    width: 140%;
    height: 140%;
    overflow: hidden;
    margin:-20%;
}

#pickedimg{
    display:block;
    position:absolute;
    width:40%;
    height:30%;
    float:left;
    background: white;
    border-radius: 2px;
    margin: 10px;
}

#picker{
    margin: 10px;
    position: relative;
    float:right;
    display:block;
    width:50%;
    height:100%;
    padding:0;
    background: white;
}

.picker{
    display:none;
    position:relative;
    float:left;
    width: 16px;
    height: 16px;
    top:5px;
    left:5px;
    margin-bottom: 5px;
    margin-left:5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor:pointer;
    z-index: 100;
}

.divwrapper{
    display:block;
    position: relative;
    width:100%;
    height:100%;
    top: 10%;
}

#cartfunc{
    display:block;
    height: 40%;
    overflow: hidden;
    width:100%;
}

#cartinfo #cartfunc h4{
    font-family: 'prime', Verdana, sans-serif;
    font-size: 14px;
    font-weight: 900;
    height:100%;
    width:100%;
}

/*techdata*/
#techdata{
    position: fixed;
    top:5%;
    left:30%;
    height: 85%;
    width: 40%;
    background: #f2f2f2;
    z-index: 0;
    opacity:0;
    box-shadow: 0 0 1px #555, 
        0 1px 2px rgba(0,0,0,0.1);
}

#dynamicboxes{
    position: absolute;
    display:block;
    height:80%;
    width:65px;
}


#cartinfo{
    margin-left: 65px;
    margin-right: 10px;
    float:right;
    display:block;
    position:relative;
    height:80%;
    width:60%;

}

#cartinfo h4{
    font-family: 'prime', Verdana, sans-serif;
    font-weight: 100;
    font-size: 12px;
    height: 10%;
    overflow: hidden;
    margin:3px;
}

#cartinfo label{
    float:left;
    color: black;
    font-size: 16px;
    font-family:'prime', Verdana, sans-serif;
}

#cartinfo input[type=number]{
    width: 40px;
} 

#binfo{
    height: 30%;
    overflow: hidden;
}

#addtocart{
    color: black;
    font-size: 14px;
    font-family: 'prime', Verdana, sans-serif;
    display: block;
    position: absolute;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    cursor:pointer;
    float:left;
    border-radius: 5px 0% 0% 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #aaaaaa;
    width: 40%;
    height:70%;
    margin-left: 10%;
}

.centralize{
    position: relative;
    top:50%;
    transform: translateY(-50%);
    text-align: center;
}


.imgcen{
    height: 100%;
}

#addtocart:hover{
    background: rgba(150,150,150,0.1);
    border-color: #808080;
}

#togglefav{
    display: block;
    position: relative;
    border-radius: 0% 5px 5px 0%;
    cursor:pointer;
    border-width: 1px 1px 1px 0px;
    border-style: solid;
    border-color: #aaaaaa;
    width: 40%;
    height:100%;
    height:70%;
    left:50%;
}

#togglefav:hover{
    background: rgba(150,150,150,0.1);
    border-color: #808080;
}

#functionbuttons{
    position: relative;
    height: 20%;
    top: 80%;
    display: block;
    width: 100%;
}

#togglefav img{
    top: 10%;
    left: 40%;
    position: absolute;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    cursor:pointer;
}


@media only screen and (max-device-width: 480px) and (orientation : portrait){
    #filterlist{
        font-size: 15px;
    }

    #techdata{


        left:4%;

        width: 92%;

    }

    .picker{
        width: 15px;
        height: 15px;
    }
    
    #addtocart{
        font-size: 12px;
    }

    #functionbuttons {
        left: -85%;
        width: 200%;
    }
    
    #togglefav img{
        height: 15px;
        width: 15px;
    }
    
    #alertinfo{
        font-size: 12px;
    }
    
}