/*
Theme Name: MService Kindergarten v2
Theme URI: http://msonline.ru/
Author: Shamil Pirumov
Author URI: http://prmv.ru/
Description: Шаблон "Детский сад" (разработан специально для ООО "МСервис", г.Минусинск).
Version: 0.16
*/


/* MAIN
-------------------------------------------------- */
body {
    background: #fff;
    border: 0;
    font: 16px 'Roboto', Arial, Helvetica, sans-serif;
    color: #5e5e5e;
    line-height: 23px;
    min-width: 320px;
}
header {
/*    padding-top: 40px;
    padding-bottom: 45px;*/
    text-align: center;
}
.logo_wrapper{
    padding: 40px 0px 30px 0px;
}
.logo {
    display: inline-block;
}
.container {
    position: relative;
    min-width: 320px;
}
.top_content{
    padding-bottom: 40px;
}
.main {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 20px 0px 40px 0px;
}
.top_wrapper {
    position: relative;
}

.top_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sky1 {
    width: 100%;
    height: 846px;
    display: block;
}

.sky2 {
    width: 100%;
    height: 256px;
    display: block;
}

.grass1 {
    width: 100%;
    height: 2000px;
    background: url(img/grass1.jpg) center top repeat-x #4d7f00;
}

.sun1 {
    width: 401px;
    height: 305px;
    background: url(img/sun1.png) right top no-repeat;
    position: absolute;
    right: 50px;
    top: 20px;
}

.green1 {
    width: 491px;
    height: 347px;
    background: url(img/green1.png) right top no-repeat;
    position: absolute;
    right: 0px;
    top: 0px;
}
.snail1_wrapper {
    margin-top: 10px;
    position: relative;
    text-align: center;
    min-height: 120px;
}

.not-front .snail1_wrapper {
    margin-top: 0;
}

.snail1_wrapper img {
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.not-front .snail1_wrapper img {
    width: 380px;
}

.snail1_wrapper .tree1 {
    position: absolute;
    width: 100%;
    height: 100%;
}

.snail1_wrapper .snail1 {
    position: relative;
}
.wave1{
    -webkit-animation: wave-animation1 8.7s infinite linear;
    -moz-animation: wave-animation1 8.7s infinite linear;
    -o-animation: wave-animation1 8.7s infinite linear;
    animation: wave-animation1 8.7s infinite linear;
    background: url(img/wave1.png) 0 0 repeat-x;
    height: 30px;
    position: absolute;
    width: 100%;
    z-index: 12;
    left: 0;
    bottom: 0;
}
@-webkit-keyframes wave-animation1 {
    0%   { background-position: 0 0; }
    100% { background-position: 1601px 0; }
}
@-moz-keyframes wave-animation1 {
    0%   { background-position: 0 0; }
    100% { background-position: 1601px 0; }
}
@-o-keyframes wave-animation1 {
    0%   { background-position: 0 0; }
    100% { background-position: 1601px 0; }
}
@keyframes wave-animation1 {
    0%   { background-position: 0 0; }
    100% { background-position: 1601px 0; }
}

#wp-megamenu-top_menu{
    width: 100%;
}
.sidebar-left, .sidebar-right{
    padding: 0px 20px 0px 20px;
}

.sidebar-left ul, .sidebar-right ul{
    padding: 0;
}

.sidebar-left li, .sidebar-right li, footer li{
    list-style-type: none;
}
.widget{
    padding-bottom: 20px;
}
.widgettitle{
    padding-left: 10px;
}
.wp-post-image{
    max-width: 100%;
    height: auto;
    padding: 10px 0px 10px 0px;
}
footer{
    min-height: 200px;
}

/* CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 300px;
    border: #fff solid 5px;
    border-radius: 10px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.75);
    bottom: 3rem;
    z-index: 9999;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
}
.carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    padding: 0;
}