html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    outline: none;
    -webkit-font-smoothing: subpixel-antialiased;
}

html,
body {
    -webkit-text-size-adjust: none;
    height: 100%;
}


/*----- typography css -----*/

article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary {
    display: block;
}

textarea:focus,
input:focus,
a,
div,
img {
    outline: none;
}


/* Base Typography
------------------------------------------------------------------------------*/

body {
    background-color: #fff;
    color: #27445B;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    outline: none;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    /* font-family: 'Roboto', sans-serif; */
}

#wrapper {
    position: relative;
    overflow: hidden;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #334454;
    font-family: inherit;
    line-height: 1.5;
    position: relative;
    margin: 0;
    padding: 0;
}

.h1,
h1 {
    font-size: 76px;
    margin-bottom: 40px;
    font-family: 'Minion Pro';
    font-weight: bold;
    line-height: 90px;
}

.h2,
h2 {
    color: #658F0C;
    font-size: 38px;
    margin-bottom: 20px;
    font-family: 'Minion Pro';
    font-weight: bold;
    line-height: 48px;
}

.h3,
h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-family: 'Minion Pro';
    font-weight: 600;
    line-height: 38px;
}

.h4,
h4 {
    font-size: 24px;
    color: #658F0C;
    margin-bottom: 20px;
    line-height: 36px;
    font-family: 'Minion Pro';
    font-weight: 600;
}

.h5,
h5 {
    font-size: 20px;
    color: #334454;
    margin-bottom: 20px;
    line-height: 26px;
}

.h6,
h6 {
    font-size: 18px;
    color: #334454;
    margin-bottom: 15px;
    line-height: 24px;
    font-family: 'Minion Pro';
    font-weight: 600;
}

h1 a,
.h1 a,
h2 a,
.h2 a,
h3 a,
.h3 a,
h4 a,
.h4 a,
h5 a,
.h5 a,
h6 a,
.h6 a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-bottom: 20px;
    margin-top: 0;
    color: #334454;
}

p:last-child {
    margin-bottom: 0;
}

ul {
    padding: 0;
    margin: 0;
}

ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

ol {
    padding-left: 20px;
}

ol li {
    padding-bottom: 10px;
}

ol li:last-child {
    padding-bottom: 0;
}

.main-content ul,
.main-content ol {
    margin-bottom: 20px;
}

.main-content ul li+li,
.main-content ol li+li {
    margin-top: 12px;
}

blockquote {
    display: block;
    text-align: left;
    position: relative;
    background: #cbcbcb;
    padding: 20px 20px;
    border-left: 4px solid #334454;
    line-height: 2;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 25px;
}

blockquote p {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: top;
}

img[src$=".svg"] {
    width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: top;
}


/* Link
------------------------------------------------------------------------------*/

a {
    color: #658F0C;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: none;
}

a:focus {
    outline: none;
}


/* 5. Forms
------------------------------------------------------------------------------*/

label {
    color: #27445B;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 10px;
    display: block;
}

input,
select,
textarea,
button {
    font-family: 'Open Sans', sans-serif;
}

input[type="text"],
input[type="submit"],
input[type="button"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea {
    -webkit-appearance: none;
    outline: none;
}

select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
textarea {
    border: 1px solid #27445B;
    padding: 15px;
    color: #334454;
    font-size: 16px;
    height: auto;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    width: 100%;
}

textarea {
    display: block;
    height: 150px;
    padding: 15pxx;
    resize: none;
    overflow: auto;
}

select {
    -webkit-appearance: none;
    background-image: url(../images/select-down.png);
    background-size: 24px 24px;
    background-position: right 10px center;
    background-repeat: no-repeat;
}

select:focus {
    outline: none;
}


/* for ie */

select::-ms-expand {
    display: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus {
    border-color: none;
    outline: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    padding: 15px 20px;
    font-size: 24px;
    line-height: 22px;
    text-align: center;
    text-transform: none;
    border-radius: 0px;
    color: #334454;
    background-color: #fff;
    border: 2px solid #334454;
    box-shadow: 8px 8px 0px #27445B;
    outline: none;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: #fff;
    box-shadow: 8px 8px 0px #658F0C;
    color: #334454;
    border: 2px solid #658F0C;
    outline: none;
}

input[type="search"] {
    -webkit-appearance: none;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-input-placeholder {
    opacity: 1 !important;
    color: #334454;
}

:-moz-placeholder {
    opacity: 1 !important;
    color: #334454;
}

::-moz-placeholder {
    opacity: 1 !important;
    color: #334454;
}

:-ms-input-placeholder {
    opacity: 1 !important;
    color: #334454;
}

.form-group {
    margin-bottom: 30px;
}


/* buttons */

.btn {
    -webkit-appearance: button;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-align: center;
    text-transform: none;
    border-radius: 0px;
    color: #334454;
    background-color: #fff;
    border: 2px solid #334454;
    box-shadow: 8px 8px 0px #27445B;
    outline: none;
    position: relative;
}

.btn:hover {
    background-color: #fff;
    box-shadow: 8px 8px 0px #658F0C;
    color: #334454;
    border: 2px solid #658F0C;
    outline: none;
}

.btn-sm {
    padding: 10px 12px;
}

.btn-md {
    padding: 12px 20px;
}

.aspect-ratio {
    width: 100%;
    height: 0;
    overflow: hidden;
    position: relative;
    display: block;
}

.aspect-ratio img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.fancybox-button {
    box-shadow: none !important;
}

.fancybox-button:hover {
    background-color: #658F0C !important;
    border: inherit !important;
}


/***RESPONSIVE***/

@media( max-width:1400px) {
    .h1,
    h1 {
        font-size: 60px;
        line-height: 70px;
        margin-bottom: 30px;
    }
    .btn {
        font-size: 22px;
        line-height: 24px;
    }
}

@media( max-width:1300px) {
    .h1,
    h1 {
        font-size: 50px;
        line-height: 60px;
    }
    .btn {
        padding: 9px 18px;
        font-size: 20px;
        line-height: 24px;
    }
}

@media( max-width:1023px) {
    .h1,
    .h2,
    .h3,
    .h4,
    .h5,
    .h6,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: 1.2;
    }
    .h1,
    h1 {
        font-size: 44px;
        margin-bottom: 20px;
        line-height: 56px;
        margin-bottom: 25px;
    }
    .h2,
    h2 {
        font-size: 36px;
        line-height: 40px;
    }
    .h3,
    h3 {
        font-size: 32px;
        line-height: 38px;
    }
    .h4,
    h4 {
        font-size: 22px;
        margin-bottom: 18px;
        line-height: 30px;
    }
    .h5,
    h5 {
        margin-bottom: 18px;
        line-height: 26px;
    }
    .btn {
        font-size: 18px;
        line-height: 24px;
    }
}

@media( max-width:767px) {
    .btn,
    button,
    input[type="button"],
    input[type="reset"],
    input[type="submit"] {
        box-shadow: 5px 5px 0px #27445b;
        font-size: 18px;
        line-height: 24px;
        padding: 10px 20px;
    }

	.h1,
    h1 {
        font-size: 38px;
        margin-bottom: 20px;
        line-height: 44px;
        margin-bottom: 20px;
    }

    .h2,
    h2 {
        font-size: 28px;
        line-height: 32px;
    }
    .h3,
    h3 {
        font-size: 26px;
        line-height: 32px;
    }
    .h4,
    h4 {
        font-size: 22px;
        line-height: 30px;
    }
}