/*  Kerning Guide PS to CSS
    https://scotch.io/tutorials/converting-photoshop-letter-spacing-to-css
    http://www.demacmedia.com/magento-commerce/magento-tutorials/mini-tutorial-accurately-translating-photoshop-values-css/
*/

h1{
    font-family: 'Varela Round';
    font-size: 60px;
    color: purple !important;
    /* Kerning */
    letter-spacing: 0.05em;
    /* Leading */
    line-height: 110%;
    font-style: normal;
}

h2{
    font-family: 'Varela Round';
    font-weight: 500;
    font-size: 18px;
    color: #000;
    letter-spacing: 0.05em;
    line-height: 133%;
    text-transform: uppercase;
    font-style: normal;
}

h3{
    font-family: 'Varela Round';
    font-weight: 300;
    font-size: 14px;
    color: #000;
    letter-spacing: 0.05em;
    line-height: 143%;
    text-transform: uppercase;
    font-style: normal;
}


h4{
    font-family: 'Varela Round';
    font-weight: normal;
    font-size: 14px;
    color: #000;
    letter-spacing: 0.05em;
    line-height: 143%;
    font-style: normal;
}


body{
    font-family: 'Helvetica New';
    font-weight: 300;
    font-size: 14px;
    color: #000;
    letter-spacing: 0.05em;
    line-height: 143%;
    font-style: normal;

}

.btn{
    font-family: 'Varela Round';
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 143%;
    font-style: normal;
}

label{
    font-family: 'Varela Round';
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 143%;
    font-style: normal;
}

.btn-dark{
    color: #fff;
    background-color: #000;
    border: 1px solid #000;
    border-radius: 0;
    text-transform: uppercase;
    padding: 5px 25px 5px 25px;
}

.btn-light{
    color: #000;
    background-color: #fff;
    border: 1px solid #c3c3c3;
    border-radius: 0;
    text-transform: uppercase;
    padding: 5px 25px 5px 25px;
}

.input-group-btn button{
    height: 40px;
}

.btn-light.focus, .btn-light:focus, .btn-light:hover{
    color: #a7a7a7;
}

.btn.focus, .btn:focus, .btn:hover{
    color: #a7a7a7;
}

a {
    color: #000;
    text-decoration: none;
}

a:focus, a:hover {
    color: #000;
    text-decoration: underline;
}



.navigation, .nav-lnk{
    font-family: 'Varela Round';
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 166% !important;
    color: #000 !important;
    font-style: normal;
}

select{
    border-radius: 0 !important;
    height: 40px !important;
}

.required, .mandatory, .validation-advice{
    font-family: 'Varela Round';
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 143%;
    font-style: normal;
}
.validation-advice{
    font-size: 12px;
}

.validation-failed{
    border-color: #ff0000 !important;
}
.validation-failed:focus{
    border-color: #ff0000!important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ff0000!important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ff0000!important;
}

.input-text{
    font-family: 'Varela Round';
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: 0.05em;
    color: #959595;
}

input{
    border-radius: 0 !important;
    border: 1px solid #bbbbbb !important;
    /*height: 40px !important;*/
    outline: 0;
}
textarea{
    border-radius: 0 !important;
    border: 1px solid #bbbbbb !important;
    outline: 0;
    resize: none;
    height: auto !important;
}

.breadcrumb{
    padding: 0 10px 5px 70px;
    color: #8c8c8c;
    margin-bottom: 5px;
    list-style: none;
    background: none;
    border-radius: 0;
    text-transform: uppercase;
}

.breadcrumb a{
    color: #8c8c8c;
}

.breadcrumb>li+li:before{
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f105";
    padding: 0 5px;
    color: #8c8c8c;
}

.content-wrapper {
    max-width: 1920px;
}
.pagination-style {
    display: block;
    width: 100%;
}
.pagination-style.left {
    text-align: left;
}
.pagination-style.center {
    text-align: center;
}
.pagination-style.right {
    text-align: right;
}
.pagination-style li {
    display: inline-block;
}
.pagination-style li.current {
    border-bottom: 1px solid #000000;
}
.pagination-style > li > a,
.pagination-style > li > span {
    border: none;
    color: #000000;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-radius: 0;
}
.pagination-style > li > span {
    cursor: not-allowed;
}
.pagination-style > li > a:hover,
.pagination-style > li > span:hover {
    color: #000000;
}
.pagination-style > li > a:hover,
.pagination-style > li > span:hover,
.pagination-style > li > a:focus,
.pagination-style > li > span:focus {
    background: none;
}

.messages li{
    background: none !important;
    border: none  !important;
    color: #000  !important;
    text-align: center  !important;
}

#page-loader {
    background: rgba(0,0,0,.5);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99999;
    top: 0;
    left: 0;
}
#page-loader .loader {
    background: url(../images/gray-loader.gif);
    background-size: cover;
    width: 110px;
    height: 110px;
    margin: 50vh auto;
}



/* OVERRIDES */
.vex-overlay {
    height: 200%;
}
table.data-table,
table.data-table th,
table.data-table td {
    border: none!important;
    box-shadow: none;
}
table.data-table th {
    border-bottom: 1px solid #000!important;
}

button {
    border-radius: 0px!important;
}
body.customer-account-logoutsuccess .page-title h1,
body.customer-account-forgotpassword .page-title h1,
body.customer-account-login .page-title h1,
body.customer-account-create .page-title h1,
body.newsletter-manage-index .page-title h1,
body.wishlist-index-index .page-title h1,
body.catalogsearch-result-index .page-title h1,
body.customer-account-index .page-title h1,
body.customer-account-edit .page-title h1,
body.customer-address-index .page-title h1,
body.wishlist-index-index .page-title h1,
body.newsletter-manage-index .page-title h1,
body.checkout-onepage-success .page-title h1,
body.checkout-cart-index .page-title h1 {
    font-size: 32px;
    word-wrap: break-word;
}

body.customer-account-index .layout-2-cols {
    margin-top: 50px;
}
body.customer-account-index aside[role="complementary"] .block-title {
    padding-bottom: 0px;
}
body.customer-account-index .box-account {
    border: none;
    box-shadow: none;
}
body.customer-account-index .box-account .box-head {
    border-top: 1px;
    border-bottom: 1px;
    background: none;
}

.addresses-list li.item,
.block,
.box-account,
.cart .crosssell,
.cart .discount,
.cart .shipping,
.gift-message,
.order-about,
.order-info-box,
.panel,
.product-view .box-collateral,
.product-view .product-shop {
    border-radius: 0px;
}
.block-account .block-title {
    background: none;
    border: none;
    color: #000000;
}
.block-account .block-content li,
.block-account .block-content li a,
.block-account .block-content li.current,
.block {
    border: none;
    box-shadow: none;
}

body.wishlist-index-index .page-title,
body.wishlist-index-index .buttons-set {
    border: none;
}

body.wishlist-index-index button.btn-add,
body.wishlist-index-index button.btn-cart {
    background-color: #000000;
    border-color: #000000;
}
body.wishlist-index-index .price-box .price {
    color: #000000;
}

body.newsletter-manage-index .legend {
    font-size: 18px;
}

body.customer-account-logoutsuccess .layout.layout-1-col div[role="main"],
body.customer-account-forgotpassword .layout.layout-1-col div[role="main"],
body.customer-account-login .account-login,
body.customer-account-create .account-create {
    width: 60em;
    margin: 0 auto;
    float: none;
}
body.customer-account-create .form-list .customer-name-middlename .name-firstname,
body.customer-account-create .form-list .customer-name-middlename .name-lastname,
body.customer-account-create .form-list .customer-name-middlename .name-middlename,
body.customer-account-create .form-list li.fields div.field {
    width: 100%;
    padding: 0;
}
body.customer-account-create .form-list .field {
    margin-bottom: 15px;
}
body.customer-account-create .form-list .field:last-child {
    margin-bottom: 0px;
}

body.customer-account-forgotpassword .layout.layout-1-col div[role="main"] {
    margin-bottom: 15px;
}
body.customer-account-login .account-login {

}

body.catalogsearch-result-index .pager {
    border: none;
}
body.catalogsearch-result-index .pager,
body.catalogsearch-result-index .sorter {

}
body.catalogsearch-result-index .sorter .view-mode {
    display: none;
}
body.catalogsearch-result-index .item {
    padding-bottom: 0px;
    min-height: 0px;
}
body.catalogsearch-result-index .item .price {
    color: #000000;
    font-family: 'Varela Round Light';
    font-weight: 300;
    font-size: 18px;
}
body.catalogsearch-result-index .item .product-name {
    min-height: 0px!important;
    margin-top: 15px;
}
body.catalogsearch-result-index .item .product-name a {
    font-family: 'Varela Round';
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
}
body.catalogsearch-result-index .item .product-name a:hover {
    text-decoration: none;
}
body.catalogsearch-result-index .item .actions {
    position: relative;
    margin-top: 15px;
}
body.catalogsearch-result-index .item .quicklook {
    text-transform: uppercase;
    font-size: 15px;
}
body.catalogsearch-result-index .item img {
    border: none;
    padding: none;
}
body.checkout-cart-index button.button {
    font-size: 14px;
    padding: .8em;
}
body.checkout-cart-index button.button.btn-checkout {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}
body.checkout-cart-index #shopping-cart-table {
    margin-top: 50px;
}
body.checkout-cart-index #shopping-cart-table th {
    font-size: 16px;
}
body.checkout-cart-index #shopping-cart-table th:first-child {
    min-width: 200px;
}
body.checkout-cart-index #shopping-cart-table tbody tr {
    border-bottom: 1px solid #777777;
}
body.checkout-cart-index #shopping-cart-table tbody tr:last-child {
    border-bottom: none;
}
body.checkout-cart-index #shopping-cart-table td:nth-child(2) {
    position: relative;
}
body.checkout-cart-index #shopping-cart-table td .custom-item-options {
    position: absolute;
    bottom: 0;
}
body.checkout-cart-index #shopping-cart-table td .custom-item-options dd {
    display: inline-block;
}
body.checkout-cart-index #shopping-cart-table img {
    width: 100%;
}
body.checkout-cart-index #shopping-cart-table td.product-description {
    width: 20%;
}
body.checkout-cart-index .cart-collaterals .totals {
    border: none;
    box-shadow: none;
    background: none;
}
body.checkout-cart-index ul.checkout-types button {
    min-width: 182px;
}
body.checkout-cart-index #shopping-cart-totals-table td {
    border: none;
}
body.checkout-onepage-index .layout.layout-2-cols {
    padding-top: 50px;
    margin:0 auto;
    max-width: 60em;
}
body.checkout-onepage-index #checkoutSteps input.radio {
    height:initial!important;
}
body.checkout-onepage-index #checkoutSteps li {
    border: none;
}
body.checkout-onepage-index .opc .step-title {
    background: none;
    border-right: none;
    border-left: none;
    border-top: 1px solid #000000;
    border-bottom: none;
    border-radius: 0px!important;
    font-weight: bold;
}
body.checkout-onepage-index .opc .step-title .number {
    background-color: #000000;
    color: #ffffff;
}
body.checkout-onepage-index .opc .step {
    border: none;
}
body.checkout-onepage-index .opc .step .required {
    color: #000000!important;
}
body.checkout-onepage-index .opc .step .required em {
    color: #ff0000;
}
body.checkout-onepage-index .opc .step .fields {
    margin-bottom: 0px;
}
body.checkout-onepage-index .opc .step .fields .field,
body.checkout-onepage-index .opc .step .wide .input-box {
    width:100%;
    max-width: 500px;
    float:none;
    padding:0;
    margin-bottom: 15px;
}
body.checkout-onepage-index #payment_form_ccsave {
    max-width: 500px;
}
body.checkout-onepage-index aside .block .block-title {
    color: #000000;
}
body.checkout-onepage-index aside .block .block-title,
body.checkout-onepage-index aside .block-progress dt {
    background: none;
    border: none;
}
body.checkout-onepage-index  .button.btn-checkout {
    background-color: #000000;
    border-color: #000000;
}

body.cms-page-view img {
    max-width: 100%;
}

body.cms-page-view #main h1:first-child span {
    color: #B82A86 !important;
}

@media only screen and (max-width: 767px) {
    /*.layout.layout-1-col div[role=main], .layout.layout-3-cols div[role=main] {
        padding-left: 0px;
        padding-right: 0px;
    }*/
}


@media only screen and (max-width: 780px) {
    #shopping-cart-table .responsive_bag_remove {
        position: absolute;
        bottom:-200px;
        }
}

/**
 * Fix; Make height consistent for Gelato & Sorbet page
 */
body.cms-gelato-sorbet .row > div > .centred_text {
    min-height: 170px;
}

@media screen and (min-width: 992px) and (max-width: 1700px) {
    body.cms-gelato-sorbet .row > div > .centred_text {
        min-height: 320px;
    }
}
