
@import url('https://fonts.googleapis.com/css?family=Fira+Sans');
.no-padding {padding:0 !important;}
.no-margin {margin:0 !important;}
.r {text-align: right !important;}
.c {text-align: center !important;}
.l {text-align: left !important;}
.fleft {float:left;}
.fright {float:right;}
iframe {max-width: 100%;border: 0;}
img {     max-width: 100%; }
button {     font-family: inherit;    cursor: pointer;}
h1,h2,h3,h4,h5,h6 {    color: #007fff;    font-weight: 900;}
b, strong {     font-weight: 700; } /*иначе не жирный */
fieldset {border: 1px solid grey;padding: 5px;border-radius: 5px; }
legend {display: inline-block;width: auto;}
.table td, .table th {vertical-align: middle;}
.round-image {     border-radius: 50%; }
.btn {      font-family: inherit;cursor: pointer;}
.btn-black {background: black;color:white;}
.btn-black.disabled {background: grey;color:white;}
.btn-black:hover {background: grey;color:white;}

.form-control {    font-family: inherit; }
label.is-invalid {color:red;font-size: 0.8rem;}
.text-muted {      color: inherit;     opacity: 0.5; }
.input-group-addon .fa {     width: 1.2em;     text-align: center; }
.modal {     color: #636363; }
.card>.card-header, .card>.card-block {     padding: 0.8rem; }
.bg-primary {background: #007fff !important; }
.bg-gradient {background:  linear-gradient(to bottom, #cce2f9 0%, #a7caf2 100%); border-radius: 3px;}
.bg-gradient {background:  url(images/bg-gradient.jpg)  center repeat-x;   border-radius: 3px;}

 
.breadcrumb {padding: .15rem 1rem;background-color: rgba(233, 236, 239, 0.5);}
#content  {    overflow: hidden;   }
.content.compact,  .content.category  { margin: 5px 10px;}


html, body {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
    color: #636363;
    font-size: 15px;
}

@media (min-width: 1200px) {
    html, body {
        font-size: 13px;
    }
}

/* Top menu */

#top-menu {}

#top-menu a:hover { text-shadow: 0 0 10px black; }
#top-menu .navbar-toggler {    box-shadow: 0 0 3px white, 0 0 3px white, 0 0 10px white;}
#top-menu .navbar-toggler:hover {    box-shadow: 0 0 10px white, 0 0 10px white, 0 0 20px white, 0 0 20px white;}

#top-menu .top-menu-btns  { text-align: right; flex: 1; padding-right: 10px; }
#top-menu .top-menu-btns a { color: white;}

@media (max-width: 360px) {
    #top-menu .navbar-brand { margin-right: 0rem;  font-size: 1rem;}
}
.navbar-brand img {max-height: 50px;}
/* main banner */

#main-banner {background: url('images/main_bg.png') top center;background-repeat: no-repeat;min-height: 686px;padding: 0;    background-size: cover;}
#main-banner .col-12 {
    padding-top: 10%;
}
#main-banner h1, #main-banner h2,#main-banner h3 {text-transform: uppercase;}
#main-banner h1 {font-size: 5rem;color: white;}
#main-banner h2 {color: white;font-size: 2.5rem;}
@media (max-width: 700px) {    #main-banner h2 {font-size: 2rem;}}
#main-banner h3 {color: #ff8400;}
#main-banner h4 {color: white;padding-top:20px; }


/* Banner - общие стили для блоков на главной */
.banner {min-height: 300px;text-align: center;margin-top:30px; }
.banner h2, .banner h3{text-align: center;text-transform: uppercase;}

.banner h3 {color: grey;font-weight: normal;}
.banner h4 {color: #474747;}
.banner img {!height: 217px;}
.banner .row > div {margin-top: 20px; margin-bottom: 20px;}

@media (min-width: 1300px) {  
#testimonials {background:  url('images/bg-cloud.jpg') no-repeat bottom left, url('images/bg-message.jpg') no-repeat top right;}
}
.bg-gradient .col-md-4 img {position: relative;top:-30px;}
@media (max-width: 797px) {  
    .bg-gradient .col-md-4 img {position: static;}
}

@media (min-width: 768px) and (max-width: 956px) {  
    html, body {
        font-size: 11px;
    }
}

.prof {position: relative;}
.prof.new:after {position:absolute;top:-20px;right:20px;width:90px;height:90px;content:' ';background: url('images/new.png') no-repeat;}
.prof.hit:after {position:absolute;top:-20px;right:20px;width:90px;height:90px;content:' ';background: url('images/hit.png') no-repeat;}

.last-questions h4{font-weight: 100;}
.socials a:hover {text-decoration: none; background: #dbdbdb;display: inline-block;}
.socials h4{font-weight: 100;}
.socials .youtube i{color:red;}


/* для внутренних страниц */
.section {margin-top: 30px;}



/* Footer */

#footer {    border-top: 1px solid currentColor;    color:#474747;}
#footer ul {list-style: none;padding:0; }
#footer a{	text-decoration: underline;    color:#474747;}
#footer a:hover{    text-decoration: none;    color:#007fff;}
#footer div:last-child{	text-align:right;}


/* Personal aside - профиль */

#personal-aside { flex: 0 0 185px;  background-color: #3f4652;    padding-bottom: 1em;justify-content: space-between;}
#personal-aside .btn {    display: block;}
#personal-aside .login-logout-btns { padding: 2rem; }

#personal-aside div img {    border-radius: 50%;}
#personal-aside .btn > .badge {    position: absolute;    top: 0.75em;    right: 0.5em;}
#personal-aside > .btn,
#personal-aside > .btn-group {    width: 100%;    white-space: nowrap;    text-overflow: ellipsis;    overflow: hidden;}
#personal-aside > .btn-group > .btn:first-child {flex-grow: 1;flex-shrink: 1;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;padding-right: 3em;}
#personal-aside .form-control {    border-color: #fff;}
#personal-aside .btn-secondary {flex: 0;background-color: transparent;border: none;font-weight: 300;text-align: left; color: #fff;}
#personal-aside .btn-secondary:hover,
#personal-aside .btn-secondary:active,
#personal-aside .btn-secondary:focus {   background-color: rgba(255,255,255,0.1);    box-shadow: none;}
#personal-aside h3 { color: #fff; font-weight: 700; font-size: 1em; text-align: center; margin: 0; padding: 1rem 0;
    background-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,0.1) 100%);   border-radius: 5px 5px 0 0;
}

@media (min-width: 768px) {
    #personal-aside {    display: block;    min-height: calc(100vh - 1.7rem);  }
	
}
@media (max-width: 767px) {
    #personal-aside {    
        padding-left: calc(30% - 100px);  
        padding-right: calc(30% - 100px);
        flex: 0 0 100%; 
    }
	#top-menu .wrap-btn-top-menu .hidden-small {display:none;}
}

#personal-aside-btn button { display: block; padding: 0.4rem; width: 100%; background-color: #3f4652; color: #fff; border: none;}
#personal-aside-btn button:focus {    outline: none;}

/* Personal article - профиль - правая часть (уроки, модерация и прочее) */

#personal-article header {   color: #fff;    background-image: linear-gradient(145deg, #9cc3f3 0%, #1b4679 100%); flex-wrap: wrap;}
#personal-article header h1 {font-size: 2rem;}
#personal-article header .btns {text-align: right;}
#personal-article header h1, 
#personal-article header a {    color: inherit;}
#personal-article .personal-breadcrumbs { display: flex; flex-flow: row wrap;list-style: none; padding: 0; margin: 0;}
#personal-article .personal-breadcrumbs li::after {   content: '/';  display: inline-block;margin: 0 0.5em;}
#personal-article .personal-breadcrumbs li:last-child::after {  display: none;}
#personal-article .timer {  float: right; padding: 0.25em 0.5em; background-color: #3f4652;font-weight: 700;font-size: 1.2em;text-align: center;
        min-width: 152px;
}
#personal-article img {box-shadow: 2px 2px 20px grey;}
#personal-article img:hover {box-shadow: 2px 2px 30px black;}
#personal-article {
	width: calc(100% - 185px) !important;
}
.pagination {
    display: flex;
    flex-wrap: wrap;
}

.last-alerts {}

#task_block textarea{min-height: 180px;}

/* страница курса (часть блоков и стилей с главной берется) */
.main-banner-course { 
	padding-top: 10%;
	min-height: 500px;
	background: url(images/rupor.png) no-repeat 86% top , url(images/bg-gradient.jpg) center top repeat-x;
    background-size: 47%, normal;
}

.main-banner-course h1{color: #ff8400;text-transform: uppercase;text-shadow: 0 0 3px black;padding-left: 15px;}
.main-banner-course h1 span {font-size: 1.3rem;}
.main-banner-course h2{color: white;text-transform: uppercase;text-shadow: 0 0 3px black;}
.main-banner-course h3{color: white;text-shadow: 0 0 3px black;}
@media (max-width: 400px) {
    .main-banner-course h1 {font-size: 1.7rem;}
    .main-banner-course h2, .main-banner-course h3 {font-size: 1.5rem; }
}
.programma {background: url(images/bg-gradient.jpg) top center;}
.programma h2{color: #ff8400;text-transform: uppercase;text-shadow: 0 0 3px black;margin-top: 30px;}
.programma h3{color: white;text-transform: uppercase;text-shadow: 0 0 3px black;}
.training {background: white;border-radius: 5px;margin: 10px;min-height: 40px;display: flex; align-items: center;}
.training .dashed {color: #007fff; border-bottom: 1px dashed; cursor: pointer;}
.training .dashed:after {content: '>'; padding:10px;}
.training .list {display: none;}
.format > div {min-height: 100px;padding: 10px;display: flex;align-items: center;text-align: center;margin-top: 15px;}
.format .step-1 {height:100px;width:100px;background:#3ea012;border-radius:10px; font-size:3rem; color:white;display: flex;align-items: center;justify-content: center;}
.format .step-2 {height:100px;width:100px;background:orange;border-radius:10px; font-size:3rem; color:white;display: flex;align-items: center;justify-content: center;}
.format .step-3 {height:100px;width:100px;background:blue;border-radius:10px; font-size:3rem; color:white;display: flex;align-items: center;justify-content: center;}
@media (max-width: 767px) {
.step-1, .step-2, .step-3 {margin: auto;}
#personal-article {
	width: 100% !important;
}
}
.format .col-md-3 {font-size:3rem;}
.comparison .col-sm-3 {font-size:3rem;}
.comparison .col-sm-3:first-child {color:green;}
.comparison .col-sm-3:last-child {color:red;}
.comparison .row {border-bottom: 1px dashed; padding: 10px; }
.comparison .row div {display:flex; align-items:  center;justify-content: center; }
.comparison .price.red {font-size: 2rem; }
.ochnoe h2 {text-transform: uppercase;}
@media (min-width: 767px) {
.ochnoe2:after {content:' '; position:absolute;bottom:0px;right:0px;width:400px;height:372px;background: url(images/bg-students.png) top right no-repeat;}
}
.skills h2 {text-transform: uppercase;}
.skills div {display: flex;align-items: center;justify-content: center;}

.skills li {max-width:600px;padding: 5px;list-style-image:url('images/checkbox.jpg');}
.sertificates > div {display: flex;align-items: center;justify-content: center;flex-direction: column;}
.why h2 {text-transform: uppercase;}
.why h3 {color: grey;}

.questions {background: url(images/bg-questions.jpg) no-repeat center;}
.questions h2 {text-transform: uppercase;}
.questions h5 {color:#3ea012;font-size: 3rem;}
.questions h4 {color:grey;}
.what h3 {color:#3ea012;}
.row {margin-right: 0 !important;}
#have_orders {
    transition: all 0.5s;
    margin: 0 10px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
}
.visible-alert {
    transition: all 0.5s;
    opacity: 1 !important;
}
.offer {
    padding: 10px;
    text-align: center;
    color: white;
}

.offer a.btn-offer {
    transition: all 0.2s;
    display: block;
    background-color: #24ADF3;
    padding: 10px;
    border-radius: 30px;
    color: white;
    text-shadow: 1px 1px 10px rgb(255, 255, 255); 
    box-shadow: 0px 5px 50px rgba(36, 174, 243, 0.918);
    ; 
}

.offer a.btn-offer:hover {
    transition: all 0.2s;
    background-color: rgba(73, 191, 250, 0.788);
    text-shadow: 1px 1px 10px rgb(99, 99, 99); 
    box-shadow: 0px 5px 30px rgba(36, 174, 243, 0.918);
    text-decoration: none;
}