html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

a:focus {
	outline: none;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

.clearfix:before,
.clearfix:after,
.dl-horizontal dd:before,
.dl-horizontal dd:after,
.container:before,
.container:after,
.container-fluid:before,
.container-fluid:after,
.row:before,
.row:after,
.form-horizontal .form-group:before,
.form-horizontal .form-group:after,
.btn-toolbar:before,
.btn-toolbar:after,
.btn-group-vertical > .btn-group:before,
.btn-group-vertical > .btn-group:after,
.nav:before,
.nav:after,
.navbar:before,
.navbar:after,
.navbar-header:before,
.navbar-header:after,
.navbar-collapse:before,
.navbar-collapse:after,
.pager:before,
.pager:after,
.panel-body:before,
.panel-body:after,
.modal-footer:before,
.modal-footer:after {
	display: table;
	content: " ";
}
.clearfix:after,
.dl-horizontal dd:after,
.container:after,
.container-fluid:after,
.row:after,
.form-horizontal .form-group:after,
.btn-toolbar:after,
.btn-group-vertical > .btn-group:after,
.nav:after,
.navbar:after,
.navbar-header:after,
.navbar-collapse:after,
.pager:after,
.panel-body:after,
.modal-footer:after {
	clear: both;
}

.row {
	margin-right: -15px;
	margin-left: -15px;
}

.col-md-1,
.col-sm-1,
.col-md-1,
.col-lg-1,
.col-md-2,
.col-sm-2,
.col-md-2,
.col-lg-2,
.col-md-3,
.col-sm-3,
.col-md-3,
.col-lg-3,
.col-md-4,
.col-sm-4,
.col-md-4,
.col-lg-4,
.col-md-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-md-6,
.col-sm-6,
.col-md-6,
.col-lg-6,
.col-md-7,
.col-sm-7,
.col-md-7,
.col-lg-7,
.col-md-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-md-9,
.col-sm-9,
.col-md-9,
.col-lg-9,
.col-md-10,
.col-sm-10,
.col-md-10,
.col-lg-10,
.col-md-11,
.col-sm-11,
.col-md-11,
.col-lg-11,
.col-md-12,
.col-sm-12,
.col-md-12,
.col-lg-12 {
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}

body {
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	color: #444;
	margin: 0;
	padding: 0;
}

.container {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
	width: 1000px;
}

.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12 {
	float: left;
}

.col-md-12 {
	width: 100%;
}
.col-md-11 {
	width: 91.66666667%;
}
.col-md-10 {
	width: 83.33333333%;
}
.col-md-9 {
	width: 75%;
}
.col-md-8 {
	width: 66.66666667%;
}
.col-md-7 {
	width: 58.33333333%;
}
.col-md-6 {
	width: 50%;
}
.col-md-5 {
	width: 41.66666667%;
}
.col-md-4 {
	width: 33.33333333%;
}
.col-md-3 {
	width: 25%;
}
.col-md-2 {
	width: 16.66666667%;
}
.col-md-1 {
	width: 8.33333333%;
}

.key_chank, .ads_chank, .keywords_input {
	height: 150px;
}

input, textarea, button, select {
	width: 100%;
	border: 1px solid #dfdfdf;
}

.button {
	padding: 10px;
	text-transform: uppercase;
	cursor: pointer;
}

.container {
	margin-top: 20px;
}

.ads {
	opacity: 0;
	transition: all 0.4s ease 0s;
}
.ads {
	font-size: 13px;
	line-height: 17px;
}

.ads .title {
	margin-top: 10px;
	#font-size: 18px;
	color: #00c;
	font-weight: 400;
    line-height: 24px;
	position: relative;
}

.ads .desc {
	font-size: 12px;
}

.ads h3 {
	font-size: 14px;
}

.ads .length {
	float: left;
}

.count {
    display: table-cell;
    vertical-align: middle;
	padding-left: 10px;
	width: 36px;
	font-weight: 300;
}

.text {
    display: table-cell;
    width: 100%
}

.ad > div, .add_texts > div {
	padding: 0 5px;
	cursor: pointer;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	border-radius: 5px 5px 0 0;
	position: relative;
}

.ad > div:hover, .add_texts > div:hover {
	background: #efefef;
	
}

.add_texts {
	background: #fff none repeat scroll 0 0;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
    display: none;
    left: 0;
    position: absolute;
    z-index: 1000;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-radius: 0 0 5px 5px;
}

.ads .add_texts > div {
	margin-top: 0;
}

.ad > div.active {
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-radius: 5px 5px 0 0;
}

.ad > div.active .add_texts {
	display: block;
}

.add_texts .desc {
	padding-top: 5px;
}

.add_texts .choice {
	background: #b9e7c4;
}

.add_texts .choice:hover {
	background: #b9e7c4;
}

input {
	font-family: 'Roboto', sans-serif;
}

.ads_list .ad input {
	padding: 3px 0;
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	border: none;
	line-height: 17px;
}

.title.active > input {
    float: left;
    width: 93%;
}

.ads_list div.active > .text {
	display: none;
}

.export {
	padding: 5px;
	margin-top: 20px;
}

.modal {
	display: none;
	width: 300px;
}

.modal.add_key textarea {
	height: 200px;
}

.keys {
	margin-top: 10px;
}

.key {
    display: table;
    width: 100%;
	margin: 2px 0;
}

.key input {
	padding: 2px;
}

.overchar {
	color: red;
}

.block {
	background: #f8f8f8;
	border: 1px solid #e7e7e7;
	border-radius: 5px;
	padding-top: 15px;
	padding-bottom: 15px;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.15);
	margin-bottom: 30px;
}

.title_block {
	background: #fff none repeat scroll 0 0;
    border-radius: 0 0 60px;
    box-shadow: -2px -1px 4px rgba(0, 0, 0, 0.1) inset;
    clear: both;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 20px;
    margin-top: -15px;
    padding: 10px 10px 10px 20px;
    width: 50%;
}

input[type=text], textarea {
	padding: 10px 15px;
	line-height: 20px;
}

select {
	padding: 10px 10px;
	line-height: 20px;
}

label {
    display: table;
    #margin-top: -17px;
	font-weight: 300;
}

button, input[type="submit"] {
	background: #019cdb none repeat scroll 0 0;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
    color: #fff;
    display: inline-block;
    font-size: 14px;
    padding: 10px 20px;
	border-radius: 0;
	transition: all 0.2s ease 0s;
	text-transform: uppercase;
	text-align: center;
	border: medium none;
	text-decoration: none;
	cursor: pointer;
}

button:hover, input[type="submit"]:hover { 
	background: #31abdd none repeat scroll 0 0;
	box-shadow: 0 12px 15px 0 rgba(0,0,0,0.24);
	outline: none;
	text-decoration: none;
}

button:active, input[type="submit"]:active {
	text-decoration: none;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.keys input[type="text"] {
	padding: 5px 12px;
	color: #444;
}

.key > input {
    width: 93%;
}

.keys {
	max-height: 300px;
	overflow: auto;
	position: relative;
}

.block .col-md-6, .block .col-md-12 {
	margin-bottom: 10px;
}

.buttons {
	display: none;
	width: 87%;
}

.buttons .fa, .key .fa {
	font-size: 16px;
	padding: 4px;
	cursor: pointer;
	vertical-align: middle;
}


.key .checkbox:before, .buttons .fa.select_all:before {
	content: "\f096";
}

.key.selected .checkbox:before, .buttons .select_all.selected:before {
	content: "\f046";
}

.fa:hover {
	color: #019cdb;
}

.key.selected {
	background: #d8f4ff;
}

.select_all, .checkbox {
	width: 23px;
}

.remove_checked {
	float: right;
}

.prof {
	display: none;
}