body, td, th
        { font-size: 0.7em }
html, body, table.Body
        { font-family: Verdana, Arial; color: #191929; background: #E4E8EF; margin:0px; padding: 0px; width: 100%; height: 100% }
a
        { color: #232323 }
a:hover
        {text-decoration: underline; color: #000000 }

img
        { border: 0 }
em
        { font-style: normal; color: #3F485C }
strong
        { font-weight: bold; font-style: normal; }
cite, q
        { font-style: normal; font-size: 90% }
q
        { color: #3F485C; font-size: 77% }

h1      { margin: 0 0 12px 0 }
h2, h3, h4
        { margin: 15px 0 12px 0 }
h5, h6
        { margin: 12px 0 5px 0 }
h1
        { color: #6A7186; font-weight: bold; font-size: 130%; }
h2
        { color: #6A7186; font-weight: bold; font-size: 130%; }
h3
        { color: #6A7186; font-weight: bold; font-size: 120%; text-transform: lowercase }
h4
        { color: #3F485C; font-weight: normal; font-size: 130% }
h5
        { color: #3F485C; font-weight: bold; font-size: 100% }
h6
        { color: #6A7186; font-weight: bold; font-size: 90% }
p
        { margin-top: 0 }
sup
        { font-size: 95%; vertical-align: 3px }
sub
        { font-size: 95%; vertical-align: -2px }

ul, ol, li
        { margin: 0; padding: 0 }

table
        { border-collapse: collapse; border-spacing: 0; border: 0 }
tr, td, th
        { border: 0; padding: 0; vertical-align: top }
th
        { text-align: left; font-size: 80%; font-weight: bold; }
th a
        { color: #FFFFFF; }
th a:hover
        { color: #232323; }

form
        { margin: 0; padding: 0 }

input, select, textarea, button
        { border: solid 1px #3F485C; }
input, select, button
        { font-size: 100%; }
button
        { color: #232323 }
input.r-button
        { border: 0; }

.Sign
        { text-decoration: none }

.Clear
        { clear: both }

div.Spacer
        { line-height: 0px; font-size: 0px; width: 1px; height: 1px }
div.Ruler
        { line-height: 0px; font-size: 0px; width: 100%; height: 1px; background: #C9D0DC }
div.Stick
        { position: absolute } 

.Remark
        { color: #3F485C; font-weight: normal }
.Error
        { color: #FF0000; font-weight: normal }
.Notice
        { color: #0000FF; font-weight: normal }

.Notice a
        { color: #0000FF; font-weight: normal }
.Notice a:hover
        {text-decoration: underline; color: #000000 }

.Header
        { background: #0080C0; width: 100%; height: 124px }

.Footer
        { vertical-align: middle; padding-left: 15px; background: #008000; color: #E4E8EF }
.Footer a
        { text-decoration: none; color: #E4E8EF }
.Footer a:hover
        { text-decoration: underline }

.Hotlinks
        { background: #008000; color: #E4E8EF }
.Hotlinks a
        { text-decoration: none; color: #E4E8EF }
.Hotlinks a:hover
        { text-decoration: underline }

table.Print
        { border-collapse: collapse; border: hidden; margin:0; margin-top: 5px; margin-bottom: 12px; border: 1px solid #000000; }
table.Print th
        { padding: 2px; text-align: center; 
          vertical-align: middle; font-weight: bold; 
          border: 1px solid #000000; 
         }
table.Print td
        { text-align: left; vertical-align: top; padding: 2px; 
         border: 1px solid #000000; 
        }

.Menu    
        { margin-bottom: 10px; }
.Menu a
        {text-decoration: none; }
.Menu a:hover
        {text-decoration: underline; color: #000000 }


table.Ramka
        { margin: 2px 0 0px 0; border-collapse: collapse; border: solid 1px; border: 1px solid #000040; }
table.Ramka td
        { border: 1px solid #000040; vertical-align: top; padding: 0px;}
table.Ramka th
        { padding: 2px 0px 2px 0px; background: #0080C0; color: #FFFFFF; text-align: center; vertical-align: middle; font-weight: normal; font-size: 110%;
         }



table.Main td
        { padding: 10px; }
table.Main td.Left
        { border-right: solid 1px; border-color: #000000; }

table.Users
        { border-collapse: collapse; border: hidden; margin:0; margin-bottom: 12px;}
table.Users th
        { padding: 0px 2px 0px 2px; background: #0080C0; color: #FFFFFF; text-align: center; vertical-align: middle; font-weight: normal; font-size: 90%;
         border: 1px solid #E4E8EF; border-right: 0; border-top: 0;
         }

table.Users tr
        { background: #C9D0DC;  }

table.Users tr.first
        { background: #C9D0DC;  }
         
table.Users tr.second
        { background: #B9C0CC;  }

table.Users td
        { text-align: left; vertical-align: top;  padding: 5px; border: 1px solid #E4E8EF;  }


table.Tarifs
        { border-collapse: collapse; border: hidden; margin-bottom: 12px; margin-top: 12px; }
table.Tarifs th
        { padding: 0px 2px 0px 2px; background: #0080C0; color: #FFFFFF; text-align: center; vertical-align: middle; font-weight: normal; font-size: 90%;
         border: 1px solid #E4E8EF; 
         }
table.Tarifs td
        { text-align: left; vertical-align: top; background: #C9D0DC; padding: 5px; border: 1px solid #E4E8EF; }
table.Tarifs td.uplevel
        { border: 1px solid #C9D0DC; }
table.Tarifs td.contr
        { background: #AFB7C4; }


table.Userview
        { border-collapse: collapse; border: hidden; margin: 0; margin-top: 6px; margin-bottom: 6px;}
table.Userview th
        { padding: 5px 2px 5px 2px; background: #0080C0; color: #FFFFFF; text-align: center; vertical-align: middle; font-weight: bold; 
         border: 1px solid #E4E8EF; 
         }
table.Userview td
        { text-align: left; vertical-align: top; background: #C9D0DC; padding: 5px; border: 1px solid #E4E8EF;  }

table.Userview td.center
        { text-align: center; }


table.Viewuse
        { border-collapse: collapse; border: hidden; margin-bottom: 12px; margin-top: 12px; }
table.Viewuse th
        { padding: 5px 3px 5px 3px; background: #0080C0; color: #FFFFFF; text-align: center; vertical-align: middle; ;
         border: 1px solid #E4E8EF; border-right: 0; border-top: 0;
         }
table.Viewuse td
        { text-align: left; vertical-align: top; background: #C9D0DC; padding: 5px; border: 1px solid #E4E8EF; border-right: 0; border-top: 0 }

textarea { font-size: 12px; border: solid 1px #000000; width:98%;  }



table.Nets
        { border-collapse: collapse; border: hidden; margin: 0; }
table.Nets th
        { padding: 5px 2px 5px 2px; background: #0080C0; color: #FFFFFF; text-align: center; vertical-align: middle; font-weight: bold; font-size: 90%;
         border: 1px solid #E4E8EF; border-right: 0; border-top: 0;
         }
table.Nets td
        { text-align: left; vertical-align: middle; background: #C9D0DC; padding: 5px; border: 1px solid #E4E8EF; border-right: 0; border-top: 0;
          }
table.Nets td.busy
        { text-align: left; vertical-align: middle; background: #0080C0; padding: 5px; border: 1px solid #E4E8EF; border-right: 0; border-top: 0;
          }
table.Nets td.busy2
        { text-align: left; vertical-align: middle; background: #6A7186; padding: 5px; border: 1px solid #E4E8EF; border-right: 0; border-top: 0;
          }
table.Nets td.user
        { text-align: left; vertical-align: middle; background: #FF0000; padding: 5px; border: 1px solid #E4E8EF; border-right: 0; border-top: 0;
          }


table.Tickets
        { border-collapse: collapse; border: hidden; margin-bottom: 12px; margin-top: 12px; }
table.Tickets th
        { padding: 5px 3px 5px 3px; background: #0080C0; color: #FFFFFF; text-align: center; vertical-align: middle; ;
         border: 1px solid #E4E8EF; border-right: 0; border-top: 0;
         }
table.Tickets td
        { text-align: left; vertical-align: top; background: #C9D0DC; padding: 5px; border: 1px solid #E4E8EF; border-right: 0; border-top: 0 }


table.Calendar
        { border-collapse: collapse; border: hidden; margin-bottom: 0px; margin-top: 8px; }
table.Calendar th
        {  padding: 3px 0px 3px 0px; background: #0080C0; color: #FFFFFF; text-align: center; vertical-align: middle; ;
         border: 0px;
         }
table.Calendar td
        { text-align: center; vertical-align: middle; background: #C9D0DC; padding: 5px; border: 1px solid #E4E8EF; }
table.Calendar td.wday
        {background: #6B7184; font-weight: bold; color: #E4E8EF;}
table.Calendar td.now
        {background: #0080C0;}
        
.MainLogin {
	border: 0px solid #ffffff;
	background-color: #000000;
	width: 165px;
	height: 29px;
	color: #ffff01;
	font-weight: bold;
	font-size: 15pt;
        margin-top: 1px;
}
input.MainLogin:focus{
    outline: 0 none; 
}
input.red-border {
	border: 1px solid #FF0000 !important;
}

.clearfix:after {
	content:".";
	clear:both;
	display:block;
	height:0;
	font-size:0;
	visibility:hidden
}
.clearfix {display:inline-block}
/* Хак для IE 6 и 7 спрятанный от IE-mac \*/
* html .clearfix {height:1%}
.clearfix {display:block}
/* Конец хака */

div.graph-row {
    overflow: auto;
    width: 100%;
}
div.graph-box {
  float: left;
  padding: 0 5px 10px 0;
}
input[type='text']:disabled, select:disabled {
    background-color: #cccccc;
}
a#user_wifi_edit {
margin-left: 10px;
}

.hidden {display: none}

.select2-container .select2-search--inline .select2-search__field {margin-top: 8px}

select.select2 {width: 100%;}
.photo {
    width: 110px;
    height: 110px;
}
.photo.empty {
    background: url("../ico/no-user-image-png.png") no-repeat center center;
    background-size: 110px auto;
}
.photo img {
    width: auto;
    height: 110px;
}
div.file-upload {
    background-color: #d4d9e3;
    height: 23px;
    margin-top: 5px;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}
div.file-upload:hover {
    background-color: #dde1e9;
}
div.file-upload span {
    display: inline-block;
    height: 16px;
    margin-top: 3px;
    color: #80848c;
    padding-top: 2px;
    width: 100%;
    cursor: pointer;
}
div.file-upload span.uploading {
    font-style: italic;
}
.fileinput-button {
    display: block;
}
.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: "alpha(opacity=0)";
    font-size: 200px!important;
    direction: ltr;
    cursor: pointer;
}
.fleft {
    float: left;
}
input.error {
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}
input.manual {
    background-color: #d4edda;
    border-color: #c3e6cb;
}
input.should {
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

input:not([type="submit"]), select, textarea {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    /*line-height: 14px;*/
    /*font-size: 14px;*/
    padding-left: 2px;
    padding-right: 2px;
    border: 1px solid #888;
}
div.suggestion {
    margin-top: 5px;
}
a.ajax {
    text-decoration: none;
    border-bottom: 1px dashed #191929;
}
a.ajax:hover {
    border-bottom-color: transparent;
}
input.MainLogin {
    border-color: black;
}


/* Icons */
span.icon16 {
    display: inline-block;
    height: 16px;
    margin: auto;
    width: 16px;
    background-repeat: no-repeat;
}
span.icon16.pdf {
    background-image: url("../ico/pdf16.png");
    background-size: 16px 16px;
}
span.icon16.jpg, span.icon16.jpeg {
    background-image: url("../ico/jpg16.png");
    background-size: 16px 16px;
}