

@font-face {
    font-family: "MinionPro-Regular";
    src: url("../fonts/MinionPro-Regular.otf") format("opentype"),
         url("../fonts/MinionPro-Regular.eot") format("embedded-opentype");
    ;
}
html{
    height:100%;
    min-height:100%;
}
body {
    font-family: Verdana;
    margin: 0;
    min-height:100%;
}
p {
    font-size: 14px;
    color: #808285;
    margin: 0;
}

.container {
    height: auto;
    min-height: 100%;
    margin: 0px auto;
    padding-left: 30px;
    padding-right: 30px;
    max-width: 100%;
}
#body_with_background {
    background: url('../img/background.png') no-repeat center center fixed;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}
#center-logo {
    display: block;
    margin: 0 auto;
    margin-top:110px;
    width: 400px;
    height: auto;
    border-style: none;
}
#front-page-title {
    text-align: center;
    width: 70%;
    margin: 0 auto;
    position: fixed;
    bottom: 9%;
    right: 0;
    left: 0;
}
#front-page-title p {
    /* v1 color */
    /*color: #4C4B4B;*/

    /* v1.1 color */
    color: #4C4B4BE6;
    font-weight: bold;
    font-size: 24px;
    text-shadow: 1px 1px 2px whitesmoke, 0 0 1em white, 0 0 0.2em white;
}

#front-page-title .star {
    width: 5%;
    height: auto;
}
#front-page-title .star:first-of-type {
    float: left;
}
#front-page-title .star:last-of-type {
    float: right;
}

header {
    position: relative;
}
#header-logo {
    width: 200px;
    height: auto;
}
#navbar {
    display: flex;
    padding: 0;
    -webkit-box-pack: justify;
    justify-content: space-between;
    align-items: flex-end;
    -webkit-box-align: center;
    list-style-type: none;
}
#navbar li {
    float: left;
}

#navbar li a:hover {
    text-shadow: 0 0 1px #f5b01c, 0 0 1px #f5b01c, 0 0 1px #f5b01c;
    transition: text-shadow 0.3s;
}

#navbar li a {
    text-transform: uppercase;
    font-size: 16px;
    display: block;
    text-align: center;
    color: #f5b01c;
    text-decoration: none;
}
#navbar_mobile {
    margin-top: 80px;
    list-style-type: none;
    padding-left: 0;
}
#navbar_mobile li a:hover {
    font-weight: bold;
}
#navbar_mobile li a {
    text-transform: uppercase;
    font-size: 27px;
    display: block;
    text-align: center;
    padding: 8px;
    color: #f5b01c;
    text-decoration: none;
}
.content_name {
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    color: #f5b01c;
}
.item_name, .price, .training_name, .publication_name {
    font-weight: bold;
    color: #f5b01c;
    text-transform: uppercase;
}
/* Footer block */
footer {
    margin-top: 10%;
}
footer ul{
    display: flex;
    list-style-type: none;
    text-align: center;
    justify-content: space-between;
    padding: 0;
    color: #808285;
}
footer ul li {
    padding: 16px;
    display: inline-block;
}
footer ul li a img {
    width: 50px;
    height: 50px;
}
/* Contact form */
.contact-heading {
    color: #f5b01c;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin-top: 3em;
}
#contact_form {
    margin-bottom: 30px;
}
#contact_form > input:focus {
    outline: none;
}
#contact_form input {
    height: 30px;
}
#contact_form textarea {
    padding-bottom: 60px;
    margin-left: 4%;
}
#message-error {
    margin-left: 4%;
}
#contact_form > div {
    display: flex;
}
#contact_form > div div {
    width: 49%;
}
#contact_from div div {
    width: 49%;
}
#contact_form input, textarea {
    border: 1px solid #808285;
    resize: none;
    outline: none;
    display: block;
    width: 100%;
    overflow: auto;
    box-sizing: border-box;
    margin-bottom: 10px;
}
#send-form-btn {
    background-color:transparent;
    font-size: 25px;
    font-weight: bold;
    color: #808285;
}
#send-form-btn:hover {
    background-color: #f5b01c;
    border: 2px solid #f5b01c;
    color: white;
    font-weight: bold;
}
.error-text {
    font-family: initial;
    color: #C11C03;
    margin: 0;
}
/* Dekstop search container */
#search_container {
    position: absolute;
    right: 0;
}
#search_container input[type="search"],
#mobile_search_container input[type="search"] {
    border: 1px solid #808285;
    background: transparent;
}
#search_container input:focus,
#mobile_search_container input:focus {
    box-shadow: unset;
    outline: unset;
    color: #f5b01c;
}
#search_container form {
    display: inline-block;
    position: relative;
    margin: 0 auto;
}
#search_container form input[type="search"]{
    border: 1px solid #808285;
    display: block;
    height: 20px;
    width: 135px;
}
#search_button {
    position: absolute;
    bottom: 3px;
    right: 3px;
}
#search-list {
    text-transform: uppercase;
    font-size: 14px;
    list-style: none;
}
#search-list li a {
    font-size: 14px;
    color: #f5b01c;
}
.MarkupPagerNav {
    margin-top: 13%;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    list-style: none;
}
.MarkupPagerNav li {
    display: inline;
}
.MarkupPagerNav li a {
    font-size: 14px;
    color: #808285;
    text-decoration: none;
}
/* Mobile search container */
#mobile_search_container {
    text-align: center;
}
#mobile_search_container form {
    display: inline-block;
    position: relative;
    margin: 0 auto;
}
#mobile_search_container form input[type="search"]{
    border: 3px solid #808285;
    display: block;
    margin: auto;
    margin-top: 20px;
}
#mobile_search_button {
    position: absolute;
    bottom: 5px;
    right: 5px;
}
/* Common classes */
.button, .read_button {
    background-color: transparent;
    font-size: 15px;
    color: #808285;
    width: 105px;
    height: 35px;
    border: 2px solid #808285;
    outline: none;
    display: block;
    /* box-sizing: border-box; */
}
.button:hover {
    background-color: #f5b01c;
    border: 2px solid #f5b01c;
    color: white;
    font-weight: bold;
}
.price {
    font-size: 30px;
}
.consult-price {
    margin-bottom: 3px;
    /* position: absolute; */
    bottom: 0;
}
.consult-button, .publication_button {
    position: absolute;
    bottom: 0;
    right: 0;
}
.publication_button {
    font-size: 13px;
}
/* Consultation page */
.item-wrapper {
    display: flex;
}
.item-wrapper div:first-child {
    width: 40%;
}
.item_name {
    margin-top: 3px;
}
.item_div {
    position: relative;
    width: 60%;
    margin-left: 3.5%;
}
.content_img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: auto;
}
.training_img {
    width: 450px;
    float:left;
    margin-right:25px;
    margin-bottom:25px;
}
.about_img {
    width: 45%;
    float:left;
    margin-right:25px;
    margin-bottom:25px;
}
.training_button {
    position: absolute;
    top: 15px;
    right: 0;
}
.training-info {

}
.training-info p {
    margin-top: 0;
    margin-bottom: 0;
}
.training-info h3 {
    margin-top: 0;
}
.lesson-block {
    margin-bottom: 4%;
}
.form-container {
    clear: both;
}
.lesson-block p {
    margin: 0;
}
#contact-block {
    display: flex;
}
#contact-block p {
    margin-top: 0;
}
#contact-block div:nth-child(2) {
    text-align:justify;
    margin-left: 3.5%;
}
#contact-block div:nth-child(2) p {
    /*margin-top: 0;*/
}
/* Subscribe bar */
#subscribe_bar {
    display: inline-flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#subscribe_bar > li {
    float: left;
}
#subscribe_bar > li > a > img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}
#subscribe_bar > li:last-child a img {
    margin-right: unset;
}
/* Custom hr */
.custom_hr {
    display: block;
    width: 100%;
    height:auto;
    margin-top: 50px;
    margin-bottom: 50px;
}
/* Nav toggler components */
#nav_toggler {
    display: none;
    position: absolute;
    background:transparent;
    width: 40px;
    right: 0;
}
.line {
    width: 100%;
    background: #808285;
    height: 4px;
    margin: 11px 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.line_grey {
    width: 100%;
    background: #808285;
    height: 4px;
    margin: 11px 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
#nav_toggler:hover { 
    cursor:pointer; 
}
#nav_toggler.on .line1 {
    background-color:transparent; 
}
#nav_toggler.on .line2 {
    -webkit-transform:rotate(45deg) translate(-1px, -1px);
     transform:rotate(45deg) translate(-1px, -1px);
     background: #808285;

}
#nav_toggler.on .line3 {
    -webkit-transform:rotate(-45deg) translate(12px, -11px);
    transform:rotate(-45deg) translate(12px, -11px);
    background: #808285;

}