.top_agent{

    background: url("/content/img/agents/bgagentstop.jpg") no-repeat center center transparent;
    background-size: cover;
    border-radius: 3px;
    height: 450px;
    text-align: center;
    margin: 25px 0 105px 0;

}

.top_agent .bg_notes{
    height: 450px;
}

.top_agent h1{
    color: #fff;
    font-size: 36px;
    display: block;
    line-height: 45px;
    margin: 80px 0 0 0;
}


.top_agent h1 b{
    color: #fff;
    font-size: 36px;
    display: block;
}

.top_agent .line{
    width: 155px;
    border-top: 1px solid #fff;
    height: 1px;
    display: block;
    margin: 25px auto;
}
.top_agent p {

    display: block;
    color: #f3c534;
    font-size: 22px;
    line-height: 32px;
    font-style: italic;
    margin: 0 0 25px 0;

}

.loading.gradient-on {
    position: absolute;
    width: 176px;
    height: 45px;
    margin: 0;
    border-radius: 8px;
    background: #133c6c;
    top: 66px;
    left: 0;
    border: 0;

}

h1.h1agent{

    display: block;
    text-align: center;
    text-transform: uppercase;
    color: #133c6c;
    font-size: 24px;
    margin: 0 0 45px 0;

}

.infoblokagent b{
    display: block;
    height: 125px;
    text-transform: uppercase;
    font-size: 24px;
    padding: 0 0 0 25px;
    line-height: 125px;
}

.imgagentblock{
    background: #fff;
    padding: 0px;
    width: 50%;
    float: left;
}


.imgagentblock .photo{
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.imgagentblock .photo1{
    height: 300px;
}

.imgagentblock .photo2{
    height: 480px;
}

.infoblokagent{

    width: 50%;
    float: left;
}

.infoblokagentright{
    background: #fff;
    width: 50%;
    float: left;
}
.imgagentblockright img {
    height: 480px;
}

.infoblokagents h1{
    text-transform: uppercase;
    font-size: 24px;
    padding: 0 0 0 15px;
    margin: 30px 0 11px 0;

}

.infoblokagents p{
    font-size: 14px;
    padding: 0 50px 0 15px;
    display: block;
    line-height: 22px;
    margin: 0 0 25px;

}

.infoblokagent ul{
    display: block;
    width: 130%;
    list-style: none;
    padding: 0;
    margin: 0;
}
.infoblokagent ul li{
    padding: 0;
    margin: 0;
}
.infoblokagent ul li a{
    display: block;
    height: 88px;
    line-height: 88px;
    text-transform: uppercase;
    font-size: 18px;
    clear: both;
    color: #303030;
    border-top: 1px solid #cecece;
    margin: 0;
    font-weight: normal;
}

.rightuiagent{
    margin: 0 0 0 -30% !important;
}

.rightuiagent li a{
    padding-left: 25% !important;
}

.agentmiddle{
    background: #fff;
}

.subblock{
    background-image: url("/web/img/block-news-bg.jpg");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 0 20px 0;
    padding: 75px 0 85px;
}

.subblock .subblockholder{

    background: #135985;
    border-radius: 3px;
    color: #fff;

}

.sub_right {

    width: 100%;
    /* float: left; */


}

.sub_right .sub_right_left{
    width: 53%;
    float: left;
    padding: 30px 40px;
}

.sub_right .subforms{
    width: 47%;
    float: left;
    padding: 30px 0px;
}

.sub_right h1{
    display: block;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;

}

.sub_right p{
    font-size: 14px;
    padding: 0 25px 0 0;
    display: block;
    line-height: 20px;
    color: #fff;

}

.sub_left{
    width: 30%;
    float: left;
    color: #fff;
    font-size: 16px;
}


.sub_left ul {
    margin: 55px 0 0 0;
    width: 140%;
}

.sub_left ul li a{
    background: #fff;
    color: #133c6c;
    border-top: 0px;
}

.sub_left ul li a:hover{
    background: #fff;
    color: #133c6c;
}

.podpis{
    color: #fff;
    font-size: 16px;
    margin: 4px 0 0 0;
    font-weight: bold;
}

.form-section h2{
    color: #fff;
    font-size: 16px;
    margin: 10px 0 20px 0;
    font-weight: bold;
}

.subag{
    text-transform: uppercase;
    margin: 0;
}

.sub_right input{
    background: transparent;
    border: 0px;
    border-bottom: 1px solid #fff;
    width: 325px;
    color:#fff;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    margin: 10px 0 25px 0;

}

.infoblokagent ul li a::before{
    display: block;
    width: 88px;
    text-align: center;
    height:88px;
    line-height:88px;
    content: "\f00c" ;
    color: #fbbb1a;
    font-family: "FontAwesome";
    font-size: 32px;
    float: left;


}

.infoblokagent ul li a:hover{
    color: #fff;
    background: #133c6c;
}

#regforms{
    position: relative;
    padding: 15px 25px 45px 25px;
    background: #00396e;
    border-radius: 6px;
    margin: 0 0 40px 0 ;

}

#regforms h1{
    display: block;
    color: #fff;
    border-bottom: 1px solid #ffc615;
    font-weight: bold;
    font-size: 14px;
    height: 32px;
    line-height: 32px;
    margin: 0 0 45px 0;
    text-transform: uppercase;
}

#regforms .form-group{
    padding: 0px;
}

#regforms .form-group span{
    display: block;
    background: #ced9e3;
    border-radius: 3px;
    margin: 0 10px 0 0;


}
#regforms .form-group label{
    font-size: 12px;
    color: #2c2c2c;
    display: block;
    text-transform: none;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 0px 0 10px;
    margin: 0;
    font-weight: normal;
}

#regforms .form-group input{
    border: 1px solid #ced9e3;
    color: #2c2c2c;
    font-size: 14px;
    font-weight: bold;
    box-shadow: none;
    background: rgba(27, 116, 146, .05);
}

#regforms .has-error input{
    background: rgba(182, 27, 34, .35);
}

.form-group .form-group{
    margin-bottom: 0;
}

#regforms h2{
    display: block;
    color: #fff;
    font-size: 14px;
    padding: 0;
    text-align: left;
    text-transform: uppercase;
}

#catch{
    text-align: center;
    width: 100% !important;
    float: none !important;
}
.imgcatch{
    margin: 12px 0 0 25px !important;
}


.infobot{

    padding:0 0 0 10px;
    color: #fff !important;
    margin: 15px;
    text-align: center;
    font-size: 14px;
}

.infobot{

    padding:0 0 0 10px;
    color: #131d49;
    margin: 15px;
    text-align: center;
    font-size: 14px;
}
.infobot .fa-warning{
    font-size: 20px;
    margin: 0 10px 0 0;
}

.regbut{
    display: inline-block;
    width: 225px;
    text-align: center;
    height: 42px;
    line-height: 42px;
    background: #ffc615;
    color: #fff;
    font-size: 16px;
    border: 1px solid #ffc615;
    border-radius: 6px;
    font-weight: bolder;

}

.regbut:hover{
    background: #eeb119;
}

.donemessage{
    font-size: 18px;
    text-align: center;
    padding: 50px;
    min-height: 350px;
    color:#131c49 ;
}

.errmsg {
    color: #fff;
    background: red;
    font-size: 14px;
    margin: 200px auto;
    height: 46px;
    line-height: 46px;
    border-radius: 6px;
    padding: 0 20px;
    width: 300px;
}


.errmsg i{
    font-size: 25px;
    float: left;
    margin: 11px 25px 0 0;
}
@media(max-width: 745px){
    .imgagentblock {
        width: 100%;
        float: none;
    }


    .infoblokagent {
        width: 100%;
        float: none;
    }

    .infoblokagent b {
        height: 70px;
        font-size: 18px;
        padding: 0 0 0 5px;
        line-height: 50px;

    }

    .infoblokagent ul {
        width: 100%;
    }

    .rightuiagent {
        margin: 0 !important;
    }

    .infoblokagent ul li a {
        display: block;
        height: 76px;
        line-height: 76px;
        font-size: 15px;
    }

    .infoblokagent ul li a::before {
        width: 76px;
        height: 76px;
        line-height: 76px;
    }

    .imgagentblockright img {
        height: 350px;
    }


    .rightuiagent li a {
        padding-left: 0 !important;
    }
}
@media(max-width: 637px){
     .sub_right {
        width: 100%;
        float: left;
    }

    .sub_right .sub_right_left {
        width: 100%;
        float: none;
        padding: 20px 15px;
    }

    .sub_right .subforms {
        width: 100%;
        float: none;
        padding: 0px 30px 30px 30px;
    }

    #reg_form .form-group .form-group {
        margin-bottom: 15px;
    }

    .imgcatch {
        margin: 5px auto 0 60px !important;
    }
}
@media (max-width: 481px) {
    #catch {
        width: 44%;
    }

    .top_agent h1 {
         font-size: 26px;
         line-height: 30px;
    }

    .top_agent h1 b{
        font-size: 26px;
    }

    .top_agent p {
        font-size: 16px;
        line-height: 25px;
    }

    .top_agent {
        margin: 30px 0 45px 0;
    }
    
}