

a {
  outline: none;
}

img {
  border: none;
}

a img {
  border: none;
}

.card a {
  color: #3D9BE9;
}

.card {
  position: relative;
  vertical-align: top;
  display: inline-block;
  margin: 20px 20px 35px 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 8px;
  height: 180px;
  width: 320px;
  overflow: hidden;
  background-repeat: no-repeat;
}

.card:hover {
  box-shadow: 0 0 6px 1px #add6ff;
}

.card_name, .card_telephone, .card_url {
  white-space: nowrap; 
  text-overflow: ellipsis; 
  overflow: hidden;
}

.card_name a:hover, .card_telephone a:hover, .card_url a:hover {
  text-decoration: none;
  color: #AB0535;
}

.card_name a:active, .card_telephone a:active, .card_url a:active {
  text-decoration: none;
  color: #3D9BE9;
}

.card_name a:focus, .card_telephone a:focus, .card_url a:focus {
  text-decoration: none;
  color: #AB0535;
}

.card_name {
  top: 20px;
  left: 10px;
  height: 35px;
  position: absolute;
  line-height: 35px;
  font-size: 25px;
}

.card_telephone {
  position: absolute;
  top: 67px;
  left: 10px;
  color: #605E5E;
  font-size: 16px;
  line-height: 1.7;
}

.card_url {
  position: absolute;
  top: 100px;
  left: 10px;
}

.card_add {
  vertical-align: top;
  display: inline-block;
  margin: 20px 20px 35px 0;
  border: 2px dashed rgba(193, 193, 193, 1);
  border-radius: 8px;
  padding-top: 20px;
  text-align: center;
  height: 180px;
  width: 320px;
}

.card_add:hover {
  border: 2px dashed #3D9BE9;
}

.ass {
  color: #E0E0E0;
  font-size:100px;
  font-weight:bold;
  font-family:comic sans ms,comic-sans-w01-regular,comic-sans-w02-regular,comic-sans-w10-regular,cursive;
}

@media all and (-webkit-min-device-pixel-ratio:10000),
 not all and (-webkit-min-device-pixel-ratio:0) {.ass {vertical-align: top;}}

.card_add:hover .ass {
  color: #3D9BE9;
}

.pic {
  width: 320px;
  height: 180px;
  border-radius: 8px;
  background-size: cover; 
  background-repeat: no-repeat;
  background-origin: padding-box;
  background-clip: padding-box;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  display: block;
}

.pic2 {
  z-index: 1;
  position: absolute;
}

@media all and (-webkit-min-device-pixel-ratio:10000),
 not all and (-webkit-min-device-pixel-ratio:0) {.pic {background-size: 320px;}}


@media screen and (max-width: 360px) {

.card {
  margin: 20px 0px 35px 0;
}

.card_add {
  margin: 20px 0px 35px 0;
}

}


@media screen and (max-width: 469px) {

.card {
  position: relative;
  vertical-align: top;
  display: inline-block;
  margin: 0px 0px 0px 0;
  border: none;
  box-shadow: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0px;
  height: 70px;
  width: 320px;
  overflow: hidden;
  background-size: cover; 
  background-repeat: no-repeat;
  background-position-y: 100px;
}

.card_name {
  font-size: 16px;
  position: absolute;
  top: 25px;
  left: 10px;
}

.card_telephone {
  font-size: 14px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.pic {
  display: none;
}

.pic2 {
  display: none;
}

.card_add {
  margin: 10px 0px 0px 0;
  border: none;
  border-radius: 0px;
  padding-top: 20px;
  text-align: center;
  height: 100px;
  width: 320px;
}

.ass {
  font-size: 50px;
}

.spec {
  font-size: 20px;
}

.sm {
  margin-left: 5px;
  font-size: 40px;
}

.thk {
  margin-top: 17px;
}

.tel2 {
  display: none;
}

.tel3 {
  display: none;
}

}



/* КАРТОЧКА КОНТАКТА */

@media screen and (max-width: 500px) {
    .card, .card_add, .pic {
        height: 50px;
        width: 100%;
        margin-bottom: 0px;
        background-position-y: 100px;
        border-radius: 0px;
        border-right: none;
        border-left: none;
        border-top: none;
        box-shadow: none;
    }
    .card:hover, .card_add:hover, .pic:hover {
        box-shadow: none;
    }
    .card:focus, .card_add:focus, .pic:focus {
        box-shadow: none;
    }
    .card {
        margin: 0px 0px 0px 0;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        width: 320px;
    }
    .card_add {
        margin: 10px 0px 0px 0;
        border: 2px dashed rgba(193, 193, 193, 1);
        border-radius: 0px;
        padding-top: 20px;
        text-align: center;
        width: 320px;
        height: 85px;
    }
    .pic2 {
        display: none;
    }
    .card_add {
        padding-top: 13px;
/*        border-bottom: none;*/
        border: none;
    }
    .ass {
        font-size: 40px;
    }
    .card_name {
        top: 0px;
        font-size: 14px;
    }
    .card_telephone {
        top: 35px;
        font-size: 12px;
        line-height: 1.3;
    }
}

@media screen and (max-width: 350px) {
    .card, .card_add, .pic {
        height: 70px;
        width: 100%;
        margin-bottom: 0px;
        background-position-y: 100px;
        border-radius: 0px;
        border-right: none;
        border-left: none;
        border-top: none;
        box-shadow: none;
    }
    .card:hover, .card_add:hover, .pic:hover {
        box-shadow: none;
    }
    .card:focus, .card_add:focus, .pic:focus {
        box-shadow: none;
    }
    .pic2 {
        display: none;
    }
    .card_add {
        padding-top: 13px;
    }
    .ass {
        font-size: 40px;
    }
    .card_name {
        top: 0px;
        font-size: 14px;
    }
    .card_telephone {
        top: 35px;
        font-size: 12px;
        line-height: 1.3;
    }
}



/* КАРТОЧКА КОНТАКТА СОДЕРЖИМОЕ */

.card_name, .card_telephone, .card_url {
    white-space: nowrap; 
    text-overflow: ellipsis; 
    overflow: hidden;
}

.card_name a:hover, .card_telephone a:hover, .card_url a:hover {
    text-decoration: none;
    color: #AB0535;
}

.card_name a:active, .card_telephone a:active, .card_url a:active {
    text-decoration: none;
    color: #3D9BE9;
}

.card_name a:focus, .card_telephone a:focus, .card_url a:focus {
    text-decoration: none;
    color: #AB0535;
}

.card_name {
    top: 20px;
    left: 10px;
    height: 35px;
    position: absolute;
    line-height: 35px;
    font-size: 25px;
}

.card_telephone {
    position: absolute;
    top: 67px;
    left: 10px;
    color: #605E5E;
    font-size: 16px;
    line-height: 1.7;
}

.card_telephone a {
    color: #605E5E;
}

.card_url {
    position: absolute;
    top: 100px;
    left: 10px;
}

.pic {
    width: 320px;
    height: 180px;
    border-radius: 8px;
    background-size: cover; 
    background-repeat: no-repeat;
    background-origin: padding-box;
    background-clip: padding-box;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    display: block;
}

.pic2 {
    z-index: 1;
    position: absolute;
}

/* логотипы */ 
.im_photo {
    top: 8px;
    left: 7px;
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    line-height: 54px;
    font-size: 18px;
    display: block;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    background: #73cdd0;
    display: none;
}



@media screen and (max-width: 500px) {

    .card_name {
        height: auto;
        line-height: normal;
        font-size: 14px;
        position: absolute;
        top: 17px;
        left: 10px;
    }
    .card_telephone {
        font-size: 12px;
        position: absolute;
        top: 16px;
        left: auto;
        right: 10px!Important;
    }
    .card_telephone a {
        color: #000;
    }
    .pic {
        display: none;
    }
    .pic2 {
        display: none;
    }
    .telnum2, .telnum3 {
        display: none;
    }

    /* логотипы */ 
    .im_photo {
        display: block;
    }
}



@media screen and (max-width: 350px) {

    .card_name {
        height: 35px;
        line-height: 35px;
        font-size: 16px;
        position: absolute;
        top: 5px;
        left: 10px;
    }
    .card_telephone {
        font-size: 16px;
        position: absolute;
        top: 35px;
        left: 10px;
    }
    .card_telephone a {
        color: #000;
    }
    .pic {
        display: none;
    }
    .pic2 {
        display: none;
    }
    .telnum2, .telnum3 {
        display: none;
    }

    /* логотипы */ 
    .im_photo {
        display: block;
    }
}


@media all and (-webkit-min-device-pixel-ratio:10000),
 not all and (-webkit-min-device-pixel-ratio:0) {.pic {background-size: 320px;}}



/* НИЧЕГО НЕ НАЙДЕНО */

.empty_search_result_message {
    color: gray;
    font-size: 20px;
}

.index_search_links_list {
    font-size: 17px;
}



/* card-img-overlay */

.card .card-img-overlay {
    background-image: linear-gradient(to top,rgba(0,0,0,0.5),transparent);
    padding: 0px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

@media screen and (max-width: 500px) {
    .card-img-overlay {
        display: none;
    }
    .card_name {
        border-bottom: none!important;
    }
    .card_name .text-white {
        color: #212529!important;
    }
}

