/*
    Основная таблица стилей, переопределяет некоторые стили Бутстрапа
    Created on : 10.09.2020, 10:37:24
    Author     : Ненашев Андрей info@n-service.su
*/
@font-face {
    font-family: "AleksandraCRegular";
    src: url("/public/templates/portfolio/fonts/AleksandraCRegular/AleksandraCRegular.eot");
    src: url("/public/templates/portfolio/fonts/AleksandraCRegular/AleksandraCRegular.eot?#iefix")format("embedded-opentype"),
    url("/public/templates/portfolio/fonts/AleksandraCRegular/AleksandraCRegular.woff") format("woff"),
    url("/public/templates/portfolio/fonts/AleksandraCRegular/AleksandraCRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    letter-spacing: 1px;
}
@font-face {
    font-family: "AleksanderRegular";
    src: url("/public/templates/portfolio/fonts/AleksanderRegular/AleksanderRegular.eot");
    src: url("/public/templates/portfolio/fonts/AleksanderRegular/AleksanderRegular.eot?#iefix")format("embedded-opentype"),
    url("/public/templates/portfolio/fonts/AleksanderRegular/AleksanderRegular.woff") format("woff"),
    url("/public/templates/portfolio/fonts/AleksanderRegular/AleksanderRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    letter-spacing: 1px;
}
@font-face {
    font-family: "Gabriola";
    src: url("/public/templates/portfolio/fonts/gabriola.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

/* --------------- Блочные элементы ---------------*/
.sidebar img, span, .sidebar > div, .hor-devider, .content, .intro, #tab_btns ul,
.intro a, span, .area a, .area img, h1, h2, h3, h4, h5, h6,.sert img, .span, .item img,
div.counter, .otstup-5, .otstup-10, .otstup-15, .otstup-20, .otstup-25, a.sign-up,
.memo-service small, i.welcome
{ display: block; box-sizing: border-box; }

.otstup-5 { height: 5px; } .otstup-10 { height: 10px; } .otstup-15 { height: 15px; }
.otstup-20 { height: 20px; } .otstup-20 { height: 25px; }


/* ----- Базовые стили для ширины монитора 1600px ----- */
html{ font-size: 18px;}
body{
    font-family: AleksandraCRegular;
    font-size: 1rem;
    background-color: #efefef;
}
h1, h2, h3, h4, h5, h6, strong { font-family: Gabriola; }
.hor-devider {
    width: 90%;
    height: 2px;
    border-bottom: 1px solid #9ae3e0;
    margin: 0 auto;
}
h1, h2, h3, h4, h5, h6 {
    display: inline-block;
    width: 100%;
    text-align: center;
    line-height: 1.3rem;
    margin: 10px 0 15px;
}
h3 { color: #a55c16; }
a:link, a:hover, a:visited, a:active { text-decoration: none; }

/* --------------- Классы сайдбаара --------------- */
.sidebar {
    padding: 15px;
    text-align: center;
    min-height: 100%;
}
.sidebar > div {
    position: sticky;
    top: 0;
    background-color: white;
    border: 1px solid #9ae3e0;
}
.sidebar img { 
    margin: 20px auto 30px; 
    width: 50%;
}
.sidebar img.logo { 
    width: 50%; 
    margin-bottom: 20px;
}
.sidebar h1 { 
    line-height: .7; 
    letter-spacing: 1px;
}
.sidebar span {
    text-align: left;
    font-size: 1rem;
    line-height: 1.3;
    padding: 10px 30px;;
}
.sidebar span strong {
    font-size: 1.6rem;
    font-weight: bold;
}

/* --------------- Главное меню --------------- */
nav { 
    background-color: white;
    border: 1px solid #9ae3e0;
    margin-bottom: 15px;     
}
.navbar-collapse { justify-content: center; }

/* ----------- Слайдер на главной ------------  */
/*
#block-for-slider {
    width: 96%;
    margin: 0 auto 15px;
    margin-top: 20px;
}
#viewport {
    width: 100%;
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    text-align: center;
}
#slidewrapper {
    position: relative;
    width: calc(100% * 4);
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    -webkit-transition-timing-function: cubic-bezier(.67,.01,.23,1);
    -o-transition-timing-function: cubic-bezier(.67,.01,.23,1);
    transition-timing-function: cubic-bezier(.67,.01,.23,1);
}
#slidewrapper, #slidewrapper ul, #slidewrapper li { margin: 0; padding: 0; }
*/
/*
.slide {
    width: calc(100%/4);
    list-style: none;
    display: inline;
    float: left;
}
*/
/*
.slide-img { 
    min-width: 100% !important; 
    height: auto;
    display: block;
}
#prev-btn, #next-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    /*top: calc(50% - 25px);*/
    /*top: 80px;
}
#prev-next-btns i.fa {
    margin-top: 8px;
    font-size: 2rem;
    color: grey;
}
#prev-btn:hover, #next-btn:hover { cursor: pointer; } 
#prev-btn { left: 20px; } 
#next-btn { right: 20px; }
#nav-btns {
    position: absolute;
    width: 100%;
    bottom: 20px;
    padding: 0;
    margin: 0;
    text-align: center;
}
.slide-nav-btn {
    position: relative;
    display: inline-block;
    list-style: none;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    margin: 3px;
}
.slide-nav-btn:hover { cursor: pointer; }
*/

/* =============== Главная страница =============== */

.container-my {
    max-width: 1650px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-right: 15px;
    padding-left: 15px;
}

/* ------------- Область приветствия ------------- */
i.welcome {
    display: inline-block;
    margin: 15px 20px; 
    width: max-content;
}

/* ------------- Основной контент ------------- */
.main-content { padding:  15px 15px 0 0; }
.content {
    width: 100%;
    background-color: white;
    border: 1px solid #9ae3e0; 
    margin-bottom: 15px;
    height: auto;
}
.about_me { padding: 15px 0; }
.about_me span {
    text-align: justify;
    padding: 0 30px;
}
.about_me i.fa-lightbulb-o { font-size: 2.6rem; }
.about_me strong { font-size: 2.6rem; }
.intro {
    width: 50%;
    float: left;
    height: 160px;
    padding: 5px 0;
}
.intro:nth-of-type(odd) { padding-left: 20px; padding-right: 10px;}
.intro:nth-of-type(even) { padding-left: 10px; padding-right: 20px;}
.intro a {
    box-shadow: 0 0 10px #a8d4d2;
    text-align: left;
    height: 100%;
}
.intro a:hover { 
    background-color: #efefef; 
    box-shadow: none;
}
a:hover > span.text { color: #58059f; }
.intro i {
    position: relative;
    left: 15px;
    top: 15px;
    font-size: 2rem;
}
.intro span {
    position: relative;
    left: 0;
    top: 60px;
    font-size: 1rem;
    color: rgb(33, 37, 41);
    width: 90%;
    margin: 0 auto;
    text-align: center;
}
.p-details strong {
    font-size: 1.4rem;
    font-family: AleksandraCRegular;
    text-align: center;
}
.p-details table {
    width: 100%;
    margin-top: 15px;
}
.p-details table tr { height: 2.8rem; } 
.p-details table tr td:nth-child(2) { 
    width: 1.4rem; 
    text-align: center;
}
.p-details table tr td:first-child { color: gray; }
.p-details table tr td:last-child { font-size: 1.1rem; }

/* Вывод достижений во вкладках */
#tab_btns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: auto; 
    text-align: center;
}
#tab_btns div {
    width: auto;
    padding: 6px 10px; 
    margin-right: 5px;
    text-align: center;
    font-weight: bold; 
    cursor: pointer; 
}
#tab_btns div:first-child {
    padding-bottom: 0;
    border: 0;
}
#tab_btns .fa-tag {
    font-size: 1.5rem;
    color: inherit;
}
#tab_btns .active {
    color:#7e7e7e; 
    border-bottom: 0; 
    background: #eee; 
}
#cont {
    width: 100%;
    height: auto;
    /*border: 1px solid #6DA1F3;*/
    /*background: #eee; */
    border-radius: 0 0 4px 4px; 
    margin-top: 25px;
}
#cont .area {
    height: 100%; 
    padding-top: 5px; 
    text-align:justify;
    overflow: hidden;
} 
#cont .hide { display: none; }
.area img { 
    max-width: 90%;
    margin: 0 auto 5px;
}
.area > div { float: left; }
.area a {
    width: 98%;
    margin: 0 auto;
    box-shadow: 0 0 10px #a8d4d2;
}
#cont h3 { 
    height: 2.5rem; 
    padding: 0 5px;
    text-align: center;
}
.area p {
    color: black;
    font-size: .9rem;
    line-height: 1.2rem;
    padding: 0 5px;
}
.study-item { width: 33%; }
.study-memo { width: 67%; }
.study-item, .study-memo {
    display: flex;
    float: left;
    padding: 15px;
    align-items: center;
    /*justify-content: center;*/
    padding-left: 70px;
}
.study-item i {
    font-size: 1.8rem;
}
.study-item strong { 
    font-family: Georgia; 
    font-size: 1.5rem; 
    font-weight: normal;
}
.about_me > div:first-child { margin-bottom: 15px; }
.about_me i { 
    font-size: 2rem; 
    color: #ad212b;
    margin-right: 20px;
}
.about_me > div > span i { color: #58059f; } 
.sert img { 
    max-width: 98%;
    margin: 10px auto;
    height: 400px;
}
.sert h3 { margin-top: 15px; }
.sert span { 
    text-align: center; 
    padding: 0;
}

input.question {
    display: block;
    width: 100%;
    height: 100px;
    margin: 15px auto 0;
    border-radius: 5px;
    
}
 
/* ------------ Страница категории ------------ */
.category h1 { margin: 30px 0; }
.category h3 { 
    text-align: left; 
    font-family: AleksanderRegular;
    font-size: 1.3rem;
}
.category .item {
    width: 96%;
    margin: 0 auto 20px;;
    padding: 15px;
    border: 1px solid #58059f;
    border-radius: 10px;
}
.category .item span {
    display: inline-block;
    width: 100%;
    text-align: right;
    padding-right: 20px;
}
.content .cource { padding: 20px; }
.cource p { 
    text-indent: 2rem; 
    text-align: justify;
}
.cource h1 { color: #a55c16; }
.item img {
    float: left;
    width: 180px;
    margin-right: 15px;
}
.cource ol > li { margin-bottom: 10px; }

/* ------------ Страница услуги ------------ */
.memo-service > div { border-right: 1px solid #58059f; }
.memo-service > div:last-child { border-right: none; }
.memo-service p { 
    text-align: center; 
    margin-bottom: 0;
}
.memo-service div small {
   text-align: center;
   margin-bottom: 10px;
}
.services-procedure strong { font-size: 1.8rem; }
a.sign-up {
    margin: 15px auto 0;
    padding: 5px 0;
    border: 1px solid #7420a8;
    border-radius: 6px;
    text-decoration: none;
    width: 200px;
    text-align: center;
    font-size: 1.2rem;
}

/* ------------ Страница с курсами ------------ */



/* --------------- Стили футера --------------- */
footer { 
    background: linear-gradient(to bottom, #58059f, #c697ef);
    color: white;
}
div.counter {
    margin: 20px auto 0;
    width: 90px;
}
footer ul.footer-menu { margin: 15px 0; }
footer ul.footer-menu a { color: white; }


/* ------------ Стили регистрации ------------ */

footer .login { margin-top: 20px; }
#signup { padding-bottom: 20px; }
label { margin: 5px 0; }


/* -------------Адаптивные стили -------------- */

/* ----- Базовые стили для ширины монитора выше 1600px ----- */
@media (min-width: 1601px) {
    html { font-size: 18px; }
}

@media (max-width: 767px) {
    .main-content { padding-left: 15px; }
    #block-for-slider {
        visibility: hidden;
        height: 0 !important;
        margin-top: 0;
    }
}




/* --------------- Окончательные стилитили --------------- */
.container-fluid { max-width: 1920px !important }
