body {
    margin:0px !important;
    font-family:'Roboto' !important;
    font-size:14px;
    background:#ECEFF1;
}

h1,h2,h3,h4,h5,h6 {
    font-weight:normal;
}

a {
    color: #3B71CA;
}

.logo {
	width:70px;
	filter: invert(1);
	text-align: center;
	margin:15px auto 0px;
	opacity:1;
}

.row {
 display: grid;
 margin: 0px auto;
 grid-template-rows: 100px 1fr ;
 grid-template-columns: 190px 2fr;
 grid-gap: 0px;
 max-width: 1140px;
 height: 100vh;
 justify-items: center;
 justify-content: space-between;
 grid-template-areas:
 "hello exit"
 "nav article"; 
}

.hello{
grid-area: hello;
background: #37474F;
    color:white;
    width:100%;
box-sizing:border-box;
	text-align: center;
}

.hello a {
    color:white;
}

.exit {
grid-area: exit;
width:100%;
background: rgb(255,255,255);
background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(236,239,241,1) 100%);
box-sizing:border-box;

	display:grid;
	grid-template-columns: 2fr 2fr;
	grid-template-areas:
 "login logout";
	padding:10px 5% 0px;
}

.login {
	grid-area: login;
}

.logout {
	grid-area: logout;
	
text-align:right;
}

.exit a {
    color:#333;
}

.nav{
grid-area: nav;
background:#37474F;
width:100%;

}

.nav ul {
    padding:0px;
	list-style-type: none;
	margin:0px;
}

.nav ul li {
    width: 100%;
    padding: 10px 0px 10px 33px;
    box-sizing: border-box; 
	background: rgb(55,71,79);
    background: linear-gradient(0deg, rgba(55,71,79,0) 0%, rgba(0,0,0,0.1) 100%);
}

.nav ul li:before {
	content:"";
	color:white;
	padding-right:7px;
	font-size:18px;
}

.nav ul li.active {
}

.nav ul li a {
    color:#CFD8DC;
	text-decoration:none;
}

.ico {
	filter: invert(1);
	width:17px;
	float:left;
	padding-top:3px;
}

.article{
    grid-area: article;
    height: 100%;
    padding: 0px 5% 150px;
    background: white;
    width: 100%;
    box-sizing: border-box;
}

h1 {
	padding-top:0px;
	margin-top:0px;
	margin-bottom: 30px;
}

.box {
    height: auto;
	border-radius:3px;
    padding: 10px 30px 30px;
    background: #ECEFF1;
    width: 100%; 
    box-sizing: border-box;
    margin-top:30px;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0px;
    justify-content: space-between;
    grid-template-areas:
    "name name"
    "link link"
    "buttons delete";
}

.box a {
	color:#3B71CA;
}

    
.name {
   grid-area: name; 
}

.link {
   grid-area: link; 
   padding-bottom:30px;
}

.buttons {
   grid-area: buttons; 
}

.delete {
   grid-area: delete; 
   text-align:right;
}

.add_button {
	font-family:'Roboto';
   margin-top:30px;
   display:block;
	background:#607D8B;
	color:white;
	border:0px;
	border-radius:3px;
	padding:10px 0px;
	border-bottom:2px solid #455A64;
	border-right:2px solid #455A64;
	text-decoration:none;
	text-align:center;
	text-transform:uppercase;
}

.add_button:hover {
	cursor:pointer;
	opacity:0.9;
}

/* Кнопки с иконками */

.button {
  font: 13px Roboto;
  text-decoration: none;
  background-color: #f5f5f5;
  color: #333333 !important;
  padding: 5px 9px 5px 9px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid gray;
  border-bottom: 1px solid gray;
  border-left: 1px solid #CCCCCC;
	border-radius:3px;
	position:relative;
}

.button {
	padding-left:23px;
}

.button:before {
  content: "";
  left:5px;
  top:5px;
  /* В любом случае необходим, даже пустой. Иначе не будет работать */
  position:absolute;
  width: 15px;
  height: 15px;
  background-size: 15px 15px;
}

.button.delete:before {
  background-image: url('../img/bin.svg');
}

.button.edit:before {
  background-image: url('../img/edit.svg');
}

.button.kod:before {
  background-image: url('../img/kod.svg');
}

/* Линки с иконками */

/* Форма */

input, select {
    width:100%;
    padding:10px;
    margin:10px 0px 15px; 
    box-sizing:border-box;
	border:1px solid #999;
	border-radius:3px;
	font-family:'Roboto';
	-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}



/* Табсы */

.tabs {
      font-size: 0;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto; 
      margin-top:10px;
    }

    .tabs>input[type="radio"] {
      display: none;
    }

    .tabs>div {
      /* скрыть контент по умолчанию */
      display: none;
      border: 1px solid #999;
      padding: 10px 15px 15px;
      font-size: 16px;
	  border-bottom-left-radius:3px;
	  border-bottom-right-radius:3px;
    }

    /* отобразить контент, связанный с вабранной радиокнопкой (input type="radio") */
    #tab-btn-1:checked~#content-1,
    #tab-btn-2:checked~#content-2,
    #tab-btn-3:checked~#content-3 {
      display: block;
    }

    .tabs>label {
      display: inline-block;
      text-align: center;
      vertical-align: middle;
      user-select: none;
      background-color: #f5f5f5;
      border: 1px solid #999;;
      padding: 7px 15px;
      font-size: 14px;
      line-height: 1.5;
      transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
      cursor: pointer;
      position: relative;
      top: 1px;
    }

    .tabs>label:not(:first-of-type) {
      border-left: none;
	  border-top-right-radius: 3px;
    }

    .tabs>input[type="radio"]:checked+label {
      background-color: #fff;
      border-bottom: 1px solid #fff;
	  border-top-left-radius: 3px;
    }

	.tabs>input[type="radio"]:not(:first-of-type):checked+label {
      background-color: #fff;
      border-bottom: 1px solid #fff;
	  border-top-left-radius: 0px;
    }

	.tabs>label:first-of-type {
	  border-top-left-radius: 3px;
    }
    




/* Радиобаттоны */

div.columns {
  display: flex;
  align-items: flex-start;
  margin-bottom: 5px;
  box-sizing:border-box;
  justify-content: space-around;
}

div.columns label {
  margin-right: 15px;
  line-height: 32px;
  text-align:center;
  
}

div.columns label:hover, div.columns input:hover {
    cursor:pointer;
}


div.columns input {
  text-align:center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-top:7px;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #999;
  transition: 0.2s all linear;
  outline: none;
  top: 4px;
}

div.columns input:checked {
  border: 2px solid #253B42;
  background:#253B42;
}


div.columns img {
	width:100%;
	border-radius:3px;
}

div.columns label:last-child {
	margin-right:0px;
}

.widget {
    width:100%;
    background:#f5f5f5;
}

.widget p {
    padding:25px 25px 25px;
    line-height:25px;
}

.widget-links {
    padding:10px 25px 25px;
}


.code-widget {
    width:100%;
    background:#f5f5f5;
    padding:25px 25px 25px;
    box-sizing:border-box;
    line-height:25px;
    font-size:14px;
}

.code-widget textarea {
    height:150px;
}

.code-widget p {
    padding:25px 25px 0px;
}

.code-link {
    margin-top:15px;
    display:block;
}

#content-2 {
    padding-bottom:0px;
}

/* TEXTAREA */

textarea {
	outline: none;
	-moz-appearance: none;
	border: 0px solid #999; /* указание этого свойства также удалит обводку в FireFox */
	width:100%;
	font-family:'Roboto';
	background:transparent;
	line-height:25px;
	font-size:14px;
	resize: none;
	border-radius:3px;
}

/* SOGLASIE */

#soglasie {
	height:150px;
}

.soglasie {
    width: auto;
    margin-bottom: -7px;
    text-align: left;
}

.soglasie-label {
    font-size:14px;
    text-align:left;
}

xmp {
    margin:0px;
}

input#check {
   text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-top: 7px;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    border: 2px solid #999;
    transition: 0.2s all linear;
    outline: none;
}

.checked {
    border: 2px solid #253B42 !important;
    background: #253B42;
}

.soglasie-label, .soglasie-label:hover, input#check:hover {
	cursor:pointer;
	color:#333;
}
/* Новые стили для инпута и селектов */
