/*
Theme Name: Custom
*/

.container {
    min-width: 400px !important;
}

#banner-1,
#banner-2,
#banner-3 {
    min-width: 400px;
}

.socials:after {
    content: '';
    display: block;
    clear: both;
}

.socials ul {
    margin: 0;
    float: left;
}

.socials li {
    padding: 0;
    transition: transform 0.2s ease-in;
    -moz-transition: transform 0.2s ease-in;
    -webkit-transition: transform 0.2s ease-in;
    -o-transition: transform 0.2s ease-in;
}

.socials ul:last-child li:last-child {
    margin-right: 0 !important;
}

.socials .icon-vk {
    background: url('./images/socials/vk.png') center center no-repeat;
    background-size: contain;
}

.socials .icon-facebook {
    background: url('./images/socials/facebook.png') center center no-repeat;
    background-size: contain;
}

.socials .icon-odnoklassniki {
    background: url('./images/socials/odnokl.png') center center no-repeat;
    background-size: contain;
}

.socials .icon-instagram {
    background: url('./images/socials/instagram.png') center center no-repeat;
    background-size: contain;
}

.socials .icon-twitter {
    background: url('./images/socials/twitter.png') center center no-repeat;
    background-size: contain;
}

.socials .icon-envelope {
    background: url('./images/socials/sms.png') center center no-repeat;
    background-size: contain;
}

.highlight-strong strong {
    background-color: #FFED00;
    padding: 4px 4px;
    white-space: nowrap;
    font-weight: normal;
}

.bullet {
    width: 18px;
    height: 18px;
    background-color: #00A0E3;
    border-radius: 50%;
    display: inline-block;
}

.tick {
    background: url('./images/tick.png') no-repeat center center;
    width: 27px;
    height: 25px;
    display: inline-block;
}

.pl20 {
    padding-left: 20px;
}

.ml30 {
    margin-left: 30px;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

#heading {
    font-size: 17.17pt;
    margin-top: 20px;
    margin-bottom: 10px;
}

#heading .contact-phone a[href^=tel] {
    text-decoration: none !important;
    color: #727271 !important;
    font-size: 20.2pt;
    background: url('./images/phone-icon.png') left center no-repeat;
    padding-left: 30px;
}

#banner-1 {
    background: url('./images/banner-1.jpg') no-repeat center center;
    background-size: 100% auto;
    height: 549px;
}

#banner-1 .balloon {
    background: url('./images/b1-balloon.png') no-repeat left center;
    min-height: 245px;
    max-width: 692px;
    margin-top: 90px;
    margin-bottom: 10px;
}

#banner-1 .balloon h1 {
    padding: 40px;
}

#banner-1 .socials {
    margin-bottom: 10px;
}

#banner-1 .socials li {
    width: 88px;
    height: 88px;
    margin-right: 26px;
}

.socials li:hover {
    transform: scale(1.34);
}

#difficulties-list .media {
    font-size: 16.66pt;
    display: table-row;
}

#difficulties-list .media > div {
    padding-top: 15px;
    padding-bottom: 15px;
}

#difficulties-list .media-body {
    padding-left: 10px;
}

#banner-2 {
    background: url('./images/banner-2.jpg') no-repeat center center;
    background-size: 100% auto;
    color: #fff;
    font-size: 8.97pt;
}

#banner-2 .row > div {
    position: relative;
    height: 646px;
}

#banner-2 .row > div > * {
    position: absolute;
}

#banner-2 .glyphicon-chevron-right {
    font-size: 38px;
    top: 300px;
    right: -17px;
}

#banner-2 .balloon {
    background-color: #3BAAC5;
    border-radius: 5px;
    padding: 10px;
    left: 50%;
    top: 63%;
    width: 238px;
    margin-left: -119px;
}

#banner-2 .balloon span {
    background: url('./images/b2-balloon-angle.png') no-repeat center center;
    width: 29px;
    height: 9px;
    position: absolute;
    top: -9px;
    right: 80px;
}

#banner-2 .step-1 {
    background: url('./images/b2-wifi.png') no-repeat center 80px;
}

#banner-2 .step-2 {
    background: url('./images/b2-phone.png') no-repeat center 200px;
}

#banner-2 .step-3 ul {
    width: 240px;
    top: 170px;
    left: 50%;
    margin-left: -120px;
}

#banner-2 .step-3 li {
    margin-bottom: 25px;
}

#banner-2 .step-3 li > div {
    padding-left: 95px;
    height: 80px;
    display: table-cell;
    vertical-align: middle;
}

#banner-2 .thumb-up {
    background: url('./images/b2-thumb-up.png') no-repeat left center;
}

#banner-2 .doc {
    background: url('./images/b2-doc.png') no-repeat 15px center;
}

#banner-2 .browser {
    background: url('./images/b2-browser.png') no-repeat left center;
}

#puzzle {
    max-width: 960px;
    margin: 0 auto;
}

#puzzle:after {
    display: block;
    clear: both;
    content: '';
}

#puzzle > div {
    height: 260px;
    position: relative;
    overflow: hidden;
}

#puzzle > div > div {
    position: absolute;
    left: 0;
}

#puzzle .title {
    background-color: #fff;
    bottom: 20px;
    border-radius: 0 15px 15px 0;
    padding: 2px 15px 2px 10px;
    font-size: 15.66pt;
    transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
}

#puzzle .bullet {
    margin-right: 2px;
    height: 14px;
    width: 14px;
}

#puzzle .descr {
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    border: 1px solid #008DD2;
    padding: 40px 18px;
    line-height: 18px;
    background-color: #FFF;
    background-color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
}

#puzzle > div:hover .descr {
    display: table-cell;
    opacity: 1;
}

#puzzle > div:hover .title {
    opacity: 0;
}

#puzzle .detail-1 {
    background: url('./images/puzzle/1.jpg') no-repeat left top;
    width: 39.48%;
    margin: 0 1.05% 10px 0;
}

#puzzle .detail-2 {
    background: url('./images/puzzle/2.jpg') no-repeat right top;
    width: 30.37%;
    margin-bottom: 10px;
}

#puzzle .detail-3 {
    background: url('./images/puzzle/3.jpg') no-repeat left bottom;
    width: 33.4%;
    margin-right: 1.05%;
}

#puzzle .detail-4 {
    background: url('./images/puzzle/4.jpg') no-repeat right bottom;
    width: 36.44%;
}

#puzzle .detail-5 {
    background: url('./images/puzzle/5.jpg') no-repeat right top;
    height: 530px !important;
    width: 28%;
    margin-left: 1.05%;
}

#bonuses-list .bonus > div:first-child {
    font-size: 8.97pt;
    height: 240px;
    padding-top: 160px;
    margin-bottom: 15px;
}

#bonuses-list .bonus-1 > div:first-child {
    background: url('./images/bonus_router.png') top center no-repeat;
}

#bonuses-list .bonus-2 > div:first-child {
    background: url('./images/bonus_seo.png') top center no-repeat;
}

#bonuses-list .bonus-3 > div:first-child {
    background: url('./images/bonus_cert.png') top center no-repeat;
}

#bonuses-list .bonus-4 > div:first-child {
    background: url('./images/bonus_cab.png') top center no-repeat;
}

#bonuses-list .modal-dialog {
    margin-top: 10%;
}

#bonuses-list .modal-content {
    border: 3px solid #008DD2;
    border-radius: 10px;
    padding: 20px;
}

#bonuses-list .modal .close {
    background-color: #fff;
    border-radius: 50%;
    color: #008DD2;
    border: 3px solid #008DD2;
    font-size: 38px;
    width: 40px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    display: inline-block;
    opacity: 1;
    float: none;
    position: absolute;
    right: -20px;
    top: -20px;
    z-index: 2;
    font-weight: 300;
}

#bonuses-list .modal .icon {
    display: inline-block;
}

#bonuses-list .bonus-1 .modal .icon {
    background: url('./images/router.jpg') center center no-repeat;
    width: 423px;
    height: 369px;
}

#bonuses-list .bonus-2 .modal .icon {
    background: url('./images/socials.jpg') center center no-repeat;
    width: 187px;
    height: 355px;
}

#bonuses-list .bonus-3 .modal .icon {
    background: url('./images/secure-doc.jpg') center center no-repeat;
    width: 250px;
    height: 330px;
}

#bonuses-list .bonus-4 .modal .icon {
    background: url('./images/notebook.jpg') center center no-repeat;
    width: 450px;
    height: 290px;
}

#bonuses-list .media-body {
    font-size: 9pt;
    padding-left: 30px;
}

#bonuses-list .media-body h4 {
    font-size: 21pt;
    margin-bottom: 5px;
    color: #449FBC;
}
#bonuses-list .media-body h5 {
    color: #449FBC;
    font-size: 16pt;
    margin-bottom: 20px;
}

#effects-list .media {
    font-size: 16.79pt;
    display: table-row;
}

#effects-list .media > div {
    padding-top: 15px;
    padding-bottom: 15px;
}

#effects-list .media-body {
    padding-left: 10px;
}

#protect {
    background: url('./images/protect.png') no-repeat top center;
    padding-top: 210px;
}

#banner-3 {
    background: url('./images/banner-3.jpg') no-repeat center center;
    background-size: 100% auto;
    height: 456px;
    padding-top: 120px;
}

#banner-3 .socials {
    width: 916px;
    margin: 0 auto;
}

#banner-3 .socials li {
    position: relative;
    width: 100px;
    height: 100px;
    margin-right: 60px;
}

#banner-3 .socials li:hover {
    transform: scale(1.5);
}

#banner-3 .socials li div {
    position: absolute;
    left: 50%;
    bottom: -40px;
    color: #fff;
    text-align: center;
    font-size: 18.85pt;
    width: 200%;
    margin-left: -100%;
    white-space: nowrap;
}

.partners-list div {
    line-height: 150px;
    height: 150px;
}

.partners-list img {
    max-width: 200px;
    max-height: 150px;
    opacity: 0.7;
    transition: opacity 0.3s ease-out !important;
    -moz-transition: opacity 0.3s ease-out !important;
    -webkit-transition: opacity 0.3s ease-out !important;
    -o-transition: opacity 0.3s ease-out !important;
}

.partner img:hover {
    opacity: 1;
}

#footer {
    background-color: #aaa;
    color: #fff;
    margin-top: 30px;
    font-size: 17.17pt;
    padding: 20px 0;
    position: relative;
}

#footer .contact-phone {
    font-size: 20pt;
}

#footer a {
    color: #fff;
    font-size: 15.55pt;
}

#studio {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin-top: -12px;
    text-align: center;
}

#order-modal small {
    font-size: 0.8em;
    opacity: 0.6;
}

#order-modal .title + br {
    display: none;
}

#order-modal .wpcf7-response-output {
    margin: 7px 0;
    border-radius: 5px;
}

.live-edit-area .live-edit-button,
.live-edit-area .live-edit-link {
    font-size: 13px !important;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
    color: #000 !important;
    padding: 5px 7px !important;
}

@media (max-width: 1439px) {
    #banner-1,
    #banner-2,
    #banner-3 {
        background-size: auto auto;
    }
}

@media (max-width: 991px) {
    #banner-2 .step-3 ul {
        margin-left: 0;
        left: auto;
        right: 5px;
        width: 80%;
    }

    #banner-2 .step-3 li > div {
        padding-left: 70px;
        height: 50px;
        background-size: contain;
    }

    #bonuses-list .cert,
    #bonuses-list .cab {
        margin-top: 20px;
    }

    #bonuses-list .bonus > div:first-child {
        height: 205px;
    }

    #bonuses-list .media-left {
        display: none;
    }

    #banner-3 {
        padding-top: 130px;
    }

    #banner-3 .socials {
        width: 694px;
    }

    #banner-3 .socials li {
        position: relative;
        width: 88px;
        height: 88px;
        margin-right: 30px;
    }

    #banner-3 .socials li div {
        font-size: 15pt;
    }
}

@media (max-width: 767px) {
    .socials {
        width: 324px;
        margin: 0 auto;
    }

    .socials ul {
        float: none;
    }

    .socials ul:first-child {
        margin-bottom: 15px;
    }

    .socials ul li {
        margin-right: 30px;
    }

    .socials ul li:last-child {
        margin-right: 0 !important;
    }

    #heading .contact-phone {
        margin-top: 20px;
    }

    #banner-1 .balloon {
        background: none;
        min-width: 100%;
        margin-top: 30px;
    }

    #banner-1 .balloon h1 {
        background: #FFED00;
    }

    #difficulties-list .media,
    #difficulties-list .media-body{
        width: auto;
        display: block;
    }
    #difficulties-list .media-left {
        display: none;
    }

    #banner-2 .glyphicon-chevron-right {
        font-size: 28px;
        top: 300px;
        right: -10px;
    }

    #banner-2 .step-1 {
        background-size: contain;
        background-position: left 30%;
    }

    #banner-2 .step-3 ul {
        margin-left: 0;
        left: auto;
        right: 5px;
        width: 80%;
    }

    #banner-2 .step-3 li > div {
        background: none;
        padding-left: 0;
    }

    #banner-2 .balloon{
        width: 90%;
        left: 5%;
        margin-left: 0;
    }

    #banner-2 .balloon span {
        right: 20%;
    }

    #puzzle .title {
        font-size: 13pt;
    }

    #puzzle .bullet {
        display: none;
    }

    #bonuses-list .bonus > div:first-child {
        height: auto;
        margin-top: 20px;
    }

    #bonuses-list .row > div:first-child .bonus > div:first-child {
        margin-top: 0;
    }

    #effects-list .media,
    #effects-list .media-body{
        width: auto;
        display: block;
    }
    #effects-list .media-left {
        display: none;
    }

    #banner-3 {
        padding-top: 80px;
    }

    #banner-3 .socials {
         width: 332px;
     }

    #banner-3 .socials ul:first-child {
        margin-bottom: 80px;
    }

    #banner-3 .socials li div {
        font-size: 13pt;
    }

    #banner-3 .socials li:hover {
        transform: scale(1.3);
    }

    #footer .contacts {
        text-align: center;
    }

    #studio {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 500px) {
    #banner-1 .balloon {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #banner-1 .balloon h1 {
        padding: 30px;
    }

    #banner-2 .step-2 {
        background-size: 60%;
        background-position: center 40%;
    }

    .partners-list img {
        max-width: 150px;
    }

    #footer .contact-phone {
        margin-top: 10px;
    }
}