
/** custom css **/
*, :before, :after {
    box-sizing: border-box;
}
body {
    color: #757575;
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}
button {
    background: #efefef;
    border-radius: 4px;
    border: 1px solid #ddd;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 15px;
    font-family: 'Ubuntu', sans-serif;
	color: #757575;
}    
table{
    border-collapse: collapse;
    width: 100%;
}
thead tr th{
	padding: 6px 12px;
	border: 0;
    font-weight: bold;
	color: #fff;
    background: #c4141c;
    text-align: left;
}
table tbody {
    background: #fbfbfb;
}
td,th{
    padding: 12px 12px;
	border: 1px solid #e2e2e2;
	line-height: 30px;
	text-align: left;
}
td.bigtext span{
    font-size: 32px;
    font-weight: 500;
}
td.Val {
	width: 25%;
}
td:last-child,th:last-child{
    border-right: 0;
}
td:first-child,th:first-child{
    border-left: 0;
}
ul, li{
    list-style: none;
    padding: 0;
    margin: 0;
}
a, a:hover{
    text-decoration: none;
    transition: 0.3s all;
}
input {
	width: 60%;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 6px;
    box-shadow: none;
    font-size: 18px;
	color: #757575;
    font-family: 'Ubuntu', sans-serif;	
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance:textfield;
	width: 85px;
}
input[type=checkbox]{
	width: 0px;
	display:none;
}
input[type=select]{
	background:transparent;
}
input[type=file]{
	display: inline;
	width: 250px;
	border: 0;
	padding: 5px 0px;
	font-size: 15px;
	color: #757575;
    font-family: 'Ubuntu', sans-serif;	
}
input[type="radio"]{
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #bcbcbc;
    border-radius: 50%;
    display: inline-block;
    margin: 0;
    margin-right: 10px;
}
input[type="date"], input[type="time"] {
	width: auto;
}

input[type="range"] {
	float: right;
	accent-color: #c4141c;
}

input[type="radio"]:checked{
    background: #c4141c;
    background: -moz-radial-gradient(center, ellipse cover,  #c4141c 50%, #ffffff 50%, #ffffff 50%);
    background: -webkit-radial-gradient(center, ellipse cover,  #c4141c 50%,#ffffff 50%,#ffffff 50%);
    background: radial-gradient(ellipse at center,  #c4141c 50%,#ffffff 50%,#ffffff 50%);
}
	
select{
	width: 85px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 3px;
    box-shadow: none;
    font-size: 20px;
	color: #757575;
    font-family: 'Ubuntu', sans-serif;	
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-image: url(select_down_drop.png);
    background-repeat: no-repeat;
    background-position: 90% 50%;
    background-size: 11px;
    background-color:transparent;
}

/* Login Page */
.login-content .logobox{
    text-align: center;
    padding: 40px 0 60px;
    border-bottom: 1px solid #dddddd;
}
.login-content .login{
    padding: 20px 0;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 40px;
}
.login-content h1{
    margin: 0;
    margin-bottom: 32px;
    font-size: 32px;
    color: #575656;
    font-weight: bold;
    text-align: center;
}
.login-form{
    max-width: 440px;
    margin: auto;
}
.login-content .login .input-item{
    width: 100%;
    height: 40px;
    border: 2px solid #bcbcbc;
    border-radius: 6px;
    background: #fff;
    padding: 6px 15px;
    margin-bottom: 20px;
}

.alert {
    padding:20px 0;
    background-color:#c4141c;
    color:white;
    display:none;
    font-weight:bold;
    margin-top: 15px;
    text-align: center;
}
            
input:focus{
    outline: 0;
}

.btn-login{
	width: 100%;
    height: 40px;
    background: #c4141c;
    color: #fff;
    font-weight: bold;
    margin: 0 auto;
    display: block;
}
.btn-connect{
	width: 40%;
    height: 40px;
    font-weight: bold;
}
.top {
    background-color: #fff;
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    padding: 0;
}
.header {
    margin-bottom: 0;
}
.topnav {
    background-color: #f4f4f4;
    margin: 0 auto;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    border-bottom: 1px solid #ddd;
    min-height: 80px;
}
.topnav ul{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -ms-order: 1;
    -webkit-order: 1;
    order: 1;
}
.topnav ul li{
    height: 100%;
    position: relative;
    width: 90px;
    border-right: 1px solid #ddd;
}
.topnav ul li a{
    display: block;
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    cursor: pointer;
}
.topnav ul li a:after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: transparent;
}
.topnav ul li a.active:after{
    background: #c4141c;
}
.topnav ul li a.active .normal-img{
    display: none;
}
.topnav ul li a.active .over-img{
    display: block;
}
#divTs {
	line-height: 24px;
	float: left;
}
.over-img{
    display: none;
}
.domainInfo:hover {
	visibility: visible;
}
.header-btn{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin: 0 20px;
    margin-left: auto;
    -ms-order: 3;
    -webkit-order: 3;
    order: 3;
}
.header-btn a{
    height: 40px;
    line-height: 40px;
    width: 110px;
    background: #c4141c;
    color: #fff;
    text-align: center;
    padding: 0 !important;
    font-weight: 400 !important;
    display: block;
    cursor: pointer;
    border-radius: 4px;
}
.header-btn a:hover{
    background: #575656;
}
.head-logo{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin: 0 25px;
    -ms-order: 2;
    -webkit-order: 2;
    order: 2;
}
.head-logo a img{
    width: 100px;
}
.main{
    padding: 0 10px;
}
.content-head{
    padding: 20px 0;
}
.content-head h2{
    font-size: 24px;
    color: #575656;
    display: inline;
}
.controlloops{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.controlloops .lp-top{
    width: 50%;
    padding: 0 10px;
    margin-bottom: 30px;
    float: left;
}
.lp-top table{
	border-top: 1px solid #e2e2e2 !important;
	border-bottom: 1px solid #e2e2e2 !important;
}
.lp-top table tbody tr td:first-child{
    font-weight: bold;
    width: 120px;
}
.lp-top table tbody tr td .text-first{
    font-weight: bold;
    color: #c4141c;
}
.lp-top table tbody tr td{
    padding: 12px 12px;
	border: 0;
	line-height: 30px;
}
.lp-top table tbody tr td:first-child{
	border-right: 1px solid #e2e2e2 !important;
}
.editbutton {
    float: right;
    cursor: pointer;
	margin-left: 2px;
	background-color: white;
	height:30px;
}
.edit-hidden {
    display: none;
}
.switch {
    position: relative;
    vertical-align: middle;
    display: inline-block;
    width: 48px;
    height: 24px;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff !important;
    border: 1px solid #575656;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 14px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    right: 3px;
    top: 0;
    margin: auto;
    bottom: 0;
    background-color: #575656;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
    -webkit-transform: translateX(-22px);
    -ms-transform: translateX(-22px);
    transform: translateX(-22px);
    background-color: #c4141c;
}
.val-1,.val-2,.toggle{
    display: inline-block;
}
.val-1{
    text-align: right;
	width: 33%; 
}
.val-2{
    text-align: left;
    width: 33%; 
}
.toggle{
    margin: 0 8px;
}label.container{
    margin-left: 15px;
    display: inline-block;
}
label.container span{
    position: relative;
    padding-left: 28px;
    min-height: 20px;
    display: block;
}
label.container input{
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
}
label.container span:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 24px;
    height: 24px;
    border: 2px solid #575656;
    border-radius: 4px;
    background: #fff;
}
label.container span:after{
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 3px;
    margin: auto;
    width: 12px;
    height: 6px;
    border: 2px solid #c4141c;
    border-top: 0;
    border-right: 0;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    transition: 0.2s all;
    opacity: 0;
    visibility: hidden;
}
label.container input:checked ~ span:after{
    opacity: 1;
    visibility: visible;
}

.server-ind{
    padding: 10px 10px;
	display: block;
    text-align: right;
	width: 100%;
}
.server-ind img{
    width: 25px;
	margin-left: 10px;
}
.tabdata {
    display: none;
}
.language-selbox{
    margin-top: 10px;
}
.language-selbox label{
    margin-right: 10px;
    font-weight: bold;
}
.language-selbox select{
    width: 96px;
}
.language-selbox input[type=submit]{
    width: 80px;
    background: #c4141c;
    border-radius: 4px;
    color: #fff;
    text-align: center;
    border: 0;
    cursor: pointer;
    padding: 0;
    vertical-align: top;
    transition: all 0.3s;
}
.language-selbox input[type=submit]:hover{
    background: #575656;
}
.header .language-selbox{
    -ms-order: 4;
    -webkit-order: 4;
    order: 4;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin: 0 20px;
    margin-left: 0;
    position: relative;
}
.header .language-selbox .languagehead{
    height: 40px;
    line-height: 40px;
    width: 100px;
    background: #575656;
    border-radius: 4px;
    color: #fff;
    text-align: left;
    padding: 0 16px;
    font-weight: 400 !important;
    display: block;
    cursor: pointer;
    position: relative;
}
.header .language-selbox .languagehead:after{
    content: '';
    position: absolute;
    right: 16px;
    top: -4px;
    bottom: 0;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-left: 0;
    border-top: 0;
    margin: auto;
    transform: rotate(45deg);
    border-radius: 1px;
}
.header .language-selbox select{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 40px;
    opacity: 0;
    width: 100%;
    z-index: 1;
}
.home-updown span[id*="ovr-ts"],
.overts{
    display: inline;
    margin-left: 4px;
}
input[type="range"].wAuto {
	width: 100%;
}
.timeschedule > button{
    width: 150px;
	margin-top: 10px;
    color: #575656;
    cursor: pointer;
}
.tsBut {
    background-color: white;
    vertical-align: middle; 
	width: 56px;
	height: 30px;
	padding: 5px !important;
}

.timeschedule > button span{
    font-weight: bold;
    display: inline-block;
}
.timeschedule select, .timeschedule input{
    height: 30px !important;
	font-size: 15px !important;
}
.timeschedule span, .timeschedule label{
    line-height: 30px;
}
.timeschedule{
    margin-bottom: 30px;
}
.weekDays-selector .checkbox + .checkbox{
    margin-left: 6px;
}
.weekDays-selector input {
    display: none!important;
}
.weekDays-selector input[type=checkbox] + label {
    display: inline-block;
    border-radius: 0px;
    background: #ece9e9;
    height: 28px;
    width: 25px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
}
.weekDays-selector input[type=checkbox]:checked + label {
    background: #575656;
    color: #ffffff;
}
select:focus,
input:focus{
    outline: 0;
}
.systemdate input{
    margin: 0 2px;
	height: 30px;
	font-size: 15px;
	width: 125px;
}
#doBinStateTable tbody tr th,
#doBinStateTable tbody tr td{
	text-align: center !important;
}
.accord-box table>thead>tr>th {
	background-color: #575656;
}

.accordion {
    background-color: #575656;
    color: #fff;
    cursor: pointer;
    padding: 14px 15px;
    width: 100%;
    border: none;
    outline: none;
    transition: 0.4s;
    font-weight: bold;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    font-size: 16px;
    border-radius: 8px;
}
.accordion:hover,
.accordion.accactive{
    background: #c4141c;
}
.accordion > span{
    width: 18px;
    height: 18px;
    display: inline-block;
    background: #fff;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.accordion > span:before{
    content: "\002B";
    color: #575656;
    text-align: center;
    transition: 0.3s all;
}
.accordion:hover > span:before{
    color: #c4141c;
}
.accordion.accactive > span:before{
    color: #c4141c;
    content: '\2212';
}
.panel {
    background-color: #fff;
}
.accord-box table {
	margin-bottom: 10px;
}
.accord-box {
	margin-bottom: 10px;
}
.info-content p{
    font-weight: 400;
    margin: 0;
}
.mobile-only{
    display: none;
}
.home-updown{
    display: inline;
    position: relative;
}
.num-icons{
    display:inline;
}

#load{
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  position: fixed;
  top: 20%;
  left: 20%;
  width: 100px;
  height: 100px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.wifi-table input[type=text], .wifi-table input[type=password] {
	width: 200px;
}
.wifi-table, .advanced table {
	margin: 20px 0;
}
#infomsg {
    color: #757575;
    width: 100%;
    padding: 10px;
    outline: none;
    background-color: #f4f4f4;
}

.footer {
    margin-top: auto;
    padding: 32px 0;
    background-color: #f4f4f4;
    font-weight: bold;
    text-align: center;
    border-top: 1px solid #dddddd;
    color: #212121;
}
.footer p{
    color: #212121;
    margin: 0;
}

div.systemdate {
	padding-top: 20px;
}
	
@media (min-width: 767px){
	.wifi-table td:first-child, .advanced td:first-child {
		width: 50%;
	}
	#divTsEn {
		float:right;
		line-height: 24px;
		margin-top:20px;
	}
	.timeschedule table tbody tr td:first-child {
	    width: auto;
	}
	.timeschedule table tbody tr td:nth-child(2) {
	    width: 142px;
	}
	.timeschedule table tbody tr td:nth-child(3) {
	    width: 215px;
	}
	.timeschedule table tbody tr td:nth-child(4) {
	    width: 1px;
	    white-space: nowrap;
	}
	.timeschedule table tbody tr td:nth-child(5) {
		white-space: nowrap;
		border-bottom: 1px solid #e2e2e2 !important;
	}
	.timeschedule table tbody tr td:nth-child(6) {
	    width: 30px;
	    white-space: nowrap;
		
	}
	.timeschedule table tbody tr td .weekDays-selector{
	    display: -ms-flexbox;
	    display: -webkit-flex;
	    display: flex;
	}
	
	.timescheduleAn table tbody tr td:first-child {
	    width: auto;
	}
	.timescheduleAn table tbody tr td:nth-child(2),  td:nth-child(3){
	    width: 142px;
	}
	.timescheduleAn table tbody tr td:nth-child(4) {
	    width: 30px;
	    white-space: nowrap;	
	}
}
	
@media (max-width: 767px){
	input {
		width: 45%;
	}
	input[type="range"] {
		width: 100%;
	}
	input[type=number] {
	  -moz-appearance:textfield;
		width: 65px;
	}
	td,th {
		padding: 6px 6px;
	}
  	#ctrl-mode-table td{
		text-align: center !important;
  	}
    .tables tr {
		border-bottom: 1px solid #dddddd;
  	}
  	.tables tr td {
    	display: block;
    	width: 100%;
		border: 0;
  	}
  	div.rowTitle, span.rowTitle{
		width:30%;
		font-weight: bold;
	}
    .login-form{
        padding: 0 20px;
    }  
    .topnav{
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .topnav ul{
        width: 100%;
        margin: auto;
        -webkit-order: 4;
        -ms-order: 4;
        order: 4;
        margin-top: 15px;
        -ms-flex-align: inherit;
        -webkit-align-items: inherit;
        align-items: inherit;
    }
    .head-logo{
        -webkit-order: 1;
        -ms-order: 1;
        order: 1;
        margin: 15px;
        margin-bottom: 0;
    }
    .header-btn{
        -webkit-order: 2;
        -ms-order: 2;
        order: 2;
        margin: 15px;
        margin-bottom: 0;
        margin-left: auto;
    }
    .header .language-selbox{
        -webkit-order: 3;
        -ms-order: 3;
        order: 3;
        margin-top: 15px;
    }
    .topnav ul li {
        padding: 15px 14px;
        width: calc(100% / 5);
        height: auto;
    }
    .controlloops .lp-top{
        width: 100%;
        margin-left: auto;
        margin-right: auto;
		padding: 0;
    }
    #divTsEn {
		float:left;
		margin-bottom:20px;
	}
    .mobile-only{
        display: inline-block;
    }
    .mobhide{
        display: none;
    }
    .timeschedule table tbody tr td .weekDays-selector .checkbox{
        margin: 0;
    }
    .timeschedule table tbody tr td .weekDays-selector .checkbox + .checkbox{
        margin-left: 4px;
    }
    .accord-box .controlclass tbody tr td input + img{
        margin-left: 5px;
    }
}


@media (max-width: 575px){
    .footer{
        padding: 25px 10px;
        font-weight: 400;
    }
    .login-content .logobox {
        padding: 40px 0;
    }
    .login-content .logobox img {
        max-width: 160px;
    }
    .login-content .login{
        padding: 40px 0;
    }
    .login-content h1 {
        margin-bottom: 30px;
        font-size: 26px;
    }
    .controlloops .lp-top{
        width: 100%;
        margin-bottom: 20px;
    }
    .topnav ul li a img {
        max-width: 34px;
        max-height: 40px;
    }
    label.container{
        margin-left: 15px;
    }
    #infomsg{
        text-align: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
    } 
    .language-selbox label{
        width: 100%;
        margin-right: 0;
        display: block;
        margin-bottom: 10px;
    }
}


@media (max-width: 420px){
    .header .language-selbox{
        margin-right: 10px;
    }
    .header .language-selbox .languagehead{
        width: 90px;
    }
    .head-logo a img {
        width: 70px;
    }
    .head-logo{
        margin-left: 10px;
    }
    .header-btn {
        margin-right: 10px;
    }
    .header-btn a{
        width: auto;
        padding: 0 10px !important;
        width: 90px;
    }
}
.radio-off-on{
    min-width: 10px !important;
    width: 20px !important;
}
.span-off{
    position: relative;
    top: -17px;
    left: -50px;
}
.span-on{
    position: relative;
    top: -17px;
    left: -40px;
}
.ipwd {
  width: 100% !important;
  padding: 15px;
  margin: 5px 0 5px 0;
  display: inline-block;
  border: none;
  background: #f1f1f1;
}
.ipwd:focus {
  background-color: #ddd;
  outline: none;
}
.container {
  padding: 8px 16px 8px 16px;
}
.modal-button {
	margin: 10px 10px 0px 0px; 
	
} 
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto;
  background-color: #474e5d;
  padding-top: 50px;
}
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
}
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}
 .close {
  position: absolute;
  right: 35px;
  top: 15px;
  font-size: 40px;
  font-weight: bold;
  color: #f1f1f1;
}
.close:hover,
.close:focus {
  color: #c4141c;
  cursor: pointer;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
@media screen and (max-width: 300px) {
  .cancelbtn, .signupbtn {
     width: 100%;
  }
}

.advanced label {
	padding-right: 20px;
}

.advanced .progress {
	width: 100%; 
	background-color: transparent; 
}
.advanced .progressBar {
	width: 1%; 
	background-color: rgb(0, 128, 64); 
	height: 30px;
	color: black;
	text-align: center;
}

.toggle-password-visibility {
  cursor: pointer;
  font-size: 24px;
}

.toggle-password-visibility.red {
  color: red;
}
