html {
    font-family: $primaryFont;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: $blackColor;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-size: 16px;
    line-height: 1.42857143;
    font-family: $primaryFont;
}

input,
button,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

a {
    color: $primaryColor;
    text-decoration: none;
    @include trans(.2s);
    outline: none;
    cursor: pointer;
}

a:hover,
a:focus {
    color: darken($primaryColor, 10%);
    text-decoration: none;
}

figure {
    margin: 0;
}

img {
    vertical-align: middle;
    max-width: 100%;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

p {
    text-align: left;
    font-family: $primaryFont;
    font-size: 16px;
    line-height: 1.4 #{"/*rtl: 1.6*/"};
    color: $textColor;
}
.btn {
    padding: 14px 35px;
    text-align: center;
    display: block;
    background: $primaryColor;
    border: 2px solid $primaryColor;
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    font-family: $primaryFont;
    @include trans(.2s);
    outline: 0;

    @include mqx(d){
        padding: 10px 18px;
    }
    &.btn-brand-outline{
        border: 2px solid $primaryColor;
        background: transparent;
        color: $blackColor;

        &:hover, &:focus {
            background: $primaryColor;
            border: 2px solid $primaryColor;
            color: #fff;
        }
    }
    &:hover, &:focus {
        outline: 0;
        color: #fff;
        border: 2px solid darken($primaryColor, 10%);
        background: darken($primaryColor, 10%);
    }
    &.btn-white{
        border: 2px solid #fff;
        background: #fff;
        color: $primaryColor;

        &:hover, &:focus {
            background: darken(#fff, 15%);
            border: 2px solid  darken(#fff, 15%);
            color: $primaryColor;
        }
    }
}

.main-title {
    font: 39px/1 $primaryFont;
    font-weight: 800;
    color: $primaryColor;

    @media (max-width: $tablet) {
        font-size: 25px;
    }

}

.input-field {
    width: 100%;
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid #ccc;
    font: 14px/1 $primaryFont;
    outline: 0;
}

select.input-field {
    padding: 5px 20px;
}

.text_center {
    text-align: center;
}

.vcenter {
    @include flex_align_items(center);
    @include flex_justify_content(flex-start);
    @include display_flex();

    @media (max-width: $laptop) {
        display: block;
    }
}

label {
    color: $blackColor;
    font-family: $primaryFont;
    font-size: 16px;
    margin-bottom: 0;
}

input {
    width: 100%;
    padding: 7px 15px;
    border-radius: 5px;
    border: 1px solid #CCCCCC;
    background: #fff;
    font-size: 14px;
    font-family: $primaryFont;
    outline: 0;
}

input[type="submit"] {
    background: $primaryColor;
    width: auto;
    height: auto !important;
    margin: 0 auto;
    color: #fff;
    @include trans(.2s);

    &:hover {
        background: darken($primaryColor, 10%);
    }
}
input[type="file"] {
    border: 0;
    padding: 10px 0;
}
.parsley-required, .parsley-equalto {
    color: #a94442;
    padding: 10px;
    font: 13px/1 $primaryFont;
}
.cover{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
button:focus{
    outline: 0;
}
.section-title{
    h2{
        @include mqx(t){
            font-size: 26px;
        }
    }
}
.form-control{
    height: calc(1.5em + .75rem + 13px);
    border: 1px solid #e2e2e2;
}
.no-content{
    &:after,&:before{
        content: none;
    }
}
.dropdown-item.active, .dropdown-item:active{
    background-color: $primaryColor;
    color: #fff;
}
.select-custom{
    background: #F2F2F2;
    border: 1px solid #e7e7e7;
    position: relative;
    margin-bottom: 1rem;

    &:after{
        content: "\f078";
        font-family: "Font Awesome 5 Free";
        font-size: 14px;
        font-weight: 600;
        position: absolute;
        z-index: 2;
        top: 14px;
        right: 15px;
        pointer-events: none;
    }
    select{
        -webkit-appearance: none;
        appearance: none;
        border: none;
        padding: 10px 15px;
        width: 100%;
        height: calc(1.5em + .75rem + 10px);

        option[value=""][disabled] {
            display: none;
        }

        &:focus{
            outline: 1px solid $primaryColor;
            border-radius: 0;
        }
    }
}
textarea{
    resize: none;
}