@font-face {
    font-family: Montserrat;
    font-weight: normal;
    src: url("../fonts/Montserrat-Regular.otf") format("opentype")
}

@font-face {
    font-family: Montserrat;
    font-weight: bold;
    src: url("../fonts/Montserrat-Bold.otf") format("opentype")
}

html, body {
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p, img, dl, dt, dd, ol, ul, li, form, label, button, input, textarea, select,option {
    border: 0;
    outline: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    vertical-align: baseline;
}

a, button, input, textarea {
    text-decoration: none;
    outline: none;
}

.wrapper {
    width: 100%;
    min-width: 100%;
    position: relative;
}


.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.main-width {
    width: 1024px;
    margin: 0 auto;
}

header {
    width: 100%;
    height: 90px;
    background: #fff;
}

header .logo {
    width: 156px;
    height: 55px;
    display: block;
    margin: 18px 0 17px;
    background: url(../images/logo.svg) 0 0 no-repeat;
}

header .menu li {
    float: left;
    margin-right: 25px;
}

header .menu li a {
    display: block;
    line-height: 20px;
    margin: 35px 0;
    color: #404041;
}

header .menu li.active a {
    border-bottom: 1px solid #404041;
}

header .menu li a:hover  {
    color: #f7a81b;
}

header .menu li.active a:hover {
    border-color: #f7a81b;
}

header .authorization {
    padding: 22px 0;
}

header .authorization a {
    width: 108px;
    height: 44px;
    display: block;
    float: left;
    border: 1px solid #f7a81b;
    border-radius: 3px;
    text-align: center;
    line-height: 44px;
}

header .authorization a.sign-in {
    margin-right: 25px;
}

header .authorization a.sign-in, header .authorization a.sign-up:hover {
    background: #fff;
    color: #f7a81b;
}

header .authorization a.sign-up, header .authorization a.sign-in:hover {
    background: #f7a81b;
    color: #fff;
}

.main-page-top {
    width: 100%;
    background: url(../images/main-page-top.jpg) 50% 0 no-repeat;
    padding: 90px 0;
    text-align: center;
}

.main-page-top > div {
    padding: 30px 0;
}

.main-page-top h1 {
    font-size: 40px;
    font-weight: normal;
    margin: 0 0 20px;
    color: #fff;
}

.main-page-top p {
    color: #fff;
}

.main-page-bottom {
    width: 100%;
    height: 209px;
    height: 209px;
    background: url(../images/main-page-bottom.jpg) 50% 0 no-repeat;
    padding-top: 60px;
    text-align: center;
}

.main-page-bottom h1 {
    font-size: 34px;
    font-weight: normal;
    margin: 0 0 35px;
    color: #fff;
}

.main-page-bottom a {
    width: 160px;
    height: 56px;
    display: block;
    margin: 0 auto;
    border: 1px solid #f7a81b;
    background: #f7a81b;
    border-radius: 3px;
    font-size: 21px;
    text-align: center;
    line-height: 56px;
    color: #fff;
}

.main-page-bottom a:hover {
    background: rgba(255,255,255,0.1);
    color: #f7a81b;
}

section.main-page {
    padding: 50px 0;
}

section.main-page h2{
    font-size: 34px;
    font-weight: normal;
    color: #323232;
    margin: 0 0 45px;
    text-transform: uppercase;
    text-align: center;
}

section.main-page ul li {
    width: 280px;
    float: left;
    text-align: center;
    margin: 0 90px;
}

section.main-page ul li .img-wrap {
    width: 85px;
    height: 85px;
    margin: 0 auto;
    background: url(../images/main-page.svg) -85px 0 no-repeat;
}

section.main-page ul li:first-child .img-wrap {
    background-position: 0 0;
}

section.main-page ul li:last-child .img-wrap {
    background-position: -170px 0;
}

section.main-page ul li:first-child, section.main-page ul li:last-child {
    margin: 0;
}

section.main-page ul li h3 {
    font-size: 20px;
    font-weight: normal;
    margin: 25px 0;
    color: #222222;
}

section.main-page ul li p {
    width: 200px;
    margin: 0 auto;
    line-height: 24px;
    color: #777777;
}


section.stats {
    width: 100%;
    height: 200px;
    background: url(../images/stats.jpg) 50% 0 no-repeat;
}

section.stats ul {
    padding: 55px 0;
    margin: 0;
    list-style: none;
}

section.stats ul li {
    width: 256px;
    height: 90px;
    float: left;
    color: #fff;
}

section.stats ul li span {
    height: 60px;
    display: block;
    font-size: 54px;
    line-height: 60px;
}

section.stats ul li p {
    line-height: 20px;
    margin: 10px 0;
}

section.work-with {
    width: 100%;
    height: 140px;
    padding: 50px 0;
}

section.work-with h2 {
    font-size: 34px;
    font-weight: normal;
    color: #323232;
    margin: 0 0 45px;
    text-transform: uppercase;
    text-align: center;
}

section.work-with button {
    width: 16px;
    height: 50px;
    opacity: 0.5;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    cursor: pointer;
    background: url(../images/arrow.svg) 0 0 no-repeat;
    display: none;
}
section.work-with button:hover {
    opacity: 1;
}

section.work-with .next {
    background-position: -20px 0;
}


section.work-with .slider {
    width: 990px;
    margin: 0 auto;
}

section.work-with .slider ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

section.work-with .slider li {
   width: 198px;
   float: left;
}

section.work-with .slider li img {
    display: block;
    margin: 0 auto;
    -webkit-filter: grayscale(100%);
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    opacity: 0.3;
    cursor: pointer;
}

section.work-with .slider li:hover img{
    -webkit-filter: none;
    opacity: 1;
}


footer {
    width: 100%;
    height: 60px;
    background: #f0f0f0;
}

footer .copyright {
    padding: 20px 0;
    line-height: 20px;
    color: #797979;
}

footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer ul li {
    float: left;
    margin-left: 25px;
}

footer ul li a {
    display: block;
    font-size: 14px;
    line-height: 20px;
    margin: 20px 0;
    color: #797979;
}

footer ul li a:hover {
   color: #1e1e1e;
}


/*Publisher and advertiser pages*/

section.role-page {
    padding: 50px 0;
    text-align: center;
}


section.role-page .role-wrap {
    padding: 50px 0 0;
    position: relative;
}

section.role-page .role-wrap div {
    display: none;
}
section.role-page .role-wrap div.active {
    display: block;
}


section.role-page h2 {
    font-size: 34px;
    font-weight: normal;
    margin: 0 0 25px;
    text-transform: uppercase;
    color: #404041;
    transition: all 0.2s;
}


section.role-page h3 {
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 25px;
    color: #222222;
}

section.role-page p {
    line-height: 24px;
    margin: 0 0 50px;
    color: #777777;
}

section.role-page ul {
    padding-bottom: 30px;
    border-bottom: 1px solid #d3d3d3;
}

section.role-page ul li {
    width: 175px;
    float: left;
    margin-left: 37px;
}

section.role-page ul li:first-child {
    margin: 0;
}

section.role-page ul li span {
    width: 74px;
    height: 74px;
    display: block;
    border-radius: 50%;
    margin: 0 auto 15px;
    position: relative;
    transition: all 0.2s;
    transition-delay: 0.2s;
    cursor: pointer;
}

section.role-page ul li span:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 23px;
    border-color: #fba919 transparent transparent;
    position: absolute;
    top: 66px;
    left: 14px;
    transition: all 0.2s;
    transition-delay: 0s;
}

section.role-page ul li.active span {
    transition-delay: 0s;
}

section.role-page ul li.active span:after {
    border-width: 15px 23px 0;
    transition-delay: 0.1s;
}

section.role-page ul li p {
    width: 95px;
    margin: 0 auto;
    color: #777777;
}

section.role-page ul li.active p {
    color: #454545;
}

section.role-page span.range {
    background: url(../images/publisher/p_01.svg) 0 0 no-repeat;
}

section.role-page ul li.active  span.range{
    background: #fba919 url(../images/publisher/p_01h.svg) 0 0 no-repeat;
}


section.role-page span.rich {
    background: url(../images/publisher/p_02.svg) 0 0 no-repeat;
}

section.role-page ul li.active  span.rich {
    background: #fba919 url(../images/publisher/p_02h.svg) 0 0 no-repeat;
}


section.role-page span.cpm {
    background: url(../images/publisher/p_03.svg) 0 0 no-repeat;
}

section.role-page ul li.active  span.cpm {
    background: #fba919 url(../images/publisher/p_03h.svg) 0 0 no-repeat;
}


section.role-page span.cpa {
    background: url(../images/publisher/p_04.svg) 0 0 no-repeat;
}

section.role-page ul li.active  span.cpa {
    background: #fba919 url(../images/publisher/p_04h.svg) 0 0 no-repeat;
}


section.role-page span.mob {
    background: url(../images/publisher/p_05.svg) 0 0 no-repeat;
}

section.role-page ul li.active  span.mob {
    background: #fba919 url(../images/publisher/p_05h.svg) 0 0 no-repeat;
}


section.role-page span.rep {
    background: url(../images/advertiser/a_01.svg) 0 0 no-repeat;
}

section.role-page ul li.active  span.rep{
    background: #fba919 url(../images/advertiser/a_01h.svg) 0 0 no-repeat;
}


section.role-page span.crt {
    background: url(../images/advertiser/a_02.svg) 0 0 no-repeat;
}

section.role-page ul li.active  span.crt {
    background: #fba919 url(../images/advertiser/a_02h.svg) 0 0 no-repeat;
}


section.role-page span.tar {
    background: url(../images/advertiser/a_03.svg) 0 0 no-repeat;
}

section.role-page ul li.active  span.tar {
    background: #fba919 url(../images/advertiser/a_03h.svg) 0 0 no-repeat;
}


section.role-page span.opt {
    background: url(../images/advertiser/a_04.svg) 0 0 no-repeat;
}

section.role-page ul li.active  span.opt {
    background: #fba919 url(../images/advertiser/a_04h.svg) 0 0 no-repeat;
}


section.role-page span.multi {
    background: url(../images/advertiser/a_05.svg) 0 0 no-repeat;
}

section.role-page ul li.active  span.multi {
    background: #fba919 url(../images/advertiser/a_05h.svg) 0 0 no-repeat;
}

section.about-page {
    padding: 50px 0;
}

section.about-page h2 {
    font-size: 34px;
    font-weight: normal;
    text-align: center;
    color: #393939;
}

section.about-page p {
    margin: 35px 0;
    line-height: 24px;
    color: #777777;
}

.contacts li{
    float: left;
    margin-left: 50px;
    line-height: 24px;
    color: #424242;
}

 .contacts li:first-child {
    margin: 0;
}

.contacts a {
    color: #424242;
}

.contacts img {
    vertical-align: top;
}

section.contact-page {
    padding: 50px 0;
}

section.contact-page form {
    width: 636px;
    margin: 0 auto;
}

input, textarea, select, form button {
    border-radius: 3px;
    width: 636px;
    padding: 15px;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

input, textarea, select {
    border: 1px solid #d1d1d1;
}

input:focus, textarea:focus, select:focus {
    border: 1px solid #d1d1d1;
    background: #fbfbfb;
    color: #3f3f3f;
}

input:hover, textarea:hover, select:hover {
    border: 1px solid #f7da23;
}

textarea {
    height: 160px;
    resize: none;
}

form button {
    height: 56px;
    background: #f7a81b;
    font-size: 16px;
    color: #fff;
    margin: 0;
    cursor: pointer;
}

form button:hover {
    background: #fff;
    color: #f7a81b;
    border: 1px solid #f7a81b;
}

form button.disabled, form button.disabled:hover {
    background: #ddd;
    color: #fff;
    border-color: #ddd;
}

.address {
    margin-bottom: 20px;
    text-align: center;
    line-height: 30px;

}

.address div {
    margin-bottom: 10px;
}

.address, .address a {
    color: #424242;
}

.address img {
    margin-top: 2px;
    vertical-align: top;
}

.address div > img {
    margin-left: 40px;
}

.address div > img:first-child {
    margin-left: 0;
}

.sent {
    width: 636px;
    height: 50px;
    margin: 0 auto 20px;
    padding: 15px 10px 15px 60px;
    border-radius: 3px;
    background: #f6f6f6 url(../images/sent.svg) 20px center no-repeat;
    box-sizing: border-box;
    color: #585858;
    line-height: 20px;
    display: none;
}

.remember, .forgot, .forgot a  {
    color: #9ca1a7;
}

.forgot {
    margin-top: 20px;
}

.forgot a {
    text-decoration: underline;
}

.forgot a:hover {
    text-decoration: none;
}

.box {
    width: 14px;
    height: 14px;
    border: 1px solid #d1d1d1;
    border-radius: 2px;
    float: left;
    margin-right: 10px;
    margin-bottom: 20px;
}

.box.active {
    background: url(../images/check.svg) center center no-repeat;
}

input.odd {
    margin-bottom: 30px;
}

.divider {
    width: 636px;
    height: 1px;
    background: #d1d1d1;
    margin-bottom: 30px;
}

.role {
    margin-bottom: 40px;
}

.role > div{
    width: 220px;
    height: 50px;
    padding-left: 50px;
    background: #f6f6f6 url(../images/sent.svg) 18px center no-repeat;
    color: #7a7a7a;
    line-height: 50px;
    cursor: pointer;
    position: relative;
}

.role > div.active {
    background: #f6f6f6 url(../images/sent_active.svg) 18px center no-repeat;
    color: #424242;
}

.role > span {
    width: 95px;
    display: block;
    float: left;
    font-size: 18px;
    color: #7a7a7a;
    line-height: 50px;
    text-align: center;
}

.role input[type="radio"] {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    background: none;
    margin: 0;
}

input.invalid {
    border-color: #f4a490;
}

.error {
    color: #f44d4d;
    display: none;
    font-size: 12px;
    margin:0 15px 7px;
    text-transform: capitalize;
}

.error.show, .sent.show {
    display: block;
}