/** Смартфон (портретная и альбомная ориентация) **/
@media
only screen and (min-device-width : 320px)
and (max-device-width : 480px)
{
/* CSS Styles */
}

/** Смартфоны (альбомная ориентация) **/
@media only screen
and (min-width : 321px)
{
/* CSS Styles */
}

/** Смартфоны (портретная ориентация) **/
@media only screen
and (max-width : 320px)
{
    .header-bottom {
        display: block;
    }
    
    .header-bottom-menu li {
        float: none;
        clear: both;
    }
    
    .header-bottom-menu a {
        border: none;
    }
    
    .header-bottom-menu a:hover {
        background: #49585e;
    }
    
    .dropdown-menu {
        position: static;
        float: none;
    }
    
    .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
        background: #eee;
        color: #444;
    }
    
    .dropdown-menu > li > a {
        padding: 5px 10px;
    }
    
    .padding {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .header-bottom {
        margin: 10px 15px;
    }
    
    .display-none {
        display: none;
    }
    
    .description {
        text-align: center;
    }
    
    .slide-block {
        margin: 0 0 10px 0;
    }
    
    .carousel-control {
        width: 15%;
    }
    
    .images-wrap {
        margin: 0 10px;
    }
    
    .main-text {
        padding: 0;
    }
    
    footer {
        margin: 0 30px;
    }
}

/** iPad (портретная и альбомная ориентация) **/
@media only screen
and (min-device-width : 768px) 
and (max-device-width : 1024px)
{
/* CSS Styles */
}

/** iPad (альбомная ориентация) **/
@media only screen
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape)
{
/* CSS Styles */
}

/** iPad (портретная ориентация) **/
@media only screen
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
{
/* CSS Styles */
}

/** Настольные компьютеры и ноутбуки **/
@media only screen
and (min-width : 1224px)
{
/* CSS Styles */
}

/** Большие экраны **/
@media only screen
and (min-width : 1824px)
{
/* CSS Styles */
}

/** iPhone 4 **/
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5)
{
    .header-bottom {
        display: block;
    }
    
    .header-bottom-menu li {
        float: none;
        clear: both;
    }
    
    .header-bottom-menu a {
        border: none; 
    } 
    
    .header-bottom-menu a:hover {
        background: #49585e;
    }
    
    .dropdown-menu {
        position: static;
        float: none;
    } 
    
    .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
        background: #eee;
        color: #444;
    }
    
    .dropdown-menu > li > a {
        padding: 5px 10px;
    }
    
    .padding {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .header-bottom {
        margin: 10px 15px;
    }
    
    .display-none {
        display: none;
    }
    
    .description {
        text-align: center;
    }
    
    .slide-block {
        margin: 0 0 10px 0;
    }
    
    .carousel-control {
        width: 15%;
    }
    
    .main-text {
        padding: 0;
    }
    
    .images-wrap {
        margin: 0 10px;
    }
    
    footer {
        margin: 0 30px;
    }
}