/*
    Theme Name: Code theme
    Theme URI: it.honcharenko.com
    Description: Theme for code site 
    Author: Vyacheslav Honcharenko
    Author URI: http://it.honcharenko.com
    Version: 1.0
*/

/*============================================
	Global settings
============================================*/
html, body{
    width: 100%;
}
html{
    height: 100%;
}
body{
    min-height: 100%;
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
    color: #7d7d7d;
    font-size: 14px;
    line-height: 22px;
}
#preloader,
#overlay{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: #000;
    opacity: .9;
}
#preloader{
    opacity: 1;
}
#overlay{
    display: none;
}
#overlay .message{
    position: fixed;
    color: #fff;
    top: 50%;
    left: 40%;
}
#preloader .spinner {
    width: 32px;
    height: 32px;
    position: absolute;
    left: 50%;
    top: 50%;
    background: url('images/spinner.gif') no-repeat 50% 50%;
    margin: -16px 0 0 -16px;
}
section{
    overflow: hidden;
    text-align: center;
}
.wrapper{
    padding: 75px 0 85px;
}
.wrapper:after{
    content: '';
    visibility: hidden;
    clear: both;
}
h1, h2, h3{
    font-family: 'PFDinTextCondPro', sans-serif;
}
h1{
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    line-height: 39px;
    letter-spacing: 1px;
}
h2{
    font-size: 34px;
    font-weight: 300;
    color: #588d9a;
    padding: 105px 0 40px;
    position: relative;
}
h2:before{
    content: ' ';
    background-image: url('images/icons.png');
    background-repeat: no-repeat;
    background-color: transparent;
    position: absolute;
    top: 5px;
}
p{
    margin-bottom: 25px;
    line-height: 25px;
}
a{
    cursor: pointer;
    text-decoration: underline;
    color: #588d9a;
}
a:hover{
    text-decoration: none;
}
.gridless-wrapper{
    position: relative;
    width: 1200px;
    margin: 0 auto;
}
.inner-page .logo{
    width: 90px;
    height: auto;
    float: left;
    margin-top: -15px;
    margin-right: 20px;
}
.button, #load-more{
    display: inline-block;
    font-family: 'PFDinTextCondPro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 35px 6px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    border: none;
    -webkit-transition: background .5s ease-out 0s;
    -moz-transition: background .5s ease-out 0s;
    -o-transition: background .5s ease-out 0s;
    transition: background .5s ease-out 0s;
    outline: none;
}
.button.orange, #load-more{
    background: #f7b257;
}
.button.green{
    background: #67c28b;
}
.button.orange:hover, #load-more:hover{
    background: #eaa244;
}
.button.green:hover{
    background: #4fb076;
}
.button.submit{
    position: absolute;
    top: 0;
    right: -44px;
    cursor: pointer;
}
.button.location{
    background-color: rgba(0,0,0,.5);
    /*opacity: 0.4;*/
    text-transform: none;
    padding: 3px 22px;
    -webkit-transition: background-color .5s ease-out 0s;
    -moz-transition: background-color .5s ease-out 0s;
    -o-transition: background-color .5s ease-out 0s;
    transition: background-color .5s ease-out 0s;
}
.button.location:hover{
    background-color: rgba(0,0,0,1);
}
#load-more{
    cursor: pointer;
}
#load-more.done{
    background: #ccc;
    cursor: not-allowed;
}
.socials{
    float: right;
}
.socials li{
    display: inline-block;
    margin-right: 5px;
}
.socials li a{
    position: relative;
}
.socials li a,
.socials li a:before,
.socials li a:after{
    display: block;
    width: 28px;
    height: 28px;
}
.socials li a:before,
.socials li a:after{
    content: ' ';
    background-image: url('images/icons.png');
    background-repeat: no-repeat;
    background-color: transparent;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transition: opacity .5s ease-out 0s;
    -moz-transition: opacity .5s ease-out 0s;
    -o-transition: opacity .5s ease-out 0s;
    transition: opacity .5s ease-out 0s;
}
.socials li a.facebook:before{
    background-position: -12px -189px;
}
.socials li a.twitter:before{
    background-position: -49px -189px;
}
.socials li a.vimeo:before{
    background-position: -86px -189px;
}
.socials li a.facebook:after{
    background-position: -12px -217px;
}
.socials li a.twitter:after{
    background-position: -49px -217px;
}
.socials li a.vimeo:after{
    background-position: -86px -217px;
}
.socials li a:before{
    opacity: 1;
}
.socials li a:after{
    opacity: 0;
}
.socials li:hover a:before{
    opacity: 0;
}
.socials li:hover a:after{
    opacity: 1;
}
.arrow-box {
    position: relative;
    background: #eee;
    border: 1px solid #588d9a;
}
.arrow-box:after, .arrow-box:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.arrow-box:after {
    border-color: rgba(238, 238, 238, 0);
    border-top-color: #eee;
    border-width: 6px;
    margin-left: -6px;
}
.arrow-box:before {
    border-color: rgba(88, 141, 154, 0);
    border-top-color: #588d9a;
    border-width: 7px;
    margin-left: -7px;
}
.link-bar{
    position: relative;
}
.link-bar .link{
    position: absolute;
    right: 0;
    top: 7px;
    font-family: 'PFDinTextCondPro', sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;    
    line-height: 16px;
}
.link-bar .link:hover{
    border-bottom: none;
}
.location-link-bar{
    position: relative;
}
.page-template-metacity .location-link-bar,
.page-template-metacity-2017 .location-link-bar,
.page-template-forum .location-link-bar {
    display: none;
}
.location-link-bar .link{
    top: 7px;
    font-family: 'PFDinTextCondPro', sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;    
    line-height: 16px;
}
.location-link-bar .link:hover{
    border-bottom: none;
}
.locations li{
    display: inline-block;
}
.page-template-metacity .locations li{
    margin-left: 80px;
}
.page-template-metacity-2017 .locations li{
    margin-left: 62px;
}
.locations .active .button.location{
    background-color: rgba(0,0,0,1);
}

/*==================================
    Header & menu
==================================*/

.header{
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    width: 100%;
    height: auto;
    z-index: 999;
}
.logged-in .header{
    top: 33px;
}
.header .gridless-wrapper{
    padding: 20px 0;
}
.menu{
    float: left;
}
.menu .nav li{
    display: inline-block;
    float: left;
    padding: 2px 13px;
    -webkit-transition: background .5s ease-out 0s;
    -moz-transition: background .5s ease-out 0s;
    -o-transition: background .5s ease-out 0s;
    transition: background .5s ease-out 0s;
}
.menu .nav li a{
    font-family: 'PFDinTextCondPro', sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;    
    color: #fff;
    word-spacing: -1px;
    letter-spacing: 1px;
}
.menu > .nav > li:hover{
    background: #fff;
}
.menu .nav li:hover a{
    color: #9b9b9b;
}
.menu .nav .menu-item-has-children{
    position: relative;
}
.menu .nav .menu-item-has-children .drop-down{
    -webkit-transition: opacity .5s ease-out 0s;
    -moz-transition: opacity .5s ease-out 0s;
    -o-transition: opacity .5s ease-out 0s;
    transition: opacity .5s ease-out 0s;
    visibility: hidden;
    opacity: 0;
}
.menu .nav .menu-item-has-children .drop-down{
    position: absolute;
}
.menu .nav .menu-item-has-children > .drop-down{
    width: 220px;
    left: 0;
    top: 25px;
}
.menu .nav .menu-item-has-children > .drop-down > .menu-item-has-children > .drop-down{
    width: 180px;
    left: 220px;
    top: 0;
}
.menu .nav .menu-item-has-children .drop-down li{
    display: block;
    text-align: left;
    padding: 5px 0;
    float: none;
}
.menu .nav .menu-item-has-children .drop-down li a{
    color: #9b9b9b;
    margin-left: 16px;
    font-size: 14px;
}
.menu .nav > .menu-item-has-children > .drop-down > li:first-child,
.menu .nav > .menu-item-has-children > .drop-down > li:first-child .drop-down li:first-child {
    padding-top: 15px;
}
.menu .nav > .menu-item-has-children > .drop-down > li:nth-child(odd){
    background: #dfe3e1;
}
.menu .nav > .menu-item-has-children > .drop-down > li:nth-child(even){
    background: #fff;
}
.menu .nav > .menu-item-has-children > .drop-down > li:nth-child(odd) > .drop-down > li:nth-child(odd){
    background: #fff;
}
.menu .nav > .menu-item-has-children > .drop-down > li:nth-child(odd) > .drop-down > li:nth-child(even){
    background: #dfe3e1;
}
.menu .nav > .menu-item-has-children > .drop-down > li:nth-child(even) > .drop-down > li:nth-child(odd){
    background: #dfe3e1;
}
.menu .nav > .menu-item-has-children > .drop-down > li:nth-child(even) > .drop-down > li:nth-child(even){
    background: #fff;
}
.menu .nav .menu-item-has-children:after, 
.menu .nav .menu-item-has-children:before {
    top: 25px;
    right: 17%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.menu .nav .menu-item-has-children:after, .menu .nav .menu-item-has-children:before {
    top: 25px;
    right: 17%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.menu .nav > .menu-item-has-children:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: #fff;
    border-width: 6px;
    margin-left: -6px;
}
.menu .nav > .menu-item-has-children:before {
    border-color: rgba(88, 141, 154, 0);
    border-top-color: #fff;
    border-width: 7px;
    margin-left: -7px;
}

.menu .nav > .menu-item-has-children > .drop-down > .menu-item-has-children:before {
    border-color: rgba(88, 141, 154, 0);
    border-width: 5px 0 5px 10px;
    border-color: transparent transparent transparent rgba(88, 141, 154, 1);
}
.menu .nav > .menu-item-has-children > .drop-down > .menu-item-has-children:before {
    top: 10px;
    right: 8%;
}
.menu .nav > .menu-item-has-children > .drop-down > .menu-item-has-children:first-child:before {
    top: 19px;
}
.menu .nav > .menu-item-has-children:hover > .drop-down{
    visibility: visible;
    opacity: 1;
}
.menu .nav > .menu-item-has-children > .drop-down > .menu-item-has-children:hover > .drop-down{
    visibility: visible;
    opacity: 1;
}
.header .socials{
    padding: 5px 0 0;
}

/*==================================
    Section Slider
==================================*/
.slider{
    background-image: url('images/backgrounds/homepage.png');
    background-attachment: scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative;
    width: 100%;
    min-height: 680px;
    height: auto;    
}
.slider h1{
    position: absolute;
    top: 0;
    text-align: left;
    z-index: 6;
}
.slider .logo-n-grid{
    position: absolute;
    top: 117px;
    left: -21px;
    width: 100%;
}
.slider .logo-n-grid .logo{
    position: relative;
    left: 48px;
}
.slider .logo-n-grid .grid{
    position: relative;
    width: 927px;
    height: 406px;
    margin: 0 auto;
}
.slider .logo-n-grid .layer{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
}
.slider .logo-n-grid .layer.logo{
    left: 428px;
}
.slider .logo-n-grid .layer.bg-grid{
    top: 109px;
}
.slider .logo-n-grid .site-title{
    position: absolute;
    top: 180px;
    left: 281px;
}
.slider .logo-n-grid .site-title .site-title-item{
    position: absolute;
}
.slider .site-title-item-border{
    background: rgba(255,255,255,.1);
    border-radius: 30px;
    width: 100%;
    height: 39px;
}
.slider .logo-n-grid .site-title .site-title-item:nth-child(1){
    left: 141px;
    top: 2px;
    width: 260px;
}
.slider .logo-n-grid .site-title .site-title-item:nth-child(2){
    left: 0;
    top: 42px;
    width: 423px;
}
.slider .logo-n-grid .site-title .site-title-item:nth-child(3){
    left: 74px;
    top: 82px;
    width: 394px;
}
.slider .logo-n-grid .site-title .site-title-item:nth-child(1) h1{
    left: 128px;
}
.slider .logo-n-grid .site-title .site-title-item:nth-child(2) h1{
    left: 269px;
}
.slider .logo-n-grid .site-title .site-title-item:nth-child(3) h1{
    left: 195px;
}
.slider .logo-n-grid .site-title .site-title-item .site-title-item-wrapper{
    position: relative;
}
.slider .logo-n-grid .site-description{
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    color: #fff;
    font-size: 16px;
}
.slider .link-bar{
    position: absolute;
    bottom: 54px;
    left: 0;
    width: 100%;
}
.video{
    color: #fff;
    border-bottom: 2px solid #fff;
    margin-right: 50px;
    text-decoration:none;
}
.video:after{
    content: ' ';
    background-image: url('images/icons.png');
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: -46px -249px;
    width: 36px;
    height: 36px;
    position: absolute;
    right: -44px;
    top: -9px;
}

.location-link-bar .video:after
{
    left:53%;
    top: -6px;

}

/*==================================
    Section About
==================================*/

.about h2:before{
    background-position: 0 0;
    width: 67px;
    height: 60px;
    left: 47%;
}
.about .section-content{
    text-align: left;
}

/*==================================
    Section Directions
==================================*/
.directions{
    background: url('images/backgrounds/directions.jpg') 0 0 repeat transparent;
}

.directions h2:before{
    background-position: -67px 0;
    width: 62px;
    height: 64px;
    left: 46.5%;
}
.directions .section-content{
    text-align: center;
    padding-top: 40px;
}
.direction{
    position: relative;
    display: inline-block;
    margin-right: 90px;
}
.direction:last-child,
.direction:nth-child(3){
    margin-right: 0;
}
.direction .border{
    width: 250px;
    height: 290px;
    -webkit-clip-path: url(images/hex.svg);
    -webkit-mask: url(images/hex.svg);
    clip-path: url(images/hex.svg#svgClip);
}
.direction .border img{
    -webkit-transition: opacity .5s ease-out 0s;
    -moz-transition: opacity .5s ease-out 0s;
    -o-transition: opacity .5s ease-out 0s;
    transition: opacity .5s ease-out 0s;
    opacity: 1;
}
.direction:hover .border img{
    opacity: .85;
}
.direction .direction-content{
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    color: #fff;
    z-index: 2;
}
.direction .direction-content .direction-content-wrapper{
    padding: 100px 0;    
}
.direction .direction-content h3{
    font-size: 26px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 27px;
    padding: 0 40px 20px;
}
.direction .direction-content p{
    font-size: 16px;
}

/*==================================
    Section Reading
==================================*/
.reading .wrapper{
    float: left;
    padding-bottom: 40px;
}
.reading h2:before{
    background-position: -68px -64px;
    width: 67px;
    height: 60px;
    left: 47%;
}
.reading .section-content .post{
    float: left;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 30px;
}
.reading .section-content .readall{
    margin-top: 10px;
}
.reading .section-content h4{
    float: left;
    width: 40%;
    padding-right: 5%;
    font-family: 'Open Sans', serif;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 26px;
    text-align: left;
}
.reading .section-content h4 a{
    color: #588d9a;
}
.reading .section-content .excerpt{
    float: right;
    width: 54%;
    text-align: left;
    color: #7d7d7d;
    line-height: 26px;
}
.reading .section-content .excerpt p{
    margin-bottom: 0;
    letter-spacing: 0;
}
.reading .section-content .readmore{
    clear: both;
    text-align: right;
    padding: 5px 0 25px 0;
}
.reading .section-content .readmore a{
    color: #588d9a;
    font-size: 14px;
}


/*==================================
    Section Partners
==================================*/
.partners{
    background-color: #eee;
}
.partners h2:before{
    background-position: 0 -64px;
    width: 67px;
    height: 60px;
    left: 46.6%;
}
.partners .partners-years {
    text-align: right;
    position: relative;
    top: -57px;
    z-index: 1;
}
.partners .partners-year {
    margin-right: 10px;
    font-size: 16px;
}
.partners .partners-year:last-child {
    margin-right: 0;
}
.partners .partners-year.active {
    text-decoration: none;
}
.partners .partners-logos-year {
    max-height: 0;
    opacity: 0;
    -webkit-transition: all .5s ease-out 0s;
    -moz-transition: all .5s ease-out 0s;
    -o-transition: all .5s ease-out 0s;
    transition: all .5s ease-out 0s;
}
.partners .partners-logos-year.active {
    max-height: 750px;
    opacity: 1;
}
.partners .partners-logo{
    padding: 0px 0 20px;
}
.partners .partners-logo li{
    display: inline-block;
    margin: 0 20px 25px 0;
    position: relative;
    min-height: 65px;
    cursor: pointer;
}
.partners .popup{
    position: absolute;
    left: -30px;
    top: -85px;
    -webkit-transition: opacity .5s ease-out 0s;
    -moz-transition: opacity .5s ease-out 0s;
    -o-transition: opacity .5s ease-out 0s;
    transition: opacity .5s ease-out 0s;
    opacity: 0;
    z-index: -1;
}
.partners .popup .content{
    padding: 10px 10px 5px 10px;
    min-width: 200px;
}
.partners .popup .content .title{
    color: #7d7d7d;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: -1px;
}
.partners .popup .content .description{
    color: #1a1a1a;
    font-size: 12px;
}
.partners .presentation{
    color: #f7b257;
    border-bottom: 2px solid #f3cda3;
}
.partners .presentation:before{
    content: ' ';
    background-image: url('images/icons.png');
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: -18px -253px;
    width: 18px;
    height: 15px;
    position: absolute;
    left: -28px;
    top: 4px;
}

/*==================================
    Section Page Header
==================================*/
.page-header{
    background-attachment: scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    height: auto;    
    text-align: center;
    color: #fff;
    min-height: 450px;
}
.page-header h1:before{
    content: ' ';
    background-image: url('images/icons.png');
    background-repeat: no-repeat;
    background-color: transparent;
    position: absolute;
    top: 5px;
}
.page-template-franchise .page-header h1:before{
    display: none;
}
.page-id-35 .page-header h1:before{
    background-position: 0 -286px;
    left: 47.5%;
    width: 60px;
    height: 65px;
}
.page-id-37 .page-header h1:before{
    background-position: 0 -350px;
    left: 47.5%;
    width: 68px;
    height: 65px;
}
.page-id-39 .page-header h1:before{
    background-position: 0 -455px;
    left: 47.5%;
    width: 60px;
    height: 68px;
}
.page-header .title-n-description{
    padding: 90px 0 40px;
}
.page-template-metacity .page-header .title-n-description{
    padding-bottom: 20px;
}
.page-header h1{
    font-weight: 600;
    padding: 105px 0 10px;
    position: relative;
}
.page-header .description{
    font-size: 16px;
}
.page-template-forum .page-header .description p:last-child {
    padding-top: 30px;
}
.page-header .locations{
    padding-top: 80px;    
}
.page-template-metacity .page-header .locations,
.page-template-metacity-2017 .page-header .locations{
    padding-top: 135px;
}
.page-template-metacity .page-header h1,
.page-template-metacity .page-header .description,
.page-template-metacity-2017 .page-header h1,
.page-template-metacity-2017 .page-header .description{
    text-align: left;
    padding-left: 122px;
}
.page-template-franchise .page-header .title-n-description{
    padding: 180px 0 40px;
}
.page-template-franchise .page-header h1{
    padding-top: 0;
    padding-bottom: 0;
}
.page-template-franchise .page-header .description {
    font-size: 28px;
    line-height: 32px;
    font-family: 'PFDinTextCondPro', sans-serif;
}
.page-template-franchise .page-header .description p{
    margin-bottom: 15px;
}
.page-template-franchise .page-header .description em{
    display: block;
    font-size: 1.05em;
    padding-bottom: 15px;
}

/*==================================
    Section Direction About
==================================*/
.direction-about .wrapper{
    float: left;
    padding-bottom: 40px;
}
.direction-about .direction-title{
    width: 40%;
    float: left;
    text-align: left;
    margin-top: -10px;
}
.direction-about .direction-title h2{
    font-size: 29px;
    color: #1a1a1a;
    line-height: 40px;
    padding-top: 0;
    padding-bottom: 50px;
}
.direction-about .direction-content{
    float: right;
    width: 54.5%;
    text-align: left;
    color: #7d7d7d;
}
.page-template-forum .direction-about .direction-content {
    width: 100%;
    float: left;
}
.direction-about .direction-content.fullwidth{
    width: 100%;
}
.direction-about .direction-content strong{
    color: #1a1a1a;    
    font-size: 16px;
}
.direction-about .direction-content ul li{
    margin-bottom: 20px;
    position: relative;
}
.direction-about .direction-content ul li:before{
    content: ' ';
    background-image: url('images/icons.png');
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: -128px 0;
    width: 7px;
    height: 7px;
    position: absolute;
    left: -18px;
    top: 10px;
}

/*==================================
    Section Direction Features
==================================*/
.direction-features{
    background: url('images/backgrounds/directions.jpg') 0 0 repeat transparent;
}
.direction-features .wrapper{
    padding-bottom: 40px;
}
.direction-features h2:before{
    width: 70px;
    height: 64px;
    left: 47%;
}
.direction-features .features-intro {
    text-align: left;
}
.page-id-35 .direction-features h2:before,
.page-id-444 .direction-features h2:before{
    background-position: -64px -286px;
}
.page-id-37 .direction-features h2:before{
    background-position: -68px -350px;
}
.page-id-39 .direction-features h2:before{
    background-position: -67px 0;
}
.page-id-502 .direction-features h2:before,
.page-id-542 .direction-features h2:before{
    display: none;
}
.page-id-502 .direction-features h2,
.page-id-542 .direction-features h2{
    padding-top: 0;
}
.direction-features ol li:before{
    content: '';
    position: absolute;
    top: 15px;
    border: 1px solid #588d9a;
    border-radius: 16px;
    left: 2px;
    height: 30px;
}
.page-id-35 .direction-features ol li:before,
.page-id-711 .direction-features ol li:before,
.page-id-444 .direction-features ol li:before,
.page-id-39 .direction-features ol li:before,
.page-id-502 .direction-features ol li:before,
.page-id-542 .direction-features ol li:before{
    width: 30px;
}
.page-id-37 .direction-features ol li:before{
    width: 82px;
}
.direction-features ol li{
    width: 100%;
    border-bottom: 1px solid #fff;
    margin-bottom: 20px;
    padding: 20px 0;
    text-align: left;    
    position: relative;
    list-style-type: none;
    font-size: 16px;
}
.page-id-35 .direction-features ol li,
.page-id-711 .direction-features ol li,
.page-id-444 .direction-features ol li,
.page-id-39 .direction-features ol li,
.page-id-502 .direction-features ol li,
.page-id-542 .direction-features ol li {
    padding-left: 47px;
}
.page-id-502 .direction-features ol li,
.page-id-542 .direction-features ol li {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.page-id-37 .direction-features ol li{
    padding-left: 100px;
}
.page-template-metacity .direction-features ol li:last-child{
    border-top: 1px solid #fff;
    border-bottom: none;
    margin-bottom: 0;
}
.direction-features ol li:last-child {
    border-bottom: none;
}
.page-template-metacity-2017 .direction-features ol li:last-child:before,
.page-template-metacity-2017 .direction-features ol li:last-child .feature-counter {
    display: none;
}
.page-template-metacity .direction-features ol li:last-child:before,
.page-template-forum .direction-features ol li:last-child:before{
    display: none;
}
.direction-features ol li .feature-counter{
    position: absolute;
    left: 13px;
    top: 19px;
    color: #588d9a;
    font-weight: 600;
}
.direction-features ol li .feature-title{
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 25px;
}
.page-template-metacity .direction-features ol li:nth-child(3){
    padding-bottom: 30px;
}
.page-template-metacity .direction-features ol li:last-child{
    padding-left: 0;
    padding-top: 50px;
}
.page-template-forum .direction-features ol li:last-child{
    padding-left: 0;
}
.page-template-metacity .direction-features ol li .feature-title{
    display: none;
}
.page-template-metacity .direction-features ol li:last-child .feature-counter,
.page-template-forum .direction-features ol li:last-child .feature-counter{
    display: none;
}
.direction-features ol li .feature-description{
    color: #7d7d7d;
    margin-bottom: 20px;
    font-size: .9em;
}
.page-template-metacity .direction-features ol li .feature-description,
.page-template-forum .direction-features ol li .feature-description {
    margin-bottom: 0;
}
.page-template-forum .direction-features ol {
    padding-bottom: 40px;
}

.page-template-forum .direction-features .wrapper {
    padding-bottom: 60px;
}
/*==================================
    Section Register
==================================*/
.register{
    background-attachment: scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 315px;
    text-align: center;
    color: #fff;
}
.register .locations{
    padding-top: 40px;
}
.register .locations li{
    position: relative;
    margin-right: 10px;
}
.register .locations .active:after, .register .locations .active:before {
    top: -40px;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.register .locations .active:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: #e6e6e6;
    border-width: 10px;
    margin-left: -10px;
}
.register .locations .active:before {
    border-color: rgba(88, 141, 154, 0);
    border-top-color: #e6e6e6;
    border-width: 11px;
    margin-left: -11px;
}
.register h2{
    font-size: 28px;
    text-transform: uppercase;
    color: #fff;
    padding: 70px 0 15px;
}
.register .section-content{
    font-size: 16px;
}
.register .link-bar{
    top: 50px;
}
.link.program:before{
    content: ' ';
    background-image: url('images/icons.png');
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: -91px -253px;
    width: 18px;
    height: 15px;
    position: absolute;
    left: -28px;
    top: 1px;
}
.link.program{
    color: #fff;
    border-bottom: 2px solid #fff;
    top: 11px;
}
.link.program.inactive{
    opacity: .5;
}
/*==================================
    Section Download
==================================*/

.download{
    background-attachment: scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 315px;
    text-align: center;
    color: #fff;
}
.download h2{
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    line-height: 28px;
    width: 400px;
    margin: 0 auto;
    color: #fff;
    padding: 90px 0 0;
}
.download .link-bar{
    padding-top: 40px;
}
.page-header .link-bar{
    padding-top: 40px;
}

.issuu{
    padding-top: 70px;
}
.issuuembed{
    margin: 0 auto;
}

/*==================================
    Page Category
==================================*/

.category .page-header{
    background-image: url('images/backgrounds/reading.jpg');
    min-height: 270px;
}
.category .page-header .title-n-description {
  padding-top: 75px;
}
.category .page-header h1:before{
    background-position: -68px -64px;
    left: 47.5%;
    width: 68px;
    height: 60px;
}
.categories{
    position: relative;
    overflow: visible;
}
.categories .category-menu-select{
    position: absolute;
    left: 40.5%;
    top: -15px;
}
.category .category-menu-select-wrapper{
    position: relative;
}
.category .jq-selectbox__trigger-arrow{
    position: absolute;
    right: 3px;
    top: 1px;
    background: url('images/icons.png') -16px -416px no-repeat transparent;
    width: 28px;
    height: 28px;
    cursor: pointer;
}
.categories .jq-selectbox__select{
    background-color: #eaeaea;
    width: 235px;
    height: 28px;
    border: 1px solid #fff;
    border-radius: 19px;
    padding: 2px 5px;
    -webkit-appearance: none;
    outline: none;
}
.categories .jq-selectbox__select-text{
    text-align: left;
    padding: 2px 0 0 30px;
}
.categories .jq-selectbox__dropdown{
    width: 100%;
    background-color: #eaeaea;
    border-radius: 19px;
    margin-top: -33px;
}
.categories .jq-selectbox__dropdown li{
    text-align: left;
    padding: 4px 0 0 36px;
    cursor: pointer;
}
.categories .jq-selectbox__dropdown li:last-child{
    margin-bottom: 10px;
}
/*==================================
    Section Scheme
==================================*/
.scheme{
    background-color: #313b3f;
}
.scheme h2{
    padding: 0px 0 15px;
    text-align: left;
    color: #fff;
}
.scheme .wrapper {
  padding: 75px 0 100px;
}
/*==================================
    Section Footer
==================================*/
.footer{
    background: url('images/backgrounds/footer.png') top center no-repeat transparent;
    background-attachment: scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    height: auto;    
    text-align: center;
    color: #fff;
}
.footer h2{
    color: #fff;
    padding-bottom: 10px;
}
.footer h2:before{
    background-position: 0 -126px;
    width: 68px;
    height: 60px;
    left: 46.6%;
}
.footer .subscribe{
   padding: 30px 0;
}
.footer .button{
    padding: 8px 35px;
    height: 35px;
}
.footer .mailchimp{
    position: relative;
    display: inline-block;
    width: 50%;
}
.footer .bottom-bar{
    display: inline-block;
    width: 100%;
    padding-top: 50px;
}
.footer .bottom-bar .logo{
    background-image: url('images/icons.png');
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: -78px -150px;
    width: 40px;
    height: 28px;
    float: left;
}
.footer .bottom-bar .copyrights{
    display: inline-block;
    padding-left: 7%;
}
.footer .bottom-bar .copyrights a{
    color: #fff;
    text-decoration: none;
}
input[type="text"],
input[type="email"]{
    border: none;
    background: #fff;
    text-align: left;
    font-family: 'Open Sans', serif;
    font-size: 16px;
    color: #333;
    padding: 10px 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    width: 100%;
    height: 15px;
    outline: none;
}

/*==================================
    Section Modal Video
==================================*/
#intro{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;    
    display: none;
}
#close{
    position: absolute;
    top: 50px;
    right: 50px;
    background: url('images/close.png') 0 0 no-repeat transparent;
    width: 40px;
    height: 40px;
    cursor: pointer;
}


#cf{
    position: fixed;
    top: 50px;
    left: 27%;
    text-align: center;
    z-index: 10000;
    display: none;
}
div.wpcf7{
    display: inline-block;
    width: 555px;
    height: auto;
    background-color: #fff;
}
.wpcf7-form{ 
    padding: 10px 40px 10px;
}
#cf-close{
    background: url('images/icons.png') -51px -416px no-repeat transparent;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.wpcf7-form h4{
    font-family: 'PFDinTextCondPro', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #9b9b9b;
    text-align: left;
    text-transform: uppercase;
}
.wpcf7-form .addressed-to,
.wpcf7-form .address-from{
    color: #9b9b9b;
    font-family: 'PFDinTextCondPro', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    text-transform: uppercase;
    margin: 20px 0 10px;
}
.wpcf7-form .addressed-to span{
    color: #588d9a;
    font-size: 22px;
    text-transform: none;
}
.wpcf7 .address-from{
    margin: 10px 0;
}
.wpcf7 .address-from input{
    width: 413px;
    border: none;
    background-color: #f1f1f1;
    border-radius: 12px;
    padding: 10px 30px;
    outline: none;
    color: #7d7d7d;
    font-family: 'Open Sans', serif;
    font-size: 14px;
}
.wpcf7 textarea{
    width: 413px;
    height: 110px;
    border: none;
    background-color: #f1f1f1;
    border-radius: 12px;
    padding: 20px 30px;
    outline: none;
    color: #7d7d7d;
    font-family: 'Open Sans', serif;
    font-size: 14px;
    resize: none;
}
div.wpcf7-validation-errors{
    border-color: #f98b8b;
}
span.wpcf7-not-valid-tip{
    text-transform: none;
    font-size: 14px;
    font-family: 'Open Sans';
    text-align: center;
    font-weight: 400;
}
#status{
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 10000;
    display: none;
}
#status .status-area{
    display: inline-block;
    width: 555px;
    height: auto;
    background-color: #fff;
    opacity: 0.7;
    border-radius: 20px;
    font-weight: 600;
    font-size: 16px;
}
#status .status-area.registered{
    border: 2px solid green;
    color: green;
}
#status .status-area.register-error{
    border: 2px solid red;
    color: red;
}
#status .status-form{ 
    padding: 40px;
}
