/*
Theme Name: TOS
*/

/* CSS Document */

/*------------------------------------------*/
/*	     01 - General & Basic Styles
/*------------------------------------------*/
@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,700&subset=latin,cyrillic-ext,latin-ext);

html{
  width: 100%;    
  height: 100%;
}

body {
	width: 100%;
	height: 100%;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 25px;
	color: #ffffff;
	position: relative;
}

img {
	max-width: 100%;
	height: auto;
}

ul, ol {
	list-style: none;
}

ul {
    padding: 0;
    margin: 0;
}

a {
    color: #fff;
    transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
}

a:hover {
    color: #a1cc3a;
/*    font-weight: bold;*/
}

a, a:hover , a:visited{
    text-decoration: none;
    outline: 0;
    color: #a1cc3a;
}


h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto', sans-serif;
	margin: 0;
	color: #444;
}

h1 {
    font-size: 24px;
	line-height: 30px;
}

h2 {
    font-size: 22px;
	line-height: 28px;
}

h3 {
    font-size: 18px;
	line-height: 24px;
}

h4 {
    font-size: 16px;
	line-height: 22px;
}

h5 {
    font-size: 14px;
	line-height: 20px;
}

h6 {
    font-size: 12px;
	line-height: 18px;
}
p {
	margin-bottom: 10px;
}

input[type="submit"] {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

input[type="submit"]:hover {
	background: #444;
	color: #fff;
}

input[type="submit"] {
	border: none;
}

.section {
	position: relative;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
}


#wrapper{
  position: relative;
  height: 100%;    
}

#content{
  position: relative;
  padding-top: 100px;
}

.no-padding{
  padding-left: 0px;
  padding-right: 0px;
}


footer#colophon{
  width: 100%;
  background: #395c9e;
  text-align: center;
}


footer#colophon p {
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
	font-weight: 300;
  font-size: 14px;
  line-height: 50px;
	margin-bottom: 0;
}
footer#colophon p a {color: #fff; text-decoration: none;}
footer#colophon p a:hover {color: #fff; text-decoration: underline;}
footer#colophon p.copyright {
	float: left;
	margin-left: 10px;
}
footer#colophon p.terms-conditions {
	float: right;
	margin-right: 10px;
}

/*------------------------------------------*/
/*	     02 - Header & Navigation
/*------------------------------------------*/
.top-10 {
	position: absolute;
	right: 20px;
	top: 95px;
	z-index: 1044;
}
header.main-header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 880;
	transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-webkit-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
}


ul.social-list {
    float: right;
    position: relative;
}

ul.social-list li {
    float: left;
    margin-left: 20px;
}

ul.social-list li a {
    display: inline-block;
	transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}
ul.social-list li a.search {
	cursor: pointer;
}

ul.social-list li a:hover,
ul.social-list li a:active,
ul.social-list li a:visited{
	opacity: 0.6;
    text-decoration: none;
    outline: 0;
}


ul.social-list li a i {
  font-size: 32px;
  display: block;
  /* width: 34px; */
  /* height: 33px; */
  line-height: 98px;
  text-align: center;
  color: #81a32e;
  line-height: 83px;
}

ul.social-list li.lang{
  padding-top: 33px;
}

ul li ul.dropdown{
  width: 34px;
  background: #3f66b0;
  display: none;
  position: absolute;
  z-index: 999;
/*  left: 50px;*/
  margin-left: 0px;
}

ul li:hover ul.dropdown{
    display: block;	
}

ul li ul.dropdown li{
    display: block;
    margin: 0px;
}

ul li ul.dropdown li:hover{
  background: #31559b;
  font-weight: normal;
}

ul.dropdown li a.lang{
   padding: 5px; 
   background: #81a32e;
}

ul.social-list li a{
   padding: 8px 5px 6px 5px;
   font-family: 'Roboto', sans-serif;
	font-weight: 300;
   font-size: 19px;
   /*color:#ffffff;*/
}

ul.social-list li.lang a {
  color:#ffffff;
}

a.lang{
  background: #81a32e;
}

a.lang:hover,
a.lang:active{
  background: #3f66b0;
  opacity: 1!important;
  font-weight: normal;
}


.navbar {
	margin-bottom: 0;
	background: #a1cc3a;
	border: none;
	border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
}

.navbar-brand {
	position: relative;
	padding: 16px 0;
	margin: 0!important;
	transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.navbar-default .navbar-nav {
	margin-right: 10px!important;
	position: relative;
	transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}


.navbar-default .navbar-nav > li:first-child {
    margin-left: 0;
}

.navbar-default .navbar-nav > li > a {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	color: #fff;
	display: block;
    font-size: 18px;
    padding: 38px 25px 37px 25px;
	overflow: hidden;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    font-weight: 400;
    text-transform: uppercase;
    border-bottom: 5px solid transparent;
}

.navbar-default .navbar-nav > li > a:hover{
  color: #ffffff;
	/*font-family: 'robotobold';*/
  /*font-weight: bold;*/
}

.navbar-default .navbar-nav > li:hover,
.navbar-default .navbar-nav > li:active,
.navbar-default .navbar-nav > li:focus{
    
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > li:hover > a {
	border-bottom: 5px solid #89ae31;
	background-color: #99c237;
	color: #fff;
}


.mobile-nav-pc{
  position: relative;
  float: left;
}



/**** SEACRCH ****/

.search-area {
  position: absolute;
  background-color: #ffffff;
  left: 0;
  right: 0;
  height: 0;
  display: none;
/*  visibility: hidden;*/
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  top:0;
  height: 100px;
}

.search-area .navbar-brand{
  margin-left: 15px!important;
}

.search-area form.search-form {
  padding: 20px 10px 10px 20px;
  width: 100%;
}


.sr-only, .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.search-area form.search-form>.input-group {
  width: 100%;
  position: relative;
}

.form-control{
  height: 40px;
}

input#searchInput{
  padding: 18px 0px 7px 0px;
  width: 100%;
  position: relative;
  border: 0px;
  border-bottom: 1px solid #e3f0c4;
  border-radius: 0px;
  box-shadow: none;
  font-size: 36px;
  text-transform: uppercase;
  color:#a1cc3a;
  font-family: 'Roboto', sans-serif;
	font-weight: 300;  
}


.input-group-btn {
  right: 35px;
  position: absolute;
  top: 13px;
  font-size: 0;
  white-space: nowrap;
}

.search-area .search-icon {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
  display: block;
  width: 29px;
  height: 29px;
  background: url(img/x.png) center / contain no-repeat;
}

.search-submit.btn{
  background: transparent;
  border: 0px;
  box-shadow: none;
}

.form-control::-webkit-input-placeholder { /* WebKit browsers */
    color:#a1cc3a;
    opacity:  0.6;
}
.form-control:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:#a1cc3a;
   opacity:  0.6;
}
.form-control::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:#a1cc3a;
   opacity:  0.6;
}
.form-control:-ms-input-placeholder { /* Internet Explorer 10+ */
   color:#a1cc3a;
    opacity:  0.6;
}


/*------------------------------------------*/
/*	   03 - Main Page Elements
/*------------------------------------------*/

label {
	font-size: 13px;
	color: #666;
	font-weight: 300;
	cursor: pointer;
}

label .required {
	color: #ED2C3A;
	margin-left: 2px;
}

input[type="submit"] {
    outline: none;
}


/******** Team section ***********/
#team, #about {
	background: #fff;
}
#team .owl-theme .owl-controls .owl-buttons div.owl-prev,
#team .owl-theme .owl-controls .owl-buttons div.owl-next,
.smw-prev,
.smw-next {
  position: absolute;
  top: 50%;
  margin-top: -30px;
  height: 65px;
  width: 45px;
  background-color: transparent;
	background-position: 0 0;
  opacity: 1;
  border-radius:0px;
	cursor: pointer;
}

#team .owl-theme .owl-controls .owl-buttons div.owl-prev,
.smw-prev {
  background-image: url(./img/strelica-leva.png);
	left: 1%;
}
#team .owl-theme .owl-controls .owl-buttons div.owl-next,
.smw-next {
  background-image: url(./img/strelica-desna.png);
	right: 1%;
}
#team .owl-theme .owl-controls .owl-buttons div.owl-prev:hover,
#team .owl-theme .owl-controls .owl-buttons div.owl-next:hover,
.smw-prev:hover,
.smw-next:hover {
  background-position: 0px -65px;
}

/*************** Lists ***************/

ul.icons-list {
	margin-bottom: 6px;
}

ul.icons-list li, ul.list-unstyled li {
	margin-bottom: 4px;
}

ul.icons-list li i {
	font-size: 14px;
	margin-right: 4px;
}
#blog-slider{
 position: relative;
 background: #000;
}
#blog-slider .owl-pagination{
  -ms-transform: translateX(0px) rotate(90deg) translateY(0px);
	-webkit-transform: translateX(0px) rotate(90deg) translateY(0px);
	transform: translateX(0px) rotate(90deg) translateY(0px);
  position: absolute;
  top: 35%;
  right: 50px;
}
#blog-slider .owl-buttons{
  display: none;
	margin: 0;
}
#blog-slider.owl-theme .owl-controls {
	margin-top: 0;
}

#blog-slider.owl-theme .owl-controls .owl-page span {
	background: #fff;
	opacity: 1;
}
#blog-slider.owl-theme .owl-controls .owl-page.active span,
#blog-slider.owl-theme .owl-controls.clickable .owl-page:hover span {
	background: #fff;
	opacity: 1;
	-ms-transform: scale(1.2,1.2); /* IE 9 */
	-webkit-transform: scale(1,1); /* Safari */
	transform: scale(1.2,1.2);
}


/*------------------------------------------*/
/*	   Video bgd
/*------------------------------------------*/
video { display: block; } 
video#bgvid {
	position: fixed;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -100;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	background: url(./video/header-bgd.jpg); no-repeat;
	background-size: cover;
}

/*================================================== 
     Slideshow header
 ================================================== */

#header-slider{
  color: #447ec1;
  position: relative;
  padding: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  height: 970px;
}

.big-text {
  padding: 160px 0px 30px 0px;
}

.big-text img,
.green-btn img,
.social-media-logo img{
  margin: 0 auto;
}

.green-btn{
  padding: 5px 0px 35px 0px;
}

.header-tweet{
  padding-top: 35px;
  text-align: center;
}

.header-tweet-content, .header-tweet-content p {
  color:#ffffff;
  font-size: 24px;
	line-height: 29px;
	font-weight: 100;
}
.header-tweet-content a, .header-tweet-content p a, .header-tweet-content p b, .header-tweet-content p s, .header-tweet-content p strong {
  color: #fff;
	font-weight: 400;
}
span.invisible {display: none;}

.header-tweet-content p.nick{
	font-weight: 700;
  color: #fff;
  font-size: 24px;
  padding: 7px 0px;
	margin-bottom: 12px;
}


#header-carousel .owl-buttons{
  display: none;
}

#header-carousel.owl-carousel.owl-theme .owl-controls{
  margin-top: 35px;
}

#header-carousel.owl-carousel .owl-controls .owl-page span{
  width: 14px;
  height: 14px;
  margin: 5px;
  background: #a1cc3a;
  opacity: 1;
}

#header-carousel.owl-carousel .owl-controls .owl-page.active span{
  width: 19px;
  height: 19px;
}

#header-carousel.owl-carousel .owl-controls .owl-page.active {
  vertical-align: bottom;
  padding-bottom: 3px;
}

.arrow{
  padding-top: 100px;
}

a.btn.btn-circle.page-scroll{
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 1px solid transparent;
  border-radius: 50px;
  margin-right: 0;
  color:#ffffff;
}

a.btn.btn-circle.page-scroll:hover{
  background: #a1cc3a;
  color:#ffffff;
}

a.btn.btn-circle.page-scroll span{
  padding-top: 8px;
  font-size: 19px;
}




/*================================================== 
     Team Section
 ================================================== */

.info{
  width: 82%;
  text-align: left;
  margin: 0 auto;
  position: relative;
}

.title{
  display: inline-block;
  height: 100px;
  background-color: #2ac4f4;
  width: 100%;
  padding: 35px 0px;
  position: absolute;
  top: -50px;
  text-align: center;
}

.title h4 {
  font-size: 36px;
  font-family: 'Roboto', sans-serif;
	font-weight: 100;
	font-style: italic;
  color: #ffffff;
  margin: 0px!important;
}

.desc{
  padding-top: 90px;
}

.desc p{
  color: #ffffff;
  font-size: 24px;
  font-family: 'Roboto', sans-serif;
	font-weight: 100;  
  line-height: 31px;
	margin-bottom: 0;
}

.bottom{
  text-align: center;
  padding: 40px 0px;
}

#team .owl-pagination{ 
  display: none;
}

.card.hovercard {min-height: 1226px;}
.card.hovercard a{
    display: inline-block;
    width:50px;
    height: 50px;;
    border-radius: 50px;
    margin-right: 15px;
}

.card.hovercard a i{
    padding: 14px 11px;
    font-size: 20px;
    color: #fff;
}

/********* yellow item******************/
#team .owl-carousel .owl-item:nth-child(3n){
   background-color: #b29435;
}
#team .owl-carousel .owl-item:nth-child(3n) .title{
   background-color: #ffc50c;
}

#team .owl-carousel .owl-item:nth-child(3n) .card.hovercard a{
   background-color: #a08530;
}

#team .owl-carousel .owl-item:nth-child(3n) .card.hovercard a:hover{
   background-color: #ffc50c;
}

#team .owl-carousel .owl-item:nth-child(3n) .fa{
   color:#ffc50c;
}

#team .owl-carousel .owl-item:nth-child(3n) .fa:hover{
   color:#a08530;
}


/********* blue item******************/
#team .owl-carousel .owl-item:nth-child(3n+1){
   background-color: #3f66b0;
}
#team .owl-carousel .owl-item:nth-child(3n+1) .title{
   background-color: #2ac4f4;
}
#team .owl-carousel .owl-item:nth-child(3n+1) .card.hovercard a{
   background-color: #395c9f;
}

#team .owl-carousel .owl-item:nth-child(3n+1) .card.hovercard a:hover{
   background-color: #2ac4f4;
}

#team .owl-carousel .owl-item:nth-child(3n+1) .fa{
   color:#2ac4f4;
}

#team .owl-carousel .owl-item:nth-child(3n+1) .fa:hover{
   color:#3f66b0;
}


/********* red item******************/
#team .owl-carousel .owl-item:nth-child(3n+2){
   background-color: #df1e36;
}
#team .owl-carousel .owl-item:nth-child(3n+2) .title{
   background-color: #f06da9;
}

#team .owl-theme .owl-controls{
  margin-top: 0px;
}

#team .owl-carousel .owl-item:nth-child(3n+2) .card.hovercard a{
   background-color: #c81b31;
}

#team .owl-carousel .owl-item:nth-child(3n+2) .card.hovercard a:hover{
   background-color: #f06da9;
}

#team .owl-carousel .owl-item:nth-child(3n+2) .fa{
   color:#f06da9;
}

#team .owl-carousel .owl-item:nth-child(3n+2) .fa:hover{
   color:#c81b31;
}



i.fa.fa-link{
    -ms-transform: rotate(80deg); /* IE 9 */
    -webkit-transform: rotate(80deg); /* Safari */
    -o-transform: rotate(80deg);
    transform: rotate(80deg);
}





/*================================================== 
     SMW Section
 ================================================== */

/*.item-big {
  width: 720px;
  height: 720px;
  background-color: green;
  margin: 10px 10px 0px 0px;
    float: left;
}

.item {
  width: 18.7%;
  height: 355px;

  background-color: green;
  margin: 10px 10px 0px 0px;
  float: left;
}*/

.inst-content p, .social-media-post-content p, .social-media-post-content {
    padding: 15px;
    font-size: 24px;
		line-height: 28px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
		font-weight: 100;
		font-style: italic;
}
.social-media-post-content a {color: #fff;}

.text-with-image {
    padding: 5px;
    font-size: 18px;
		line-height: 23px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
		font-weight: 100;
		font-style: italic;
}
.text-with-image a {color: #fff;}

.social-media-post-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
	padding: 5px;
	background: rgba(0,0,0,0.4);
}
.ss-avatar {
	display: block;
	width: 30px;
}
.ss-post-social-icon, .ss-social-icon {
  float: right;
  padding-right: 10px;
}
.social-media-nick {
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 20px;
}
.social-media-nick:hover {
	color: #ff;
}

/*================================================== 
     Post Section
 ================================================== */

.wrap {
  width: 100%;
  height: 1081px;
  position: relative;
}

.infowrap{position: absolute;
  width: 100%;
  bottom: 0px;
}

.pink{
  background: #f06da9;
  width: 100%;
  display: inline-block;
  position: relative;
}

.dark{
  background: #000101;
}

.light{
  opacity: 0.87;
}

.new-display{
  display: block;
}

div.dark.light p{
  color: #ffffff;
  font-size: 24px;
  font-family: 'Roboto', sans-serif;
	font-weight: 300;
  padding: 45px 0px 20px 0px;
  line-height: 28px;
}


a.btn-more{
  display: inline-block;
  margin-bottom: 35px;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 2px solid #ffffff;
  white-space: nowrap;
/*padding: 20px 72px;*/
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 60px;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  float: right;
  position: relative;
  width: 18%;
  color: #ffffff;
}

a.btn-more .glyphicon{
  position: absolute;
  right: 17px;
  top: 39%;
}


/*================================================== 
     Single Post
 ================================================== */
.img-up{
  width: 100%;
  height: 695px;
}


.author-info{
  overflow: hidden;
  position: relative;
}

.circle img {
  border-radius: 150px !important;
  height: 150px;
/*  padding: 3px;*/
  width: 150px;
}

.circle img {
  margin-right: 15px;
  position: absolute;
  top: -26px; 
  z-index: 99;
}

.pull-left {
  float: left!important;
}

.blog_box span.post-title,
.author-info span.post-title {
  font-size: 36px;
  margin: 17px 0 11px;
  line-height: 33px;
}

.blog_box span.post-title a,
.author-info span.post-title a {
  color: #ffffff;
}

.blog_box span.author,
.author-info span.author {
  font-size: 18px;
  margin-bottom: 20px;
}

.blog_box span,
.author-info span{
  display: block;
  font-family: 'Roboto', sans-serif;
	font-weight: 300;
  color: #ffffff;
}

.pull{
   margin-left: 175px;
}

article p{
  color:#3c3c3c;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
	font-weight: 300;
  margin: 30px 0px;
  line-height: 24px;
  padding: 0px 15px;
}

.padding{
  padding:20px 0px;
}




/*================================================== 
     Blog
 ================================================== */

#blog_items {
  width: 99%;
  float: left;
  margin: 0.5%;
}

/*
.blog_box_2 {
  width: 39%
}
*/

.blog_box {
  position: relative;
  margin: 0.5%;
    width: 24%;
  background: #fff;
  transition: background 0.4s ease 0s;
}

.blog_box .blog-img {
  position: relative;
  width: 100%;
  /*max-height: 305px;*/
  overflow: hidden;
}

.blog_box .blog-img img {
  min-width: 100%;
}

.blog_box_2 h2 {
  font-size: 18px;
  line-height: 22px;
  margin: 35px 0 10px 0;
}

.blog_box h2 {
  color: #447EC1;
  padding: 0 15px;
}

.blog_box p {
  color: #333333;
  margin-bottom: 15px;
  padding: 0 15px;
  text-align: center;
}

#blog_items .pink{
 float: left;
 width: 100%;
 padding:0px 15px;
}

/****** isotop *************/
#smw {
  height: 1092px;
  background: #cecece;
	overflow-x: auto;
	overflow-y: hidden;
	position: relative;
	padding-top: 10px;
}
#smw-scroll {
	width: 100%;
	height: 100%;
	position: relative;
}
.grid {
	background: #DDD;
	height: 1070px; /* inherit height from body */
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */
.grid-item{
  float: left;
  width: 710px;
  height: 710px;
  margin-right: 10px;
	background-size: cover!important;
}
.grid-item.big {
  width: 350px;
  height: 350px;
}

.grid-item:nth-child(5n) {background: #0D8;}
.grid-item:nth-child(5n+1) {background: #f06da9;}
.grid-item:nth-child(5n+2) {background: #df1e36;}
.grid-item:nth-child(5n+3) {background: #2ac4f4;}
.grid-item:nth-child(5n+4) {background: #b29435;}

/*
#blog-slider .owl-carousel .owl-item:nth-child(3n+1).pink.new-display{
   background-color: #3f66b0;
}
#blog-slider .owl-carousel .owl-item:nth-child(3n+1).pink.new-display{
   background-color: #2ac4f4;
}
#blog-slider .owl-carousel .owl-item:nth-child(3n+1).pink.new-display{
   background-color: #395c9f;
}
*/





/******
**** SEARCH PAGE****
**********/

body.search .entry-header a,
span.posted-on{
   color:#333333;
}

.embed-container {
    position: absolute;
    top: 0;
    
  width: 100%;
  height: 100%;
}
.embed-container-left {left: 0;}
.embed-container-right {right: -100%;}

/**** about us section *****/
#about-carousel {
	position: relative;
}

.blue{
    background: #3f66b0;
    height: 101px;
}

#about .nav-tabs{
    border:none;
    margin-top: 1px;
}

#about .nav-tabs li{
    cursor: pointer;
    text-align: center;
}

#about .nav-tabs > li > a {
	margin-right: 0px;
	line-height: 22px;
	height: 98px;
	border: none;
	border-radius: 0px; 
	font-size: 18px;
	color: #ffffff;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	text-transform: uppercase;
	position: relative;
	display: table;
	width: 100%;
	padding: 10px 0;
}

#about .nav-tabs>li.active>a, 
#about .nav-tabs>li.active>a:hover, 
#about .nav-tabs>li.active>a:focus,
#about .nav-tabs>li>a:hover, 
#about .nav>li>a:hover, 
#about .nav>li>a:focus{
	color: #fff;
	background-color: #395c9e;
	border: none;
	cursor: pointer;
	font-weight: bold;
}

#about .nav-tabs > li > a > span {
	display: table-cell;
	vertical-align: middle;
	position: relative;
}

#about .tab-content {
	min-height: 200px;
}

.tab-image {position: relative;}
.about-header {}
.about-header-01 {}
.about-header-02 {}
.about-header-03 {}

#sectionA,
#sectionB,
#sectionC{
    padding: 30px 0px;
}

.tab-content p{
    padding: 10px 0px;
    color:#3c3c3c;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
		font-weight: 300;
    line-height: 26px;
}

.tab-content a{
    color: #3f66b0;
    font-weight: bold;
}

.tab-content a:hover,
.tab-content a:active,
.tab-content a:visited{
  color:#395c9e;
}

/*
 * Simple fade transition
 */
a.popup-youtube {
	display: block;
	outline: none;
	position: relative;
}
a.popup-youtube:hover {
	outline: none;
}

a.popup-youtube:after {
	content:"";
	width: 200px;
	height: 200px;
	position: absolute;
	background-image: url(img/video-play.png);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: contain;
	left: 50%;
	top: 50%;
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	opacity: 0.7;
	z-index: 100;
	transition: all 0.1s ease;
}
a.popup-youtube:hover:after {
	opacity: 1;
	transition: all 0.1s ease;
}

.mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-moz-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-moz-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

/*** new ***/

a,
a:hover, 
a:active, 
a:focus {
  outline: 0;
}

/*** blog ***/

#postslider .owl-item:nth-child(3n) .pink,
.blog_box:nth-child(3n) .pink{
   background: #2ac4f4;
}

#postslider .owl-item:nth-child(3n+1) .pink,
.blog_box:nth-child(3n+1) .pink{
   background: #f06da9;
}

#postslider .owl-item:nth-child(3n+2) .pink,
.blog_box:nth-child(3n+2) .pink{
   background: #df1e36;
}

#postslider .owl-item:nth-child(4n+4) .pink,
.blog_box:nth-child(4n+4) .pink{
   background: #3f66b0;
}

.card.hovercard .team-img:hover{
  opacity: 0.9;
}

.blog_box .blog-img:before {
  content: "\f0c1";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition: all 0.8s;
  opacity: 0;
  background: #a1cc3a url(img/link-icon.png) center / contain no-repeat;
  background-size: 30px 30px;
}
.blog_box .blog-img:hover:before {
  opacity: 0.7;
}

#postslider.owl-carousel .owl-controls .owl-page span {
  width: 14px;
  height: 14px;
  margin: 4px;
  background: #ffffff;
  opacity: 1;
}

#postslider.owl-carousel.owl-theme .owl-controls{
  margin-top: 35px;
}

#postslider.owl-carousel .owl-controls .owl-page span{
  width: 14px;
  height: 14px;
  margin: 4px;
  background: #ffffff;
  opacity: 1;
}

#postslider.owl-carousel .owl-controls .owl-page.active span{
  width: 19px;
  height: 19px;
}

#postslider.owl-carousel .owl-controls .owl-page.active {
  vertical-align: bottom;
  padding-bottom: 2px;
}

/* 404 page */
section.error-404.not-found{
  background: url(img/404img.jpg) no-repeat;
  background-size: cover;
}


.error-404.not-found .container{
  text-align: center;
  height: 928px;
  font-family: 'Roboto', sans-serif;
}

.error-404.not-found .container .page-header{
  border: 0px;
}

.error-404.not-found .container h1.page-title{
  font-size: 120px;
  color:#ffffff;
  padding-top: 220px; 
  font-weight: 400;
}

.error-404.not-found h3{
  font-size: 48px;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  line-height: 46px;
  padding: 10px 0px
}

.error-404.not-found a.btn-more{
  float: none;
  margin: 20px auto;
  text-align: left;
  padding-left: 20px;
}

/*search results*/

.pink .page-header{
  border: 0px;
}

.pink h1.page-title {
  padding-left: 20px;
  color:#ffffff;
}

.search .pink{
  margin-bottom: 30px;
}

.no-results.not-found .page-content p{
  font-size: 20px;
  line-height: 25px;
}
