#frame {
    grid-template-columns:                  1fr 400px 1fr;
    grid-template-rows:                     minmax(48px, 1fr) minmax(640px, 800px) minmax(48px, 1fr);
    grid-template-areas:                    ". . ."
                                            ". app ."
                                            ". . .";
    background:                             #A4A8A3;
}

#app {
    border-radius:                          14px;
    grid-template-columns:                  1fr;
    grid-template-rows:                     1fr auto;
    background:                             #F2F5F3;
}





#view-container {
    display:                                none;
    overflow:                               hidden;
}

#loader-view-container {
    place-self:                             center;
}





#app:has(.view-centered) {
    background:                             white;
}

.view-centered {
    display:                                grid;
    grid-template-columns:                  1fr;
    grid-template-rows:                     1fr auto;
    place-items:                            center;
    padding:                                40px 56px;
}

.view-centered .background-dots {
    width: 100%;
    background: url(../images/background-dots.svg) no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.view-centered p {
    text-align:                             center;
}

.view-centered .title {
    text-align:                             center;
    margin-bottom:                          16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
}

.view-centered .button.underline {
    margin-top: 16px;
}

.view-centered .button.gradient {
    margin-bottom: 8px;
}





.view-form {
    grid-template-rows: auto 1fr;
}

.view-form #top {
    background: white;
    border-radius: 0 0 10px 10px;
    height: 98px;
    padding: 35px 28px 28px;
}

.view-form #top img {
    height: -webkit-fill-available;
    margin: auto;
}

.view-form #body {
    margin: 12px;
    padding: 28px;
}

.view-form .title {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin: 14px 0 14px;
}

.view-form p {
    margin-bottom: 28px;
}

.view-form .button.gradient {
    margin-top: 35px;
    height: 55px;
    padding-top: 17px;
}





.block {
    border-radius: 10px;
    background: white;
    padding: 20px;
    box-shadow: 2px 2px 6px 0px rgba(35, 35, 35, 0.02);
}

.separator {
    height: 1px;
    width: 100%;
    background: #F2F5F3;
}

.block:has(.top.description) {
    padding: 0;
}

.block:has(.top.description) .bottom {
    padding: 20px;
}

.block .top.description {
    border-radius: 6px 6px 0 0;
    margin: 2px 2px 0 2px;
    padding: 18px;
    background: #F2F5F3;
}

.block .top.description .title {
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    margin-bottom: 14px
}

.block .top.description p {
    font-size: 12px;
    line-height: 18px;
}





#title-bar {
    display:                                flex;
    align-items:                            center;
    width:                                  100%;
    height:                                 54px;
    padding:                                18px;
    background:                             white;
    box-shadow:                             -2px -2px 6px 0px rgba(35, 35, 35, 0.02);
    z-index:                                10;
    filter:                                 drop-shadow(0px 0.333px 0px rgba(0, 0, 0, 0.30));
}

#title-bar .title {
    font-size:                              18px;
    font-weight:                            600;
    line-height:                            18px;
    margin-right:                           auto;
}





#navigate {
    display:                                grid;
    grid-auto-flow: column;
    justify-content: space-around;
    background: white;
    border-radius: 10px 10px 0px 0px;
    box-shadow: -2px -2px 6px 0px rgba(35, 35, 35, 0.02);
    height: 69px;
    place-items: center;
    z-index: 10;
    padding: 0 18px 4px;
}

#navigate.products:not(.installations) {
    grid-template-columns: repeat(3, 1fr);
}

#navigate.installations:not(.products) {
    grid-template-columns: repeat(4, 1fr);
}

#navigate.products.installations {
    grid-template-columns: repeat(5, 1fr);
}

#navigate .navigate-tab {
    position: relative;
    width: 49px;
    height: 49px;
    cursor: pointer;
}

#navigate .navigate-tab img {
    display: block;
    width: 21px;
    height: 21px;
    margin: 9px 14px 7px;
}

#navigate .navigate-tab.main img {
    width: 44px;
    height: 44px;
    margin: 2.5px;
}

#navigate .navigate-tab img.active,
#navigate .navigate-tab.active img:not(.active) {
    display:                                none;
}

#navigate .navigate-tab.active img.active {
    display: block;
}


#navigate .navigate-tab .label {
    color: #A4A8A3;
    text-align: center;
    font-size: 8px;
    font-weight: 500;
    line-height: 8px;
}

#navigate .navigate-tab .notification {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FF8888;
    color: white;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
}

#navigate .navigate-tab .notification.hidden {
    display: none;
}





#installation-top {
    width: 100%;
    height: 66px;
    display: flex;
    align-items: center;
    background-color: #fff;
    z-index: 10;
    padding: 0 12px 0 21px;
}

#installation-top #updated-at-status {
    display: flex;
    align-items: center;
}

#installation-top #updated-at-status-circle {
    width: 8.5px;
    height: 8.5px;
    border-radius: 50%;
    background-color: #93E586;
    margin-right: 5px;
}

#installation-top #updated-at-status-text {
    font-size: 10px;
    font-weight: 700;
    line-height: 10px;
}

#installation-top #updated-at-time {
    font-size: 10px;
    font-weight: 500;
    line-height: 10px;
    margin-top: 7px;
}

#installation-top .select-wrap {
    margin-left: auto;
}

#loader-installation {
    display:                                none;
    place-self:                             center;
}





#view-download {
    grid-template-rows: auto auto 2fr 3fr auto;
    justify-items: center;
    padding: 72px 0 40px;
}

#view-download #logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 20px;
}

#view-download #button-ios,
#view-download #button-android {
    height: 56px;
    cursor: pointer;
}

#view-download #button-ios {
    align-self: end;
    margin-bottom: 12px;
}

#view-download #button-android {
    align-self: start;
    margin-top: 12px;
}





#view-grid-cost {
    grid-template-rows:                     1fr auto auto;
}

#view-grid-cost input,
#view-grid-cost .prefix {
    font-size: 21px;
    font-weight: 700;
    line-height: 21px;
}

#view-grid-cost .prefix {
    padding-left:                           56px;
}

#view-grid-cost #input {
    margin: 0 auto;
    max-width: 200px;
    position:relative;
}

#view-grid-cost .input-wrap {
    margin: 24px 0 0;
}

#view-grid-cost .button-underline {
    margin: 16px auto 0;
}



#view-add-to-home {
    grid-template-rows: 1fr auto auto;
    padding: 0 56px 40px
}

#view-add-to-home #add-to-home-title {
    display: grid;
    grid-template-rows: 1fr auto auto;
}

#view-add-to-home #add-to-home-title img {
    margin: -40px -56px 24px -56px;
    width: calc(100% + 112px);
}

#view-add-to-home #add-to-home-title .title {
    margin-bottom: 14px;
}

#view-add-to-home #add-to-home-steps {
    display: none;
}

#view-add-to-home #add-to-home-steps .title {
    font-size: 28px;
    line-height: 35px;
    margin-bottom: 49px;
    margin-top: 56px;
}

#view-add-to-home #add-to-home-steps .steps {
    display:                                none;
}

#view-add-to-home #add-to-home-steps .step {
    display:                                grid;
    grid-template-columns:                  1fr auto;
    align-items:                            center;
    margin-bottom:                          35px;
}

#view-add-to-home #add-to-home-steps p {
    text-align: start;
}

#view-add-to-home #add-to-home-steps .step .number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 600;
    text-align: center;
    margin-right: 17.5px;
    padding-top: 6px;
}

#view-add-to-home .pages {
    display:                                flex;
    margin-bottom:                          36px;
}

#view-add-to-home .pages .page {
    width:                                  7px;
    height:                                 7px;
    border-radius:                          50%;
    background:                             #F2F5F3;
    margin-right:                           8px;
}

#view-add-to-home .pages .page:last-child {
    margin-right:                           0;
}

#view-add-to-home .pages .page.active {
    background:                             #A4A8A3;
}



#view-finished {
    grid-template-rows: 1fr auto;
}

#view-finished #body .items {
    display:                                grid;
    grid-gap:                               12px;
    margin:                                 70px 0 48px
}

#view-finished #body .items .item {
    display:                                flex;
    align-items:                            center;
    height:                                 67px;
    border-radius:                          10px;
    border:                                 1px solid #F2F5F3;
    padding:                                14px 21px;
    background:                             white;
    box-shadow:                             2px 2px 6px 0px rgba(35, 35, 35, 0.02);
}

#view-finished #body .items .item svg {
    width:                                  32px;
}

#view-finished #body .items .item p {
    text-align:                             start;
    font-size:                              13px;
    padding-left:                           18px;
}



#view-referral-success #body {
    padding:                                42px
}





@keyframes flickerAnimation {
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
}
@-o-keyframes flickerAnimation{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes flickerAnimation{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
}
@-webkit-keyframes flickerAnimation{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
}
.animate-flicker {
    -webkit-animation: flickerAnimation 1s infinite;
    -moz-animation: flickerAnimation 1s infinite;
    -o-animation: flickerAnimation 1s infinite;
    animation: flickerAnimation 1s infinite;
}





/*--   MEDIA QUERIES   --*/

@media only screen and (min-width: 721px) {

    #navigate .navigate-tab:hover img:not(.active) {
        display:                            none;
    }

    #navigate .navigate-tab:hover img.active {
        display:                            block;
    }

}



@media only screen and (max-width: 720px) {

    #frame {
        grid-template-columns:              1fr;
        grid-template-rows:                 1fr;
        grid-template-areas:                "app";
    }

    #app {
        border-radius:                      0;
    }

    #navigate {
        height:                             65px;
        padding:                            0 18px;
    }

}
