.cordova-uploader{
  .abs;
  .fit;

  a{
    .abs;
    .fit;
  }
}

.ae-title{
  background-image: url("images/logo-lined.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width: 140px;

  a{
    width: 140px;
  }
}

/**
 *   Layout
 */

#viewport_panel{
  .white;
  .t-color;

  &.masked{

    &:before {
      content: ' ';
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: transparent;
      z-index: 1;
      .abs;
    }
  }
}

#main_panel{
  z-index: 1;
}
#main_toolbar{
  z-index: 12;
}

#main_footer{
  .docked-left{
    height:100%;
    .t-fit;
  }
  .gears-icon{
    .t-color;
    .t-size(20px);
    .t-lh(30px);
    width: 24px;
    height:24px;
  }
  .gears-button{
    height:100%;

    a{
      padding: 3px 0 0 0;
      height:100%;
      .border-radius(0px);

      .button-text{
        .t-color;
        .t-size(8px);
        padding-top:4px;
        .t-strong;
        .t-ucase;
      }
    }

    &.selected{
      a{
        background: @transparent;

        .gears-icon{
          .t-blue;
        }
        .button-text{
          .t-blue;
        }
      }
      //.border-bottom(@main-color,6px);
    }

    .gears-badge{
      .colored;
      .border(@white,1px);
      .t-strong;
      .t-size(11px);
      .border-radius(15px);
      //top:2px;
      //right: 2px;
      min-width: 10px;
      top:50%;
      left:50%;
      right:auto;
      transform: translate(0px, -20px);
    }
  }
  //box-shadow: 0 0 1px rgba(76,86,103,0.25), 0 2px 18px rgba(31,37,50,0.32);
}

#favorite_panel_tabs{
  .gears-toolbar-dock{
    padding-top:10px;
  }
}


.ae-logo{
  a{
    .abs;
    .fit;
  }
}
.v-center{
  top: 50%;
  .abs;
  transform: translateY(-50%);
}
.gears-toolbar{
  &.v-fit{
    .gears-toolbar-dock{
      height:100%;
    }
  }
}

.ae-title{
  a{
    width: 100%;
    height: 35px;
  }
}

.logo-places{
  display: inline-block;
  background-image: url(images/logo-places.png);
  background-size: auto 40px;
  background-position: left center;
  background-repeat: no-repeat;
  width: 120px;
  height: 30px;
}

.heading{
  .t-center;
  padding:15px 0px;

  &.centered{
    bottom: 50%;
    //right: 20px;
    //left: 20px;
    .abs;
    transform: translateY(50%);
  }
  .logo{
    display:inline-block;
    /*width: 285px;
    height: 220px;*/
    padding: 20px;
    padding-top: 100px;
    text-align: center;
    //background-image: url(images/title-white.png);
    background-repeat: no-repeat;
    margin-left: 0px;
    margin-top: -50px !important;
    background-size: contain;
    background-position: center center;
    .rel;

    img{
      width: 85%;
      height: auto;
    }

    &:after{
      content:' ';
      .abs;
      .fit;
      /*top: -13px;
      bottom: -7px;
      left: -45px;
      right: -45px;*/
      z-index: -1;
      transform: rotate(0deg);
      .box-round-bottom;
      .white;
    }

    &.mini{
      width: 160px;
      height: 120px;
      margin-top: 40px !important;
    }
  }
  .title{
    .t-center;
    .t-size(24px);
    .t-strong;
    .t-white;
  }
}

//Gallery

//Gallery
.gallery{
  padding:0px;
  .abs;
  .fit;
  width:100%;
  height:100%;

  .gallery-cell{
    width:100%;
    height:100%;

    .transition;

    .image{
      .t-fit;
      width:100%;
      height:100%;
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
    }

    img {

    }
  }
  .flickity-page-dots {
    bottom: 0px;
  }
  .flickity-page-dots .dot {
    width: 9px;
    height: 9px;
    opacity: 1;
    background: transparent;
    border: 2px solid @grey7;
    .border-radius(50px);
  }
  /* fill-in selected dot */
  .flickity-page-dots .dot.is-selected {
    //background: @grey7;;
  }
  .flickity-prev-next-button {

  }
  .flickity-prev-next-button.previous {
    left: 0px;
    //.border-radius-custom(0px,30px,0px,30px);
  }
  .flickity-prev-next-button.next {
    right: 0px;
    //.border-radius-custom(30px,0px,30px,0px);
  }
}
//Home
.home-hl{
  .light0;
  .t-fit;
  .rel;
  padding-bottom: 65%;
}

#home_header{
  .gears-toolbar-dock{
    height:100%;
  }
  .gears-button{
    height:100%;
    a{
      margin: 0px;
      padding: 11px;
      height:100%;
      .border-radius(0px);
    }
  }
}
//SIDE
#side_panel{
  //.side-colored;

  .gears-button{
    .gears-icon{
      .side-t-color;
    }
    .button-text{
      .side-t-color;
      margin-left:10px;
    }

    &.menu-item{
      .border-bottom(@transparent);
      a{
        padding: 10px 15px;
      }
    }
  }
}
#side_mask{
  z-index: 20;
}
//SIDE
//ACCOUNT
#account_button{
  .gears-button-inner{
    .t-strong;

    .icon-img {
      .border-radius(100px);
      .border(@white,1px);
      width: 32px;
      height: 32px;
      margin-top: -11px;
    }
  }
}

//Network
#contact_dialog{
  textarea{
    .box-size();
  }
}

/*Product*/
.product-title{
  padding:15px;
  z-index: 10;
  .t-white;
  .t-large;
  .abs;
}

.product-item{
  .box-left;
  .t-center;
  .box-size();

  h4{
    .t-size(18px);
  }

  .content{
    width:320px;
    height:500px;
    display: inline-block;
    padding: 20px;
    margin:20px 0px;
    .t-center;
    .white;
    .box-size;
    .rel;

    .image{
      height:280px;
      width:280px;
    }

    .title{
      font-size: 20px;
      font-weight: 600;
      padding: 10px;
    }

    .description{
      font-size: 13px;
      text-align: left;
      padding-bottom: 10px;
    }

    .controls{
      bottom: 20px;
      left: 20px;
      right: 20px;
      .abs;
    }

    .costs{
      font-size:11px;
    }
    .cost{
      .t-size(40px);
      .t-color;
      .t-lh(20px);

      .decimal{
        .t-size(18px);
      }
      .currency{
        .t-size(22px);
      }
    }
    .ingredients{
      li{
        float: left;
        margin-right: 15px;
        font-size: 13px;
      }
    }
  }

  &.mini{
    .content{
      height:380px;
    }
  }

  &.large{
    padding: 20px;
    .t-fit;
    .content{
      height:auto;
      .cf;
      .t-fit;
    }

    .image{
      float: left;
      margin:0 20px 20px 0;
    }
  }
}

.booking-form{
  padding: 0 20px 20px;
  margin-top: -10px;
}
/**
Settings
 */


/**
 *   Splash
 */
#splash_panel{
  //.yellow;
  background-image: url("images/splash-phone.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  .heading{
    bottom: 45%;
    right: 20px;
    left:20px;
    .abs;
    h1{
      font-family: "cel";
      .t-yellow;
      font-size: 53px;
      letter-spacing: 8px;
      text-transform:uppercase;
      margin-left: 14px;
    }
    h2{
      font-family: "cel";
    }
    .title{
      height: 200px;
      .t-center;
      background-image: url("images/title.png");
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
    }
    .subtitle{
      height: 90px;
      background-image: url("images/subtitle.png");
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
      margin-top: 10px;
      .t-center;
    }
  }
  .footer{
    .docked-left{
      .t-fit;
      .t-center;
    }

    a{
      padding: 15px;
      .red;
      .border(@white,3px);
    }
  }
}
/**
 *   Responsivity
 */

/**
 *   Responsivity
 */
.gears-panel,.gears-toolbar{
  &.adaptive{
    .inner{
      min-width:300px;
      //max-width:1600px;
      margin:auto;
      .t-fit;
    }
    & > .gears-toolbar{
      &.adaptive-exception{
        .inner{
          min-width:0px;
          max-width:100%;
        }
      }
    }

    .adaptive-exception{
      &>.inner{
        min-width:0px;
        max-width:100%;
      }
      &>.gears-content{
        &>.inner{
          max-width:100%;
        }
      }
    }
  }

  &.gears-dialog{
    &.gears-dialog-xxl{
      .inner{
        /*max-width:600px;
        margin:auto;*/
      }
    }
    & > .gears-content{
      .inner{
        margin:0 30px;
      }
    }
    & > .gears-toolbar{
      .inner{
        max-width:100%;
      }
    }
  }
}
.gears-list{
  &.responsive{
    .gears-list-item{
      float:left;
    }
  }
}

/*.avatar{
  height: 140px;
  width: 140px;
  margin: auto;
  margin-top: 20px;
  .white();
  .border-radius(1000px);
  .ofh;
  .rel;
  .border(@grey2,3px);

  .ph{
    height: 140px;
    width: 140px;
    background-size:cover;
    .rel;
    .ofh;

    &:not(.image):after{
      .abs();
      content: "\e460";
      .iconset();
      color: @grey2;;
      font-size: 110px;
      margin: auto;
      bottom: -6px;
      left: 50%;
      margin-left: -55px;
    }

  }
  input{
    top: 0px;
    left: 0px;
    height: 137px;
    width: 140px;
    margin: 0;
    border: none;
    opacity: 0.0;
    filter: alpha(opacity=0);
    cursor: pointer;
    z-index: 10;
    .abs;
  }
}*/

.button{
  a,.button-standard{
    padding: 12px;
    //.border-radius(20px);
  }
}
.book-now{
  padding-left:10px;
}

.gears-toolbar{
  &.header0{
    &>.inner{
      .white;
      .t-black;
    }
  }
  &.header{
    .header-brd-bottom;

    &.main{
      .gears-toolbar-dock {
        padding-top: 4px;
      }
      .header-main-colored;



      &>.inner{
        //.border-bottom(@white,1px);

        .gears-button:not(.ghost){
          a:not(.button-action){
            .t-white;
          }
        }

        .gears-button.ghost{
          &:hover{
            a{
              .header-main-t-color-hover;
            }
          }
          &:not(:hover){
            a{
              .header-main-t-color;
            }
          }
        }
      }
    }

    &.solid{
      .solid-ui;//.white;

      &>.inner{
        .border-bottom(@grey0);

        .gears-button{
          &:not(.selected){
            a{
              .t-white;
            }
          }
        }
      }
    }

    &:not(.main){
      .header-submain-colored;
      /*&::after{
        content:' ';
        .abs;
        top:0px;
        bottom:0px;
        right:0px;
        width:50px;
        background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
        background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
        background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 );

        z-index: 2;
      }*/

      &.solid{
        &::after{
          background: -moz-linear-gradient(left, rgba(35,55,74,0) 0%, rgba(35,55,74,0.52) 52%, rgba(35,55,74,1) 100%);
          background: -webkit-linear-gradient(left, rgba(35,55,74,0) 0%,rgba(35,55,74,0.52) 52%,rgba(35,55,74,1) 100%);
          background: linear-gradient(to right, rgba(35,55,74,0) 0%,rgba(35,55,74,0.52) 52%,rgba(35,55,74,1) 100%);
          filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0023374a', endColorstr='#23374a',GradientType=1 );
        }
      }

      &.transparent-slave{
        &::after{
          background: -moz-linear-gradient(left, rgba(35,55,74,0) 0%, rgba(35,55,74,0.52) 52%, rgba(35,55,74,1) 100%);
          background: -webkit-linear-gradient(left, rgba(35,55,74,0) 0%,rgba(35,55,74,0.52) 52%,rgba(35,55,74,1) 100%);
          background: linear-gradient(to right, rgba(35,55,74,0) 0%,rgba(35,55,74,0.52) 52%,rgba(35,55,74,1) 100%);
          filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0023374a', endColorstr='#23374a',GradientType=1 );
        }
      }

      .docked-center{
        white-space: nowrap;
        overflow-x:auto;
        overflow-y:hidden;
      }

      /*.gears-button{
        //height:49px;
        //margin-top:-4px;

        a{

          margin: 0px;
          padding: 16px 10px;
        }

        &.selected{
          .colored;
          a{

            .border-radius(0px);
            background: @transparent;
            //.t-color;
            color:@white !important;
            .t-strong;
          }
        }

        &:hover{
          &:not(.selected){
            &:not(.ae-title){
              background: rgba(255,255,255,0.5);
            }

            .transition;

            a{
              .t-color;
              .transition;
            }
          }
        }
      }*/
    }




    &.solid-light{
      &.transparent-slave{
        .solid-ui;//.white;

        &>.inner{
          .border-bottom(@grey0);

          .gears-button{
            &:not(.selected){
              a{
                .t-white;
              }
            }
          }
        }
      }

      &:not(.transparent-slave){
        .lighted;

        &>.inner{
          .border-bottom(@grey0);

          .gears-button{
            &.selected{
              a{
                .colored;
              }
            }
            &:not(.selected){
              a{
                .t-solid;
              }
            }
          }
        }
      }
    }

    .transition;

    &.transparent-mode{
      background: @transparent;
      .transition;
      &>.inner{
        .border-bottom(@transparent);
        .gears-button {
          a {
            .gears-icon{
              .t-white;
            }
            .t-white;
          }
          &:hover{
            a {
              .gears-icon{
                .t-color;
              }
              .t-color;
            }
          }
        }
      }

      .docked-center,.docked-right{
        display:none;
      }

      &:hover{
        background: rgba(0,0,0,0.2);
        .transition;

        .docked-right,.docked-center{
          display:block;
          .transition;
        }
      }
    }

    &.transparent-header{
      background: @transparent;
      &>.inner{
        .border-bottom(@transparent);
        .gears-button {
          a {
            .gears-icon{
              .t-white;
            }
            .t-white;
          }
        }
      }

      .docked-center{
        display:none;
      }

      &:hover{
        background: rgba(0,0,0,0.2);
      }
    }

    &>.inner{
      //box-shadow: 0 0 1px rgba(76,86,103,0.25), 0 2px 18px rgba(31,37,50,0.32);

    }

    .gears-toolbar-dock{
      padding-top: 0px;
      height:47px;
    }

    a{
      //.t-white;
    }
  }

  &.footer0{
    &>.inner{
      .dark;
    }
  }
}