/* My style */
.topbar {
    padding: 8px 0 8px;
    background-color:#ec262d;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 1px 3px 0 hsla(0,0%,84%,.4);
}

.home-form .bootstrap-select > .btn {
    width: 100%;
    position: relative;
    display: block;
    font-size: 14px;
    background: #fff;
    border: 1px solid #ced4da;
    padding: 12px 20px;
    margin: 0;
    color: #495057;
}
.greyblock {
    background-color: #000;
}
.main-wrapper {
    min-height: 737px;
    border: 1px solid #ccc;
}

/* login form */
.login-form {
    background: #fff;
    padding: 35px;
    margin: 50px 0;
    box-shadow: 0 1px 3px -1px rgba(0,0,0,0.4);
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 3px;
    transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
}
.instructions_block{
    position: fixed;
    margin-right: 48px;
    width: 24%;
    margin: 0;   
    margin-top: 168px; 
    border:1px solid #ccc; 
/*    border-radius:20px;*/
}
.form-group {
    margin-bottom: 1rem;
}
.btn-fb {
    background-color: #3b5999;
    padding: 9px 0px !important;
    font-size: 15px !important;
    color: white;
}
.btn-google-plus {
    background-color: #db4931;
    color: white;
    padding: 9px 0px !important;
    font-size: 15px !important;
}
.btn-color-type-4 {
    font-size: 12px;
    padding: 12px 18px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 5px;
    background-color: var(--primary-color);
    z-index: 10;
    -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    font-family: "basis-grotesque",sans-serif;
}
.mb-4, .my-4 {
    margin-bottom: 1.5rem !important;
}
.rounded {
    border-radius: 3px !important;
}
.login-btn {
    color: #fff;
    background-color: #ed1f24;
    border-color: #ed1f24;
}
.submit-btn1 {
    color: #fff;
    background-color: #00F;
    border-color: rgb(0, 128, 0);
    font-size: 16px !important;
    text-transform: uppercase;
    padding: 7px 20px !important;
}
.submit-btn {
    color: #fff;
    background-color: rgb(0, 128, 0);
    border-color: rgb(0, 128, 0);
    font-size: 16px !important;
    text-transform: uppercase;
    padding: 7px 20px !important;
}
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 3px;
    transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
}
.login-btn {
    font-size: 14px;
    text-transform: uppercase;
    padding: 7px 20px;
}
.person-block {
    border: 3px solid #d2d2d2;
    background: #fff;
    margin: 0;
    padding: 0px;
}
.pull-right{
  float: right !important;
}
.check{
    opacity:0.1;
    color:#996;
}
.box{
    margin-bottom:5px;
}
.title {
    color: #23527c;
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 30px;
}
.btn-selected {
    background-color: rgb(0, 128, 0);
}
.check:after {
    font-family: "FontAwesome";
    content: "\f00c";
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: none;
    background: white;
    color: green;
    border-radius: 100%;
    font-size: 18px;
}
.login-title {
    text-align: center;
    color: #fff;
    font-size: 32px;
}
.box-text {
    text-align: center;
    margin-bottom: 15px;
}
.box-text h3 {
    font-size: 17px;
    font-weight: 700;
    color: #e83426;
    margin-top: 10px;
    margin-bottom: 3px;
}
.box-text span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-top: 10px;
}
.mt-30{
  margin-top: 30px;
}

.cb-img-block {
  display: block;
}
.cb-img-block .cb-img-block--img {
  width: 100%;
  height: 300px;
  margin-left: 150px;
  text-align: center;
  margin: 0 auto;
  background: transparent;
  position: relative;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  display: block;
}
.cb-img-block .cb-img-block--img:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 128, 0, 0.5);
  display: none;
}
.cb-img-block .cb-img-block--img:after {
  font-family: "FontAwesome";
  content: "\f00c";
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -20px;
  margin-top: -20px;
  width: 50px;
  height: 50px;
  line-height: 48px;
  text-align: center;
  display: none;
  background: white;
  color: green;
  border-radius: 100%;
  font-size: 26px;
}
.cb-img-block .cb-img-block--input {
  display: none;
}
.cb-img-block .cb-img-block--input:checked + .cb-img-block--img {
  background: #f00;
}
.cb-img-block .cb-img-block--input:checked + .cb-img-block--img:before, .cb-img-block .cb-img-block--input:checked + .cb-img-block--img:after {
  display: block;
}
.text-center{
  text-align: center;
}
.candidate-block{
    border: 1px dotted #ddd;
    padding: 0px 25px;
    background: #fbfafa;
    margin-bottom: 30px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.mb-50{
  margin-bottom: 50px;
}
.success-icon {
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    background: #05ab05;
    color: white;
    border-radius: 100%;
    font-size: 56px;
}
.height-180 {
    height: 180px !important;
}
.p-20{
  padding: 20px 0;
}
.elections_main_block{
    margin-top: 145px !important;
}
.elections_block {
    margin-top: 165px !important;
}
.fitimg {
    height: 200px;
    max-width: inherit !important;
    width: 100% !important;
    object-fit: contain;
}
.login_form p{
    line-height: 35px;
}
.mb-20{
    margin-bottom: 20px;
}
.color_red{
    color: #ec262d;
}
/*Resonsive css*/
@media only screen and (max-width: 991px){
    .instructions_block {
        position: relative;
        width: 100%;
    }
    .elections_block {
        margin-top: 20px !important;
    }
}
@media only screen and (max-width: 767px){
    .instructions_block {
        position: relative;
        width: 100%;
    }
    .title {
        font-size: 20px;
    }
    .elections_block {
        margin-top: 25px !important;
    }
}
@media only screen and (max-width: 540px){
    .cb-img-block .cb-img-block--img {
        width: 100%;
        height: 273px;
    }
}


/*@media only screen and (max-width: 480px){
    .cb-img-block .cb-img-block--img {
        width: 170px;
        height: 213px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) { 
    .cb-img-block .cb-img-block--img {
        width: 240px;
        height: 300px;
    */}
}

