.clear{clear:both;}
body{
    margin: 0;
    font-size: 14px;
    background-color: #ffffff;
    font-family: PT Serif;
}
h1 {font-size: 35px; color: #ff8000; margin-bottom: 20px; margin-top: 5px; font-family: PT Serif;}
h2 {font-size: 30px; margin-top: 15px; margin-bottom: 15px; font-family: PT Serif; color: #ff8000; font-weight: normal;}
h3 {font-size: 20px; margin-bottom: 0px; margin-top: 0px; font-family: PT Serif; color: #ff8000;}
h4 {font-size: 17px; margin-bottom: 0px; margin-top: 0px; font-family: PT Serif; color: #ff8000;}
p, ul, li, td, tr {font-size: 18px;}
a {color: #1B8DB7;}
img.round {width: 60px;height: 60px;border-radius: 50%;}
img.round_big {border-radius: 50%; margin-right: 10px;}
.radius5 {border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}
.bold {font-weight: bold;}
.hidden{opacity:0;}
.visible{opacity:1;}
.gray { color: #949494;}
.italic {font-style: italic;}
#hidden {display: none;}
.hidden {display: none;}
.error {border-color: red; box-shadow: none; border-bottom-color: red;}
.center{text-align: center;}
a.decoration_none {text-decoration: none;}
td.center {text-align: center;}
#big_button {background-color: #ff8000; color: #fff; padding: 5px; font-size: 20px; text-align: center; margin: 0 auto; width: 300px; border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}
#spacer {height: 20px;} 
#spacer50 {height: 50px;}   

a.dotted {text-decoration: none; border-bottom: 1px dotted #000080;}

#content div.table-wrap {
    overflow:auto;
    }
 #content    table {width: 100%; border-collapse: collapse;}
 #content    table td {padding: 12px 16px;}
 #content    table thead tr {font-weight: bold; border-top: 1px solid #e8e9eb;}
 #content    table tr {border-bottom: 1px solid #e8e9eb;}
 #content    table tbody tr:hover {background: #e8f6ff;}

    

a.texttoggle            {text-decoration: none; border-bottom: dashed 1px; cursor: pointer; font-size: 20px;}
a.texttoggle_hidden     {text-decoration: none; border-bottom: dashed 1px; display:none; cursor: pointer; font-size: 20px;}
.block_hidden			{display:none;}

#container {width: 100%; margin: 0;  padding: 0;}


/*------------------------------------------------------------------------------*/

#overlay {
     position: fixed;
     top: 0;
     left: 0;
     display: none;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.65);
     z-index: 999;
     -webkit-animation: fade .6s;
     -moz-animation: fade .6s;
     animation: fade .6s;
     overflow: auto;
   }

  .popupbanner {
     top: 3%;
     left: 0;
     right: 0;       
     font-size: 14px;
     margin: auto;
     width: 85%;
     min-width: 320px;
     max-width: 600px;
     position: absolute;
     padding: 15px 20px;
     border: 1px solid #383838;
     background: #fefefe;
     z-index: 1000;
     -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
     -ms-border-radius: 4px;
     border-radius: 4px;
     font: 14px/18px 'Tahoma', Arial, sans-serif;
     -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
     -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
     -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
     box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
     -webkit-animation: fade .6s;
     -moz-animation: fade .6s;
     animation: fade .6s;
   }
   

.close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    position: absolute;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: rgba(0, 131, 119, 0.9);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;
   }
   
  .close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
  }
 
  .close:hover {
    background-color: rgba(252, 20, 0, 0.8);
  }

/*------------------------------------------------------------------------------------------------------------------------*/



#pre_header {width: 100%;}
    #pre_header_inner {width: 85%; margin: 0 auto; padding: 10px 0 0 0; text-align: right; font-size: 18px;}
        #pre_header_inner_block_left {float: left; width: 120px; text-align: left;}
            #lang_selector {text-decoration: none; font-weight: bold; padding: 3px;}
                #lang_selector a {text-decoration: none;} 
            #lang_selector_active {font-weight: bold;color: #fff; padding: 3px; background-color: #FF8000;border-radius:3px;  -webkit-border-radius:3px; -moz-border-radius:3px; -khtml-border-radius:3px;}
        #pre_header_inner_block {float: right; margin-left: 20px; width: auto;}

/*header {width: 100%; position: fixed; top: 0; z-index: 100;}*/
header {width: 100%;}
    #header_main_inner {width: 85%; margin: 0 auto; padding: 10px 0 0 0;}
        #header_main_inner_left{float: left; width: 15%;}
            #header_main_inner_left_block {padding: 5px; text-align: center;}
                #header_main_inner_left_block img {height: 120px; width:auto;/* transition: all 0.4s ease 0s;*/}
        #header_main_inner_right{float: left; width: 85%; height: 130px; background-color: #ff8000; background-position: right top; background-repeat: no-repeat; /*background-image: url('/images/ny_bg.png');*/}
            #header_main_inner_right_block{padding: 10px; transition: all 0.4s ease 0s;}
                #header_main_inner_right_block_title {font-size: 22px; color: #ad4a15; margin-bottom: 5px;}
                    #header_main_inner_right_block a {margin-right: 20px; color: #fff; text-decoration: underline; font-size: 18px;}
                        #header_main_inner_right_block a:hover {text-decoration: none;}
                #header_main_inner_right_block_menu {margin-bottom: 20px; margin-top: 10px;}
                #header_main_inner_right_block_shedule {}
                    #header_main_inner_right_block_shedule a { color: #ad4a15; text-decoration: none;}
        
        header.isScroll {background: rgb(255,128,0,1);position: fixed; top: 0; z-index: 100; -webkit-box-shadow: 0 0 18px rgba(37,112,0,.75); -moz-box-shadow: 0 0 18px rgba(37,112,0,.75);  box-shadow: 0 0 18px rgba(37,112,0,.75);}
			header.isScroll #header_main_inner {width: 100%;}
			header.isScroll #header_main_inner_left{float: left; width: 10%; display: none;}
			header.isScroll #header_main_inner_left_block img {height: 50px; width:auto; transition: all 0.4s ease 0s;}
            header.isScroll #header_main_inner_right {height: auto; background-image: none; text-align: center; width: 100%;}
            header.isScroll #header_main_inner_right_block {padding-top: 10px;}
            header.isScroll #header_main_inner_right_block_title, header.isScroll #header_main_inner_right_block_shedule {display: none;}
			header.isScroll #header_main_inner_right_block a {font-size: 14px; }
            header.isScroll #header_main_inner_right_block_menu {margin-bottom: 10px; margin-top: 0;}

#i_collection {width: 100%; margin-top: 20px; margin-bottom: 20px;}
    #i_collection_inner {width: 85%; margin: 0 auto; padding: 0;}
    #i_collection_inner img {width: 100%; box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1); border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}

.i_ny {width: 100%;}
    .i_ny_inner {width: 85%; margin: 0 auto; padding: 0; }
    .i_ny_inner_block {float: left; width: 50%; margin-bottom: 20px; margin-top: 50px;}
        .i_ny_inner_block_inner {padding: 10px}
        .i_ny_inner_block img {width: 100%; box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1); border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}
    

.index-exlink {font-size: 3.2rem; font-weight: bold; color: #ff0000; text-decoration: underline; text-transform: uppercase;}


#i_main{width: 100%; margin-top: 20px;}
    #i_main_inner {width: 85%; margin: 0 auto; padding: 0;}
        #i_main_left  {width: 50%; float: left;box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1); border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}
            
            div.fluid_container {}
                 #camera_wrap_1 {}  
                 #slider_kadr {cursor: pointer;}  
                    h2.slider {color: #fff; font-size: 35px; text-transform: none; font-weight: normal; text-align: left;}
                    #capt {width: 90%;}
                        #capt p {color: #fff; font-size: 16px;}
                    #slider_text {min-height: 80px !important; color: #fff;}
                        #slider_text h2{font-size: 35px; font-weight: bold; color: #fff; text-shadow:0px 0px 5px rgba(0, 0, 0, 0.4);}
                        #slider_text p{font-size: 20px; text-shadow:0px 0px 5px rgba(0, 0, 0, 0.4);}
                        #slider_text a{text-decoration: none;}
        
        #i_main_right {width: 50%; float: left;}
        
            #i_main_right_inner_block {float: left; width: 50%; height: 335px;}
            #i_main_right_inner_block_inner {margin-left: 10px; margin-bottom: 10px; box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1); border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}
            #i_main_right_inner_block_inner img {width: 100%; height: 200px; border-top-left-radius: 5px; border-top-right-radius: 5px;}
            
            #i_main_right_inner_block_inner_table{padding: 10px; height: 100px;} 
                #i_main_right_inner_block_inner_table table {width: 100%;}
                    .i_offer_name {font-weight: bold; font-size: 20px; color: #000; width: 100%;}
                    .i_offer_price {font-size: 18px; color: #000; width: 100%;}
                    .i_offer_descr {font-size: 14px; color: #C0C0C0;}

#i_offers {width: 100%;}
    #i_offers_inner { width: 85%; margin: 0 auto; padding: 10px 0 30px 0; line-height: 1.5;} 
        #i_offers_inner h2 {text-align: center;}    
        #i_offers_inner_block {float: left; width: 25%; height: 305px;}
        #i_offers_inner_block_inner {margin: 5px; box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1); border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}
        #i_offers_inner_block_inner img {width: 100%; height: 200px; border-top-left-radius: 5px; border-top-right-radius: 5px;}
        
        #i_offers_inner_block_inner_table{padding: 10px; height: 70px;} 
            #i_offers_inner_block_inner_table table {width: 100%;}
                .i_offer_name {font-weight: bold; font-size: 20px; color: #000; width: 100%;}
                .i_offer_price {font-size: 18px; color: #000; width: 100%;}
                .i_offer_descr {font-size: 14px; color: #C0C0C0;}
                

#i_excurs {width: 100%; height: auto; display: table;}
    #i_excurs_inner { width: 85%; margin: 0 auto; padding: 30px 0 30px 0; line-height: 1.5;} 
        #i_excurs_inner h2 {text-align: center; color: #FFF; text-shadow:0px 0px 5px rgba(0, 0, 0, 0.4);}    
        #i_excurs_inner_block {float: left; width: 33%;}
        #i_excurs_inner_block_inner {margin: 10px; height: 250px; background-color: #FFF; padding: 10px; box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1); border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}
            #i_excurs_inner a {color: #000; text-decoration: none;}
            #i_excurs_inner a h3 {color: #000;}
            #i_excurs_inner_block_inner p {color: #ff8000; font-size: 14px;}

    
#i_text {width: 100%;}
    #i_text_inner { width: 85%; margin: 0 auto; padding: 30px 0 30px 0; line-height: 1.5;}  
      #i_text_inner  ul li {margin-bottom: 8px;} 
      #i_text_inner_left{float: left; width: 40%;}
      #i_text_inner_right{float: left; width: 60%;}  
        #i_text_inner_right p {padding: 0 !important; margin: 0 0 5px 0 !important;}
        
                    
                    
#i_map {width: 100%; margin: 0;  padding: 0;}  
    #i_map_inner  {position: relative;}  
        #i_map_adress {position: absolute; float: right; width: 25%; text-align: center; background-color: #ff8000; color: #fff; padding: 15px; top: 20%; right: 100px; z-index: 100; border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}  
            #i_map_adress h2 {color: #fff;}
            
#list {width: 100%;}
    #list_inner { width: 85%; margin: 0 auto; padding: 30px 0 30px 0; line-height: 1.5;}
   
#content {width: 100%;}
    #content_inner { width: 85%; margin: 0 auto; padding: 30px 0 30px 0; line-height: 1.5;}  
  
#sanatories_block {float: left; width: 33%;}
#sanatories_block_inner {margin: 5px; box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1); border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}
#sanatories_block_inner img {width: 100%; height: 200px; border-top-left-radius: 5px; border-top-right-radius: 5px;}
#sanatories_block_inner_table{padding: 10px; height: 320px;} 
    #sanatories_block_inner_table table {width: 100%;}
        
#excurs_block {float: left; width: 25%;}
#excurs_block_inner {margin: 5px; box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1); border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}
#excurs_block_inner img {width: 100%; height: 200px; border-top-left-radius: 5px; border-top-right-radius: 5px;}
#excurs_block_inner_table{padding: 10px; height: 130px;} 
    #excurs_block_inner_table table {width: 100%;}
                .i_offer_name {font-weight: bold; font-size: 20px; color: #000; width: 100%;}
                .i_offer_price {font-size: 18px; color: #000; width: 100%;}
                .i_offer_descr {font-size: 14px; color: #C0C0C0;}

#excurs {width: 100%;}
    #excurs_welcome_photo {width: 250px; float: left;}
        #excurs_welcome_photo img {width: 500px; border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}
    #excurs_welcome_text {width: calc(100% - 300px); padding-left: 20px;  float: left;}
        #excurs_welcome_text h2 {margin: 0;}    
    
#content_breadcrumbs{width: 100%;}
    #content_breadcrumbs_inner{width: 80%; margin: 0 auto; padding-top: 10px;}
        #content_breadcrumbs_inner a{color: #000;}
        
#photos {width: 100%; margin-top: 10px;}
    #photos_item {float: left; margin: 10px;}
    #photos_item img {border: 0; border-radius: 5px;}

#cruise {width: 100%;}
    #cruise_welcome_photo {width: 150px; float: left;}
        #cruise_welcome_photo img {width: 150px; border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}
    #cruise_welcome_text {width: calc(100% - 200px); padding-left: 20px;  float: left;}
        #cruise_welcome_text h2 {margin: 0;}
    
#footer {width: 100%; background-color: #663300;}
    #footer_inner { width: 85%; margin: 0 auto; padding: 25px 0 25px 0;}  
        #footer_inner_left{float: left; padding-top: 15px; padding-bottom: 15px; color: #fff;}
        #footer_inner_right{float: right; padding-top: 15px; padding-bottom: 15px; color: #fff;}
            #footer_inner_right_widget {float: left; width: 50%;}
            #footer_inner_right a {color: #fff; text-decoration: none; font-size: 20px; margin-right: 20px;}

    
    
#form_auth {}
    #form_auth input[type="text"] {width: 60%; margin-bottom: 10px; margin-top: 10px;}
    #form_auth input[type="password"] {width: 60%; margin-bottom: 10px; margin-top: 10px;}
    #form_auth input[type="submit"] {}
    #form_auth input[type="checkbox"] {}

#popup {background-image: url('images/bg_logo.png'); background-repeat: no-repeat; background-position: right bottom;}

    div.c_block {width: 50%; float: left;}
        div.c_block_inner {height: auto; color: #fff; border-radius: 5px; padding: 20px; margin: 10px; text-align: center;}
    a.block_link {font-size: 22px; color: #fff; font-weight: bold;}
    
    div.item_inner {border-radius: 5px; border: solid 1px #ff8000; margin:  5px; padding: 15px; height: 300px; font-size: 14px;}
    
/* расписание экскурсий */

.rasp_item {border: 1px solid #FF8000; border-radius: 5px; margin: 1rem; box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1); background-repeat: no-repeat; background-size: cover; background-position: bottom left;}
        .rasp_item_inner {padding: 1rem;}
        .rasp_item_inner h2 {font-size: 1.5rem; line-height: 1.8rem;}
            .rasp_item_inner h2 a {color: #FF8000; text-decoration: none;}
        .rasp_item_inner div.day {font-size: 1.2rem; font-weight: bold; color: #000;}
        .rasp_item_inner div.price {font-size: 2rem; font-weight: bold; color: #FF0000; margin: 1rem 0;}
        .rasp_item_inner div.small_text {font-size: 0.7rem;}
        div.button-order {background-color: #FF8000; color: #fff; padding: 1rem; text-align: center; border-radius: 3px; width: 200px; font-weight: bold; text-transform: uppercase; cursor: pointer; margin: 2rem 0;}
    
        @media screen and (max-width:550px) { 

            .rasp_item {background-size: contain;}

        }



    /* адаптация */
    
    
        @media screen and (min-width: 1501px) { 
            

            
            
            
        }

        @media screen and (min-width: 1401px) { 
            

        }
            
        @media screen and (min-width:1025px) and (max-width:1400px) { 
            
            #header_main_inner_right_block_title {font-size: 24px}
            
            .i_offer_name {font-size: 18px;}
            .i_offer_price {font-size: 18px;}

            

        }
        
        @media screen and (min-width:701px) and (max-width:1024px) { 
            

            #header_main_inner_right_block_title {font-size: 18px}
            #header_main_inner_right_block a {font-size: 16px}

            .i_offer_name {font-size: 14px;}
            .i_offer_price {font-size: 14px;}
            
            #i_text_inner_left img {width: 90%;}
            
                  
        }
        
        @media screen and (min-width:481px) and (max-width:700px) { 
            
            .fluid_container {width: 100%;}
            
            #i_offers_inner_block {float: left; width: 50%; height: 350px;}

            #i_excurs_inner_block {float: left; width: 50%;}
            
            #excurs_block, #sanatories_block {width: 50%;}
            
            #content table {width:100%;}             
            #content th, #content td {padding:4px 8px 4px;}             
            #content th {padding-top:8px;}
            
            .i_ny_inner_block {width: 100%; margin-bottom: 5px; margin-top: 5px;}

            #i_offers_inner_block_inner_table{height: 150px;} 
            
        }
        
        
        @media screen and (max-width: 480px) { 
            
            div.c_block {width: 100%; float: none;}  
            div.item_inner {height: 250px;} 
            div.item_inner span p, div.item_inner span li {font-size: 12px !important;} 
            
         
            #header_main_inner_left{float: left; width: 100%;}
            #header_main_inner_right{float: left; width: 100%; height: 220px;}
                #header_main_inner_right_block{padding: 5px;}
                    #header_main_inner_right_block_title {font-size: 18px;}
                    #header_main_inner_right_block a { font-size: 16px;}

            #i_main_left  {width: 100%; float: left; margin-bottom: 10px;}
            
            div.fluid_container {}
                 #camera_wrap_1 {}  
                 #slider_kadr {}  
                    h2.slider {color: #fff; font-size: 35px; text-transform: none; font-weight: normal; text-align: left;}
                    #capt {width: 90%;}
                        #capt p {color: #fff; font-size: 16px;}
                    #slider_text {min-height: 80px !important; color: #fff;}
                        #slider_text h2{font-size: 35px; font-weight: bold; color: #fff; text-shadow:0px 0px 5px rgba(0, 0, 0, 0.4);}
                        #slider_text p{font-size: 20px; text-shadow:0px 0px 5px rgba(0, 0, 0, 0.4);}
        
            #i_main_right {width: 100%; float: left;}
            #i_main_right_inner_block {float: left; width: 100%; height: 335px;}
        
        
            #big_button {background-color: #ff8000; color: #fff; padding: 5px; font-size: 16px; text-align: center; margin: 0 auto; width: 80%;}

            

            #i_offers_inner_block {width: 100%; height: 350px; margin-bottom: 15px;}

            #i_excurs_inner_block {float: left; width: 100%;}
            
            #excurs_block, #sanatories_block {width: 100%;}
            
            #content table {width:100%;}             
            #content th, #content td {padding:4px 8px 4px;}             
            #content th {padding-top:8px;}

            #i_text_inner_left{float: left; width: 40%; display: none;}
            #i_text_inner_right{float: left; width: 100%;}  
            
            #photos_item img {width: 75px;}
            
            #i_map {width: 100%; margin: 0;  padding: 0;}  
                #i_map_inner  {position: relative;}  
                    #i_map_adress {position: absolute; float: right; width: 60%; text-align: center; background-color: #ff8000; color: #fff; padding: 5px; top: 10%; right: 50px; z-index: 100; border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px;}  
                        #i_map_adress h2 {color: #fff;}

            .i_ny_inner_block {width: 100%; margin-bottom: 5px; margin-top: 5px;}

            #i_offers_inner_block_inner_table{height: 150px;} 
     

        }
