/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */
@supports (-ms-ime-align:auto) {
  div#fontAwesome {
    padding-left: 20px;
  }
  
  div#fontAwesome a {
    flex: 1;
  }  
}

ul.lang-inline {
    margin: 0;
    padding: 0;
  	list-style: none;
  	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    justify-content: space-evenly;
}

ul.lang-inline li {
    border: none;
  	flex: 1;
}

.default-logo img {
    margin: 0 auto;
    position: relative;
    left: -50px;
    top: 3px;
  	display: block;
}

#tm-toolbar .uk-width-large-1-5 > p {
  margin-top: 5px;
  color: #fff;
}

#tm-toolbar .uk-width-large-3-5 {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  justify-content: flex-end;
}

.uk-article-title {
  text-transform: capitalize;
}

article p[style] {
  text-align: left !important;
}

article img + p {
  padding-top: 20px;
}

article p {
  color: #000;
}

.tm-socialbuttons div:nth-child(2) > div {
  display: block !important;
}

.tm-socialbuttons {
  margin-top: 15px;
  float: right;
}

#tm-bottom-a {
  padding: 30px 20px;
}

#tm-bottom-a .uk-panel-space {
  padding: 0;
}

#tm-bottom-a .uk-panel-title {
  font-size: 1rem;
  margin-bottom: 0;
}

#tm-bottom-a .uk-nav-side > li > a {
  color: #3299cd;
  padding: 0;
}

#tm-bottom-a .uk-nav-side > li > a:hover,
#tm-bottom-a .uk-nav-side > li > a:focus {
  color: #fff;
}

#fontAwesome {
  	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    flex-wrap: wrap;
  	-webkit-flex-wrap: wrap;
    justify-content: space-evenly;
}

div#fontAwesome a {
    color: #2767a6;
    line-height: 6rem;
    font-size: 1.7rem;
  	/*flex: 1;*/
}

aside.tm-sidebar-a {
  border-left: none !important;
}

.social-icons {
  padding: 0;
}

#tm-content {
  /*padding-left: 60px;*/
}

a, .uk-link {
    color: #3277cf;
}

a:hover,
a:focus,
.uk-link:hover,
.uk-link:focus {
    color: #dd2121;
}

article a,
article .uk-link {
    border-bottom: 1px dotted #3277cf;  
}

article a:hover,
article a:focus,
article .uk-link:hover,
article .uk-link:focus {
    border-bottom: 1px dotted #dd2121;  
}

h1.uk-article-title a {
  border: none;
}

.uk-panel-header {
    padding: 0;
}

.uk-navbar .uk-search:before {
  background-image: none;
  height: 0;
  width: 0;
  line-height: 0;
  text-align: center;
}

#tm-navbar + .tm-dropdown-overlay {
  display: none !important;
}

#tm-navbar .uk-dropdown-navbar {
   background: rgba(25, 60, 110, 0.98);
}

/** Mobile Responsive Styles **/
.tm-logo-small {
  padding: 0;
}

#tm-top-a > div:first-child {
  width: auto;
  border: none;
}

#tm-top-a > div:last-child {
  width: 80%;
  border: none;
}

.uk-navbar-nav > li {
    margin-right: 1.6rem;
}

form.uk-search {
	background: #e3e8ed;
  	height: 35px;
}

#tm-navbar form.uk-search {
  position: absolute;
  display: none;
  width: 600px;
  left: 0;
  margin-left: -34.5rem;
  background-color: #2972c4;
  padding: 1px;
  height: inherit;
}

#tm-top-a .uk-search:before {
  right: auto;
}

#tm-top-a input.uk-search-field,
.uk-navbar input.uk-search-field {
  background: transparent;
  font-size: 1rem;
  text-transform: none;
  text-align: left;
  padding-left: 35px;
  padding-right: 0;
}

.uk-navbar input.uk-search-field {
  width: 82%;
  height: 35px !important;
  background: #e3e8ed;
  padding: 0;
}

.uk-navbar input.uk-search-field + input.btn {
  float: right;
  margin-right: 2px;  
  height: 35px;
}

#tm-top-a .lang-inline li {
  line-height: 2.2rem;
}

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px) {
  #tm-content {
    padding-left: 30px;
  }
}

@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) {    
  .uk-flex-item-1 {
    -ms-flex: 1 50%;
    -webkit-flex: 1 50%;
    flex: 1 50%;
   }
}

/** finder **/
#tm-navbar .uk-float-right {
  position: relative;
  padding: 0 10px;
  background-color: transparent;
  background-image: url(../less/uikit/images/blue/ui-icon-search.svg);
  background-repeat: no-repeat;
  background-position: 6px 30px;
  transition: background-color .1s ease-in-out;
  -moz-transition: background-color .1s ease-in-out;
  -webkit-transition: background-color .1s ease-in-out;
}

#tm-navbar .uk-float-right:hover,
#tm-navbar .uk-float-right:focus {
  background-color: #2972c4;
  background-image: url(../less/uikit/images/blue/ui-icon-search.svg);
  background-repeat: no-repeat;
  background-position: 6px -50px;
  transition: background-color .5s ease-in-out;
  -moz-transition: background-color .5s ease-in-out;
  -webkit-transition: background-color .5s ease-in-out;
}

.search-icon {
  display: block;
  width: 30px;
  text-align: center;
  font-family: FontAwesome;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.2);
  height: 30px;
  margin-top: 30px;
}

.search-icon:focus,
.search-icon:hover {
  /*background: #2972c4 url(../less/uikit/images/blue/icon-search.svg) no-repeat 0px -40px;*/
}

span.highlight {
    background-color: #f2f2a5;
}

.rsform-block .uk-form-label {
	color: red;
    width: 5%;
}

.uk-form-horizontal .uk-form-controls {
	margin-left: 5px;  
}

.rsform-submit-button {
  color: #fff !important;
}

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
    width: 100%;
    margin: 10px auto ;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}