/* START: GLOBAL STYLES */
html, body, #page {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #2C3E50;
    font-family: "Open Sans";
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans";
    font-weight: 300;
}

body {
    background-color: #ECF0F1;
    /*background: url('../images/pattern.png') fixed;*/
}

section {
    padding-top: 50px;
    padding-bottom: 30px;
    text-align: center;
}

p {
    line-height: 28px;
}

a, a:focus, a:active {
    color: #ff6419;
    cursor: pointer;
}

a:hover {
    color: #ff9632;
}
/* END: GLOBAL STYLES */

/* START: PRELOADER BAR ON THE TOP*/
.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background-color: #ff6419;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    height: 12px;
    overflow: hidden;

    -webkit-transition: width 1s;
    -moz-transition: width 1s;
    -o-transition: width 1s;
    transition: width 1s;
}

.pace .pace-progress-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: -32px;
    bottom: 0;

    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.2)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.2)), color-stop(0.75, rgba(255, 255, 255, 0.2)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-background-size: 32px 32px;
    -moz-background-size: 32px 32px;
    -o-background-size: 32px 32px;
    background-size: 32px 32px;

    -webkit-animation: pace-stripe-animation 500ms linear infinite;
    -moz-animation: pace-stripe-animation 500ms linear infinite;
    -ms-animation: pace-stripe-animation 500ms linear infinite;
    -o-animation: pace-stripe-animation 500ms linear infinite;
    animation: pace-stripe-animation 500ms linear infinite;
}

@-webkit-keyframes pace-stripe-animation {
    0% { -webkit-transform: none; transform: none; }
    100% { -webkit-transform: translate(-32px, 0); transform: translate(-32px, 0); }
}
@-moz-keyframes pace-stripe-animation {
    0% { -moz-transform: none; transform: none; }
    100% { -moz-transform: translate(-32px, 0); transform: translate(-32px, 0); }
}
@-o-keyframes pace-stripe-animation {
    0% { -o-transform: none; transform: none; }
    100% { -o-transform: translate(-32px, 0); transform: translate(-32px, 0); }
}
@-ms-keyframes pace-stripe-animation {
    0% { -ms-transform: none; transform: none; }
    100% { -ms-transform: translate(-32px, 0); transform: translate(-32px, 0); }
}
@keyframes pace-stripe-animation {
    0% { transform: none; transform: none; }
    100% { transform: translate(-32px, 0); transform: translate(-32px, 0); }
}
/* END: PRELOADER BAR ON THE TOP*/

/* START: NAVIGATION ON THE TOP */
.navbar-transparent {
    background-color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.navbar-transparent .navbar-nav li a {
    color: #505050;
}

.navbar-transparent .navbar-nav .active a {
    background-color: #dfdfdf;
}
/* END: NAVIGATION ON THE TOP */

/* START: SECTION HEADING */
.fancy {
    line-height: 0;
    text-align: center;
    margin-bottom: 35px;
}
.fancy span {
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    /*font-weight: bold;*/
    font-size: 38px;
    color: #006a6a;
    font-family: 'trirong-medium-webfont';
    line-height: 40px;
}
.fancy span:before,
.fancy span:after {
    content: "";
    position: absolute;
    height: 0;
    top: 0;
}
/* END: SECTION HEADING */

/* START: COMMON UI ELEMENTS */
.orange {
    color: #ff6419;
}

.btn-half-block {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    width: 50%;
}

.logo-circled {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    background-color: #ff9632;
}

.btn-transparent {
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
    border: 1px solid #fff;
}

.btn-transparent:hover, .btn-transparent:focus, .btn-transparent:active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-white, .btn-white:focus, .btn-white:active {
    color: #fff;
}

.btn-white:hover {
    color: #eee;
    text-decoration: none;
}

.btn-orange {
    background-color: #ff6419;
    color: #fff;
    border: 1px solid #fff;
}

.btn-orange:hover, .btn-orange:focus, .btn-orange:active {
    background-color: #ff9632;
    color: #fff;
}

.alert-small {
    padding: 6px 12px 6px 12px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

}
/* END: COMMON UI ELEMENTS */

/* START: HOME SECTION*/
#header {
    overflow: hidden;
    height: auto;
    background: url('../images/home.jpg') fixed no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    height: 100%;
    text-align: justify;
}

#intro {
    position: absolute;
    top: 50%;
    padding-bottom: 20px;
    background-color: rgba(160, 140, 120, 0.85);
    color: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid rgba(160, 140, 120, 1);
}

#intro .ticker {
    overflow: hidden;
    height: 40px;
    vertical-align: baseline;
}

#intro .ticker h3 {
	margin-bottom: 0px;
    margin-top: 0px;
	height: 40px;
    -webkit-transition: margin-top 0.5s ease-in-out;
    -moz-transition:    margin-top 0.5s ease-in-out;
    -o-transition:      margin-top 0.5s ease-in-out;
    transition:         margin-top 0.5s ease-in-out;
}
/* END: HOME SECTION*/


/* START: ABOUT SECTION*/
#about .container, #work .container, #team .container, #contact .container {
    background-color: rgba(255, 255, 255, 1);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#about .article h3 {
    margin-top: 0px;
    margin-bottom: 15px;
    font-weight: 700;
}

#about .article p {
    margin-bottom: 50px;
}

#about .slide {
    color: #fff;
    background: rgba(255, 100, 25, 0.75);
    text-align: center;
    list-style-type: none;
    height: 60px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-top: 10px;
    margin-bottom: 30px;
}
/* END: HOME SECTION*/

/* START: SERVICES SECTION*/
#services {
    height: auto;
    background: url('../images/services.jpg') no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-position: 0 -300px;
}

#services .container {
    background-color: rgba(255, 255, 255, 0.75);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#services .desc h2 {
    margin-top: 0px;
}

#services .desc p {
    margin-bottom: 20px;
}

#services .article h3{
    margin-top: 0px;
    font-weight: 700;
}

#services .article p {
    margin-bottom: 50px;
}

#services .article ul li {
    margin-bottom: 10px;
}

#services .article ul li:last-child {
    margin-bottom: 30px;
}
/* END: SERVICES SECTION*/

/* START: WORK SECTION*/
#work .container {
    background-color: rgba(255, 255, 255, 1);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#work .desc h2 {
    margin-top: 0px;
}

#work .desc p {
    margin-bottom: 10px;
}

#work #filters {
    width: 100%;
    margin: 20px auto 30px auto;
    background-color: #f5f5f5;
}

#work #filters li {
    font-size: 18px;
    line-height: 30px;
    cursor: pointer;
    padding: 10px;
    min-width: 120px;
}

#work #filters li.active {
    background-color: #fff;
    color: #ff6419;
}

#work #gallery {
    padding: 0;
}

#work #gallery li div {
    margin-bottom: 30px;
}

#work #gallery .mix{
    opacity: 0;
    display: none;
}
/* END: WORK SECTION*/

/* START: CLIENTS SECTION*/
#clients {
    height: auto;
    background: url('../images/clients.jpg') no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
}

#clients .container {
    background-color: rgba(40, 30, 20, 0.75);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
}

#clients .desc h2 {
    margin-top: 0px;
}

#clients .desc p {
    margin-bottom: 50px;
}

#clients .statement div h4 {
    margin-top: 0px;
}

#clients .statement div p {
    margin-bottom: 30px;
}
/* END: CLIENTS SECTION*/

/* START: TEAM SECTION*/
#team .desc h2 {
    margin-top: 0px;
}

#team .desc p {
    margin-bottom: 50px;
}

#team .person {
    height: 400px;
    background-repeat: no-repeat;
    background-position:center;
    margin-bottom: 30px;
}

#team .person .info {
    padding-top: 10px;
    position: absolute;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    margin-left: -15px;
    width: 100%;
}

#team .person .info h4 {
    margin-top: 0px;
    font-weight: 700;
}

#team .person .info p {
    width: 80%;
    margin: auto;
}

#team .person .info ul {
    font-size: 24px;
    background-color: rgba(255, 255, 255, 0.75);
}
/* END: TEAM SECTION*/

/* START: CONTACT SECTION*/
#contact .desc h2 {
    margin-top: 0px;
}

#contact .desc p {
    margin-bottom: 50px;
}

#contact .option {
    /*padding-bottom: 30px;*/
    padding-bottom: 0px;
}

#contact-details-wrapper
{
    position: relative;
    border: 1px solid #ddd;
    background-color: #fff;
    background: url('../images/stripes.png');
}

#contact-details {
    background-color: #fff;
    margin: -20px auto 15px auto;
    padding-top: 20px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #eee;
}

#contact-form input[type="text"], #contact-form input[type="email"], #contact-form textarea {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow:none !important;
    color: #2C3E50;
}
/* END: CONTACT SECTION*/

/* START: FOOTER SECTION*/
#footer {
    font-size: 12px;
    text-align: center;
    margin: 20px auto;
}
/* END: FOOTER SECTION*/


/*add on: button design*/
.button {
    background-color: #ff6419; /* Green */
    border: none;
    color: white;
    padding: 5px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.button1 {
    background-color: white;
    color: black;
    border: 2px solid #ff6419;
}
.button1:hover {
    background-color: #ff6419;
    color: white;
}

/*Modal Box Control*/
/* The Modal (background) */
/* The Modal (background) */

.imageResize{
    width: 20%;
    height: 20%;
}

.popup-img-content{
    background: #f9fce6;
    padding: 1px 20px;
    text-align: justify;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */

}

/* Modal Content/Box */
.modal-content {
    background-color: #eada85;
    margin: 1% auto; /* 15% from the top and centered */
    padding: 8px;
    border: 1px solid #888;
    width: 90%; /* Could be more or less, depending on screen size */
}

@media screen and (min-width: 1025px){
    .modal-content {
        background-color: #eada85;
        margin: 1% auto; /* 15% from the top and centered */
        padding: 8px;
        border: 1px solid #888;
        width: 50%; /* Could be more or less, depending on screen size */
    }
}


/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
@media screen and (max-width: 700px){
    .box{
        width: 70%;
    }
    .popup{
        width: 70%;
    }
}

/*GALLERY CONTROLING*/
.image-gallery{
    /*width:300px;*/
    background-color:#eada85;
    padding:10px;
    border-radius:0px;
    border:solid 0px #ffffff;
}
.image-gallery .big-image{
    border:solid 5px #ad9e41;
    padding:10px;
    margin-top: 25px;
    /*margin:0 auto;*/
    background-color:#ad9e41;
}
.image-gallery .big-image img{
    display:none;
    width:100%;
    height:100%;
    margin:0 auto;
}

.image-gallery .big-image a{
    display: inline-table;
    margin:0 auto;
    /*display:none;*/
    /*width:100px;*/
    /*height:100px;*/
    /*!*margin:0 auto;*!*/
}

/*Selected image display*/
.image-gallery .big-image img:target{display:block;}
/*on select image display none the default image*/
.image-gallery .big-image img:target ~ img#default{display:none;}
/*Shoe Default Image in first load*/
.image-gallery .big-image img#default{display:block;}

.image-gallery .big-image img:target{display:block;}
.image-gallery .big-image img:target ~ img#default2{display:none;}
/*Shoe Default Image in first load*/
.image-gallery .big-image img#default2{display:block;}

.image-gallery .big-image img:target{display:block;}
.image-gallery .big-image img:target ~ img#default3{display:none;}
/*Shoe Default Image in first load*/
.image-gallery .big-image img#default3{display:block;}

.image-gallery .big-image img:target{display:block;}
.image-gallery .big-image img:target ~ img#default4{display:none;}
/*Shoe Default Image in first load*/
.image-gallery .big-image img#default4{display:block;}

.image-gallery .big-image img:target{display:block;}
.image-gallery .big-image img:target ~ img#default5{display:none;}
/*Shoe Default Image in first load*/
.image-gallery .big-image img#default5{display:block;}

.image-gallery ul{margin-top:3px;}
.image-gallery li{float:left;
    background-color:rgba(255,255,255,0.5);margin-right:3px;}
.image-gallery li:hover{
    background-color:rgba(255,255,255,0.8);
}


/*other styles*/
.title{font-size:20px;font-weight:bold;color:#633317;text-align:center;margin-bottom:15px;}
.by{clear:both;display:block;font-size:12px;text-align:right;color:#633317;padding-top:5px;}
.example2{font-size:16px; color:red; font-weight:bold;}
/*reset CSS*/
*{font-family:arial;}
ul,li{list-style:none;margin:0;padding:0;}



/*FancyBox image popup*/

.fancybox-custom .fancybox-skin {
    box-shadow: 0 0 50px #222;
}

/*End FancyBox image popup*/



