div.wraper
{
    width:98%;
    background:#fff;
    margin:0px auto;
    box-shadow: 0 0 10px #CCCCCC;
}


div.header
{
    background:#fff;
    width:98%;
    margin:0px auto;
}

div#container
{
    background:#fff;
    width:98%;
    margin:10px auto;
}

div.left
{
    float:left;
    width:19%;
    margin-right: 1%;
}

div.right
{
    float:right;
    width:19%;

}

div.content
{
    width: 80%;
    float:left;
    box-shadow: 0 0 10px #CCCCCC;
    border:scroll 0 0 #a6b6d9 1px solid;
}
div.footer
{
    background: #1C3771;
    border-radius: 0 0 3px 3px;
    border-top: 4px solid #4C66A4;
    height: auto;
    margin: 10px 0px;
    padding-bottom: 30px;
    padding-top: 5px;
    padding:10px 15px;

}

div.footer #footer_text
{
    width:35%;
    float:left;
    line-height:2;
}
div.message
{
    padding:20px;
    background:#fcf7d9;
    border: 1px solid #f5dc7d;
    color: #444;
}
div.footer #footer1
{
    width:23%;
    float:left;
}
div.footer #footer2
{
    width:23%;
    float:left;
    line-height:2;
}

div.footer #footer_face
{
    width:15%;
    float:right;
    text-align:right;
}

#logo {
    float: left;
    height: auto;
    margin-top: 15px;
    width: 100%;

    padding-left: 20px;
}
div.top
{
    min-height:160px;
    max-width:100%;
    width:100%;
    height:auto;
}
div.logo #img
{
    max-width:100%;

}

.box-right
{
    float:right;
    margin-top:10px;
    background-color: #f0f1f4;
    box-shadow: 0 0 10px #CCCCCC;
    border:scroll 0 0 #a6b6d9 1px solid;
    height: auto;
    width: 100%;
    margin-bottom:10px;
}
.box-left
{
    float:left;
    margin-top:10px;
    background-color: #f0f1f4;
    box-shadow: 0 0 10px #CCCCCC;
    border:scroll 0 0 #a6b6d9 1px solid;
    height: auto;
    width: 100%;
    margin-bottom:10px;
}
.box-right img
{
    max-width:240px;
}
.box-right .support
{
    padding:10px;
}
.box-right .support strong
{
    color:maroon;
    font-size:14px;
    margin-bottom:5px;
    display:block;
}
.box-content-center
{
    padding:10px;
}
#left-container .box-left {
    margin-left: 0;
}
.tittle-box-left,.tittle-box-right {
    background: none repeat scroll 0 0 #4C66A4;
    border-bottom: 2px solid #FF9900;
    border-radius: 3px;
    float: left;
    line-height: 28px;
    width: 100%;
}
.tittle-box-left h2,.tittle-box-right h2 {
    background: url("../images/icon.png") no-repeat left center;
    color: #FFFFFF;
    font-weight:bold;
    font-size: 14px;
    font-weight: bold;
    margin-left: 5px;
    padding-left: 18px;
}

.tooltip-wrap {
    position: relative;
}
.tooltip-wrap .tooltip-content {
    display: none;
    position: absolute;
    bottom: 5%;
    left: 5%;
    right: 5%;
    background-color: #fff;
    padding: .5em;
}
.tooltip-wrap:hover .tooltip-content {
    display: block;
}
.content-box {
    color: #000000;
    float: left;
    height: auto;
    margin-top: 2px;
    width: 100%;
    border:1px dashed #ccc;
}
.content-box p {
    line-height: 18px;
    margin-bottom: 5px;
    margin-left: 10px;
    margin-top: 5px;
}
.content-box p span {
    color: #FF6600;
    font-weight: bold;
}
.box-center {
    float: left;
    height: auto;
    margin-bottom: 15px;
    margin:20px;
    line-height:2;
    width: 95%;
}
.tittle-box-center {
    background: url("../images/menu.png") repeat-x;
    border-bottom: 2px solid #FF9900;
    border-radius: 3px;
    float: left;
    height: 28px;
    line-height: 30px;
    width: 100%;
}
.tittle-box-center h2 {
    background: url("../images/icon.png") no-repeat left;
    color: #0a0de3;
    font-size: 14px;
    font-weight: bold;
    margin-left: 5px;
    padding-left: 18px;
}
.box-content-center {
    float: left;
    height: auto;
    margin-top: 2px;
    width: 97%;
}


/**
 * Main loader
 */
#loadding
{
    display:none;
}
#overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: url('../images/overlay.png');
    z-index: 100000;
}

#preloader {
    background: url('../images/preloader.gif') no-repeat 12px 10px #000000;
    color:white;
    font-size: 11px;
    height: 20px !important;
    left: 50%;
    line-height: 20px !important;
    margin: -20px 0 0 -45px;
    padding: 10px;
    position: fixed;
    text-align: left;
    text-indent: 36px;
    top: 50%;
    width: 200px !important;
    z-index: 100001;

    opacity:0.8;

    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
}

.tab_load #loader {
    width: 100%;
    height: 100%;
    min-width: 16px;
    min-height: 11px;
    background: url('../images/loader.gif') no-repeat center;
}
/**
 * End Main loader
 */

ul.news li {
    border-bottom: 1px dotted #999;
    color: #34517d;
    padding-bottom: 5px;
    padding-top: 5px;
    line-height: 20px;
    padding-left:10px;
    text-overflow:ellipsis;
    white-space:nowrap;
    overflow:hidden;
}
ul.news li a img
{
    margin-right:5px;
}

/*
 * Cart
 */
.tblCart {
    border-collapse: collapse;
    border-left: 1px solid #abd5e3;
    border-top: 1px solid #abd5e3;
    font-size:12px;
}
.tblCart tr td {
    border-bottom: 1px solid #abd5e3;
    border-right: 1px solid #abd5e3;
    padding: 5px 3px;
}
.tblCart tr.title1 td {
    font-size: 15px;
    font-weight: bold;
    height: 31px;
    padding-left: 10px;
    vertical-align: middle;
}
.tblCart tr.title2 td {
    background: none repeat scroll 0 0 #00a0dc;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    padding: 7px;
    text-align: center;
    white-space: nowrap;
}
.tblCart del {
    color: #999999;
}
.tblCart tr td.price {
    color: #990000;
    font-size: 14px;
    font-weight: bold;
}
.price_format {
    color: #cc0000;
    font-size: 18px;
    font-weight: bold;
}

#face {
    float: right;
    width: 200px;
}
#info_product p.option {
    border-bottom: 1px dashed #dbdbdb;
    padding: 4px 0;
}
#cart_expand {
    margin-right: 10px;
    margin-top: 20px;
    position: relative;
    width: 240px;
}
.cart {
    height: 30px;
}
.cart_link {
    color: #777777;
    font-family: tahoma;
    font-size: 12px;
    font-weight: normal;
    left: 15px;
    padding: 5px;
    position: relative;
    text-transform: uppercase;
}
.cart_link span {
    color: #ff0000;
    font-weight: bold;
}
.cart img {
    padding-left: 5px;
    position: relative;
    top: 5px;
}

/*news*/
.list_news .item_news {
    border-bottom: 1px solid #ededed;
    clear: both;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.list_news .item_news:last-child {
    border-bottom: 0 none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.list_news .item_news .item_left {
    display: inline;
    float: left;
    margin-right: 10px;
}
.list_news .item_news .item_left .item_img {
    border: 1px solid #dedede;
    height: 90px;
    padding: 3px;
    width: 190px;
}
.list_news .item_news .item_name {
}
.list_news .item_news .item_time {
    color: #888;
    margin: 5px 0;
}
.list_news .item_news .item_content {
}

#mega_menu2 ul.sub-menu > li:hover > a:hover,
#mega_menu2 li > a:hover{
    color : #fff;
    background : #f7941e;
}
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: darkgreen;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}
.product_img {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.product_img .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: darkgreen;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    border: 1px solid #d41212;
    padding: 5px 0;
    padding-left:10px;
    box-shadow: 0 0 20px #CCCCCC;
    /* Position the tooltip */
    position: absolute;
    z-index: 999991;
}

.product_img:hover .tooltiptext {
    visibility: visible;
}
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}


.main-tit {
    position: relative;
    z-index: 99;
    padding: 0px 0 32px 0px;
    text-align: center;
    color: black;
    font-size: 18px;
    margin: 0 0 20px 0;
    background: url(../images/line-tin.png) no-repeat bottom center;
}

.clearfix {
  overflow: auto;
   border: 3px solid #4CAF50;
  padding: 5px;
}

.img2 {
  float: left;
}


* {box-sizing: border-box}

/* Container needed to position the overlay. Adjust the width as needed */
.container_box {
  position: relative;
 margin: 0 auto;
 
}
#con {
  display: flex;   /* establish flex container */
  width: 80%;
  height:25%;
  flex-direction: row;            /* default value; can be omitted */
  flex-wrap: nowrap;              /* default value; can be omitted */
  justify-content: space-between; /* switched from default (flex-start, see below) */

  align-items: center;
  margin: 10 auto;
}
#con > div {
  width: 30%;
  height: 100%;
  border: 2px dashed red;
}
/* Make the image to responsive */
.image_box {
  display: block;
  width: 100%;
  height: 100%;
}

/* The overlay effect - lays on top of the container and over the image */
.overlay {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100%;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
  max-height:95%;
}
.overlay2 {
  position: absolute;
 
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 90%;
  transition: .5s ease;
  opacity:1;
  color: white;
  font-size: 18px;
  padding: 10px;
  text-align: center;
  line-height: 2;
  max-height:95%;
   top: 3%;
   
    overflow-y:hidden;
    overflow-x:hidden;
}
.image_box2 {
  display: block;
  width: 100%;
  height: 100%;
}
/* When you mouse over the container, fade in the overlay title */
.container_box:hover .overlay {
  opacity: 1;
}
/*a:visited {color:blue;}*/
.containerup {
  position: relative;
  width: 20%;
  margin: auto 10px;
}

.imageup {
  display: block;
  width: 100%;
  height: 100%;
}

.overlayup {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #008CBA;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
}

.containerup:hover .overlayup {
  height: 100%;
}

.textup {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}