/* 
    Author     : Garifov Timur
*/

body,
html {
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
}

/* Intro block */
.intro {
    display: table;
    width: 100%;
    height: 100%;
    text-align: center;
}

.intro .intro-body {
    display: inline-block;
    vertical-align: middle;
}

.intro-footer {
    height: 80px;
    /*width: 35%;*/
    line-height: 80px;
    margin-top: 10em;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    background: -moz-radial-gradient(center 20px, circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0) 100%);
    background: -webkit-radial-gradient(center 20px, circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0) 100%);
    background: -o-radial-gradient(center 20px, circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0) 100%);
    background: -ms-radial-gradient(center 20px, circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0) 100%);
    background: radial-gradient(center 20px, circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0) 100%);
}

/* About block */
.about {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
}

.about-container {
    position: absolute;
    top: 0;
    width: 100%;
}

.about-header {
    height: 15%;
    text-align: -webkit-left;
    text-align: left;
    padding-top: 3em;
}

.about-body {
    width: 100%;
    height: 85%;
    text-align: -webkit-left;
    text-align: left;
}

/* Showcase block */
.showcase {
    display: table;
    width: 100%;
    height: 100%;
    text-align: center;
}

.showcase-header {
    position: absolute;
    top: 0;
    padding-top: 3em;
    width: 100%;
    height: 45%;
}

.showcase-header-block-3 > ul {
    margin-top: 10px;
}

.showcase-header-block-3 > ul > li {
    margin-top: 3px;
}

.showcase-body {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 55%;
}

.showcase-item {
    zoom: 1;
    font-size: 13px;
    letter-spacing: normal;
    line-height: 1.3;
    word-spacing: normal;
    border: 1px solid transparent;
    border-radius: 3px;
    display: inline-block;
    margin: 0 17px 17px 0;
    position: relative;
    height: 250px;
    width: 250px;
    vertical-align: top;
    margin-top: 2em;
}

.showcase-item-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    border-radius: 3px 3px 0 0;
    height: 50%;
    width: 100%;
    overflow: hidden;
    position: relative;
    vertical-align: top;
    filter: alpha(opacity=93);
    -khtml-opacity: 0.93;
    -moz-opacity: 0.93;
    opacity: 0.93;
    -webkit-transition: opacity 0.1s;
    transition: opacity 0.1s;
    margin-top: 2em;
}

.showcase-item-info {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 70px;
    border-bottom: 1px solid transparent;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.showcase-item-info-header {
    text-align: left;
    display: block;
    padding: 5px 0px 0px 10px;
    height: 35px;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.showcase-item-info-footer {
    text-align: left;
    white-space: nowrap;
    display: block;
    height: 35px;
    padding: 6px 0px 0px 10px;
    font-size: 16px;
    font-weight: 600;
}

.showcase-item-info-footer .glyphicon {
    font-size: 12px !important;
}

.showcase-body-footnote {
    text-align: -webkit-left;
    text-align: left;
}

/* Contact block */
.contact {
    display: table;
    width: 100%;
    height: 35%;
    text-align: center;
    margin-top: 1em;
}

.contact-body {
    width: 100%;
    height: 30%;
}

.contact-body .container > .row {
    text-align: -webkit-left;
    text-align: left;
}

.contact-group {
    display: block;
    margin-top: 2em;
}

.contact-icon {
    display: block;
    padding: 5px 0px;
    white-space: nowrap;
    font-size: 16px;
}

.contact-icon > .glyphicon {
    margin-right: 1em;
}

.community-group {
    display: block;
    margin-top: 2em;
    margin-bottom: 2em;
    line-height: 5em;
}

.community-group > a > img {
    margin-right: 25px;
    -webkit-filter: brightness(50%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

.community-group > a > img:hover {
    -webkit-filter: brightness(100%);
}

/* Footer */
#footer {
    display: table;
    height: 10em;
}

/* Media block */
.media {
    margin-top: 1em !important;
}

/* Content sections */
.content-section {
    padding-top: 100px;
}

.content-footer {
    padding-top: 50px;
}

/* Icons */
.icons {
    display: inline-flex;
    display: -webkit-inline-box;
    vertical-align: middle;
    line-height: normal;   
}

/* Logo */
.xdevs-logo {
    width: 100px;
    height: 50px;
}

.xdevs-logo > img {
    width: 100px;
    height: 50px;
}

.platforms-logo {
    display: block;
    vertical-align: middle;
    line-height: 60px;
}

.platforms-logo > a > img {
    margin-right: 25px;
    -webkit-filter: brightness(70%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

.platforms-logo > a > img:hover {
    -webkit-filter: brightness(100%);
}

.windows-logo {
    height: 50px;
}

.android-logo {
    height: 50px;
}

.ios-logo {
    height: 50px;
}

.amazon-logo {
    height: 50px;
}

.vk-logo {
    height: 50px;
}

.ok-logo {
    height: 50px;
}

.mm-logo {
    height: 50px;
}

.fb-logo {
    height: 50px;
}

/* Special offer */
.special-offer-amount {
    font-size: 18px;
    font-weight: 600;
}

.showcase-item-sale {
    opacity: 1;
    background: url("../images/samples/sale_small.png") no-repeat 100% 0;
    display: block;
    position: absolute;
    right: -7px;
    bottom: 12px;
    padding-right: 97px;
    max-width: 97px;
}

.showcase-item-sale-content {
    background: url("../images/samples/sale_small.png") no-repeat 0 0;
    display: table;
    color: #fff;
    font-size: 13px;
    height: 50px;
    min-width: 97px;
    margin-right: -7px;
    padding: 0 0 3px 14px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.37),0 0 5px rgba(255,255,255,0.17);
}

.showcase-item-sale-wrapper {
    display: table-cell;
    vertical-align: middle;
    max-width: 75px;
}

.showcase-item-sale-text {
    font-size: 14px;
    font-weight: bold;
    line-height: normal;
    margin-left: 1px;
    white-space: nowrap;
}

/* Media queries */
@media(min-width: 768px) {
    .intro {
        height: 100%;
        padding: 0;
    }
    
    .about {
        height: 100%;
        padding: 0;
    }
    
    .showcase {
        height: 100%;
        padding: 0;
    }
    
    .content-section {
        padding-top: 250px;
    }
    
    .content-footer {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

@media(max-width: 1199px) {
    .about-header {
        padding-top: 0.2em;
        height: 20%;
    }
    
    .about-body {
        height: 80%;
    }
    
    .showcase {
        height: 1100px;
    }
    
    .showcase-header {
        padding-top: 5em;
    }
    
    .showcase-item {
        margin-top: 1em;
    }
    
    .showcase-body-footnote {
        text-align: -webkit-center;
        text-align: center;
    }
    
    .platforms-logo > a > img {
        margin-right: 15px;
    }
    
    .community-group > a > img {
        margin-right: 15px;
    }
    
    .windows-logo {
        height: 30px;
    }

    .android-logo {
        height: 30px;
    }

    .ios-logo {
        height: 30px;
    }
    
    .amazon-logo {
        height: 30px;
    }

    .vk-logo {
        height: 30px;
    }

    .ok-logo {
        height: 30px;
    }

    .mm-logo {
        height: 30px;
    }

    .fb-logo {
        height: 30px;
    }
}

@media(max-width: 768px) {
    .intro-footer {
        height: 60px;
        width: 100%;
        line-height: 60px;
        bottom: 0;
        left: 0;
    }
    
    .platforms-logo {
        line-height: 40px;
    }
    
    .platforms-logo > a > img {
        margin-right: 1px;
    }
    
    .community-group > a > img {
        margin-right: 1px;
    }
    
    .about-header {
        padding-top: 0.2em;
        height: 25%;
    }
    
    .about-body {
        height: 75%;
    }
    
    .showcase {
        height: 2200px;
    }
    
    .showcase-header {
        padding-top: 0;
        height: 40%;
    }
    
    .showcase-body {
        height: 60%;
    }
    
    .showcase-header-block-2 {
        margin-top: 2em;
    }
    
    .showcase-header-block-3 {
        margin-top: 2em;
    }
    
    .contact-icon {
        white-space: normal;
    }
}
