/* 
    Color Palette:
    Purple:         936eb1
    Grey:           6d6e72
*/

@import url("news.css");
@import url("admin.css");
@import url("login.css");

/* --- Body Layout --- */

body {
    font-family:Verdana;
    -webkit-box-sizing:content-box;
    -moz-box-sizing:content-box;
    -ms-box-sizing:content-box;
    box-sizing:content-box;
    background-image: url('../assets/background.jpg');
    background-size:cover;
}

.container {
    margin:auto;
    width:1000px;
}

.content {
    background-color:white;
    border:1px solid #ccc;
    -moz-border-radius:3px;
    border-radius:3px;
    padding:20px;
}

.content img {
    padding:4px;
    border:1px solid #ccc; 
    float:right;
    max-width:300px;
    margin: 0 0 20px 20px;
}
.brands {
    background-color:white;
    border:1px solid #ccc;
    -moz-border-radius:3px;
    border-radius:3px;
    padding:20px;
    float:left;
    clear:right;
}

.testimonialsBox {
    background-color: #938f90;
    color:#fff;
    float:right;
    -moz-border-radius:3px;
    width: 240px;
    margin-bottom:50px;
    border-radius:3px;
    padding:20px;
    position:relative
}

.testimonialsBox h2 {
    color:white;
}

.triangleTest {
    position:absolute;
    bottom:-35px;
    right:20px;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 60px 35px 0;
    border-color: transparent #938f90 transparent transparent;
}

.brands {
    background-image: url('../assets/brands.jpg');
    background-position:center;
    background-repeat:no-repeat;
    height:100px;
    width:241px;
    padding:18px;

}

.client {
    float:right;
    font-style:italic;
}

#main {
    width:700px;
    float:left;
    margin-right:20px;
}

.products-outer {
    margin-top:20px;
}

.products1 {
    background-color:white;
    border:1px solid #ccc;
    -moz-border-radius:3px;
    border-radius:3px;
    float:left;
    margin-right:20px;
    width:233px;
    position:relative;
    background-image: url('../assets/freeviewProduct.jpg');
    background-repeat:no-repeat;
    background-position:center;
    height:200px;
}
.products1:hover {
    box-shadow: 0px 0px 4px #ccc;
}
.products2:hover {
    box-shadow: 0px 0px 4px #ccc;
}
.products3:hover {
    box-shadow: 0px 0px 4px #ccc;
}
.products4:hover {
    box-shadow: 0px 0px 4px #ccc;
}

.products2 {
    background-color:white;
    border:1px solid #ccc;
    -moz-border-radius:3px;
    border-radius:3px;
    float:left;
    margin-right:20px;
    width:233px;
    position:relative;
    background-image: url('../assets/freesatProduct.jpg');
    background-repeat:no-repeat;
    background-position:center;
    height:200px;
}

.products3 {
    background-color:white;
    border:1px solid #ccc;
    -moz-border-radius:3px;
    border-radius:3px;
    float:left;
    margin-right:20px;
    width:233px;
    position:relative;
    background-image: url('../assets/skyProduct.jpg');
    background-repeat:no-repeat;
    background-position:center;
    height:200px;
}

.products4 {
    background-color:white;
    border:1px solid #ccc;
    -moz-border-radius:3px;
    border-radius:3px;
    float:left;
    background-image: url('../assets/avProduct.jpg');
    background-repeat:no-repeat;
    background-position:center;
    height:200px;
    width:233px;
    position:relative;
}

.productsCaption {
    position:absolute;
    right:20px;
    bottom:20px;
    background-color: rgba(139, 137, 137, 0.8);
    padding:10px;
    color:white;
    -moz-border-radius:3px;
    border-radius:3px;
}
.productsCaption:hover {
    background-color:red;
    -moz-box-shadow: 0 0 5px #888;
    -webkit-box-shadow: 0 0 5px #888;
    box-shadow: 0 0 5px #888;

}

.productOn {
    background-color:red;
    -moz-box-shadow: 0 0 5px #888;
    -webkit-box-shadow: 0 0 5px#888;
    box-shadow: 0 0 5px #888;
}

.noMargin {

}

.homeTable td {
    background-color:white;
    border:0;
}

.homeTable ul {
    list-style: circle;
    margin-bottom:0;

}

.content ul {
    list-style: circle;
    margin-left: 20px;
}

.content ul li {
    padding:0;
}

.homeTable td ul li {
    padding:0;
    margin-left:10px;
}

.homeTable li a {
    text-decoration: underline;
}

/* --- Header --- */

header {
    margin-bottom:20px;
}

header img {
    max-width:100%;
}

/* --- Footer --- */

footer {
    background-color:#5a5a5a;
    clear:both;
    color:#fff;
    margin:20px 0 0;
    padding:50px 0;
}

footer h3,
footer a:link {
    color:#fff;
    margin: 0;
}

footer h3 {
    font-weight: bold;
}

.footerBox {
    float:left;
    width:25%;
}

.footerBox p, a {
    line-height:24px;
}

/* --- Navigation --- */

nav {
    float:right;
}

nav ul {
    display:table;
    margin-top:20px;

}

nav li {
    float:left;
    padding:0;
    border-right:1px solid #ccc;
	height:55px;
}

nav li:last-child {
    border:0;
}

nav a {
    font-weight:bold;
    display:block;
    height:40px;
    padding:0 20px;
    font-size:14px;
    color:#817e7f;
}

nav a:hover {

}

nav ul ul {
    display:none;
    background-color:#e2e8ee;
    position:absolute;
    z-index:9999;
    margin:0;margin-top: 10px;
padding-top: 10px;
    
}

nav ul li:hover ul {
    display:block;

}

nav ul ul li {
    float:none;
    line-height:40px;
	height:30px;
}

nav ul ul li a {
    font-weight:normal;
    font-size:12px;
}

.miniText {
    font-size:10px;
    font-weight:normal;
}

/* --- Global Text Styling --- */

h1, h2, h3 {
    font-family:Verdana;
}

h1 {
    font-size:26px;
}

h2 {
    font-size:20px;
}

h3 {
    font-size:14px;
}

a {
    color:#333;
}

footer a:visited {
    color:white;
}

p a {

    font-weight:bold;
}

.hr {
    border-bottom:1px solid #ccc;
    clear:both;
    margin-bottom:20px;}

/* --- Forms --- */

.wrapper-block input[type=text], 
.wrapper-block input[type=password], 
.wrapper-block textarea,
.wrapper-block select {
    border:#ccc solid 1px;
    -moz-border-radius:3px;
    border-radius:3px;
    padding:10px;
}

.wrapper-block img {
    float:left;
    margin:0;
    padding:0;
    border:0;
}

.wrapper-block label {
    padding:10px;
}

input[type=submit],
input[type=button],
.button {
    background-color: #ccc;
    background-image: -moz-linear-gradient(top, #ddd, #ccc);
    background-image: -ms-linear-gradient(top, #ddd, #ccc);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ddd), to(#ccc));
    background-image: -webkit-linear-gradient(top, #ddd, #ccc);
    background-image: -o-linear-gradient(top, #ddd, #ccc);
    background-image: linear-gradient(top, #ddd, #ccc);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dddddd', endColorstr='#cccccc', GradientType=0);
    border:#bbb solid 1px;
    -moz-border-radius:3px;
    border-radius:3px;
    color:#333;
    font-variant:small-caps;
    font-weight:bold;
    padding:10px;
    text-shadow:1px 1px 0px #fff;
    text-transform:lowercase;
}

input[type=submit]:hover,
input[type=button]:hover,
.button:hover {
    border:#999 solid 1px;
    -moz-box-shadow: 0 0 5px #888;
    -webkit-box-shadow: 0 0 5px#888;
    box-shadow: 0 0 5px #888;
} 

.confirm {
    background-color: #ccc;
    background-image: -moz-linear-gradient(top, #88e345, #74c23b);
    background-image: -ms-linear-gradient(top, #88e345, #74c23b);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#88e345), to(#74c23b));
    background-image: -webkit-linear-gradient(top, #88e345, #74c23b);
    background-image: -o-linear-gradient(top, #88e345, #74c23b);
    background-image: linear-gradient(top, #88e345, #74c23b);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#88e345', endColorstr='#74c23b', GradientType=0);
    border:#6da544 solid 1px;
    -moz-border-radius:3px;
    border-radius:3px;
    color:#333;
    margin:20px 0;
    padding:10px;
}

.denied {
    background-color: #ccc;
    background-image: -moz-linear-gradient(top, #ed4848, #d13a3a);
    background-image: -ms-linear-gradient(top, #ed4848, #d13a3a);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ed4848), to(#d13a3a));
    background-image: -webkit-linear-gradient(top, #ed4848, #d13a3a);
    background-image: -o-linear-gradient(top, #ed4848, #d13a3a);
    background-image: linear-gradient(top, #ed4848, #d13a3a);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed4848', endColorstr='#d13a3a', GradientType=0);
    border:#b42222 solid 1px;
    -moz-border-radius:3px;
    border-radius:3px;
    color:#fff;
    margin:20px 0;
    padding:10px;
}

/* --- Slideshow --- */

.flexslider {
    position:relative;
    background-color:#fff;
}

.bannerOver {
    color:#000;
    background-color: rgba(255, 255, 255, 0.8);
    font-family: Leelawadee;
    display:block;
    position:absolute;
    right:25px;
    bottom:25px;
    width:350px;
    padding:20px;
    line-height:24px;

    font-weight:bold;
    -moz-border-radius:3px;
    border-radius:3px;
    font-size:14px;

}

.flexslider ul li {
    border: 1px solid #ccc;
    padding: 5px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    /*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/

}

.flexslider img {
    width:100%;
    display:block;
    margin-top:-27px;
    z-index:999;
}

.flex-control-paging {
    font-size:30px;
    text-align:center;
    list-style:none;
    margin:0;
}

.flex-control-paging li, .flex-direction-nav li {
    display:inline-block;
}

.flex-direction-nav {
    margin: 0;
    padding: 0;
    height: 0;
}

.flex-direction-nav a {
    width: 30px;
    height: 30px;
    margin: -35px 0 0;
    display: block;
    background: url(../assets/bg_direction_nav.png) no-repeat 0 0;
    position: absolute;
    top: 50%;
    text-indent: -9999px;
}

.flexslider .flex-prev {
    left: 5px;
}

.flexslider .flex-next {
    background-position: 100% 0;
    right: 5px;
}

.flex-control-paging li a {
    background:#666;
    height:10px;
    width:10px;
    display:block;
    overflow:hidden;
    text-indent: 9999px;
    cursor:pointer;
    margin:0 4px;
    border-radius:50%;
}

.flex-control-paging li a.flex-active {
    background:#936eb1;
}

/* --- Gallery --- */

.gallery-thumb {
    background-color:#ccc;
    border:#ccc solid 10px;
    float:left;
    height:100px;
    margin:0 20px 20px 0;
    overflow:hidden;
    position:relative;
    width:100px;

    -webkit-transition: border 0.5s;
    -moz-transition: border 0.5s;
    -o-transition: border 0.5s;
    -ms-transition: border 0.5s;
    transition: border 0.5s;
}

.gallery-thumb:hover {
    border:#936eb1 solid 10px;
}

/* --- Contact Form Page --- */

.contactForm {
    float:left;
    min-height:400px;
    min-width:390px;
}

.contactLeft {
    float:left;
    margin-left:40px;
}

.alert {
    color:#b42222;

}

.centerText {
    text-align:center;
}