/* Generated by Font Squirrel (http://www.fontsquirrel.com) on December 8, 2015 */
/*
@font-face {
    font-family: 'montserratbold';
    src: url('../fonts/montserrat_700-webfont.eot');
    src: url('../fonts/montserrat_700-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/montserrat_700-webfont.woff2') format('woff2'),
         url('../fonts/montserrat_700-webfont.woff') format('woff'),
         url('../fonts/montserrat_700-webfont.ttf') format('truetype'),
         url('../fonts/montserrat_700-webfont.svg#montserratbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'montserratregular';
    src: url('../fonts/montserrat_regular-webfont.eot');
    src: url('../fonts/montserrat_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/montserrat_regular-webfont.woff2') format('woff2'),
         url('../fonts/montserrat_regular-webfont.woff') format('woff'),
         url('../fonts/montserrat_regular-webfont.ttf') format('truetype'),
         url('../fonts/montserrat_regular-webfont.svg#montserratregular') format('svg');
    font-weight: 50;
    font-style: normal;

}*/

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}
.pull-right{
    float: right;
}
.pull-left{
    float: left;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
body{
    margin: 0px;
    padding: 0px;
    font-family: 'Raleway', Helvetica;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #556270;
    background-color: white;
    background-image:url("../img/strip.jpg");
    background-position: bottom;
    background-repeat: repeat-x;
    background-size: contain;
}
.content{
    background-image:url("../img/siteback.png");
    background-position: center bottom;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
}
@media (max-width: 1024px){
    body,.content{
        background-size: cover;
    }
}
/*********************App css*************************/
body *{
    box-sizing:border-box;
     -webkit-overflow-scrolling: touch;
}
.container{
    padding: 30px 30px 0;
    margin-top: 70px;
}
section{
    width: 100%;
    font-family: 'Raleway', Helvetica;
    font-weight: 600;
    font-weight: 50;
    text-align: center;
    max-width: 1024px;
    margin: auto;
    margin-bottom: 50px;
}
.logo{
    width: 42px;
}
section > header{
    font-size: 22px;
    padding-bottom: 10px;
    font-weight: 800;
    margin-top: 40px;
}
section p{
    font-size: 16px;
}
section h2{
    font-size: 28px;
    font-weight: 800;
}
section.pages{
    color: black;
    padding-bottom: 20px;
    margin-bottom: 120px;
    margin-top: 70px;
}
section.pages article{
    width: 31%;
    margin: 1%;
    padding: 1px;
    float: left;
    background: rgba(255,255,255,0.9);
    border-radius: 3px;
    -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -ms-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
  box-sizing:border-box;
}
section.pages article:hover{
    margin-top: 0.7%;
}
article header{
    font-size: 20px;
    margin: 24px;
    -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -ms-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}
article:hover header{
    font-weight: 800;
    font-size: 22px;
}
article ul, article li{
    margin: 0px;
    padding: 0px;
    list-style: none;
    color: black;
}

article .img{
    width: 64px;
    height: 64px;
    margin: 20px auto;
    display: block;
    background: black;
    -webkit-transition: background 0.15s ease-in-out;
  -moz-transition: background 0.15s ease-in-out;
  -ms-transition: background 0.15s ease-in-out;
  -o-transition: background 0.15s ease-in-out;
  transition: background 0.15s ease-in-out;
}
.devD{
    border-color: #00B8D4;
}
.devD .img{
    background: #00B8D4;
}
.badgeD{
    border-color: #FF6B6B;
}
.badgeD .img{
    background: #FF6B6B;
}
.chessD{
    border-color: #9DE85A;
}
.chessD .img{
    background: #9DE85A;
}
.img.dev{
    -webkit-mask-image: url(../img/dev.svg);
    -o-mask-image: url(../img/dev.svg);
    -moz-mask-image: url(../img/dev.svg);
    -ms-mask-image: url(../img/dev.svg);
    mask-image: url(../img/dev.svg);
}
.img.badge{
    -webkit-mask-image: url(../img/badge.svg);
    -o-mask-image: url(../img/badge.svg);
    -moz-mask-image: url(../img/badge.svg);
    -ms-mask-image: url(../img/badge.svg);
    mask-image: url(../img/badge.svg);
}
.img.chess{
    -webkit-mask-image: url(../img/chess.svg);
    -o-mask-image: url(../img/chess.svg);
    -moz-mask-image: url(../img/chess.svg);
    -ms-mask-image: url(../img/chess.svg);
    mask-image: url(../img/chess.svg);
}
article ul{
    padding: 20px;
}
article li{
    font-weight: 600;
    font-size: 18px;
    color: #556270;
    padding: 5px;
    border-bottom: 1px dotted #ccc;
}
.brand > div{
    float: left;
}
footer{
    bottom: 0px;
    padding: 30px 30px 26px;
    background: #556270;
    color: white;
    font-weight: 600;
    width: 100%;
}
footer a{
    vertical-align: middle;
}
footer a img{
    border-radius: 50%;
    -webkit-filter: grayscale(80%);
filter: grayscale(80%);
width: 24px;
margin-top: -2px;
opacity: 0.8;
}
nav a{
    color: black;
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
}
.nav-item{
    padding: 5px 20px;
    font-weight: 600;
    font-size: 14px;
    min-width: 100px;
    text-align: center; 
    color: #556270;
}
.nav-item.right{
    float: right;
    margin-top: 13px;
}
nav{
    margin-bottom: 15px;
    display: block;
    padding: 10px 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    vertical-align: middle;
    background: #f3f3f3;
    box-shadow: inset 0 0 1px 1px #ffffff;
    border: 1px solid #ccc;
}
nav h1{
    margin:0px;
    color: black;
    font-size: 18px;
    line-height: 30px;
}
nav span{
    color: black;
    font-size: 12px;
    margin-top: -5px;
    display: block;
}
.enquire a{
    text-decoration: none;
    padding: 8px;
    width: 220px;
    display: inline-block;
    text-align: center;
    color: #556270;
    background-color: #b7fc7a;
    font-weight: 600;
    font-size: 16px;
    margin: 70px 0px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
section,footer{
    font-size: 0.8em;
}
.title{
    margin-top: 10px;
    margin-left: 20px;
}

@media (max-width: 750px){
    section{
        width: 100%;
    }
    section h2{
        font-size: 24px;
    }
    .subHero{
        font-size: 16px !important;
    }
    section.pages article{
        width: 98%;
    }
    
    article li{
        max-width: 320px;
        margin: auto;
    }
    .container{
        padding: 30px;
    }
    footer{
        padding: 30px 30px 25px;
    }
}
@media (max-width: 400px){
    footer{
<<<<<<< HEAD
        padding: 10px 30px 7px;
    }
    nav{
        padding: 10px;
    }
    footer img{
        width: 32px;
        margin-top: 0px;
    }
    .container{
        padding: 10px;
    }
}

.swiper-container {
        width: 100%;
    height: 300px;
    margin: 40px auto;
    background-color: #fafafa;
    text-align: left;
}
.swiper-container:before{
    content: attr(data);
    font-size: 16px;
    margin-top: 20px;
    margin-left: 20px;
    color: white;
    position: absolute;
    width: 30%;
    font-size: 18px;
    color: #ccc;

}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    width: 200px;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.swiper-slide.titles{
    font-size: 24px;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: #FF6B6B;
}
.subHero{
    margin: auto;
    font-weight: 600;
    font-size: 20px;
}
.subHeader{
    font-size: 16px;
    color: #aaa;
}
.heroAnim{
    width: 150px;
    height: 150px;
    background: url("../img/color-animation.gif");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: auto;
}
.quote:before{
    content: "ʻʻ";
    font-size: 100px;
    margin-left: -20px;
    letter-spacing: -10px;
    height: 50px;
    color: #b7fc7a;
    vertical-align: middle;
}
.quote{
    padding: 10px;
    font-weight:600;
    line-height: 150%;
}
.overlay{
    position: fixed;
    top: 0px;
    left: 0px;
    background: #b7fc7a;
    color: black;
    width: 100%;
    height: 100%;
    box-sizing:border-box;
    padding: 40px;
    z-index: 1001;
    display: none;
}
.overlay:after{
    content: attr(data);
    font-size: 18px;
    color: black;
    position: absolute;
    top: 15px;
    left: 15px;
    font-weight: 100;
}
.overlay .closeMe{
    font-size: 18px;
    color: black;
    position: absolute;
    top: 0px;
    padding: 10px;
    right: 7px;
    font-weight: 100;
    cursor: pointer;
}
.overlay ul, .overlay li{
    margin: 0px;
    list-style: none;
    padding: 0px;
}
.overlay li{
    float: left;
    width: 23%;
    margin-right: 2%;
    height: 0px;
    padding-bottom: 23%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 1px 1px 10px rgba(0,0,0,0.06);
    border-radius: 3px;
    margin-bottom: 80px;
}
.overlay .box{
    overflow: auto;
    height: 100%;
    max-width: 1024px;
    margin: auto;
}
.overlay li header{
    position: absolute;
    bottom: -30px;
    left: 0px;
    font-size: 16px;
    font-weight: 600;
    color: black;
}
.overlay li tags{
    position: absolute;
    bottom: -85px;
    left: 0px;
    height: 50px;
}
.overlay h1, .overlay h2{
    margin-top: 15px;
    margin-bottom: 5px;
}
.overlay tags i{
    float: left;
    margin-right: 5px;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    padding: 1px 5px 1px 1px;
    color: #777;
}
.overlay li img{
    width: 100%;
    transform: translateY(-50%);
    margin-top: 50%;
}
.overlay .leftBox , .overlay .rightBox{
    width: 50%;
}
overlay .rightBox{
    text-align: right;
}
.leftBox a{
    color: black;
    text-decoration: none;
    border-bottom: 1px dotted;
    font-weight: 600;
}
.overlay .add{
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;  
}
.overlay li a{
    width: 42px;
    height: 42px;
    position: absolute;
    border: 0px;
    background: url(../img/link.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    text-decoration: none;
    background-size: 70%;
    opacity: 0.3;
    top:0;
    right: 0;
}
.overlay li a:hover{
    background-color: rgba(0,0,0,0.1);
}
@media (max-width: 880px){
    .overlay li{
        width: 31% !important;
        padding-bottom: 33% !important;
    }
}
@media (max-width: 660px){
    .overlay li{
        width: 48% !important;
        padding-bottom: 50% !important;
    }
    .overlay .leftBox,.overlay .rightBox{
        width: 100%;
    }
    .overlay .rightBox{
        text-align: left;
        margin-top: 20px;
    }
    .nonMob{
        display: none;
    }
    .mob{
        padding-right: 3px;
    }
    .hero{
        padding:0 1px; 
    }
}
@media (max-width: 420px){
    .overlay li{
        width: 98% !important;
        padding-bottom: 98% !important;
    }
}
