﻿@font-face {
    font-family: "Oswald-Regular";
    src: url("../fonts/Oswald/Oswald-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Oswald-Light";
    src: url("../fonts/Oswald/Oswald-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Oswald-Medium";
    src: url("../fonts/Oswald/Oswald-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "Nunito-Reg";
    src: url("../fonts/Nunito/Nunito-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Nunito-Light";
    src: url("../fonts/Nunito/Nunito-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Nunito-LIt";
    src: url("../fonts/Nunito/Nunito-LightItalic.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto-Reg";
    src: url("../fonts/Roboto/Roboto-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto-Medium";
    src: url("../fonts/Roboto/Roboto-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto-Bold";
    src: url("../fonts/Roboto/Roboto-Bold.ttf") format("truetype");
}


@font-face {
    font-family: "Roboto-Light";
    src: url("../fonts/Roboto/Roboto-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Courgette-Cursive";
    src: url("../fonts/Courgette/Courgette-Regular.ttf") format("truetype");
}

:root {
    --text-base: #454545;
    --text-header: #222;
    --text-colors: #1b7895;
    --text-redbl: rgba(135, 24, 19, 0.89);
    --text-blue: #00325f;
    --primay-color-12: #222;
}


a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

html,
body {
    color: var(--text-base);
    /*box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);*/
    font-family: Nunito-Light, sans-serif;
    font-size: 14px;
    height: 100%;
    margin: 0;
    min-height: 100vh;
    background-color: white;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

.footer {
    /*    position: absolute;*/
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


/*#region Главная страница */


/*#endregion */


/*#region Переопределил бутстраповский стиль */


.nav-tabs {
    border-bottom: 1px solid #ffc107 !important;
}

.nav-link.active {
    color: #856404 !important;
    background-color: #fff3cd !important;
    border-color: #ffc107 #ffc107 #fff !important;
}

.customAM-select:focus {
    border-color: #80bdff;
    outline: 0;
    /* box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25); */
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(128, 189, 255, 0.5);
}

.customAMred-select:focus {
    border-color: rgb(255, 152, 195);
    outline: 0;
    /* box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25); */
    box-shadow: inset 0 1px 2px rgba(145, 12, 12, 0.116), 0 0 5px rgba(255, 131, 93, 0.301);
}

.customAMred-border {
    border-color: rgba(255, 87, 123, 0.7);
    outline: 0;
    /* box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25); */
    box-shadow: inset 0 1px 2px rgba(145, 12, 12, 0.18), 0 0 5px rgba(255, 74, 70, 0.32);
}

.bg-btn-AM_warn {
    background-color: rgba(255, 254, 226, 0.33);
}

.bg-btn-AM_blue {
    background-color: rgba(143, 223, 255, 0.342);
}

.bg-btn-AM_red {
    background-color: rgba(214, 45, 35, 0.33);
}


/*#endregion */


/*#region Стили текста: размер, шрифт, цвет */

.hTextBase {
    text-indent: 3rem;
    font-family: Oswald-Medium, sans-serif;
    color: var(--text-colors);
}

@media (max-width: 440px) {
    .hTextBase {
        text-indent: 1.2rem;
    }
}

.hTextBaseNOindent {
    font-family: Oswald-Medium, sans-serif;
    color: var(--text-colors);
}

.htextMainPage {
    font-family: Oswald-Medium, sans-serif;
    color: lightgrey;
    position: fixed;
    top: 7rem;
    left: 2rem;
}

@media only screen and (min-width: 1224px) {
    .htextMainPage {
        font-size: 4rem;
        top: 10rem;
        left: 4rem;
    }
}

.htextMainPage2 {
    font-family: Oswald-Regular, sans-serif;
    color: slategray;
    position: fixed;
    top: 19rem;
    left: 2rem;
    font-size: 1, 6rem;
    z-index: 5;
}

@media only screen and (min-width: 1224px) {
    .htextMainPage2 {
        font-size: 2rem;
        top: 23rem;
        left: 4rem;
    }
}


.hTextBaseLab {
    text-indent: 3rem;
    font-family: Oswald-Regular, sans-serif;
    color: var(--text-redbl);
}

@media (max-width: 440px) {
    .hTextBaseLab {
        text-indent: 1.2rem;
    }
}

.hTextBaseLabSec {
    /*text-indent: 3rem;*/
    font-size: 1.6rem;
    font-family: Oswald-Regular, sans-serif;;
    color: var(--text-colors);
}

.hTextBaseLabSecGrey {
    /*text-indent: 3rem;*/
    font-size: 1.6rem;
    font-family: Oswald-Regular, sans-serif;;
    color: var(--text-base);
}


.hTextBaseLabSecWhite {
    /*text-indent: 3rem;*/
    font-size: 1.6rem;
    font-family: Oswald-Regular, sans-serif;
    color: whitesmoke;
}

.hTextBaseLabSecRed {
    /*text-indent: 3rem;*/
    font-size: 1.6rem;
    font-family: Oswald-Regular, sans-serif;;
    color: var(--text-redbl);
}

.hTextBaseLabSecRedCard {
    /*text-indent: 3rem;*/
    font-size: 1.5rem;
    font-family: Oswald-Regular, sans-serif;
    color: var(--text-redbl);
}

.hTextBaseLabSecRedSmall {
    text-indent: 3rem;
    font-size: 1.3rem;
    font-family: Oswald-Regular, sans-serif;
    color: var(--text-redbl);
}


.pTextBase {
    text-indent: 3rem;
    font-size: 1.1rem;
    color: var(--text-base);
    padding-top: 0.5rem;
}

.pTextBaseNOindent {
    font-size: 1.1rem;
    color: var(--text-base);
    padding-top: 0.5rem;
}

table.pTextBaseNOindent td {
    font-size: 1.1rem;
    color: var(--text-base);
    padding-top: 0.5rem;
}

.pTextBaseNOindentWhite {
    font-size: 1.1rem;
    color: whitesmoke;
    padding-top: 0.5rem;
}

.tTextBase {
    font-size: 1rem;
    color: var(--text-base);
    font-family: Nunito-Light, sans-serif;
}


.tTextBaseIndent {
    text-indent: 2rem;
    font-size: 1rem;
    color: var(--text-base);
    font-family: Nunito-Light, sans-serif;
}

.tTextBaseWhite {
    font-size: 1rem;
    color: whitesmoke;
    font-family: Nunito-Light, sans-serif;
}


@media (max-width: 440px) {
    .pTextBase {
        text-indent: 1.2rem;
        font-size: 1.3rem;
    }

    .tTextBase {
        font-size: 1.2rem;
    }

    .tTextBaseIndent {
        text-indent: 1.2rem;
        font-size: 1.2rem;
    }
}

.navTextBase {
    font-size: 0.9rem;
    color: var(--text-colors);
    font-family: Roboto-Light, sans-serif;
}

/* typical phone screen resolution */
@media only screen and (max-width: 667px) {
    .navTextBase {
        font-size: 1.2rem;
    }
}

/* landscape orientation */
@media only screen and (min-width: 375px) and (max-width: 990px) and (orientation: landscape) {
    .navTextBase {
        font-size: 1.2rem;
    }
}


.text-primary {
    color: var(--text-colors) !important;
}

.text-blueAM {
    color: var(--text-blue) !important;
}

.text-redAM {
    color: var(--text-redbl);
}

.logoText {
    font-family: Courgette-Cursive, sans-serif;
    font-size: 1.8rem;
    opacity: 0.9;
}

/*#endregion */


/*#region Картинки */


.width_img {
    max-width: 80%;
}

@media (max-width: 440px) {
    .width_img {
        max-width: 100%;
    }
}

@media (min-width: 991px) {
    .width_img {
        max-width: 60%;
    }
}

.width_img60 {
    max-width: 65%;
}

@media (max-width: 440px) {
    .width_img60 {
        max-width: 100%;
    }
}

@media (min-width: 991px) {
    .width_img60 {
        max-width: 55%;
    }
}

@media (min-width: 1440px) {
    .width_img60 {
        max-width: 45%;
    }
}


.img-vert {
    width: 100%;
    max-width: 34em;
}

.scaleLib {
    transition: 1s;
}

.scaleLib:hover {
    transform: scale(1.5);
}


/*#endregion */


/*#region Для убирания стрелочек в type="number" */

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
    appearance: none;
    -moz-appearance: textfield;
}


/*#endregion */


canvas {
    position: fixed;
    top: 0;
    left: 0;
}

/* Кнопка на главной странцие*/
.btn_Index_AM {
    position: fixed;
    top: 70vh;
    left: 3rem;
    width: 12rem;
}

/*#region accordion Contact*/
.accordion.accordion-3 {
    border-radius: 3px;
}

.accordion.accordion-3 p {
    font-size: 1rem;
}

.accordion.accordion-3 .fa.fa-angle-down {
    margin-top: -10px;
}

.accordion .animated-icon1 span {
    background: #F44336;
}

/*#endregion*/



.mt-20 {
    margin-top: 50px !important;
}

/*#region  Converter*/
span.bgHover{
    transition: background-color 0.6s ease-out;
}
span.bgHover:hover{
    cursor: pointer;
    background-color: rgba(53, 115, 153, 0.5) !important;
}


/*#endregion*/

