/*------------------------------------------------------------------
 [Table of contents]
 
 1. Global Elements
 2. Fonts
 3. Colors
 4. Layouts
 5. CSS Animations
 
 -------------------------------------------------------------------*/


/*------------------------------------------------------------------
 [1. Global Elements]
 */

.scroll-view {
    overflow-y: hidden !important;  /* default value is 'scroll' */
}

.button.button-single.button-outline {
    margin-bottom: 0;
    border-width: 5px;
    border-radius: 0px;
}

.platform-ios div.scroll {
    height: 100%;
}

.no-padding {
    padding: 0px;
    margin: 0px;
}

.no-border {
    border: 0;
}

.button.padding,
.button-bar .button.padding {
    padding: 10px;
}

.padding-20,
.button.padding-20,
.button-bar .button.padding-20 {
    padding: 20px;
}

.padding-30,
.button.padding-30,
.button-bar .button.padding-30 {
    padding: 30px;
}


/*------------------------------------------------------------------
 [2. Fonts]
 */

@font-face {
    font-family: 'Brandon Grotesque';
    src: url('../fonts/Brandon_reg/Brandon_reg.eot');
    src: url('../fonts/Brandon_reg/Brandon_reg.eot?#iefix') format('embedded-opentype'), url('../fonts/Brandon_reg/Brandon_reg.woff') format('woff'), url('../fonts/Brandon_reg/Brandon_reg.ttf') format('truetype'), url('../fonts/Brandon_reg/Brandon_reg.svg') format('svg');
    font-weight: 200;
}

* {
    /*font-family: 'Brandon Grotesque' !important;*/
}

.text-center p,
.text-center h1,
.text-center h2,
.text-center h3,
.text-center h4 {
    margin: 0px;
}

.no-margin p,
.no-margin h1,
.no-margin h2,
.no-margin h3,
.no-margin h4 {
    margin: 0px;
}

.text-left p,
.text-left h1,
.text-left h2,
.text-left h3,
.text-left h4 {
    text-align: left;
}

.white-text p,
.white-text h1,
.white-text h2,
.white-text h3,
.white-text h4,
.white-text h5,
.white-text h6,
p.white-text,
h1.white-text,
h2.white-text,
h3.white-text,
h4.white-text,
.white-text {
    color: #fff;
}

.black-text p,
.black-text h1,
.black-text h2,
.black-text h3,
.black-text h4,
p.black-text,
h1.black-text,
h2.black-text,
h3.black-text,
h4.black-text,
span.black-text,
black-text span,
.black-text {
    color: #000;
}

/*.cream-text p,*/
/*.cream-text h1,*/
/*.cream-text h2,*/
/*.cream-text h3,*/
/*.cream-text h4,*/
/*p.cream-text,*/
/*h1.cream-text,*/
/*h2.cream-text,*/
/*h3.cream-text,*/
/*h4.cream-text,*/
/*.cream-text {*/
/*color: rgba(214, 147, 95, 1);*/
/*}*/

.green-text p,
.green-text h1,
.green-text h2,
.green-text h3,
.green-text h4,
p.green-text,
h1.green-text,
h2.green-text,
h3.green-text,
h4.green-text,
.green-text {
    color: rgba(146, 213, 196, 1);
}

.grey-text p,
.grey-text h1,
.grey-text h2,
.grey-text h3,
.grey-text h4,
p.grey-text,
h1.grey-text,
h2.grey-text,
h3.grey-text,
h4.grey-text,
.grey-text {
    color: rgb(167, 167, 167);
}

.light-grey-text p,
.light-grey-text h1,
.light-grey-text h2,
.light-grey-text h3,
.light-grey-text h4,
p.light-grey-text,
h1.light-grey-text,
h2.light-grey-text,
h3.light-grey-text,
h4.light-grey-text,
.light-grey-text {
    color: rgb(206, 206, 206);
}

.profile-header h4 {
    color: rgba(255, 255, 255, .7);
    margin: 3px 0 16px;
}

.upsize-icon.icon:before {
    font-size: 32px;
}

.downsize-text {
    font-size: 32px;
}

.downsize-button {
    line-height: 10px;
    font-size: 10px;
}

.product-detail p {
    margin: 0;
    line-height: 16px;
}

.vote-text {
    line-height: 200%;
}

.font-size-24 {
    font-size: 24px
}

.small {
    vertical-align: top;
    font-size: 12px;
}

.underline {
    text-decoration: underline;
}


/*------------------------------------------------------------------
 [3. Colors]
 */

.cream-gradient-text {
    background: -webkit-linear-gradient(left, rgba(245, 204, 142, 1) 0%, rgba(214, 147, 95, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cream-gradient-box {
    background: -webkit-linear-gradient(left, rgba(245, 204, 142, 1) 0%, rgba(214, 147, 95, 1) 100%);
}

.green-gradient-text {
    background: -webkit-linear-gradient(left, rgba(195, 232, 224, 1) 0%, rgba(146, 213, 196, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.green-gradient-box {
    background: -webkit-linear-gradient(left, rgba(195, 232, 224, 1) 0%, rgba(146, 213, 196, 1) 100%);
}

.icon-cream:before {
    background: -webkit-linear-gradient(left, rgba(245, 204, 142, 1) 0%, rgba(214, 147, 95, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-cream-box {
    -moz-border-image: -moz-linear-gradient(left, rgba(245, 204, 142, 1) 0%, rgba(214, 147, 95, 1) 100%);
    -webkit-border-image: -webkit-linear-gradient(left, rgba(245, 204, 142, 1) 0%, rgba(214, 147, 95, 1) 100%);
    border-image: linear-gradient(to left, rgba(214, 147, 95, 1)0%, rgba(245, 204, 142, 1) 100%);
    border-image-slice: 1;
    border-width: 2px;
}

.background,
.background .pane,
/*.background .item,*/
.background .item-complex .item-content {
    background-color: rgb(31, 31, 31);
}

.dark {
    background-color: rgb(31, 31, 31) !important;
}

.dark-box {
    background-color: rgb(31, 31, 31);
}

.dark-grey {
    background-color: rgb(58, 58, 58);
}

.grey {
    background-color: rgb(167, 167, 167) !important;
}

.light-grey {
    background-color: rgb(206, 206, 206) !important;
}

.grey-seethrough {
    background-color: rgba(0, 0, 0, .7);
}


/*------------------------------------------------------------------
 [4. Layouts]
 */

.container-logo {
    margin: 10% 15% 10% 15%;
    width: 70%;
}

.center-content {
    padding-top: 5%;
    padding-bottom: 5%;
}

.center-content-6 {
    height: 6em;
    line-height: 6em;
    padding: 0;
}

.center-content-4 {
    height: 4em;
    line-height: 4em;
    padding: 0;
}

.max-width-100 {
    max-width: 100%;
}

.width-fit {
    width: 100%;
}

.width-80 {
    width: 80%;
}

.height-fit {
    height: 100%;
}

.no-margin {
    margin: 0;
}

.row.no-margin {
    margin: 0;
}

.background-logo {
    height: 6em;
}

.background-logo-text {
    position: relative;
    top: -4em;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.background-logo-text h2 {
    font-size: 14pt;
}

.header-image {
    background: url('../img/header-background.jpg');
    /* height: 100%; */
    width: 100%;
}

.background-login {
    background: url('../img/bg-login.png');
    height: 100%;
    width: 100%;
}

.background-login .list {
    z-index: 10;
}

.background-keys {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.item-img img {
    width: 100%;
}

.item-bottom-text {
    position: absolute;
    bottom: 5%;
    width: 100%
}

.bottom-icon {
    font-size: 50px;
    position: absolute;
    right: 10%;
    bottom: 0%;
}

/*.item-holder {*/
/*position: relative;*/
/*}*/

.margin-top {
    margin-top: 10px !important;
}

.margin-bottom-minus {
    margin-bottom: -20px
}

.margin-bottom {
    margin-bottom: 20px;
}

.item-header {
    position: absolute;
    top: 0;
}

.item-footer {
    position: absolute;
    bottom: 0;
}

.item-holder .col-75 {
    left: 25%;
}

.right-chevron {
    position: absolute;
    top: 35%;
    right: 10px;
    z-index: 100;
    font-size: 40px;
}

.left-chevron {
    position: absolute;
    top: 35%;
    left: 10px;
    z-index: 100;
    font-size: 40px;
}

/*div.scroll {*/
/*height: 100%;*/
/*}*/

.mymodal .scroll {
    height: 100%;
}

.mymodal-buttons {
    position: absolute;
    bottom: 0px;
}

.no-border .button {
    border: 0px;
    padding: 0px;
}

.header-padding {
    padding-top: 20px;
    padding-right: 10px;
}

/*.profile-header {*/
/*background-size: cover;*/
/*box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.26);*/
/*color: #fff;*/
/*height: 280px;*/
/*position: relative;*/
/*text-align: center;*/
/*width: 100%;*/
/*}*/

/*.profile-header > .content {*/
/*bottom: 0;*/
/*position: absolute;*/
/*text-align: center;*/
/*width: 100%;*/
/*z-index: 1;*/
/*}*/

/*.profile-header > .content > .avatar {*/
/*background-position: center;*/
/*background-size: cover;*/
/*border: solid 1px rgba(255, 255, 255, 0.8);*/
/*border-radius: 50%;*/
/*display: inline-block;*/
/*height: 160px;*/
/*left: auto;*/
/*margin-bottom: 10px;*/
/*position: relative;*/
/*width: 160px;*/
/*}*/

.padding-top-10 {
    padding-top: 10px;
}

.badge.badge-left {
    left: 16px;
    right: auto;
}

.badge.badge-right {
    right: 16px;
    left: auto;
}

.circle-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
    line-height: 40px;
    text-align: center;
    background: rgb(68, 68, 68);
    white-space: nowrap;
}

.circle-badge-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 60px;
    color: #000;
    line-height: 80px;
    text-align: center;
    background: #fff;
    white-space: nowrap;
}

.bottom-left {
    position: absolute;
    right: 5%;
    bottom: 7.5%;
}

.item-note-left {
    float: left;
}

.margin-minus {
    margin-top: -1px;
}

.has-subsubfooter {
    bottom: calc(44px * 3);
}

.bar-subsubfooter {
    bottom: calc(44px * 2);
    display: block;
    height: 44px;
}

.footer-content {
    display: block;
}

/*.footer-height-3 {*/
/*height: calc(44px * 3);*/
/*}*/

/*.footer-height-2 {*/
/*height: calc(44px * 2);*/
/*}*/

/*.footer-height {*/
/*height: 44px;*/
/*}*/

.align-center {
    text-align: center;
}


/*------------------------------------------------------------------
 [5. CSS Animations]
 */

#socialLogin {
    position: relative;
    text-align: center;
}

#fbshadow {
    position: absolute;
    height: 48px;
    left: 0px;
    top: 0px;
    width: 50px;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.0784314) no-repeat scroll 0px 0px / auto padding-box border-box;
}

#fblogin {
    position: relative;
    color: rgb(255, 255, 255);
    text-align: left;
    text-decoration: none solid rgb(68, 68, 68);
    text-shadow: rgb(255, 255, 255) 0px 1px 0px;
    vertical-align: middle;
    white-space: nowrap;
    width: 290px;
    background: rgba(0, 0, 0, 0) -webkit-linear-gradient(rgb(86, 120, 188), rgb(49, 74, 123)) repeat scroll 0% 0% / auto padding-box border-box;
    background: rgba(0, 0, 0, 0) linear-gradient(rgb(86, 120, 188), rgb(49, 74, 123)) repeat scroll 0% 0% / auto padding-box border-box;
    padding: 10px 18px;
}

#fbname {
    display: block;
    height: 48px;
    left: 0px;
    position: absolute;
    text-align: center;
    top: 0px;
    width: 50px;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.0784314) no-repeat scroll 0px 0px / auto padding-box border-box;
}

#fbtext {
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: inline-block;
    height: 17px;
    text-align: left;
    text-decoration: none solid rgb(255, 255, 255);
    text-shadow: rgba(0, 0, 0, 0.247059) 0px -1px 0px;
    vertical-align: middle;
    white-space: nowrap;
    width: 150px;
    align-self: flex-start;
    border: 0px none rgb(255, 255, 255);
    font: normal normal bold 16px/normal 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', arial, sans-serif;
    margin: -3px 0px 0px 42px;
    outline: rgb(255, 255, 255) none 0px;
}

#gpluslogin {
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: block;
    float: left;
    top: 110px;
    left: 0px;
    height: 50px;
    position: absolute;
    text-align: left;
    text-decoration: none solid rgb(68, 68, 68);
    text-shadow: rgb(255, 255, 255) 0px 1px 0px;
    vertical-align: middle;
    white-space: nowrap;
    width: 290px;
    background-color: #DD4B39;
    background: -webkit-linear-gradient(#DD4B39, #D14836);
    background: linear-gradient(#DD4B39, #D14836);
    border-top: 1px solid rgb(230, 88, 88);
    border-right: 1px solid rgb(227, 66, 66);
    border-bottom: 1px solid rgb(227, 66, 66);
    border-left: 1px solid rgb(227, 66, 66);
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    font: normal normal 16px/normal 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', arial, sans-serif;
    font-size: 16px;
    margin: 0px;
    outline: rgb(68, 68, 68) none 0px;
    overflow: hidden;
    padding: 10px 18px;
}

#gpname {
    background-position: 0px 0px;
    bottom: 0px;
    box-shadow: rgba(0, 0, 0, 0.0470588) 1px 0px 0px 0px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: block;
    height: 48px;
    left: 0px;
    position: absolute;
    text-align: center;
    text-decoration: none solid rgb(68, 68, 68);
    text-shadow: rgb(255, 255, 255) 0px 1px 0px;
    top: 0px;
    vertical-align: middle;
    white-space: nowrap;
    width: 50px;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.0666667) no-repeat scroll -43px -44px / auto padding-box border-box;
    border: 0px none rgb(68, 68, 68);
    font: normal normal 16px/normal 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', arial, sans-serif;
    outline: rgb(68, 68, 68) none 0px;
}

#gptext {
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: inline-block;
    height: 17px;
    text-align: left;
    text-decoration: none solid rgb(255, 255, 255);
    text-shadow: rgba(0, 0, 0, 0.247059) 0px -1px 0px;
    vertical-align: middle;
    white-space: nowrap;
    width: 133px;
    align-self: flex-start;
    border: 0px none rgb(255, 255, 255);
    font: normal normal bold 16px/normal 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', arial, sans-serif;
    margin: -3px 0px 0px 42px;
    outline: rgb(255, 255, 255) none 0px;
}

.container {
    position: absolute;
    bottom: 10%;
    margin-left: 15%;
    margin-right: 15%;
    width: 70%;
}


/* Facebook */

.fb-icon-bg {
    background: #354f88;
    height: 45px;
    margin: 20px 0 -45px 0;
    width: 41px;
}

.fb-icon-bg:after {
    content: "\f231";
    font-family: Ionicons;
    display: block;
    padding: 9px 10px 5px 15px;
    color: #fff;
    font-size: 20px;
}

.fb-bg {
    background: #3b5998;
    display: block;
    height: 45px;
    margin: 0 0 15px 41px;
    width: calc(100% - 41px);
}

.fb-bg:after {
    color: #fff;
    text: left;
    content: "Facebook ->";
    height: 45px;
    left: 8%;
    position: relative;
    text-transform: uppercase;
    top: 22%;
    width: 41px;
}


/* Google+ */

.g-icon-bg {
    background: rgb(165, 165, 165);
    height: 45px;
    margin: 0 0 -45px 0;
    width: 41px;
}

.g-icon-bg:after {
    content: "\f235";
    font-family: Ionicons;
    display: block;
    padding: 9px 10px 5px 15px;
    color: #fff;
    font-size: 20px;
}

.g-bg {
    background: rgb(206, 206, 206);
    height: 45px;
    margin: 0 0 15px 41px;
    width: calc(100% - 41px);
}

.g-bg:after {
    color: #fff;
    content: "Google ->";
    height: 45px;
    left: 10%;
    position: relative;
    text-transform: uppercase;
    top: 22%;
    width: 41px;
}


/* Mail */

.mail-icon-bg {
    background: rgb(200, 161, 120);
    height: 45px;
    margin: 0 0 -45px 0;
    width: 41px;
}

.mail-icon-bg:after {
    content: "\f132";
    font-family: Ionicons;
    display: block;
    padding: 9px 10px 5px 15px;
    color: #fff;
    font-size: 20px;
}

.mail-bg {
    background: -webkit-linear-gradient(left, rgba(245, 204, 142, 1) 0%, rgba(214, 147, 95, 1) 100%);
    height: 45px;
    margin-left: 41px;
    margin: 0 0 15px 41px;
    width: calc(100% - 41px);
}

.mail-bg:after {
    color: #fff;
    content: "Connect with Email";
    height: 45px;
    left: 10%;
    position: relative;
    text-transform: uppercase;
    top: 22%;
    width: 41px;
}

.login-logo {
    position: absolute;
    top: 20%;
    width: 70%;
}

.crest-container {
    height: 20%;
    position: relative;
    top: 5%;
}

.badge.badge-balance {
    display: inline-block;
    position: static;
}

.list.dark .item {
    border-color: #f7c596 #da916d #f7c596 #da916d;
}

.list .item.no-border {
    border: none;
}


.item-full-thumbnail {
    bottom: 0;
}

.action-list-box .item-thumbnail {
    top: 0;
    bottom: 0;
    left: 0;
}

.white-text > input[type="text"] {
    color: #fff;
}

.item-heading {
    border: none;
}

.item-heading h3 {
    border-bottom: 1px solid #da916d;
    margin-bottom: 0.25em;
}

.item-bottle-location {
    cursor: pointer;
    border-radius: 5px;
}

.breadcrumb * {
    color: white;
}

.standard-store-availability-article {
    margin-right: -6px;
    border: 0;
    border-radius: 10px;
    position: absolute;
    right: -951px;
}

.format-tablet .tab-nav {
    height: 100% !important;
}

.platform-ios.platform-cordova:not(.fullscreen) .tabs {
    height: calc(constant(safe-area-inset-bottom) + 69px);
    height: calc(env(safe-area-inset-bottom) + 69px);
}

/* iPad */
@media only screen
and (orientation : landscape) {
    /* At the bottom there is a gray bar : this will hide it*/
    .platform-ios.platform-cordova:not(.fullscreen) .has-tabs:not(.has-footer) {
        bottom: 0;
    }
    /* when a footer is present like in add-bottle wizard, the confirm button is partially hidden */
    .platform-ios.platform-cordova:not(.fullscreen) .has-footer.has-tabs {
        bottom: calc(constant(safe-area-inset-bottom) + 69px) !important;
    }
}

/* iPhone X */
@media only screen
and (device-width : 375px)
and (device-height : 812px)
and (-webkit-device-pixel-ratio : 3) {
    
    /* Fix iPhone X tabs at the bottom */
    .platform-ios.platform-cordova:not(.fullscreen) .tabs-bottom > .tabs {
        height: calc(constant(safe-area-inset-bottom) + 69px);
        height: calc(env(safe-area-inset-bottom) + 69px);
    }
    
    /* Fix iPhone X My Wines tabs at the top */
    .platform-ios.platform-cordova:not(.fullscreen) .tabs-top > .tabs {
        height: calc(constant(safe-area-inset-bottom) + 35px);
        height: calc(env(safe-area-inset-bottom) + 35px);
        padding: 0;
    }
}

.bottom-zero {
    bottom: 0 !important;
}