/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

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

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

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

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* My Code */

@font-face {
    font-family: sm;
    src: url('../fonts/sketchmatch.ttf');
}

a {
    color: #000;
    text-decoration: none;
}

header {
    width: 100%;
    height: 390px;
}

.wrapper {
    width: 960px;
    margin: 0 auto;
    background-color: gray;
}
/*div {
	width: 100%;
	height: 80pix;
	background-color: #000;
}*/

header img {
    margin-top: 5px;
    float: left;
}
header nav {
    float: left;
}

header nav ul {
margin-top: 72px;
}

header nav ul li {
    display: inline-block;
    margin-left: 20px;
    list-style: none;
}

header nav ul li a {
    font-family: Lato;
    font-weight: 400;
    font-size: 14px;
    
}

.video-box {
    width: 100%;
    background-color: #222;
    height: 540px;
}
.index-intro {
    width: 100%;
    padding: 80px 0px;
    background-color: red;
}

.index-intro h2 {
    font-weight: 700;
    font-family: Lato;
    font-size: 24px;
    text-align: center;
    padding-bottom: 10px;
    text-transform: uppercase;

}

.index-intro p {
    font-weight: 400;
    font-family: Lato;
    font-size: 16px;
    text-align: center;
    line-height: 22px;
    margin: 20px;

}

.index-news{
    width: 100%;
    padding: 80px 0px;
    background-color: #ccc;
    overflow: hidden;
}

.index-news article {
    width: 18%;
    float: left;
    margin: 0px 1%;
}


.news-img{
    width: 100%;
    height: 120px;
    background-image: url('../img/black.png');
    transition: all 1s ease-in-out 2s;
    -webkit-transition: all 1s ease-in-out 2s;
    -moz-transition: all 1s ease-in-out 2s;
    -o-transition: all 1s ease-in-out 2s;
}

.index-news article:hover .news-img {
    background-image: url('../img/orange.png');
}

.index-news h3 {
    font-weight: 400;
    font-family: Lato;
    font-size: 18px;
    text-align: center;
    padding-bottom: 10px;
    text-transform: uppercase;
    color: #000;
    padding-top: 10px;
}

.index-news p {
    font-weight: 400;
    font-family: Lato;
    font-size: 14px;
    text-align: center;
    padding-bottom: 10px;
    color: #000;
}

.table-box {
    width: 100%;
    padding: 80px 0px;
    background-color: #fff;
 } 

 .table-box tr {
 }   

 .table-box table {
    width: 100%;
 }  

 .table-box th {
    text-align: left;
 }  

 .table-box td {
    background-color: #ccc;
    border: 2px solid #000;
 }  

.form-box {
    width: 100%;
    padding: 80px 0px;
    background-color: #fff;
 } 
.form-box form input {
    width: 40%;
    height: 30px;
    margin-bottom: 4px;
    padding: 0px 0.5px;
    border: 1px solid #ccc;
    font-size: 16px;
    color: #282828;
    font-family: Lato;
 } 

 .form-radio {
    clear: both;
    width: 1% !important;
    height: 10px;
    margin-bottom: 4px;
    padding: 0px 0.5px;
    border: 1px solid #ccc;
    float: left;
 }

 .form-box form p {
    font-size: 16px;
    color: #282828;
    font-family: Lato;
    float: left;
    padding-top: 10px;
 } 
.form-box for textarea {
    clear: both;
    width: 60%;
    height: 300px;
    margin-bottom: 4px;
    padding: 6px 0.5px;
    border: 1px solid #ccc;
    font-size: 16px;
    color: #282828;
    font-family: Lato;
    resize: none;
 } 

 .form-box button {
    width: 80px;
    height: 30px;
    background-color: orange;
    border: none;
    font-size: 16px;
    color: white;
    font-family: Lato;
    text-transform: uppercase;
 } 

 .gallery-box {
     overflow: hidden;
     padding: 80px 0px;
 }

.img-single {
     width: 110px;
     height: 80px;
     float: left;
     margin: 5px 5px;
     position: relative;
 }

 .img-single img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    transition: all 100ms ease-in-out;
    -webkit-transition: all 100ms ease-in-out;
    -o-transtion: all 100ms ease-in-out;
 }

 .img-single:hover {
     z-index: 1000;
 }

 .img-single img:hover {
    width: 120%;
    height: 120%;
    position: absolute;
    top: -10%;
    left: -10%;
 }



/*---------Footer-------*/

footer nav {
    float: left;
}

footer nav ul {
}

footer nav ul li {
    display: inline-block;
    margin-left: 20px;
    list-style: none;
}

footer nav ul li a {
    font-family: Lato;
    font-weight: 400;
    font-size: 10px;
    color: #fff;
}

footer{
    width: 100%;
    background-color: #222;
    padding: 60px 0px;
}

.form-box-device {
    display: none;
}

@media only screen and (max-width: 768px) and (orientation: portrait) {

   .index-intro h2 {
    font-weight: 700;
    font-size: 34px;

}

.index-intro p {
    font-weight: 400;
    font-size: 26px;
}

@media only screen and (max-width: 768px) and (orientation: landscape) {

   .index-intro h2 {
    font-weight: 700;
    font-size: 34px;
    color: red;

}

.index-intro p {
    font-weight: 400;
    font-size: 26px;
}

.form-box-device {
    display: block;
}

.form-box-device {
    display: none;
}

}