body, html {
    font-family: 'Raleway', sans-serif;
    font-size:15px;
    background:#EFEFF4;
    top:0 !important;
    width:100%;
    height:100%;
}
body p {
    margin:0;
}
b {
    color: #585f67;
}
a {
    text-decoration: none;
}
:focus {
    border:0;
}

/* Valign */
.valign-wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.valign-wrapper .valign {
    display: block;
}
.center {
    text-align: center;
    vertical-align: middle;
}
.left {
    text-align: justify;
    vertical-align: middle;
}
.right {
    text-align: justify;
    vertical-align: middle;
}

/* ICONS SIZE */
.ion-large {
    font-size:3rem;
    color: rgba(0,0,0,.87);
}
.ion-medium {
    font-size:2rem;
    color: rgba(0,0,0,.87);
}
.ion-small {
    font-size:1.5rem;
    color: rgba(0,0,0,.87);
}
.ion-tiny {
    font-size:1rem;
    color: rgba(0,0,0,.87);
}

/* TITLE SIZE */
.h1 {font-size:1.6em;margin:0;font-weight: 500;color:#656c73;}
.h2 {font-size:1.4em;margin:0;font-weight: 500;color:#656c73;}
.h3 {font-size:1.2em;margin:0;font-weight: 500;color:#656c73;}

/* SIDENAV*/
md-sidenav {
    min-width:260px;
    max-width:260px;
}
md-content.navbar {
    width:100%;
    height:45px;
    background:#585F67;
    position:fixed;
    z-index:9998;
}
md-content.navbar .left {
    width:15%;
    float:left;
    border-right:solid 1px #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
md-content.navbar .left .md-button {
    min-width: 0;
    margin: 0;
    width: 100%;
    min-height:0;
    line-height:45px;
    color:#fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
md-content.navbar .center {
    width:69.4%;
    float:left;
    text-align: center;
    line-height: 45px;
    color:#fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
md-content.navbar .center h1 {
    color:#fff;
}
md-content.navbar .right {
    width:15%;
    height:100%;
    float:left;
    border-left:solid 1px #fff;
    text-align:center;
}
md-content.navbar .right img {
    width: 55%;
    margin-top: 10px;
    height: auto;
}
.md-sidenav-left, md-sidenav {
    background: #4a535a;
    position:fixed;
    z-index:99999;
}
md-backdrop {
    position:fixed;
}
.sidenav-wrap {
    padding-top:10px;
}
.sidenav-wrap .md-button {
    width:94%;
    text-align: left;
    border-bottom:solid 1px #4F585F;
    text-transform: none;
    font-size:15px;
    color:#fff;
    font-weight:400;
}
.sidenav-wrap .md-button img {
    margin-bottom:-3px;
    margin-right:15px;
}

/* HOME */
.wrap-home {
    background:#fff;
    height:100%;
    width:100%;
}
.box-home {
    padding:0 5px;
    margin:0;
    width:100%;
}
.box-home li {
    text-align: center;
    float:left;
    width:50%;
    padding:35px 0;
    border-top:solid 5px #fff;
    border-right:solid 5px #fff;
    border-bottom:solid 5px #fff;
    border-left:solid 5px #fff;
    background:#f2f2f2;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.box-home li a {
    display: block;
    width:100%;
    height:100%;
}
.box-home li img {
    width:50px;
    height:50px;
    margin-bottom:10px;
}
.box-home li h2 {
    font-weight: 500;
}
.copy {
    position:absolute;
    bottom:2%;
    text-align: center;
    width:100%;
    font-size:12px;
    color:#585f67;
    font-weight: 500;
}

/* MAIN */
.wrap {
    padding-top:45px;
}
.categories-wrap {
    padding-top:90px;
}
.content-wrap {
   padding:45px 17px; 
}
.content-page {
    padding:17px;
    background:#fff;
}
ul.macro-categories {
    padding:0;
}
ul.macro-categories li {
    margin-bottom:15px;
    position:relative;
}
ul.macro-categories li, ul.macro-categories li img {
    width:100%;
}
ul.macro-categories li a {
    display: block;
    height: 100%;
    width: 100%;
}
ul.macro-categories li h2 {
    font-weight: 600;
    position: absolute;
    bottom: 50%;
    -moz-transform: translateY(50%);
    -webkit-transform: translateY(50%);
    -o-transform: translateY(50%);
    transform: translateY(50%);
    width: 100%;
    text-align: center;
    margin: 0;
    color: #585f67;
}
#filters {
    padding:13px 17px;
    background:#EFEFF4;
    border-bottom: solid 1px #dedede;
    position:fixed;
    top:45px;
    left:0;
    right:0;
}
#filters a {
    display:block;
}
#filters a i {
    float:right;
}
#filters md-input-container {
    display: block;
    padding:0;
}
#filters .custom-input {
    border:0;
    width:100%;
    background:url(../img/settings.png) no-repeat #EFEFF4;
    background-size:4.8%;
    background-position: 100% 0%;
    -webkit-appearance: none;
}

/* PRODUCTS */
ul.products {
    padding:0;
    margin:0;
} 
ul.products li {
    background:#fff;
    width:50%;
    float:left;
    border-bottom: solid 1px #ddd;
    border-right: solid 1px #ddd;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
ul.products li a {
    display:block;
    width:100%;
    height:100%;
}
ul.products li img {
    width:100%;
}
ul.products li p.details {
    text-align:center; 
    border-top:solid 1px #ddd;
    padding:15px 5px;
    font-weight: 500;
    font-size:16px;
}
.product-title-page {
    margin-top:45px;
    padding:20px 17px;
    font-weight:500;
}
.product-title-page .left {
    width:15%;
    float:left;
}
.product-title-page .left img {
    width:50%;
}
.product-title-page .center {
    width:85%;
    float:left;
}
.product-title-page .center span {
    float:right;
}
.title-with-id {
    padding:20px 0;
    text-align: center;
    border-top:solid 1px #dedede;
    border-bottom:solid 1px #dedede;
}
.product-img {
    border-bottom:solid 1px #dedede;
}
.product-img img{
    width:100%;
}
.product-description {
    padding:25px 17px;
}
.product-description h1 {
    color:#F66E29;
    margin-bottom:6px;
}
.product-description h1 b {
    color:#F66E29;
}
.product-description p {
    line-height: 24px;
}
.content table {
    text-align: center;
}
.content table tr.active {
    background:#FEEFE7;
}
.content table tr td {
    padding:12px 0;
}
.content table tr.active td {
    padding: 5px 0;
}
.media-list {
    padding:0;
    margin:0;
}
.media-list li {
    width:50%;
    max-height: 150px;
    float:left;
    overflow: hidden;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.media-list li:nth-child(odd){
    border-right:solid 1px #fff;
    border-bottom:solid 1px #fff;
    border-top:solid 1px #fff;
}
.media-list li:nth-child(even){
    border-left:solid 1px #fff;
    border-bottom:solid 1px #fff;
    border-top:solid 1px #fff;
}
.media-list li a {
    display: block;
    width:100%;
    height:100%;
}
.media-list li img {
    width:100%;
}

/* GENERIC */
.white-bg {
    background:#fff;
}
.unstyled-list {
    list-style: none;
}
.page        {
    bottom:0; 
    position:absolute;
    top:0;  
    width:100%; 
}
md-backdrop.md-opaque {
    background:transparent;
}
.footer {
    position:fixed;
    background:#EFEFF4;
    bottom:0;
    left:0;
    right:0;
    padding:10px 17px;
    border-top: solid 1px #dedede;
}
.footer .md-button {
    margin:0;
    line-height:0;
    min-height:0;
}
.clearfix {
    clear:both;
}
.vAccordion--default v-pane>v-pane-header {
    border-bottom-color: #dedede;
    padding: 17px;
    font-size: 16px;
    color: #585F67;
    font-weight: 500;
    margin-bottom:0;
}
.vAccordion--default v-pane.is-expanded>v-pane-header {
    border-bottom-color: #dedede;
}
.vAccordion--default v-pane-header:focus, .vAccordion--default v-pane-header:hover {
    color:#F66216;
}
.vAccordion--default v-pane-header::after, .vAccordion--default v-pane-header::before {
    background-color: #585F67;
    right:17px;
}
v-pane-content .content {
    padding: 17px 17px 0 17px;
}
v-pane-content .content .obj {
    margin-bottom:55px;
    clear:both;
}
v-pane-content .content .left {
    width:40%;
    float:left;
    padding:0 5px 0 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
v-pane-content .content .left img {
    width:100%;
}
v-pane-content .content .right {
    width:60%;
    float:left;
    padding:0 0 0 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
v-pane-content .content .right h3 {
    font-size:16px;
    color: #585F67;
    margin:0 0 10px 0;
    font-weight:400;
}
v-pane-content .content .right p {
    font-size:12px;
    line-height:18px;
}
.aperture-img {
    padding:0;
    margin:0;
}
.aperture-img li {
    /*width:50%;*/
    float:left;
    margin-bottom:15px;
    /*margin-bottom: 45px;*/
    padding:0 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.aperture-img li img {
    width:100%;
}
h3.h3.ng-binding {
    /*overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 45px;*/
}
.request-info {
    background:#F66216;
    color:#fff;
    font-size:16px;
    padding:17px;
    display: block;
}
.request-info i {
    float:right;
}
.goback {
    background:#fff;
    font-size:16px;
    padding:17px;
    display: block;
    text-align:right;
}
.goback i {
    float:left;
}
md-input-container {
    padding-bottom:10px;
}
md-input-container:not(.md-input-invalid).md-input-focused label {
    color:#F66216;
}

/* ANIMATIONS */
.ng-enter { animation: slideInRight 0.3s both ease-in; z-index: 8888;animation-delay: 0.1s; }
.ng-leave { animation: slideOutLeft 0.25s both ease-in; z-index: 9997; }

/* leaving animations */
/* slide out from left */
@keyframes slideOutLeft {
    to      { transform: translateX(-100%);}
}

/* entering animations */
/* slide in from right */
@keyframes slideInRight {
    from    { transform:translateX(100%); }
    to      { transform: translateX(0); }
}


/*========================NASCONDO CATEGORIA TENDE A RULLO DAL MENU E DALLA PAGINA CATEGORIE======================*/
.sidenav-wrap .md-button:nth-child(3) {
    display: none;
}
ul.macro-categories li:nth-child(2) {
    display: none;
}

.btn {
    font-size: 12px;
    padding: 10px 15px;
    background: transparent;
    color: #585f67;
    border: 1px solid #585f67;
    border-radius: 40px;
    text-transform: uppercase;
}