.modal-dialog {
    /*margin-top: 200px;*/
    top: 220px;
}

#leave-testimonial .modal-dialog {
    top: 130px;
}

#success-buy .modal-header,
#success-email .modal-header {
    color: #fff;
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color: #5cb85c;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#error-email .modal-header {
    color: #fff;
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color: #d9534f;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.responsive-tabs .resp-tab-content {
    padding: 2px 0px 17px 0px;
}

/*Стили для карусели*/
#myCarousel {
    height: 350px;
}

#myCarousel .carousel-inner,
#myCarousel .carousel-inner .item {
    height: 100%;
}

#myCarousel img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    left: 0%;
    top: 20%;
}

/*блок "это"*/
/*#index-what{*/
/*!*#index-what .container{*!*/
/*min-height:400px;*/
/*}*/

/*#index-what #div-container{*/
/*margin: 0 1%;*/
/*}*/
#what .resp-accordion {
    margin: 0 10px;
}

#what p,
#what h3,
#what h4 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/*Стили для табов*/
.tabs-below > .nav-tabs,
.tabs-right > .nav-tabs,
.tabs-left > .nav-tabs {
    border-bottom: 0;
}

.tab-content > .tab-pane,
.pill-content > .pill-pane {
    display: none;
}

.tab-content > .active,
.pill-content > .active {
    display: block;
}

.tabs-below > .nav-tabs {
    border-top: 1px solid #ddd;
}

.tabs-below > .nav-tabs > li {
    margin-top: -1px;
    margin-bottom: 0;
}

.tabs-below > .nav-tabs > li > a {
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}

.tabs-below > .nav-tabs > li > a:hover,
.tabs-below > .nav-tabs > li > a:focus {
    border-top-color: #ddd;
    border-bottom-color: transparent;
}

.tabs-below > .nav-tabs > .active > a,
.tabs-below > .nav-tabs > .active > a:hover,
.tabs-below > .nav-tabs > .active > a:focus {
    border-color: transparent #ddd #ddd #ddd;
}

.tabs-left > .nav-tabs > li,
.tabs-right > .nav-tabs > li {
    float: none;
}

.tabs-left > .nav-tabs > li > a,
.tabs-right > .nav-tabs > li > a {
    min-width: 74px;
    max-width: 330px;
    margin-right: 0;
    margin-bottom: 3px;
}

.tabs-left > .nav-tabs {
    float: left;
    margin-right: 19px;
    /*border-right: 1px solid #ddd;*/
}

.tabs-left > .nav-tabs > li > a {
    margin-right: -1px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    /*position: relative;*/
    padding: 9px 16px;
    font-size: 12px;
    line-height: 28px;
    /*border-radius: 3px;*/
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-width: 2px;
    transition: .3s;
    backface-visibility: hidden;
    font-weight: 900;
}

.tabs-left > .nav-tabs > li > a:hover {
    border-color: rgb(255, 162, 0);
    background-color: rgb(255, 162, 0);
    color: white;
    /*position: relative;*/
    padding: 9px 16px;
    font-size: 12px;
    line-height: 28px;
    border-radius: 3px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-width: 2px;
    transition: .3s;
    backface-visibility: hidden;
}

.tabs-left > .nav-tabs > li > a:focus {
    border-color: rgb(255, 162, 0);
    background-color: rgb(255, 162, 0);
    /*position: relative;*/
    padding: 9px 16px;
    font-size: 12px;
    line-height: 28px;
    border-radius: 3px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-width: 2px;
    transition: .3s;
    backface-visibility: hidden;
}

.tabs-left > .nav-tabs .active > a,
.tabs-left > .nav-tabs .active > a:hover,
.tabs-left > .nav-tabs .active > a:focus {
    border-color: rgb(255, 162, 0);
    *border-right-color: rgb(255, 162, 0);
    background-color: rgb(255, 162, 0);
    color: white;
    /*position: relative;*/
    padding: 9px 16px;
    font-size: 12px;
    line-height: 28px;
    border-radius: 3px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-width: 2px;
    transition: .3s;
    backface-visibility: hidden;
}

.tabs-right > .nav-tabs {
    float: right;
    margin-left: 19px;
    border-left: 1px solid #ddd;
}

.tabs-right > .nav-tabs > li > a {
    margin-left: -1px;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}

.tabs-right > .nav-tabs > li > a:hover,
.tabs-right > .nav-tabs > li > a:focus {
    border-color: #eeeeee #eeeeee #eeeeee #dddddd;
}

.tabs-right > .nav-tabs .active > a,
.tabs-right > .nav-tabs .active > a:hover,
.tabs-right > .nav-tabs .active > a:focus {
    border-color: #ddd #ddd #ddd transparent;
    *border-left-color: #ffffff;
}

@media screen and (max-width: 1024px) {
    .tabs-left > .nav-tabs {
        float: none;
        max-width: 330px;
        margin: 0 auto 15px;
    }
}

.hit,
.recommend,
.new {
    padding: 5px 0px;
    display: block;
    max-width: 70%;
    margin: 3px auto 0;
}

.hit {
    background-color: red;
}

.recommend {
    background-color: #41A128;
}

.new {
    background-color: rgb(255, 162, 0);
}

.thumbnail-terry-desc {
    margin-bottom: 4px;
}

#best-for {
    position: relative;
    /*display:inline-block;*/
}

#best-for img {
    object-fit: cover;
    width: 100%;
    height: 250px;
    /*position: relative;*/
}

#best-for .side-text {
    display: block;
    position: absolute;
    top: 40%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    width: 94%;
}

#best-for .side-text p,
#best-for .side-text h3 {
    margin: 0;
}

#index-iframe {
    width: 100%;
    height: 30vw;
}

.rd-navbar-top-panel .right-side {
    margin-top: 11px;
}

#action {
    position: absolute;
    top: 0;
    width: 100%;
    margin: 0 auto;
    border-radius: 5px 5px 0 0;
}

#action h3 {
    font-weight: 900;
    background-color: red;
    border-radius: 5px 5px 0 0;
}

.rd-navbar-top-panel .contact-info #time {
    margin-right: 10px;
    font-size: 13px;
}

.rd-navbar-top-panel .contact-info #phone {
    font-size: 20px;
}

.lottery .help-block {
    display: none;
}

#lottery-input {
    height: 40px;
    border-radius: 0;
}

.lottery-checkbox .checkbox {
    padding: 0;
    margin: 0 auto;
    max-width: 50%;
}

#leavetestimonial-form .checkbox {
    padding: 0;
    margin: 0 auto;
    max-width: 60%;
}

#modal-link:hover {
    text-decoration: underline;
}

.rd-navbar-fixed.rd-navbar-top-panel .rd-navbar-top-panel .right-side address span {
    text-align: center;
}

.rd-navbar-fixed.rd-navbar-top-panel .rd-navbar-top-panel #saffron {
    /*display: inline;*/
}

@media screen and (max-width: 1200px) {
    .rd-navbar-fixed.rd-navbar-top-panel .rd-navbar-top-panel .right-side address span #span-phone {
        display: block;
    }

    .rd-navbar-fixed.rd-navbar-top-panel .rd-navbar-top-panel #saffron {
        border-bottom: 2px solid rgb(255, 162, 0);
        width: 40px;
        margin: 5px auto;
        display: block;
    }
}

#actions_link {
    color: red;
}

/* 5 колонок */
.col-xs-1-5,
.col-sm-1-5,
.col-md-1-5,
.col-lg-1-5 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-1-5 {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-1-5 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-1-5 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-1-5 {
        width: 20%;
        float: left;
    }
}

@media (max-width: 480px) {
    html .page .offset-small-top-30 {
        margin-top: 30px;
    }
}

/* 5 колонок */

#media_time {
    /*width:50%;*/
    /*margin:0 auto;*/
}

#media_time p {
    margin: 3px 0;
}

/*Стили для карусели квеста*/
#myCarouselQuest {
    height: 350px;
    width: 100%;
}

#myCarouselQuest .carousel-inner,
#myCarouselQuest .carousel-inner .item {
    height: 100%;
}

#myCarouselQuest img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#q_answ h4 {
    margin: 10px 0 0;
    text-align: center;
}

#q_answ div {
    text-align: center;
}

.btn_submit.disabled,
.btn_submit.disabled:hover {
    opacity: 0.8;
}

.feedback_block .divider {
    margin-bottom: 10px;
}

.feedback_block textarea {
    height: 90px;
}

.what_link {
    color: rgb(255, 162, 0);
    /*font-weight:bold;*/
}

.what_questions {
    cursor: pointer;
}

#q_answ hr {
    margin: 10px auto;
    border-top-color: rgb(255, 162, 0);
    width: 33%;
}

.school-text p {
    margin: 0;
}

.pictograph {
    object-fit: cover;
    width: 100%;
}