/*
Index:
1a - Fonts
2a - General 
3a - Header 
    3a1 - Navbar 
4a - Content 
    4a1 - Sidebar
    4a2 - Specials
    4a3 - Specials Page
5a - Footer 

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

/* 1a - Fonts
------------------------------------------------------------------------------*/

@font-face {
    font-family: "Trocchi-Bold";
    src:url("http://www.octushotels.com/fonts/trocchiBold/Trocchi-Bold.eot?") format("eot"),
        url("http://www.octushotels.com/fonts/trocchiBold/Trocchi-Bold.woff") format("woff"),
        url("http://www.octushotels.com/fonts/trocchiBold/Trocchi-Bold.ttf") format("truetype"),
        url("http://www.octushotels.com/fonts/trocchiBold/Trocchi-Bold.svg#Trocchi-Bold") format("svg");
}

@font-face {
    font-family: "Top Secret";
    src:url("http://www.octushotels.com/fonts/topSecret/Top Secret.eot?") format("eot"),
        url("http://www.octushotels.com/fonts/topSecret/Top Secret.woff") format("woff"),
        url("http://www.octushotels.com/fonts/topSecret/Top Secret.ttf") format("truetype"),
        url("http://www.octushotels.com/fonts/topSecret/Top Secret.svg#Top Secret") format("svg");
}

/* End 1a - Fonts
------------------------------------------------------------------------------*/

/* 2a - General 
------------------------------------------------------------------------------*/

header, footer, aside, nav, article { 
    display: block;
}

html {
    background: url("../pics/paperBackground.png");
}

body {
    margin: 0px;
    padding: 0px;
    font-family: arial, sans-serif;
    
}

.blueBackground {
    background: -moz-linear-gradient(top,  rgba(0,21,255,0.65) 0%, rgba(77,91,255,0) 30%, rgba(255,255,255,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,21,255,0.65)), color-stop(30%,rgba(77,91,255,0)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,21,255,0.65) 0%,rgba(77,91,255,0) 30%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,21,255,0.65) 0%,rgba(77,91,255,0) 30%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,21,255,0.65) 0%,rgba(77,91,255,0) 30%,rgba(255,255,255,0) 100%); /* IE10+ */
    background: linear-gradient(top,  rgba(0,21,255,0.65) 0%,rgba(77,91,255,0) 30%,rgba(255,255,255,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a60015ff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */

}

.redBackground {
    background: -moz-linear-gradient(top,  rgba(219,0,0,0.65) 0%, rgba(230,77,77,0) 30%, rgba(255,255,255,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(219,0,0,0.65)), color-stop(30%,rgba(230,77,77,0)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(219,0,0,0.65) 0%,rgba(230,77,77,0) 30%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(219,0,0,0.65) 0%,rgba(230,77,77,0) 30%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(219,0,0,0.65) 0%,rgba(230,77,77,0) 30%,rgba(255,255,255,0) 100%); /* IE10+ */
    background: linear-gradient(top,  rgba(219,0,0,0.65) 0%,rgba(230,77,77,0) 30%,rgba(255,255,255,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6db0000', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */

}

.blackBackground {
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.65) 0%, rgba(77,77,77,0) 30%, rgba(255,255,255,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.65)), color-stop(30%,rgba(77,77,77,0)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(77,77,77,0) 30%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(77,77,77,0) 30%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(77,77,77,0) 30%,rgba(255,255,255,0) 100%); /* IE10+ */
    background: linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(77,77,77,0) 30%,rgba(255,255,255,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */

}

body:before
{
   content: "";
   position: fixed;
   top: -10px;
   left: 0;
   width: 100%;
   height: 10px;
   z-index: 100;
   -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
   -moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
   box-shadow: 0px 0px 10px rgba(0,0,0,.8);
}

#bodyContainer, #footer {
    width: 1000px;
    padding: 22px;
    margin: auto;
    
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, .8);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, .8);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, .8);
}

h1, h2, h3, h4, h5 {
    margin: 0px;
    padding: 0px;
    
    color: rgba(0,0,0, .8);
    text-shadow: 1px 1px 0 rgba(256, 256, 256, 0.8);
    font-family: "Trocchi-Bold";
}

h3, h4, h5 {
    font-family: arial, sans-serif;
    
}

.clickable {
    cursor: pointer;
    cursor: hand;
}

/* End 2a - General 
------------------------------------------------------------------------------*/

/* 3a - Header 
------------------------------------------------------------------------------*/

#header {
    position: relative;
    width: 1040px;
    margin: auto;
    padding-bottom: 0px;
}

#title {
    height: 107px;
}

#header img {
    position: absolute;
    top: 10px;
    left: 0px;
    height: 90px;
    width: auto;
}

#header h1, #header h2 {
    margin-left: 100px;
    padding: 10px;
    
}

#header h1 {
    padding-bottom: 0px;
    padding-top: 10px;
}

#header h2 {
    margin-left: 320px; 
    font-size: 17px;
}

/* End 3a - Header 
------------------------------------------------------------------------------*/

/* 3a1 - Navbar 
------------------------------------------------------------------------------*/

#navbar {
    width: 1040px;
    padding: 0px;
    margin: 0px;
    min-height: 40px;
    border-top: 1px solid white;;
    
    background: rgb(255,220,117); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,220,117,1) 0%, rgba(255,195,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,220,117,1)), color-stop(100%,rgba(255,195,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,220,117,1) 0%,rgba(255,195,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,220,117,1) 0%,rgba(255,195,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,220,117,1) 0%,rgba(255,195,0,1) 100%); /* IE10+ */
    background: linear-gradient(top,  rgba(255,220,117,1) 0%,rgba(255,195,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffdc75', endColorstr='#ffc300',GradientType=0 ); /* IE6-9 */

}

#navbar div {
    float: left;
    padding: 10px 20px;
    margin: 0px;
    cursor: pointer;
    cursor: hand;
    
    border-left: 1px solid rgba(250,250,250,0.5);
    border-right: 1px solid rgba(150,150,150,.5);
    
    
}

#navbar div:hover {
    color: red;
}

#navbar .activeTab {
    border-top: 1px solid rgba(250,250,250,0.5);
    
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, .8);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, .8);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, .8);
    
}

/* End 3a1 - Navbar 
------------------------------------------------------------------------------*/

/* 4a - Content 
------------------------------------------------------------------------------*/

#bodyContainer {
    height: 800px;
    background: white;
    position: relative;
}

.page {
    position: absolute;
    visibility: hidden;
    width: 400px;
    padding: 0px 340px 0px 260px;
    left: 22px;
    top: 22px;
    
}

.visible {
    visibility: visible;
}

.page img {
    display: block;
    min-width: 0px;
    max-width: 400px;
    margin: 20px 0px 20px 0px;
}

.page h3 {
    padding: 10px;
}

/* End 4a - Content 
------------------------------------------------------------------------------*/

/* 4a1 - Sidebar
------------------------------------------------------------------------------*/

#sidebar {
    position: absolute;
    top: 22px;
    left: 22px;
    width: 200px;
    padding: 20px;
    background: url("../pics/paperBackground.png");
    
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, .8);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, .8);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, .8);
    
}

#sidebar span {
    display: block;
    cursor: pointer; 
    cursor: hand;
    padding: 10px;
}

#sidebar span:hover {
    color: red;
    background: rgba(0,0,0,0.1);
}

/* End 4a1 - Sidebar
------------------------------------------------------------------------------*/

/* 4a2 - Specials
------------------------------------------------------------------------------*/

.specials {
    float: right;
    width: 300px;
    padding-left: 20px;
    margin-right: -340px;
    border-left: 2px ridge rgba(256,256,256,0.6);
    text-align: center;
    
}

.specials h3 {
    margin-bottom: 20px;
}

.specials img {
    max-width: 250px;
    margin-left: 25px;
    
}


/* End 4a2 - Specials
------------------------------------------------------------------------------*/

/* 4a3 - Specials Page
------------------------------------------------------------------------------*/

#specialsPage {
    display: table;
}

#specialsPageHomeSpecials, #specialsPageComputerSystemsSpecials, #specialsPageCCTVSpecials, #specialsPageAlarmsSpecials {
    display: table-row;
    width: 740px;
}

#specialsPageHomeSpecials div, #specialsPageComputerSystemsSpecials div, #specialsPageCCTVSpecials div, #specialsPageAlarmsSpecials div {
    margin: 10px;
    text-align: center;
    display: table-cell;
    width: 226px;
}

#specialsPageHomeSpecials div img, #specialsPageComputerSystemsSpecials div img, #specialsPageCCTVSpecials div img, #specialsPageAlarmsSpecials div img {
    width: 200px;
    
}
/* End 4a3 - Specials Page
------------------------------------------------------------------------------*/

/* 5a - Footer 
------------------------------------------------------------------------------*/

#footer {
    background: black;
    margin-bottom: 20px;
    text-align: center;
    color: white;
}

#footer a {
    color: white;
    text-decoration: none;
}

#footer a:hover {
    color: lightblue;
}

/* End 5a - Footer 
------------------------------------------------------------------------------*/

