.form-custom textarea .fail,
select.fail,
input.fail,
li.fail,
.custom-checkbox input[type='checkbox'] + label.fail span.fail,
input.fail::placeholder {
    border-color: #f4afad;
}
li.fail { padding: 10px; }

a.red       { color: #ff0048; }
a.red:hover { text-decoration: none; color: #858585; }

div.copyright p small {
    font-size: 0.75em;
}

div.loader       { display: none; }
div.loader span  {
    float: right;
    padding: 25px 0 0 60px;
    color: #ff8c24;
    height: 5em;
    background: url("../img/loader.gif") 0 50% no-repeat;
}

/* MODAL */
.bootbox .modal-dialog {
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 700px;
}

.bootbox .modal-content {
    border-radius: 0;
    border: 0;
    width: 100%;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
}

.bootbox h4.modal-title {
    color: #ff8c24;
}

.bootbox .btn {
    color: #223038;
    background: #ffffff;
    border: 1px solid #223038; }

.bootbox .btn:hover {
    color: #ffffff;
    border-color: #ff0048;
    background: #ff0048;
}

.bootbox .btn-close { float: left; }

/* PAGINATION */
.spagination-out 			{ float: left; width: 100%; padding: 0; margin: 30px auto 10px auto; text-align: center; }
.spagination				{ list-style: none; margin: 0; padding: 0; clear: both; position: relative; text-align:center; }
.spagination li				{ display: inline-block; margin: 0 5px 10px 0; }
.spagination a,
.spagination li.selected	{
	display:inline-block; padding: 10px 15px;
	color: #f1f1f1; text-decoration: none; text-shadow: none; text-align: left;
    font: 12px Arial,Helvetica,sans-serif; font-weight: 400; cursor: pointer;
    border: 1px solid #ff8c24; background: #ff8c24; }
.spagination li.selected    { margin: 0 10px 0 0; }
.spagination a              { border: 1px solid #ebebeb; background: #fff; color: #333; margin: 0 5px 0 0; }
.spagination a:hover,
.spagination a:focus		{ color: #fff; background: #ff8c24; }

/* COOKIES */
#cookies-message {
    padding: 10px 0px;
    color: #fff; font-size: 14px; line-height: 22px; text-align: center;
    position: fixed; bottom: 0px; z-index: 999;
    background-color: #14a6e0;
    width: 100%; }
    #cookies-message a {
        background-color: #000;
        padding: 5px 10px;
        color: #fff; text-decoration: none; cursor: pointer;
        border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
        display: inline-block; margin-left: 10px; }
    #cookies-message a:hover {
        background-color: #fff;
        color: #000;
    }

a.contip {
    text-decoration: none;
    margin: 0;
    background: url("../img/contip-logo.png") right 50% no-repeat;
    padding: 6px 55px 10px 0;
}

#toTop {
	width: 47px; height: 47px;
	background: url(../img/back-top-btn.png) no-repeat;
	text-align: center;
	position: fixed; bottom: 25px; right: 20px;
	cursor: pointer; display: none; text-indent: -9999px; z-index: 12;
}

@media (max-width: 767.98px) {
    a.fast-phone-call {
        position: fixed;
        bottom: 20px;
        left: 20px;
    }
}

div#tk_dialog {
  width: 450px;
  height: 600px;
  padding: 0;
  position: absolute;
  z-index: 1000;
  top: 50%;
  left: 50%;
  margin-top: -300px;
  margin-left: -225px;
  background: transparent;
  border-radius: 10px;
  -webkit-box-shadow: 10px 10px 38px -4px rgba(105,105,105,1);
  -moz-box-shadow: 10px 10px 38px -4px rgba(105,105,105,1);
  box-shadow: 10px 10px 38px -4px rgba(105,105,105,1);
}

@media (max-width: 767px) {
    div#tk_dialog {
        width: 300px;
        height: 400px;
        margin-top: -200px;
        margin-left: -150px;
    }
    div#tk_dialog img {
        width: 100%;
    }
}

.yt-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.yt-container .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}