main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

@keyframes heartbeat
{
    0%
    {
        transform: scale( 1 )
    }
    30%
    {
        transform: scale( 1.2 )
    }
}
#devHeart {
    color: #8e2828;
}
#devHeart::before {
    animation: heartbeat 1s infinite;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.card-white{
    border: 1px solid rgba(34, 60, 80, 0.2);
    border-radius: 14px;
    box-shadow:  4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

.card-upload{
    border: 1px solid rgba(34, 60, 80, 0.2);
    border-radius: 14px;

}

.attr-select{
    max-width: 70%;
}

.text-grey{
    color: #2b2f32;
}

.attr-name{
    font-size: 14px;
    font-weight: bold;
}

.help-block{
    font-size: 10px;
    color: red;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.mySwiper2 {
    height: 80%;
    width: 100%;
}

.mySwiper {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attr-block{
    border-bottom: 1px solid #ededed;
}

.autocom-block{
    border-radius: 12px;
    border: 1px solid #dee2e6;
    padding: 15px;
    background: #fff;
    position: absolute;
    z-index: 20;
    width: 92%;
}

.autocom-block.hidden {
    display: none;
}

.autocom-error {
    color: red;
    font-size: 12px;
}

.present-block{
    border-radius: 12px;
    border: 1px solid #dee2e6;
    padding: 15px;
    background: #fff;
    position: absolute;
    z-index: 20;
    width: 92%;

}

.present-block.hidden {
    display: none;
}


.field-uploadfile-imagefile .control-label{
    display: none;
}

.text-sm-banner{
    font-size: 10px;
    margin-top: -10px;
}

.cursor{
    cursor: pointer;
}

.view-img{
    max-width: 150px;
    height: auto;
}

.hide{
    display: none;
}


/*загрузка фото*/

.input-file {
    position: relative;
    display: inline-block;
}
.input-file span {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    font-size: 14px;
    vertical-align: middle;
    color: rgb(255 255 255);
    text-align: center;
    border-radius: 4px;
    background-color: #419152;
    line-height: 22px;
    height: 40px;
    padding: 10px 20px;
    box-sizing: border-box;
    border: none;
    margin: 0;
    transition: background-color 0.2s;
}
.input-file input[type=file] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 0;
    height: 0;
}

/* Focus */
.input-file input[type=file]:focus + span {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Hover/active */
.input-file:hover span {
    background-color: #59be6e;
}
.input-file:active span {
    background-color: #2E703A;
}

/* Disabled */
.input-file input[type=file]:disabled + span {
    background-color: #eee;
}

.preview-image{
    width: 250px;
    height: auto;
    margin: 10px;
}

/*загрузка фото конец*/

.field-uploadpicbrand-picbanner{
    display: flex;
    flex-direction: column;
}


.field-uploadpicbrand-picbannersquare{
    display: flex;
    flex-direction: column;
}
.field-uploadpicbrand-piclogo{
    display: flex;
    flex-direction: column;
}
.field-uploadpicbrand-picflag{
    display: flex;
    flex-direction: column;
}

.field-uploadpicbrand-picbanner label{
    margin-bottom: 15px;
}
.field-uploadpicbrand-picbannersquare label{
    margin-bottom: 15px;
}
.field-uploadpicbrand-piclogo label{
    margin-bottom: 15px;
}
.field-uploadpicbrand-picflag label{
    margin-bottom: 15px;
}


.square-banner{
    max-width: 400px;
    height: auto;
}
