﻿html {
    height: 100%;
    min-width: 100% !important;
}

body {

    position: relative;
    min-width: 1200px;
    min-height: 100%;
}

.blackbutton_nest span {
    display: inline-block;
    margin-right: 10px;
}

.blackbutton_nest img{
    display: inline-block;
    vertical-align: middle;
    margin-top: -4px;
    width: 21px;
}

/* SUPPORT STYLES */
.nest_form_control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -moz-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    text-transform: none;
}

    .nest_form_control:focus {
        border-color: #66afe9;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    }

#nest_backdrop {
    display: none;
    background-color: #000000;
    opacity: .75;
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

#nest_container {
    display: none;
    width: 600px;
    height: 730px;
    max-height: 77%;
    background-color: white;
    text-align: center;
    position: absolute;
    padding: 0 0 50px 0;
    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 11;
}

#next_sub_container {
    position: absolute;
    height: 100%;
    width: 100%;
    max-height: 100%;
    overflow-y: hidden;
}

#nest_container #setup_relative_wrapper {
    overflow: hidden;
    width: 100%;
    /*height: 100%;*/
    height: calc(100% - 71px); 
    /* overflow-x: hidden; */
    position: absolute;
}

#nest_container ol{
    margin: 40px 0 0 0;
    padding-right: 40px;
    font-size: 11pt;
}

#nest_container ol li {
    padding-bottom: 20px;
}

#nest_container .setup_content_wrapper {
    padding: 10px 15px 10px 15px;
    position: absolute;
    height: 85%;
    text-align: center;
}

#nest_container a {
    text-decoration: underline;
}

#nest_container .next_setup {
    text-align: center;
    padding-left: 0;
}

#nest_header {
    padding: 10px;
    background-color: #efecec;
}

.nest_connect {
    margin-bottom: 30px;
}

.nest_setup {
    margin-bottom: 10px;
    padding: 0;
}

#nest_header h1, #nest_header h2 {
    padding: 0;
    margin: 0;
}

#nest_header h1 {
    font-size: 18pt;
}

#nest_header h2 {
    font-size: 10pt;
}

#nest_setup_logo {
    margin-bottom: 15px;
    height: 38%;
}

.btn_wrapper {
    position: absolute;
    bottom: 27px;
    width: 100%;
    left: 0;
}

#nest_cancel {
    background-image: url(../Images/btn_close_inactive.png);
    background-size: 30px;
    width: 30px;
    height: 30px;
    position: absolute;
    right: -16px;
    top: -16px;
    cursor: pointer;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    z-index: 2;
}

    #nest_cancel:hover {
        background-image: url(../Images/btn_close_active.png);
    }

#nest_link_button {
    float: none;
    margin: 0 auto;
    padding: 8px;
    width: 135px;
    display: block;
}

#nest_setup_text {
    padding: 0 10px 0 10px;
    text-align: left;
}

.nest_button_text {
    float: none;
}

.button_plus {
    float: right;
    margin-top: 3px;
}

#nest_loader {
    z-index: 999;
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

    #nest_loader img {
        width: 40px;
    }

#nest_content_wrapper {
    /*padding: 20px;*/

    position: absolute;
    overflow: hidden;
    height: calc(100% - 78px);
    max-height: 100%;
    width: 100%;
    overflow-y: auto;
}

    #nest_content_wrapper #nest_setup_text {
        text-align: left;
        margin-bottom: 0;
        padding: 20px;
    }
    .nest_absolute_content {
        position: absolute;
        max-height: 100%;
    }

    .nest_config {
        right: 1000px;
        text-align: left;
    }

    .nest_config #config_content {
        padding: 0 20px 0 20px;
    }

    .nest_config_toggle_group {
        margin: 20px 0 50px 0;
        width: 320px;
    }

    .nest_config_toggle_group * {
        display: inline-block;
        vertical-align: middle;
        margin-right: 5px;
    }

    .nest_toggle {
        cursor: pointer;
        margin-top: 11px;
        width: 57px;
        height: 34px;
        float: right;
        background-repeat: no-repeat;
    }

    .nest_toggle_disabled {
        background-image: url('../Images/btn_settings_no.png');
        
    }

    .nest_toggle_enabled {
        background-image: url('../Images/btn_settings_yes.png');
    }

    .nest_toggle_active {
        background-image: url('../Images/btn_settings_yes.png');
    }

    #nest_remove_wrapper {
        width: 100%;
        position: absolute;
        bottom: 27px;
    }

    #nest_remove_pair, #nest_save_pair {
        background-image: url('../Images/btn_red_inactive.png') ;
        width: 170px;
        height: 34px;
        background-size: 170px 40px;
        cursor: pointer;
        text-align: center;
        color: white;
        font-size: 14pt;
        padding-top: 6px;
        margin: 0 auto;
        -moz-transition: all 200ms ease-in-out;
        -o-transition: all 200ms ease-in-out;
        -webkit-transition: all 200ms ease-in-out;
        transition: all 200ms ease-in-out;
    }
    #nest_remove_pair:hover, #nest_save_pair:hover {
        background-image: url('../Images/btn_red_active.png') ;
    }

    #nest_remove_pair p {
        margin: 0;
        zoom: 100%;
        -moz-transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }

#nest_select_wrapper {
    text-align: left;
    padding: 0 20px 20px 20px;
}

    #nest_select_wrapper * {
        display: inline-block;
    }

    #nest_select_wrapper span {
        margin-right: 20px;
    }

    #nest_select_wrapper select {
        background-color: #FBFBFB;
        margin-right: 20px;
        width: auto;
    }

    #nest_select_wrapper select option {
        display: block;
    }

.nest_plus_button {
    background-image: url('../Images/btn_pairings_add_inactive.png');
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: 30px;
    vertical-align: middle;
    cursor: pointer;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

    .nest_plus_button:hover {
        background-image: url('../Images/btn_pairings_add_active.png');
    }

.nest_select_location {
    min-width: 200px;
}



#nest_pairings_header {
    text-align: left;
    font-size: 15pt;
    margin-top: 40px;
    padding-left: 20px;
}

#nest_pairings {
    padding: 0 20px 0 20px; 
    /* height: 400px; */
    /*overflow-y: auto;*/
    /* height: calc(100% - 88px); */
}

.pairing {
    display: none;
    width: 100%;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #F3F3F3;
}

    .pairing h3 {
        padding: 0 20px 0 20px;
        font-size: 11pt;
        font-weight: normal;
        margin-top: 12px;
    }

.pairing_config {
    background-image: url('../Images/btn_pairings_settings_inactive.png');
    position: absolute;
    top: 62%;
    right: 20px;
    width: 26px;
    height: 26px;
    -moz-transform: translate(0, -88%);
    -ms-transform: translate(0, -88%);
    -o-transform: translate(0, -88%);
    -webkit-transform: translate(0, -88%);
    transform: translate(0, -88%);
    cursor: pointer;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

    .pairing_config:hover {
        background-image: url('../Images/btn_pairings_settings_active.png');
    }

.pairings_container {
    padding-bottom: 10px !important;
}

#groups {
    width: 185px !important;
}

.selectGroup h2 {
    display: block !important;
    font-size: 12pt;
    /*text-align: center;
    transform: translate(-5%, 30%);*/
}

#nest_pairings .nest_inline_loader {
    display: none;
    text-align: center;
    height: 100%;
    position: relative;
}

#nest_pairings .nest_inline_loader img {
    top: -38px;
    left: 177px;
    width: 17px;
    position: absolute;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.nest_inactive {
    background-color: #979797;
    cursor: default;
}

.nest_inactive:hover {
    background-color: #979797 !important;
}

#nest_secure_info:hover, #nest_groups_info:hover {
    display: block;
}

.nest_inactive:hover + #nest_secure_info, .nest_groups_prompt:hover + #nest_groups_info {
    display: block !important;
}

#nest_secure_info, #nest_groups_info {
    display: none;
    position: absolute;
    background-color: #efecec;
    border-radius: 5px;
    padding: 10px;
    font-size: 9pt;
    z-index: 0;
}

#nest_groups_info {
    max-width: 220px;
    cursor: pointer;
}

#nest_secure_info p {
    margin: 0;
    padding: 0;
}

#nest_btn_back {
    background-image: url('../Images/btn_settings_back_inactive.png');
    width: 41px;
    height: 41px;
    position: absolute;
    top: 14px;
    left: 16px;
    z-index: 2;
    border-radius: 4px;
    cursor: pointer;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

#nest_btn_back:hover {
    background-image: url('../Images/btn_settings_back_active.png');
}

.nest_disabled, .nest_disabled * {
    cursor: wait !important;
}

.nest_disabled #nest_remove_pair:hover {
    background-image: url('../Images/btn_red_inactive.png');
}

.nest_pairings_empty {
    color: grey;
}

.nest_setup_info .btn_wrapper #nest_next_button{
    float: none;
    text-align: center;
    margin: 0 auto;
    height: 30px;
    font-size: 14pt;
    line-height: 1.5;
}
    .nest_setup_info ol #groupitem {
        cursor: pointer;
    }
    
    .nest_setup_info ol #groupitem:hover {
        color: #989898;
    }  

    .nest_setup_info .btn_wrapper #nest_next_button .nest_button_text {
        float: none;
    }


/************************* For Mobile Devices *****************************/
@media only screen and (max-width: 768px) {
    body {
        min-width: 100%
    }
}