/* фиксы nav, main, additional, footer для мобильных устройств */
#mobile-menu {
    position: absolute;
    display: none;
    top:2px;
    right:10px;
    width:24px;
    height:28px;
    font-size:28px;
    color:#fff;
}
@media only screen and (max-width: 775px) {
    .info-content {
        width:280px;
    }
    .info-content2 {
        width:270px;
        float:right;
    }
    #slider .item .slide-text {
        width:90%;
        left:0;
        margin:0 5%;
    }
    #slider .item .slide-text h1 {
        font-size:1.5em;
    }
    #slider .item .slide-text h2 {
        font-size:1.35em;
    }
    #slider .item .slide-text h3 {
        font-size:1em;
    }
    #main-menu li {
        border-top:1px solid #363636;
    }
    #mobile-menu {
        display: block;
    }
    .information .info {
        display: none !important;
        font-size:2em !important;
    }
    #socials-share #info_m {
        display:inline-block !important;

    }
}
@media only screen and (max-width: 1000px) {
    #socials ul li {
        margin:14px 3px 0 0;
    }
    #socials a {
        text-align: center;
        font-size: 14px;
        width:28px;
        height:28px;
        line-height:28px;
        -webkit-border-radius:14px;
        -moz-border-radius:14px;
        border-radius:14px;
    }
    #main-menu li a {
        font-size: 1em;
        padding:0 5px;
    }

}


@media only screen and (max-width: 775px) and (orientation: portrait) {
    #contacts {
        height:180px;
        margin-top: -90px;
    }
    #contacts h1,#contacts h2 {
        font-size: 1em;
        margin:0.25em 0 0.25em;
    }
    #contacts p {
        font-size:1em;

    }
    #contacts .phone {
        font-size:1.1em;
        margin:5px 0;
    }
    #showForm {
        font-size:1.15em !important;
        margin: 7px 0 0 !important;
        padding: 0 14px !important;
        line-height: 2em !important;
    }
    .infoBlock .info {
        width:106px;
        height:30px;
        line-height: 30px !important;
    }
    header {
        display: block;
        height:41px;
        overflow: visible;
    }
    #logo {
        display: block;
        position: absolute;
        top:2px;
        left:15px;
        width:38px;
        margin:0;
        min-width:auto;
        height:55px;
        background: url(../images/logo-mob.png) no-repeat 0 0;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        z-index:3000;
    }
    #socials {
        display: block;
        width:100%;
        padding:0;
    }
    #socials ul li {
        margin:6px 3px 0 0;
    }
    #socials a {
        width:28px;
        height:28px;
        line-height:28px;
        -webkit-border-radius:14px;
        -moz-border-radius:14px;
        border-radius:14px;
    }
    nav {
        display:block;
        min-width:auto;
        min-height:auto;
    }
    .show {
        display: block !important;
    }
    .hide {
        display: none !important;
    }
    #main-menu {
        width:100%;
        z-index:6000;
    }
    #main-menu ul {
        width:100%;
        position:absolute;
        display:none;
        overflow: hidden;
        top:41px;
        z-index: 5000;
        background:#000;
    }
    #main-menu ul li {
        text-align:left;
        display: block;
        border-bottom:1px solid #000;
        float:none;
        margin:0;
    }
    #main-menu ul li a {
        padding:0 1em;
    }

    main {
        padding-bottom:120px !important;
    }
    footer {
        height:120px !important;
        margin: -120px auto 0 !important;
    }
    .footer-content {
        position: relative;
        z-index:3000;
        height:20px;
        line-height:20px;
        margin:0 auto;
        text-align: center;
        font-size:13px;
    }
    #additional {
        display: block;
        overflow: hidden;
        height:100px;
        min-height:auto;
        max-height: 100px;
    }
    #additional a {
        overflow: hidden;
        height:50px;
    }
    #additional a span {
        font-size:1em;
        line-height:1.5em;
    }
    #additional ul li {
        display:block;
        float:left;
        width:50%;
        min-width:160px;
        height:50px;
    }
    #additional ul li img {
        width:auto;
    }
    #additional div {
        background-position: center center !important;
        background-size: auto 100% !important;
    }
    #additional .authors {
        background-position: center center !important;
        background-size: 100% auto !important;
    }

    #slider .center-top {
        top:1.25em;
    }
    #slider .center-bottom {
        bottom:2.55em;
    }
    #slider .item a {
        font-size:1em;
        line-height: normal;
        margin:10px 0 0;
        padding:4px 8px;
        border:2px solid #000;
        -webkit-border-radius:8px;
        -moz-border-radius:8px;
        border-radius:8px;
    }
    #slider .slide-text {
        font-size:0.9em;
    }
}
@media only screen and (max-width: 775px) and (orientation: landscape) {
    #contacts {
        height:180px;
        top: 50%;
        margin-top:-90px;
    }
    #contacts h1 {
        margin:0.15em 0 0.15em;
    }
    #contacts h2 {
        font-size: 1em;
    }
    #contacts p {
        font-size:0.9em;
        margin:0;
    }
    #contacts .phone {
        font-size:1.1em;
        margin:0 0 0.5em;
    }
    #showForm {
        font-size:0.9em !important;
        margin: 1em 0 0 !important;
        padding: 0 10px !important;
        line-height: 2em !important;
        -webkit-border-radius: 7px !important;
        -moz-border-radius: 7px !important;
        border-radius: 7px !important;
    }
    header {
        display: block;
        height:41px;
        overflow: visible;
    }
    #logo {
        display: block;
        position: absolute;
        top:2px;
        left:15px;
        width:38px;
        margin:0;
        min-width:auto;
        height:55px;
        background: url(../images/logo-mob.png) no-repeat 0 0;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    #socials {
        display: block;
        width:100%;
        padding:0;
    }
    #socials ul {

    }
    #socials ul li {
        margin:6px 3px 0 0;
    }
    #socials a {
        width:28px;
        height:28px;
        line-height:28px;
        -webkit-border-radius:14px;
        -moz-border-radius:14px;
        border-radius:14px;
    }
    nav {
        display:block;
        min-width:auto;
        min-height:auto;
    }
    .show {
        display: block !important;
    }
    .hide {
        display: none !important;
    }
    #main-menu {
        width:100%;
    }
    #main-menu ul {
        width:100%;
        position:absolute;
        display:none;
        overflow: hidden;
        top:41px;
        z-index: 5000;
        background:#000;
    }
    #main-menu ul li {
        text-align:left;
        display: block;
        border-bottom:1px solid #000;
        float:none;
        margin:0;
    }
    #main-menu ul li a {
        padding:0 1em;
    }
    main {
        padding-bottom:70px;
    }
    main article {
        padding:20px 15px;
    }
    #additional {
        height:50px;
        min-height:auto;
    }
    #additional a {
        overflow: hidden;
        height:50px;
    }
    #additional a span {
        font-size:0.85em;
        line-height:1.5em;
    }
    #additional ul li {
        width:25%;
        min-width:100px;
        height:50px;
    }
    #additional ul li img {
        width:auto;
        height:50%;
    }
    .spil div, .authors div, .materials div, .contacts div {
        background-position: center center;
        background-size: auto 100%;
    }
    .authors div {
        background-size: 100% auto;
    }
    footer {
        height:70px;
        margin: -70px auto 0;
    }
    .footer-content {
        max-width:1200px;
        line-height:20px;
        margin:0 auto;
        text-align: center;
        font-size:13px;
        line-height: 20px;
    }
    #slider .center-top {
        top:1.25em;
    }
    #slider .center-bottom {
        bottom:2.55em;
    }
    #slider .item a {
        margin:10px 0 0;
        border:2px solid #000;
        -webkit-border-radius:8px;
        -moz-border-radius:8px;
        border-radius:8px;
    }
    #slider .slide-text {
        font-size:0.9em;
    }
}
