/* style chung */
body {
    font-size: 14px;
    background-color: #e9ebee;
}
a {
    color: #333;
    white-space: nowrap;
}
a:hover {
    text-decoration: none;
}
header.newyear {
    background-color: #fff;
}

.logo{
    height: 42px;
    padding-bottom: 6px;
}
.clearfix {
    clear: both;
}
.root-nav {
    font-size: 11px;
    background: #1b8032;
}
.root-nav ul {
    margin: 0;
}
.root-nav li.active {
    background-color: #fff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.root-nav a {
    color: #fff;
    display: block;
    padding: 2px 12px;
    font-weight: bold;
}
.root-nav .active a {
    color: #888;
}
.header-cont {
    width: 100%;
}

.navbar-brand {
    padding: 0;
    height: auto;
    float: left;
}
header .header-top-1, header .header-top-2, header .header-top-3 {
    display: inline-block;
    vertical-align: middle;
}
/* style riêng */
.banner {
    background-color: #05480f; 
    min-height: 40px; 
    text-align: center; 
    padding: 10px 0px;
}
.banner span {
    text-transform: uppercase; 
    font-size: 18px; 
    font-weight: 500; 
    color: #fff; 
    padding: 5px 0px 
}
.list-inline {
    padding-left: 14px;
    list-style: none;
    margin-right: -5px;
}
.list-inline li {
    padding-left: 0;
    padding-right: 4px;
}
header .main-navbar {
    padding: 6px 0;
    background-color: #fff;
    min-height: 28px;
    margin-bottom: 0px;
}
header .main-navbar ul.navbar-nav {
    float: left;
}
header .main-navbar .navbar-collapse {
    padding: 0;
}
header .main-navbar .navbar-nav > li.active {
    background: none;
}
header .main-navbar .navbar-nav > li {
    display: inline-block;
    margin-right: 4px;
}
header .main-navbar .navbar-nav li a:hover, header .main-navbar .navbar-nav > li.active a, header .main-navbar .navbar-nav li a:focus {
    background-color: #1b8032;
    color: #fff;
    border-radius: 4px;
}
header .main-navbar .navbar-nav li a {
    color: #777;
    padding: 5px 10px;
    line-height: 20px;
}
header .header-top {
    padding: 2px 0;
    background-color: #f6f6f6;
    border-top: 0.5px solid #ddd;
    border-bottom: 0.5px solid #eee;
}
/*header .header-top-1 {
    padding-top: 8px;
}*/
header .header-top-2 {
    width: 400px;
}

.qsearch-box {
    overflow: hidden;
    padding: 5px 12px;
    background-color: #fff;
    position: relative;
    font-size: 14px;
    border-radius: 12px;
    border: 0.5px solid #ddd;
}
.qsearch-box input {
    border: none;
    outline: none;
    max-width: 100%;
    width: 95%;
    background-color: transparent;
}
.qsearch-box button.ico-search {
    font-size: 16px;
    display: block;
    float: right;
    position: absolute;
    top: 0;
    background-color: transparent;
    border: none;
    right: 0;
    bottom: 0;
    padding: 0 15px;
    border-left: 0.5px solid #eee;
    background: #f8f8f8;
    color: #1b8032;
}
header .header-top-3 {
    float: right;
    vertical-align: middle;
}
header .top-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.ico.ico-18 {
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
}
.ico-erecipe {
    background-image: url(https://www.cooky.vn/Content/img/icons/edit-recipe.png);
}
.ico-iblock {
    display: inline-block;
    vertical-align: middle;
}
.right-wrap li > a.btn-default {
    color: #000;
    border-radius: 4px;
    border: 1px solid #ececec;
}

.egap-featured {
    padding: 15px 0;
    position: relative;
   
}

.egap-featured .carousel {
    border-radius: 12px;
    overflow: hidden;
}

/*.logo {
    height: 42px;
    padding-bottom: 18px;
}*/

.loc-list-item .acts .btn-go:hover {
    background: #558b2f;
    border: 1px solid #689f38;
    color: #fff;
}

/**** Dành cho phần danh sách sản phẩm trong home và product ***/
.recommend-cuisine-box {
    padding-bottom: 5px;
    overflow: hidden;
}
.recommend-cuisine-box .item {
    float: left;
    padding: 10px;
}
.recommend-cuisine-box .item a {
    position: relative;
    overflow: hidden;
    font-weight: bold;
    vertical-align: baseline;
    text-align: center;
    padding: 10px 15px;
    width: 125px;
    display: block;
    background-color: #fff;
    font-size: 12px;
    border-radius: 12px;
    border: .5px solid #ddd;
}
.recommend-cuisine-box .item a .ico {
    height: 36px;
}

.recommend-cuisine-box .item a img {
    margin: 0 auto;
    display: block;
    position: relative;
}

.recommend-cuisine-box .item a span {
    position: relative;
}
.row10 {
    margin-left: -10px;
    margin-right: -10px;
}


.wide-box-white {
    background: #fff;
    border-top: .5px solid #eee;
}



/*.home-top-box .headline {
    margin: 15px 0 10px 0;
    overflow: hidden;
    border-bottom: 0;
}*/

.home-top-box .headline h2, .home-top-box .headline .view-more {
    display: inline-block;
    vertical-align: bottom;
}
.home-top-box .desc {
    color: #9e9e9e;
    font-size: 13px;
    font-style: italic;
    display: block;
}

.home-class .class-list {
    margin: 0 -15px;
}

.home-class .class-list .item {
    /*width: 33.333%;*/
    overflow: hidden;
    float: left;
    padding: 15px;
}

.home-class .class-list .item-inner {
    position: relative;
    overflow: hidden;
}

.home-class .class-list .item .item-photo {
    border-radius: 12px;
    overflow: hidden;
    height: 150px;
}
.home-class .class-list .item .item-info {
    padding: 10px 0;
}

.class-list .item-inner .register {
    position: absolute;
    bottom: 0;
    right: 0;
}

.class-list .item-inner .type {
    color: #ff8f00;
    font-size: 12px;
}

.title {
    font-size: 18px;
    height: 50px;
}

.class-list .item-inner h3 {
    margin: 0;
    font-size: 14px;
    padding-right: 100px;
    font-weight: bold;
    white-space: normal;
    line-height: 18px;
}

.event-calendar {
    float: left;
}

.class-list .item-inner .btn {
    background-color: #ff8f00;
    color: #fff;
    font-size: 12px;
    border-radius: 12px;
}

.home-top-box .headline:after {
    background-color: #8bc34a;
    position: relative;
    width: 100px;
    height: 1px;
    content: "";
    top: 8px;
    display: block;
}

.class-list .item-inner .location {
    background: #f4f4f4;
    padding: 1px 6px;
    font-size: 11px;
    border-radius: 2px;
    border: .5px solid #eee;
}

.class-list .item-inner .location, .class-list .item-inner .date {
    display: inline-block;
    font-size: 12px;
    color: #b2b2b2;
}
/*********************/


.cat-item-wrapper {
    margin-top: 30px;
    clear: both;
    overflow: hidden;
}

.cat-headline {
    clear: both;
    overflow: hidden;
}

.cat-headline h2 {
    float: left;
    border-bottom: 2px solid #7cb342;
    padding: 4px 10px;
    padding-left: 0;
    margin: 0;
}

.cat-headline a.view-more {
    float: left;
    display: inherit;
    font-size: 24px;
    float: left;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 14px;
    color: #7cb342;
    margin-left: 15px;
    margin-top: 4px;
}

.cat-product-list {
    overflow: hidden;
    margin: 15px -3px;
    border-radius: 0;
    border-right: 0;
    background: #fff;
    margin-bottom: -1px;
}

.cat-product-list .product-item {
    width: 20%;
    margin: 0;
    border-radius: 0;
    border: 0;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px;
}

.product-item {
    float: left;
    width: 210px;
    border: 1px solid #eee;
    padding: 10px;
    padding-bottom: 0;
    position: relative;
    border-radius: 4px;
    margin: 10px;
}

.product-photo {
    text-align: center;
}

.product-item-info {
    padding: 10px 5px;
    text-align: center;
    height: 100px;
}

.product-item .rating {
    text-align: left;
    vertical-align: bottom;
    border-top: 1px solid #ddd;
    padding-top: 12px;
    position: relative;
    margin-top: 10px;
}


.product-item .photo {
    display: block;
}

.cat-product-list .product-item .photo img {
   /* height: auto; */
    /*height: 250px;
    width: 194px;*/

    width: auto;
    height: 200px;

}

.product-item .name a {
    white-space: nowrap;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.product-item .rating-value {
    font-size: 16px;
    background: #7cb342;
    border-radius: 4px;
    color: #fff;
    width: 36px;
    margin: 0 auto;
    padding: 4px;
    float: right;
    text-align: center;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    padding-top: 6px;
    border: 1px solid #888;
    position: absolute;
    right: 0;
    bottom: 0;
}

.product-item .rating-count {
    color: #b2b2b2;
    font-size: 12px;
    padding: 6px 0;
    text-align: left;
    vertical-align: bottom;
    display: inline-block;
}

.product-item .rating-count .count {
    font-weight: bold;
    color: #333;
}


.cat-headline h2 {
    float: left;
    border-bottom: 2px solid #7cb342;
    padding: 4px 10px;
    padding-left: 0;
    margin: 0;
    font-size: 24px;
}




.product-item .location {
    color: #b2b2b2;
    font-size: 12px;
    padding: 6px 0;  
    vertical-align: bottom;
    display: inline-block;
}

.event-headline a.view-more{

    display: inherit;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    color: #7cb342;
    margin-left: 15px;
    margin-top: 4px;
}

/**** for product page ******/
.page-header {
    border: 0;
    max-height: initial;
    min-height: initial;
}

.search-box {
    padding: 6.5px;
    border: 1px solid #ddd;
    margin-top: 15px;
    background-color: #eee;
    border-radius: 4px;
    margin-bottom: 15px;
}
.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

.search-box .btn-search {
    text-decoration: none;
}

ul.category-list {
    padding: 0;
    list-style-type: none;
}

ul.category-list li {
    float: left;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 4px;
    margin-right: 4px;
    margin-top: 4px;
    font-weight: bold;
}

ul.category-list li a {
    font-size: 12px;
    padding: 6px 15px;
    display: block;
    color: #000;
}
.text-highlight {
    color: #c70808;
}
.fa.pull-left {
    margin-right: .3em;
}
.fa-angle-right:before {
    content: "";
}
/*** css cho footer *****/
footer 
{
    display: block;
}
footer ul>li>a {
    color: #333;
    font-size: 12px;
}

.static-footer {
    position: relative;
    border-top: 1px solid #ddd;
    padding: 15px 0;
}
.static-footer:before {
    content: "";
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
footer .top-list {
    width: 33.333%;
    float: left;
}
/*.headline {
    font-size: 18px;
    padding: 10px 0;
    display: block;
}*/
.top-list .headline h3 {
    margin: 0;
    font-size: 14px;
    color: #000;
    font-weight: bold;
}
footer .cooky-statistic .item {
    padding: 8px 0;
    width: 50%;
    float: left;
}
.cooky-statistic a {
    text-decoration: none;
    display: block;
    color: #000;
}
.cooky-statistic span.stats-count {
    font-size: 14px;
    font-weight: bold;
}
.cooky-statistic span.stats-text {
    font-size: 12px;
    color: #9e9e9e;
}
footer .top-list {
    width: 33.333%;
    float: left;
}
.intro-links a {
    display: block;
    padding: 4px 0;
    width: 50%;
    float: left;
}
.language-box .l-indicator {
    opacity: .4;
    padding: 4px;
    display: inline-block;
}
.language-box .l-indicator.current {
    opacity: 1;
    font-weight: bold;
}
.language-box .flag {
    height: 14px;
    float: left;
    margin-right: 4px;
}
footer .privacy-links a {
    color: #555;
    font-size: 12px;
    text-decoration: underline;
    font-weight: bold;
}

/***** FOR HOME HEAD *******/
.error 
{
    color: #ff0000;
    font-weight: 400;
}
#simplemodal-container {
    height: 500px;
    width: 600px;
    background-color: #fff;
    padding: 0;
    margin: auto;
}
#simplemodal-container a.modalCloseImg {
    opacity: 0.4;
    right: 10px;
    background: url(https://www.cooky.vn/Content/simplemodal/x-black.png) no-repeat;
    width: 25px;
    height: 29px;
    display: inline;
    z-index: 3200;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.callback-msg {
    margin: 10px 0px;
    border: 1px dashed #c70808;
    padding: 10px;
    text-align: center;
    color: #c70808;
    overflow: hidden;
    border-radius: 16px;
    background-color: #fff4f4;
}
.tab-header {
    text-transform: uppercase;
    color: #b2b2b2;
}
    
.tab-header.active {
    color: #000 !important;
    font-weight: bold;
}
.tab-header:last-child {
    margin-left: 20px;
}
.opt-links {
    text-align: center;
    margin-top: 10px;
}
.opt-links a {
    color: #a0a0a0;
    font-size: 11px;
}


.opt-label {
    color: #b2b2b2;
    text-align: center;
}
.opt-label .desc {
    display: block;
    color: #9e9e9e;
    font-size: 12px;
}
.login-verticle-box .login-row input[type=text], .login-verticle-box .login-row input[type=password], .login-verticle-box .login-row select {
    border-radius: 30px;
    width: 100%;
    background: rgba(255,255,255,.2);
        /* background: #fff; */
    border: #ddd 1px solid;
    /* border-radius: 20px; */
    height: 38px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 15px;
}
.tips {
    font-size: 12px;
    color: #777;
    text-align: center;
}
.highlight {
    color: #d2322d!important;
}

.nav-tabs>li>a, .nav-tabs>li>a:focus {
    text-transform: uppercase;
}
 
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover 
{
    border: none;
    color: #000 !important;
    font-weight: bold;
}


/*****cho phần đăng nhập => đã login ==**/
.list-inline li {
    padding-left: 0;
    padding-right: 4px;
}
.btn-quickmenu {
    outline: none;
    /*border: 0;
    background-color: transparent;
    color: #b2b2b2;
    font-size: 16px;
    padding: 5px 8px;
    border-radius: 50%;*/

    color: #000;
    background-color: #fff;
    border-radius: 2px;
    padding: 6px 12px;
    border: 0.5px solid #ddd;
    border-radius: 12px;
    font-size: 14px;
    
}

.unread-noti {
    position: absolute;
    top: 0;
    border-radius: 6px;
    left: 18px;
    min-width: 18px;
    min-height: 18px;
    background-color: #c70808;
    border: 1px solid;
    color: #fff;
    font-size: 11px;
}

.notify-header {
    background-color: #f0f0f0;
    margin: -15px;
    margin-bottom: 0;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

.header-user-links {
    margin-left: 6px;
}

.header-user-img {
    height: 38px;
    width: 38px;
    cursor: pointer;
    border: 1px solid #fff;
}

.header-user-links .dropdown-menu {
    padding: 15px;
    border: 0;
    min-width: 300px;
}

.notify-header {
    background-color: #f0f0f0;
    margin: -15px;
    margin-bottom: 0;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

.right-wrap .header-user-links li>a.personal-item {
    font-size: 12px;
    border-top: 1px solid #e5e5e5;
    padding: 8px;
}

.header-user-links .stats-text {
    padding: 6px;
}

.right-wrap li>a {
    display: block;
}

/**** IMETOS ******/

.loc-filter {
    float: left;
    width: 184px;
    margin-bottom: 15px;
    padding: 15px;
    font-size: 16px;
    background-color: #fff;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.08);
}
.loc-filter.province-filer .filter-headline {
    border-bottom: 0;
}
.loc-filter .btn-change-loc {
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    background-color: transparent;
    border: 1px solid #eee;
    background: #f8f8f8;
}
.loc-filter .filter-opt {
    margin: 10px 0 0 0;
}
.loc-filter .opt-headline {
    font-weight: bold;
    margin-bottom: 5px;
}
.loc-filter .opt-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0;
}
.loc-filter .opt {
    padding: 5px 0;
    position: relative;
    display: block;
    font-size: 12px;
}
.loc-page .loc-wrapper {
    overflow: hidden;
    padding: 0 0 15px 15px;
}
.loc-page .loc-bar {
    float: left;
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 10px;
    background-color: #fff;
}
.loc-page .result-bar {
    font-size: 24px;
    float: left;
    clear: both;
    overflow: hidden;
    width: 100%;
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
    padding-bottom: 5px;
}
.loc-page .result-count {
    color: #7cb342;
}
.loc-page .loc-wrapper .loc-list .loc-list-item {
    background-color: #fff;
    margin: 15px 0;
    overflow: hidden;
    padding: 15px;
    position: relative;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.08);
}
.loc-list-item .item-photo {
    width: 280px;
    margin-right: 15px;
    overflow: hidden;
    float: left;
}
.loc-list-item .info {
    overflow: hidden;
}
.loc-list-item .cat {
    float: left;
    margin-bottom: 6px;
    border-radius: 6px;
    font-size: 14px;
}
.loc-list-item .cat a {
    color: #558b2f;
    /* display: block; */
    padding: 2px 0;
    margin: 2px 0;
}
.loc-list-item .info .name {
    clear: both;
    margin: 6px 0 2px 0;
    font-size: 18px;
    margin-bottom: 2px;
    padding-right: 90px;
    color: #333;
}
.loc-list-item .info .address {
    color: #a5a5a5;
}
.loc-list-item .item-photo img {
    width: 100%;
}
.loc-list-item .info .short-desc {
    color: #444;
    padding: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.loc-list-item .info .short-desc p {
    color: #444;
    padding: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.loc-list-item .acts {
    position: absolute; 
    bottom: 10px;
    right: 10px;
}
.loc-list-item .acts .btn-go {
    background: #f8f8f8;
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #ddd;
    color: #2d5d04;
    border-radius: 4px;
    text-decoration: none;
}
.loc-list-item .opening-stats {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #b2b2b2;
    font-size: 12px;
}
.loc-list-item .opening-stats .opening-time {
    display: block;
    text-align: right;
    color: #000;
    font-weight: bold;
}
.loc-list-item .opening-stats .ico {
    color: #5cb85c;
}


.cm-block {
    background: #fff;
    border: 1px solid #e1e1e1;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.1);
    display: inline-block;
    width: 100%;
    padding: 20px;
    margin-top: 20px;
}

/*** MEMBER LEFT *****/
.sidebar-content ul > li.active a span, .sidebar-content ul > li:hover a span {
    color: #c70808;
}

.sidebar-content ul > li.active a, .sidebar-content ul > li:hover a {
    color: #000;
}

.setting-page-container .page-container {
    padding: 15px;
}
.account-sidebar {
    color: #333;
    min-height: 600px;
    width: 300px;
    float: left;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-right: 15px;
}
.account-sidebar .sidebar-head {
    text-align: center;
}
.account-sidebar .profile-avatar {
    overflow: hidden;
    text-align: center;
}
.account-sidebar .profile-avatar a {
    display: block;
    overflow: hidden;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    margin: 0 auto;
}
.account-sidebar .title {
    margin: 6px 0;
}
.account-sidebar .title a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}
.mem-statis-box {
    margin: 0px 0px 15px 0px;
    overflow: hidden;
    text-align: center;
}
/*.headline {
    font-size: 14px;
    padding: 10px 0;
    display: block;
}*/
.mem-statis-box .val {
    border: .5px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}
.mem-statis-box .val .newbee.active {
    background: #00bcd4;
}
.mem-statis-box .val span {
    width: 20%;
    height: 12px;
    display: block;
    margin: 0;
    outline: none;
    float: left;
    border-right: .5px solid #e0e0e0;
    background: #f6f6f6;
}
.mem-statis-box .text span {
    display: block;
    width: 20%;
    float: left;
    text-align: center;
    padding: 2px 0;
    font-size: 12px;
}

.account-sidebar a {
    display: block;
    color: #7d7d7d;
    text-decoration: none;
}
.sidebar-content ul > li a {
    padding: 10px 0;
    border-bottom: 0.5px dashed #eee;
    text-transform: uppercase;
    font-size: 14px;
}
.page-account-info {
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    min-height: 600px;
}
.account-toolbar {
    border-bottom: 1px solid #eee;
}
.account-toolbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    /* background: #f8f8f8; */
}
.account-toolbar ul li {
    display: inline-block;
}
.account-toolbar ul li a {
    display: block;
    padding: 10px 15px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0.6;
    text-decoration: none;
}
.account-toolbar ul li.active a {
    border-bottom: 2px solid #c70808;
    opacity: 1;
}
.panel-group {
    margin-bottom: 20px;
}
.form-row {
    padding: 6px 0;
    clear: both;
    overflow: hidden;
}
.setting-page-container .form-row .form-left {
    padding: 4px 0;
    text-align: left;
    float: left;
    clear: both;
    overflow: hidden;
    width: 200px;
}
.setting-page-container .form-row .form-right {
    overflow: hidden;
}
.setting-page-container .form-row .form-left {
    padding: 4px 0;
    text-align: left;
    float: left;
    clear: both;
    overflow: hidden;
    width: 200px;
}
.account-editor-block h3.block-title {
    color: #999;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}
.form-row {
    padding: 6px 0;
    clear: both;
    overflow: hidden;
}
.account-editor-block .form-left .control-label {
    max-width: 200px;
    width: 100%;
    text-align: right;
    padding-right: 15px;
    font-weight: bold;
}
textarea.form-control {
    height: inherit;
}
.account-editor-block .btn-submit {
    background: #fff;
    border-color: #3897f0;
    color: #3897f0;
}
.page-account-info input[type="text"] {
    min-width: 240px;
    margin-right: 52px;
}
.account-editor-block select.form-control, .account-editor-block select.form-control option {
    font-size: 14px;
    background: #fff;
}

/* check box slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/***FOR PRODUCT *****/
.skip {
    color: #a0a0a0;
    margin: 5px 0px;
    font-size: 13px;
    line-height: 20px;
    float: left;
    width: 100%;
}
.item-product-inhome {
    background: #fff;
    padding: 0px;
    width: 100%;
    max-width: 300px;
    float: left;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.item-product-inhome {
    box-shadow: 0px 0px 3px #c7bcbc;
    position: relative;
    margin: 0 0px 10px 0px;
}
.item-product-inhome .img {
    position: relative;
    float: left;
    width: 100%;
    padding: 50%;
}
.item-product-inhome .img a {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    margin: auto;
    height: 100% !important;
    width: 100% !important;
}
.item-product-inhome .img img {
    height: 100%;
    min-width: 100%;
    object-fit: contain;
    -webkit-transition: all 0.4s ease;
}
.item-product-inhome h3 {
    padding: 2px 10px 5px 10px;
    margin-top: 10px;
    line-height: 17px;
    float: left;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    /*height: 37px;*/
}
.item-product-inhome h3 a {
    font-size: 14px;
    color: #000;
    font-weight : 600;
    display: block;
}
.item-product-inhome .price {
    color: #598627;
    /*float: left;*/
    width: 100%;
    font-size: 14px;
    padding: 1px 10px 1px 10px;
    margin-bottom: 0px;
    display: flex;
}

.item-product-inhome .price i{

   /* color : #aaa;*/
}
.item-product-inhome .review {
    display: flex;
    float: left;
    width: 100%;
    padding: 0px 10px 10px 10px;
}
.list-product-manager .item-product-inhome .review .star {
    color: #ffe400;
    margin-right: 15px;
    font-size: 12px;
}
.yellow {
    color: #ffe400 !important;
}
.item-product-inhome .review .car-ship {
   /* transform: rotateY(180deg);*/
    margin-left: auto;
    color: #598627;
}
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
}
.item-product-inhome .review .wishlist a {
    color: #b3b3b3;
}

.item-product-inhome .barcode{
    margin-left: auto;
    color: #598627;
}
.add-product-manager {
    position: absolute;
    left: 0px;
    top: 0px;
    background: #fff;
    width: 100%;
    height: 100%;
    padding: 2px;
}
.add-product-manager button {
    height: 100%;
    width: 100%;
    background: #fff;
    border: 1px dashed #ccc;
}
.add-product-manager button .plus-circle {
    width: 48px;
    height: 48px;
    display: inline-block;
    background: #8ac944;
    line-height: 48px;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    text-align: center;
}
.add-product-manager button p {
    font-size: 13px;
    margin-top: 11px;
}

/*.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}*/
.pagination a.page.active {
    background-color: #d2322d;
    border: 1px solid #d43f3a;
    font-size: 14px;
    color: #fff;
}
.pagination a.page {
    display: block;
    float: left;
    background: #fff;
    padding: 4px 10px;
    border: 1px solid #e5e5e5;
    margin: 2px 3px;
    color: #d2322d;
}


/*** cho phần mô tả sản phẩm */
.origin-product {
    height: 44px;
    width: 44px;
    padding: 3px;
    cursor: pointer;
    border: 1px solid #00490a;
}

/**** cho trang slide và ảnh ****/


.avatar-upload-item {
    position: relative;
    display: inline-block;
    border: 1px solid #ddd;
    margin: 0 2px 30px 2px;
    width: 104px;
    height: 104px;
    vertical-align: middle;
    padding: 1px;
}

.progress, .upload-button {
    margin: auto;
    width: 700px;
}

.repostion-text {
    position: absolute;
    color: #fff;
    z-index: 10;
    margin: 10px;
    padding: 5px;
    background: rgba(255, 255, 255, .15);
    font-size: 12px;
}

.wrap {
    width: 700px;
    height: 200px;
    overflow: hidden;
    cursor: -webkit-grab;
    margin: auto;
}

/** for notification **/
.product-notification{
    padding: 6px;
    min-height: 48px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #a2d246;
    border-radius: 4px;
    background-color: #ebf8a4;
}

/*** product detail ****/
.pull-left-plain{
    margin-top: 4px;
 }

.table-trace .item-product{
    font-weight: 600;
}

.table-trace .item-product a{ 
    text-decoration: underline;
}

    
.table-trace .item-state i{
    font-size: 10px;
    padding-top: -2px;
}

/*** phần dành cho dánh sách sản phẩm, cơ sở , tìm kiếm ****/

.page {background-color: #E9EBEE }
    
.loc-page .header-cover {padding: 30px;background: #fafafa;margin-top: 15px;border-top: 1px solid #eee;border-bottom: 1px solid #eee;}

.wide-box { padding: 15px 0; }

.center {
    text-align: center;
    margin: 0 auto;
}
.loc-page .header-cover h1 {
    color: #111;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 400;
}

.loc-page .search-box {
    position: relative;
    max-width: 900px;
    min-width: 900px;
    margin: 0 auto;
    border: 1px solid #eee;
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    display: inline-block;
}

.loc-page .search-box .location-selector a.btn {
    display: block;
    background: #d43f3a;
    padding: 5px 16px;
    font-size: 16px;
    border-radius: 4px;
    text-align: center;
    color: #fff;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.loc-page .search-box .location-selector {
    padding-left: 10px;
    float: left;
    width: 178px;
}

.loc-page .search-box form {
    max-width: 700px;
    float: left;
    overflow: hidden;
}

.filter-result-bar .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;
}

.count-red-circle {
    background: #d43f3a;
    padding: 0 4px;
    color: #fff;
    border-radius: 25px;
}

.loc-list-item .stats {
    padding: 4px 0;
    overflow: hidden;
}
.loc-list-item .stats .stats-item {
    color: #9e9e9e;
    padding-right: 10px;
    display: block;
    float: left;
    border: 1px solid #eee;
    margin: 2px 8px 2px 0;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: lowercase;
    font-size: 12px;
}

.loc-page .sorttype a {
    display: inline-block;
    margin: 2px;
    padding: 4px 12px;
    text-decoration: none;
    font-size: 12px;
    border-radius: 16px;
    color: #7e7e7e;
}

.loc-bar .toolbar .btn-viewmode.active {
    color: #689f38;
}

.loc-bar .toolbar .btn-viewmode {
    color: #b2b2b2;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 2px 4px;
    height: 20px;
    vertical-align: middle;
}

 .loc-bar .toolbar .result-stats {
    font-style: italic;
    color: #b2b2b2;
    font-size: 12px;
    border-right: 1px solid #eee;
    padding-right: 10px;
}
    
/* Hiển thị chi tiết sản phẩm : vật tư, hàng hóa nông nghiệp */
.micro-navbar {
    margin-top: 15px;
}
.micro-navbar .nav-tabs {
    border: 1px solid #eee;
    background-color: #fff;
    font-size: 14px;
}
.micro-navbar .nav-tabs li.active>a, .micro-navbar .nav-tabs li.active>a:hover {
    font-weight: bold;
    border: 0;
    border-bottom: 3px solid #7cb342;
}
.p-info .classify li .val a {
    color: #689f38;
    text-decoration: underline;
}

/*** cho quy trình trồng trọt và bệnh tật */
.wiki-list-item {
    margin: 0;
    margin-bottom: 6px;
    width: 25%;
    float: left;
    padding: 0 1%;
    padding-bottom: 4px;

    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.wiki-list-item a.name {
    color: #000;
    font-size: 13px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.wiki-content-wrapper {
    padding-top: 30px;
}

.wiki-container, .wiki-page {
background-color: #fff;
}

    .wiki-page {
    padding-right: 40px;
}

.wiki-container .cat-box {
    clear: both;
    margin-bottom: 15px;
    overflow: hidden;
}

.headline {
    font-size: 18px;
    padding: 10px 0;
    display: block;
}

.text-gray {
    color: #9e9e9e;
}

.cat-item {
    padding: 6px 4px;
}

.wiki-container .text-highlight {
    color: #0288d1;

    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    
}
.wiki-container .cat-item a .stat-count {
    background-color: #0288d1;
    color: #fff;
    border: 0;
    border-radius: 16px;
    padding: 2px 6px;
    min-width: 40px;
    text-align: center;
}
.cat-item a .stat-count {
    display: block;
    float: right;
}
.cat-item a .stat-count {
    display: block;
    float: right;
    border: 1px solid #ddd;
    padding: 0 8px;
    border-radius: 3px;
    color: #d43f3a;
}






.wiki-char-list-container {
    padding: 20px;
    text-align: center;
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
}

.wiki-char-list-container .start-char-list {
    margin: 0 auto;
    overflow: hidden;
}

.wiki-char-list-container .start-char-list {
    margin: 0 auto;
    overflow: hidden;
}

.wiki-startchar-icon {
    display: inline-block;
    margin-right: 4px;
    margin-bottom: 4px;
}

.wiki-char-list-container .wiki-startchar-icon a {
    float: none;
    width: 38px;
    height: 38px;
}

.wiki-char-list-container .wiki-startchar-icon a {
    background-color: #fff;
    font-weight: normal;
}

.wiki-startchar-icon a {
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    display: block;
    text-align: center;
    font-size: 18px;
    width: 30px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: table-cell;
    vertical-align: middle;
}

.wiki-startchar-icon a.active {
    background-color: #0288d1!important;
    color: #fff;
    border: none;
}



.ico-order{
    font-size: 18px;
    color: #ff5252;
}

    /* form đăng bán buôn */
    .mtrl-modal .mtrl-modal-close {
        cursor: pointer;
    }
    
    .mtrl-modal.full-screen {
        bottom: 0;
        top: -100%;
        margin: 0;
        min-width: 100%;
        min-height: 100%;
        border-radius: 0;
        will-change: top, opacity;
        position: fixed;
        background-color: #fafafa;
    }
    .mtrl-modal .mtrl-modal-header {
        border-radius: 0 0 2px 2px;
        background-color: #fafafa;
        padding: 4px 6px;
        height: 56px;
        width: 100%;
    }
    .mtrl-modal-header i {
        margin: 10px 0px;
        font-size: 50px;
        color: #19b1ff;
    }
    .mtrl-modal.mtrl-modal-fixed-header .mtrl-modal-content {
        position: absolute;
        height: calc(100% - 56px);
        max-height: 100%;
        width: 100%;
        overflow-y: auto;
        bottom: 0px;
    }
    .mtrl-modal-content .login-header {
        padding: 0;
        margin: 0 0 17px 0;
        font-weight: bold;
        font-size: 32px;
    }


/**  ****/
.diary-more{
    float: right;
    padding: 10px 0px;
    margin-right: -10px;
    padding-right: 20px;
    padding-left: 20px;
    cursor: pointer;
    background: #ffa000;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    color: #fff;
}


.tab-login li{
    width: 50%;
}
.bottom-toolbox {
    padding-bottom: 10px;
    position: fixed;
    bottom: 0;
    right: 5px;
    cursor: pointer;
    max-height: 190px;
    width: 45px;
    text-align: center;
    background: rgba(203,203,203,.3);
}
.ico-item {
    width: 45px;
    display: block;
    float: left;
    margin: 0 auto;
    padding: 8px 0 0 0;
}
.ico.ico-24 {
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    border-radius: 50%;
}
.ico-facebook {
    background-image: url(https://www.cooky.vn/Content/img/icons/fb_icon_325x325.png);
}
.ico-ytb-48 {
    background-image: url(https://www.cooky.vn/Content/img/icons/youtube48.png);
}
.ico-cooky-messenger-logo-48 {
    background-image: url(https://www.cooky.vn/Content/img/icons/cooky-messenger-logo-48.png);
}
.block {
    display: block;
}