html, body, #main-wrap{
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.magicwall{
    width: 100%;
    height: 100%;
}
.magicwall li a{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}
.magicwall li.text .magicwall-wrap{
    font: normal normal 30px/30px "Open Sans", Arial, sans-serif;
    text-align: center;
    color: #fff;
    background: #cb60b3; /* Old browsers */
    background: -moz-linear-gradient(45deg, #cb60b3 0%, #ad1283 50%, #de47ac 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, #cb60b3 0%,#ad1283 50%,#de47ac 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, #cb60b3 0%,#ad1283 50%,#de47ac 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cb60b3', endColorstr='#de47ac',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.magicwall li.text .magicwall-wrap p{
    margin: 0;
}
.vcenter{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}
.vcenter:before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}
.vcenter > *{
    display: inline-block;
    vertical-align: middle;
}
.img-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align:center; /* Align center inline elements */
    font: 0/0 a;
    z-index:999999;
}
.img-container:before {
    content: ' ';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}
.img-container img {
    vertical-align: middle;
    display: inline-block;
    -webkit-box-shadow: 0px 0px 44px -8px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 44px -8px rgba(0,0,0,1);
    box-shadow: 0px 0px 44px -8px rgba(0,0,0,1);
}

/* Large desktops and laptops */
@media (min-width: 1200px) and (min-height: 729px){
    .img-container img {
        width:25%;
    }
    li.text p{
        font-size:38px;
        line-height: 44px;
    }
}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .img-container img {
        width:35%;
    }
    li.text p{
        font-size:32px;
    }
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
    .img-container img {
        width:45%;
    }
    li.text p{
        font-size:28px;
    }

}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    .img-container img {
        width:35%;
    }
    li.text p{
        font-size:24px;
    }
}
@media (max-width: 767px) and (orientation:landscape){
    .img-container img {
        width:25%;
    }
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
    .img-container img {
        width:45%;
    }
    li.text p{
        font-size:14px;
        line-height: 20px
    }
}
@media (min-width: 1200px){
    .img-container img {
        width:25%;
    }
    li.text p{
        font-size:24px;
        line-height: 44px;
    }
}
