/*
.navbar .inner {
    position: relative;
    width: 100%;
    min-height: 72px;
    padding: 10px;
    background-color: #fff;
    -webkit-box-shadow: 3px 4px 9px 0px rgba(0,0,0,0.15);
    box-shadow: 3px 4px 9px 0px rgba(0,0,0,0.15);
}*/
.container {
    margin-right: 0;
    margin-left: 0;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}
.navbar .inner {
    position: relative;
    width: 100%;
    min-height: 72px;
    padding: 10px;
    /*background: url(../assets/topbar-bg.png);*/
}
/*.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
    background-color: #fff;
}*/
.main-navigation>.menu li>a {
    display: block;
    color: #F44336;
    text-decoration: none;
    font-weight: normal;
    padding: 10px;
    -webkit-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}
.main-navigation > .menu li.current-menu-item > a {
    color: #ED5933;
}
.toolbar .share-btn .dropdown {
    width: 150px;
}
.intro-section {
    position: absolute;
    width: 100%;
    height: 100%;
    /*padding-top: 216px;*/
    padding-top: 14%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    background-image: url(../assets/bg.jpg);
}
.intro-section .overlay, .page-title .overlay, .fw-section .overlay, .pricing-table-container .pricing-header .overlay, .gallery-tile:before {
    /*background: #453f84;
    background: -moz-linear-gradient(top, #453f84 0%, #3a2d46 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #453f84), color-stop(100%, #3a2d46));
    background: -webkit-linear-gradient(top, #453f84 0%, #3a2d46 100%);
    background: -o-linear-gradient(top, #453f84 0%, #3a2d46 100%);
    background: -ms-linear-gradient(top, #453f84 0%, #3a2d46 100%);
    background: linear-gradient(to bottom, #5D5D5D 0%, #3a2d46 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$color1', endColorstr='$color2', GradientType=0 );*/

    background: #000;
    background: -moz-linear-gradient(top, #000 42%, #EE5A34 100%);
    background: -webkit-gradient(to bottom, #000 42%, #EE5A34 100%);
    background: -webkit-linear-gradient(to bottom, #000 42%, #EE5A34 100%);
    background: -o-linear-gradient(to bottom, #000 42%, #EE5A34 100%);
    background: -ms-linear-gradient(to bottom, #000 42%, #EE5A34 100%);
    background: linear-gradient(to bottom, #000 42%, #EE5A34 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$color1', endColorstr='$color2', GradientType=0 );

    


}
.intro-section .intro-phone-wrap {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1300px;
    height: 520px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: hidden;
    bottom: -150px;
}
.intro-section .intro-logo {
    display: inline-block;
    width: 100%;
    max-width: 400px;
}
.intro-section .container.logo {
    position: absolute;
    z-index: 5;
}
.front-link-to-new {
    font-size: 3em;
    color: #EE5A34;
    text-shadow: 1px 1px black;
    z-index: 2;
}
/*@media screen and (max-width: 2400px) {
    .navbar .mobile-dropdown .main-navigation {
        position: relative;
        top: auto;
        margin-top: 0;
    }
}*/
/*@media screen and (max-width: 991px) {
    .navbar .mobile-dropdown {
        position: absolute;
        display: block;
        width: 100%;
        left: 0;
        top: 100%;
        background-color: #fff;
        -webkit-box-shadow: 3px 4px 9px 0px rgba(0,0,0,0.15);
        box-shadow: 3px 4px 9px 0px rgba(0,0,0,0.15);
        -webkit-transition: all 0.45s;
        -o-transition: all 0.45s;
        transition: all 0.45s;
    }
}*/
/*@media screen and (max-width: 991px) {

}*/
/*.navbar.navbar-fixed.stay {
    position: fixed;
}*/
.login-box .for-registration {
	display: none;
}
.login-box.register .for-registration {
	display: block;
}
.for-login {
	display: block;
}
.login-box.register .for-login {
	display: none;
}
.site-logo {
	min-width: 220px	;
}
.site-logo img {
    height: 52px;
    width: auto;
    display: inline-block;
}
.site-logo .logo-name {
    width: auto;
    display: inline-block;
    margin: 0 0 0 -15px;
    top: 4px;
    position: relative;
}
.select-register, .select-login {
    font-size: 24px;
    font-weight: 300;
    font-style: normal;
    width: 49.5%;
    display: inline-block;
    text-shadow: 0 0;
    color: inherit;
}
.login-box.register .select-register {
    text-shadow: 1px 1px #BBB;
    color: #c40000;
}
.login-box.register .select-login {
    text-shadow: 0 0;
    color: inherit;
}
.login-box .select-login {
    text-shadow: 1px 1px #BBB;
    color: #c40000;
}
.home-logo-outer {
    display: block;
    width: 66px;
    background: rgba(128, 128, 128, 0.5);
    height: 66px;
    border-radius: 50%;
    margin: auto;
}
.home-logo-initial {
    position: relative;
    display: block;
    font-size: 41px;
    color: #FFF;
    margin: auto;
}

.logo-initial {
    position: relative;
    left: -33px;
    bottom: -4px;
    font-size: 22px;
    color: #FFF;
}
#nav-inner {
    transition: top .6s;
    top: 0px;
    position: relative;
}
body.hide-nav #nav-inner{
    position: absolute;
    top: -800px;
}
.back-btn {
    font-size: 3em;
    /*color: #FFF;*/
    /*position: absolute;
    top: 10px;
    left: 25px;*/
    /*display: none;*/
}
.save-config-btn {
    font-size: 3em;
    color: #FFF;
    position: absolute;
    top: 10px;
    right: 25px;
}
.left-side-controller .logo {
    width: 156px;
    margin: auto;
}
body.controller-setup .left-side-controller.expanded {
    left: 10px;
}
body.controller-setup .left-side-controller {
    left: -205px;
}
.expand-collapse {
    text-align: right;
    bottom: 0;
    position: absolute;
    margin-top: 100%;
    display: block;
    width: 90%;
}
.img-controls {
    display: none;
}

.img-controls.full-width a {
    width: 100%;
}
.left-side-controller.expanded .expand-btn, .left-side-controller.expanded .expand-btn:hover {
    transition: transform .2s;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}
.left-side-controller .expand-btn, .left-side-controller .expand-btn:hover {
    transition: transform .2s;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
/*.left-side-controller.expanded .expand-btn, .left-side-controller .compress-btn {
    display: none;
}*/
.left-side-controller.expanded .compress-btn, .left-side-controller .expand-btn {
    display: block;
}
.left-side-controller .container {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    height: 100%;
}
.left-side-controller {
    transition: left .5s;
    background-color: #fff;
    height: calc(100% - 10px);
    position: absolute;
    width: 240px;
    z-index: 9;
    left: -300px;
    margin-bottom: auto;
    margin-top: auto;
    display: block;
    top: 5px;
    box-shadow: 3px 4px 9px 0px rgba(0,0,0,0.15);
}
.right-side-controller {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right .5s;
    height: calc(100% - 10px);
    position: absolute;
    z-index: 11;
    margin-bottom: auto;
    margin-top: auto;
    top: 5px;
    right: -500px;
}
#floating-home-btn, #floating-edit-btn, #floating-delete-btn {
    background: #fff;
    box-shadow: 3px 4px 9px 0px rgba(0,0,0,0.15);
    padding: 10px 21px;
    font-size: 1.4em;
    color: #EE5A34;
    position: absolute;
    z-index: 12;
    top: -300px;
}
#floating-home-btn {
    left: 5px;
}
#floating-edit-btn {
    right: 5px;
}
#floating-delete-btn {
    left: calc(50% - 26.5px);
}
.driving #floating-home-btn, .driving #floating-edit-btn, .driving #floating-delete-btn {
    top: 5px;
}
body.controller-setup .right-side-controller.active-ctrl {
    right: 10px;
}
.right-side-controller a.control {
    background: #fff;
    box-shadow: 3px 4px 9px 0px rgba(0,0,0,0.15);
    padding: 10px 14px;
    font-size: 1.4em;
    color: #EE5A34;
}
.change-relay {
    transition: all .5s;
    position: absolute;
    top: -300px;
    right: 75px;
    width: 49px;
    background: #fff;
    z-index: 9;
    box-shadow: 3px 4px 9px 0px rgba(0,0,0,0.15);
}
.change-relay.active {
    top: 5px;
}
#change-relay-number {
    display: block;
    width: 100%;
    line-height: 1.5;
    height: 49px;
    font-size: 14px;
    color: #404040;
    text-transform: none;
    border: none;
    border-radius: 0;
    border-bottom: none;
    background-color: rgba(0, 0, 0, 0);
    padding: 0 1px;
    margin-bottom: 0;
    -webkit-appearance: none;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    padding-left: 18px;
}
.setup-controls a {
    font-size: 2em;
}
.setup-controls {
    width: 100%;
    margin-top: 35px;
    list-style: none;
    color: #000;
    padding-left: 0;
}
#bg-img {
    /*max-width: 150px;*/
    max-width: 100%;
    margin: auto;
}
.set-bg-img {
    min-height: 80px;
    border: 2px dashed #818285;
    padding: 10px;
    margin: 20px;
}
.img-control-field {
    width: 50%;
    display: inline-block;
}
.canvas-container {
    /*position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;*/
    z-index: 6 !important;
    /*width: 100% !important;
    height: 100% !important;
    padding: 0 !important;*/
}
.circle-btn {
    display: block;
    /* position: absolute; */
    z-index: 2;
    width: 56px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    font-family: 'Pe-icon-7-stroke';
    font-size: 27px;
    color: #fff;
    background-color: #F36;
    border-radius: 50%;
    /* top: -90px; */
    /* right: 22px; */
    -webkit-box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.21);
    box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.21);
}
.setup-controls a.add-relay-btn {
    /*border: 1px solid #000;
    padding: 5px 13px;
    font-size: 1.2em;*/

    display: block;
    /*position: absolute;*/
    z-index: 2;
    width: 56px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    font-family: 'Pe-icon-7-stroke';
    font-size: 27px;
    color: #fff;
    background-color: #F36;
    border-radius: 50%;
    /*top: -90px;*/
    /*right: 22px;*/
    -webkit-box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.21);
    box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.21);
}
.left-side-controller input[name='controller-name'] {
    padding-left: 16px; 
}
.left-side-controller .expand-collapse {
    display: block;
    position: absolute;
    z-index: 2;
    width: 56px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    font-family: 'Pe-icon-7-stroke';
    font-size: 27px;
    color: #fff;
    /*background-color: #F36;*/
    background-color: #EE5A34;
    border-radius: 50%;
    bottom: 0px;
    right: -28px;
    -webkit-box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.21);
    box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.21);
}
.left-side-controller a {
    color: #fff;
}
/*.new-relay-button-form {
    text-align: center;
    position: fixed;
    top: -600px;
    transition: .5s;
    background: #eee;
    z-index: 10;
    padding: 20px;
    bottom: 0;
    left: calc( (100% - 40%) / 2 );
    right: 0;
    min-height: 460px;
    min-width: 320px;
    height: 60%;
    width: 40%;
}*/
.new-relay-button-form .row {
    background: #FFF;
    padding: 7px;
}
.new-relay-button-form {
    text-align: center;
    position: fixed;
    top: -600px;
    transition: .5s;
    z-index: 10;
    padding: 0;
    bottom: 0;
    left: 260px;
    right: 79px;
    height: 300px;
    min-height: 320px;
}
.new-relay-button-form.show {
    /*top: calc(50% - 180px); */
    top: 5px; 
}
#relay-number-to-assign {
    max-width: 30px;
    padding: 8px;
    margin: auto;
}
img.on-state-item {
    /*height: 60px;*/
    height: 250px;
    max-height: 35%;
}
.control-item {
    display: flex;
}
/*img.canvas-img {
    display: none;
}*/
.active-relay {
    opacity: 0;
}
input[type=range] {
  -webkit-appearance: none;
  margin: 10px 0;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #000000;
  background: #EE5A34;
  border-radius: 5px;
  border: 1px solid #000000;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 1px 1px 2px #666666;
  border: 1px solid #000000;
  height: 30px;
  width: 30px;
  border-radius: 15px;
  background: #FFFFFF;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -11px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #EE5A34;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #000000;
  background: #EE5A34;
  border-radius: 5px;
  border: 1px solid #000000;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 2px #666666;
  border: 1px solid #000000;
  height: 30px;
  width: 30px;
  border-radius: 15px;
  background: #FFFFFF;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #EE5A34;
  border: 1px solid #000000;
  border-radius: 10px;
  box-shadow: 1px 1px 1px #000000;
}
input[type=range]::-ms-fill-upper {
  background: #EE5A34;
  border: 1px solid #000000;
  border-radius: 10px;
  box-shadow: 1px 1px 1px #000000;
}
input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 2px #666666;
  border: 1px solid #000000;
  height: 30px;
  width: 30px;
  border-radius: 15px;
  background: #FFFFFF;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #EE5A34;
}
input[type=range]:focus::-ms-fill-upper {
  background: #EE5A34;
}
.form-control>i {
    display: block;
    position: absolute;
    left: 0;
    top: 13px;
    font-size: 23px;
    color: #EE5A34;
}
.format-image .post-format:before {
    /*content: "\e6bf";*/
    content: "\e68b";
}

.importing-img {
    width: 50px;
    display: none;
}
.importing-img.processing {
    display: inline-block;
}

/* fix owl carousel inside tab */
.tab-content > .tab-pane {
    display: block;
    height: 0;
}
.tab-content > .active {
    height: auto;
}



@media only screen and (max-height: 400px) {
    .hide-small {
        display: none;
    }
    .setup-controls {
        width: 100%;
        margin-top: 3px;
        list-style: none;
        color: #000;
        padding: 0;
    }
    #bg-img {
        margin: auto;
    }
    .set-bg-img label {
        text-align: center;
    }
    .set-bg-img {
        min-height: 40px;
        border: 2px dashed #818285;
        padding: 0px;
        margin: 0px;
    }
    .new-relay-button-form {
        /*left: 10%;*/
        left: calc( (100% - 40%) / 2 );
    }
    .new-relay-button-form.show {
        /*top: calc( (100% - 60%) / 2 );*/
        top: 0;
    }
}