/*
Theme Name: gts-oberst
Author: V.Tkachenko
Author URI: http://tkachenko.top/
Description: GT-S theme
Version: 3.0.0
*/
body {
	font-family: Arial, sans-serif;
	color: #333333;
}
h1 {
  font-size: 2.0em;
  margin-top: 0px;
  margin-bottom: 0px;
}
h3{
  font-size: 1.0rem;
  text-transform: uppercase;
}

a {
  color: #003f00;
}
a:focus, a:hover {
  color: #e1a606;
  text-decoration: none;
}

/* HEADER */
#pre_header{
  background: #005000;
}
#pre_header ul{
  justify-content: flex-end;
}
#pre_header li{
  margin: 0px 10px -5px 0px;
}
.nav-pills>li>a {
  color: #999999;
  text-decoration: none;
}
.nav-pills>li>a:hover, .nav-pills>li>a:active {
  color: #e1a606!important;
}
.navbar-light .navbar-nav .nav-link{
  color: #fff;
}
.navbar-light .navbar-nav .active>.nav-link{
  color: #e1a606;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
  color: #ecb92d;
}
.dropdown-item:hover {
  color: #e1a606;
  background-color: #005000;
}
header{
  background: #eae8e8;
  text-align: center;
}
#head {
  align-items: center;
  padding: 7px 0 10px 0;
}
#head .login .fas{
  font-size: 3rem;
}

/* CONTENT */
#content{
  background-image: linear-gradient(#003f00, #ffffff);
}
.wrap {
  background: #fff;
}
.main{
  padding-top: 15px;
}
article{
  border-right: 1px dotted #dddddd;
}
.slider{
  padding-bottom: 15px;
}
.slider img{
  width: 100%;
  height: auto;
}

/* SECTIONS NAMES */
.news_cat_name, .section_name, .news_cat_name a{
  background: #005000;
  color: #fff;
}
.news_cat_name h2, .section_name h2{
  font-size: 1.5rem;
  padding: 10px 0px 10px 15px;
  text-transform: uppercase;
}
.news_cat_name {
  margin-bottom: 15px;
}
.section_items{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  padding-top: 15px;
}
.sec_item{
  max-width: 45%;
  text-align: center;
  margin-bottom: 15px;
}
.sec_text {
  padding-top: 5px;
  text-align: center;
}
.sec_text a {
  font-size: 1em;
  color: #003f00;
  text-transform: uppercase;
  text-decoration:none;
  font-weight: 600;
}
.circle {
  margin: auto;
  width: 160px;
  height: 160px;
  display: block;
  border-radius: 80px;
  font-size: 20px;
  color: #003f00;
  line-height: 100px;
  background: #eeeeee;
}
.circle:hover{
  background: #999999;
}
.circle i {
  font-size: 4.7em;
  padding-top: 30px;
  color: #003f00;
}
.circle i:hover, .sec_text a:hover {
  color: #e1a606;
}

/* NEWS ON FRONT PAGE */
.news_item img{
  width: 100%;
  height: auto;
}
.news_item h3{
  font-size: 0.8rem;
  font-weight: 600;
}
.f_date {
  margin: 0;
  font-style: italic;
  text-align: right;
  padding: 3px 5px 10px 0px;
  font-size: 0.8rem;
  color: #999999;
}

footer {
  padding: 25px 20px 20px;
  background-color: #666666;
}
.footer_content>p {
  font-size: 0.9em;
  line-height: initial;
  padding: 0px 0px 0px 65px;
  margin: 0;
}
.footer_content>img {
  float: left;
}
.footer_rasrab {
  text-align: right;  
}
.hidden {
  display: none;
}

/* CONTENT PAGE */
.page_title{
  padding: 15px;
  border-bottom: 1px dotted #dddddd;
}
.page_content{
  padding: 15px 10px 0px 10px;
}
.page_content h2{
  font-size: 1.8rem;
  padding-bottom: 10px;
  padding-top: 10px;
  text-align: center;
}
.cont_section{
  display: inline-block;
  width: 100%;
  height: auto;
}
.cont_bl p{
  text-align: center;
}

.alignleft {
  float:left;
  margin: 10px 20px 0px 0px;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
img.aligncenter {
    max-width: 80%;
    height: auto;
}

.dost{
  padding-top: 10px;
  padding-bottom: 10px;
}
.cont_section_text{
  text-align: center;
  padding-top: 10px;
}
.cont_img{
  text-align: center;
}
.cont_img img{
  float: none;
  padding-top: 15px;
}

.panel-body{
  padding-top: 15px;
}

/* PAGE NEWS LIST*/
.news_list{
  flex-wrap: wrap;
  padding-top: 15px;
}
.p-1 img{
  width: 100%;
  height: auto;
}
.p-1 h2{
  font-size: 1.2rem;
}
.p-1{
  width: 33%;
}

.back_link{
  text-align: center;
  padding: 15px;
}
/* 404 */
.error_container{
  text-align: -webkit-center;
  background: #fff;
  min-height: 848px;
}
.error_wrap{
  padding-top: 30px;
  padding-bottom: 30px;
}
.er_box{
  background: #ccc;
  border-radius: 10px;
  padding: 20px;
}
.er_title{
  color: #fff;
  padding-bottom: 25px;
}

/*==========  Desktop First Method  ==========*/
/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  .footer_rasrab {
  text-align: center;
  }
  .p img {
    max-width: 80%;
    height: auto;
    }
}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  h2 {
    font-size: 1.2em;
  }
  .alignleft {
    float: none;
  }
  .head_iso>img {
    padding-bottom: 10px;
  }
  .page_content h2 {
    font-size: 1.5rem;
  }
  .p-1 {
    width: 50%;
  }
  .sec_text a, .news_item h3 {
    font-size: 0.7em;
  }
  .circle i {
    padding-top: 25px;
  }
  .circle {
    width: 135px;
    height: 135px;
    border-radius: 65px;
    font-size: 18px;
  }
}
/* 1 col */
@media only screen and (max-width : 767px) {
  #head .line, .head_iso, .footer_rasrab{
    display: none;
    }
    #head .login .fas {
      font-size: 1.7rem;
      }
      h1 {
    font-size: 1.6em;
    }
    .page_content h2 {
    font-size: 1.4rem;
}
.section_items{
  flex-direction: column;
  text-align: -webkit-center;
}
.sec_item {
  max-width: 95%;
}
.f_date{
  font-size: 0.6rem;
}
.cont_bl{
  text-align: center;
}
.p-1 {
    width: 100%;
}
.dropdown-item{
  white-space: inherit;
}
.error_container{
    min-height: 540px;
}
}
