/********************************/
/********************************/
/* Form                         */
/********************************/
/********************************/

@media (min-width: 768px) {
  div.login-container .fieldset>.field>.control {
    width: 74.2%;
  }
}



button, a.action.primary,
.cart.table-wrapper .actions-toolbar>.action,
.action-gift,
.block-cart-failed .action.continue,
.cart-container .form-cart .action.continue {
  border-radius: 0;
}

.action.primary {
  background: #5b1e85;
  border: 1px solid #5b1e85;
}

.action.primary:hover {
  background: #5b1e85;
  border: 1px solid #5b1e85;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.7);
}



._keyfocus *:focus,
input:not([disabled]):focus,
textarea:not([disabled]):focus,
select:not([disabled]):focus {
    box-shadow: none;
    /* border-color: none; */
}

/* INPUT */
input[type="text"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="datetime"],
input[type="email"] {
    background: transparent;
    background-clip: padding-box;
    

    border: 1px solid #FFF;
    border-bottom: 1px solid #E5E5E4;
    color: #666667;

    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    
    border-radius: 0px;
    font-weight: normal;
    font-size: 14px;
    height: 32px;
    line-height: 1.42857143;
    padding: 0 9px;
    vertical-align: baseline;
    width: 100%;
    box-sizing: border-box;
}

input[type="text"]:hover,
input[type="password"]:hover,
input[type="url"]:hover,
input[type="tel"]:hover,
input[type="search"]:hover,
input[type="number"]:hover,
input[type="datetime"]:hover,
input[type="email"]:hover {
    border-bottom: 1px solid #000;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="datetime"]:focus,
input[type="email"]:focus {
    border: 1px solid #000;
    /* background: #F9F9F9; */
    box-shadow: 1px 1px 1px #E5E5E4,
                1px 2px 1px #E5E5E4,
                2px 3px 1px #E5E5E4,
                2px 4px 1px #E5E5E4;
}

input[type="text"].mage-error,
input[type="password"].mage-error,
input[type="url"].mage-error,
input[type="tel"].mage-error,
input[type="search"].mage-error,
input[type="number"].mage-error,
input[type="datetime"].mage-error,
input[type="email"].mage-error {
    border-bottom: 1px solid #ed8380
}
input[type="text"].mage-error:hover,
input[type="password"].mage-error:hover,
input[type="url"].mage-error:hover,
input[type="tel"].mage-error:hover,
input[type="search"].mage-error:hover,
input[type="number"].mage-error:hover,
input[type="datetime"].mage-error:hover,
input[type="email"].mage-error:hover {
    border-bottom: 1px solid #e02b27;
}

input[type="text"].mage-error:focus,
input[type="password"].mage-error:focus,
input[type="url"].mage-error:focus,
input[type="tel"].mage-error:focus,
input[type="search"].mage-error:focus,
input[type="number"].mage-error:focus,
input[type="datetime"].mage-error:focus,
input[type="email"].mage-error:focus {
    border: 1px solid #e02b27;
}



.product-info-main .box-tocart .input-text.qty,
.product-options-bottom .box-tocart .input-text.qty {
    border: 1px solid #E5E5E4;
}
.product-info-main .box-tocart .input-text.qty:hover,
.product-options-bottom .box-tocart .input-text.qty:hover {
    border: 1px solid #000;
}
.product-info-main .box-tocart .input-text.qty:focus,
.product-options-bottom .box-tocart .input-text.qty:focus {
    border: 1px solid #000;
}



/* TEXTAREA */


textarea {
    background: transparent;
    background-clip: padding-box;
    
    border: 1px solid #FFF;
    border-bottom: 1px solid #E5E5E4;
    color: #666667;

    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;

    border-radius: 0px;
    font-size: 14px;
    height: auto;
    line-height: 1.42857143;
    margin: 0;
    padding: 10px;
    vertical-align: baseline;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

textarea:hover {
    border-bottom: 1px solid #000;
}
textarea:not([disabled]):focus {
    border: 1px solid #000;
    box-shadow: 1px 1px 1px #E5E5E4,
                1px 2px 1px #E5E5E4,
                2px 3px 1px #E5E5E4,
                2px 4px 1px #E5E5E4;
}

textarea.mage-error {
    border: 1px solid #FFF;
    border-bottom: 1px solid #ed8380;
}
textarea.mage-error:hover {
    border: 1px solid #FFF;
    border-bottom: 1px solid #e02b27;
}
textarea.mage-error:focus {
    border: 1px solid #e02b27;
}

/* SELECT */

form select {
    border: 1px solid #FFF;
    border-bottom: 1px solid #E5E5E4;
    color: #666667;
    -webkit-border-radius:0px;
    -moz-border-radius:0px;
    border-radius:0px;
    outline:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
    background: url("../images/form/select.svg") top right no-repeat;
    padding-right: 25px;
}
form select:hover {
    border-bottom: 1px solid #000;
}
form select:focus,
form select:not([disabled]):focus {
    border: 1px solid #000;
    box-shadow: 1px 1px 1px #E5E5E4,
                1px 2px 1px #E5E5E4,
                2px 3px 1px #E5E5E4,
                2px 4px 1px #E5E5E4;
}



.limiter select,
.sorter select {
    border-color: #000;
    color: #000;
    -webkit-border-radius:0px;
    -moz-border-radius:0px;
    border-radius:0px;
    outline:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
    background: url("../images/form/select.svg") top right no-repeat;
    padding-right: 23px;
}










/* PAGINATORE */
.pages .action.previous {
    margin-right: 8px;
}

.pages .action.next {
    margin-left: 8px;
}

.pages .action.previous:before,
.pages .action.previous:visited:before,
.pages .action.next:before,
.pages .action.next:visited:before {
    color: #5b1e85;
}
.pages .action.previous:hover:before,
.pages .action.previous:hover:visited:before,
.pages .action.next:hover:before,
.pages .action.next:hover:visited:before {
    color: #ffffff;
}

.pages .action.previous,
.pages .action.next {
    color: #5b1e85;
    border: 1px solid #5b1e85;
}

.pages .action.previous:hover,
.pages .action.previous:focus,
.pages .action.next:hover,
.pages .action.next:focus {
    background: #5b1e85;
}

.pages a.page,
.pages a.page:visited {
    color: #5b1e85;
    display: inline-block;
    padding: 0 4px;
    text-decoration: none;
    width: 24px;
    border: 1px solid #5b1e85;
    margin: 0px 2px;
}

.pages a.page:hover,
.pages a.page:focus,
.pager .pages .action.previous:hover,
.pager .pages .action.previous:focus,
.pager .pages .action.next:hover,
.pager .pages .action.next:focus {
    color: #ffffff;
    background: #5b1e85;
}

.pages strong.page {
    font-size: 1.2rem;
    font-size: 12px;
    letter-spacing: normal;
    line-height: 32px;
    color: #ffffff;
    background: #5b1e85;
    display: inline-block;
    font-weight: 700;
    padding: 0 4px;
    width: 24px;
    border: 1px solid #5b1e85;
    margin: 0px 2px;
}

/* Pagina elenco prodotti - ico visualizzazione */
@media (min-width: 768px) {
    /* div.modes .modes-mode.active {
        color: #a6a6a6;
    } */

    div.modes .modes-mode {
        /* color: #666667; */
        border: 1px solid #000000;
        /* border-right: 0;
        float: left;
        font-weight: 400;
        line-height: 1;
        padding: 7px 10px;
        text-align: center;
        display: inline-block;
        text-decoration: none; */
    }
    div.modes .modes-mode:last-child {
        border-right: 1px solid #000000;
        border-left: 0;
    }

    /* div.modes .modes-mode:before {
        color: #666667;
    } */

    div.modes .modes-mode:not(.active):hover {
        background: transparent;
    }
    div.modes .modes-mode:not(.active):hover:before {
        color: #5b1e85;
    }
}

.sorter-action:hover:before {
    color: #5b1e85;
}
