@media
    only screen and (max-width: 639px) and (min-resolution: 2dppx),
    only screen and (max-width: 639px) and (-webkit-min-device-pixel-ratio: 2)
{
    #first-block p:last-child {
        margin-bottom: 20px !important;
    }
}

@media
    only screen and (max-width: 639px) and (resolution: 2dppx),
    only screen and (max-width: 639px) and (-webkit-device-pixel-ratio: 2)
{ 
    #header-n-first-block {
        background: url(../img/main_bg_mobile-2x.jpg) no-repeat !important;
        background-size: cover !important;
    }
    
}

@media
    only screen and (max-width: 639px) and (resolution: 3dppx),
    only screen and (max-width: 639px) and (-webkit-device-pixel-ratio: 3)
{ 
    #header-n-first-block {
        background: url(../img/main_bg_mobile-3x.jpg) no-repeat !important;
        background-size: cover !important;
    }
}

@media screen and (max-width: 639px) {

    #header-n-first-block {
        background: url(../img/main_bg_mobile.jpg) no-repeat;
        background-position: top center;
        background-size: auto 100%;
    }
    #first-block {
        padding: 20px 0;
    }
    #first-block p:first-child {
        font-size: 45px;
        line-height: 55px;
        font-family: 'RumRaisin';
    }
    #first-block p:last-child {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 40px;
        font-family: 'RumRaisin';
    }
        
    #second-block > div > div:first-child {
        margin: 30px auto;
    }
    #second-block .grid-container .grid-x .cell,
    #second-block .twitter-block
    {
        padding-left: 20px;
        padding-right: 20px;
    }
    #second-block .twitter-block {
        margin: 30px -.625rem;
    }
    #second-block > div > div > div:first-child img {
        width: 50px;
        margin-left: -50px;
    }
    #second-block > div > div > div:first-child span {
        font-size: 25px;
        line-height: 25px;
        margin-left: 10px;
    }

    #fourth-block > div > div > div > div:first-child img {
        width: 80%;
    }

    #fourth-block .price-white-block table#grooming-course {
        margin-top: 25px;
    }

    #fourth-block > div > div > div > div:nth-child(2) > div:first-child > div:nth-child(2) > div,
    #fourth-block > div > div > div > div:nth-child(2) > div:first-child > div:nth-child(2) > div .price-white-block > div:nth-child(2),
    #fourth-block > div > div > div > div:nth-child(2) > div:nth-child(2) > div:nth-child(2) > div,
    #fourth-block > div > div > div > div:nth-child(2) > div:nth-child(2) > div:nth-child(2) > div .price-table,
    #fourth-block > div > div > div > div:nth-child(2) > div:last-child > div:nth-child(2) > div,
    #fourth-block > div > div > div > div:nth-child(2) > div:last-child > div:nth-child(2) > div .price-table
    {
        margin-left: -15px;
        margin-right: -15px;
    }

    .price-details {
        padding-left: .625rem;
    }
}

@media screen and (min-width: 640px) and (max-width: 767px) {

}
@media screen and (min-width: 640px) and (max-width: 1023px) {
    #second-block > div > div > div:first-child img {
        width: 100px;
        margin-left: -100px;
    }
    #second-block > div > div > div:first-child span {
        font-size: 45px;
        line-height: 45px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    #fourth-block > div > div > div > div:first-child img {
        width: 50%;
    }
}
@media screen and (max-width: 1023px) {
    p {
        word-wrap: break-word;
    }
    #first-block::before {
        display: none;
    }

    #second-block > div > div > div:nth-child(3) > div:first-child {
        padding-bottom: 30px;
    }
    #second-block > div > div > div:nth-child(3) > div:last-child > p:first-child {
        margin-top: 30px;
    }

    #gallery0-title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    #fourth-block {
        background: url(../img/fourth-block/bg.jpg) no-repeat center/cover;
        padding-top: 40px;
    }

}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    #fourth-block {
        background: url(../img/fourth-block/paw_top.png) no-repeat top left/243px 174px, url(../img/fourth-block/paw_bottom.png) no-repeat bottom right/199px 225px, url(../img/fourth-block/bg.jpg) no-repeat center/cover;
    }
    #fourth-block > div > div > div > div:nth-child(2) > div:first-child > div:first-child img {
        height: 80px;
    }
}
@media screen and (min-width: 1024px) and (max-width: 1439px) {

}
@media screen and (min-width: 1440px) and (max-width: 1900px) {
    #fourth-block {
        background: url(../img/fourth-block/paw_top.png) no-repeat top left/324px 231px, url(../img/fourth-block/paw_bottom.png) no-repeat bottom right/266px 301px , url(../img/fourth-block/bg.jpg) no-repeat center/cover;
    }
    #fourth-block > div > div > div > div:nth-child(2) > div:first-child > div:first-child img {
        height: 90px;
    }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
}

@media screen and (max-width: 767px) {

}

@media screen and (min-width: 915px) {
}

@media screen and (min-width: 1024px) {
}

@media screen and (min-width: 640px) and (max-width: 699px) {

    #twitter-br {
        display: block;
    }

}

@media screen and (min-width: 700px) and (max-width: 739px) {

}

@media screen and (min-width: 740px) and (max-width: 767px) {

}

@media screen and (min-width: 768px) and (max-width: 799px) {

}

@media screen and (min-width: 800px) and (max-width: 849px) {

}

@media screen and (min-width: 850px) and (max-width: 899px) {

}

@media screen and (min-width: 900px) and (max-width: 1023px) {

}

@media screen and (min-width: 1024px) and (max-width: 1149px) {
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) > p:first-child {
        font-size: 45px;
        line-height: 45px;
    }
}

@media screen and (min-width: 1200px) {
    #second-block {
        background: #f6f6f8 url(../img/second-block/main_bg.jpg) no-repeat center top/100%;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1500px) {
    #second-block > div > div > div:first-child img {
        margin-left: -82px;
        width: 82px;
    }
    #second-block > div > div > div:first-child span {
        font-size: 35px;
        line-height: 35px;
    }
    #second-block > div > div > div:nth-child(3) > div:first-child img {
        width: 280px;
        margin-left: 50px;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) {
        width: 32%;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) > p:first-child {
        font-size: 30px;
        line-height: 30px;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) > p:nth-child(3) {
        font-size: 15px;
        line-height: 15px;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) {
        padding: 0;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) > p:last-child {
        font-size: 12px;
    }
    #second-block > div > div > div:nth-child(3) > div:last-child > p {
        font-size: 12px;
    }
}

@media screen and (max-width: 1280px) {

}

@media screen and (min-width: 1150px) and (max-width: 1279px) {

}

@media screen and (min-width: 1280px) and (max-width: 1365px) {

}

@media screen and (min-width: 1366px) and (max-width: 1535px){

}

@media screen and (min-width: 1366px){

}

@media screen and (max-width: 1440px){
    #medium-up-menu {
        padding: 20px 0;
    }
    #medium-up-menu .menu a {
        font-size: 24px;
        line-height: 24px;
    }
    #medium-up-menu a.home > img {
        width: 150px;
    }

    /* #header-n-first-block {
        background-image: url(../img/main_bg.jpg);
    } */
}

@media screen and (min-width: 1441px){
    #medium-up-menu a.home > img {
        width: 200px;
    }
}

@media screen and (min-width: 1536px){

}

@media screen and (min-width: 1501px) and (max-width: 1650px) {
    #second-block > div > div > div:first-child img {
        margin-left: -90px;
        width: 90px;
    }
    #second-block > div > div > div:first-child span {
        font-size: 38px;
        line-height: 38px;
    }
    #second-block > div > div > div:nth-child(3) > div:first-child img {
        width: 150px;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) {
        width: 35%;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) > p:first-child {
        font-size: 35px;
        line-height: 35px;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) > p:nth-child(3) {
        font-size: 15px;
        line-height: 15px;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) > p:last-child {
        font-size: 12px;
    }
    #second-block > div > div > div:nth-child(3) > div:last-child > p {
        font-size: 12px;
    }
}

@media screen and (min-width: 1651px) and (max-width: 1800px) {
    #second-block > div > div > div:first-child img {
        margin-left: -100px;
        width: 100px;
    }
    #second-block > div > div > div:first-child span {
        font-size: 40px;
        line-height: 40px;
    }
    #second-block > div > div > div:nth-child(3) > div:first-child img {
        width: 180px;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) {
        width: 40%;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) > p:first-child {
        font-size: 40px;
        line-height: 40px;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) > p:nth-child(3) {
        font-size: 15px;
        line-height: 15px;
    }
    #second-block > div > div > div:nth-child(3) > div:nth-child(2) > p:last-child {
        font-size: 13px;
    }
    #second-block > div > div > div:nth-child(3) > div:last-child > p {
        font-size: 13px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1900px){
    #fourth-block > div > div > div > div:first-child img {
        width: 40%;
    }
}

@media screen and (min-width: 1921px){

}

@media screen and (max-width: 599px){

    #google-calendar {
        width: 100%!important;
    }

}

@media screen and (max-width: 899px){

    #google-calendar {
        margin-bottom: 20px;
        width: 550px;
        height: 300px!important;
    }

}

@media screen and (min-width: 900px){

    #google-calendar {
        margin-right: 20px;
        height: 270px!important;
    }
    .twitter-timeline {
        width: auto!important;
    }

}

@media screen and (max-height: 460px){
    #header-n-first-block {
        min-height: 460px;
    }
    #medium-up-menu {
        padding: 5px 0;
    }
    #first-block p:last-child {
        margin-bottom: 0px;
    }
}

img {
    max-width: 80%;!important
}

.info-image {
    margin-bottom:30px;
}

@media screen and (min-width: 1024px){
    .info-image {
        margin-bottom:0px;
        margin-top:30px;
    }
}