
// load bootstrap.less included variables.less & mixins.less
@import "bootstrap";
@import "font-awesome/font-awesome.less";

@import "_menus";
@import "_pages";

@import "_shortcodes";
@import "_sliders";
@import "_thumbnails";
@import "_widgets";

/* ==========================================================================
   Base
   ========================================================================== */

body { 
	background: #f5f5f5;
	color: @body-color;
	word-wrap: break-word;
	
	a{
		color: @a-color;
		&:hover{
			color: @color;
			text-decoration: none;
		}
		&:focus{
			text-decoration: none;
		}
	}
	
	h1, h2, h3, h4, h5, h6{
		margin: 0 0 10px;
	}
	
	a, input, textarea, button {
		outline: medium none !important;
	}
}
.rtl .pull-left{
	float: right;
}	
.rtl{
	input[class*="span"], select[class*="span"], textarea[class*="span"], .uneditable-input[class*="span"], .row-fluid input[class*="span"], .row-fluid select[class*="span"], .row-fluid textarea[class*="span"], .row-fluid .uneditable-input[class*="span"]{
		float:none;
		margin-left:0;
		margin-right:0;
	}
	.row-fluid [class*="span"]:first-child{
		margin:auto 0;
	}
	[class*="span"]{
		float:right;
	}
	.row{
		margin: 0 -30px 0 0;
	}
	[class*="span"]{
		margin: 0 30px 0 0;
	}
	.row-fluid [class*="span"]{
		float:right;
		margin:0 2.5641% 0 auto;
	}
	ul{
		margin: 0 15px 25px 0;
	}
}
.entry-content iframe, .embed-youtube > iframe, .entry-content-asset > iframe{
	max-width: 100%;
}
/*===================================
			Header
=====================================*/

#header {
	padding-top: 30px;
	padding-bottom: 25px;
	.ya-logo{
	
	}
}

#banner {
	background: #fff;
	.box-shadow(0 0 3px 3px #e2e2e2 inset);
	margin-bottom: 40px;
}


/* ==========================================================================
   Content
   ========================================================================== */


#main{
	margin-bottom: @baseLineHeight;
}
.main{ 
	.breadcrumb{
		border: 1px solid @border-color;
		padding: 5px 15px;
		margin-bottom: @baseLineHeight;
		.gradientBar(#fff, #f3f3f3, @body-color, none);
		.rtl &{
			margin-right: 0;
		}
	}
}
.content {
	.hentry{
		display: block;
		margin-bottom: 30px;
		.entry{
			display: inline-block;
			width: 100%;
			.entry-thumb{
				width: 33%;
				float: left;
				margin: 0 30px 20px 0;
			}
			.entry-content{
				.entry-meta{
					margin: 5px 0;
				}
				.entry-summary{
				}
				.entry-footer{
					[class^="icon-"]{
						margin: 5px 8px 5px 5px;
						display: inline-block;
					}
				}
				.rtl &{
					a.read-more{
						i.icon-circle-arrow-right:before{
							content: "\f0a8";
						}
					}
				}
			}
		}
	}
}

/**
* Home
**/
.abouts{
	line-height: 25px;
	padding-right: 20px;
	img{
		width: 100%;
		margin-bottom: 20px;
	}
	.about-inner{
		font-size: 18px;
	}
}
.powerful-features{
	margin-left: 42px;
	border-left: 1px solid @border-color;
	> div {
		position: relative;
		padding-left: 58px;
		display: inline-block;
		margin-bottom: @baseLineHeight;
	}
	.features-icon{
		width: 83px;
		height: 83px;
		position: absolute;
		left: -42px;
		top: 0;
	}
	h5{
		margin-top: 0;
	}
	.html5 {
		.features-icon{
			background: url("../img/html5.png") no-repeat scroll 0 0 transparent;
		}
	}
	.css3 {
		.features-icon{
			background: url("../img/css3.png") no-repeat scroll 0 0 transparent;
		}
	}
	.bootstrap {
		.features-icon{
			background: url("../img/bootstrap.png") no-repeat scroll 0 0 transparent;
		}
	}
	.presets {
		border: none;
		.features-icon{
			background: url("../img/presets.png") no-repeat scroll 0 0 transparent;
		}
	}
}

/**
* Comments
**/
#respond{
	input.input-block-level{
		width: 50%;
		background: none;
		box-shadow: 0 0 0;
	}
	textarea.input-block-level{
		width: 70%;
		background: none;
		box-shadow: 0 0 0;
	}
	.post-comment{
		.btn{
			box-shadow: 1px 1px 3px @border-color;
			&:hover{
				background: #fff;
			}
		}
	}
}
#comments{
	small{
	 font-size: 85%;
	}
	.commentlist .comment{
		display: block;
		margin: 0 0 @baseLineHeight;
		padding: 15px;
		text-align: left;
		.author{
			img{
				width: 70px;
				height: 70px;
				.border-radius(4px);
				margin-right: 15px;
			}
		}
	}
}
#commentform, .wpcf7-form {
	.control-label{
		text-align: left;
		width: 70px;
		float: left;
		.rtl &{
			text-align: right;
			float: right;
		}
	}
	.controls{
		margin-left: 90px;
		.rtl &{
			margin-left: 0;
			margin-right: 90px;
		}
		input{
			height: 30px;
			line-height: 20px;
		}
	}
	.post-comment {
		text-align: left;
		padding-left: 90px;
		.rtl &{
			text-align: right;
			padding-left: 0;
			padding-right: 90px;
		}
	}
}
.contact-info{
	margin-bottom: @baseLineHeight;
	p{
		border-bottom: 1px solid #ccc;
		margin: 0;
		line-height: 30px;
		&:first-child{
			border-top: 1px solid #ccc;
		}
	}
}
.wpcf7-form {
	p{
		display: none;
	}
	span{
		display: block;
		input, textarea{
			width: 100%;
			.box-sizing(border-box);
		}
	}
}
/* ==========================================================================
   Primary Content
   ========================================================================== */

.main { }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-page{
	.contact-left{
		width: 50%;
		float: left;
		input{
			width: 60%;
			background: none;
			box-shadow: 0 0 0;
		}
		textarea{
			width: 80%;
			background: none;
			box-shadow: 0 0 0;
		}
		span.wpcf7-not-valid-tip{
			top: 3px;
			left: 3px;
			background: #eee;
			width: auto;
			border: 0;
			color: red;
		}
		.controls-submit{
			background-image: linear-gradient(to bottom, #FFFFFF, lighten(@border-color, 10));
			background-image: -o-linear-gradient(to bottom, #FFFFFF, lighten(@border-color, 10));
			background-image: -moz-linear-gradient(to bottom, #FFFFFF, lighten(@border-color, 10));
			background-image: -webkit-linear-gradient(to bottom, #FFFFFF, lighten(@border-color, 10));
			background-image: -ms-linear-gradient(to bottom, #FFFFFF, lighten(@border-color, 10));
			border: 1px solid @border-color;
			.border-radius(3px);
			width: auto;
			width: 130px;
			padding: 0 10px;
			position: relative;
			box-shadow: 1px 1px 3px @border-color;
			.btn{
				border: 0;
				width: auto;
				padding: 5px 0;
			}
			img{
				position: absolute;
				right: -30px;
				top: 7px;
			}
		}
	}
	.contact-right{
		width: 48.5%;
		float: left;
		border: 1px solid @border-color;
		margin-top: -30px;
		padding: 5px;
	}
}
span.wpcf7-not-valid-tip{
	top: 2px;
	left: 2px;
	width: auto;
	border: 0;
	color: @color;
}
/* ==========================================================================
	Content
   ========================================================================== */
.pager li > a, .pager li > span{
	color: @body-color;
	background-image: linear-gradient(to bottom, #FFFFFF, lighten(@border-color, 15));
  	background-image: -o-linear-gradient(to bottom, #FFFFFF, lighten(@border-color, 15));
	background-image: -moz-linear-gradient(to bottom, #FFFFFF, lighten(@border-color, 15));
	background-image: -webkit-linear-gradient(to bottom, #FFFFFF, lighten(@border-color, 15));
	background-image: -ms-linear-gradient(to bottom, #FFFFFF, lighten(@border-color, 15));
}
.pager li > a:hover,
.pager li > a:focus {
	background: #fff;
	color: @color;
}
.entry{
	.entry-summary{  
		margin-bottom: 20px;
	}
	.entry-footer .btn{
		&:hover{
			color: @color;
			background: #fff;
		}
	}
}
/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
	.widget{
		margin-bottom: @baseLineHeight;
	}
}
.sidebar-above.widget-last{
	margin-bottom: 60px;
}
.sidebar-above {
	margin-bottom: 25px;
	& h3, h4, h5, h6 {
		font-weight: normal;
	}
	.btn {
		color: @a-color;
		padding-left: 5px;
		&:hover {
			color: @color;
			background: linear-gradient(to bottom, #FFFFFF, darken(#fff, 5));
			background: -o-linear-gradient(to bottom, #FFFFFF, darken(#fff, 5));
			background: -moz-linear-gradient(to bottom, #FFFFFF, darken(#fff, 5));
			background: -webkit-linear-gradient(to bottom, #FFFFFF, darken(#fff, 5));
			background: -ms-linear-gradient(to bottom, #FFFFFF, darken(#fff, 5));
		}
	}
}
.sidebar-bottom {
	position: relative;
	h3{
	margin: 20px 0 10px;
	}
	.btn {
		color: @body-color;
		margin-top: 20px;
		padding: 7px 15px;
		&:hover {
			color: @body-color;
			text-decoration: none;
		} 
	}
	.widget {
		margin-bottom: 25px;
	}
	.textwidget{
		margin-left: 10px;
	}
	.widget {
		.widget-inner{
			padding-left: 20px;
			.rtl &{
				padding: 0 20px 0 0;
			}
		}
		&.widget-first{
			.widget-inner{
				padding-left: 0;
				.rtl &{
					padding-right: 0;
				}
			}
			&:after{
				display: none;
			}
		}
		&:after{
			content: "";
			position: absolute;
			top: 0;
			bottom: 0;
			display: block;
			width: 1px;
			background: desaturate(darken(@color, 15%), 22%);	
		}
	}
}
.main .widget h3{
	border: 0;
	box-shadow: 0 0 0;
	&:after{
		border: 0;
		margin: 0;
	}
}
.widget h3{
	font-size: 30px;
	font-weight: normal;
	border-bottom: 1px inset darken(@border-color, 30);
	box-shadow: 0 1px 0px #fff;
	&:after{
		border-bottom: 2px solid darken(@border-color, 10);
		content: "";
		margin: 10px 0 3px;
		display: block;
	}
}
.ya-categories{
	ul li{
		color: @body-color;
		&:hover{ 
			color: @color;
		}
		a{
			color: @body-color;
			&:hover{
				color: @color;
			}
		}
	}
}	


/* ==========================================================================
   Posts
   ========================================================================== */

.hentry header { }
.hentry time { }
.hentry .byline { }
.hentry .entry-content { }
.hentry footer { }
.rtl {
	.social-share-item{
		float: right;
	}
	.social-share-fb{
		margin: 0;
	}
	.social-share-linkedin{
		margin-right: 20px;
	}
}


/* ==========================================================================
   Footer
   ========================================================================== */
.footer{
	color: #f5f5f5;
	a {
		color: #f5f5f5;
		&:hover{
			color: #fff;
			text-decoration: underline;
		}
	}
	a.close{
		color: @body-color;
	}
	.sidebar-bottom{
		background: desaturate(darken(@color, 20%),4%);
		.widget{
			h3{
				border: 0;
				box-shadow: 0 0 0;
				&:after{
					border: 0;
					margin: 0;
				}
			}
			.footer-contact{
				i{
					float: left;
					line-height: 10px;
					display: inline-block;
				}
				span{
					display: block;
					margin-left: 30px;
				}
			}
		}
	}

	.copyright{
		background: desaturate(darken(@color, 23%),5%);
		padding: 30px 0;
		.copyright-inner{
			float: left;
			p {
				margin: 0;
			}
			.rtl & {
				float: right;
			}
		}
		.sidebar-footer{
			float: right;
			.rtl & {
				float: left;
			}
		}
	}
}


/*Thumbnail Images*/

.entry-thumb, .widget-thumb{
	img {
		-webkit-animation-duration: 0.5s;
		-moz-animation-duration: 0.5s;
		-o-animation-duration: 0.5s;
	 	animation-duration: 0.5s;
		-webkit-animation-fill-mode: both;
	   	-moz-animation-fill-mode: both;
	 	-o-animation-fill-mode: both;
	  	animation-fill-mode: both;
	  	display: inline-block;
	  	width: 100%;
	}
	
	&:hover img {
/*		-webkit-animation-name: tada;*/
/*		-moz-animation-name: tada;*/
/*		-o-animation-name: tadas;*/
/*		animation-name: tada;*/
	}
}
@-webkit-keyframes tada {
	0% {-webkit-transform: scale(1);}	
	10%, 20% {-webkit-transform: scale(0.9) rotate(-3deg);}
	30%, 50%, 70%, 90% {-webkit-transform: scale(1.1) rotate(3deg);}
	40%, 60%, 80% {-webkit-transform: scale(1.1) rotate(-3deg);}
	100% {-webkit-transform: scale(1) rotate(0);}
}

@-moz-keyframes tada {
	0% {-moz-transform: scale(1);}	
	10%, 20% {-moz-transform: scale(0.9) rotate(-3deg);}
	30%, 50%, 70%, 90% {-moz-transform: scale(1.2) rotate(3deg);}
	40%, 60%, 80% {-moz-transform: scale(1.2) rotate(-3deg);}
	100% {-moz-transform: scale(1) rotate(0);}
}

@-o-keyframes tada {
	0% {-o-transform: scale(1);}	
	10%, 20% {-o-transform: scale(0.9) rotate(-3deg);}
	30%, 50%, 70%, 90% {-o-transform: scale(1.1) rotate(3deg);}
	40%, 60%, 80% {-o-transform: scale(1.1) rotate(-3deg);}
	100% {-o-transform: scale(1) rotate(0);}
}

@keyframes tada {
	0% {transform: scale(1);}	
	10%, 20% {transform: scale(0.9) rotate(-3deg);}
	30%, 50%, 70%, 90% {transform: scale(1.1) rotate(3deg);}
	40%, 60%, 80% {transform: scale(1.1) rotate(-3deg);}
	100% {transform: scale(1) rotate(0);}
}
/*-----------------------*/


/* Images in content post*/
.thumbnail{
	max-width: 100%;
}
.size-full {
    width:100%;
    height:auto;
    margin:0 0 30px 0;
}
.alignleft {
    float: left;
    margin:0 15px 30px 0;
    .rtl &{
    	float: right;
    	margin: 0 0 30px 15px;
    }
}
.aligncenter {
    display: block;
    margin: 0 auto 30px auto;
}
.alignright {
    float: right;
    margin:0 0 30px 15px;
    .rtl &{
    	float: left;
    	margin: 0 15px 30px 0;
    }
}
.alignnone {
    float: none;
    display:block;
    margin:0 0 30px 0;
}

p .size-full {
    width: auto;
    height:auto;
    margin:5px 0 30px 0;
}
p .alignleft {
    float: left;
    margin:5px 15px 30px 0;
    .rtl &{
    	float: right;
    	margin: 5px 0 30px 15px; 
    }
}
p .aligncenter {
    display: block;
    margin: 5px auto 30px auto;
}
p .alignright {
    float: right;
    margin:5px 0 30px 15px;
    .rtl &{
     	float: left;
     	margin: 5px 15px 30px 0;
    }
}
p .alignnone {
    float: none;
    display:block;
    margin:5px 0 30px 0;
}
figure .size-full{
	margin: 0;
}
/*-------------------------------*/

