.mainimagehref {
    display: table-cell;
    width: 400px;
    height: 450px;
    vertical-align: middle;
    overflow:hidden;
    border-radius:5px;
}

    .mainimagehref img {
        margin:auto;
        display: block;
        max-width: 400px;
        max-height: 450px;
    }
    
#view .product_desc {
    font-size:13px;
}

#item_img_zoom a:hover {
    border: #d2d2d2 1px solid;     
}

#item_img_zoom a {
    display: block;
    vertical-align: middle;
    width: 60px;
    height: 60px;
    margin: 4px 7px;
    border: white 1px solid;
    border-radius: 3px;
    background-repeat: no-repeat !important;
    background-position: 50% 50% !important;
    padding: 2px;
    float: left; 
    background-size:contain !important;
}

    #item_img_zoom a img {
        margin:auto;
        display: block;    
    }
    
.colorlink {
    border:1px solid transparent;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
    border-radius:3px;  
    padding: 3px 5px !important; 
}
    
.colorlink:hover {
    border:1px solid #dadada;
}

.paramgroup {
    clear: both;
}

#selectcolor {
    position:relative;
    left:-7px;
}

#selectcolor a {
    text-decoration: none;
    text-align: center;
}

#selectcolor a img {
    display: block;
    max-width: 40px;
    margin: auto;
    max-height: 50px;
    margin-bottom: 5px;
}

#selectcolor a:hover {
    text-decoration: underline;
}

#selectcolor a i {
    display: block;
    font-style: normal !important;
}

#howtoget {
    margin-top: 20px;
    color: #888;
    background: #f9f9f9;
    padding: 15px;
    padding-top: 2px;
    padding-left: 20px;
    width: 460px;
    clear: both;
}

#second_acs {
    color:#888;
    float:right;
    margin-right:20px;
}

#howtoget,
#howtoget * {
    font-size:14px;
}

#howtoget b {
    color: #333333;
    margin-bottom: 6px;
    display: block;
    font-weight: normal;
    margin-top: 10px;
}

#howtoget a {
    color: rgba(0, 160, 200, 1);
    text-decoration:none;
    border-bottom:1px dashed;
}

.otherGbts span {
    position: absolute;
    margin-left: 150px;
    padding-left: 5px !important;
}

.otherGbts a.active {
    text-decoration: none;
    color:rgba(0,160,200,1);
    border:1px solid;
    padding:3px 5px;
    margin-top: -4px;
}

.otherGbts a:first-child {
    margin-left: 0px !important;     
}

.otherGbts a.active:first-child {
    margin-left:5px !important; 
}

.otherGbts a {
    border-radius:2px;  
    padding:3px 5px !important; 
    border:1px solid transparent;
    margin-left: 5px;
    margin-top: -4px;    
}

.otherGbts a:hover {
    border:1px solid;     
}

#productID {
    position: absolute;
    font-size: 13px;
    color: #a5a5a5;
    margin-left: 818px;
    margin-top: -50px;
}


#reserve {
    font-size: 15px;
    color: #ce0000;
    clear: both;
}

#credit {
    font-size: 14px;
    text-align: left;
    color: #f1b95e;
}

div.item_detail_box div.item_detail .addtocartbutton {
    margin-bottom: 0px;
}

#item_img_zoom_touch {
    display: none;
}

#tradeinlink a {
    padding: 8px 15px;
    float: left;
    margin: 20px 0px;
    text-decoration: none;
    font-size: 15px;
    border-radius: 10px;
    border: 2px solid rgba(0,160,200,1);
    color: rgba(0,160,200,1);
}

#tradeinlink a:hover {
    border: 2px solid #0065e8;
    color: #0065e8;
}

section#gift .giftbadge {
    margin-left: -61px !important;
    margin-top: -51px !important;
}

section#gift {
    clear: both;
    border: 1px dashed rgb(0, 127, 255);
    border-radius: 5px;
    width: 355px;
    padding: 18px 30px;
    font-size: 14px;
    background: rgba(0, 127, 255, 0.03);
    min-height: 45px;
}

section#gift figure:after {
    content: ' ';
    clear: both;
}

section#gift figure img {
    float: left;
    margin-right: 10px;
    height: 50px;
}

section#gift figure figcaption span {
    display: block;
    color:rgb(0, 127, 255);
    margin-bottom: 5px;
}

#view .owl-item {
    width: 305px !important;
    margin: 5px 3px;
}

.hover-posts {
    visibility: hidden;
    display: block;
    width: 100%;
    height: 100%;
    background: #1585cfb8;
    position: absolute;
    z-index: 5;
    top: 0;
    text-align: center;
    transform: scale(0);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hover-posts span i {
    color: #fff;
    font-size: 36px;
    display: block;
    margin-bottom: 5px;
    font-style: normal !important;
}

.owl-carousel2 .item figure.premium-img {
    overflow: hidden;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 172px;
    margin: 0;
}

#premium .owl-carousel2 .item figure.premium-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.owl-carousel2 .owl-item img {
    transform-style: preserve-3d;
}
.owl-carousel2 .owl-item img {
    display: block;
    width: 100%;
    -webkit-transform-style: preserve-3d;
}

.owl-carousel2 .item figure.premium-img figcaption {
    font-weight: bold;
    position: absolute;
    z-index: 3;
    bottom: -4px;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    padding: 20px;
    background: url(/tpl/default/img/gradient.png) repeat-x;
}

.owl-carousel2 .item figure.premium-img figcaption p {
    color: #fff;
    margin: 0;
    font-weight: 400;
}

.owl-carousel2 .item:hover a.hover-posts {
    visibility: visible;
    transform: scale(1);
}

a:active, a:hover {
    outline: 0;
}

.hover-posts span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
    color: #fff;
    font-size: 13px;
    text-shadow: 1px 1px 1px #0000003b;
}

.hover-posts span i {
    color: #fff;
    font-size: 36px;
    display: block;
    margin-bottom: 5px;
}

#countryCodes {
    height: 50px;
}

#countryCodes a:hover {
    border-color: #00a0c6;
}

#countryCodes a.isActive {
    border: 1px solid rgb(247,207,142);
    background: rgb(255 253 247);
}

#countryCodes a {
    padding: 13px 20px;
    border: 1px solid;
    border-radius: 3px;
    color: #333333;
    text-decoration: none;
    border: #f0f0f0 dashed;
}

.availability {
    margin-top: -18px;
    padding: 3px 5px;
    font-size: 13px;
    width: 132px;
    text-align: center;
}
.availability i {
    font-style: normal !important;
}

.availability i.green {
    color: #42BB42;
}

.availability i.phone {
    color:gray;
    font-size:14px;
    width:140px;
    margin-left:-20px;
}

.availability i.soon {
    color:gray;
    font-size:14px;
    width:140px;
    margin-left:-7px;
}

html:not(.touch) .availability:hover div {
    opacity:1;
}

.availability div {
    font-size: 12px;
    margin-left: -75px;
    position: absolute;
    margin-top: 3px;
    color: green;
    background: white;
    opacity: 0;
    z-index: 1000;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

@media (max-width: 767px) {

    #view .owl-item {
        width: 100% !important;
    }

    #howtoget {
        margin:auto;
        margin-top: 30px;
        width: 100%;
    }

    #credit {
        text-align: center !important;
    }

}