/*
Theme Name: Resource Consulting Partner
Author: Tabun Matadorov
*/

@import url('http://fonts.googleapis.com/css?family=Exo+2:400,300,300italic,200,200italic,100italic,100,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic|Scada:400italic,700italic,400,700|Comfortaa:400,300,700&subset=latin,cyrillic');
/* BODY */

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    min-height: 100%;
    height: 100%;
}
body {
    font-family: 'Exo 2', serif;
    font-size: 10px;
    font-weight: 300;
    background: white;
}
body.home {
    overflow: hidden;
}
/* HEADER */

header.top-header {
    height: 10vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    overflow: hidden;
    z-index: 100;
    position: fixed;
    left: 0;
    top: 0;
    background: white;
    padding-right:1rem;
}
#header_logo {
    max-height: 10vh;
    position: relative;
    align-self: center;
}
#header_logo a {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: black;
}
#header_logo img {
    height: 60px;
    align-self: center;
}
#header_logo span {
    align-self: center;
    font-size: 1rem;
    text-transform: uppercase;
    line-height: 1.2rem;
    letter-spacing: 3px;
    padding-left: 1rem;
    font-weight: 500;
    color: #111;
}
#main_menu {
    display: block;
    background:white;
}
#main_menu a {
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 60px;
    color: #000;
    margin-left: 1rem;
    padding-bottom: 0.25rem;    
    border-bottom: 1px dotted #999;
    font-family:'Exo 2';
    letter-spacing:1px;
}
#main_menu a:before {
    content:"- ";
    font-size:1rem;
    font-weight:500;
}
#main_menu a:hover {
    border-bottom: 1px solid #777;
}
#main_menu a:last-child {
    margin-right: 1rem;
}
/* main page slide*/

.home #main {
    min-height: 100vh;
    padding-top: 13vh;
    height: 100vh;
}
.home .slide {
    min-height: 88vh;
    background: white;
}

/* promo-slide.css */

#promo-slide {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
}
#promo-slide > * {
    align-self: center;
}
#promo-slide .slogan {
    font-family: 'Georgia', serif;
}
#promo-slide h1.slogan {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    font-weight: normal;
    font-size: 3rem;
    text-align: center;
    color: black;
    max-width: 70%;
    min-height: 7rem;
}
#promo-slide span.slogan {
    max-width: 50%;
    text-align: center;
    font-size: 1.2rem;
    color: #444;
    letter-spacing: 0.3px;
    font-style: italic;
}
#promo-slide nav {
    padding-top: 0.5rem;
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}
#promo-slide nav a {
    font-size: 1.3rem;
    text-decoration: none;
    color: #222;
    font-family: "Georgia", serif;
    line-height: 2rem;
}
#promo-slide nav a span {
    border-bottom: 1px dotted #999;
}
#promo-slide nav a:hover span {
    border-bottom: 1px solid #777;
}
#promo-slide nav a:before {
    content: '\2734';
    line-height: 2rem;
    padding-top: .5rem;
    font-size: 1.3rem;
    font-family: "Georgia", serif;
    color: red;
    margin-left: 1rem;
    margin-right: 1rem;
}
#promo-slide .slide-footer-image {
    width: 100%;
}
#promo-slide .slide-footer-image img {
    width: 100%;
}
#promo-slide nav a:first-child:before {
    display: none;
}
/* news-slide.css */

#news-slide {
    margin: 0 auto;
    display: flex;
    padding: 0 1rem;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
}
#news-slide .article {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33%;
    padding: 1rem;    
}
#news-slide .article a{
    text-decoration:none;
    color:black;
    border-bottom:1px dotted #999;    
}
#news-slide .article a:hover{
    border-bottom:1px solid #999;    
}

#news-slide .article:first-child {
    flex-direction: row;
    width: 100%;
    padding: 0;
}
#news-slide .article:first-child .article__thumb {
    margin-right: 2rem;
    width: 40%;
    display: block; 
    align-self:flex-start;
}
#news-slide .article:first-child .article__thumb img {
    width: 100%;
   
}
#news-slide .article:first-child .article__header {
    font-size: 1.3rem;
    padding-bottom: 1rem;
    font-family:'Exo 2', 'Georgia';
    font-weight:600;
    letter-spacing:2px;
    font-style:italic;
    line-height:2rem;
}
#news-slide .article:first-child .article__body {
    align-self: flex-start;
    padding-bottom: 2rem;
}
#news-slide .article:first-child .article__body p {
    font-size: 1.2rem;
    line-height: 125%;
    font-family:'Exo 2', 'Georgia', serif;
}
#news-slide .article__thumb {
    width: 60%;
    display: none;
}
#news-slide .article__thumb img {
    width: 100%;
}
.resizable-video div {
    position: relative;
    padding-bottom: 75%;
    height: 0px;
}
.resizable-video iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
#news-slide .article:not(:first-child) .article__header:before {
    content: '\2734';
    color: red;
    display: block;
    font-size: 2rem;
}
#news-slide .article:not(:first-child) .article__body p {
    display:none;    
}
#news-slide .article:not(:first-child) .article__header a {
    font-size:1.4rem;
    font-family:'Exo 2', cursive;
    letter-spacing:1px;
    line-height:2.5rem;
    font-weight:500;
}
#news-slide .article__header {
    align-self: center;
    font-size: 1.2rem;
    text-align: center;
}
#news-slide .article__header a {
    text-decoration: none;
    padding-bottom: 0.25rem;
    color: black;
    border-bottom: 1px dotted #999;
}
#news-slide .article__header a:hover {
    border-bottom: 1px solid #999;
}
#news-slide .article__body {
    flex: 1;
}
#news-slide .article__body p {
    font-size: 0.9rem;
    line-height: 1.2rem;
    padding-top: 0.5rem;
}
/* services-slide.css */

#services-slide {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 89vh;
    justify-content: center;
}
#services-slide #services-text {
    width: 30vw;
    margin: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#services-slide #services-text header {
    font-family: 'Exo 2', serif;
    font-size: 2.5rem;
    line-height: 4rem;
    text-align: center;
}
#services-slide #services-text #services-promo {
    font-size: 1.2rem;
    font-family: 'Exo 2', serif;
    line-height: 1.5rem;
}
#services-slide #services-text #services-warranty {
    font-family: 'Exo 2', serif;
    font-size: 0.9rem;
    font-style: italic;
    padding-bottom: 1rem;
}
#services-slide #services-text #services-warranty:before {
    content: '\2734';
    display: block;
    text-align: center;
    font-size: 1.3rem;
    color: red;
    font-style: normal;
}
#services-slide #services-list {
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items:flex-start;
    padding-top:2rem;
}
#services-slide #services-list .services-list__service {
    width: 33%;
    text-align: center;
}
.services-list__service__header__thumbnail{
    display:block !important;
}
.services-list__service__header__thumbnail img{
    width:auto !important;
    margin:auto;
}
#services-slide #services-list .services-list__service h3 {
    text-align: center;
    font-weight: 400;
}
#services-slide #services-list .services-list__service h3 a {
    text-decoration: none;
    color: #333;
    letter-spacing: 1px;
    font-size: 1.5rem;
    line-height: 2rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px dotted #999;
    font-family:"Exo 2";
}
#services-slide #services-list .services-list__service h3 a:hover {
    border-bottom: 1px solid #777;
}
#services-slide #services-list .services-list__service div {
    text-align: center;
    display: inline-block;
    font-style:italic;
}
#services-slide #services-list .services-list__service div p {
    padding-top: 0.5rem;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding: 0.5rem 1.5rem;
}
/* magnific-popup.css */

.mfp-content {
    height: 100%;
    max-width: 80% !important;
}
.mfp-iframe-holder {
    padding: 0 !important;
}
.mfp-iframe-holder .mfp-close {
    right: 20px !important;
    top: 5px !important;
}

/*archive-services.css*/

#services-list-archive {
    padding-top: 12vh;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    min-height: 100vh;
}
#services-list-archive #services-text {
    width: 30vw;
    margin: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: 88vh;
    position: fixed;
    height: 88vh;
    border-right: 1px dashed red;
    padding-right: 1rem;
}
#services-list-archive #services-text header {
    font-family: 'Exo 2', serif;
    font-size: 2.5rem;
    line-height: 4rem;
    text-align: center;
}
#services-list-archive #services-text #services-promo {
    font-size: 1.2rem;
    font-family: 'Exo 2', serif;
    line-height: 1.5rem;
}
#services-list-archive #services-text #services-warranty {
    font-family: 'Exo 2', serif;
    font-size: 0.9rem;
    font-style: italic;
    padding-bottom: 1rem;
}
#services-list-archive #services-text #services-warranty:before {
    content: '\2734';
    display: block;
    text-align: center;
    font-size: 1.3rem;
    color: red;
    font-style: normal;
}
#services-list-archive #services-list {
    /* padding-left: 32vw; */
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#services-list-archive #services-list .services-list__service {
    width: 33%;
    text-align: center;    
    padding:1rem;
}
#services-list-archive #services-list .services-list__service h3 {
    text-align: center;
    font-weight: 400;
}
#services-list-archive #services-list .services-list__service h3 a {
    text-decoration: none;
    color: #333;
    font-family:"Exo 2", cursive;
    letter-spacing: 1px;
    font-size: 1.5rem;
    line-height: 2rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px dotted #999;
}
#services-list-archive #services-list .services-list__service h3 a:hover {
    border-bottom: 1px solid #777;
}
#services-list-archive #services-list .services-list__service div {
    text-align: center;
    display: inline-block;
}
#services-list-archive #services-list .services-list__service div p {
    padding-top: 0.5rem;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding: 0.5rem 1.5rem;
    font-family:'Exo 2', cursive;
    font-style:italic;
}
/* documents-archive.css */

#documents-list-archive {
    padding-top: 12vh;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #f0f0f0;
}
#documents-list-archive .document {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    margin: 2rem;
    background: white;
}
#documents-list-archive .document img {
    height: 65vh;
    width: auto;
}
/* page-template-about_us.css */

.page-template-page-about_us #page {
    min-height: 100vh;
    position: relative;
    color: #222;
}
.page-template-page-about_us #page article {
    padding-left: 40vw;
    padding-right: 5vw;
    padding-top: 10vh;
}
.page-template-page-about_us #page article header {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 3rem;
    width: 100%;
    text-align: center;
}
.page-template-page-about_us #page article #content {
    font-size: 1.2rem;
    line-height: 2rem;
}
.page-template-page-about_us #page article #content p {
    padding-top: 1rem;
}
.page-template-page-about_us #page aside {
    position: fixed;
    width: 40vw;
    top: 15vh;
    height: 100vh;
    text-align:center;
}
.page-template-page-about_us #page aside img {
    width: 30vw;
}
.page-template-page-about_us #page aside #firmname {
    text-align: center;
    font-size: 3rem;
    line-height: 3rem;
    font-family: 'Exo 2', 'Georgia', serif;
    letter-spacing: 2px;
}
.page-template-page-about_us .top-header {
    justify-content: flex-end;
    background: white;
}
.page-template-page-about_us #header_logo {
    display: none;
}
.page-template-page-about_us aside a {
    text-decoration: none;
    color: black;
}
/* page-programs.css */

.post-type-archive-program .top-header {
    position: absolute;
}

header#program-header {
    width: 100%;
    font-family: "Exo 2";
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-align: center;
    padding: 1rem;
    background: #0092dd;
    color: white;
    font-weight: 700;
}

.program-title {
    cursor: pointer;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem; 
    transition: opacity 400ms ease-in; 
    padding:1%;
}
.program-title img {
    width:100%;
}

.program-title h2 {
    font-family: 'Exo 2';
    font-size: 1rem;
    text-align: center;
    letter-spacing: 1px;
    background: #444;
    color: white;
    padding: 0.5rem;
    font-weight: 300;
    font-style: italic;
}
.program-title , .grid-sizer {
    width:48%;
}
.gutter-sizer {
    width:2%;
}
#programs {
    margin-top:12vh;
}

/* content-styling.css */

#content blockquote {
    margin-top: 1rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 2px dotted #aaa;
    background: #f3f3f3;
    font-style: italic;
}
#content blockquote p {
    padding-top: 0 !important;
}
#content a {
    text-decoration: none;
    color: #333;
    border-bottom: 1px dotted #999;
}
#content a:hover {
    border-bottom: 1px solid #999;
}

/* team-slide.css */
#team-slide {
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-content:flex-start;
}
#team-slide #team-list {
    flex:1;
    padding-left:2rem;
    padding-top: 0.5rem;
    transition:width 0.3s ease;
    min-width:400px;
}
#team-slide .person {
    margin-bottom: 2rem;
    position: relative;
}
#team-slide .team-photo-wrapper{
    max-height:86vh;
    min-height:50vh;
    align-self:flex-start;
    width:auto !important;        
}
#team-slide .team-photo-wrapper img{
    width:100%;        
}
#team-slide .person h3 {
    font-family: 'Georgia';
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    flex: 1;
    cursor:pointer;        
}

#team-slide .person__header {
    display: flex;
    height: 40px;
    width: 100%;
    flex-direction: row;
    align-content: center;
    align-items: center;
    border-bottom: 2px solid #0092dd;
    padding-bottom: 1.5rem; 

}
#team-slide .person__position {
    position: absolute;
    top: 25px;
    left: 1rem;
    background: white;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 1px;
    color: #0092dd;
    font-weight: 600;
    font-family: 'Exo 2';
}
#team-slide .person__header a {
    height:40px;
    width:40px;
    font-size:20px;
    text-decoration: none;
    color:#444;
    line-height:40px;
    text-align:center;        
}
#team-slide .person__header a:hover {
    color:#0092dd;
}
#team-slide .person__description {
   display: none;
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 150%;
    font-family: 'Exo 2';
    font-weight: 300;
    padding-right: 1rem;
}
#team-slide .person__description a{
    color:#333;
    text-decoration:none;
    border-bottom:1px dotted #333;
    font-weight:400;
}
#team-slide .person__description a:hover {
    border-bottom: 1px solid #333;

}
#team-slide .person__description .contacts div {
    width:100%;
    font-family:'Exo 2';
    font-size:1.2rem;
    line-height:40px; 
    border-bottom:1px solid #0092dd;
}
#team-slide .person__description .contacts div a, #team-slide .person__description .contacts div a:hover{border-bottom:1px solid white;}
#team-slide .person__description .contacts div span{
    display:inline-block;
    width:50px;
    margin-right:1rem;
    text-align:center;
    line-height:40px;
    color:#0092dd;
}
#team-slide .icon-down, #team-slide .icon-up {        
    font-size: 20px;
    width: 40px;
    color: #444;
    text-align:center;
    margin-left:-40px;        
}
.person.expand .icon-down:before {content:'\e316';color:#0092dd;}
.slide_names {
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: absolute;
    top: 10vh;
    z-index: 1000;
}
.slide_names > span {
    flex:1;
    display:block;
    text-align:center;
    line-height:20px;
    font-family:'Exo 2';
    font-size:16px;
    color:white;
    font-weight:bold;        
}
.slide_names a {
    color:white;
    text-decoration:underline;
    padding:0.2rem;
}
.slide_names .slider-button {
    width:25px;
    float:left;
    background:#0092dd;
    height:22px;
    cursor:pointer;
    text-align:center;
}
.slide_names #button-prev {
    width:25px;
    float:left;
    border-right:2px solid white;
}
.slide_names #button-next {    
    float:right;
    border-left:2px solid white;
}
/* contacts-page */
#contacts-page {
    padding-top:12vh;
    display:flex;
    flex-direction:row;
    font-size:1.3rem;
    line-height:3rem;
    font-family:'Exo 2', "Georgia", serif;

}
#contacts-page #content {
    padding-left:1rem;
    flex:1;
}
#contacts-page #content header {
    font-weight:700;
    letter-spacing:1px;
    font-size:1.7rem;
    text-align:center;
}
#map_canvas {
    height:88vh !important;
    width:60vw !important;
}


#main-news {padding-top:12vh;}

#lang_switcher {
    position:relative;
    align-self:center;   
    padding-left:0.5rem;
    border-left:1px dotted #777;
}
#lang_switcher li {
    font-family:'Exo 2', cursive;
    text-transform: uppercase;
    font-weight:400;
    font-size:1.2rem;
    border:0px solid white;
    list-style-type:none;        
}
#lang_switcher li a {
    color:black;
    text-decoration:none;
}
.owl-dots {
    position:absolute;
    top:10vh;
    left:0;
    width:100vw;
    height:22px;
    background:#0093dd;
}
.owl-dot {background:#0093dd;width:25vw;height:22px;float:left;}
.owl-dot.active {background:#a5cf3b;}
.slide-button{
    cursor:pointer;
}
.program-title h2 a {color:white; text-decoration:none;border-bottom:1px dotted white;}
.program-title h2 a:hover {border-bottom-style:solid;}