/**
* Author: Klimkin Artur
* 2015
*/

/**
* Common styles
*/
/*@import url(http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700);*/
@import url(http://allfont.ru/allfont.css?fonts=pt-sans-narrow);
body {
    font-family: 'PT Sans Narrow', sans-serif;
    font-weight: 400px;
    font-size: 16px;
    background: url('../img/template/bg.jpg') no-repeat center -100px fixed;
    /*-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;*/
}
a {
    text-decoration: underline;
    color: #006999;
}
a:hover {
    text-decoration: none;
}
h1 {
    margin-top: 10px;
    margin-bottom: 20px;
}
.p0 {padding: 0 !important;}
.pl0 {padding-left: 0 !important;}
.m0 {margin: 0 !important;}
.mb10 {margin-bottom: 10px;}
.full {width: 100%;}
.icon {
    display: inline-block;
    width: 25px;
    height: 25px;
}
.icon-fax {
    background: url('../img/template/icon-fax.png') no-repeat center left;
}
.icon-address {
    background: url('../img/template/icon-address.png') no-repeat center left;
}
form {
    border: 1px solid #47a447;
    padding: 22px;
    border-radius: 8px;
}
.form-control {
    border-radius: 0;
    font-size: 16px;
    color: #383838;
    padding: 2px 10px;
    height: 32px;
}
.form-control::-webkit-input-placeholder {color:#383838;}
.form-control::-moz-placeholder {color:#383838;}/* Firefox 19+ */
.form-control:-moz-placeholder {color:#383838;}/* Firefox 18- */
.form-control:-ms-input-placeholder {color:#383838;}
.btn {
    border: none;
    border-radius: 0;
}
@font-face {
    font-family: Maria; /* Гарнитура шрифта */
    src: url('../fonts/maria_antuanetta.ttf'); /* Путь к файлу со шрифтом */
}

/**
* Personal styles
*/
header {
    background: url('../img/template/header-bg.jpg') no-repeat center top;
}
header .btn {
    font-size: 16px;
    padding: 5px 12px;
}
header .gradient {
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e6f2f8+36,ffffff+100&amp;0.65+0,0.35+100 */
background: -moz-linear-gradient(top,  rgba(230,242,248,0.65) 0%, rgba(230,242,248,0.54) 36%, rgba(255,255,255,0.35) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(230,242,248,0.65)), color-stop(36%,rgba(230,242,248,0.54)), color-stop(100%,rgba(255,255,255,0.35))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(230,242,248,0.65) 0%,rgba(230,242,248,0.54) 36%,rgba(255,255,255,0.35) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(230,242,248,0.65) 0%,rgba(230,242,248,0.54) 36%,rgba(255,255,255,0.35) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(230,242,248,0.65) 0%,rgba(230,242,248,0.54) 36%,rgba(255,255,255,0.35) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(230,242,248,0.65) 0%,rgba(230,242,248,0.54) 36%,rgba(255,255,255,0.35) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6e6f2f8', endColorstr='#59ffffff',GradientType=0 ); /* IE6-9 */

position: relative;
}
header .container {
    padding: 12px 20px 26px;
}
header .radial {
    height: 320px;
    left: 50%;
    margin-left: -416px;
    position: absolute;
    top: 0;
    width: 833px;
    background: url('../img/template/radial.png') no-repeat center center;
}
header .left {
    width: 38%;
    position: static;
}
header .center {
    width: 24%;
}
header .right {
    width: 38%;
    padding-left: 60px;
}
header .container {
    position: relative;
}
header form {
    max-width: 398px;
    padding: 10px;
    position: relative;
    padding-top: 3px;
    margin-bottom: 10px;
}
header form .title {
    text-align: center;
    margin-bottom: 8px;
    color: #006999;
    font-size: 18px;
    text-transform: uppercase;
}
.phone {
    line-height: 1.6em;
}
.phone .glyphicon {
    font-size: 120%;
    margin-right: 5px;
}
.phone .code {
    font-size: 22px;
}
.phone .number {
    font-size: 30px;
    color: #006999;
}
.no-underline {
    text-decoration: none;
}
.phone .info {
    padding-left: 12%;
}
.address-block {
    position: absolute;
    bottom: 26px;
    left: 20px;
}
.address-block a,
.header .date {
    color: #000;
}
header .date {
    text-decoration: underline;
}
.address-block  span {
    display: block;
    float: left;
}
.address-block  .icon-address {
    display: block;
    float: left;
    margin-top: 10px;
    margin-right: 15px;
}
.address-block  .address {
    display: block;
    float: left;
}
.slogan {
    font-size: 22px;
    font-weight: bold;
    color: #006999;
    margin: 10px 0 25px 20px;
}

.logo,
.logo img {
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
}
/*.logo {
    width: 100%;
}
.logo img {
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s cubic-bezier(.63,.27,.4,.69) infinite;
}
@-moz-keyframes spin { 50% { -moz-transform: rotateY(90deg); } 50% { -moz-transform: rotateY(-90deg); } }
@-webkit-keyframes spin { 50% { -webkit-transform: rotateY(90deg); } 50% { -webkit-transform: rotateY(-90deg); } }
@keyframes spin { 50% { -webkit-transform: rotateY(90deg); transform:rotateY(90deg); } 50% { -webkit-transform: rotateY(-90deg); transform:rotateY(-90deg); } }
*/

.navbar {
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#049ce1+0,006999+100 */
background: rgb(4,156,225); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(4,156,225,1) 0%, rgba(0,105,153,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(4,156,225,1)), color-stop(100%,rgba(0,105,153,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(4,156,225,1) 0%,rgba(0,105,153,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(4,156,225,1) 0%,rgba(0,105,153,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(4,156,225,1) 0%,rgba(0,105,153,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(4,156,225,1) 0%,rgba(0,105,153,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#049ce1', endColorstr='#006999',GradientType=0 ); /* IE6-9 */
    border-radius: 0;
    border: none;
    margin-bottom: 0;
    min-height: inherit;
    text-align: center;
    
    text-transform: uppercase;
    font-weight: 700;
    font-size: 17px;
}
.navbar-toggle .icon-bar {
    background-color: #fff;
}
.nav,
.nav > li {
    display: inline-block;
    float: none;
    position: relative;
    margin: 0;
}
.nav a {
    color: #fff;
    text-decoration: none;
}
.nav > li {
    margin-right: 1px;
}
.nav li a {
    padding: 10px 36px;
    margin: 0;
}
.nav > li > a:hover,
.nav > li:hover > a,
.nav > li > a:focus {
    background-color: #03648f;
}
.nav > li:after,
.nav > li:first-child:before {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background-color: #03648f;
    content: "";
    width: 1px;
    box-shadow: 1px 0 rgba(255, 255, 255, 0.39);
}
.nav > li:first-child:before {
    left: 0;
}
.nav > li ul {
    display: none;
    position: absolute;
    background-color: #03648f;
    z-index: 100;
    padding: 0;
    margin: 0;
    text-align: left;
}
.nav > li:hover ul {
    display: block;
}
.nav > li ul li,
.nav > li ul li a {
    display: block;
    white-space: nowrap;
}
.nav > li ul li a:hover {
    background-color: #004f72;
}
.widget {
    margin-bottom: 30px;
}
.widget:last-child {
    margin-bottom: 0;
}
.side-menu {
    border-radius: 8px;
    border: none;
    background-color: #f1f1f1;
    box-shadow: 0 0 10px rgba(0,0,0,.24);
    display: block;
    list-style: none;
    padding: 25px 0;
    margin: 0;
}
.side-menu li, .side-menu li a {
    display: block;
    text-decoration: none;
    color: #222222;
}
.side-menu li {
    margin: 5px 0;
}
.side-menu li a {
    background: url('../img/template/sidebar-menu-list-image.png') no-repeat 35px center;
    padding: 8px 10px 8px 60px;
}
.side-menu li a:hover,
.side-menu li a.active {
    background-color: #2ea5db;
    color: #fff;
}

/* Carousel base class */
.carousel {
  height: 500px;
  position: relative;
}
.carousel:after {
  position: absolute;
  display: block;
  background: url('../img/template/carousel-shadow.png') no-repeat center top;
  content: " ";
  width: 100%;
  height: 16px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #777;
  overflow: hidden;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.carousel-control {
    color: #323232;
    text-shadow: none;
    opacity: 1;
    overflow: hidden;
}
.carousel-control .glyphicon {
    position: absolute;
    z-index: 19;
}
.carousel-control:after {
    display: block;
    width: 80px;
    height: 88px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -42px;
    content: " ";
    z-index: 9;
}
.carousel-control.left:after {
    left: -35px;
-webkit-border-top-right-radius: 50%;
-webkit-border-bottom-right-radius: 50%;
-moz-border-radius-topright: 50;
-moz-border-radius-bottomright: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
}
.carousel-control.right:after {
    right: -35px;
-webkit-border-top-left-radius: 50%;
-webkit-border-bottom-left-radius: 50%;
-moz-border-radius-topleft: 50%;
-moz-border-radius-bottomleft: 50%;
border-top-left-radius: 50%;
border-bottom-left-radius: 50%;
}
.carousel-control.left,
.carousel-control.right,
.carousel-control:hover {
    background: none;
}
.carousel-control:hover,
.carousel-control:focus {
    color: #006999;
}
.carousel-control {
    width: 10%;
}
.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-prev {
    left: 6px;
    margin-left: 0;
}
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next {
    right: 0;
    margin-right: 0;
}
.layout {
    background-color: rgba(255,255,255,.87);
    padding: 30px 60px 40px;
}
.content,
.sidebar {
    padding: 0;
    margin: 0;
}
.sidebar {
    float: right;
}
.content.has-sidebar {
    padding-right: 30px;
}
.welcome {
    color: red;
    font-family: Maria;
    font-size: 44px;
    margin: 10px 0 15px;
}
.hello-text {
    padding-top: 20px;
    text-indent: 1.5em;
}
footer {
    padding: 30px 40px;
    margin: 0;
    padding-top: 90px;
    background: url('../img/template/footer-bg.png') repeat-x center top rgba(255,255,255,.83);
    position: relative;
}
footer .footer-logo {
    padding-left: 85px;
    margin-top: 15px;
    margin-bottom: 30px;
}
footer .copy {
    margin-bottom: 18px;
}
footer .warning {
    font-size: 14px;
}
footer .social a {
    margin-right: 28px;
}
footer .counters {
    position: absolute;
    bottom: 50px;
    right: 0;
}
.page .images .item {
    float: left;
}
.page .images .item img {
    max-width: 290px;
}
.page .date {
    margin-bottom: 10px;
}
.page .image {
    float: left;
    margin-right: 20px;
}
.page .images,
.sanatory .images {
    margin-top: 30px;
    max-width: 100%;
    overflow: hidden;
}
.page .images img,
.sanatory .images img {
    width: 95%;
}
.page-list .item,
.sanatorii .item,
.sanatory .images .item {
    margin-bottom: 35px;
    padding: 0;
}
.page-list .item:last-child,
.sanatorii .item:last-child {
    margin-bottom: 0;
}
.sanatorii h2,
.page-list h2 {
    margin-bottom: 15px;
}
.sanatorii .image,
.page-list .image {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}
.generated-form {
    max-width: 600px;
}
.breadcrumb {
    background-color: transparent;
    border-radius: 0;
    border: none;
    padding-left: 0;
    padding-right: 0;
    font-size: 16px;
}
.breadcrumb .crumb-delimiter {
    margin: 0 10px;
}
.breadcrumb .crumb-current a {
    text-decoration: none;
}
.sanatorii .item {
    margin-bottom: 20px;
}
.sanatory .image {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}
.table-bordered {
    border: 1px solid #006999;
}
.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: 1px solid #006999;
}
.gallery .items .item {
    margin-bottom: 35px;
    padding: 10px;
    background-color: #fff;
}
.gallery .items .item .image a,
.gallery .items .item .image img {
    width: 100%;
    display: block;
    position: relative;
}
.gallery .items .item .image a {
    height: 230px;
    overflow: hidden;
}
.gallery .items .item .image a img {
    top: 0;
}
.gallery .items .item .anchor {
    text-align: center;
    margin-top: 10px;
}
.gallery .items .item .anchor a {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}
.gallery.one .item {
    float: left;
    margin-right: 12px;
    margin-bottom: 20px;
    height: 190px;
    width: 230px;
    overflow: hidden;
    text-align: center;
}
.gallery.one .item a {
    display: block;
}
.gallery.one .item a img {
    max-height: 150px;
}
.gallery.one .item .image-title {
    text-align: center;
    padding: 5px 2px;
}
.navbar-collapse {
    max-height: none;
}
.prices {
    padding-right: 30px;
}
.prices .links {margin-top: 5px;margin-left: 20px;}

.prices .item,
.price .download-line {
    margin-bottom: 25px;
}
.menuCollapser {
    width: 100%;
    display: none;
}
.mini-logo,
.mini-slogan,
.mini-contact {
    display: none;
}
.sanatory table,
.page table {
    border: 1px solid #006999;
    width: 100%;
}
.page table table > thead > tr > th,
.sanatory table table > thead > tr > th,

.page table > tbody > tr > th,
.sanatory table > tbody > tr > th,

.page table > tfoot > tr > th,
.sanatory table > tfoot > tr > th,
.page table > thead > tr > td,
.sanatory table > thead > tr > td,
.page table > tbody > tr > td,
.sanatory table > tbody > tr > td,
.page table > tfoot > tr > td,
.sanatory table > tfoot > tr > td {
    border: 1px solid #006999;
    padding: 5px;
}
.tags {
    margin-top: 15px;
}
.tags span {
    color: #808080;
}

/**
* Media queries
*/
@media (max-width: 1220px) {
    .phone .number {
        font-size: 24px;
    }
    .phone .code {
        font-size: 18px;
    }
    .logo, .logo img {
        max-height: 90%;
        max-width: 90%;
    }
}
@media (max-width: 1000px) {
    .prices {
        padding-right: 0;
    }
    footer .social a {
        margin-right: 15px;
    }
    header .radial {
        width: 100%;
        margin-left: 0;
        left: 0;
    }
    .carousel {
      height: 230px;
    }
    /* Declare heights because of positioning of img element */
    .carousel .item {
      height: 230px;
    }
    .slogan {
        font-size: 18px;
    }
    header form input[name="14_field"],
    header form input[name="15_field"] {
        display: none;
    }
    .side-menu li a {
        padding-left: 30px;
        background-position: 12px center;
    }
}
@media (max-width: 767px) {
    header form input[name="14_field"],
    header form input[name="15_field"] {
        display: block;
    }
    .nav,
    .nav > li {
        display: block;
        float: none;
        text-align: left;
    }
    .nav > li:after,
    .nav > li:before {
        display: none !important;
    }
    .nav ul {
        position: static !important;
        display: block !important;
    }
    .nav > li ul {
        background-color: transparent !important; 
        padding-left: 10px;
    }
    .nav > li > a:hover,
    .nav > li:hover > a,
    .nav > li > a:focus {
        background-color: transparent;
    }
    .nav > li ul li a:hover {
        background-color: transparent;
    }
    .nav li:hover > a,
    .nav li a:hover,
    .nav > li ul li a:hover {
        background-color: #03648f;
    }
    .nav a {
        padding: 5px 10px !important;
    }
    .prices .links {
        float: none;
    }
    .prices .item,
    .price .download-line {
        margin-bottom: 15px;
    }
    footer .footer-logo {
        padding-left: 0;
    }
    footer .warning {
        margin-bottom: 15px;
    }
    footer .social a {
        margin-right: 5px;
    }
    footer .counters {
        position: static;
    }
    .content.has-sidebar {
        padding-right: 0px;
        float: none;
        width: 100%;
    }
    .sidebar {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }
    .side-menu {
        height: auto !important;
    }
    .side-menu.in {
        display: none;
    }
    .menuCollapser {
        display: block;
    }
    header .left,
    header .center,
    header .right {
        width: 100%;
        padding: 0;
        float: none;
    }
    header form {
        max-width: none;
    }
    header .left .phone {
        float: none !important;
        width: 100% !important;
    }
    header .left .phone .info {
        padding-left: 0;
    }
    header .left .phone .number {
        font-size: 18px;
    }
    header .left .phone .code {
        font-size: 14px;
    }
    header .left .address-block {
        position: static;
    }
    header {
        background: none;
    }
    .layout {
        padding: 15px 10px 20px;
    }
    footer {
        padding: 90px 20px 15px;
    }
    .welcome {
        font-size: 34px;
    }
    header .left {
        display: none;
    }
    .mini-logo,
    .mini-slogan {
        display: block;
        margin-bottom: 15px;
        text-align: center;
    }
    .mini-contact {
        display: block;
        margin-bottom: 10px;
    }
    .mini-logo .logo, .mini-logo .logo img {
        max-width: 150px;
        max-height: 150px;
    }
    .mini-slogan .row,
    header .right .row {
        margin: 0;
        padding: 0;
    }
     header .center,
     header .right .slogan {
        display: none;
    }
    .slogan {
        margin: 0;
    }
    header form {
        margin: 0;
    }
    .carousel-control:after {
        width: 60px;
        height: 68px;
        margin-top: -22px;
    }
    .carousel-control.left:after {
        left: -28px;
    }
    .carousel-control.right:after {
        right: -28px;
    }
    header .radial {
        display: none;
    }
    .sanatory .image,
    .page .image {
        float: none;
        margin-right: 0;
    }
    .page .image a,
    .page .image a img,
    .sanatory .image a,
    .sanatory .image a img {
        max-width: 100%;
    }
    
    .page-list .item,
    .sanatorii .item {
        margin-bottom: 15px;
    }
    .sanatorii h2,
    .page-list h2 {
        margin-bottom: 10px;
    }
    .sanatorii .image,
    .page-list .image {
        float: none;
        margin-bottom: 10px;
    }
    .sanatorii .image a,
    .sanatorii .image a img,
    .page-list .image a,
    .page-list .image a img{
        max-width: 100%;
    }
    
}
@media (max-width: 460px) {
    .carousel {
      height: 150px;
    }
    /* Declare heights because of positioning of img element */
    .carousel .item {
      height: 150px;
    }
    header form input[name="14_field"],
    header form input[name="15_field"] {
        display: none;
    }
}
@media (min-width: 1300px) {
    .container {
        width: 1300px;
    }
}
.page-last .item {
    margin-bottom: 25px;
}
.page-last .item:last-child {
    margin-bottom: 0;
}
.page-last .item .title-block {
    font-size: 16px;
    margin: 5px 0;
}
.page-last .item .date-block {
    text-align: right;
    font-size: 13px;
    color: #808080;
}
.widget-title {
    font-weight: bold;
}
