@import url(reset.css);

*{
  margin: 0; padding: 0;
  text-decoration: none;
}
a{
  color: inherit;
  text-decoration: none;
}
body{
  width: 100%;
  height: 100%;
  background-color: #027d43;
  font-family: 'Helvetica Neue', sans-serif;
}

#sidebar{
  background: #ffffff;
  width: 302px;
  min-width: 302px;
  height: 100%;
  left: 0;
  text-transform: uppercase;
  box-shadow: 0 0 15px 10px rgba(51, 51, 51, 0.4);
  position: fixed;
}

#logo{
  width: 133px;
  height: 139px;
  background: url('../img/logo1.png') no-repeat;
  margin: 0 auto;
}

#title, #sub-title{
  width: 302px;
  text-align: center;
}

#title{
  color: #004f2a;
  font-size: 20px;
  padding-top: 14px;
}

#sub-title{
  color: #999999;
  font-weight: lighter;
  font-size: 14px;
  letter-spacing: 1px;
}


nav{
  padding-top: 56px;
}

nav li{
  text-align: center;
  margin-bottom: 14px;
}

nav ul a{
  display: block;
  color: #333333;
  padding: 3px 0;
}

nav ul a:hover{
  background: #027d43;
  color: #ffffff;
}

#up-side{
  height: ;
  padding-top: 61px;
  box-sizing: border-box;
  min-height: 100%;
  padding-bottom: 131px;
}
#up-side a{
    width:100%;
    height:100%;
    display: block;
}
#contacts{
  width: 302px;
  height: 131px;
  margin-top: -131px;
  box-sizing: border-box;
  padding: 36px 18px 0 18px;
}

#phone-icon{
  width: 43px;
  height: 43px;
  background: url('../img/phone-icon.png');
  float: left;
  margin: 6px 0 0 0;
}

#phone-name, #phone-number{
  float: left;
  width: 223px;
  text-align: right;
}

#phone-name{
  color: #004f2a;
  font-size: 22px;
}

#phone-number{
  color: #000000;
  font-size: 20px;
}

#content{
  position: absolute;
  height: 100%;
  left: 302px;
  right: 0;
}

#toolbar{
  background: #ffffff;
  height: 36px;
  margin-top: 14px;
  width: 100%;
  padding-top: 4px;
  box-sizing: border-box;
}

#right{

  float: right;
}

#sub-left{
  float: left;
  padding-right: 12px;
}

#right p{
  float: left;
  font-size: 14px;
  line-height: 14px;
  color: #004f2a;
}

#right p#down{
  font-size: 12px;
  color: #666666;
  float: none;
}
#right p#up:link{
  color: #004f2a;
}
#right p#up:hover{
  text-decoration: underline;
}

#right .exit{
  width: 76px;
  float: left;
  text-align: center;
  height: 28px;
  line-height: 26px;
  border-left: 1px solid #cccccc;
  font-size: 14px;
  color: #333333;
}

#right a:hover{
  text-decoration: underline;
}

#blocks{
  width: 100%;
  text-align: center;
}

#news{
  text-transform: uppercase;
  font-size: 26px;
  text-align: left;
  margin: 36px 0 34px 118px;
  color: #ffffff;
  letter-spacing: 2px;
}

.block{
  width: 362px;
  /*height: 252px;*/
  background: #ffffff;
  display: inline-block;
  margin-left: 50px;
  margin-right: 50px;
  margin-bottom: 58px;
  box-sizing: border-box;
  border: 1px solid #cccccc;
  padding: 0 13px 20px 13px;
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.1);
  -webkit-transition: box-shadow 0.3s ease-out;
  -moz-transition: box-shadow 0.3s ease-out;
  -o-transition: box-shadow 0.3s ease-out;
  transition: box-shadow 0.3s ease-out;
}

.block:hover{
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.3);
}

p.news-title{
  height: 32px;
  color: #004f2a;
  line-height: 30px;
  border-bottom: 1px solid #cccccc;
  text-align: center;
}

p.text{
  text-indent: 20px;
  text-align: left;
  padding: 10px 0 30px 0;
  color: #666666;
  text-align: justify;
}

p.date{
  font-style: italic;
  color: #999999;
  float: left;
}

p.author{
  float: right;
}

.login-page{
  line-height: 100vh;
	text-align: center;
	font-family: Helvetica, sans-serif;
	color: #515254;
}

.login{
  width: 250px;
	height: 210px;
	border: solid 1px #efefef;
	display: inline-block;
	vertical-align: middle;
	line-height: 22px;
	padding: 20px;
}

.login:hover{
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.1);
}

label, input{
	display: block;
	margin: 0 auto;
	margin-bottom: 5px;
	font-family: Helvetica, sans-serif;
}

input[type="text"], input[type="password"], textarea{
	border: none;
	background: #eee;
	padding: 5px;
	text-align: center;
	width: 200px;
	box-sizing: border-box;
        outline: none;
        font-size: 16px;
}

input[type="submit"]{
	background: #027d43;
	border: none;
	color: #fff;
	padding: 7px 20px;
	margin-top: 10px;
	cursor: pointer;
        font-size: 16px;
}

input[type="submit"]:hover{
	background: #086f3f;
}

input[type="submit"]:focus{
	outline: none;
	background: #004f2a;
}
#ticket{
  background: #fff;
  width: 850px;
  min-width: 850px;
  margin: 0 auto;
  border-radius: 5px;
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.1);
  -webkit-transition: box-shadow 0.3s ease-out;
  -moz-transition: box-shadow 0.3s ease-out;
  -o-transition: box-shadow 0.3s ease-out;
  transition: box-shadow 0.3s ease-out;
}
  #ticket thead td{
    font-size: 15pt;
    color: #fff;
    background-color:#027d43;
    border:none; 
  }
  #ticket td{
    border:1px solid #666666;
    padding: 5px;
  }
  #ticket tbody   tr:hover td{
    color: #fff;
    background-color:#027d43;
  }
  #ticket tfoot td{
    text-align: right;
    color: #666666;
    font-style: italic;
  }
  #ticket input[type="submit"],#ticket input[type="text"]{
    text-align: center;
    padding: 5px;
    margin:0px;
    font-size: 14px;
  }
  #ticket_date [type="submit"]{
    float:right;
  }#ticket_date [type="text"]{
    float:right;
  }
.t1{
  width: 20px;
}
.t2{
  width: 340px;
}
.t3{
  width: 340px;
}
.t4{
  width: 100px;
}
.t5{
  width: 50px;
}
#add-ticket{
  width: 362px;
  background-color: #fff;
  margin: 0 auto;
  padding: 20px 0;
}

#add-ticket table{
  margin: 0 auto;
}

#add-ticket td{
  padding-bottom: 4px;
}