/****** Подключаем Google Fonts ******/
/* Neucha */
@font-face {
    font-family: "Neucha";
    font-style: normal;
    font-weight: 400;
    src: local("Neucha"), url("https://fonts.gstatic.com/s/neucha/v8/5k6fnuYZnQL67Ljt7XV_Hg.woff2") format("woff2");
}
/* Roboto Slab */
@font-face {
    font-family: "Roboto Slab";
    font-style: normal;
    font-weight: 400;
    src: local("Roboto Slab Regular"), local("RobotoSlab-Regular"), url("https://fonts.gstatic.com/s/robotoslab/v6/y7lebkjgREBJK96VQi37ZhLwxQbNcFnuWuPk3YnjToI.woff2") format("woff2");
}
@font-face {
    font-family: "Roboto Slab";
    font-style: normal;
    font-weight: 700;
    src: local("Roboto Slab Bold"), local("RobotoSlab-Bold"), url("https://fonts.gstatic.com/s/robotoslab/v6/dazS1PrQQuCxC3iOAJFEJas1twL42OQU-XDphSlMXYM.woff2") format("woff2");
}
/* Roboto */
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    src: local("Roboto"), local("Roboto-Regular"), url("https://fonts.gstatic.com/s/roboto/v15/IC_Dw3HJuHH__1Luo8iRGA.woff2") format("woff2");
}
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 700;
    src: local("Roboto Bold"), local("Roboto-Bold"), url("https://fonts.gstatic.com/s/roboto/v15/isZ-wbCXNKAbnjo6_TwHTltXRa8TVwTICgirnJhmVJw.woff2") format("woff2");
}
@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 400;
    src: local("Roboto Italic"), local("Roboto-Italic"), url("https://fonts.gstatic.com/s/roboto/v15/OpXUqTo0UgQQhGj_SFdLWPesZW2xOQ-xsNqO47m55DA.woff2") format("woff2");
}
@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 700;
    src: local("Roboto Bold Italic"), local("Roboto-BoldItalic"), url("https://fonts.gstatic.com/s/roboto/v15/t6Nd4cfPRhZP44Q5QAjcCxLwxQbNcFnuWuPk3YnjToI.woff2") format("woff2");
}
/*********/

body{
    background-color: #D0D0D0; 
    background-image: url('../img/bg.png');
}
header {
    min-height: 50px;
    /*background-color: #4F70A3;*/
}
header h1 {
    /*font-family: "Ruslan Display", serif;*/
    font-family: "Neucha", serif;
}

.main-menu{
    margin-top: 5px;
    margin-bottom: 5px;    
}

.nav-pills>li>a {
    border-radius: 0;
    color: #000;
    font-weight: bold;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    color: #000;
    background-color: #DFDFDF;
}

/* стили для отзывов */
.panel-title{
    font-size: 12px;
}

.panel-body{
    font-family: "Roboto Slab";
}


footer{
    /*height: 200px;*/
   /* background: #EBEBEB;
    background: transparent linear-gradient(#EBEBEB, #C4C4C4) repeat scroll 0% 0%;*/
    border-top: 2px solid #D1D1D1;
}
footer .footer-1 {
    padding: 5px 15px 15px 15px;
}
footer .footer-1 h3{
    font-family: "Neucha", serif;
    /*font-weight: bold;*/
    letter-spacing: 2px;
}

/*картинка*/
footer .feedback-img{
   max-height: 175px;
   max-width: 367px;
   margin: 20px auto 0 auto; 
   /*background:  url('../img/cats.png') no-repeat;*/
   float: left;
}

/*счетчик*/
footer .counter{
   /*float: right;*/
   margin-top: 130px;
   width: 88px;
}

/*Яндекс Директ*/
footer .yandex-box{
    margin-top: 20px;
    margin-bottom: 15px;
}

/*модуль обратная связь*/

.feedback-two-row{
    margin-top: 5px;
}
.feedback-text textarea{
    resize: none;
}
.feedback-input{
    padding-right: 0;
}
.feedback-input-email{
    padding-right: 0;
    padding-left: 5px;
}
.feedback-input-submit{
    padding-left: 5px;
}
.feedback-btn{
    width: 100%;
}


/* Переписываем Bootstrap-Alert'ы потому что в joomla пока старые */
/*alert-success*/
div.alert.alert-message{
    color:#3c763d;
    background-color:#dff0d8;
    border-color:#d6e9c6
}
/*alert-warning*/
div.alert.alert-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}
/*alert-error*/
div.alert.alert-error{
    color:#a94442;
    background-color:#f2dede;
    border-color:#ebccd1
}
/*alert-info*/
div.alert.alert-notice{
    color:#31708f;
    background-color:#d9edf7;
    border-color:#bce8f1
}

/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
    header h1 {
        text-align: center;
        font-size: 28px;
    }
    footer .feedback-img{
       /* display: none;*/
       max-width: 0;
    }
    .feedback-input-submit{
        padding-top: 5px;
        padding-left: 15px;
    }
    .feedback-input-email{
        padding-right: 15px;
    }
    footer .counter{
        margin: 15px auto;
        float: none;
    }
    /*Яндекс Директ*/
    footer .yandex-box{
        margin: 15px 0 0 0;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
/*@media only screen and (min-width : 320px) {*/

/*}*/

/* Extra Small Devices, Phones */
/*@media only screen and (min-width : 480px) {*/

/*}*/

/* Small Devices, Tablets */
/*@media only screen and (min-width : 768px) {*/

/*}*/

/* Medium Devices, Desktops */
/*@media only screen and (min-width : 992px) {*/

/*}*/

 /* Large Devices, Wide Screens */
/*@media only screen and (min-width : 1200px) {*/

/*}*/

