/** Прочее **/

body {
    background: url('../images/background.png');
    background-color: #ebf7ff;
    font-family: comfortaa-regular, calibri;;
}

a,
input {
    transition: 0.7s;
    -webkit-transition: 0.7s;
    -moz-transition: 0.7s;
    -o-transition: 0.7s;
    text-decoration: none;
}

h1 {
    font-size: 30px;
    font-family: comfortaa-bold;
    border-bottom: 1px dashed #47596b;
    padding-bottom: 5px;
    margin-bottom: 30px;
}

h2 {
    font-size: 23px;
    font-family: comfortaa-bold;
    margin-bottom: 12px;
}


/** Шрифты **/

@font-face {
    font-family: comfortaa-regular;
    src: local("comfortaa-regular"), url(../fonts/comfortaa-regular.ttf);
}

@font-face {
    font-family: comfortaa-regular;
    src: local("comfortaa-regular"), url(../fonts/comfortaa-regular.eot);
    /* IE */
}

@font-face {
    font-family: comfortaa-bold;
    src: local("comfortaa-bold"), url(../fonts/comfortaa-bold.ttf);
}

@font-face {
    font-family: comfortaa-bold;
    src: local("comfortaa-bold"), url(../fonts/comfortaa-bold.eot);
}


/** Кнопка "Наверх" **/


/** Кнопка "Наверх" **/

#to-top-button {
    width: 72px;
    height: 72px;
    background-image: url(../images/icons/to-top.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 70px 70px;
    padding: 0px;
    position: fixed;
    right: 15px;
    bottom: 15px;
    cursor: pointer;
    display: none;
    border-radius: 50%;
}


/** **/


/** Всплывающее окно **/

.window-cover {
    background-color: rgba(0, 0, 0, 0.4);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 99999;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}

.window {
    background-color: #fff;
    border-radius: 3px;
    display: inline-block;
    left: 50%;
    opacity: 0;
    position: fixed;
    top: 40%;
    visibility: hidden;
    z-index: 999999;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}

.window .close_window {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 7px;
    right: 7px;
    cursor: pointer;
    background: url('../images/icons/close-window.png');
    background-size: 100% 100%;
    background-position: center center;
}


/** **/


/** Обратная связь **/

.feedback {
    width: 330px;
    border-radius: 3px;
    color: #47596b;
}

.feedback h3 {
    font-size: 25px;
    padding: 10px 15px;
    background: #ebf7ff;
    border-radius: 3px;
    font-family: comfortaa-bold;
}

.feedback form {
    padding: 15px 10px;
}

.feedback form p {
    margin-bottom: 3px;
}

.feedback form input {
    width: 100%;
    margin-bottom: 10px;
    border: 2px solid #47596b;
    border-radius: 3px;
    padding: 5px;
    font-family: comfortaa-regular;
    color: #47596b;
}

.feedback form input:last-child {
    margin-bottom: 0;
}

.feedback form .title {
    font-size: 14px;
}

.feedback form .title a {
    text-decoration: underline;
    color: #f0a85f;
}

.feedback form input.button {
    float: right;
    margin-top: 20px;
    margin-bottom: 15px;
    width: 200px;
    background: none;
}

.feedback form input.button:hover {
    border-color: #f0a85f;
    background: #f0a85f;
    color: #fff;
}


/** **/

#content {
    margin: 15px auto;
    padding: 15px 0;
    width: 1000px;
    background: rgba(244, 245, 253, 0.5);
    border-radius: 5px;
    border: 1px solid rgba(71, 89, 107, 0.2);
}


/** header **/

header#header {
    width: 100%;
    overflow: hidden;
    display: table;
}

header#header .logo {
    float: left;
    background: url(../images/logo.png);
    width: 220px;
    height: 190px;
    background-position: center center;
    margin-left: 40px;
}

header#header .contacts {
    float: right;
    text-align: right;
    margin-right: 40px;
    display: table-cell;
    vertical-align: middle;
    color: #6886a4;
}

header#header .contacts div {
    margin-bottom: 2px;
}

header#header .contacts div.location {
    font-size: 23px;
}

header#header .contacts div.tel {
    font-size: 40px;
}

header#header .contacts div.tel span {
    font-weight: bold;
    color: #47596b;
}

header#header .contacts a {
    padding: 5px 10px;
    display: table;
    margin: 10px auto;
    font-size: 17px;
    color: #6886a4;
    border: 2px solid #6886a4;
    border-radius: 4px;
    float: right;
}

header#header .contacts a:hover {
    border-color: #f0a85f;
    background: #f0a85f;
    color: #fff;
}


/** Навигация **/

.navigation {
    background: #f0a85f;
    padding: 5px;
    margin-top: 10px;
    overflow: hidden;
    font-size: 16px;
}

.navigation p.menu {
    float: left;
    color: #fff;
    padding: 8px;
}

.navigation nav {
    float: right;
    background: #fff;
    width: 920px;
}

.navigation nav ul {
    width: 100%;
    display: table;
}

.navigation nav li {
    text-align: center;
    display: table-cell;
    padding: 8px 0 6px;
    border-right:1px dashed #f0a85f;
}
.navigation nav li:last-child {
    border-right:none;
}
.navigation nav a {
    color: #47596b;
}

.navigation nav p {
    display: table-cell;
}

.navigation nav a p:after {
    display: block;
    content: "";
    height: 3px;
    width: 0%;
    transition: width .4s ease-in-out;
    background-color: #f0a85f;
}

.navigation nav a.hover p:after {
    display: block;
    content: "";
    height: 3px;
    width: 100%;
    background-color: #f0a85f;
}

.navigation nav a p:hover:after,
.navigation nav a p:focus:after {
    width: 100%;
}


/** Здесь начинается основная часть **/

#osn {
    width: 100%;
    margin-top: 30px;
    overflow: hidden;
}


/** Навигация слева **/

#osn #navigation-left {
    width: 31%;
    float: left;
    margin-bottom: 50px;
    padding-left: 20px;
}

#osn #navigation-left ul {}

#osn #navigation-left ul li {
    width: 100%;
    float: left;
    border-bottom: 1px dashed #47596b;
}

#osn #navigation-left ul li:last-child {
    border-bottom: 0px;
}

#osn #navigation-left ul li a {
    color: #47596b;
    float: left;
    padding: 4px 9px;
    margin: 10px 0;
    font-size: 18px;
}

#osn #navigation-left ul li a:hover {
    background-color: #f0a85f;
    color: #fff;
    border-radius: 4px;
}


/** Текстовая часть **/

#osn #main {
    float: right;
    width: 68%;
    color: #47596b;
    padding: 0 40px 0 15px;
}

#osn #main .text p {
    font-size: 17px;
}

#osn #main .text p {
    margin-bottom: 10px;
}

#osn #main .text ul {
    margin-bottom: 10px;
}

#osn #main .text ul li {
    margin-left: 18px;
}

.bold {
    font-family: comfortaa-bold;
}

.color {
    color: #f0a85f;
}


/** footer **/

footer#footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 12px;
    font-size: 14px;
    border-top: 1px dashed #47596b;
    color: #47596b;
}


/** Дополнительные стили для index.html **/

.popular .goods {
    overflow: hidden;
    margin-bottom: 30px;
}

.popular .goods a {
    color: #47596b;
}

.popular .goods .block {
    float: left;
    width: 32.2%;
    background: #fff;
    margin-right: 10px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px dashed #47596b;
}

.popular .goods a:nth-child(3n) .block {
    margin-right: 0;
}

.popular .goods .block img {
    height: 178px;
}

.popular .goods .block .title {
    padding: 15px 5px;
    margin-top: 5px;
    height: 80px;
    border-top: 1px dashed #47596b;
    font-size: 14px;
}
