/*
Template Name: Riad-Jenaļ
File: Layout CSS
*/

@import url(navi.css);
@import url(forms.css);
@import url(tables.css);
@import url(homepage.css);
@import url(gallery.css);
@import url(portfolio.css);

body{
	margin:0;
	padding:0;
	font-size:13px;
	font-family:geneva,verdana, sans-serif;
	color:#F6E497;
	background-color:#330000;
	}

img{margin:0; padding:0; border:none;}
.justify{text-align:justify;}
.bold{font-weight:bold;}
.center{text-align:center;}
.right{text-align:right;}
.nostart{list-style-type:none; margin:0; padding:0;}

.clear:after{content:"."; display:block; height:0; clear:both; visibility:hidden; line-height:0;}
.clear{display:inline-block;}
html[xmlns] .clear{display:block;}
* html .clear{height:1%;}

a{outline:none; text-decoration:none;}

.fl_left{float:left;}
.fl_right{float:right;}

.imgl, .imgr{border:1px solid #BD8D46; padding:4px;}
.imgl{float:left; margin:0 15px 15px 0; clear:left;}
.imgr{float:right; margin:0 0 15px 15px; clear:right;}

/* ----------------------------------------SCROLLBAR---------------------------------------------*/
html {
	overflow-y: auto;
	/* Kudos to @sami for pointing out that setting the overflow to "auto" instead of "hidden" fixes the keyboard nav bug! */
	background-color: transparent;
}

@media screen and (max-width: 480px) {
    @-ms-viewport {
        width: device-width;
    }
}



body.custom {

	background-position: center top;
	background-image: url(images/bg.jpg);
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
		left: 0;
		bottom: 0;
		right: 10px;
	overflow-y: scroll;
	overflow-x: hidden;
}


::-webkit-scrollbar {
    width: 10px;
    height: 6px;
}

::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
    height: 30px;
    display: block;
    background-color: transparent;
}

::-webkit-scrollbar-track-piece {
    background-color: #330000;
    -webkit-border-radius: 6px;
}

::-webkit-scrollbar-thumb:vertical {
    height: 50px;
    background-color: #7B2A2A;
    -webkit-border-radius: 6px;
}

::-webkit-scrollbar-thumb:horizontal {
    width: 50px;
    background-color: #7B2A2A;
    -webkit-border-radius: 3px;
}


/* ----------------------------------------------Wrapper-------------------------------------*/

div.wrapper{
	display:block;
	width:100%;
	margin:0;
	text-align:left;
	}

div.wrapper h1, div.wrapper h2, div.wrapper h3{
	margin:0 0 15px 0;
	padding:0;
	font-size:20px;
	font-weight:normal;
	line-height:normal;
	}

div.wrapper h4{
	margin:0 0 15px 0;
	padding:10;
	font-size:18px;
	font-weight:normal;
	line-height:24px;
	background-color:#BD8D46;
	color:#330000;
	}


div.wrapper h5{
	margin:0 0 15px 0;
	padding:0;
	font-size:18px;
	font-weight:normal;
	line-height:normal;
	}

div.wrapper h6{
	margin:0 0 15px 0;
	padding:0;
	font-size:12px;
	font-weight:bold;
	line-height:18px;
	background-color:#BD8D46;
	color:#330000;
	}

.col1, .col1 a{color:#F6E497; background-color:#330000; border-bottom:1px solid #BD8D46;}
.col1 a{border-bottom:none;}
.col2{color:#BD8D46; background-color:#7B2A2A; border-top:1px solid #F6E497; border-bottom:5px solid #F6E497;}
.col3{color:#F6E497; background-color:#330000; border-bottom:5px solid #BD8D46;}
.col3 a{color:#FF412C; background-color:#330000;}

/* ----------------------------------------------Generalise-------------------------------------*/

#header, #homepage, #shout, #container, #footer, #copyright{
	position:relative;
	margin:0 auto 0;
	display:block;
	width:960px;
	}

/* ----------------------------------------------Header-------------------------------------*/

#header{
	padding:10px 0;
	z-index:1000;
	}

#header .fl_left{
	display:block;
	float:left;
	}

#header .fl_right{
	display:block;
	float:right;
	}

#header h1, #header p, #header ul{
	margin:0;
	padding:0;
	list-style:none;
	line-height:normal;
	}

#header h1{
	height:116px;

	padding:5px 0 5px 400px;
	
background:url("../images/logo.png") left center no-repeat;
	}



#header .fl_left p{
	margin-top:10px;
	}

/* ----------------------------------------------Shout-------------------------------------*/

#shout{
	padding:20px 0;
	text-align:right;
	}

#shout h2{
	margin:0;
	padding:0;
	font-size:36px;
	font-variant:small-caps;
	}

/* ----------------------------------------------Content-------------------------------------*/

#container{
	padding:30px 0;
	}

#content{
	display:block;
	float:left;
	width:630px;
	}

/* ------Comments-----*/

#comments{margin-bottom:40px;}

#comments .commentlist{margin:0; padding:0;}

#comments .commentlist ul{margin:0; padding:0; list-style:none;}

#comments .commentlist li.comment_odd, #comments .commentlist li.comment_even{margin:0 0 10px 0; padding:15px; list-style:none;}

#comments .commentlist li.comment_odd{color:#CCCCCC; background-color:#7B2A2A;}
#comments .commentlist li.comment_odd a{color:#FF412C; background-color:#7B2A2A;}

#comments .commentlist li.comment_even{color:#CCCCCC; background-color:#BD8D46;}
#comments .commentlist li.comment_even a{color:#FF412C; background-color:#BD8D46;}

#comments .commentlist .author .name{font-weight:bold;}
#comments .commentlist .submitdate{font-size:smaller;}

#comments .commentlist p{margin:10px 5px 10px 0; padding:0; font-weight:normal;text-transform:none;}

#comments .commentlist li .avatar{float:right; border:1px solid #FCFAE1; margin:0 0 0 10px;}

/* ----------------------------------------------Column-------------------------------------*/

#column{
	display:block;
	float:right;
	width:300px;
	}

#column .holder{
	display:block;
	width:260px;
	margin-bottom:20px;
	padding-left:10px;
	}

#column .holder, #column #featured{
	display:block;
	width:300px;
	margin-bottom:20px;
	}

#column .holder p{
	line-height:1.6em;
	}

#column h2{
	font-size:20px;
	}

#column .holder h2.title{
	display:block;
	width:100%;
	height:65px;
	margin:0;
	padding:15px 0 0 0;
	font-size:20px;
	line-height:normal;
	border-bottom:1px dashed #BD8D46;
	}

#column .holder h2.title img{
	float:left;
	margin:-15px 8px 0 0;
	padding:5px;
	border:1px solid #BD8D46;
	}

#column .holder p.readmore{
	display:block;
	width:100%;
	font-weight:bold;
	text-align:right;
	line-height:normal;
	}

#column div.imgholder{
	display:block;
	width:290px;
	margin:0 0 10px 0;
	padding:4px;
	border:1px solid #BD8D46;
	}
	
/* Featured Block */

#column #featured a{
	color:#BD8D46;
	background-color:#330000;
	}

#column #featured ul, #column #featured h2, #column #featured p{
	margin:0;
	padding:0;
	list-style:none;
	}

#column #featured li{
	display:block;
	width:250px;
	margin:0;
	padding:20px 25px;
	color:#BD8D46;
	background-color:#330000;
	}

#column #featured li p{
	line-height:1.6em;
	}

#column #featured li p.imgholder{
	display:block;
	width:240px;
	height:90px;
	margin:20px 0 15px 0;
	padding:4px;
	color:#BD8D46;
	background-color:#330000;
	border:1px solid #BD8D46;
	}

#column #featured li h2{
	margin:0;
	padding:0 0 14px 0;
	font-size:20px;
	font-weight:normal;
	font-family:verdana, geneva, sans-serif;
	color:#7b2a2a;
	background-color:#330000;
	line-height:normal;
	border-bottom:1px dashed #BD8D46;
	}

#column #featured p.readmore{
	display:block;
	width:100%;
	margin-top:15px;
	font-weight:bold;
	text-align:right;
	line-height:normal;
	}

#column #latestnews{
	display:block;
	width:100%;
	margin:0;
	padding:0;
	list-style:none;
	}

#column #latestnews li{
	display:block;
	margin:0 0 20px 0;
	padding:0 0 15px 0;
	border-bottom:1px dotted #F6E497;
	}

#column #latestnews li.last{
	margin-bottom:0;
	}

#column #latestnews p{
	margin:0 0 5px 0;
	padding:0;
	}

#column #latestnews p.readmore{
	margin:0;
	padding:0;
	}

#column #latestnews .imgl{
	margin:0 10px 10px 0;
	padding:4px;
	}

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

#footer{
	padding:20px 0;
	border-bottom:1px solid #7b2a2a;
	}

#footer .verticaline{
	padding:10px 0;
	background:url("../images/footer_verticaline.gif") 200px 0 repeat-y;
	}

#footer h2, #footer p, #footer ul, #footer a, #footer address{
	margin:0;
	padding:0;
	font-weight:normal;
	list-style:none;
	line-height:normal;
	font-style:normal;
	}

#footer a{
	color:#7b2a2a;
	background-color:#330000;
	}

#footer .size1, #footer .size2, #footer .size3{display:block; float:left;}
#footer .size1{width:205px; padding:0 65px 0 0;}
#footer .size2{width:245px; padding:0 0 0 55px;}
#footer .size3{width:348px; padding:0 0 0 30px;}
#footer .size3 span{display:inline-block; width:120px; font-size:26px;}
#footer .size3 ul{margin-bottom:50px;}

#footer .size1 h2, #footer .title{
	color:#F6E497;
	background-color:#330000;
	font-weight:normal;
	}

#footer .size1 h2{
	font-size:26px;
	margin-bottom:22px;
	}

#footer address{
	line-height:2em;
	margin-bottom:15px;
	}

#footer li{
	margin-bottom:15px;
	}

#footer .last{
	margin:0;
	}

/* ----------------------------------------------Copyright-------------------------------------*/

#copyright{
	padding:15px 0;
	border-top:1px solid #7b2a2a;
	}

#copyright p{
	margin:0;
	padding:0;
	}

#copyright, #copyright a{
	color:#F6E497;
	background-color:#330000;
	}