/*
стили виджета календаря

body {
    background: #e0e0e0;
}
#cal {
    margin:50px auto;
    font: 13px/1.5 "Helvetica Neue", Helvetica, Arial, san-serif;
    display:table;
    box-shadow:0px 3px 3px rgba(0, 0, 0, 0.25);
    -moz-box-shadow:0px 3px 3px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow:0px 3px 3px rgba(0, 0, 0, 0.25);
}

#cal .header {
    cursor:default;
    background: #cd310d;
    background: -moz-linear-gradient(top, #b32b0c, #cd310d);
    background: -webkit-gradient(linear, left top, left bottom, from(#b32b0c), to(#cd310d));
    height:34px;
    position:relative;
    color:#fff;
    -webkit-border-top-left-radius:5px;
    -webkit-border-top-right-radius:5px;
    -moz-border-radius-topleft:5px;
    -moz-border-radius-topright:5px;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    font-weight:bold;
    text-shadow:0px -1px 0 #87260c;
    text-transform: uppercase;
}
#cal .header span {
    display:inline-block;
    line-height:34px;
}

#cal .header .hook {
    width:9px;
    height: 28px;
    position:absolute;
    bottom:60%;
    border-radius:10px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    background:#ececec;
    background: -moz-linear-gradient(right top, #fff, #827e7d);
    background: -webkit-gradient(linear, right top, right bottom, from(#fff), to(#827e7d));
    box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.65);
    -moz-box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.65);
    -webkit-box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.65);
}
.right.hook {
    right:15%;
}
.left.hook {
    left:15%;
}

#cal .header .button {
    width:24px;
    text-align:center;
    position:absolute;
}
#cal .header .button:hover {
    background: -moz-linear-gradient(top, #d94215, #bb330f);
    background: -webkit-gradient(linear, left top, left bottom, from(#d94215), to(#bb330f));
}
#cal .header .right.button {
    right:0;
    top:0; 
    border-left:1px solid #ae2a0c;
    border-top-right-radius: 5px;
    -moz-border-radius-topright:5px;
    -webkit-border-top-right-radius: 5px;
}
#cal .header .left.button {
    left:0;
    border-right:1px solid #ae2a0c;
    border-top-left-radius: 5px;
    -moz-border-radius-topleft:5px;
    -webkit-border-top-left-radius: 5px;
}


#cal .header .month-year {
    letter-spacing:1px;
    width:100%;
    text-align:center;
}

#cal table {
    background:#fff;
    border-collapse: collapse;
}
#cal td {
    color:#2d2d2d;
    width:30px;
    height:30px;
    line-height:30px;
    text-align:center;
    border:1px solid #e6e6e6;
    cursor:default;
}

#cal #day td {
    height:26px;
    line-height:26px;
    text-transform:uppercase;
    font-size:90%;
    color:#9e9e9e;
}
#cal #days td:not(:last-child) {
    border-right:1px solid #fff;
}

#cal #cal-frame td.today {
    background:#ededed;
    color:#8c8c8c8;
    box-shadow:1px 1px 0px #fff inset;
    -moz-box-shadow:1px 1px 0px #fff inset;
    -webkit-box-shadow:1px 1px 0px #fff inset;
}

#cal #cal-frame td:not(.nil):hover {
    color:#fff;
    text-shadow:#6c1a07 0px -1px;
    background:#cd310d;
    background: -moz-linear-gradient(top, #b32b0c, #cd310d);
    background: -webkit-gradient(linear, left top, left bottom, from(#b32b0c), to(#cd310d));
    box-shadow:0px 0px 0px;
    -moz-box-shadow:0px 0px 0px;
    -webkit-box-shadow:0px 0px 0px;
}

#cal #cal-frame table.temp {
    position:absolute;
} 

#cal #cal-frame table.curr {
    float:right;
}
 */

#cal {
  position: relative;
  padding: 14px 14px 4px 4px;
  width: 250px;
  height: 200px;
}
#cal table.temp {
  display: none
}


/*thead*/
#cal .header {
  margin-top: 10px;
  position: relative;
}

#cal th {
  text-align: center;
  border-radius: 4px; }

#cal thead tr:first-child th:hover {
  background: #eee; }

#cal #prev {
  font-size: 0;
  cursor: pointer;
  display: block;
  /* float: left; */
  height: 20px;
  line-height: 28px;
  width: 20px;
  background: url(../images/calend__arrow--left.png) center center no-repeat;
  position: absolute;
  left: 13%;
  top: 0; }

#cal #next {
  font-size: 0;
  cursor: pointer;
  display: block;
  /* float: right; */
  height: 20px;
  line-height: 28px;
  width: 20px;
  background: url(../images/calend__arrow--right.png) center center no-repeat;
  position: absolute;
  right: 13%;
  top: 0; }

#label {
  cursor: pointer;
  display: block;
  text-align: center;
  margin: 0 auto;
  width: 100%; }

.hook {
  display: none; }

/*tbody*/
#cal-frame .today {
    font-weight: bold;
}

#cal td {
  height: 20px;
  line-height: 20px;
  width: 20px;
  text-align: center;
  border-radius: 4px;
  margin: 0 auto;
}

#cal td b {
    text-decoration: underline;
    color: #0b68b5;
    cursor: pointer;
    display: block;
    border-radius: 4px;
}
#cal td.action b,
#cal td b:hover {
	color: #ffffff;
	text-decoration: none;
	background-color: #0b68b5;
}
#cal td.action b {
	background-color: #74b8e0;
}


#cal #cal-frame td span {
  font-size: 80%;
  position: relative; }

#cal #cal-frame td span:first-child {
  bottom: 5px; }

#cal #cal-frame td span:last-child {
  top: 5px; }
#cal .action a {
    backround: #fcf;
}
.allnews {
  display: block;
  padding-top: 12px;
  padding-bottom: 20px;
  text-align: center; }


.calend__link {
  display: block;
  padding-left: 25px;
  padding-bottom: 40px;
  background: url(../images/mainnav__sublink-bg.png) 0px 3px no-repeat;
  text-align: left;
  color: white;
  font-size: 14px; }

.calend__link:hover {
  color: #0b68b5; }

#cal .close {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 600%;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
}



  
#cal td.active,
#cal td.active:hover {
	background-color: #428bca;
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,.25);
}

#cal #cal-frame td span {
    font-size:80%;
    position:relative;
}
#cal #cal-frame td span:first-child {
    bottom:5px;
}

#cal #cal-frame td span:last-child {
    top:5px;
}





/*thead*/


#days,
.curr {
	width: 250px;
	margin-top: 10px;
}

#cal #days td,
#cal-frame td {
	height: 20px;
	line-height: 20px;
	width: 20px;
}

#cal th {
	text-align: center;
	border-radius: 4px;
}

#cal thead tr:first-child th:hover {
	background: #eee;
}

#cal #prev {
	font-size: 0;
	cursor: pointer;
	display: inline-block;
	height: 20px;
	line-height: 20px;
	width: 20px;
	background: url(../images/calend__arrow--left.png) center center no-repeat;
}

#cal #next {
	font-size: 0;
	cursor: pointer;
	display: inline-block;
	height: 20px;
	line-height: 20px;
	width: 20px;
	background: url(../images/calend__arrow--right.png) center center no-repeat;
}

#label {
	cursor: pointer;
	display: block;
	text-align: center;
	margin: 0 auto;
	width: 80%;
}

.hook {
	display: none;
}

/*tbody*/


#cal td {
	height: 20px;
	line-height: 20px;
	width: 20px;
}

#cal td, #cal th {
	text-align: center;
	border-radius: 4px;
}

.allnews {
	display: block;
	padding-top: 12px;
	padding-bottom: 20px;
	text-align: center;
}

.calend__popup {
    position: absolute;
    display: none;
    top: 0;
    right: -325px;
    width: 285px;
    min-height: 205px;
    padding: 30px 20px;
    background-image: linear-gradient(to top, #74b8e0 0%, #8bccf0 100%);
    z-index: 1;
}


.calend__link {
	display: block;
	padding: 20px 0 20px 25px;
	background: url(../images/mainnav__sublink-bg.png) 0px 23px no-repeat;
	text-align: left;
	color: white;
}

.calend__link:hover {
	color: #0b68b5;
}
#cal td.active,
#cal td.active:hover {
  background-color: #428bca;
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); }

#cal-frame td.action .calend__popup,
#cal-frame td:hover .calend__popup {
    display: block;
	z-index: 1;
}

#cal-frame td:hover .calend__popup {
    display: block;
	z-index: 2;
}

