/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/GothamPro-Black.eot');
    src: local('Gotham Pro Black'), local('GothamPro-Black'),
    url('../fonts/GothamPro-Black.eot?#iefix') format('embedded-opentype'),
    url('../fonts/GothamPro-Black.woff') format('woff'),
    url('../fonts/GothamPro-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/GothamPro-Medium.eot');
    src: local('Gotham Pro Medium'), local('GothamPro-Medium'),
    url('../fonts/GothamPro-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/GothamPro-Medium.woff') format('woff'),
    url('../fonts/GothamPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/GothamPro.eot');
    src: local('Gotham Pro'), local('GothamPro'),
    url('../fonts/GothamPro.eot?#iefix') format('embedded-opentype'),
    url('../fonts/GothamPro.woff') format('woff'),
    url('../fonts/GothamPro.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/GothamPro-Light.eot');
    src: local('Gotham Pro'), local('GothamPro-Light'),
    url('../fonts/GothamPro-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/GothamPro-Light.woff') format('woff'),
    url('../fonts/GothamPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    height: 100%;
    box-sizing: content-box;
}

body.login-page {
    font-family: "Gotham Pro", sans-serif;
    line-height: 1.2;
    font-size: 14px;
    color: #fff;
    height: 100%;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
img {
    max-width: 100%;
}

.login-page main {
    overflow-y: auto;
    height: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.container {
    padding: 0 15px;
    width: 1170px;
    margin: 0 auto;
    position: relative;
}

.row {
    margin: 0 -15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
}

.col {
    padding: 0 15px;
    width: 100%;
}

.col-2 {
    padding: 0 15px;
    width: 50%;
}

.col-3 {
    padding: 0 15px;
    width: 33.3333%;
}

.col-4 {
    padding: 0 15px;
    width: 25%;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

}

h1, h2, h3, h4, p, ul, li {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.section_logo{
    padding: 20px 0;
    background: #2c2e3d;
}

.flex_center{
    -webkit-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.flex_column{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.section_form{
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: url("../img/bg.jpg")no-repeat center top;
    -webkit-background-size: cover;
    background-size: cover;
}
.form_group{
    box-sizing: content-box;
    padding: 35px 50px;
    text-align: center;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background: #FF5777;
    background: -webkit-linear-gradient(top right, #FF5777, #FF836C);
    background: -moz-linear-gradient(top right, #FF5777, #FF836C);
    background: linear-gradient(top right, #FF5777, #FF836C);
    width: 340px;
    margin: 0 auto;
}
.form_title{
    font-size:25px;
    font-weight: 900;
    margin-bottom: 10px;
}
.form_sub_title{
    margin:0  auto 25px;
    font-size: 14px;
    font-weight: 300;
    max-width: 250px;
}
.section_form {
    min-height: calc(100% - 60px);
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.action-signup .section_form {

}
form{
    color: #000;
}
.form-item, .form-group {
    margin: 0 auto 17px;
}
.form-item.has-danger,
.form-group.has-danger {
    margin-bottom: 0;
}
.text-danger {
    color: #fff !important;
    margin: 0px;
    font-size: 10px;
    line-height: 17px;
}
.g-recaptcha > div {
    margin: 0 auto;
}
.login-page input{
    height: 47px;
    outline: none;
    border:0;
    text-align: center;
    -webkit-border-radius: 30px;
    -moz-border-radius:30px ;
    border-radius:30px ;
    width:345px ;
}
.login-page form button{
    -webkit-box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.34);
    -moz-box-shadow:    0px 10px 30px 0px rgba(0, 0, 0, 0.34);
    box-shadow:         0px 10px 30px 0px rgba(0, 0, 0, 0.34);
    border:0;
    background: #b02e47;
    margin: 0 auto 25px;
    height: 60px;
    outline: none;
    color: #fff!important;
    -webkit-border-radius: 30px;
    -moz-border-radius:30px ;
    border-radius:30px ;
    width:345px ;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    animation: bg 4s linear infinite;
    background: #b02e47; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #b02e47 0%, #b02e47 48%, #ffffff 48%, #ffffff 52%, #f35d4b 52%, #f35d4b 52%, #f35d4b 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #b02e47 0%, #b02e47 48%, #ffffff 48%, #ffffff 52%, #b02e47 52%, #b02e47 52%, #b02e47 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #b02e47 0%, #b02e47 48%, #ffffff 48%, #ffffff 52%, #b02e47 52%, #b02e47 52%, #b02e47 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b02e47', endColorstr='#b02e47', GradientType=1); /* IE6-9 fallback on horizontal gradient */

    background-size: 300%;
    background-position: 0;
}
.captcha_block{
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 345px;
}
.captcha_block img{
    margin-left: 15px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.captcha_block input, .captcha_input{
    margin: 0;
    width:225px ;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}
.switch_text{
    color: #fff;
    padding: 0 10px;
}
.end{
    -ms-flex-item-align: end;
    align-self: flex-end;
}
@keyframes bg {
    0% {
        background-position: 100%;
    }
    15% {
        background-position: 0;
    }
}
.login-page a{
    color: #fff;
    font-size: 13px;
    padding: 0 5px;
    font-weight: 300;
}
*,
*:after,
*:before {
    box-sizing: inherit;
    transition-duration: .2s;
    transition-property: none;
    transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

.field {
    display: block;
    padding: 8px;
    position: relative;
}
input[type="checkbox"]{
    -webkit-appearance: none;
    -moz-appearance: none;
}
.field input {
    position: relative;
}
.field input.switch {
    cursor: default;
    display: block;
    width: 36px;
    height: 22px;
}
.field input.switch::after, .field input.switch::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    cursor: pointer;
}
.field input.switch::before {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) inset;
    height: 22px;
    left: 0;
    top: 1px;
    transition-property: background, box-shadow;
    width: 36px;
}
.field input.switch::after {
    background: #ff7a6b;
    border-radius: 50%;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14), 0 4px 8px 0 rgba(0, 0, 0, 0.14);
    cursor: pointer;
    height: 24px;
    left: -6px;
    top: 0px;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition-property: background, -webkit-transform;
    transition-property: background, transform;
    transition-property: background, transform, -webkit-transform;
    width: 24px;
    border:5px solid #fff;
}
.field input.switch:checked:after {
    background: #ff7a6b;
    -webkit-transform: translateX(24px);
    transform: translateX(24px);
    border:5px solid #fff;
}
.field input.switch:checked:before {
    background: #fff;
}
.field .hide {
    background: #E8E8E8;
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}
.none{
    display: none!important;
}

/*@media only screen and (max-width: 1367px) {*/
    /*main{*/
        /*min-height: 1000px;*/
    /*}*/
/*}*/
@media only screen and (max-width: 1400px){
    main{
        height: 100%;
        overflow-y: auto;
    }
    /*
    #registration{
        margin-top: 170px;
        margin-bottom: 20px;
    }
    */
}
@media only screen and (max-width: 1169px) {
    .container{
        width: 768px;
    }

}
@media only screen and (max-width: 767px) {
    .container {
        width: 290px;
    }
    .row{
        width: 100%;
    }
    .form_group {
        width: 100% !important;
        margin: 0 auto;
        padding: 15px 10px;
        justify-content: flex-start!important;
    }
    .section_form{
        padding: 20px 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    form{
        position: relative;
        z-index: 0;
    }

    input {
        width: 260px;
        height: 37px;
    }

    button {
        width: 260px;
        height: 47px;
    }

    .captcha_block {
        width: 260px;
        margin: 0 auto;
    }

    .captcha_block img {
        margin: 0;
    }
    #autorization{
        margin-top: -150px;
    }
    #recovery{
        margin-top: -150px;
    }
    #registration{
        margin-top: 100px;
        margin-bottom: 20px;
    }



}
    /* ==========================================================================
       Media Queries
       ========================================================================== */
    @media only screen and (min-width: 35em) {

    }

    @media print,
    (-o-min-device-pixel-ratio: 5/4),
    (-webkit-min-device-pixel-ratio: 1.25),
    (min-resolution: 120dpi) {

    }

    /* ==========================================================================
       Helper classes
       ========================================================================== */
    .hidden {
        display: none !important;
        visibility: hidden;
    }

    .visuallyhidden {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .visuallyhidden.focusable:active,
    .visuallyhidden.focusable:focus {
        clip: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        position: static;
        width: auto;
    }

    .invisible {
        visibility: hidden;
    }

    .clearfix:before,
    .clearfix:after {
        content: " ";
        display: table;
    }

    .clearfix:after {
        clear: both;
    }

    .clearfix {
        *zoom: 1;
    }

    /* ==========================================================================
       Print styles
       ========================================================================== */
    @media print {
        *,
        *:before,
        *:after {
            background: transparent !important;
            color: #000 !important;
            box-shadow: none !important;
            text-shadow: none !important;
        }

        a,
        a:visited {
            text-decoration: underline;
        }

        a[href]:after {
            content: " (" attr(href) ")";
        }

        abbr[title]:after {
            content: " (" attr(title) ")";
        }

        a[href^="#"]:after,
        a[href^="javascript:"]:after {
            content: "";
        }

        pre,
        blockquote {
            border: 1px solid #999;
            page-break-inside: avoid;
        }

        thead {
            display: table-header-group;
        }

        tr,
        img {
            page-break-inside: avoid;
        }

        img {
            max-width: 100% !important;
        }

        p,
        h2,
        h3 {
            orphans: 3;
            widows: 3;
        }

        h2,
        h3 {
            page-break-after: avoid;
        }
    }