/*
*  CSS Search Form, Buttons, Scroll to Top, Menu Animations
*/

@import "variables.less";

/*** Main Menu Animations ***/
@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translateY(20px);}
	100%{opacity:1;-webkit-transform:translateY(0);}
}
@-moz-keyframes fadeInUp{0%{opacity:0;-moz-transform:translateY(20px);}
	100%{opacity:1;-moz-transform:translateY(0);}
}
@-o-keyframes fadeInUp{0%{opacity:0;-o-transform:translateY(20px);}
	100%{opacity:1;-o-transform:translateY(0);}
}
@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px);}
	100%{opacity:1;transform:translateY(0);}
}
/*** Offcanvas (Mobile) Menu Animations ***/
@-webkit-keyframes slide-right {
    0%   { left: -100%; }
	100% { left: 0px; }
}
@keyframes slide-right {
    0%   { left: -100%; }
	100% { left: 0px; }
}
@-webkit-keyframes slide-left {
    0%   {left: 0px;}
	100% { left: -100%; }
}
@keyframes slide-left {
    0%   { left: 0px; }
	100% { left: -100%; }
}

button, input, select, textarea {
    line-height: normal;
	font-size: 100%;
    margin: 0;
    vertical-align: baseline;
}
input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    *width: 13px;
}
textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted \9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}
small {
    font-size: 75%;
}
.article.transformed {
	perspective: 1px;
	transform-style: preserve-3d;
	overflow-x: hidden;
	height: 100%;
	margin: 0;
	padding: 0;
}

/*
 * Main Menu Top Items Border animation on Hover 
*/
.borderli(@menu-border-hover) when (@menu-border-hover = top), (@menu-border-hover = bottom) {
	transition: none;
}
.borderelem(@menu-border-hover) when (@menu-border-hover = top), (@menu-border-hover = bottom) {
	overflow: hidden;
	-webkit-transition: border 150ms ease-in-out, background-color 150ms ease-in-out;
	-moz-transition: border 150ms ease-in-out, background-color 150ms ease-in-out;
	-o-transition: border 150ms ease-in-out, background-color 150ms ease-in-out;
	-ms-transition: border 150ms ease-in-out, background-color 150ms ease-in-out;
	transition: border 150ms ease-in-out, background-color 150ms ease-in-out;
}
.borderafter(@menu-border-hover) when (@menu-border-hover = top), (@menu-border-hover = bottom) {
	content: '';
    display: block;
    width: 0px;
    height: @menu-height-hover;
    background: @menu-bckgr-hover;
    margin-top: 0px;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -ms-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    position: absolute;
	left: 0;
}
.borderafter(@menu-border-hover) when (@menu-border-hover = top) {
    top: 0px;
}
.borderafter(@menu-border-hover) when (@menu-border-hover = bottom) {
    bottom: 0px;
}
.borderafterhover(@menu-border-hover) when (@menu-border-hover = top), (@menu-border-hover = bottom) {
	transition-delay: .2s;
	-webkit-transition-delay: .2s;
	-moz-transition-delay: .2s;
	-ms-transition-delay: .2s;
	-o-transition-delay: .2s;
	width:100%;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-ms-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
}
#main-navbar ul.animated > li {
	.borderli(@menu-border-hover);
}
#main-navbar ul.animated > li > a {
  .borderelem(@menu-border-hover);
}
#main-navbar ul.animated > li > a::after {
  .borderafter(@menu-border-hover);
}
#main-navbar ul.animated > li:hover > a::after {
  .borderafterhover(@menu-border-hover);
}

/*
 * Search Form 
*/
div.search {
	text-align: @search-align;
	padding-right: 0px;
}
input.search-form {
    background: @search-bgr;
    width: @search-input-width;
	height: @search-input-height;
    padding: 0 10px;
    color: @font-color;
	line-height: @search-input-height;
	border: 1px solid rgba(0,0,0,.1);
	border-bottom-color: rgba(0,0,0,.3);
	border-radius: @border-radius;
    -webkit-transition: all 400ms;
    -moz-transition: all 400ms;
    -ms-transition: all 400ms;
    -o-transition: all 400ms;
    transition: all 400ms;
}
input.search-form:hover {
    width: @search-input-width-hover;
}
.search-icon {
    display: inline-block;
    background-image: url(../images/find.png);
    background-size: 20px 20px;
	width: 20px;
	height: 20px;
	margin-left: -28px;
	vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
button.search-icon {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

/*
 *  CSS Buttons
 */
 .css-button {
    margin: 0;
    border: none;
    overflow: visible;
    font: inherit;
    color: #666;
    text-transform: none;
    display: inline-block;
    box-sizing: border-box;
    padding: .5em 1em;
    background: #f7f7f7;
    white-space: nowrap;
	vertical-align: middle;
    line-height: normal;
    font-size: 100%;
    text-decoration: none;
    text-align: center;
    border: 1px solid rgba(0,0,0,.2);
    border-bottom-color: rgba(0,0,0,.3);
	background-color: #eee;
	*background-color: #fff;
    background-origin: border-box;
	background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#eeeeee));
	background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
	background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
	background-image: linear-gradient(to bottom, #ffffff, #eeeeee);
	background-repeat: repeat-x;
	border-color: #eeeeee #eeeeee #ffffff;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    border-radius: 4px;
    text-shadow: 0 1px 0 #fff;
	cursor: pointer;
}
.css-button:hover, .css-button:focus {
    color: #333333;
    text-decoration: none;
    background-position: 0 -15px;
	background-color: #eee;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}
.css-button.xsmall {
	font-size: 70%;
	padding: .3em .8em;
	line-height: 1.5;
}
.css-button.small {
	font-size: 85%;
}
.css-button.large {
	font-size: 110%;
}
.css-button.xlarge {
	font-size: 125%;
}
.css-button-primary,
.css-button.primary,
.css-button.active,
.css-button.success,
.css-button.danger,
.css-button.warning {
	color: white !important;
	border-radius: 4px;
	text-shadow: 0 -1px 0 rgba(0,0,0,.2);
}
.css-button-primary, .css-button.active {
    background-color: #009dd8;
    background-image: -webkit-linear-gradient(top,#00b4f5,#008dc5);
    background-image: linear-gradient(to bottom,#00b4f5,#008dc5);
    border-color: rgba(0,0,0,.2);
    border-bottom-color: rgba(0,0,0,.4);
}
.css-button.active {
	color: white;
}
.css-button.active:hover, .css-button.active:focus {
    background-color: #00aff2 !important;
    background-image: none !important;
}
.css-button.warning:active, .css-button.warning.active {
  background-color: #c67605;
}
.css-button.danger:active, .css-button.danger.active {
  background-color: #942a25 !important;
}
.css-button.success:active, .css-button.success.active {
  background-color: #408140 !important;
}
.css-button.disabled {
	border-radius: 4px;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
	color: #999;
	text-shadow: unset;
	cursor: not-allowed;
	background-color: #F5F5F5 !important;
	*background-color: #FAFAFA !important;
	background-image: -moz-linear-gradient(top, #F5F5F5, #FAFAFA);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F5F5F5), to(#FAFAFA));
	background-image: -webkit-linear-gradient(top, #F5F5F5, #FAFAFA);
	background-image: -o-linear-gradient(top, #F5F5F5, #FAFAFA);
	background-image: linear-gradient(to bottom, #F5F5F5, #FAFAFA);
	background-repeat: repeat-x;
	border-color: #FAFAFA #FAFAFA #F5F5F5;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F5F5F5', endColorstr='#FAFAFA', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.css-button.disabled:hover {
	background-color: #FAFAFA !important;
}


/*
 *  CSS Color Modifiers
 */
.primary, .success, .danger, .warning {
	color: white;
}
.primary {
    background-color: #009dd8 !important;
    background-image: -webkit-linear-gradient(top,#00b4f5,#008dc5) !important;
    background-image: linear-gradient(to bottom,#00b4f5,#008dc5) !important;
    border-color: rgba(0,0,0,.2);
    border-bottom-color: rgba(0,0,0,.4);
}
.primary:focus, .primary:hover {
    background-color: #00aff2 !important;
    background-image: none !important;
}
.warning {
  background-color: #faa732 !important;
  *background-color: #f89406 !important;
  background-image: -moz-linear-gradient(top, #fbb450, #f89406) !important;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)) !important;
  background-image: -webkit-linear-gradient(top, #fbb450, #f89406) !important;
  background-image: -o-linear-gradient(top, #fbb450, #f89406) !important;
  background-image: linear-gradient(to bottom, #fbb450, #f89406) !important;
  background-repeat: repeat-x;
  border-color: #f89406 #f89406 #ad6704;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false) !important;
}
.warning:hover, .warning:focus {
  background-color: #f89406 !important;
  *background-color: #df8505 !important;
}
.danger {
  background-color: #da4f49 !important;
  *background-color: #bd362f !important;
  background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f) !important;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)) !important;
  background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f) !important;
  background-image: -o-linear-gradient(top, #ee5f5b, #bd362f) !important;
  background-image: linear-gradient(to bottom, #ee5f5b, #bd362f) !important;
  background-repeat: repeat-x;
  border-color: #bd362f #bd362f #802420;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false) !important;
}
.danger:hover, .danger:focus {
  background-color: #bd362f !important;
  *background-color: #a9302a !important;
}
.success {
  background-color: #5bb75b !important;
  *background-color: #51a351 !important;
  background-image: -moz-linear-gradient(top, #62c462, #51a351) !important;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)) !important;
  background-image: -webkit-linear-gradient(top, #62c462, #51a351) !important;
  background-image: -o-linear-gradient(top, #62c462, #51a351) !important;
  background-image: linear-gradient(to bottom, #62c462, #51a351) !important;
  background-repeat: repeat-x;
  border-color: #51a351 #51a351 #387038;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false) !important;
}
.success:hover, .success:focus, .success:active, .success.active {
  background-color: #51a351 !important;
  *background-color: #499249 !important;
}
.primary:focus, .success:focus, .danger:focus, .warning:focus,
.primary:hover, .success:hover, .danger:hover, .warning:hover {
	color: white;
}
nav .navbar-nav > li.primary, nav .navbar-nav > li.success, nav .navbar-nav > li.danger, nav .navbar-nav > li.warning {
	background-position: 0 -15px;
}
nav .navbar-nav > li.primary > a, nav .navbar-nav > li.success > a,
nav .navbar-nav > li.danger > a, nav .navbar-nav > li.warning > a,
.nav-context > li.primary > a, .nav-context > li.success > a,
.nav-context > li.danger > a, .nav-context > li.warning > a {
	color: inherit;
	background-color: inherit;
	box-shadow: none;
}
nav .navbar-nav i.icon, .nav-offcanvas i.icon, .nav-context i.icon {
	padding-right: 4px;
}

/*
 *  Skroll to Page Top
 */
#scroll-top {
    position: absolute;
	left: 94%;
	width: 0;
	height: 0;
	border-top: 0;
	border-bottom: 20px solid #666666;
	border-left: 20px dashed transparent;
	border-right: 20px dashed transparent;
	border-style: inset;
	opacity: 0.6;
}
#scroll-top:hover {
	opacity: 1;
}
.phone-number {
    position: relative;
    top: 20px;
}

/*
 *  Extend Inputs Appereance
 */
input.input-extended, textarea.input-extended {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: @input-font-size;
    line-height: 1.42857143;
    color: @input-font-color;
    background-color: @input-bgr-color;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: @border-radius;
    -webkit-box-shadow: @input-shadow;
    box-shadow: @input-shadow;
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
input.input-extended:focus, textarea.input-extended:focus {
    border-color: @input-bgr-focus;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px @input-shad-focus;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px @input-shad-focus;
}
input.input-extended.input-auto, textarea.input-extended.input-auto {
	width: auto;
}
input.input-extended.input-lg, textarea.input-extended.input-lg {
	font-size: 110%;
}
input.input-extended.input-sm, textarea.input-extended.input-sm {
	font-size: 80%;
	padding: 4px 8px;
}
input.input-extended.input-sx, textarea.input-extended.input-sx {
	font-size: 70%;
	padding: 2px 6px;
}

/*
 *  Google Maps + Contact Form
 */
#map {
    width: auto;
    height: auto;
	position: relative;
}
#map.gmap-full-breadth {
    width: 100%;
}
#map.gmap-full-breadth.on-top {
	top: -26px;
}
#map.gmap-full-breadth img {
    width: inherit;
    height: inherit;
	z-index: 10;
}
#map.gmap-on-side img {
    width: 100%;
    height: auto;
	z-index: 10;
}
.contact-form {
    overflow: hidden;
}
.contact-form .form-group {
    margin-bottom: 15px;
}
.contact-form .form-group .input-field {
    width: inherit;
	margin-top: 4px;
}
.contact-form .form-group .input-field .form-control {
    /*width: 100%;*/
}
.captcha-form control-label {
    float: left;
    clear: left;
    padding-top: 2px;
    text-align: right;
    font-size: 105%;
    font-size: 12px;
}
input:required:invalid, input:focus:invalid, textarea:required:invalid, textarea:focus:invalid {
    width: auto;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAT1JREFUeNpi/P//PwMpgImBRMACY/x7/uDX39sXt/67cMoDyOVgMjBjYFbV/8kkqcCBrIER5KS/967s+rmkXxzI5wJiRSBm/v8P7NTfHHFFl5mVdIzhGv4+u///x+xmuAlcdXPB9KeqeLgYd3bDU2ZpRRmwH4DOeAI07QXIRKipYPD35184/nn17CO4p/+cOfjl76+/X4GYAYThGn7/g+Mfh/ZZwjUA/aABpJVhpv6+dQUjZP78Z0YEK7OezS2gwltg64GmfTu6i+HL+mUMP34wgvGvL78ZOEysf8M1sGgZvQIqfA1SDAL8iUUMPIFRQLf+AmMQ4DQ0vYYSrL9vXDz2sq9LFsiX4dLRA0t8OX0SHKzi5bXf2HUMBVA0gN356N7p7xdOS3w5fAgcfNxWtn+BJi9gVVBOQfYPQIABABvRq3BwGT3OAAAAAElFTkSuQmCC");
    background-position: right top;
    background-repeat: no-repeat;
    box-shadow: none;
}
.captcha-form strong {
    color: #C00;
    padding: 4px 6px 0 2px;
}