@media (max-width: 768px) {
    body {
        font-size: 11px;
        line-height: 1.22857143;
    }
    address {
        margin-bottom: 5px;
    }
    ul.marginned > li {
        margin-bottom: 10px;
    }
}
@media (min-width: 768px) and (max-width: 992px) {
    body {
        font-size: 12px;
        line-height: 1.32857143;
    }
    ul.marginned > li {
        margin-bottom: 10px;
    }
}
@media (min-width: 992px) {
    body {
        font-size: 14px;
        line-height: 1.42857143;
    }
}

.row-green {
    background: rgb(61,115,133);
    background: -moz-linear-gradient(top,  rgb(61,115,133) 0%, rgb(25,77,77) 100%);
    background: -webkit-linear-gradient(top,  rgb(61,115,133) 0%,rgb(25,77,77) 100%);
    background: linear-gradient(to bottom,  rgb(61,115,133) 0%,rgb(25,77,77) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d7385', endColorstr='#194d4d',GradientType=0 );
    color: #FFFFFF;
}
.row-green a,
.row-green a:visited,
.row-green a:active {
    color: #FFFFFF;
}
.row-green .dropdown-menu>li>a,
.row-green .dropdown-menu>li>a:visited,
.row-green .dropdown-menu>li>a:active {
    color: #333333;
}
.marginned {
    margin-top: 10px;
    margin-bottom: 10px;
}
.text-green {
    color: #0d544c;
}
.text-red {
    color: #B85C42;
}
.text-yellow {
    color: #FEC23E;
}

/*Button green*/
.btn-green {
    color: #fff;
    background-color: rgb(61,115,133);
    border-color: rgb(49,92,106);
    padding: 15px 26px;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
    border-bottom-width: 4px;
}
.btn-green:focus,
.btn-green.focus {
    color: #fff;
    background-color: rgb(55,103,120);
    border-color: rgb(39,74,85);
}
.btn-green:hover {
    color: #fff;
    background-color: rgb(55,103,120);
    border-color: rgb(20,73,73);
}
.btn-green:active,
.btn-green.active,
.open > .dropdown-toggle.btn-green {
    color: #fff;
    background-color: rgb(55,103,120);
    border-color: rgb(20,73,73);
}
.btn-green:active:hover,
.btn-green.active:hover,
.open > .dropdown-toggle.btn-green:hover,
.btn-green:active:focus,
.btn-green.active:focus,
.open > .dropdown-toggle.btn-green:focus,
.btn-green:active.focus,
.btn-green.active.focus,
.open > .dropdown-toggle.btn-green.focus {
    color: #fff;
    background-color: rgb(20,73,73);
    border-color: rgb(39,74,85);
}
.btn-green:active,
.btn-green.active,
.open > .dropdown-toggle.btn-green {
    background-image: none;
}
.btn-green.disabled:hover,
.btn-green[disabled]:hover,
fieldset[disabled] .btn-green:hover,
.btn-green.disabled:focus,
.btn-green[disabled]:focus,
fieldset[disabled] .btn-green:focus,
.btn-green.disabled.focus,
.btn-green[disabled].focus,
fieldset[disabled] .btn-green.focus {
    background-color: rgb(55,103,120);
    border-color: rgb(39,74,85);
}
.btn-green .badge {
    color: rgb(55,103,120);
    background-color: #fff;
}


/*Button blue*/
.btn-blue {
    color: #fff;
    background-color: #425CB8;
    border-color: #304285;
    padding: 6px 12px;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
    border-bottom-width: 4px;
}
.btn-blue:focus,
.btn-blue.focus {
    color: #fff;
    background-color: #344992;
    border-color: #27366B;
}
.btn-blue:hover {
    color: #fff;
    background-color: #344992;
    border-color: #304285;
}
.btn-blue:active,
.btn-blue.active,
.open > .dropdown-toggle.btn-blue {
    color: #fff;
    background-color: #344992;
    border-color: #304285;
}
.btn-blue:active:hover,
.btn-blue.active:hover,
.open > .dropdown-toggle.btn-blue:hover,
.btn-blue:active:focus,
.btn-blue.active:focus,
.open > .dropdown-toggle.btn-blue:focus,
.btn-blue:active.focus,
.btn-blue.active.focus,
.open > .dropdown-toggle.btn-blue.focus {
    color: #fff;
    background-color: #304285;
    border-color: #27366B;
}
.btn-blue:active,
.btn-blue.active,
.open > .dropdown-toggle.btn-blue {
    background-image: none;
}
.btn-blue.disabled:hover,
.btn-blue[disabled]:hover,
fieldset[disabled] .btn-blue:hover,
.btn-blue.disabled:focus,
.btn-blue[disabled]:focus,
fieldset[disabled] .btn-blue:focus,
.btn-blue.disabled.focus,
.btn-blue[disabled].focus,
fieldset[disabled] .btn-blue.focus {
    background-color: #344992;
    border-color: #27366B;
}
.btn-blue .badge {
    color: #344992;
    background-color: #fff;
}

.lead {
    border-top: 3px #B85C42 solid;
    padding-top: 10px;
}

.quiz {
    font-size: 1.4em;
}

body {
    background-color: #edeef0;
}

.panel, .thumbnail {
    -webkit-box-shadow: 3px 3px 10px 0 rgba(0,0,0,0.5);
    box-shadow: 3px 3px 10px 0 rgba(0,0,0,0.5);
}

header {
    -webkit-box-shadow: 0px 6px 10px 0 rgba(0,0,0,0.5);
    box-shadow: 0px 6px 10px 0 rgba(0,0,0,0.5);
}

footer {
    -webkit-box-shadow: 0px -3px 8px 0 rgba(0,0,0,0.4);
    box-shadow: 0px -3px 8px 0 rgba(0,0,0,0.4);
}

.nav-pills-xs > li > a {
    padding: 5px;
    font-size: 12px;
}
.nav-pills-xs > li > a > span {
    display: none;
}
.nav-pills-xs > li > a:hover {
    border: 1px solid #CCC;
    padding: 4px;
}
.nav-pills-xs > li > a:hover > span {
    display: inline-block;
}
.panel-heading-white {
    background-color: #FFFFFF !important;
    border-color: transparent !important;
}

.gray-icon {
    /*color: #cccccc;*/
    color: #ccc;
    background: -webkit-linear-gradient(#ccc, #777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-filter: drop-shadow(1px 1px 1px #222);
    filter:         drop-shadow(1px 1px 1px #222);
    vertical-align: middle;
}

.media-object {
    -webkit-box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.4);
    box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.4);
}

.font-size-2 {
    font-size: 120%;
    font-kerning: normal;
}
.font-size-3 {
    font-size: 130%;
    font-kerning: normal;
}
.font-size-4 {
    font-size: 140%;
    font-kerning: normal;
}
.font-size-5 {
    font-size: 150%;
    font-kerning: normal;
}
.font-size-6 {
    font-size: 200%;
    font-kerning: normal;
}
.age-category {
    font-size: 175%;
    /*font-weight: bold;*/
    margin: 20px;
    /*-webkit-filter: drop-shadow(2px 2px 5px #222);
    filter:         drop-shadow(2px 2px 5px #222);*/
    color: #7D8C7E;
}
#logo {
    -webkit-filter: drop-shadow(5px 5px 5px #222);
    filter:         drop-shadow(5px 5px 5px #222);
    display: inline;
}
.shadow {
    -webkit-filter: drop-shadow(5px 5px 5px #222);
    filter:         drop-shadow(5px 5px 5px #222);
}
.shadow-l {
    webkit-box-shadow: 3px 3px 10px 0 rgba(0,0,0,0.5);
    box-shadow: 3px 3px 10px 0 rgba(0,0,0,0.5);
}

.big-buton {
    width: 50%;
    padding: 18px 30px;
    font-size: 26px;
    line-height: 1.3333333;
    border-radius: 8px;
    margin: 20px auto;
}

/* Скрываем кнопки спиннера для поля с кодом */
input#code::-webkit-outer-spin-button,
input#code::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/*Button blue*/
.btn-blue {
    color: #fff;
    background-color: #425CB8;
    border-color: #304285;
    padding: 15px 26px;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
    border-bottom-width: 4px;
}
.btn-blue:focus,
.btn-blue.focus {
    color: #fff;
    background-color: #344992;
    border-color: #27366B;
}
.btn-blue:hover {
    color: #fff;
    background-color: #344992;
    border-color: #304285;
}
.btn-blue:active,
.btn-blue.active,
.open > .dropdown-toggle.btn-blue {
    color: #fff;
    background-color: #344992;
    border-color: #304285;
}
.btn-blue:active:hover,
.btn-blue.active:hover,
.open > .dropdown-toggle.btn-blue:hover,
.btn-blue:active:focus,
.btn-blue.active:focus,
.open > .dropdown-toggle.btn-blue:focus,
.btn-blue:active.focus,
.btn-blue.active.focus,
.open > .dropdown-toggle.btn-blue.focus {
    color: #fff;
    background-color: #304285;
    border-color: #27366B;
}
.btn-blue:active,
.btn-blue.active,
.open > .dropdown-toggle.btn-blue {
    background-image: none;
}
.btn-blue.disabled:hover,
.btn-blue[disabled]:hover,
fieldset[disabled] .btn-blue:hover,
.btn-blue.disabled:focus,
.btn-blue[disabled]:focus,
fieldset[disabled] .btn-blue:focus,
.btn-blue.disabled.focus,
.btn-blue[disabled].focus,
fieldset[disabled] .btn-blue.focus {
    background-color: #344992;
    border-color: #27366B;
}
.btn-blue .badge {
    color: #344992;
    background-color: #fff;
}
#comments-block h5 {
    font-weight: bold;
}

#comments-block .media-list {
    background-color: #FFFFFF;
    padding: 10px;
}

.lk>li>a:hover {
    border-color: #ddd #ddd #eee;
}

/* IMG CROP */
.resize-container {
    position: relative;
    display: inline-block;
    cursor: move;
    margin: 0 auto;
}

.resize-container img {
    display: block;
    /*image-rendering: optimizeQuality;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;*/
}

.resize-container:hover img,
.resize-container:active img {
    outline: 2px dashed rgba(0, 222, 4, 0.9);
}

.resize-handle-ne,
.resize-handle-se,
.resize-handle-nw,
.resize-handle-sw {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    background: rgba(0, 222, 4, 0.9);
    z-index: 999;
}

.resize-handle-nw {
    top: -5px;
    left: -5px;
    cursor: nw-resize;
}

.resize-handle-sw {
    bottom: -5px;
    left: -5px;
    cursor: sw-resize;
}

.resize-handle-ne {
    top: -5px;
    right: -5px;
    cursor: ne-resize;
}

.resize-handle-se {
    bottom: -5px;
    right: -5px;
    cursor: se-resize;
}

.overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -150px;
    z-index: 999;
    width: 300px;
    height: 300px;
    border: solid 2px rgba(0, 222, 4, 0.9);
    box-sizing: content-box;
    pointer-events: none;
}

.line-center {
    overflow: hidden;
    margin: 20px 0px;
}
.line-center:before, .line-center:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    width: 100%;
    height: 3px;
    background: #b5b5b5;
    border: solid #FFF;
    border-width: 0 10px;
}
.line-center:before {
    margin-left: -100%;
}
.line-center:after {
    margin-right: -100%;
}

.video {
    -webkit-box-shadow: 3px 3px 10px 0 rgba(0,0,0,0.5);
    box-shadow: 3px 3px 10px 0 rgba(0,0,0,0.5);
    overflow: hidden;
    background-color: #FFFFFF;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

div.video-buttons {
    margin-bottom: 15px;
}
.video-buttons span {
    vertical-align: middle;
}
a.video-buttons,
span.video-buttons {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 1em;
    color: #333333;
}
a.video-buttons:hover {
    color: #337ab7;
}
.video h4 {
    text-align: center;
}
.video > a > .img-thumbnail {
    position: relative;
}
.play-overlay {
    opacity: 0;

    position: absolute;
    width: 100%;
    height: 100%;

    margin: -4px;
    border-radius: inherit;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-color: rgba(0,0,0,1);


    transition: all 0.3s;
}
.play-overlay span {
    top: 50%;
    font-size: 4em;
    line-height: 0;
    color: #FFFFFF;
    transition: all 0.3s;
}
.video > a > .img-thumbnail:hover > .play-overlay {
    opacity: 1;
    background-color: rgba(0,0,0,0.5);
}
.video > a > .img-thumbnail:hover > .play-overlay span {
    -moz-transform: scale(1.3,1.3);
    -ms-transform: scale(1.3,1.3);
    -webkit-transform: scale(1.3,1.3);
    -o-transform: scale(1.3,1.3);
    transform: scale(1.3,1.3);
}
.video > a:active > .img-thumbnail:hover > .play-overlay span {
    -moz-transform: scale(1.2,1.2);
    -ms-transform: scale(1.2,1.2);
    -webkit-transform: scale(1.2,1.2);
    -o-transform: scale(1.2,1.2);
    transform: scale(1.2,1.2);
}


/* favourite button */
.favourite {
    font-size: 2em;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    padding: 0px 6px;
}
.favourite > i {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #8a6d3b;
}
.favourite > i:before,
.favourite.focus > i:before,
.favourite.focus:hover > i:before {
    content: "\f006";
}
.favourite:hover > i:before,
.favourite.active:hover > i:before {
    content: "\f123";
}
.favourite.active > i,
.favourite.active.focus:hover > i {
    color: #f0ad4e;
    text-shadow: 1px 1px 3px #545454;
}
.favourite.active > i:before,
.favourite.active.focus:hover > i:before {
    content: "\f005";

}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
}
.col-middle-right-text {
    align-items: center;
    justify-content: flex-end;
    display: flex;
}
@media (max-width: 768px) {
    .col-middle-right-text {
        align-items: baseline;
    }
}
.col-middle-text {
    align-items: center;
    display: flex;
}
#IntroModal h3,
#IntroModal p {
    color: #313131 !important;
}
#IntroModal .carousel-indicators li {
    border-color: #005f88 !important;
}
#IntroModal .carousel-indicators li.active {
    background: rgb(180,227,145);
    background: -moz-radial-gradient(center, ellipse cover, rgba(180,227,145,1) 0%, rgba(97,196,25,1) 50%, rgba(180,227,145,1) 100%);
    background: -webkit-radial-gradient(center, ellipse cover, rgba(180,227,145,1) 0%,rgba(97,196,25,1) 50%,rgba(180,227,145,1) 100%);
    background: radial-gradient(ellipse at center, rgba(180,227,145,1) 0%,rgba(97,196,25,1) 50%,rgba(180,227,145,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4e391', endColorstr='#b4e391',GradientType=1 );
}

#IntroModal .carousel-caption {
    background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
}