@font-face {
    font-family: 'robotoblack';
    src: url('fonts/roboto-black-webfont.eot');
    src: url('fonts/roboto-black-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/roboto-black-webfont.woff2') format('woff2'),
    url('fonts/roboto-black-webfont.woff') format('woff'),
    url('fonts/roboto-black-webfont.ttf') format('truetype'),
    url('fonts/roboto-black-webfont.svg#robotoblack') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotomedium';
    src: url('fonts/roboto-medium-webfont.eot');
    src: url('fonts/roboto-medium-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/roboto-medium-webfont.woff2') format('woff2'),
    url('fonts/roboto-medium-webfont.woff') format('woff'),
    url('fonts/roboto-medium-webfont.ttf') format('truetype'),
    url('fonts/roboto-medium-webfont.svg#robotomedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'morning_starregular';
    src: url('fonts/morning_star-webfont.eot');
    src: url('fonts/morning_star-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/morning_star-webfont.woff2') format('woff2'),
    url('fonts/morning_star-webfont.woff') format('woff'),
    url('fonts/morning_star-webfont.ttf') format('truetype'),
    url('fonts/morning_star-webfont.svg#morning_starregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    font: 1em 'robotomedium';
    background-color: #f5f5f5;
}

.sprite {
    background-image: url(spritesheet.png);
    background-repeat: no-repeat;
    display: block;
}

.first-slide, .second-slide {
    width: 1024px;
    height: 580px;
    margin: 0 auto;
    display: flex;
}

.second-slide {
    border: 1px solid #dcdcdc;
}

.form > .red-head, .blue-head, .green-head {
    height: 22%;
    position: relative;
}

.second-slide > .head {
    height: 22%;
    position: relative;
    background-color: #00b9e6;
}

.first-slide .content {
    margin: -3px 0 0 6px;
}

.first-slide .item {
    display: -webkit-box;
}

.first-slide .item {
    display: -webkit-box;
    margin-top: 6%;
    margin-left: 3%;
}

.second-slide > input, label, textarea {
    width: 50%;
    display: block;
    float: left;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    background-color: #fff;
}

.second-slide > label {
    font-size: 12px;
    color: #bdbdbd;
}

.second-slide > input, textarea {
    color: #4c4c4c;
    padding: 10px 0px 10px 0;
    border-bottom: 2px solid #d7d7d7;
}

.attached_links::-webkit-scrollbar-thumb {
    background-color: #00b9e6;
}

.second-slide input:focus, textarea:focus {
    outline: none;
    border-bottom: 2px solid #00b9e6 !important;
    font-size: 16px;
}

.second-slide > textarea {
    width: 100%;
    resize: none;
    padding: 10px 0 10px 0;
}

.second-slide > .attached_links {
    /*max-height: 33.6%;*/
    /*min-height: 33.6%;*/
    height: 33.6%;
    overflow: auto;
    background-color: white;

}

.second-slide .content {
    display: -webkit-box;
    min-width: 250px;
}

.second-slide .cont-header, .cont-subtext {
    font-size: 14px !important;
    color: #606060 !important;
    margin-top: 4px;
}

.attached_links .red .content:before {
    content: "";
    display: absolute;
    background-image: url(../img/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
    width: 51px;
    height: 28px;
    background-position: -132px -46px;
    top: 30px;
    left: 126px;
}

.attached_links .green .content:before {
    content: "";
    display: absolute;
    background-image: url(../img/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
    width: 51px;
    height: 30px;
    background-position: -131px -92px;
    top: 30px;
    left: 126px;
}

.attached_links .blue .content:before {
    content: "";
    display: absolute;
    background-image: url(../img/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
    width: 51px;
    height: 27px;
    background-position: -131px -70px;
    top: 30px;
    left: 126px;
}

.second-slide .item {
    display: -webkit-inline-box;
    width: 100%;
    margin: 10px 0 10px 0;
    border-bottom: 1px solid #c6c6c6;
    padding: 0 0 7px 0;
}

.attached_links span {
    margin: 0 0 0 58%;
    width: 7%;
    background-image: url(../img/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
    width: 14px;
    height: 17px;
    background-position: -86px -48px;
    cursor: pointer;
}

.attached_links label {
    display: none;
}

.attached_links input {
    padding: 10px 0 10px 0;
}

input[type="text"] {
    color: #4c4c4c;
    padding: 10px 0px 10px 0;
    width: 50%;
    border: none;
    border-bottom: 2px solid #d7d7d7;
}

.send-allert {
    background-color: white;
    border: none;
    color: #00b9e6;
    float: right;
    margin: 22px 23px 0 0;
    cursor: pointer;
}

.red-head {
    background-color: #db4437;
}

.red-head:before {
    content: "";
    position: relative;
    background-image: url(../img/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
    width: 70px;
    height: 33px;
    background-position: -31px -5px;
    top: 31px;
    left: 111px;
}

.blue-head {
    background-color: #00b9e6;
}

.blue-head:before {
    content: "";
    position: relative;
    background-image: url(../img/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
    width: 71px;
    height: 33px;
    background-position: -5px -48px;
    top: 31px;
    left: 111px;
}

.green-head {
    background-color: #0f9d58;
}

.green-head:before {
    content: "";
    position: relative;
    background-image: url(../img/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
    width: 71px;
    height: 33px;
    background-position: -137px -5px;
    top: 31px;
    left: 111px;
}

.second-form-head {
    background-color: #00b9e6;
}

.second-form-head:before {
    content: "";
    position: relative;
    background-image: url(../img/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
    width: 87px;
    height: 35px;
    background-position: -5px -91px;
    top: 39%;
    left: 45%;
}

.header-title {
    position: absolute;
    top: 68px;
    left: 13px;
    color: #fff;
    font-size: 18px;

}

.first-slide > form {
    width: 29%;
    margin: 0 auto;
    height: inherit;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background: #fff;
}

.first-slide > form:not(:first-child) {
    margin-left: -17px;
}

/*Scrollbar*/

.form > .ul::-webkit-scrollbar, .attached-list::-webkit-scrollbar,  #form2 > .attached_links::-webkit-scrollbar{
    width: 0.5em;
}

#form1 .ul::-webkit-scrollbar-thumb {
    background-color: #db4437;
}

#form1b .ul::-webkit-scrollbar-thumb, .attached_links::-webkit-scrollbar-thumb, #form2 > .attached_links::-webkit-scrollbar-thumb{
    background-color: #00b9e6;
}

#form1c .ul::-webkit-scrollbar-thumb {
    background-color: #0f9d58;
}

.cont-header {
    font-size: 13px;
    font-family: 'robotomedium';
    color: #8b8b8b;
}

.cont-subtext {
    color: #b2b2b2;
    font-size: 11px;
}

/*Checkboxes*/

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label {
    font: 18px bold;
    color: #444;
    cursor: pointer;
}

input[type="checkbox"] + label::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 5px 0 0;
    background-image: url(../img/spritesheet.png);
    background-repeat: no-repeat;
}

input[type="checkbox"] + label::before {
    background-position: -111px -54px;
}

.red input[type="checkbox"]:checked + label::before {
    background-position: -111px -31px;
}

.blue input[type="checkbox"]:checked + label::before {
    background-position: -111px -5px;
}

.green input[type="checkbox"]:checked + label::before {
    background-position: -5px -5px;
}

.second-slide {
    margin: 0 auto;
    display: block;
    background: #fff;
}

div .second-slide {
    width: 1024px;
    background-color: #f5f5f5;
    border: none;
}

form.second-slide {
    width: 724px;
}

.second_block {
    min-width: 90%;
}

.main-header > span {
    font: 1em 'morning_starregular';
}

.form > .ul {
    overflow: auto;
    height: 65%;

}

.attach-count {
    font-size: 18px;
    color: #00b9e6;
    display: -webkit-inline-box;
}

.send {
    cursor: pointer;
    text-align: right;
    margin: 36px 10px 0 0;
    float: right;
    -webkit-user-select: none;
}

#form1 .send {
    color: #db4437;
}

#form1b .send {
    color: #00b9e6;
}

#form1c .send {
    color: #0f9d58;
}

.red {
    color: red;
}

.blue {
    color: blue
}

.green {
    color: green
}

.trash {
    color: red;
    cursor: pointer;
}

/*Футер формы*/

.form-footer {
    height: 12.4%;
    border-top: 1px solid #dcdcdc;
    background-color: white;
}

ul.slider-button {
    position: fixed;
    width: 26px;
    height: 20px;
    bottom: 0;
    right: calc(50% - 13px);
    list-style-type: none;
    padding: 0;
}

.slider-button-item {
    width: 8px;
    height: 8px;
    background-color: blue;
    border-radius: 50%;
    float: left;
    margin-left: 5px;
    cursor: pointer;
    opacity: .6;
}

.slider-button-item:hover, .slider-button-item.active {
    box-shadow: 0 0 5px grey;
    opacity: 1;
}

.ui-loader.ui-corner-all.ui-body-a.ui-loader-default {
    display: none;
}

.swiper-pagination {
    position: initial;
}

.dialog-window {
    display: none;
}

.ui-widget-overlay{
    background: #666666 url(https://code.jquery.com/ui/1.10.4/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat;
    opacity: .5;
}

.ui-widget.ui-widget-content {
    width: 33% !important;
    margin: 0 auto;
}