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;
}

* {
    -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;
}

::-webkit-input-placeholder { /* Edge */
    color: $secondaryColor;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: $secondaryColor;
}

::placeholder {
    color: $secondaryColor;
}

body {
    font: 600 16px/1.62857143 $primaryFont;
    color: $secondaryColor;

    &.register{
        background: url('../img/cover/sign.jpg');

        @include mqx(t){
            background-position: 60% 50%;
        }
    }
    &.sign{
        background: url("../img/cover/signin.jpg");
        padding: 0;

        @include mqx(t){
            background-position: 70% 50%;
        }
    }
}

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: 600 16px/1.62857143 $primaryFont;
    color: $secondaryColor;
}

.btn {
    padding: 15px 25px;
    text-align: center;
    background: $primaryColor;
    color: $secondaryColor;
    border-radius: 5px;
    font: 700 14px/1.2 $primaryFont;
    @include trans(.2s);
    outline: 0;
    border: 0;

    @include mqx(x){
        padding: 13px;
    }
    &:hover, &:focus {
        background: none;
        outline: 0;
        background: lighten($primaryColor, 10%);
    }

    &.btn-outline{
        background: transparent;
        border: 2px solid $secondaryColor;
        color: $secondaryColor;

        &:hover, &:focus {
            background: $secondaryColor;
            color: #fff;
            outline: 0;
        }
    }
    &.btn-black{
        color: #fff;
        border: solid 3px #000;
        background-color: #000;
    }
    &.btn-purple{
        border: solid 3px $purple;
        background-color: $purple;
        color: #fff;

        &:hover, &:focus {
            border: solid 3px darken($purple, 10%);
            background-color: darken($purple, 10%);
            color: #fff;
        }
    }
    &.btn-orange{
        border: solid 3px $orange;
        background-color: $orange;
        color: #fff;

        &:hover, &:focus {
            border: solid 3px lighten($orange, 10%);
            background-color: lighten($orange, 10%);
            color: #fff;
        }
    }
    &.btn-blue{
        border: solid 3px $blue;
        background-color: $blue;
        color: $secondaryColor;

        &:hover, &:focus {
            border: solid 3px lighten($blue, 10%);
            background-color: lighten($blue, 10%);
            color: $secondaryColor;
        }
    }
    &.btn-orange-outline{
        background: transparent;
        border: 2px solid $orange;
        color: $orange;

        &:hover, &:focus {
            background: $orange;
            color: #fff;
            outline: 0;
        }
    }
}

.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();
}

label {
    color: $textColor;
    font: 17px/45px $primaryFont;
    margin-bottom: 0;
}

input,
textarea{
    width: 100%;
    padding: 13px 25px;
    border-radius: 5px;
    background: #fff;
    font: 14px/1 $primaryFont;
    outline: 0;
    border: solid 2px #e0e0e0;
}
textarea{
    resize: none;
}
input[type="submit"] {
    background: $primaryColor;
    width: 205px;
    height: auto !important;
    margin: 0 auto;
    color: #fff;
    @include trans(.2s);

    &:hover {
        background: darken($primaryColor, 10%);
    }
}

.parsley-required, .parsley-equalto {
    color: #a94442;
    padding: 10px;
    font: 13px/1 $primaryFont;
}
.cover{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
hr{
    width: 100%;
    height: 5px;
    background-color: $primaryColor;
    border: none;
}

.container-fluid {
    max-width: 1440px;
}
.join{
    .container-fluid {
        max-width: 100%;
    }
}
.checkbox-custom {
    &.radio-custom{
        .form-radio {
            border-radius: 50%;

            &:checked::before {
                content: none;
            }
            &:hover,
            &:checked {
                background-color: #555555;
                border: 2.5px solid #555555;
            }
        }
    }
    .form-radio {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        display: inline-block;
        position: relative;
        background-color: transparent;
        color: #666;
        top: 10px;
        height: 20px;
        width: 20px;
        cursor: pointer;
        margin: 0 5px 0 0;
        outline: none;
        border-radius: 3px;
        border: 2.5px solid #e0e0e0;

        &:focus {
            outline: none;
        }
        &:checked::before {
            position: absolute;
            left: 3px;
            top: -4px;
            content: '\02143';
            transform: rotate(40deg);
            color: $secondaryColor;
        }
        &:hover,
        &:checked {
            background-color: $primaryColor;
            border: 2.5px solid $primaryColor;
        }
    }
    label {
        font: 500 18px/1.7 $primaryFont;
        color: $secondaryColor;
        cursor: pointer;
        display: initial;
    }
}
.custom-select {
    position: relative;
    display: block;
    margin: 0 auto;
    z-index: 10;
    background: #fff;
    font: 14px/1 $primaryFont;
    outline: 0;
    border: solid 2px #e0e0e0;
    padding: 13px 25px;
    border-radius: 5px;

    select {
        border: none;
        outline: none;
        background: transparent;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 0;
        margin: 0;
        display: block;
        width: 100%;
        height: 21px;
        line-height: 1.6;
    }
    &:after {
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 100%;
        line-height: 49px;
        content: "\f107";
        font-family: "Font Awesome 5 Free";
        text-align: center;
        z-index: -1;
        font-weight: 700;
        color: #b5b4b4;
    }
}
.doctor-slider,
.service-slider,
.product-slider,
.services-slider{
    margin-right: -10px;
    margin-left: -10px;

    .doctor-card{
        padding: 10px;
    }
}
.cookie{
    position: fixed;
    bottom: 0;
    left:0;
    width: 100%;
    background: $orange;
    z-index: 9999;
    padding: 10px 30px;
    color: #fff;
    font-size:16px;
    @include cfx;

    .close-cookie{
        float: right;
        font-size: 20px;
        color: #000;

        &:hover{
            color: orangered;
        }
    }
    .cookie-update{
        float: left;
        line-height: 2.1;
        color: #000;
    }
}
.clearfix-m{
    @include mqx(t){
        @include cfx;
    }
}
.border-gray{
    border-radius: 5px;
    border: 2px solid #e0e0e0;
}
