/* Прелоадер */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffffc7;
    z-index: 2;
}

#preloader.hide-preloader {
    animation: hidePreloader 1s;
}

#preloader.preloader-hidden {
    display: none;
}

@keyframes hidePreloader {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Стиль таблицы */

.table {
	width: 100%;
	border: none;
	margin-bottom: 20px;
}
.table thead th {
    font-weight: bold;
    text-align: center;
    border: none;
    padding: 10px 15px;
    background: #3f96c9;
    font-size: 16px;
    color: #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
.table tbody td {
	text-align: center;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 10px 15px;
	font-size: 13px;
	vertical-align: top;
    font-weight: 100;
}
.table thead tr th:first-child, .table tbody tr td:first-child {
	border-left: none;
}
.table thead tr th:last-child, .table tbody tr td:last-child {
	border-right: none;
}
.table tbody tr:nth-child(even){
	background: #f3f3f3;
}

/* Плагинация */

.pagination-row {
    overflow: hidden;
    clear: both;
    margin: 0 0 20px 0;
    margin-bottom: 15px;
}

.pagination {
    padding: 0;
    margin: 0;
    text-align: center;
}

.pagination .page-item {
    display: inline-block;
    margin: 0 2px 3px;
}

.pagination .page-link {
    display: inline-block;
    height: 34px;
    min-width: 40px;
    line-height: 28px;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fbfbfb;
    color: #000;
    line-height: 2;
}

.pagination a.page-link:hover {
    background: #0e253a;
}

.pagination .active a.page-link {
    background: #5db7ea;
    border-color: #0e253a;
}

.pagination .separator .page-link {
    border-color: #fff;
    background: #fff;
}

.pagination .disabled .page-link {
    color: #999;
}

/* Work */

.works-list {
    display: flex;
    flex-wrap: wrap;
    margin-left: -14px;
    margin-right: -14px;
}

.works-list > a {
	padding: 5px;
	flex: auto;
}

.works-list__item {
    width: 25%;
    padding-top: 30px;
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 30px;
}

.works-item {
    padding: 20px;
    background: #5d84ea;
    box-shadow: 0 1px 6px rgb(93 132 234 / 50%);
    border-radius: 9px;
}

.works-item__img {
    flex-wrap: wrap;
    display: flex;
    margin-bottom: 20px;
}

.works-item__img img {
    margin-left: auto;
    margin-right: auto;
}

.works-item__title {
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: #fff;
    font-family: 'gilroy-light';
}


@media only screen and (max-device-width: 480px) {
    .works-item__title {
        font-size: 12px;
    }

    .works-item {
        min-width: 100px;
    }
}


/* Форма */

.form_submit input[type=text],
.form_submit select,
.form_submit textarea,
.form_submit input[type=number] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    color: #4b4181;
    font-size: 15px;
}

.form_submit textarea {
    height: 100px;
}
  
.form_submit input[type=submit] {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
  
.form_submit input[type=submit]:hover {
    background-color: #45a049;
}
  
.form_submit div, .form_submit span {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}


.form_submit span, .form_submit button{
    cursor: pointer;
    display: inline;
    margin: 10px 10px 10px 0;
    padding: 12px;
    border: 0;
}