/**
 * CSS styles for forms generated by yiic.
 *
 * The styles can be applied to the following form structure:
 *
 * <div class="form">
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row buttons">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 * </div>
 *
 * The above code will render the labels and input fields in separate lines.
 * In order to render them in the same line, please use the "wide" form as follows,
 *
 * <div class="wide form">
 *     ......
 * </div>
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright Copyright &copy; 2008-2010 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

div.form
{
}

div.form input,
div.form textarea,
div.form select
{
	margin: 0.2em 0 0.5em 0;
	width: 620px;
}
div.form input[type="submit"]
{

	width: 200px;
}
div.form fieldset
{
	border: 1px solid #DDD;
	padding: 10px;
	margin: 0 0 10px 0;
    -moz-border-radius:7px;
}

div.form label
{

	font-size: 0.9em;
	display: block;
}

div.form .row
{
	margin: 5px 0;
	position: relative;
	padding-right: 20px;
	clear: both;
	box-sizing: border-box;
}
div.form .row.row50
{
	width: 50%;
	display: inline-block;
	float: left;

}

label[for="Comment_agreement"]{
	margin-bottom: 20px;
}

div.form .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

div.form .note
{
	font-style: italic;
	font-size: 12px;
}

div.form span.required
{
	color: red;
}

div.form div.error label,
div.form label.error,
div.form span.error
{
	color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error
{
	background: #FEE;
	border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success
{
	background: #E6EFC2;
	border-color: #C6D880;
}


div.form .errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
}

div.form .errorMessage
{
	color: red;
	font-size: 0.9em;
}

div.form .errorSummary p
{
	margin: 0;
	padding: 5px;
}

div.form .errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

div.wide.form label
{
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 100px;
}

div.wide.form .row
{
	clear: left;
}

div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage
{
	clear: left;
	padding-left: 110px;
}

.row .left {
	width: 180px;
	float: left;
}

.form .row .form-title {
	padding: 0px;
	margin: 20px 0px 6px;
}


.captcha a{
	width: 120px;
	display: block;
	text-indent: 20px;
}

.captcha .left {
	width: auto;
}

.captcha .verify-field {
	margin-top: 16px;
	width: 200px;
}

.captcha .verify {
	float: left;
}

/*

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


#bid-form #Bid_author_name, #bid-form #Bid_author_email, #bid-form #Bid_comment, #bid-form  #Bid_verifyCode, #Bid_title, #Bid_author_phone, #Comment_verifyCode, #Bid_description,#comment-form #Comment_author_name, #comment-form #Comment_author_email, #Comment_comment, #Comment-form #Comment_comment, #Comment-form  #Comment_verifyCode, #Comment_title, #Comment_author_phone, #Comment_description{
	max-width:100%;
	border: 1px solid #F8D2C0;
	box-sizing: border-box;

}

#Comment_comment{
	max-width:100%;
	width: 100%;
}

#bid-form #Bid_author_name, #bid-form #Bid_author_email, #bid-form #Bid_comment, #bid-form  #Bid_verifyCode, #Bid_title, #Bid_author_phone, #Comment_verifyCode, #Bid_description,#comment-form #Comment_author_name, #comment-form #Comment_author_email, #Comment-form #Comment_comment, #Comment-form  #Comment_verifyCode, #Comment_title, #Comment_author_phone, #Comment_description{
  padding: 10px;
  font-size: 15px;
}

.captcha .captcha{
  margin-left: 5px;
  margin-top: 0;
}

.Comment_verifyCode{

}

#bid-form #Bid_verifyCode,  #Comment_verifyCode{
  margin-left: 10px;
}

#comment-form input[type="submit"]{
	padding: 8px;
	margin-left: 10px;
	width: 115px;
	background: #fff;
	border: 1px solid #F8D2C0;
	color: #766;
	float: none;
	cursor: pointer;
	transition: .3s;
}

#Bid_verifyCode, #Comment_verifyCode{
	color: #49B4EA;
	text-align: center;
	margin-top: 5px;
}

.buttons{
	max-width: 400px;
	text-align: left;
}

input[type="submit"]{

}

input[type="submit"]:hover{
	background: #FFA722 !important;
	color: #fff !important;
}


.tabs {
  min-width: 320px;
  padding: 0px;
  margin: 0 auto; 
}
/* стили секций с содержанием */
section {
  display: none;
  padding: 15px;
  background: #fff;
  border: 1px solid #ddd;
}
.tabs input {
  display: none;
}
/* стили вкладок (табов) */
.tabs label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  text-align: center;
  color: #7d7b7b;
  border: 1px solid #ddd;
  background: #f1f1f1;
  border-radius: 3px 3px 0 0;
  font-size: 15px;
  text-transform: uppercase;
  font-family: 'Roboto Slab';
}
/* шрифт-иконки от Font Awesome в формате Unicode */
.tabs label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}
/* изменения стиля заголовков вкладок при наведении */
.tabs label:hover {
  color: #888;
  cursor: pointer;
}
/* стили для активной вкладки */
.tabs input:checked + label {
  color: #333;
  border: 1px solid #ddd;
  border-top: 1px solid #009933;
  border-bottom: 1px solid #fff;
  background: #fff;

}
.tabs .gallery
{
	text-align: left
}
/* активация секций с помощью переключателя :checked */
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
  display: block;
}
/* медиа запросы для различных типов носителей */  
@media screen and (max-width: 680px) {
  .tabs label {
    /*font-size: 0;*/
    display: block;
  }
 
  .tabs label:before {
    margin: 0;
    font-size: 18px;
  }
}
@media screen and (max-width: 400px) {
  .tabs label {
    padding: 15px;
  }
	.tabs {
	    min-width: 280px;
	}
}
