/* Fonts */

@font-face {
    font-family: 'InkFree';
    src: url('../fonts/InkFree.eot');
    src: local('☺'), url('../fonts/InkFree.woff') format('woff'), url('../fonts/InkFree.ttf') format('truetype'), url('../fonts/InkFree.svg') format('svg');
    font-weight: 300;
    font-style: normal;
}


/* Global Styles */

* {
    margin: 0;
}
html {
    position: relative;
}
body {
    font-family: Calibri, sans-serif;
    font-weight: 400;
}

h1 { 
    font-family: 'InkFree';
    font-weight: 800;
    color: #616540;
    padding-top: 30px;
}

h2 {
    font-family: 'InkFree';
    font-weight: 800;
    color: #616540;
}

h5 {
    font-family: 'InkFree';
    font-weight: 800;
    color: #616540;
}

p {
    font-size: 18px;
    color: #616540;
    font-weight: 400;
    text-align: justify;
    font-family: Calibri, sans-serif;
}

.btn:focus, 
.btn.focus {
    box-shadow: 0 0 0 0rem!important;
}

/* Header */

.cbp-af-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 10000;
    height: 215px;
    -webkit-transition: height 0.1s;
    -moz-transition: height 0.1s;
    transition: height 0.1s;
}
 
.cbp-af-header .cbp-af-inner {
    width: 90%;
    max-width: 69em;
    margin: 0 auto;
}
 
.cbp-af-header nav {
    display: inline-block;
    position: relative;
}
 
 /* We just have one-lined elements, so we'll center the elements with the line-height set to the height of the header */
.cbp-af-header .logo,
.cbp-af-header nav a {
    line-height: 230px;
}
 
.cbp-af-header .logo {
    text-transform: uppercase;
    color: #333;
    letter-spacing: 4px;
    font-size: 4em;
    margin: 0;
}

.cbp-af-header .logo > img {
    width:25%;
    margin: auto;
    display: block;
}
 
.cbp-af-header nav {
    float: right;
    display: none;
}
 
.cbp-af-header nav a {
    color: #616540;
    font-weight: 800;
    margin: 0 0 0 60px;
    font-size: 1.4em;
}
 
.cbp-af-header nav a:hover {
    color: #333;
}
 
/* Transitions and class for reduced height */
.cbp-af-header.cbp-af-header-shrink nav,
.cbp-af-header.cbp-af-header-shrink .logo > img,
.cbp-af-header .logo,
.cbp-af-header nav a {
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    transition: all 0.1s;
}

.cbp-af-header.cbp-af-header-shrink h1 {
    display: none;
}
 
.cbp-af-header.cbp-af-header-shrink {
    height: 95px;
    -webkit-box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 40%);
    box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 40%);
}

.cbp-af-header.cbp-af-header-shrink .logo > img {
    width:10%;
    display: initial;
}
 
.cbp-af-header.cbp-af-header-shrink nav{
    display: block;
}

.cbp-af-header.cbp-af-header-shrink .logo,
.cbp-af-header.cbp-af-header-shrink nav a {
    line-height: 90px;
}
 
.cbp-af-header.cbp-af-header-shrink .logo {
    //font-size: 2em;
}

/* Main Navigation */

.navigation {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.4); 
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.4);
}

.main_navigation ul {
    float: right;
    margin: 0;
}

.main_navigation li {
    font-family: 'InkFree';
    position: relative;
    display: inline-block;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    vertical-align: middle;
}

.main_navigation li a,
.main_navigation li a:active,
.main_navigation li a:visited,
.main_navigation li a:focus {
    display: block;
}

.navbar-expand-md .navbar-collapse {
    justify-content: flex-end;
}

html.non-touch .main_navigation li a:hover,
.main_navigation li a.active {
    text-decoration: none;
}

.main_navigation li a:hover {
    text-decoration: none;
}

#navbarToggleButton {
    display: none;
}


/* Main */

main > h1{
    text-align: center;
    top: 230px;
    position: relative;
    padding-top: 0px;
}

#banner {
    background: #fff url(../images/banner.png) repeat-x top center;
    background-size: 100%;
    margin-top: 250px;
    min-height: 65vh;
}

.line{
    background: #fff url(../images/line.png) repeat-x top center;
    background-size: 100%;
}

.line section div div p{
    padding: 5vh 0 10vh 0;
}

label{
    background-color: #616540;
    text-align: center;
    color: #ffffff;
    font-weight: 600;
    padding: 8px;
    min-width: 150px;
}

input{
    width: 77.5%;
    position: absolute;
    right: 0px;
    padding: 8.5px;
    background-color: #f2f2f2;
    outline: 0;
    border: 0;
    color: #777777;
    font-family: Calibri, sans-serif!important;
}

input::-webkit-inner-spin-button {
    display: none!important;
}

form input[type=date] {
    min-height: 40px;
}

form input[type=submit] {
    font-family: Calibri, sans-serif!important;
    position: relative;
    width: 25%;
    padding: 8.5px;
    display: block;
    border: 0;
    box-sizing: border-box;
    color: #ffffff;
    outline: 0;
    background-color: #616540;
    margin: auto;
    font-weight: 600;
}

form input[type=submit]:visited,
form input[type=submit]:focus,
form input[type=submit]:hover {
    color: #616540;
    background-color: #d7d017;
    outline: 0;
    border: 0;
    cursor: pointer;
}


/* Footer */


.footer .container {
    height: 100px;
}

#contacts {
    background: #fff url(../images/footer_castle.png) repeat-x top center;
    background-size: 100%;
    height: 7vh;
}

#contacts ul{
    display: inline-flex;
    margin-top: 80px;
    padding: 0;
}

#contacts ul li{
    display: block;
    padding-right: 10px;
}

#contacts p {
    color: #000000;
    font-size: 12px;
    margin-top: 100px;
    text-align: center;
    padding: 0;
}

.col-xs-12.col-sm-1.col-md-1.col-lg-1 > a > img{
    max-width: 110px;
    margin-top: 70px;
    float: right;
}



/* Media Queries */

@media screen and (max-width: 55em) {
        
    .cbp-af-header{
        height: 190px;
    }
    
    .cbp-af-header.cbp-af-header-shrink nav,
    .cbp-af-header.cbp-af-header-shrink .logo > img,
    .cbp-af-header .logo,
    .cbp-af-header nav a {
        -webkit-transition: all 0s;
        -moz-transition: all 0s;
        transition: all 0s;
    }
    
    .cbp-af-header .logo > img {
        width: 45%;
    }
     
    .cbp-af-header .cbp-af-inner {
        width: 100%;
    }
 
    .cbp-af-header .logo,
    .cbp-af-header nav {
        display: block;
        margin: 48px auto 0;
        text-align: center;
        float: none;
    }
    
    .cbp-af-header nav {
        display: none;
    }
 
    .cbp-af-header .logo,
    .cbp-af-header nav a {
        line-height: 85px;
    }
    
    .cbp-af-header.cbp-af-header-shrink{
        background: transparent;
        z-index: 0;
        -webkit-box-shadow: 0px 0px 0px opx rgb(0 0 0 / 0%);
        box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 0%);
    }
    
    .cbp-af-header.cbp-af-header-shrink .logo > img {
        width: 17%;
        float: left;
        padding-top: 3px;
        margin-left: 15px;
    }

    .cbp-af-header nav a {
        margin: 0 10px;
    }
 
    .cbp-af-header.cbp-af-header-shrink .logo,
    .cbp-af-header.cbp-af-header-shrink nav a {
        line-height: 50px;
    }
 
    .cbp-af-header.cbp-af-header-shrink .logo {
        height: 25px;
        margin: 10px auto 20px;
    }
 
    .cbp-af-header.cbp-af-header-shrink nav a {
        font-size: 1.2em;
    }
}
 
@media screen and (max-width: 32.25em) {
    .cbp-af-header nav a {
        font-size: 1.2em;
    }
}
 
@media screen and (max-width: 24em) {
    .cbp-af-header nav a,
    .cbp-af-header.cbp-af-header-shrink nav a {
        line-height: 2;
        margin: 0 .5em;
        font-weight: 600;
      font-size: 1.2em;
    }
    .cbp-af-header.cbp-af-header-shrink nav a {
        font-size: 1em;
    }
}

@media screen and (min-width: 1400px) {
    
    #banner {
        min-height: 80vh;
    }

}

@media screen and (max-width: 1200px) {
    
    input {
        width: 73.5%;
    }
    
    #contacts {
        background-size: 150%;
    }
    
    #contacts ul {
        margin-top: 45px;
    }
    
    #contacts p {
        max-width: 420px;
        margin: auto;
        padding-top: 58px;
    }
    
    .col-xs-12.col-sm-1.col-md-1.col-lg-1 > a > img {
        margin-top: 45px;
    }
    
}

@media screen and (max-width: 991px) {
    
    .navigation {
        min-height: 130px;
        background: #ffffff;
    }
    
    .navigation ul {
        margin-top: -45px;
    }
    
    main > h1 {
        top: 330px;
    }
    
    #banner {
        min-height: 40vh;
        margin-top: 345px;
    }
    
    input {
        width: 64%;
    }
    
    #contacts p {
        max-width: 320px;
    }
    
}

@media screen and (max-width: 767px) {
    .togHamb{
        max-width: 50%;
        left: 50%;
    }
    
    .navigation {
        min-height: 95px;
        background: #ffffff;
        -webkit-box-shadow: 0px 0px 0px opx rgb(0 0 0 / 0%);
        box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 0%);
    }
    
    #navbarToggleButton {
        position: relative;
        float: right;
        margin-top: 30px;
        outline: none;
        right: -15px;
        display: block;
    }

    #navbarToggleButton .hamburger-inner, 
    #navbarToggleButton .hamburger-inner:after, 
    #navbarToggleButton .hamburger-inner:before {
        background-color: #c8483c;
    }

    .collapsing {
        position: absolute;
        width: 100%;
        left: 0px;
    }

    .main_navigation ul {
        position: absolute;
        left: 0px;
        padding: 0px;
        display: inline-grid;
        min-width: 100%; 
        background-color: #f2f2f2;
        margin-top: 0px;
    }

    main > h1 {
        top: 205px;
        font-size: 25px;
    }
    
    h1 { 
        font-size: 33px;
    }
    
    #banner {
        background-size: 240%;
        margin-top: 220px;
        min-height: 60vh;
    }
    
    .line{
        background-size: 240%;
    }
    
    article:nth-child(18) > section > div > div{
        padding-left: 0px;
        padding-right: 0px;
    }
    
    input {
        width: 60vw;
    }
    
    label {
        padding: 11px 5px;
        min-width: 130px;
        font-size: 13px;
    }

    #contacts {
        background-size: 350%;
    }
    
    #contacts ul {
        margin-top: 55px;
        margin-left: 25%;
    }
    
    #contacts p {
        padding-top: 0px;
        padding-bottom: 10px;
        margin-top: 0px;
    }
    
    .col-xs-12.col-sm-1.col-md-1.col-lg-1 > a > img {
        margin: auto;
        padding-bottom: 20px;
        display: block;
        float: none;
    }
}

@media screen and (max-width: 667px) {

}

@media screen and (max-width: 640px) {

}

@media screen and (max-width: 500px) {

}

@media screen and (max-width: 400px) {
    main > h1 {
        font-size: 23px;
        margin-top: -10px;
    }
    
    h1 { 
        font-size: 28px;
    }
    
    input {
        width: 55.5vw;
    }
}

@media screen and (max-width: 320px) {
    main > h1 {
        font-size: 21px;
        margin-top: 10px;
    }
    
    #contacts ul {
        margin-left: 20%;
    }
    
    input {
        width: 48.5vw;
    }
}