/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
  #about{
    padding-bottom: 3em;
  }
  .actions{
    padding: 0;
  }
  .actions span{
    background: none;
    padding: 0;
    color: #fff;
    padding: 10% 0 0 0;
    text-align: center;
    width: 100%;
    display: block;
  }
  .actions p {
    text-transform: uppercase;
    font-size: 18px;
    /*border-bottom: solid 11px #232a56;*/
    color: #fff;
    width: 80%;
    padding:  0 0 10% 0;
    margin: auto;
    text-align: center;
  }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  .contacts {
    /*height: 18%;*/
    background-color: #fff;
  }

  .footer{
    padding-bottom: 2em;
  }
  .portfolio{
    padding-bottom: 3em;
  }
  .portfolio2 .left_portfolio .thumb{
    width: 100% !important;
  }
  .footer .row{
    padding: 0;
    margin: 0;
  }
  .stroka_footer img{
    width: 10%;
  }
  .stroka_footer span{
    width: 90%;
    margin-left: 0;
    text-align: center;
  }
  .stroka_footer{
    margin-bottom: 2em;
  }
  .footer a img{
    margin-top: 1em;
  }
  .footer .row a:first-child img{
    margin-left:26%;
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  .contacts {
    /*height: 43%;*/
    background-color: #fff;
  }
  section {
    height: auto;
  }
  h1 {
    text-align: center;
    color: #333;
    font-size: 1.4em;
    font-weight: bold;

  }
  .owl-carousel{
    padding-top: 10%;
  }

  .left_portfolio p {
    text-transform: uppercase;
    text-align: center;
    font-size: 16px;
    color: #fff !important;
  }
  .top_header {
    position: fixed;
    z-index: 13;
    width: 100%;

  }
  .top-links {
    display: none;
  }
  .logo {
    font-size: 100%;
  }
  .top-links a {
    font-size: 75%;
    display: block;
    font-weight: 100;
    color: #fff !important;
  }
  .slider_container img {
    max-width: 100%;
  }
  #header_color{
    top: 0;
    height: 0;
    height: auto;
    background: #0b0b0b;
    color: #fff;
    margin: 0;
    padding: 2% 0;
  }

  .auth_buttons{
    float: right;
  }
  .trans_header {
    background: #131313 !important;
    height: auto !important;
  }
  .logo {
    display: inline-block;
    color: #fff;
    font-size: 1.2em;
  }
  .logo span{
    color: #fff;
  }
  .border {
    margin-top: -60vh;
  }

  .button_a a {
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    border: solid 3px #fff;
    padding: 5px 15px;
    font-size: 12px;
    line-height: 3;
  }
  #about {
    background-image: none;
    background-color: #fff;
  }
  #about p {
    /*font-size: 12px;*/
  }
  #about dl {
    /*font-size: 100%;*/
    text-align: center;
    width: auto;
    margin: auto;
  }
  .actions p{
    font-size: 16px;
  }
  .img_class_collum {
    margin-bottom: 15px;
    width: 100%;
  }
  .img_class_collum img {
    width: 120px;
    height: 120px;
  }
  .contacts a {
    /*font-size: 13px;*/
    border: solid 4px #232a56;
    color: #232a56;
    /*padding: 20px 47px;*/
    /*margin-top: 17%;*/
    /*float: left;*/
    /*font-weight: 800;*/
    /*width: 100% !important;*/
    /*margin-left: 0;*/
    text-align: center;
  }
  .thumb a img {
    width: 100%;
    height: auto;
  }
  .thumb {
    padding: 5px;
    width: 100%;
    height: auto;
  }

  /*.footer span {*/
  /*margin-top: 20px;*/
  /*float: left;*/
  /*font-size: 12px;*/
  /*color: #c6c5c5;*/
  /*text-transform: uppercase;*/
  /*margin-left: 10%;*/
  /*}*/
  /*.stroka_footer {*/
  /*margin: auto;*/
  /*}*/
  .effect-dexter img {
    vertical-align: middle;
    width: 100%;
  }

  figure.effect-dexter figcaption {
    padding: 3em;
    text-align: left;
    margin-top: 550px;
  }
  figure.effect-dexter {
    /*background: -webkit-linear-gradient(top, rgba(115, 146, 255, 7) 0%, rgba(115, 146, 255, 7) 100%);*/
    /*background: linear-gradient(to bottom, rgba(115, 146, 255, 7) 0%,rgba(255,255,255,0.7) 100%);*/
    /*height: 27vh;*/
    height: 350px;
    margin-bottom: 7%;
    overflow: hidden;
  }
  figure.effect-dexter p {
    right: 58px;
    bottom: 32px;
    left: 60px;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,-100px,0);
    transform: translate3d(0,-100px,0);
    margin-top: 15px;
    float: left;
    font-size: 12px;
  }
  .effect-dexter h2 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 90%;
    /*margin-top: 12%;*/
  }
  section.service {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 52px;
  }

  /*.footer img {*/
  /*float: left;*/
  /*margin-left: 10px;*/
  /*padding-bottom: 0;*/
  /*width: 33px;*/
  /*}*/
  /*.footer i {*/
  /*-webkit-transition: all 0.5s;*/
  /*-moz-transition: all 0.5s;*/
  /*transition: all 0.5s;*/
  /*padding-top: 3%;*/
  /*font-size: 33px;*/
  /*width: 50px;*/
  /*height: 50px;*/
  /*background: #fff;*/
  /*color: #000;*/
  /*margin: 10px;*/
  /*}*/
  .button2 {
    font-size: 20px;
  }
  #about {
    height: auto;
    padding-bottom: 50px;
  }
  .border {
    margin-top: -50%;
    padding-bottom: 1%;
    margin-bottom: 3%;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
  .owl-carousel{
    padding-top: 6% !important;
  }
  .contacts a{
    font-size: 18px;
    line-height: 170px;
    padding: 18px 24px;
  }
  #about dl span{
    border: none;
  }
  .service .grid h1,p{
    color: #fff;
  }
  .service .grid h1{
  }
  .service .grid p{
    margin-bottom: 2em;
  }
  .service .row:last-child{
    margin-bottom: 0;
  }
  figure.effect-dexter {
    background-color: #0b0b0b;
    margin-bottom: 0%;
    /*height: auto;*/
    height: auto;
    overflow: hidden;
    margin-top: 0%;
  }
  figure.effect-dexter figcaption{
    margin-top: -13.750em;
  }
  figure.effect-dexter p{
    color: #fff;
    opacity: 1;
  }
  figure.effect-dexter figcaption::after{
    display: none;
  }
  figure.effect-dexter:hover figcaption::after {
    -webkit-transform: none;
    transform: none;
  }
  figure.effect-dexter:hover img {
    opacity: 1;
  }
  .effect-dexter h2{
    line-height: 10em;
    text-align: center;
  }
  .stroka_footer span{
    font-size: 16px;
  }
  .footer .row a:first-child img{
    margin-left: 8%;
  }
  .footer a img{
    width: 16%;
  }
  .border span{
    font-size: 13px !important;
    border: none;
  }
  .button2{
    padding: 14px 74px !important;
  }
  .actions p{
    border: none;
  }
  .actions p i{
    border: none;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
  .slide_item{
    font-size: 2.5em;
  }
  figure.effect-dexter {
    /*background-color: #232a56;*/
    margin-bottom: 0%;
    /*height: auto;*/
    height: 280px;
    overflow: hidden;
    margin-top: 0%;
  }
  figure.effect-dexter figcaption{
    margin-top: -74%;
  }
  figure.effect-dexter p{
    bottom: 40px;
  }
  .service .row:last-child{
    margin: auto;
    margin-bottom: 20px;
  }
  .service .grid{
    margin-bottom: 30px;
  }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

  .col-sm-4 {
    width: 33.33333333% !important;

  }
  img.img_3_jpg {
    width: 26%;
  }
  figure.effect-dexter {
    /*background-color: #232a56;*/
    margin-bottom: 0%;
    /*height: auto;*/
    height: 445px;
    overflow: hidden;
    margin-top: 0%;
  }
  figure.effect-dexter figcaption{
    margin-top: -445px;
  }
  .service .row:last-child{
    margin: auto;
    margin-bottom: 100px;
  }
  .contacts a{
    padding: 18px 84px !important;
  }
}


/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

  #portfolio {

    padding-bottom: 3em;
  }
  figure.effect-dexter {
    /*background-color: #232a56;*/
    margin-bottom: 0%;
    /*height: auto;*/
    height: 325px;
    overflow: hidden;
    margin-top: 0%;
  }
  figure.effect-dexter figcaption{
    margin-top: -425px;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
  figure.effect-dexter {
    background-color: #232a56;
    margin-bottom: 0%;
    height: 425px;
    overflow: hidden;
    margin-top: 0%;
  }
  #about{
    min-height: 43.750em;
  }
}