@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
*{/*отказываемся от свойст агента*/
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html{
  font-size: 16px;
}
*:focus{
  outline: none;
}
a:focus, a:hover {
    text-decoration: none;
}
a,button{
	text-decoration:none;
	cursor: pointer;
}
table {border-spacing: 0;}
fieldset,img {border: 0;}
address,caption,cite,code,dfn,em,strong,th,var {
	font-weight: normal;
	font-style: normal;
}
strong{font-weight: bold;}
em{font-style: italic;}
ol,ul {list-style: none;}
caption,th {text-align: left;}

body{
  font: 100%/1.5em 'Open Sans', sans-serif;
  color: #000;
  min-width: 320px;
  -webkit-font-smoothing: antialiased; /*--гладкий текст на мобильных разрешениях(при увеличении текста)--*/
  -webkit-overflow-scrolling:touch; /*--задаем тач--*/
}
h1,h2,h3,h4,h5,h6{
  font-family:"Open Sans";
  font-weight: bold;
  color: #6d6b6d;
}
h1{font-size: 2em;}
h2{font-size: 1.5em;}
h3{font-size: 1.125em;}
h4{font-size: 1em;} /*16px */
h5{font-size: 1em; font-style: italic;}
p{font-size: 1em;}
*:focus{
  outline: none;
}
/*-----------------CUSTOM CSS--------------------
  *author: GV Group
  *email: gv.inc@mail.ru
*/
.smessage{
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
.stimer{
  font-size: 11px;
  text-align: center;
  margin-top: 30px;
}

.gv-modal{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    top: 0;
    left: 0;
}
.gv-modal .gv-modal-content{
  height: auto;
  background: #fff;
  padding: 10px;
  position: relative;
}

.gv-modal .gv-modal-content button.gv-btn-close{
  position: absolute;
  top: -5px;
  right: 0;
  border: none;
  font-size: 20px;
  background: transparent;
}
.gv-flex{ /*--родитель--*/
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -moz-box;
  display: flex;
  justify-content: center;
  /*--выравнивание по горизонтали--*/
  align-items: center;
  /*--по вертикали--*/
  flex-wrap: wrap;
  flex-direction:row;
}
.gv-flex-item{  /*--дочерний--*/
  /*flex-grow: 1;
  flex-shrink: 1;*/
  flex: 1 1 200px;
  /*--заменяет свойства выше на 1 общее--*/
}
.gv-hidden{ display: none;}
.gv-img img{
  width: 100%;
  height: auto;
}
.gv-bgi{
  background-repeat: no-repeat;
  background-size:contain;
  background-position: center;

}
.gv-title,.gv-desc{padding: 3px;}
.gv-desc h3,.gv-desc p{margin: 5px 0;}
.gv-btn a,.gv-btn button{
  padding: 9px;
  background-color: #00A9BC;
  border: 1px solid #019fb1;
  color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.95em;
    letter-spacing: 0.1px;
    transition: all 0.35s;
    -webkit-transition: all 0.35s;
}
.gv-btn a:hover,.gv-btn button:hover{
  background-color: #02909f;
  border: 1px solid #048694;
  color: #fff;


}

.gv-btn a:active,.gv-btn button:active{
  background-color: #02909f;
  border: 1px solid #048694;
  color: #fff;
}
.gv-btn a.active,.gv-btn button.active{
  background-color: red;
  border: 1px solid: red;
  color: #fff;
}

.gv-fgi input:not([type=submit]),.gv-fgi textarea,.gv-fgi select,
#objStyles > div.row.item.new > div.col-xs-12.col-sm-4.col-md-4.col-lg-4.name > p > input{
  width: 100%;
  height: 30px;
  padding: 5px;
  outline: none;
  border-radius: none;
  -webkit-border-radius: none;
  -moz-border-radius: none;
  -ms-border-radius: none;
  -o-border-radius: none;
  color: rgb(169, 173, 173);
  background-color: rgba(198, 198, 198, 0.17);
  border: 1px solid rgba(197, 200, 200, 0.47);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}
.gv-fgi input:focus,.gv-fgi textarea:focus,.gv-fgi select:focus,
#objStyles > div.row.item.new > div.col-xs-12.col-sm-4.col-md-4.col-lg-4.name > p > input:focus{
  outline: none;
}
.gv-fgi input:hover,.gv-fgi textarea:hover,.gv-fgi select:hover,
#objStyles > div.row.item.new > div.col-xs-12.col-sm-4.col-md-4.col-lg-4.name > p > input:hover{
  color: inherit;
  background-color: rgba(198, 198, 198, 0.17);
  border: 2px solid #84d5df;
  outline: none;
}
.gv-fgi.gv-btn input[type=submit]{
  padding: 5px;
  margin: 29px 0 0 0!important;
  background-color: #00A9BC;
  border: 1px solid #019fb1;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}
.gv-fgi.gv-btn input[type=submit]:hover{
  background-color: #02909f;
  border: 1px solid #048694;
  color: #fff;
}
.gv-fgi.gv-btn input[type=submit]:active{
  background-color: #02909f;
  border: 1px solid #048694;
  color: #fff;
}
.gv-fgi.gv-btn input[type=submit].active{
  background-color: red;
  border: 1px solid: red;
  color: #fff;
}

.error{
  color: #e8c7a4;
  padding: 0 4px;
}
/*---------------------------------------*/
header nav i{margin-right: 5px;}

#login form input{
  width: 100%;
  margin: 5px 0;
}

#login form .gv-title.gv-flex{
  justify-content: space-between;
  padding: 0;
}


#posts{
  margin-top: 50px;
}

#posts .row.gv-flex{
    align-items: stretch;
    justify-content: flex-start;
}

#posts .item-wrap{
  border: 2px solid #fff;
  width: 269px;
  padding: 15px;
  margin: 20px 10px;
  background-color: #fff;
  box-shadow: 2px 3px 2px 1px #e0e0e0;

}

#posts .item{
    flex-direction: column;
    padding: 15px;
    height: 100%;
    justify-content: space-between;
}


#posts .item .item-data{
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: baseline;
}

#posts .item .item-data i{margin-right: 10px;color: #6d6b6d;}
#posts .item .item-data p{margin: 10px 0; color: #8a8888;}

#posts .item-wrap .controls{
  position: absolute;
  text-transform: uppercase;
  right: 15px;
  top: 8px;
  letter-spacing: 0.99px;
  color: #ccc;
  font-size: 0.75em;
}

#posts .item-wrap .controls a{
  color: #9d9d9d;;
	margin: 0 4px;
  font-size: 20px;
}
#posts .item-wrap .controls a:hover{color:#6d6b6d;;}
#posts .item-wrap .controls a.del{font-size: 23px;}
#add-post .item{flex-direction: row;}
#add-post .item .item-data{
  align-items: center;
  flex-direction: column;
}
#add-post .item .item-data button i{font-size: 60px; margin: 0;}
#add-post .item .item-data button{border: none; background: transparent; padding: 15px; border-radius: 15px;}
#add-post .item .item-data button:hover,
#add-post .item .item-data button:active{
  box-shadow: inset 0px 0px 20px 0px rgba(0, 0, 0, 0.09);
}


#settings{
  background: #f0f0f0;
  padding: 20px 0;
}

#objStyles .add-item{
  cursor: pointer;
  transition: all .5s;
}

#objStyles .add-item:hover{
  color: #fff;
}

#objStyles .item{
  padding: 15px;
  position: relative;
  margin: 20px 0;
  background-color: #fff;
  box-shadow: 2px 3px 2px 1px #e0e0e0;;
}

#objStyles .item:first-child{
  border: none;
}

#objStyles .item .controls{
  position: absolute;
  right: 6px;
  top: 0px;
  font-size: 20px;px;
}
#objStyles .item div.controls button i{color: #ccc;transition: all 0.3s;
-webkit-transition: all 0.3s}
#objStyles .item div.controls button i:hover{color: #6d6b6d;}
#objStyles .item .controls button{
  border: none;
  background: transparent;
}

#objStyles h4{
  min-height: 30px;
}
#objStyles p{color: #adaaaa;cursor: pointer;}
#objStyles .color{
  width: 145px;
  height: 15px;
}
/*---------------HEADER---------------*/
header .navbar-inverse {
    background-color: #fff;
    box-shadow: 2px 3px 2px 1px #e0e0e0;
    border: none;
}
header .navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
    color: #fff;
    background-color: rgb(0, 169, 188);
}
header .navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:focus, .navbar-inverse .navbar-nav>.open>a:hover {
    color: #fff;
    background-color: rgb(2, 148, 165);
}
.dropdown-menu {border: none;}
header .navbar-inverse .navbar-nav>li>a:focus, .navbar-inverse .navbar-nav>li>a:hover,
.navbar-inverse .navbar-brand:focus, .navbar-inverse .navbar-brand:hover {
    color: #7b7b7b;
    background-color: transparent;
}
header .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    color: #7b7b7b;
    text-decoration: none;
    background-color: rgba(234, 234, 234, 0.49);
}
header .dropdown-menu>li>a {  background-color: #f9fcfd;}
.dropdown-menu>li>a {color: #a0a3ac;}
/*---------*/
/*-------------INDEX----------*/


/*----------------------------*/
body { background: #eaeaea;}
#login .container .row div form{
  width: 349px;
  /*height: 262px;*/
  padding: 28px;
  margin: 20px 0;
  background-color: #fff;
  box-shadow: 2px 3px 2px 1px #e0e0e0;
}
label {
  color: #c5c5c5;
  font-size: 0.95em;
  margin-bottom: 0px;
}
section#login {
    margin-top: 75px;
}
#login .container .row div .gv-title{
  width: 349px;
  height: 39px;
  padding: 0;
  margin: 20px 0 -13px 0;
  background-color: #fff;
  box-shadow: 2px 3px 2px 1px #e0e0e0;
  }

#login .container .row .gv-flex {
    justify-content: space-between;
    flex-direction: column;
}
#login > .container > .row > div > .gv-title > h4{z-index: 11;color: #66a6ad;}
#login > .container > .row > div > .gv-title > h4:after{
  content: '';
  position: absolute;
  top: 20px;
  bottom: 0;
  z-index: -1;
  width: 15%;
  height: 39px;
  right: 49%;
  background: linear-gradient(90deg, #ffffff, rgba(33, 169, 188, 0.51));
  transform: skew(24.4deg);
  }
  #login > .container > .row > div > .gv-title > a > h4:hover{
    color: #00a9bc;
  }

#login form{
  transition: all 1.5s;
  -webkit-transtion: all 1.5s;
  -moz-transition: all 1.5s;
  -o-transition: all 1.5s;  
}

#login form.raction{
  transform: rotateY(90deg);
  -webkit-transform: rotateY(90deg);
  -moz-transform: rotateY(90deg);
  -o-transform: rotateY(90deg);
}

/*--------------------footer-----------------*/
#wrapper{
  background-color: rgb(1, 209, 232);
    background-image: url(../images/pattern.png);
    background-repeat: repeat;
    left: 0;
    top:0;
    bottom: 0;
    right: 0;
    width: 100%;
    text-align: center;
    margin-top: 50px;
}
#wrapper .gv-desc a,#wrapper .gv-desc p{color: #fff; font-size: 0.85em;}
#wrapper .gv-desc p {margin: 5px 0;}
