﻿   div.news h1 { /* заголовок */
   color:#0000CC;
   text-align: center;
   }

   div.news h2 { 
   text-align: center;
   color: #0000CC;
   }  
   a:not(for-cabins)[href="#content"] {
   color: #0000CC;
   text-decoration: none;
   }
   a.for-cabins[href="#content"] {
   color: green;
   text-decoration: none;
   }
   div.news h3:not([class]) {
   color: green;
   text-align: center;
   font-size: 13pt;
   margin-bottom: 5px;
   }
   div.news h4 {
    color: green;
   text-align: center;
   font-size: 13pt;
   margin-bottom: 5px;
   }

/* Кнопка с двигующимися черточками */
.booking-button {
width: 50%;
margin: 0 auto 0.5em auto;
text-align: center;
background-color: #1A5C9B;
padding: .35em 0;
border: 0.2em solid black;
}
.booking-button a {
padding: 0 1.1em;
font-weight: bold;
line-height: 2em;
color: rgb(255, 255, 255);
position: relative;
display: inline-block;
text-decoration: none;
outline: none;
font-size: 1.2em;
}
.booking-button a:hover {
color: white;
}

.booking-button a::before,
.booking-button a::after {
content: "";
position: absolute;
width: 2em;
height: .15em;
background-color: white;
opacity: 0.2;
transition: all 0.3s;
-webkit-transition: all 0.3s;
-o-transition: all 0.3s;
-moz-transition: all 0.3s;
}
.booking-button a::before {
    top: 0;
    left: 0;
    transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
}
.booking-button a::after {
    right: 0;
    bottom: 0;
    transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform-origin: 100% 100%;
    -webkit-transform-origin:  100% 100%;
    -o-transform-origin:  100% 100%;
    -moz-transform-origin:  100% 100%;
}

.booking-button a:hover::before,
.booking-button a:hover::after {
    opacity: 1;
}
.booking-button a:hover::before {
    left: 50%;
     -moz-transform: rotate(0deg) translateX(-50%);
     -o-transform: rotate(0deg) translateX(-50%);
     -webkit-transform: rotate(0deg) translateX(-50%);
    transform: rotate(0deg) translateX(-50%);
}
.booking-button a:hover::after {
    right: 50%;
    -moz-transform: rotate(0deg) translateX(50%);
    -o-transform: rotate(0deg) translateX(50%);
    -webkit-transform: rotate(0deg) translateX(50%);
    transform: rotate(0deg) translateX(50%);
}

/* flexbox контейнер */
.nav-box {
  display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;  /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */


 -webkit-flex-wrap: wrap; /* Safari 6.1+ */
 flex-wrap: wrap;
 -webkit-box-lines: multiple;
-webkit-justify-content: space-between;
 justify-content: space-between;
 margin: .65em 0 0 0;

}
/* flexbox единица */
    .nav-box-item {
    -webkit-flex-basis: 40%;
    flex-basis: 40%;
    margin: .33em .33em;
    -webkit-flex-grow: 2;
    flex-grow: 2;
}
.nav-box-item a {
 font-size: .9em;
 font-family: Tahoma;
}

/* заполняющася кнопка */
   .loading_button {
    display: inline-block;
    background: white;
    border: .18em solid #0F66BA;
    padding: .62em;
    text-decoration: none;
    font-size: 1.8em;
    color: #0F66BA;
    font-weight: bold;
    position: relative;
    z-index: 10;
    border-radius: 0.4em;
}
  .loading_button:after {
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: #0F66BA;
    background: -webkit-linear-gradient(to top, #0F66BA, #79a8ed);
    background: -ms-linear-gradient(to top, #0F66BA, #79a8ed);
    background:  -o-linear-gradient(to top, #0F66BA, #79a8ed);
    background: linear-gradient(to top, #0F66BA, #79a8ed);
    z-index: -1;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: .4s linear;
    -o-transition: .4s linear;
    -moz-transition: .4s linear;
    transition: .4s linear;
    border-radius: 0.2em;
  }
  .loading_button:hover {
  color: white;
  }
  .loading_button:hover:after {
  -moz-transform: scalex(1); /* Для Firefox */
  -ms-transform: scalex(1);/* Для IE */
  -webkit-transform: scalex(1); /* Для Safari, Chrome, iOS */
  -o-transform: scalex(1); /* Для Opera */
  transform: scalex(1);
  }
  .normalsize{
    font-size: .9em;
    padding: .3em 0.62em;
    border: .125em solid #0F66BA;
}


/* табы переключатели */
.tabs {
  margin-bottom: 10px;
  margin-top: 20px;
  }
 .tabs__caption {
  margin: 0px;
  padding: 0px;
  text-align: center;
  margin-bottom: 10px;
  }
 .tabs__caption li {
  list-style-type: none; 
  display: inline-block;
  background: white;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 57px;
  padding-right: 57px;
  cursor: pointer;
  color: blue;
  font-weight: bold;
  font-size: 12pt;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  margin: 0px;
  border: 2px solid blue;
  position: relative;
  }
  .tabs__caption li:hover {
  background: blue;
  color: white;
  }
  .tabs__caption li:hover:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid blue;
    position: absolute;
    bottom: -20px;
    left: 50%;
    margin-left: -20px        
        }
  .tabs__caption li.active {
  background: #691A18;
  color: white;
  border: 2px solid black;
  }
  .tabs__caption li.active:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #691A18;
    position: absolute;
    bottom: -20px;
    left: 50%;
    margin-left: -20px        
        }
  .tabs__content {
   list-style-type: none; 
   display: none;
   width: 740px;
   }
   .tabs__content.active {
   display: block;
   }
   a[href="#content"] {
   color: green;
   text-decoration: none;
   }

/* слайдер */
   .sliderB {
        width: 740px;
        height: 445px;
        position: relative;
        overflow: hidden;
        text-align: center;
    }

    .sliderB > input {
        display: none;
    }

    .sliderB > label {
        display: none;
    }

    .sliderB > input:checked + div + label,
    .sliderB > input:checked + div + label + label {
        display: block;
        width: 80px;
        height: 80px;
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
        border-radius: 40px;
        background-color: rgba(120, 120, 255, 0.7);
    }

    .sliderB > input:checked + div + label:after,
    .sliderB > input:checked + div + label + label:after {
        font-size: 30px;
        color: #fff;
        display: block;
        position: absolute;
        top: 0px;
        bottom: 0px;
        line-height: 80px;
    }

    .sliderB > input:checked + div + label {
        left: -40px;
    }

    .sliderB > input:checked + div + label:after {
        content: '◀';
        left: 55%;
    }

    .sliderB > input:checked + div + label + label {
        right: -40px;
    }

    .sliderB > input:checked + div + label + label:after {
        content: '▶';
        right: 55%;
    }

    .sliderB > div {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        z-index: 0;
    }

    .sliderB > div {
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.8s ease-out 0.1s, visibility 0.1s ease-out 0.9s;
        -webkit-transition: opacity 0.8s ease-out 0.1s, visibility 0.1s ease-out 0.9s;
        -o-transition: opacity 0.8s ease-out 0.1s, visibility 0.1s ease-out 0.9s;
        -moz-transition: opacity 0.8s ease-out 0.1s, visibility 0.1s ease-out 0.9s; 
    }

    .sliderB > input:checked + div {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.8s ease-out 0.1s, visibility 0.1s ease-out 0s;
        -webkit-transition: opacity 0.8s ease-out 0.1s, visibility 0.1s ease-out 0s;
        -o-transition: opacity 0.8s ease-out 0.1s, visibility 0.1s ease-out 0s;
        -moz-transition: opacity 0.8s ease-out 0.1s, visibility 0.1s ease-out 0s;
    }

    .sliderB > div > p {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        text-align: center;
        color: #0b750b;
        font-size: 1.5em !important;
        background: rgba(204, 204, 204, 0.67);
    }
    }
    #button-example {
        width: 400px;
        height: 250px;
        border: 1px solid #888;
        position: relative;
        overflow: hidden;
    }

    #button-example > div {
        width: 80px;
        height: 80px;
        position: absolute;
        top: 50%;
        -moz-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    #button-example > div:after {
        font-size: 30px;
        color: #fff;
        display: block;
        position: absolute;
        top: 0px;
        bottom: 0px;
        line-height: 80px;
    }

    #button-example > div:first-child {
        left: -40px;
    }

    #button-example > div:first-child:after {
        content: '◀';
        left: 55%;
    }

    #button-example > div:last-child {
        right: -40px;
    }

    #button-example > div:last-child:after {
        content: '▶';
        right: 55%;
    }
    .layover {
    display:inline-block;   
    position:relative;
    }
    .layover span {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        text-align: center;
        color: #0b750b;
        font-size: 1.5em !important;
        background: rgba(204, 204, 204, 0.67);
        }
  p {
  font-size: 16px;
  }
  img {
  margin: 0px !important;
  }



/* список с двигующийся стрелкой */
.round_number {
  counter-reset: li; 
   font: 14px "Trebuchet MS", "Lucida Sans";
   padding: 0;
   text-shadow: 0 1px 0 rgba(255,255,255,.8);
    display: -webkit-flex; /* Safari */
   -webkit-flex-wrap: wrap; /* Safari 6.1+ */
   display: flex;
   flex-wrap: wrap;
    -webkit-justify-content: space-between;
   justify-content: space-between;
   margin: 0px;
}
.round_number li {
position: relative;
display: block;
padding: .4em .4em .4em 2em;
margin: .5em 0;
background: #DAD2CA;
color: black;
border-radius: .3em;
cursor: pointer;
font-weight: bold;
-webkit-flex-basis: 44%;
flex-basis: 44%;
}
.round_number a li {
position: relative;
display: block;
padding: .4em .4em .4em 2em;
margin: .5em 0;
background: #DAD2CA;
color: black;
border-radius: .3em;
cursor: pointer;
font-weight: bold;
-webkit-flex-basis: 44%;
flex-basis: 44%;
height: 50%;
}
.round_number a {
-webkit-flex-basis: 48%;
flex-basis: 48%;
}
.round_number li:before {
content: counter(li);
counter-increment: li;
position: absolute;
left: -1.3em;
top: 50%;
margin-top: -1.3em;
background: #489AEA;
height: 2em;
width: 2em;
line-height: 2em;
border: .3em solid white;
text-align: center;
font-weight: bold;
border-radius: 2em;
color: white;
transition: all .4s linear;
-webkit-transition: all .4s linear;
-o-transition: all .4s linear;
-moz-transition: all .4s linear;
text-shadow: none;
font-size: .85em;
}
.round_number li:hover:before {
    -moz-transform: rotate(360deg); 
    -ms-transform: rotate(360deg); 
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg); 
    transform: rotate(360deg);
    color: #489AEA ;
    background: white ;
    border-color: #489AEA;
}
      .itinerary-page li a { 
      color: #003399;
      font-weight: bold;
      text-decoration: none;
      font-style: italic;
      font-size: 1.1em;
      transition: all 0.4s linear;
      -webkit-transition: all 0.4s linear;
      -o-transition: all 0.4s linear;
      -moz-transition: all .4s linear;
      }
      .itinerary-page a li { 
      color: #003399;
      font-weight: bold;
      font-style: italic;
      font-size: 1.1em;
      
      }
      .itinerary-page li::before {
      content: "▲" !important;
      }
      .itinerary-page li:hover {
      background: #EFE6DE; 
      box-shadow: 0 0 2px 5px #EFE6DE;
      }
      .itinerary-page a {
       text-decoration: none;
      }
      .itinerary-page li:hover::before {
      -moz-transform: rotate(180deg) !important;
      -o-transform: rotate(180deg) !important;
      -webkit-transform: rotate(180deg) !important;
      transform: rotate(180deg) !important;
      color: red !important;
      background: white !important;
      border-color: #489AEA !important;
      }

/* кнопка с подстветкой */
.block {
      border-radius: 0.2em;
      background: #1A5C9B;
      width: 100%;
      max-width: 740px;
      min-width: 240px;
      font-weight: bold;
      margin: 0px;
      text-align: center;       
      cursor: pointer;
      padding: 5px 0;
      transition: 0.15s;
      -webkit-transition: 0.15s;
      -o-transition: 0.15s;
      -moz-transition: 0.15s;
      }
      .block a {
      text-decoration: none; 
      color: white; 
      }
       .block:hover {     
      background: #2E79C2;
      box-shadow:inset 0 0 2px 2px white;  
      border-radius: 0   
      } 
      .block a:hover {
      text-shadow: none !important;
      }
      .japan-table img {
      width: 240px;
      height: 120px;
      } 
      .japan-table {
       -webkit-flex-basis: 30% !important;
       flex-basis: 30% !important;
       }
       .south-america-table {
       margin: 0 !important;
        -webkit-flex-grow: 0 !important;
       flex-grow: 0 !important;
       -webkit-flex-basis: 30% !important;
       flex-basis: 30% !important;
       }
      .south-america-table img {
      width: 240px;
      height: 160px;
      } 
       #big img {
      width: 740px;
      height: 325px;
}
.heading-left { 
        text-align: left;
        color: #0000CC;
        }
    #full {
     -webkit-flex-grow: 2;
     flex-grow: 2;
}
#full a {
padding-left: 30%;
}
.no-padding a {
padding-left: 0 !important;
}
      #full li {
      padding-left: 30%;
      }
.no-padding {
padding-left: 3% !important;
}

/* вращающаяся карточка "посмотреть"*/
.table, .table .flipper {
width: auto !important;
height: 50px !important;
}
.table .front, .table .back {
padding: 0px !important;
height: 50px !important;
}
.table .back {
background: white !important;
border: 2px solid  #1A5C9B !important;;
box-shadow: inset 0px 0px 2px 2px lightgrey !important;;
}
.table .front {
background: #1A5C9B !important;
}
.table p, .table a {
color: white !important;
text-decoration: none !important;
font-weight: bold !important;;
font-size: 13px !important;
font-family: Tahoma !important;
left: 23% !important;
}
.table a {
font-size: 20px !important;
}
.table .back a {
color: #1A5C9B !important;
}
.table .back p {
top: 5px !important !important;;
text-shadow: 1px 1px 2px lightgrey;
}
/* вращающаяся карточка */
.container {
  text-align: center;
    width:320px;
    height:213px;
  -webkit-perspective: 500;
  perspective: 500;
  -moz-transform: perspective(500px);
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d; 
  transform-style: preserve-3d;
}
.flipper {
  position: relative;
    width:320px;
    height:213px;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: .7s linear;
  -moz-transition: .7s linear;
  -o-transition: .7s linear;
  -moz-transition: 0.15s;
  transition: .7s linear;
} 
.front, .back {
  font-family: 'Cabin', sans-serif;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  padding: 40px 20px 20px;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}
.front {
  z-index: 2;
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  transform: rotateY(0deg);
  background: white;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #f5f5f5;
}
.back {
  -webkit-transform: rotateY(-180deg);
  -moz-transform: rotateY(-180deg);
  -ms-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
  background: #B4A896;
}
.container:hover .flipper {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.front img {
 position: absolute;
 top: 0;
 left:0;
 width:320px;
 height:213px;
}
.back p {
color: white;
font-weight: bold;
position: absolute;
top: 5px;
left: 0;
}
.table-region {
  -webkit-flex-basis: 45% !important;
  flex-basis: 45% !important;
   -webkit-flex-grow: 0 !important;
  flex-grow: 0 !important;
  -webkit-justify-content: space-around !important;
  justify-content: space-around !important;
}
 .bold{
   color: #3CA6C3;
   font-style: italic;
   font-weight: bold;
   }

/* кнопка "вернуться к началу"*/
.upback {
    position: relative;
    padding: 0.3em;
}
.upback a {
background: #DAD2CA;
padding: 5px 100px 6px 20px;
border-radius: 0.4em;
transition: all 0.4s linear;
-webkit-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
-moz-transition: all 0.4s linear;
font-weight: bold;
font-size: 1.1em;
}
.upback a:hover {
box-shadow: 0 0 2px 5px #EFE6DE;
}
.upback a::before {
content: "▲";
position: absolute;
left: -1.5%;
top: 50%;
margin-top: -1.3em;
background: #489AEA;
height: 2em;
width: 2em;
line-height: 2em;
border: .3em solid white;
text-align: center;
font-weight: bold;
border-radius: 2em;
color: white;
transition: all .4s linear;
-o-transition: all .4s linear;
-webkit-transition: all .4s linear;
-moz-transition: all .4s linear;
text-shadow: none;
font-size: .85em;
-o-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
.upback a:hover::before  {
-o-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
color: red !important;
background: white !important;
border-color: #489AEA ;
}

/* лента */
.ribbon {
    width: 60%;
    margin: auto;
    background: lightblue;
    padding: 10px;
    position: relative;
    margin-bottom: 30px;
}
.ribbon::before, .ribbon::after{
    content: "";
    width: 30px;
    height: 0;
    border: 30px solid lightblue;
    position: absolute;
}
.ribbon::before {
    top: 20%;
    left: -15%;
    border-left-color: transparent;
}
.ribbon::after {
border-right-color: transparent;
right: -15%;
top: 20%;
}
.ribbon h1::after, .ribbon h1::before{
content: "";
width: 0;
height: 0;
border-width: 11px;
border-style: solid;
position: absolute;
z-index: 5;
}
.ribbon h1::before {
border-color: grey grey transparent transparent;
top: 48px;
left: -1px;
}
.ribbon h1::after {
border-color: grey transparent transparent grey;
top: 47px;
right: -1px;
}
.ribbon h1 {
color: white !important;
text-shadow: 1px 1px 0 black;
font-size: 2.5em;
}
.shadow img {
box-shadow: 0 2px 5px 0 lightgrey;
}

/* выделение */
.streghten {
color: green;
font-weight: bold;
font-style: italic;
}
