/*!
 * Start Bootstrap - Modern Business (https://startbootstrap.com/template-overviews/modern-business)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-logomodern-business-nav/blob/master/LICENSE)
 */

body {
  padding-top: 54px;
}

@media (min-width: 992px) {
  body {
    padding-top: 56px;
  }
}

.carousel-item {
  height: 65vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.portfolio-item {
  margin-bottom: 30px;
}




.carousel-caption.d-none.d-md-block {
    width: 100%;
    display: block!important;
    left: 0%;
    background-color: rgb(254,254,254, 0.8);
}


/****/


.right_list {
    display: block;
    padding-top: 7%;
}

.right_list p {
    margin-left: 25px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 26px;
}
/***/

.container h2 {
    font-weight: bold;
    color: #3F596C;
}

/******************galery*****************/

@import url(https://fonts.googleapis.com/css?family=Raleway);
$backgroundColor: #1d2123;
$color: white;
$borderColor: lighten($backgroundColor, 15%);
$green: #79AC00;
$darkGreen: darken($green, 15%);
$lightGreen: lighten($green, 5%);
body {
  background-color: $backgroundColor;
  color: $color;
  font-family: 'Raleway', sans-serif;
}

.page-header,
hr {
  border-color: $green;
}

.thumb {
  margin-bottom: 30px;
}

.thumbnail {
  padding: 1px;
  transition: all 0.30s ease-in-out;
  border: 2px solid $darkGreen;
}

.thumbnail:hover,
.thumbnail:active,
.thumbnail:focus {
  border-color: $green;
  outline: 0 !important;
}

a.thumbnail {
  border-color: $borderColor;
  border-width: 2px;
  background-color: $backgroundColor;
}

a.thumbnail:hover {
  border-color: $darkGreen;
}

a.thumbnail:focus,
a.thumbnail:active {
  border-color: $green;
}

footer {
  margin: 50px 0;
}

::selection {
  background-color: $green;
}

/**********SCHEDULE**********/

table, th, td {
    border: 1px solid black;
}

th {
    font-weight: normal;
    height: 45px;
    padding: 10px;
    text-align: center;
}

.schedule_content h4 {
    margin-top: 15px;
    margin-bottom: 15px;
}
/**/
footer {
    margin: 0px;
}
/*==========  Mobile First Method  ==========*/

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

h3.carousel_first {
    font-size: 30px;
    color: #F15B4D;
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 700;
}
h3.carousel_second {
    font-size: 30px;
    color: #F15B4D;
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 700;    
}
h3.carousel_third {
    font-size: 30px;
    color: #F15B4D;
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 700;    
}
p.carousel_first {
    font-size:20px;
    color: #F15B4D;
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 700;
}
p.carousel_second {
    font-size: 20px;
    color: #F15B4D;
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 700;    
}
p.carousel_third {
    font-size: 20px;
    color: #F15B4D;
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 700;
    
}
    
    /****************/
    
    .img-fluid {
    max-width: 75%;
    height: auto;
}  

.advantages_front p {
    display: block;
    width: 100%;
    height: 50px;
    font-weight: bold;
    color: #3a387a;
    font-size: 18px;
    line-height: 18px;
    padding-top: 20px;
    text-align: center;
}

.advantages_front h3 {
    font-size: 15px;
    text-align: center;
    height: 75px;
    width: 90%;
    margin-left: 5%;
}


/**************/

.my_wide_block img {
    width: 100%;
}
.my_wide_block {
    display: block;
    width: 100%;
    height: 650px;
    margin-bottom: 25px;
    background-color: #3a387a;
    color: #fff;
    font-weight: bold;
    font-size: 19px;
}
.contacts {
    display: block;
    height: 150px;
}

}
/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {
    
 .advantages_front h3 {
    font-size: 15px;
    text-align: center;
    height: 75px;
    width: 90%;
    margin-left: 5%;
    padding-top: 20px;
}
/*****/
.my_wide_block img {
width: 70%;
margin-left: 15%;
}

}

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

h3.carousel_first {
    font-size: 40px;
}
h3.carousel_second {
    font-size: 40px;
}
h3.carousel_third {
    font-size: 40px;
}
p.carousel_first {
    font-size:30px;
}
p.carousel_second {
    font-size: 30px;
}
p.carousel_third {
    font-size: 30px;
}    
/*****************/    
     .advantages_front h3 {
    font-size: 15px;
    text-align: center;
    height: 75px;
    width: 90%;
    margin-left: 5%;
    padding-top: 45px;
    
}

/********/

.my_wide_block {
    height: 350px;
}

.my_wide_block img {
    width: 90%;
    margin-left: 10%;
    padding-top: 5%;
}

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


h3.carousel_first {
    font-size: 60px;
}
h3.carousel_second {
    font-size: 60px;
}
h3.carousel_third {
    font-size: 60px;
}
p.carousel_first {
    font-size:30px;
}
p.carousel_second {
    font-size: 30px;
}
p.carousel_third {
    font-size: 30px;
}  
/***********************/    
  .advantages_front {
    display: block;
    height: 400px;
}


.advantages_front p {
    display: block;
    width: 50%;
    height: 100px;
    font-weight: bold;
    color: #3a387a;
    font-size: 25px;
    line-height: 25px;
    padding-top: 80px;
}

.advantages_front .row {
    padding-top: 50px;
    padding-bottom: 50px;
}


.advantages_front h3 {
font-size: 15px;
text-align: left;
padding-top: 13px;
border-left: 4px solid #1bcbdd;
height: 75px;
padding-left: 15px;
width: 251px;
margin-top: 10px;
margin-left: -25px;
text-transform: uppercase;
line-height: 25px;
letter-spacing: 1px;
}

.advantages_front .img-fluid {
    max-width: 120%;
    height: auto;
} 
/********************************/
.front_list img {
    margin-left: 30%;
    margin-top: -5%;
    height: 270px;
    padding-top: 0%;
}

.my_wide_block {
    margin-bottom: 25px;
    font-size: 19px;
}

.my_wide_block img {
    width: auto;
}

.my_wide_block h3 {
    text-align: center;
    height: 40px;
    padding-top: 30px;
}

.my_wide_block h2 {
    display: block;
    color: white;
    width: 25%;
    padding-left: 75%;
    
} 

.my_wide_block .row {
    margin-left: 0px;
    margin-right: 0px;
}
/****contacts*****/
.contacts h2 {
    color: #3F596C;
    font-size: 30px;
    line-height: 25px;
font-style: italic;
    text-align: right;
    padding-right: 15px;
    padding-top: 17px;
    letter-spacing: 2px;
    text-align: center;
}

.contacts p {
    font-size: 20px;
    color: #3F596C;
    padding-top: 15px;
    text-align: center;
    margin-top: 10px;
font-style: italic;
}

.contacts .row {
    width: 60%;
    margin-left: 20%;
}


}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    
/**********advantages block*********/

 
/*****************/
.front_list img {
    margin-left: 40%;
    margin-top: -5%;
    height: 350px;
    display: block;
    box-shadow: 0 15px 30px 0 rgba(0,0,0,0.6), 0 5px 15px 0 rgba(0,0,0,0.6);
}
/*************/

}