﻿input, textarea, select {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */	
		
	border:1px solid #ccc;
	border-radius:3px;
	
	height:32px;
	font-size:16px;
	color:#333;
	padding-left:8px;
	margin-top:3px;
}

.selectize-input > input { 
	height:auto !important;
}

input:focus, textarea:focus, select:focus {
    outline: none !important;
    border-color: #f18f40;
    box-shadow: 0 0 10px #ffb77e;
}

textarea {
width:100%;
height:200px;
}

.fieldset {
	border: 1px solid #ccc;
	margin-top:10px;
	padding:10px 15px 15px 15px;
	margin-inline-start:0px;
	margin-inline-end:0px;
	border-radius:3px;
}

.button, input[type="button"], input[type="submit"] {
	display:-moz-inline-stack;
	display:inline-block;
	_overflow:hidden;
	zoom:1;
	*display:inline;
	vertical-align:top;
	text-align:center;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Для Firefox */	
    
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
	
	padding:7px 20px 10px 20px;
	font-size:16px;
	line-height:22px;
	border:1px #ccc solid;
	
	height:40px;
	background-color:#eee;
	background: linear-gradient(to top, #e4e4e4, #fefefe);
	
	border-radius:3px;
	color:#222;
	margin:0px;
	text-decoration:none;
	
	white-space:nowrap;
}


.button.small {
	height:24px;
	padding:0px 10px 2px 10px !important;
	font-size:14px;
}

.button:hover, input[type="button"]:hover, input[type="submit"]:hover {
	cursor:pointer;
	text-decoration:none;
	color:#000;
	border: 1px solid rgb(243, 203, 173);
	box-shadow:0px 1px 5px 3px #f4e7de;
}

button_disabled:hover, .button:disabled:hover {
	border:1px #ddd solid;
	cursor:default;
	color:#999;
	box-shadow:none;
}

.structure_right .button {
	width:100%;
	
}

.button_disabled, .button.wbutton-disabled, .button:disabled {
	cursor:default;
	color:#999;
	border:1px #ddd solid;
	background-color:#777 !important;
}

.button_disabled:hover, .button.wbutton-disabled:hover {
	cursor:default;
	color:#999;
	border:1px #ddd solid;
	background-color:#777 !important;
	box-shadow:none;
}

/*
.structure_right .button {
	width:100%;
	background-color:#efe5de;
	color:#333;
	margin-bottom:1px;
	line-height:22px;
	border:none;
	
	-webkit-box-shadow: 0px 10px 5px -8px rgba(219,219,219,1);
	-moz-box-shadow: 0px 10px 5px -8px rgba(219,219,219,1);
	box-shadow: 0px 10px 5px -8px rgba(219,219,219,1);
}

.structure_right .button:hover {
	width:100%;
	background-color:#fff;
	color:#444;
	
	
}
*/

input:disabled {
	background-color:#aaa;
	cursor:default;
}

input:disabled:hover {
	background-color:#aaa !important;
}



div.browse-wrap {
        top:0;
        left:0;
        margin:5px 0 2px 0;
        cursor:pointer;
        overflow:hidden;
        padding:22px 10px;
        text-align:center;
        position:relative;
        background-color:#fff5dd;
        border:solid 1px #f18f40;}
    div.title {
        color:#f18f40;
        font-size:12px;
		line-height:18px;
        font-weight:bold;
        font-family:tahoma, arial, sans-serif;}
    input.w_upload-file {
        right:0;
        margin:0;
        bottom:0;
        padding:0;
        opacity:0;
        height:300px;
        outline:none;
        cursor:inherit;
        position:absolute;
        font-size:1000px !important;}
    span.w_upload-path {
        text-align: center;
        margin:20px;
        display:block;
        font-size: 80%;
        color:#3b5998;
        font-weight:bold;
        font-family:tahoma, arial, sans-serif;
}
