.loading {
    -webkit-animation:spin 2s linear infinite;
    -moz-animation:spin 2s linear infinite;
    animation:spin 2s linear infinite;
}
@-moz-keyframes spin { 100% {
    -moz-transform:rotate(360deg);
    }
}
@-webkit-keyframes spin { 100% {
    -webkit-transform:rotate(360deg);
    }
}
@keyframes spin { 100% {
    -webkit-transform:rotate(360deg);
    transform:rotate(360deg);
    }
}


/* Weather icons */
.forecast-icon {
    display: block;
    width: 25px;
    height: 25px;
    float: left;
    margin-left: 5px;
    margin-right: 5px;
}
.Partly.Cloudy {
  background-image: url(http://static.pyatigorsk.org/tmpl/weather/partlycloudy.png);
}

.Sunny {
  background-image: url(http://static.pyatigorsk.org/tmpl/weather/sunny.png);
}
.Moderate.or.heavy.rain.in.area.with.thunder {
    background-image: url(http://static.pyatigorsk.org/tmpl/weather/thunderyoutbreaksinnearby.png);
}
.Moderate.or.heavy.rain.shower {
  background-image: url(http://static.pyatigorsk.org/tmpl/weather/moderateorheavyrainshower.png);
}

.Light.rain.shower {
  background-image: url(http://static.pyatigorsk.org/tmpl/weather/lightrainshower.png);
}

.Thunderyoutbreaksinnearby {
  background-image: url(http://static.pyatigorsk.org/tmpl/weather/thunderyoutbreaksinnearby.png);
}

.Clear {
  background-image: url(http://static.pyatigorsk.org/tmpl/weather/clear.png);
}

.Mist {
  background-image: url(http://static.pyatigorsk.org/tmpl/weather/mist.png);
}



html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container > .site-index {
    padding: 70px 0px 20px;
}
.site-index > .container {
    padding-left: 0px;
}
.container > .col-xs-3:first-child {
    padding-left: 0px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


.square-btn {
    display: block;
    width: 30px;
    height: 30px;
    border: 1px solid #006295;
    line-height: 30px;
    text-align: center;
}
.square-btn:hover, .square-btn:focus {
    text-decoration: none;
}

.semiblind-btn {
    text-align: right;
    line-height: 30px;
}
.white-btn {
    background-color: #FFF;
    font-weight: bold;
    color: #006295;
    float: right;
    margin-left: 5px;
}
.blue-btn, .blue-btn:hover, .blue-btn:focus {
    background: #045f8d; /* Для старых браузров */
    background: linear-gradient(to top, #337ab7, #045f8d);
    color: #FFF;
    margin-right: 2px;
    float: left;
}

.input-group-sm input.form-control {
    width: 75%;
    float: left;
}

.carousel-wrap {
    width: 1170px;
    height: 200px;
    display: block;
    overflow: hidden;
    /*background-image: url('http://static.pyatigorsk.org/tmpl/orel-bq.jpg');*/
}

.header {
    margin-bottom: 5px;
}
.header .container {
    position: relative;
}
.header h1 {
    margin-top: 10px;
    font-size: 20px;
}
.logo {
    display: block;
    z-index: 99999;
    position: absolute;
    left: 100px;
    width: 400px;
}
.logo a {
    color: #006295;
    text-decoration: none;
}
.logo a:hover, .logo a:focus {
    color: grey;
}
.logo img {
    float: left;
    margin-right: 10px;
}
.header .basic-nav-wrap {
    height: 60px;
    padding-top: 15px;
}
.time-weather-wrap {
    display: block;
    width: 100px;
    position: absolute;
    z-index: 99999;
    top: 60px;
    left: 950px;
    background-color: #FFF;
    opacity: 0.85;
    width: 100px;
}
.time-weather-wrap .weather-wrap {
    background-color: #006295;
    display: block;
    color: white;
    font-size: 16px;
    height: 29px;
    line-height: 25px;
    padding: 2px;
}

.container {
    width: 1200px;
}

.module-title {
    text-transform: uppercase;
    background: linear-gradient(to bottom, #4494c7, #1e6095);
    margin-bottom: 10px;
    color: #FFF;
    font-weight: bold;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
}
.module-title a, .module-title a:hover, .module-title a:focus {
    color: #FFF;
    text-decoration: none;
}
.footer .module-title {
    background-image: none;
    line-height: 37px;
}
.footer a, .footer a:hover, .footer a:focus {
    color: #FFF;
}
.footer .container {
    color: white;
    background-image: url('http://static.pyatigorsk.org/tmpl/bottom-menu-bg.jpg');
    background-repeat: repeat-x;
    background-color: #035c8a;
    min-height: 180px;
}
.footer ul {
    list-style-type: none;
    padding-left: 0px;
}


.theta-carousel-wrap {
    position: relative;
    width: 100%;
    margin-bottom: -60px;
    min-height: 460px;
}
.theta-carousel-wrap .full-img-wrap {
    display: block;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 360px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.theta-carousel-wrap .theta-carousel {
    margin-top: -200px;
}

.module-wrap img {
    max-width: 100%;
}
.announces-wrap, .module-wrap {
    margin-bottom: 15px;
}
.announces-wrap .scrollable-nav {
    text-align: center;
}
.announces-wrap .panel-heading a, .announces-wrap a:hover, .annoounces-wrap a:focus, .announces-wrap a:active {
    text-decoration: none;
}
.announces-wrap .panel-heading {
    padding: 0px;
}
.announces-wrap .date-wrap, .announces-wrap .title-wrap {
    padding-left: 10px;
    padding-right: 10px;
}
.announces-wrap .date-wrap {
    padding-top: 10px;
    padding-bottom: 5px;
    background-color: #d7d7d7;
}
.announces-wrap .title-wrap {
    padding-top: 5px;
    padding-bottom: 10px;
}
.announces-wrap .time {
    float: right;
}

.time-weather-wrap .date-wrap {
    color: #000;
    font-size: 12px;
    text-align: center;
}

.hottest-wrap {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding-bottom: 5px;
}
.hottest-wrap .hottest-intro {
    text-align: justify;
}
.hottest-wrap .readmore-wrap {
    text-align: right;
}

.cls {
    clear: both;
}

.main-news-wrap .item-wrap {
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #dddddd;
}
.main-news-wrap .readmore-wrap {
    float: right;
    font-size: 12px;
}
.main-news-wrap .item-info-wrap, .news-wrap .item-info-wrap {
    font-size: 12px;
}
.main-news-wrap .date-wrap {
    margin-right: 10px;
}
.main-news-wrap .item-image {
    width: 45%;
    float: left;
    margin-right: 10px;
}
.main-news-wrap .item-intro {
    font-size: 13px;
}

.actualno-wrap a:hover, .actualno-wrap a:focus, .main-news-wrap a:hover, .main-news-wrap a:focus, .news-wrap a:hover, .news-wrap a:focus {
    text-decoration: none;
}

.news-wrap .item-wrap {
    margin-bottom: 10px;
    background-color: #E9E9E9;
    padding: 5px;
    border-radius: 5px;
}
.news-wrap .item-image {
    width: 25%;
    float: left;
    margin-right: 10px;
}

.item-title {
    line-height: 1.2;
    font-weight: bold;
}


.actualno-wrap .item-wrap {
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #dddddd;
}
.actualno-wrap .item-image {
    margin-bottom: 5px;
}

.usefull-links-wrap {
    line-height: 1.1
}
.usefull-links-wrap a:hover, .usefull-links-wrap a:focus {
    text-decoration: none;
}
.usefull-links-wrap ul {
    list-style-type: none;
    padding-left: 0px;
}
.usefull-links-wrap ul li {
    margin-bottom: 5px;
}

.breadcrumbs {
    background: linear-gradient(to bottom, #4494c7, #1e6095);
    color: #FFF;
    display: block;
    height: 30px;
    line-height: 30px;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}
.breadcrumb_intro {
    float: left;
}
.breadcrumb_wrap {
    padding: 0px 15px;
    list-style: none;
    float: left;
}
.breadcrumb_wrap > li {
    float: left;
}
.breadcrumb_wrap > li + li:before {
    color: #ccc;
    content: " / ";
    padding: 0 5px;
}
.breadcrumb_wrap a {
    color: #FFF;
}
.breadcrumb_wrap a:hover, .breadcrumb_wrap a:focus {
    color: #FFF;
    text-decoration: underline;
}

.owl-carousel img {
    max-width: 100%;
}
/*.navslider_wrap {
    background-image: url(http://static.pyatigorsk.org/tmpl/services-slider-bg.jpg);
    background-repeat: repeat-x;
    height: 220px;
    line-height: 220px;
    margin-bottom: 10px;
}*/
#partners .owl-prev {
    left: -6%;
}
#nav-slider .owl-prev {
    left: -10%;
}
#partners .owl-next {
    left: 101%;
}
#nav-slider .owl-next {
    left: 100%;
}
#partners .owl-prev, #partners .owl-next, #nav-slider .owl-prev, #nav-slider .owl-next {
    position: absolute;
    top: -10px;
    background-color: transparent;
}
#partners .owl-prev, #partners .owl-next {
    top: -10px;
    color: grey;
    font-size: 40px;
/*    opacity: 0.7;*/
}

#nav-slider .owl-prev, #nav-slider .owl-next {
    top: 15px;
    color: #4494c7;
    font-size: 80px;
}


#partners, #nav-slider {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}


#photos, #videos {
    position: relative;
}
#photos .owl-prev, #photos .owl-next, #videos .owl-prev, #videos .owl-next {
    position: absolute;
    top: 75px;
    background-color: #FFFFFF;
    color: #4494c7;
    opacity: 0.7;
    width: 29px;
    height: 29px;
    line-height: 24px;
}
#photos .owl-prev:hover, #photos .owl-next:hover, #videos .owl-prev:hover, #videos .owl-next:hover {
    opacity: 0.9;
}
#photos .owl-prev, #videos .owl-prev {
    left: 0px;
}
#photos .owl-next, #videos .owl-next {
    right: 0px;
}


.events-module-wrap img {
    margin-bottom: 10px;
}

.search .input-group-sm {
    margin-right: -30px;
}


.article-view {
    border-bottom: 1px dotted grey;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.edit-controls-wrap {
    width: 40px;
    float: right;
    display: block;
}
.article-view img {
    max-width: 100%;
}
.article-view .item-image {
    width: 350px;
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}
.full-article-info-wrap {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 12px;
}
.full-article-info-wrap > div {
    float: left;
    margin-right: 10px;
}

.gallery-wrap {
/*    width: 550px;*/
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.articles img {
    max-width: 100%;
}
.articles .item-image {
    width: 250px;
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}


.form-group.required .form-control-label:after {
    content:"*";
    color:red;
}

.ui-datepicker-inline {
    width: 100%;
}


.right-column {
    padding-right: 0px;
}

a[href$=".pdf"]:hover, a[href$=".pdf"]:focus, 
a[href$=".rtf"]:hover, a[href$=".rtf"]:focus, 
a[href$=".doc"]:hover, a[href$=".doc"]:focus, 
a[href$=".xls"]:hover, a[href$=".xls"]:focus, 
a[href$=".docx"]:hover, a[href$=".docx"]:focus,
a[href$=".xlsx"]:hover, a[href$=".xlsx"]:focus,
a[href$=".jpg"]:hover, a[href$=".jpg"]:focus,
a[href$=".zip"]:hover, a[href$=".zip"]:focus,
a[href$=".ppt"]:hover, a[href$=".ppt"]:focus,
a[href$=".pptx"]:hover, a[href$=".pptx"]:focus,
a[href$=".ppsx"]:hover, a[href$=".ppsx"]:focus
{
    text-decoration: none;
}
a[href$=".pdf"], 
a[href$=".rtf"], 
a[href$=".doc"], 
a[href$=".xls"], 
a[href$=".docx"], 
a[href$=".xlsx"],
a[href$=".jpg"],
a[href$=".zip"],
a[href$=".ppt"],
a[href$=".pptx"],
a[href$=".ppsx"]
{
    display: block;
    width: 100%;
    background-image: url('/images/icon-download-32.png');
    background-repeat: no-repeat;
    background-position: 0px 50%;
    padding-left: 40px;
    min-height: 32px;

    border: 1px solid #CCC;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    padding: 10px 10px 10px 40px;
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
}

.module-footer-wrap {
    margin-top: -15px;
    margin-bottom: 15px;
}
.all-news-link-wrap {
    text-align: right;
}
.rss-icon-wrap .rss-link {
    font-size: 23px;
}

#dopnav > li.zpij {
    width: 58.5px;
}

.photo-link {
    display: inline!important;
    width: auto!important;
    background: none!important;
    min-height: auto!important;
    border: none!important;
    margin: 0px!important;
    padding: 0px!important;
    box-shadow: none;
}