/*
Theme Name: Nurith
Author: Anteastudio
Author URI: http://anteastudio.com
Description: Nurith theme.
Version: 1.0
*/

/* resets */
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

body {
    font-size: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: "Arial", sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.3;
}

header {
    width: 100%;
    height: 45px;
    display: block;
}

/* MENU */
.container-nav {
    max-width: 980px;
    margin: 0px auto;
    overflow: hidden;
}

nav {
    float: left;
    width: 80%;
    overflow: hidden;
}

/*Strip the ul of padding and list styling*/
nav ul {
    list-style: none;
    overflow: hidden;
    padding: 0;
    margin: 0;

    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

/*Create a horizontal list with spacing*/
nav li {
    display:inline-block;
    float: left;
    width: auto;
    height: 40px;
}

/*Style for menu links*/
nav li a {
    display:block;
    padding-top: 15px;
    padding-bottom: 5px;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
    font-size: 13px;
    color: #413f44;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

/*Hover state for top level links*/
nav li:hover a {
    border-bottom: 3px solid #ed6f0f;
    color: #ed6f0f;
}

/*Style for dropdown links*/
nav li:hover ul a {
    display:block;
    padding: 7px;
    text-align: center;
    font-size: 11px;
    color: #ffffff;
    text-decoration: none;
    text-transform: capitalize;
    background: #69686c;
    border-bottom: none;
}

/*Hover state for dropdown links*/
nav li:hover ul a:hover {
    background: #ed6f0f;
    color: #ffffff;
}

/*Hide dropdown links until they are needed*/
nav li ul {
    display: none;
    position: absolute;
    background: #69686c;
    padding: 5px;
    z-index: 100;
}

/*Make dropdown links vertical*/
nav li ul li {
    display: block;
    float: none;
    height: auto;
}

/*Prevent text wrapping*/
nav li ul li a {
    width: auto;
    min-width: 170px;
    text-align: left !important;
}

/*Display the dropdown on hover*/
nav ul li a:hover + .hidden, .hidden:hover {
    display: block;
}

nav .active a {
    color: #ed6f0f;
    border-bottom: 3px solid #ed6f0f;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
    font-size: 1.000em;
    text-decoration: none;
    color: #ed6f0f;
    text-align: center;
    padding: 10px 0;
    display: none;
}

/*Hide checkbox*/
nav input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
nav input[type=checkbox]:checked ~ #menu{
    display: block;
}

.go-to-site {
    float: left;
    width: 20%;
    height: 45px;
}

.go-to-site img {
    float: left;
    margin-top: 8px;
}

.go-to-site div {
    float: right;
    min-width: 90px;
    height: 45px;
    padding-top: 13px;
    padding-left: 10px;
    background: url(../img/triangolino.png) no-repeat right;
    background-position: 93%;
    background-color: #f0f0f0;
    color: #ed6f0f;
}

.go-to-site div a {
    text-decoration: none;
    color: #ed6f0f;
}
/* /MENU */

/* Contenuto superiore */
.content {
    background-color: #f0f0f0;
}

.top-contatti {
    background-color: #f0f0f0;
    background: url(../img/top-contatti.jpg) no-repeat center;
}

.top-home {
    background-color: #f0f0f0;
    background: url(../img/top-home.jpg) no-repeat center;
}

.top-splash {
    background-color: #f0f0f0;
    background: url(../img/splash-home.jpg) no-repeat center;
}

.top-showroom {
    background-color: #f0f0f0;
    background: url(../img/top-showroom.jpg) no-repeat center;
}

.splash {
    min-height: 370px;
}

.container {
    max-width: 980px;
    width: 100%;
    margin: 0px auto;
    min-height: 600px;
    padding-top: 60px;
    display:table;
}

.row {
    display:table-row;
}

.row div {
    display:table-cell;
}

.box-left {
    width: 34%;
    padding: 10px;
    vertical-align: middle;
    text-align: center;
}

.box-left img {
    max-width: 280px;
    height: auto;
}

.box-right {
    width: 66%;
    padding: 10px;
    vertical-align: middle;
}

.box-right h2 {
    color: #413f44;
    font-size: 1.875em;
    font-weight: bold;
}

.box-right p {
    color: #413f44;
    font-size: 1.000em;
    line-height: 2.250em;
}
/* /Contenuto superiore */

/* Contatti */
.contatti-info {
    max-width: 370px;
    width: 100%;
    margin: 0 auto;
    display: table !important;
}

.contatti-info .row-contatti {
    display: table-row;
}

.contatti-info .row-contatti div {
    display: table-cell;
}

.contatti-ico {
    width: 20%;
}

.contatti-dettagli {
    width: 80%;
    vertical-align: top;
    padding-bottom: 50px;
    padding-left: 10px;
}

.contatti-dettagli p {
    margin: 0;
    color: #413f44;
    font-size: 1.750em;
    line-height: 1.325em;
}
/* /Contatti */

/* Descrizione */
.container-descrizione {
    max-width: 980px;
    margin: 0px auto;
    overflow: hidden;
    padding: 10px;
}

.box-1 {
    text-align: center;
    color: #413f44;
    font-size: 1.750em;
    overflow: hidden;
    max-width: 750px;
    margin: 0 auto;
    margin-bottom: 30px;
}

hr {
    background-color: #d9d9d9;
    color: #d9d9d9;
    border-width:0;
    height:1px;
    max-width: 370px;
    line-height:0;
    margin: 0 auto;
    text-align: center;
}

.box-2 {
    background: #f0f0f0;
    text-align: center;
    color: #413f44;
    font-size: 1.625em;
    overflow: hidden;
    
}

strong {
    text-transform: uppercase;
    color: #9a8c86;
}

a {
   text-decoration: none; 
}
/* /Descrizione */

/* Box contattaci in ogni pagina */
.container-contatti {
    max-width: 980px;
    margin: 0px auto;
    overflow: hidden;
    padding: 10px;
}

.mappa {
    float: left;
    width: 50%;
    height: auto;
    padding: 2px;
    margin-top: 30px;
    margin-bottom: 30px;
    border: 1px solid #d9d9d9;
}

#map {
    width: 100%;
    height: 300px;
}

.contatti {
    float: left;
    width: 50%;
    height: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 20px;
}

.contatti p {
    color: #413f44;
    font-size: 1.125em;
    margin: 0;
    margin-bottom: 5px;
}

.contatti .bold {
    font-weight: bold;
}

*::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #d9d9d9;
}

*:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #d9d9d9;
}

*::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #d9d9d9;
}

*:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #d9d9d9;
}

.form-contatti-preventivo p {
    overflow: hidden;
    width: 100%;
    margin: 0px;
    margin-bottom: 15px;
}

.form-contatti-preventivo span {
    display: block;
    font-size: 1em;
    text-transform: none;
    color: #D44343;
}

.form-contatti-preventivo .left {
    float: left;
    width: 50%;
    padding-right: 7px;
}

.form-contatti-preventivo .left label {
    position: absolute;
    top: 15px;
    right: 35px;
}

.form-contatti-preventivo .left label a {
    text-decoration: none;
    color: #d9d9d9;
    font-size: 1.000em;
}

.form-contatti-preventivo .left input[type="checkbox"] {
    position: absolute;
    top: 15px;
    right: 10px;
}

.form-contatti-preventivo .left input[type="radio"] {
    position: absolute;
    top: 15px;
    right: 10px;
}

.form-contatti-preventivo .right {
    float: right;
    width: 50%;
    padding-left: 7px;
}

.form-contatti-preventivo .privacy {
    float: left;
    width: 50%;
    padding-right: 7px;
    padding-top: 10px;
    text-align: right;
}

.form-contatti-preventivo .privacy label a {
    text-decoration: none;
    color: #bfbfbf;
    font-size: 1.000em;
}

.form-contatti-preventivo .privacy span {
    text-align: left;
}

#result {
    display: none;
    clear: both;
}

#result .success {
    border: 2px solid #398f14;
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
}

#result .error {
    border: 2px solid #f7e700;
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
}

.form-contatti-preventivo input[type="text"], input[type="email"], input[type="tel"] {
    float: left;
    width: 100%;
    height: 50px;
    padding: 5px;
    padding-left: 25px;
    padding-right: 25px;
    outline: none;
    color: #413f44;
    font-size: 1.000em;
    border: none;
    border: 1px solid #d9d9d9;
    background: transparent;
    -webkit-border-radius: 30px;
       -moz-border-radius: 30px;
            border-radius: 30px;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    
}

.form-contatti-preventivo select {
    float: left;
    width: 100%;
    height: 50px;
    padding: 5px;
    padding-left: 25px;
    padding-right: 25px;
    outline: none;
    color: #d9d9d9;
    font-size: 1.000em;
    border: none;
    border: 1px solid #d9d9d9;
    background: transparent;
    -webkit-border-radius: 30px;
       -moz-border-radius: 30px;
            border-radius: 30px;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background: url(../img/triangolino-select.png) no-repeat right;
    background-position: 95%;
}

.form-contatti-preventivo input[type="submit"] {
    float: left;
    width: 100%;
    height: 50px;
    padding: 5px;
    padding-left: 25px;
    padding-right: 25px;
    outline: none;
    color: #ffffff;
    font-size: 1.000em;
    text-transform: uppercase;
    border: none;
    border: 1px solid #d9d9d9;
    background: #9a8c86;
    cursor: pointer;
    -webkit-border-radius: 30px;
       -moz-border-radius: 30px;
            border-radius: 30px;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    
}
/* /Contatti */

/* footer */
footer {
    background: #f0f0f0;
    color: #9a8c86;
}

.container-footer {
    max-width: 980px;
    width: 100%;
    padding: 10px;
    margin: 0px auto;
    display:table;
}

.row-footer {
    display:table-row;
}

.row-footer div {
    display:table-cell;
}

.row-footer div:nth-child(1) {
    width: 70%;
    vertical-align: middle;
}

.row-footer div:nth-child(2) {
    width: 30%;
    text-align: right;
    vertical-align: middle;
}

.row-footer div:nth-child(2) img {
    margin-left: 10px;
    vertical-align: middle;
}

@media only screen and (max-width : 950px),
only screen and (max-device-width : 950px) {
    nav {
        float: left;
        width: 75%;
    }
    
    .go-to-site {
        float: left;
        width: 25%;
        height: 45px;
    }
    
    nav li a {
        font-size: 13px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
}

@media only screen and (max-width : 905px),
only screen and (max-device-width : 905px) {
    
    nav li a {
        font-size: 11px;
        padding-left: 9px;
        padding-right: 9px;
    }
    
}

@media only screen and (max-width : 780px),
only screen and (max-device-width : 780px) {
    
    header {
        height: auto;
    }
    
    .container-nav {
        height: auto !important;
    }
    
    /* MENU */
    /*Make dropdown links appear inline*/
    nav {
        width: 100%;
        height: auto;
        clear: both;
    }
    
    nav ul {
        position: static;
        display: none;
    }
    
    /*Create vertical spacing*/
    nav li {
        margin-bottom: 1px;
        width: 100%;
        height: auto;
    }
    
    nav li a {
        font-size: 0.750em;
    }

    nav li ul {
        display: none;
        position: relative;
        height: auto;
        overflow: visible;
    }
    
    nav li ul li a {
        text-align: center !important;
    }

    nav li:hover ul a {
        font-size: 0.750em;
    }

    /*Make all menu links full width*/
    nav ul li, nav li a {
        width: 100%;
    }
    
    /*Display 'show menu' link*/
    .show-menu {
        display:block;
    }

    .go-to-site {
        clear: both;
        width: 100%;
        padding-left: 10px;
        -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    }
    
    .row div {
        display: block;
    }

    .box-left {
        width: 100%;
    }

    .box-right {
        width: 100%;
    }
    
    .mappa {
        width: 100%;
    }
    
    .contatti {
        width: 100%;
        padding-left: 0px;
    }
    
}