/*
Theme Name: 4 Pravila Unicef
Description: 4 Pravila Unicef
Author: evgenii (Dzensoft)
Version: 1.0
Text Domain: 4pravila_unicef
*/

@import 'css/reset.css';
@import 'css/fonts.css';

html, body {
    width: 100%;
    height: 100%;
    position: relative;
}

html {
    height: 100%!important;
}

body {
    font-family: DinDisplayPro;
    font-size: 16px;
    background-color: #eeeeee;
}

.clear {
    clear: both;
}

.site-width {
    width: 1245px;
    margin: 0 auto;
}

.global-wrapper {
    box-shadow: 0 0 50px 0 rgba(0,0,0,0.5);
}

.content {
    background-color: #ffffff;
    padding-left: 102px;
    padding-right: 102px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.header {
    background-color: #ffffff;
    border-left: 1px solid rgba(255,255,255,0.5);
    height: 165px;
    padding-top: 29px;
    position: relative;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.col1 {
    position: relative;
}

.home .header {
    padding-top: 0;
    height: 140px;
}

.header-title {
    background: url('images/hdr-title-bg-1.png') no-repeat center center;
    width: 483px;
    height: 56px;
    line-height: 56px;
    font-family: Flow;
    font-size: 28px;
    text-align: center;
    color: #ffffff;
    margin-left: 78px;
    margin-top: 29px;
}

.home .header-title {
    float: left;
    margin-top: 43px;
    margin-left: 74px;
}

.header-logo {
    background: url('images/header-logo.png') no-repeat center center;
    margin-left: 102px;
    width: 136px;
    height: 29px;
    background-size: cover;
    display: block;
    text-decoration: none;
    -webkit-background-size: contain;
}

.home .header-logo {
    float: right;
    margin-top: 51px;
    margin-right: 103px;
    margin-left: 0;
    width: 168px;
    height: 40px;
}

.footer {
    background-color: #ffffff;
    padding-left: 102px;
    padding-top: 37px;
    padding-bottom: 38px;
    position: relative;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.partners-block .title {
    font-weight: bold;
    text-transform: uppercase;
    color: #676767;
    margin-bottom: 30px;
}

.partners-list {
    margin-left: -26px;
}

.partners-list .item {
    display: block;
    float: left;
    margin-left: 26px;
    text-align: center;
    height: 65px;
    overflow: hidden;
}

.partners-list .item img {
    vertical-align: middle;
}

.copyright {
    font-size: 12px;
    margin-top: 24px;
}

.social-links {
    margin-top: 38px;
}

.social-links .item {
    width: 35px;
    height: 34px;
    margin-right: 11px;
    float: left;
}

.social-links .item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.social-links .tw {
    background: url('images/tw.png') no-repeat;
}

.social-links .fb {
    background: url('images/fb.png') no-repeat;
}

.footer-bg {
    position: absolute;
    bottom: 0;
    right: 0;
}

.home .footer-bg {
    position: absolute;
    background: url('images/footer-bg-1.png') no-repeat center center;
    width: 582px;
    height: 163px;
    bottom: 0;
    right: 29px;
    z-index: 0;
}

.about-block {
    background-color: #03aff1;
    width: inherit;
    margin-left: -102px;
    padding-left: 102px;
    padding-right: 375px;
    padding-bottom: 75px;
    color: #ffffff;
    position: relative;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.about-block .title {
    font-family: DinDisplayProBlack;
    text-transform: uppercase;
    font-size: 30px;
    padding-top: 35px;
    padding-bottom: 21px;
}

.about-block .about-block-bg {
    background: url('images/main-dog.png') no-repeat;
    width: 219px;
    height: 164px;
    position: absolute;
    bottom: -21px;
    right: 98px;
}

.rules-block {
    margin-top: 83px;
}

.rules-block .rule {
    width: 246px;
    height: 159px;
    float: left;
    margin-left: 19px;
    position: relative;
}

.rules-block .rule:first-child {
    margin-left: 0;
}

.rules-block .rule.type1 {
    background: url('images/rule-type1.png') no-repeat center center;
}

.rules-block .rule.type2 {
    background: url('images/rule-type2.png') no-repeat center center;
}

.rules-block .rule.type3 {
    background: url('images/rule-type3.png') no-repeat center center;
}

.rules-block .rule.type4 {
    background: url('images/rule-type4.png') no-repeat center center;
}

.rules-block .rule .bottom-panel {
    font-family: DinDisplayProMedium;
    position: absolute;
    bottom: 0;
    background-color: #03aff1;
    height: 36px;
    line-height: 36px;
    width: 100%;
    color: #ffffff;
    padding-left: 20px;
    padding-right: 20px;
    text-transform: uppercase;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.rules-block .rule .download-pdf {
    background: url('images/dowload-ico.png') no-repeat center center;
    width: 22px;
    height: 100%;
    position: absolute;
    right: 20px;
    top: 0;
    text-decoration: none;
}

.rules-block .rule .label {
    text-decoration: none;
    color: #ffffff;
}

.rules-block .rule .rule-link {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 123px;
}

.page-id-15 .header-title {
    background: url('images/hdr-title-bg-2.png') no-repeat left center;
    width: 597px;
    height: 72px;
    line-height: 72px;
    font-size: 38px;
}

.page-id-15 .footer-bg {
    background: url('images/footer-bg-2.png') no-repeat center center;
    width: 750px;
    height: 155px;
    right: 127px;
}

.page-template-page-rule .content > .cols {
    display: table;
    width: inherit;
    margin-left: -102px;
}

.page-template-page-rule .content > .cols .col1 {
    width: 395px;
    display: table-cell;
    padding-right: 25px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.page-template-page-rule .content > .cols .col2 {
    width: 850px;
    display: table-cell;
    padding-left: 42px;
    padding-right: 34px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.page-id-15 .content > .cols .col1 {
    background-color: #74489d;
}

.nav {
    width: 268px;
    margin-left: 101px;
}

.nav .title {
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 25px;
    padding-top: 21px;
}

.nav .nav-links {
    margin-top: 27px;
}

.nav .nav-links .item {
    margin-bottom: 20px;
}

.nav .nav-links .item a {
    font-family: DinDisplayProMedium;
    color: #ffffff;
    text-decoration: none;
}

.nav .nav-links .item a:hover {
    text-decoration: underline;
}

.nav.fixed {
    position: fixed;
    top: 0;
}

.nav.bottom {
    position: absolute;
    bottom: 0;
}

.page-template-page-rule .page-content {
    color: #4c4c4c;
}

.page-template-page-rule .page-content h3 {
    font-weight: bold;
    font-size: 26px;
    margin-bottom: 19px;
    margin-top: 19px;
    padding-left: 27px;
}

.page-template-page-rule .page-content p {
    margin-bottom: 20px;
}

img.alignright {
    float: right;
    margin: 5px 0 5px 5px;
}

img.alignleft {
    float: left;
    margin: 5px 5px 5px 0;
}

.page-template-page-rule .download-link {
    background: url('images/button-bg.png') no-repeat;
    width: 253px;
    height: 43px;
    line-height: 43px;
    padding-left: 16px;
    display: block;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    position: relative;
    margin-left: auto;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.page-template-page-rule .download-link .ico {
    display: block;
    background: url('images/dowload-ico.png') no-repeat center center;
    width: 22px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 15px;
}

.page-id-15 .go-home-link {
    background: url('images/button-bg.png') no-repeat;
    width: 253px;
    height: 43px;
}

.page-id-18 .header-title {
    background: url('images/hdr-title-bg-4.png') no-repeat left center;
    width: 601px;
    height: 57px;
    line-height: 57px;
    font-size: 31px;
}

.page-id-18 .content > .cols .col1 {
    background-color: #ee2a5c;
}

.page-id-18 .download-link {
    background: url('images/button-bg-2.png') no-repeat center center;
}

.page-id-18 .go-home-link {
    background: url('images/button-bg-2.png') no-repeat;
}

.page-id-18 .footer-bg {
    background: url('images/footer-bg-4.png') no-repeat center center;
    width: 756px;
    height: 161px;
    right: 148px;
}

.page-id-20 .header-title {
    background: url('images/hdr-title-bg-3.png') no-repeat left center;
    width: 634px;
    height: 56px;
    line-height: 56px;
    font-size: 30px;
}

.page-id-20 .content > .cols .col1 {
    background-color: #2fc3e7;
}

.page-id-20 .download-link {
    background: url('images/button-bg-3.png') no-repeat center center;
}

.page-id-20 .go-home-link {
    background: url('images/button-bg-3.png') no-repeat;
}

.page-id-20 .footer-bg {
    background: url('images/footer-bg-3.png') no-repeat center center;
    width: 776px;
    height: 177px;
    right: 152px;
}

.page-id-22 .header-title {
    background: url('images/hdr-title-bg-5.png') no-repeat left center;
    width: 635px;
    height: 51px;
    line-height: 51px;
    font-size: 28px;
}

.page-id-22 .content > .cols .col1 {
    background-color: #cf118b;
}

.page-id-22 .download-link {
    background: url('images/button-bg-4.png') no-repeat center center;
}

.page-id-22 .go-home-link {
    background: url('images/button-bg-4.png') no-repeat;
}

.page-id-22 .footer-bg {
    background: url('images/footer-bg-5.png') no-repeat center center;
    width: 710px;
    height: 140px;
    right: 120px;
}

.sharing-widget {
    margin-left: -5px;
    margin-top: 17px;
}

.go-home-link {
    background: url('images/button-bg.png') no-repeat;
    width: 253px;
    height: 43px;
    line-height: 43px;
    padding-left: 16px;
    display: block;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    position: absolute;
    margin-left: auto;
    bottom: 16px;
    right: 34px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

