*{
    box-sizing: border-box;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline; }
/*-----fonts-----*/
@font-face {
    font-family: 'Myriad Pro Regular';
    src: url('../fonts/MyriadProRegular/MyriadPro-Regular.eot');
    src: url('../fonts/MyriadProRegular/MyriadPro-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/MyriadProRegular/MyriadPro-Regular.woff') format('woff'),
    url('../fonts/MyriadProRegular/MyriadPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Myriad Pro Light SemiExtended';
    src: url('../fonts/MyriadProLightSemiExtended/MyriadPro-LightSemiExt.eot');
    src: url('../fonts/MyriadProLightSemiExtended/MyriadPro-LightSemiExt.eot?#iefix') format('embedded-opentype'),
    url('../fonts/MyriadProLightSemiExtended/MyriadPro-LightSemiExt.woff') format('woff'),
    url('../fonts/MyriadProLightSemiExtended/MyriadPro-LightSemiExt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Myriad Pro Semibold';
    src: url('../fonts/MyriadProSemibold/MyriadPro-Semibold.eot');
    src: url('../fonts/MyriadProSemibold/MyriadPro-Semibold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/MyriadProSemibold/MyriadPro-Semibold.woff') format('woff'),
    url('../fonts/MyriadProSemibold/MyriadPro-Semibold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    max-width: 1920px;
    min-width: 320px;
    margin: 0 auto;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    font-size: 20px;
    font-family: 'Myriad Pro Regular';
    line-height: 1; }
main{
    flex-grow: 1;
    position: relative;
    display: flex;
    justify-content: center;
    padding: 45px 0;
}
b{
    font-family: 'Myriad Pro Semibold';
}
ol, ul {
    list-style: none; }
table {
    border-collapse: collapse;
    border-spacing: 0; }
caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle; }
q, blockquote {
    quotes: none; }
q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none; }
a img {
    border: none; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
    display: block; }
p{
    padding: 20px 0;
    text-align: center;
}
/*---custom css---*/
header{
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.content{
    width: 100%;
    max-width: 890px;
    min-height: 520px;
    padding: 55px 40px;
    display: none;
}
#second_modal{
    padding-bottom: 0;
}
.subscribe_title{
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Myriad Pro Light SemiExtended';
}
.formbox{
    padding-left: 40px;
    margin-bottom: 20px;
}
label{
    font-family: 'Myriad Pro Semibold';
    position: relative;
    cursor: pointer;
    line-height: 2;
}
label:before{
    content: '';
    display: inline-block;
    width: 23px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    left: -40px;
    top: -3px;
}
label:after{
    content: '';
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    width: 23px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    left: -40px;
    top: -3px;
    opacity: 0;
    transition: all 0.3s;
}
input[type="checkbox"]{
    position: absolute;
    opacity: 0;
}
input[type="checkbox"]:checked + label:after{
    opacity: 1;
}
.checkbox_descr{
    color: rgba(0, 0, 0, 0.749);
    padding-left: 40px;
}
.btn{
    display: block;
    border: 0;
    cursor: pointer;
    background-color: transparent;
    padding: 0;
    margin: 50px auto;
    outline: 0;
    font-size: 20px;
    line-height: 40px;
    text-transform: uppercase;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    font-weight: bold;
}
.btn:hover{
    -webkit-box-shadow: 0px 5px 15px -9px rgba(0,0,0,0.63);
    -moz-box-shadow: 0px 5px 15px -9px rgba(0,0,0,0.63);
    box-shadow: 0px 5px 15px -9px rgba(0,0,0,0.63);
}
.btn.disable{
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: filter 1s;
    box-shadow: none;
    cursor: auto;
    min-width: 210px;
}
#all{
    cursor: pointer;
    color: #673ab7;
    text-decoration: underline;
}
#all:hover{
    text-decoration: none;
}
#error{
    position: fixed;
    top: 50px;
    right: 50px;
    border-radius: 5px;
    padding: 10px;
    background-color: #e8e8e8;
    border: 1px solid #9e9e9e;
    line-height: 1;
    display: none;
}
footer{
    height: 90px;
    display: flex;
    justify-content: center;
    font-size: 0.7rem;
    align-items: center;
}
@media (max-width: 767px){
    header{
        height: 100px;
    }
    .content{
        padding: 30px 15px;
    }
    .logo{
        transform: scale(0.6);
    }
    main{
        padding: 25px 0;
    }
    .btn{
        margin: 30px auto;
        max-width: 100%!important;
    }
    .send{
        font-size: 15px!important;
    }
    .checkbox_descr{
        padding: 0;
    }
}