﻿/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/********************************************************/

/* -------------------------------- 

Primary style

-------------------------------- */
html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.wait_back {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    z-index: 100000000000000;
    display: none;
}

.wait {
    position: fixed;
    z-index: 1000;
    margin: auto;
    top: 48%;
    left: 40%;
    font-size: 40px;
    color: #fff;
    z-index: 1000000000000000;
}

.home-logo {
    margin: auto;
    display: block;
    position: relative;
    top: 320px;
    width: 250px;
    max-width: 70%;
    display: none;
}

.new-col {
    text-align: center;
    width: 100%;
    float: left;
    color: #fff;
    padding: 20px 0;
}

    .new-col h3 {
        text-transform: uppercase;
    }

.form-main {
    width: 100%;
    margin: 0;
    /*background-image: url('../../images/IMG-9452.JPG');
    background-size: cover;*/
    position: relative;
    color: #1d3e6d;
    padding: 20px 0;
}

.bg {
    background: rgba(0,0,0,0.8);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.form-title {
    width: 48%;
    float: left;
    margin-right: 2%;
    font-size: 50px;
    text-transform: uppercase;
    margin-top: 50px;
    font-style: italic;
    color: #1d3e6d;
}

.form {
    width: 48%;
    float: left;
    margin-left: 2%;
}

    .form input[type=text] {
        display: block;
        width: 100%;
    }

    .form textarea {
        width: 100%;
        resize: none;
    }

    .form input[type="button"] {
        margin-bottom: 10px;
        background: #A8CE44;
        border: 1px solid #A8CE44;
        color: #fff;
        padding: 5px 20px;
        transition: 0.5s all ease;
    }

        .form input[type="button"]:hover {
            background: #0077B9;
            border-color: #0077B9;
        }

.contact-details h3 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-transform: uppercase;
}

.col-new {
    width: 33.333%;
}
/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
    /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
    width: 90%;
    max-width: 768px;
    margin: 0 auto;
}

    .cd-container::after {
        /* clearfix */
        content: '';
        display: table;
        clear: both;
    }

/* -------------------------------- 

Main components 

-------------------------------- */
.cd-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

    .cd-header:after {
        content: "";
        display: table;
        clear: both;
    }

    .cd-header #cd-logo {
        float: left;
        margin: 13px 0 0 5%;
    }

        .cd-header #cd-logo img {
            display: block;
        }

@media only screen and (min-width: 768px) {
    .cd-header {
        height: 70px;
    }

        .cd-header #cd-logo {
            margin: 23px 0 0 5%;
        }
}

.cd-main-nav {
    float: right;
    margin-right: 5%;
    width: 44px;
    height: 100%;
    background: url("../img/cd-icon-menu.html") no-repeat center center;
    background-size: 44px 44px;
    cursor: pointer;
}

    .cd-main-nav ul {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        -o-transform: translateY(-100%);
        transform: translateY(-100%);
    }

        .cd-main-nav ul.is-visible {
            -webkit-transform: translateY(50px);
            -moz-transform: translateY(50px);
            -ms-transform: translateY(50px);
            -o-transform: translateY(50px);
            transform: translateY(50px);
        }

    .cd-main-nav a {
        display: block;
        height: 50px;
        line-height: 50px;
        padding-left: 5%;
        background: #2f292a;
        border-top: 1px solid #453c3d;
        color: #8e7d7f;
    }

@media only screen and (max-width: 768px) {
    .cd-bg-1 {
        display: none;
    }

    #Portfolio {
        margin-top: -50px;
    }
}

@media only screen and (min-width: 768px) {
    .cd-main-nav {
        width: auto;
        height: auto;
        background: none;
        cursor: auto;
    }

        .cd-main-nav ul {
            position: static;
            width: auto;
            -webkit-transform: translateY(0);
            -moz-transform: translateY(0);
            -ms-transform: translateY(0);
            -o-transform: translateY(0);
            transform: translateY(0);
            line-height: 70px;
        }

            .cd-main-nav ul.is-visible {
                -webkit-transform: translateY(0);
                -moz-transform: translateY(0);
                -ms-transform: translateY(0);
                -o-transform: translateY(0);
                transform: translateY(0);
            }

        .cd-main-nav li {
            display: inline-block;
            margin-left: 1em;
        }

        .cd-main-nav a {
            display: inline-block;
            height: auto;
            line-height: normal;
            background: transparent;
            padding: .6em 1em;
            border-top: none;
            color: #3d3536;
            text-transform: uppercase;
            font-weight: bold;
            font-size: 14px;
            font-size: 0.875rem;
        }

    .no-touch .cd-main-nav a:hover {
        color: #99a478;
    }
}

.cd-main-content {
    /* you need to assign a min-height to the main content so that the children can inherit it*/
    height: 100%;
    position: relative;
    z-index: 1;
}

.cd-fixed-bg {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
}

    .cd-fixed-bg h1, .cd-fixed-bg h2 {
        position: absolute;
        left: 50%;
        top: 50%;
        bottom: auto;
        right: auto;
        -webkit-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        -o-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        width: 90%;
        max-width: 1170px;
        text-align: center;
        font-size: 30px;
        font-size: 1.875rem;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        color: white;
    }

    .cd-fixed-bg.cd-bg-1 {
        background-image: url("../img/cd-background-1w.html");
    }

    .cd-fixed-bg.cd-bg-2 {
        background-image: url("../img/cd-background-2.html");
    }

    .cd-fixed-bg.cd-bg-3 {
        background-image: url("../img/cd-background-3.html");
    }

    .cd-fixed-bg.cd-bg-4 {
        background-image: url("../img/cd-background-4.html");
    }

@media only screen and (min-width: 768px) {
    .cd-fixed-bg h1, .cd-fixed-bg h2 {
        font-size: 36px;
    }
}

@media only screen and (min-width: 1170px) {

    .cd-fixed-bg {
        background-attachment: fixed;
    }

        .cd-fixed-bg h1, .cd-fixed-bg h2 {
            font-size: 48px;
            font-weight: 300;
        }
}

.cd-scrolling-bg {
    position: relative;
    min-height: 100%;
    /*padding: 4em 0;*/
    line-height: 1.6;
    z-index: 2;
}
/*
.cd-scrolling-bg.cd-color-1 {
  background-color: #3d3536;
  color: #a6989a;
}
.cd-scrolling-bg.cd-color-2 {
  background-color: #99a478;
  color: #3d3536;
}
.cd-scrolling-bg.cd-color-3 {
  background-color: #b4d7a8;
  color: #3d3536;
}
*/
@media only screen and (min-width: 768px) {
    .cd-scrolling-bg {
        /*padding: 8em 0;*/
        font-size: 20px;
        font-size: 1.25rem;
        line-height: 2;
        font-weight: 300;
    }
}


/*******************************************************/

a {
    color: #1d3e6d;
    text-decoration: none;
}

    a:hover {
        color: #0f2646;
        text-decoration: none;
    }

html {
    height: 100%;
}

body {
    background: #fff;
    margin: 0px;
    padding: 0px;
    color: #1d3e6d;
    height: 100%;
    background: url('../img/bg.gif');
    font-family: verdana;
}

.allc {
}

.header {
    position: fixed;
    width: 100%;
    /*min-width: 500px;*/
    z-index: 1000;
}

.nav {
    background: url('../img/bhhead-Copy.png') no-repeat center -3px;
    height: 160px;
    position: relative;
    background-size: 100% auto;
    top: 0px;
    z-index: 1000;
}

    .nav h1 {
        padding: 0px;
        margin: 0px;
        text-indent: -1000px;
        border: solid 0px red;
        background: url(../img/APB-Logo-final.png) no-repeat;
        background-size: contain;
        height: 90%;
        width: 22.5%;
        margin-top: 2%;
        margin-left: 10%;
        float: left;
    }

.navreal {
    float: right;
    margin-right: 9%;
    margin-top: 4%;
}

    .navreal li {
        display: inline-block;
        list-style: none;
    }

        .navreal li a {
            display: block;
            text-transform: uppercase;
            font: bold 14px verdana;
            width: 100px;
            height: 30px;
            line-height: 30px;
            text-align: center;
        }

            .navreal li.active a, .navreal li a:hover {
                background: #00a6e2;
                padding-right: 5px !important;
                padding-left: 5px !important;
                color: white;
                text-decoration: none;
            }

.cd-scrolling-bg > h2 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 10px;
}

.cd-scrolling-bg > p {
    text-align: center;
    font-size: 18px;
    line-height: 150%;
}

@keyframes animatedBackground {
    from {
        background-position: top center;
    }

    to {
        background-position: bottom center;
    }
}


.intro {
    width: 100%;
    height: 400px;
    border: Solid 0px red;
    background-image: url(../img/intro.jpg);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    animation: animatedBackground 40s linear infinite;
}


.cd-fixed-bg1 {
    min-height: 100%;
    position: relative;
}

    .cd-fixed-bg1.cd-bg-11 {
        background-image: url("../img/intro.jpg");
        position: relative;
    }

.cd-scrolling-bg {
    min-height: 100%;
    padding-top: 30px;
    width: 100%;
    float: left;
}

@media only screen and (min-width: 1170px) {

    .cd-fixed-bg1 {
        background-size: cover;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-position: center center;
    }
}

.clear {
    clear: both;
}

.h3head {
    text-align: left;
    font: bold 15px verdana;
}

.cont {
    text-align: left;
    font: normal 12px verdana;
}

#Services img {
    margin-right: 10px;
}

.blk {
    margin-top: 25px;
}



.counter-number-custom, .counter-number-custom .count-number-icon, .counter-number-custom .number-value {
    color: #fff;
}

.counter-number {
    margin: 30px 0px;
    text-align: center;
}

    .counter-number .count-number-icon {
        color: #fff;
        font-size: 36px;
        /*margin-bottom: 25px;*/
    }

.textaligncenter {
    text-align: center;
}

.counter-number .number-value {
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    line-height: 60px;
}

.counter-number .number-field {
    font-size: 12px;
    font-weight: 400;
    margin-top: 5px;
    display: block;
    text-transform: uppercase;
}

.rowser {
    position: relative;
    bottom: 0px;
    width: 100%;
    margin-top: 20px;
    background: #00A6E2;
}

.nav2 li {
    border: solid 0px red;
    float: none;
    text-align: center;
    display: inline-block;
    margin: 0 10px;
    padding: 0 7px;
    cursor: default;
}

    .nav2 li a {
        background: none;
    }

    .nav2 li span {
        font-size: 16px;
        cursor: default;
    }



.nav2 > li.active > a, .nav2 > li.active > a:hover, .nav2 > li.active > a:focus {
    color: #fff;
    cursor: default;
    background: none;
    border: none;
    text-decoration: none;
}

.nav2 > li > a:hover {
    border: none;
}


.nav2 li.active {
    background: #00a6e2;
}

    .nav2 li.active span {
        color: #fff;
    }


.nav2 {
    border: solid 0px red;
    text-align: center;
}

.longe {
    text-align: center;
    max-width: 920px;
    border: solid 0px red;
    margin: auto;
    margin-top: 5px;
    padding-bottom: 65px;
}



    .longe:after {
        content: "";
        display: block;
        clear: both;
    }

.item1 {
    border: solid 0px red;
    width: 178px;
    height: 205px;
    display: inline-block;
    margin: 0 1px;
    margin-bottom: -40px;
    float: left;
}

    .item1 > a > img {
        margin-top: 6px;
    }



/*
.item1:hover{
background:url('../img/prebg.png') center -6px no-repeat;
}
*/


/*
.item1:nth-child(9n+1){
margin-left:94px;
}






@media only screen and (max-width: 870px) {
  .longe {
    width:765px;
		border:solid 1px yellow;
  }	
	.item1:nth-child(7n+1){
		margin-left:94px;
	}

}

@media only screen and (max-width: 920px) {
  .longe {
    width:930px;
		border:solid 1px green;
  }	
	.item1:nth-child(9n+1){
		margin-left:94px;
	}

}


*/

.longe {
    width: 920px;
    border: solid 0px green;
}

.item1 {
    margin-left: 0;
}

    .item1:nth-child(3n+1) {
        margin-left: 0px;
    }

    .item1:nth-child(5n+1) {
        margin-left: 0px;
    }

    .item1:nth-child(7n+1) {
        margin-left: 0px;
    }

    .item1:nth-child(9n+1) {
        margin-left: 94px;
    }


.prev_por {
    position: absolute;
    left: 0px;
    cursor: pointer;
    top: 50px;
    z-index: 150;
}

.next_por {
    position: absolute;
    right: 0px;
    cursor: pointer;
    top: 50px;
    z-index: 150;
}

.prev_por4 {
    position: absolute;
    left: 0px;
    cursor: pointer;
    top: 50%;
    z-index: 150;
    margin-top: -45px;
}

.next_por4 {
    position: absolute;
    right: 0px;
    cursor: pointer;
    top: 50%;
    z-index: 150;
    margin-top: -45px;
}




@media only screen and (max-width: 1000px) {
    .longe {
        width: 720px;
        border: solid 0px yellow;
    }

    .item1 {
        margin-left: 0;
    }

        .item1:nth-child(9n+1) {
            margin-left: 0px;
        }

        .item1:nth-child(3n+1) {
            margin-left: 0px;
        }

        .item1:nth-child(5n+1) {
            margin-left: 0px;
        }

        .item1:nth-child(7n+1) {
            margin-left: 94px;
        }
}


@media only screen and (max-width: 800px) {
    .longe {
        width: 550px;
        border: solid 0px red;
    }

    .item1 {
        margin-left: 0;
    }

        .item1:nth-child(9n+1) {
            margin-left: 0px;
        }

        .item1:nth-child(3n+1) {
            margin-left: 0px;
        }

        .item1:nth-child(7n+1) {
            margin-left: 0px;
        }

        .item1:nth-child(5n+1) {
            margin-left: 94px;
        }
}

@media only screen and (max-width: 600px) {
    .longe {
        border: solid 0px black;
        max-width: 100%;
        margin: 0;
        margin-left: 0 !important;
    }

    .item1 {
        margin-left: 0;
        width: 100%;
        margin-bottom: 0;
    }

        .item1:nth-child(9n+1) {
            margin-left: 0;
            width: 100%;
            margin-bottom: 0;
        }

        .item1:nth-child(5n+1) {
            margin-left: 0;
            width: 100%;
            margin-bottom: 0;
        }

        .item1:nth-child(7n+1) {
            margin-left: 0;
            width: 100%;
            margin-bottom: 0;
        }

        .item1:nth-child(3n+1) {
            margin-left: 0;
            width: 100%;
            margin-bottom: 0;
        }
}



.prev_por2 {
    position: absolute;
    left: 0px;
    cursor: pointer;
    top: 48%;
}

.next_por2 {
    position: absolute;
    right: 0px;
    cursor: pointer;
    top: 48%;
}

.detailspro {
    /*position:relative;

height:600px;
top:0px;
left:0px;

border:solid 0px red;
*/
    height: 600px;
    width: 100%;
    float: right;
    border: 1px solid green;
    display: block;
    position: fixed;
    top: 50%;
    margin-top: -75px;
    z-index: 150;
}

.blkhg {
    padding: 5px 0;
    background: url(../img/44.png) repeat top;
}

.limheight {
    height: 15px;
}

.detailspro2 {
    background: url(../img/bgallpre.png) repeat-x top;
    z-index: 900;
    overflow: hidden;
    display: none;
    width: 100%;
    /*
height:600px;
z-index:151;

width:100%;
height:600px; width:100%; float:right; border:0px solid green; display:block; position:fixed;top:100%; margin-top:30px;
*/
}

.takeit {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
}

.takeit2 {
    position: fixed;
    top: 20%;
}

.tab-pane {
    top: -600px;
    margin-bottom: -600px;
}

.detai {
    background: url(../img/big2.png) no-repeat center center;
    width: 179px;
    height: 209px;
    display: inline-block;
    color: black;
    vertical-align: top;
    margin-top: 90px;
    margin-left: 30px;
    font-size: 14px;
    text-align: center;
}

.mnona {
    margin-top: 90px;
    margin-left: 5px;
    text-align: center;
    font-size: 14px;
}

.closeportfolioall {
    color: white;
    text-decoration: none;
    font-size: 16px;
    position: absolute;
    top: 0px;
    left: 0px;
    float: left;
}

.navSelected {
    display: block;
}

.footer {
    /*background:url(../img/footer1.png) no-repeat top center,url(../img/footer.png) repeat top center;
*/
    height: 95px;
    background-image: url(../img/footer1.png),url(../img/footer.png);
    background-position: top left,top center;
    background-repeat: no-repeat,repeat;
    width: 100%;
    float: left;
}

p {
    font-size: 13px;
    text-align: center;
}

.container {
    min-width: 250px;
}


.mobilet a {
    width: 80px !important;
    font-size: 12px !important;
}


@media only screen and (max-width: 1200px) {
    .nav h1 {
        width: 20.5%;
        margin-top: 2%;
        margin-left: 8%;
        float: left;
    }

    .navreal {
        margin-right: 8%;
        margin-top: 2%;
    }

    .mobilet a {
        width: 65px !important;
        font-size: 9px !important;
    }

    .home-logo {
        top: 200px;
    }
}

@media only screen and (max-width: 800px) {
    .form-title {
        width: 98%;
        margin-left: 2%;
        font-size: 30px;
        margin-top: 0;
    }

    .form {
        width: 98%;
        float: left;
        margin: 0 1%;
    }

    .portfolioall img {
        max-width: 80%;
    }

    .detai {
        margin-top: 0;
        margin-left: 0;
    }
    .col-new {
        width: 100%;
        text-align: center;
    }
}

@media only screen and (max-width: 600px) {
    .header {
        background: #fff;
    }

    .nav {
        background: none;
        height: auto;
        width: 100%;
        float: left;
    }

        .nav h1 {
            width: 100%;
            height: 80px;
            margin-top: auto;
            margin-left: auto;
            float: none;
            background-position: center center;
            margin: auto;
        }

    .container {
        padding-right: 0px;
        padding-left: 0px;
    }

    .row {
        margin-right: 0;
        margin-left: 0;
    }

    #top-menu {
        width: 100%;
        float: left;
        margin: 0;
        padding: 0;
    }

    .navreal {
        margin-right: 0%;
        margin-top: 0%;
        width: 100%;
        float: left;
    }

        .navreal li {
            display: block;
            list-style: none;
            width: 20%;
            float: left;
        }

    .mobilet a {
        width: auto !important;
        font-size: 8px !important;
    }

    #Services img {
        display: block;
        float: none;
        margin-right: auto;
        margin: auto;
    }

    .h3head {
        text-align: center;
    }

    .cont {
        text-align: center;
        width: 95%;
        margin: auto;
    }

    .form-title {
        width: 98%;
        margin-left: 2%;
        font-size: 28px;
        margin-top: 0;
    }
}
