 @font-face {
    font-family: "Casto Cyrillic"; 
    src: url("CastoCyrillic-Regular.ttf"); 
   }
    @font-face {
    font-family: "Casto Cyrillic";
    src: url("CastoCyrillic-Bold.ttf");
    font-weight: bold; 
   }
body {margin:0px; padding:0px; width: 100%; background: #ffffff;  min-width: 945px; box-sizing: border-box;}
body, td, div, p, span, a {font-family: "Casto Cyrillic", Verdana, Arial; color:#1d2e63;}
a {color:#1d2e63; font-weight:bold; text-decoration: underline}
a:hover {color:#1d2e63; font-weight:bold; text-decoration: none}
sup {font-size:12px; vertical-align: top; line-height: 1}

table.footer {
            width:755px !important;
            font-family: "Casto Cyrillic", Arial, sans-serif;
            margin: 0 auto;
            box-sizing: border-box;
}
table.head_tab {
            height:40px !important;
            width:755px !important;        
}
p.discl {
            font-size: 10px;
            line-height: 14px;
}
h2 {
    color: rgb(0, 0, 0);
}
.banner {
    margin:0px auto;
    width:100%;
    min-width:912px;
    height:406px;
    background: url('img/banner.jpg') top center no-repeat;
}
.well {   
            margin-top: 40px;
            margin-bottom: 20px;
            background-color: #c9e6f7;
            box-sizing: border-box;
}
.anketa {
    width: 1100px;
    margin: 0 auto;
    margin-top: 50px;
    background-color: #c9e6f7;
    padding-top: 5px;
    padding-bottom: 20px;  
}
.metro {
background-color: #9dc7df;
}
.anketa::after {
    display: table;
    clear: both;
    content: "";
}
.anketa td {
    font-size: 14px;
    width: 25%;
    vertical-align: top;
    padding-right: 0;
    color: rgb(0, 0, 0);
}
.anketa img {
    display: block;
    margin: 10px auto;
    width: 60px;
}
.anketa .card {
    display: block;
    margin: 0 auto;
    width: 400px;
}
.image_anketa {
    display: block;
    width: 400px;
    float: left;
    margin-left: 30px;
    margin-right: 60px;
    padding-top: 32px;
}
h3 {   
            background-color: #c9e6f7;
            border: 0 solid #2d77d6;
            border-bottom: 1px solid #2d77d6;
            margin-bottom: 1px;
            margin-top: 5px;
            margin-right: 40px;
            font-size: 20px;
            font-weight: bold;
            color: rgb(0, 0, 0);   
            box-sizing: border-box;
}
.anketa span {
    font-size: 16px;
    color: rgb(0, 0, 0); 
  
}
.form {
    display: block;
    width: 610px;
    float: left;
    background-color: #c9e6f7;
}
input, select {
            width: 180px;
            display: inline-block;
            background-color: #c9e6f7;
            border: 0 solid #000000;
            border-bottom: 1px solid #000000;
            margin-bottom: 40px;
            margin-right: 10px;
            font-size: 16px;
            font-weight: bold;
            color: rgb(0, 0, 0);   
            box-sizing: border-box;           
        }
        select {
            color: rgba(0, 0, 0, 0.5);
        }
        option {
            color: rgb(0, 0, 0);
            font-weight: normal;
            border: none;
            
        }

.line_3 input {
    width: 230px;
}
#LandingProfiles_GENDER {
    width: 100px;
}
#LandingLivingAddress_CITY_WITH_REGION {
    width: 210px;
}
.line_4 input {
    
    width: 20px;
    height: 20px;
    margin-right: 5px;
    margin-left: 0;
    margin-bottom: 0;
    
}
.line_4 label {
font-size: 14px;
color: rgb(0, 0, 0);
}
.button {
    display: block;
    box-sizing: border-box;
    width: 180px;
    border: none;
    padding: 16px;
    background: #0d6da5;
    border-radius: 23px;
    font: 700 14px/1 "Casto Cyrillic", Arial, sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    vertical-align: top;
    transition: background-color .35s;
    text-align: center;
    cursor: pointer;
    margin: 0 auto;
    margin-right: 40px;
    float: right;
}
.btm {
            margin-bottom: 10px;
        }
.form-actions {
            margin-top: 50px;
}
        
::-webkit-input-placeholder {color: rgba(0, 0, 0, 0.5); font-family: "Casto Cyrillic", Verdana, Arial; font-size: 16px; font-weight: bold; padding-left: 5px; }
::-moz-placeholder          {color: rgba(0, 0, 0, 0.5); font-family: "Casto Cyrillic", Verdana, Arial; font-size: 16px; font-weight: bold; padding-left: 5px; }
:-moz-placeholder           {color: rgba(0, 0, 0, 0.5); font-family: "Casto Cyrillic", Verdana, Arial; font-size: 16px; font-weight: bold; padding-left: 5px; }
:-ms-input-placeholder      {color: #0078d780; font-family: "Casto Cyrillic", Verdana, Arial; font-size: 16px; font-weight: bold; padding-left: 5px; }

.footer_top {
            margin:0px auto;
            width: 730px; 
            padding:10px 0;
            padding-left: 45px;
            font-size: 12px;
            line-height:16px;
            color:#1d2e63;       
}
.footer_top::after {
        display: table;
        clear:both;
        content: "";
}
.footer_top div {
        float: left;
        margin-right: 120px;  
}
.footer_top div:last-child {
                                float: right;
                                margin: 0;
                                text-align: center;
                                padding-top: 15px; 
}
.footer_top a {
                  font-weight: bold;         
    }
.footer_bottom {
                   margin: 0px auto;
                   width: 730px; 
                   padding: 10px 0;
                   padding-left: 45px;
                   color:#1d2e63;
                   font-size:10px;
                   line-height:14px;
}
.icon {
        display: inline-block;
    
}
/* Базовые стили слоя затемнения и модального окна  */
.overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    visibility: hidden;
    /* фон затемнения */
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    position: fixed; /* фиксированное поцизионирование */
    cursor: default; /* тип курсара */
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
    }
    .overlay:target {
    visibility: visible;
    opacity: 1;
    }
    .is-image {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display:block;
    margin: auto;
    width: 100%;
    height: auto;
    /* скругление углов встроенных картинок */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    }
    /* встроенные элементы м-медиа, фреймы */
    embed, iframe {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display:block;
    margin: auto;
    min-width: 320px;
    max-width: 600px;
    width: 100%;
    }
    .popup h1 { /* заголовок 1 */
    color: #008000;
    text-align: left;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
    font:24px 'Trebuchet MS', Helvetica, sans-serif;
    font-weight: bold;
    }
    .popup h2 { /* заголовок 2 */
    color: #008000;
    text-align: left;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
    font:22px 'Trebuchet MS', Helvetica, sans-serif;
    }
    /*** Формируем стили модального окна ***/
    .popup {
    top: 0;
    right: 0;
    left: 0;
    font-size: 14px;
    z-index: 10;
    display: block;
    visibility: hidden;
    margin: 0 auto;
    width: 90%;
    min-width: 320px;
    max-width: 600px;
    /* фиксированное позиционирование, окно стабильно при прокрутке */
    position: fixed;
    padding: 15px;
    border: 1px solid #383838;
    /* скругление углов */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    background-color: #FFFFFF;
    /* внешняя тень блока */
    -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    -ms-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    -o-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.8);
    /* полная прозрачность окна, появление при клике */
    opacity: 0;
    /* эффект перехода (появление) */
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -ms-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
    }
    /* активируем появление окна и затемнение фона */
    .overlay:target+.popup {
    top: 20%; /* положение окна от верха страницы при появлении */
    visibility: visible;
    opacity: 1; /* убираем прозрачность */
    }
    /* формируем кнопку закрытия */
    .close {
    position: absolute;
    top: -10px;
    right: -10px;padding: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    background-color: rgba(61, 61, 61, 0.8);
    -webkit-box-shadow: 0px 0px 10px #000;
    -moz-box-shadow: 0px 0px 10px #000;
    box-shadow: 0px 0px 10px #000;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    line-height: 20px;
    /* задаём значения и эффект перехода при наведении */
    -webkit-transition: all ease .8s;
    -moz-transition: all ease .8s;
    -ms-transition: all ease .8s;
    -o-transition: all ease .8s;
    transition: all ease .8s;
    }
    .close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    font-size: 12px;
    }
    .close:hover {
    background-color: rgba(0, 120, 215, 0.8);
    /* крутим кнопку при наведении */
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
    }
    /* опционально при добавлении вложений */
    .popup p, .popup div {
    margin-bottom: 10px;
    }
.popup h3 {
    border: 0;
    background-color: #FFFFFF;
    color: 
}
#casto_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;
}
.casto_popup {
    top: 25%;
    left: 0;
    right: 0;       
    font-size: 14px;
    margin: auto;
    width: 85%;
    min-width: 320px;
    max-width: 800px;
    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;
}
@media (max-width: 1024px) { 
    .banner {
   
        height:376px;
        background: url('img/banner_1024.jpg') top center no-repeat;
    }
    .anketa {
        width: 980px;
        margin: 0 auto;
        margin-top: 50px;
        background-color: #c9e6f7;
        padding-top: 5px;
        padding-bottom: 20px;
        box-sizing: border-box;  
    }


    .anketa img {
        display: block;
        margin: 10px auto;
        width: 45px;
    }
    .anketa .card {
        display: block;
        margin: 0 auto;
        width: 300px;
    }
    .image_anketa {
        display: block;
        width: 300px;
        float: left;
        margin-left: 10px;
        margin-right: 70px;
        padding-top: 32px;
        box-sizing: border-box; 
    }

    .form {
        display: block;
        width: 580px;
        float: left;
        background-color: #c9e6f7;
    }
    input, select {
                width: 170px;
                display: inline-block;
                background-color: #c9e6f7;
                border: 0 solid #2d77d6;
                border-bottom: 1px solid #2d77d6;
                margin-bottom: 40px;
                margin-right: 10px;
                font-size: 16px;
                font-weight: bold;
                color: rgb(0, 0, 0);   
                box-sizing: border-box;           
            }
            select {
                color: rgba(0, 120, 215, 0.5);
            }
            option {
                color: rgb(0, 0, 0);
                font-weight: normal;
                border: none;
                
            }
    .line_2 input {
        width: 261px;
    }
    .line_3 input {
        width: 220px;
    }
    #LandingProfiles_GENDER {
        width: 90px;
    }
    #LandingLivingAddress_CITY_WITH_REGION {
        width: 200px;
    }
    .line_4 input {
        
        width: 20px;
        height: 20px;
        margin-right: 5px;
        margin-left: 0;
        margin-bottom: 0;
        
    }

}

.trig3 table td {
color: #007dc5;
font-weight: bold;
text-align: center;
font-size: 15px;

}

.anketa span.travel {
	color: #fff34a;
	font-size: 24px;
}