html,
body {
    height: 100%;
    margin-top: 10px;
}

      /* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -240px;
}

/**
 * LOGO
 */
.header_logo{
    height: 45px;
    background: url(/theme/assets/media/app/brand/logo_color.svg) top left no-repeat;
}

/**
 * SOCIAL ICONS
 */
.social_icons a.icons{
    display: inline-block;
    width: 33px;
    border: none;
    height: 33px;
    background-color: transparent;
    background-position: 0 0;
    text-indent: -999999px;
}
.social_icons a.icons span{
    display: none
}
.icons.fb{
    background-image: url(/img/fb.png);
}
.icons.twitter{
    background-image: url(/img/twitter.png);
}
.icons.gplus{
    background-image: url(/img/gplus.png);
}
.icons.tuenti{
    background-image: url(/img/tuenti.png);
}
.icons.feed{
    background-image: url(/img/feed_btn.png);
}
.icons.rss{
    background-image: url(/img/rss_btn.png);
}
.icons.atom{
    background-image: url(/img/atom_btn.png);
}
.icons.email{
    background-image: url(/img/btn_email.png);
}
.icons.linkedin{
    background-image: url(/img/linkedin.png);
}
.icons.instagram{
    background-image: url(/img/instagram.png);
}
.icons.twitter:hover,
.icons.fb:hover,
.icons.gplus:hover,
.icons.tuenti:hover,
.icons.feed:hover,
.icons.rss:hover,
.icons.atom:hover,
.icons.email:hover,
.icons.linkedin:hover,
.icons.instagram:hover {
    background-position: 0 -43px;
}

/**
 * MAIN BAR HEADER
 */
.main_bar_header *, .main_bar_header *::after, .main_bar_header *::before {
    box-sizing: border-box;
}
.main_bar_header {
    position: fixed;
    z-index: 999;
    background: white;
    width: 100%;
    padding: 5px 0;
}
.main_bar_header.outTop {
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
/* Action Buttons */
.main_bar_header .act_btn {
    height: 45px;
    max-height: 45px;
    line-height: 45px;
    float: left;
    padding: 0 20px;
    color: #333;

    -webkit-transition: all 0.15s ease-in-out;
       -moz-transition: all 0.15s ease-in-out;
         -o-transition: all 0.15s ease-in-out;
            transition: all 0.15s ease-in-out;
}
.main_bar_header .act_btn .fa {
    color: #a9a9a9;
}
.main_bar_header .act_btn .user_name {
    color: #a9a9a9;
}
.main_bar_header .act_btn:hover {
    background-color: #eeeeee;
}
.main_bar_header .act_btn,
.main_bar_header .act_btn a {
    color: inherit;
    text-decoration: none;
}
/* Top Menu */
.nav-pills > .active > a,
.nav-pills > .active > a:hover,
.nav-pills > .active > a:focus {
    color: #a8c834;
    background-color: #FFF;
}

.nav-tabs .open .dropdown-toggle,
.nav-pills .open .dropdown-toggle,
.nav > li.dropdown.open.active > a:hover,
.nav > li.dropdown.open.active > a:focus {
    color: #a9a9a9;
    background-color: #07435d;
    border-color: #07435d;
}

/* Notification Buttons */
.badge-top {
    background-color: #e02222;
    -webkit-border-radius: 12px !important;
    -moz-border-radius: 12px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 300;
    height: 18px;
    padding: 2px 6px;
    position: absolute;
    right: 5px;
    text-align: center;
    text-shadow: none !important;
    top: 5px;
}


/**
 * TOP MENU
 */
.top_menu .nav-pills > li > a {
    padding-top: 20px;
       padding-bottom: 8px;
       margin-top: 2px;
       margin-bottom: 2px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    padding-right: 32px;
}

.top_menu .nav-pills > li > a:hover {
    background: transparent;
}

.top_menu .nav-pills > .active > a,
.top_menu .nav-pills > .active > a:hover,
.top_menu .nav-pills > .active > a:focus {
    color: #a8c834;
    background-color: #FFF;
}

.top_menu .nav-tabs .open .dropdown-toggle,
.top_menu .nav-pills .open .dropdown-toggle,
.top_menu .nav > li.dropdown.open.active > a:hover,
.top_menu .nav > li.dropdown.open.active > a:focus {
    color: #a9a9a9;
    background-color: #07435d;
    border-color: #07435d;
}

.top_menu .nav-pills .dropdown-menu {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #07435d;
    margin-top: -3px;
    border-color: #07435d;
}

.top_menu .dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 20px;
    color: #c5e7f3;
    white-space: nowrap;
}

.top_menu .dropdown-menu > li > a:hover,
.top_menu .dropdown-menu > li > a:focus,
.top_menu .dropdown-submenu:hover > a,
.top_menu .dropdown-submenu:focus > a {
    color: #ffffff;
    text-decoration: none;
    background-color: #6998ac;
    background-image: -moz-linear-gradient(top, #6998ac, #6998ac);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6998ac), to(#6998ac));
    background-image: -webkit-linear-gradient(top, #6998ac, #6998ac);
    background-image: -o-linear-gradient(top, #6998ac, #6998ac);
    background-image: linear-gradient(to bottom, #6998ac, #6998ac);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6998ac', endColorstr='#ff6998ac', GradientType=0);
}

b.arrow{
    width: 10px;
    height: 10px;
    background: url('/img/grey_arrow.png') 2px 4px no-repeat;
    display: inline-block;
}

/**
 * LOGIN MODAL
 */
.header_login_btn a.img{
    display: inline-block;
    height: 40px;
    width: 37px;
}
.custom_modal.modal{
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}
.custom_modal .modal-header {
    border: none;
    padding: 9px 15px 0;
}

/**
 * Modal login
 */
#modal_login {
    width: auto;
    margin-left: -176px;
}
#modal_login .modal-footer {
    background-color: inherit;
    border-top: none;
    padding-top: 0;
}
/*#modal_login{ width: 600px; }
#modal_login .modal-body{
    padding-top: 0px;
}
#modal_login .mlLeft{
    border-right: 1px solid #ccc;
}
#modal_login .mlRight{

}
*/
#modal_login .mlLeft,
#modal_login .mlRight{
    width: 274px;
    position: relative;
    min-height: 250px;
}
#modal_login .mlRight .bottom{
    width: 254px;
}
#modal_login form#form_login input[type="text"],
#modal_login form#form_login input[type="password"],
#modal_login form#form_register input[type="text"],
#modal_login form#form_register input[type="password"]{
    border: 1px solid #1e88b6;
    height: 40px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    /*width: 220px;*/
    width: 286px;
    padding-left: 28px;
}

#modal_login form#form_login input[type="text"],
#modal_login form#form_login input[type="password"] {
    width: 344px;
}

#modal_login .login_general_error,
#modal_login .login_username_error,
#modal_login .login_password_error {
    display: none;
}
#modal_login .login_username_error,
#modal_login .login_password_error {
    margin-bottom: 10px;
    margin-right: 5px;
}

/**
 *
 */
input.email_icon{
    background: url(/img/email_input_icon.png) 7px 19px no-repeat;
}
input.lock_icon{
    background: url(/img/lock_input_icon.png) 8px 15px no-repeat;
}
input.user_icon{
    background: url(/img/user_input_icon.png) 8px 17px no-repeat;
}
.modal h3{
    font-size: 20px;
    margin-bottom: 15px;
}

/**
 * LOGIN PERFIL
 */
 .header_login_btn .btn-group > .btn:last-child, .btn-group > .dropdown-toggle {
     -webkit-border-top-right-radius: 0px;
     border-top-right-radius: 0px;
     -webkit-border-bottom-right-radius: 0px;
     border-bottom-right-radius: 0;
     -moz-border-radius-topright: 0;
     -moz-border-radius-bottomright: 0;
 }
 .header_login_btn .btn-group.open .dropdown-toggle {
    background-image: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.header_login_btn .dropdown-menu{
    left: initial;
    top: 45px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-color: transparent;
    background-image: url('/img/popover_background.png');
    background-repeat: repeat
}
.dropdown-menu-login {
    right: -10px;
}
.header_login_btn .dropdown-menu-cart {
    right: -20px;
}
.header_login_btn .dropdown-menu-deals {
    right: -20px;
    min-width: 200px;
}
.header_login_btn .dropdown-menu-notifications {
    right: -20px;
    min-width: 200px;
}
.header_login_btn .dropdown-menu li{
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
}
.dropdown-menu > li > a {
    clear: both;
    color: #333333;
    display: block;
    font-weight: normal;
    line-height: 20px;
    padding: 3px 20px;
    white-space: nowrap;
}
.dropdown-menu li ul li {
    clear: both;
    color: #333333;
    display: block;
    font-weight: normal;
    line-height: 20px;
    padding: 3px 10px;
    white-space: nowrap;
}
.header_login_btn .dropdown-menu li > a,
.dropdown-menu li ul li {
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
}
.dropdown-menu li > a:hover,
/*.dropdown-menu li > a:focus,
.dropdown-menu li ul li:hover,
.dropdown-menu li ul li:focus,*/
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
    background-color: #0081c2;
    background-image: linear-gradient(to bottom, #0088cc, #0077b3);
    background-repeat: repeat-x;
    color: #ffffff;
    text-decoration: none;
}
.header_login_btn .dropdown-menu li > a:hover,
.header_login_btn .dropdown-menu li ul li:hover {
    background-color: #6BA6DA;
    background-image: none;
}
.header_login_btn .dropdown-menu li ul li a:hover {
    background-color: #6B99DA;
}
.header_login_btn .dropdown-menu li > a.btn{
    padding-top: 10px;
    padding-bottom: 10px;
    color: black;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.header_login_btn .dropdown-menu li > a.btn:hover{
    background-color: #e6e6e6;
    color: black;


}
.header_login_btn .dropdown-menu:before{
    content: " ";
    display: block;
    text-indent: -99em;
    border-bottom: 0.6em solid #7F7F7F;
    border-left: 0.6em solid transparent;
    border-right: 0.6em solid transparent;
    border-top: none;
    height: 0px;
    margin-left: -.8em;
    margin-right: 10px;
    margin-top: -13px;
    position: absolute;
    /*left: 84%;*/
    right: 20px;
    width: 1px;
}

.dropdown-menu {
    padding: 5px;
    /*padding: 0px 0px 0px;*/
}
.header_login_btn .dropdown-menu::before {
    /*margin-top: -9px;
    border-bottom: 0.6em solid #CCC;*/
    right: 20px;
}
.dropdown-menu .slimScrollDiv {
    overflow: unset !important;
}
.dropdown-menu-list {
    list-style: none;
}

