/*
	Theme Name: Media Law 2020
	Theme URI:
	Description: Media Law 2020 Custom Wordpress themes
	Version: 1.0.0
	Author:
	Author URI:
	Tags:
*/


/*------------------------------------*\
	WORDPRESS CORE
\*------------------------------------*/


/*image styling*/

.alignnone {
    margin: 5px 35px 35px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 35px 35px;
}

.alignleft {
    float: left;
    margin: 5px 35px 35px 0;
}

.wp-block-image .alignright {
    float: right;
    margin: 5px 0 35px 35px;
}

.wp-block-image .alignnone {
    margin: 5px 35px 35px 0;
}

.wp-block-image .alignleft {
    float: left;
    margin: 5px 35px 35px 0;
}

.wp-block-image .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-image figcaption {
    font-family: "Lato", sans-serif;
    font-style: italic;
    color: #5a5a5a;
    font-size: 16px;
    line-height: 22px;
    border-left: 1px solid #9b9b9b;
	padding-left: 11px;
	text-align: justify;
}

.wp-caption {
    background: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 35px 35px 0;
}

.wp-caption.alignleft {
    margin: 5px 35px 35px 0;
}

.wp-caption.alignright {
    margin: 5px 0 35px 35px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

blockquote.wp-block-quote {
    margin: 0;
    padding: 0;
    border-top: 2px solid #5c81a5;
    border-bottom: 2px solid #5c81a5;
}

blockquote.wp-block-quote p {
    font-family: "Gentium Basic", sans-serif;
    font-size: 32px;
    line-height: 40px;
    color: #000000;
    font-style: normal;
}

.wp-block-file {
    margin: 20px 0;
}

.wp-block-file a {
    font-family: "Gentium Basic", sans-serif;
    font-size: 19px;
    line-height: 25px;
    font-weight: 700;
    background: transparent;
    border: none;
    padding: 0;
    color: #a65353;
    text-decoration: underline;
}

.wp-block-file>a {
    display: inline-block;
}

.wp-block-file>a:before {
    content: url('../img/icons/download_icon.svg');
    width: 26px;
    height: 21px;
    display: inline-block;
    margin-right: 10px;
}
.wp-block-file>a.wp-block-file__button:before {
	content: '';
	width: 0;
	height: 0;
	display: inline-block;
	margin-right: 0;
}

.wp-block-file a:hover {
    text-decoration: none;
}

.wp-block-table {
    width: 100%;
    min-width: 240px;
    border-collapse: collapse;
    margin-bottom: 45px;
}

.wp-block-table thead {
    font-weight: bold;
    font-size: 24px;
    line-height: 25px;
    font-style: italic;
    font-family: "Gentium Basic", sans-serif;
    color: #817272;
}

.wp-block-table thead th,
.wp-block-table tbody td {
    border-bottom: solid 1px #dcdcdc;
    display: table-cell;
    padding: 10px 0px;
}
.wp-block-table thead th:first-child,
.wp-block-table tbody td:first-child {
	padding-right: 15px;
}

.wp-block-table tr:hover {
    background-color: #f7f7f7;
}


/*------------------------------------*\
	MODIFIED STYLE
\*------------------------------------*/
/*global*/
.wrapper-content.page {
    width: 100%;
  }

  @media (min-width: 576px) {
    .wrapper-content.page {
      max-width: 540px;
    }
  }

  @media (min-width: 768px) {
    .wrapper-content.page {
      max-width: 720px;
    }
  }

  @media (min-width: 992px) {
    .wrapper-content.page {
      max-width: 795px;
    }
  }

  @media (min-width: 1200px) {
    .wrapper-content.page {
      max-width: 795px;
    }
  }

.wrapper-content.page h3 {
    font-family: "Lato",sans-serif !important;
    font-style: normal !important;
    font-weight: 700;
    font-size: 22px !important;
    line-height: 30px;
    color: #52697f !important;
}

.wrapper-content.page h3 a {
    font-family: "Lato",sans-serif !important;
    font-style: normal !important;
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    color: #52697f !important;
}

/*accesibility*/

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}


/*header*/

.skip-to-content-link {
    background: #f6f6f6;
    border-right: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    line-height: 30px;
    left: 0;
    padding: 8px 20px;
    font-size: 16px;
    position: absolute;
    transform: translateY(-100%);
    transition: transform 0.3s;
}
.skip-to-content-link:focus {
    transform: translateY(0%);
    outline: none;
}

body.page-template-template-publication .main__header,
body.page-template-template-events .main__header,
body.page-template-template-parent .main__header,
body.page-template-template-job-listing .main__header {
    border-bottom: none;
}


/*nav footer*/

.nav-footer .nav-item.nav--login .nav-link {
    height: 34px;
    background-color: #a65353;
    width: 80px;
    padding: 0;
    text-align: center;
    line-height: 34px;
    margin-left: .625rem;
}

.nav-footer .nav-item.nav--login .nav-link:before {
    display: none;
}

@media screen and (max-width: 767px) {
    .nav-footer .nav-item.nav--login .nav-link {
        margin-left: 0rem;
    }
}


/*homepage*/

.big-heading h1 {
    font-family: Lato;
    color: #2f4357;
    font-size: 25px;
    font-weight: 700;
    line-height: 33px;
}

#featuredHome .header__item h2 a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/*search page*/

.issues-list--src .meta__issues {
    flex: 0 0 80px;
}
.search-publication .form-group{
    border: none !important;
    display: inline-block;
    padding: 0 !important;
    margin: 0 15px 0 0;
}
.search-publication span {
    font-size: 17px;
}
.search-date select {
    max-width: 100px;
    display: inline-block;
}
.filter__form .form-group label {
	display: flex;
}
.filter__form .form-group label:before {
	height: 12px;
}
.search-publication .filter__form .form-group label {
    color: #000;
    font-size: 15px;
}
.search-publication .filter__form .form-group label:before{
    border: 1px solid #000;
    margin-right: 5px;
    left: -1px;
}
.filter__radio .form-check {
    position: relative;
}
.filter__radio .form-check input[type=radio] {
    opacity: 0;
    z-index: 9;
    cursor: pointer;
}
.filter__radio .form-check label {
    padding-left: 6px;
    cursor: pointer;
}
.filter__radio .form-check label:before {
    width: 14px;
    height: 14px;
    position: absolute;
    top: 5px;
    left: 0;
    content: "";
    display: inline-block;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    border: 1px solid #000;
    background: #fff;
}
.filter__radio .form-check input[type=radio] {
    margin: 0px;
}
.filter__radio .form-check input[type=radio]:disabled + label {
    color: #999;
}
.filter__radio .form-check input[type=radio]:disabled + label:before {
    background-color: #fbc52d;
}
.filter__radio .form-check input[type=radio]:checked + label::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 3px;
    display: inline-block;
    font-size: 11px;
    width: 8px;
    height: 8px;
    background-color: #a65353;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
}
#reportrange {
    display: inline-block;
    max-width: 400px;
    border: none !important;
}
/*pagination*/

.pagination .page-item:first-child:before,
.pagination .page-item:last-child:before {
    display: none;
}


/* .pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    padding: .5rem .75rem;
} */


/* .pagination .page-item .prev:before {
	content: "";
    background-image: url(assets/img/icons/left_arrow_default.svg);
    background-size: 19px 11px;
    width: 19px;
    height: 11px;
    position: absolute;
    top: 0;
    left: -30px;
    bottom: 0;
    margin: auto;
} */


/* .pagination .page-item .next:before {
    content: "";
    background-image: url(assets/img/icons/right_arrow_default.svg);
    background-size: 19px 11px;
    width: 19px;
    height: 11px;
    position: absolute;
    top: 0;
    right: -30px;
    bottom: 0;
    margin: auto;
} */


/* .pagination .page-item .prev.page-link,
.pagination .page-item .next.page-link {
    line-height: 33px;
	padding: 0.25rem 0rem;
    text-align: center;
} */


/*breadcrumb*/

nav.breadcrumb span {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    line-height: 25px;
    color: #817272;
}

nav.breadcrumb span a {
    color: #52697f;
    text-decoration: underline;
    padding-right: 0.5rem;
}
nav.breadcrumb span a span{
    color: #52697f;
}
nav.breadcrumb span a:after {
    content: url(../img/icons/breadcrumb_arrow.svg);
    font-family: "Lato", sans-serif;
    display: inline-block;
    padding-left: 0.5rem;
    color: #6c757d;
}

nav.breadcrumb span a:hover {
    text-decoration: none;
}


/* events */

.conference-meetings__list li a img {
    height: auto;
}

.sponsors .logo {
    margin-bottom: 2rem;
    text-align: center;
    align-self: center;
}

.sponsors .logo img {
    height: auto;
    width: auto;
    max-width: 100%;
    padding: 0 1.5rem 1.5rem;
}

.event__desc .event__meta li.category:only-child::before {
    display: none;
}
.event__desc .event__meta li.category:only-child {
    padding-left: 0;
}


/* publication landing*/

.issues-list--pbl .meta__issues .date {
    min-width: 80px;
}
.form-group.parent-term {
    border-top: 1px solid #485f76;
    padding-top: 15px;
}
.form-group.parent-term:first-of-type{
    border :none;
    padding-top: 0px;
}
.form-group.sub-term{
    margin-left: 30px;
}

/*teaser block*/

.teaser-wrapper {
    border-bottom: 1px solid #d8d8d8;
}


/* footnotes */

.footnote_container_prepare {
    padding-top: 0 !important;
}

.footnote_container_prepare>p {
    display: none !important;
}

.footnote_plugin_index {
    color: #a65353;
    font-size: 19px;
    line-height: 25px;
    font-weight: 700;
    padding-right: 15px;
    text-decoration: underline;
}

.footnote_plugin_link {
    padding-right: 5px;
}

.footnote_plugin_text {
    color: #5a5a5a;
    font-size: 18px;
    line-height: 23px;
    padding-bottom: 0.5rem;
}


/*PC login form custom styling*/

.access-user.pc-custom-form {
    margin-top: 6em;
    margin-bottom: 6em;
}

.access-user h3 {
    margin-bottom: 1.5rem;
}

.access-user .signup__box strong {
    font-family: "Lato",sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 24px;
    text-align: center;
    color: #ffffff;
}

.access-user .login__box {
    font-family: "Gentium Basic", sans-serif;
    font-size: 41px;
    line-height: 49px;
    color: #485f76;
    text-align: center;
}

.access-user .login__box .pc_login_form {
    border: none;
    background: transparent;
    text-align: center;
}

.access-user--grey-bg .login__box .pc_login_form {
    margin-top: 1.5rem;
}

#pc_auth_message {
    margin-bottom: 0 !important;
}

.pc_login_form {
    padding: 0 !important;
}

.access-user .login__box .pc_login_form input[type="text"],
.access-user .login__box .pc_login_form input[type="password"] {
    font-family: "Lato", sans-serif;
    font-size: 15px !important;
    font-weight: 700 !important;
    height: 46px !important;
    border-radius: 0;
    border: 1px solid #b8b8b8 !important;
    box-shadow: none;
    font-weight: 700;
    color: #000000;
    line-height: 1.5;
    display: block;
    background-color: #fff;
    background-clip: padding-box;
    padding: 0.375rem 0.75rem;
}

.access-user .login__box .pc_login_form input[type="text"]:focus,
.access-user .login__box .pc_login_form input[type="password"]:focus {
    outline: none;
}

.access-user .login__box .pc_login_form input::-webkit-input-placeholder {
    color: #3c3c3c;
    font-weight: 700;
    text-transform: uppercase;
}

.access-user .login__box .pc_login_form input::-moz-placeholder {
    color: #3c3c3c;
    font-weight: 700;
    text-transform: uppercase;
}

.access-user .login__box .pc_login_form input:-ms-input-placeholder {
    color: #3c3c3c;
    font-weight: 700;
    text-transform: uppercase;
}

.access-user .login__box .pc_login_form input:-moz-placeholder {
    color: #3c3c3c;
    font-weight: 700;
    text-transform: uppercase;
}

.access-user .login__box .pc_login_form button.pc_auth_btn,
.access-user--grey-bg .signup__box a {
    height: 48px !important;
    min-width: 152px;
    display: inline-block;
    font-family: "Lato", sans-serif;
    line-height: 1.5em !important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 0;
    outline: none;
    box-shadow: none !important;
    transition: all 0.4s ease-in-out;
    background-color: #a65353 !important;
    color: #ffffff !important;
    font-size: 1rem;
    text-align: center;
    border: transparent !important;
    float: none;
}

.access-user .login__box .pc_login_form button.pc_auth_btn:hover,
.access-user--grey-bg .signup__box a:hover {
    background-color: #984c4c !important;
}

.access-user .login__box .pc_login_form button.pc_auth_btn:after {
    display: none;
}

.access-user--grey-bg .signup__box h3 {
    font-family: "Gentium Basic", sans-serif;
    font-size: 41px !important;
    line-height: 49px;
    color: #485f76;
    text-align: center;
    margin-bottom: 2rem;
    font-style: normal;
}
.pc_login_form .login__reset-link {
    font-size: 18px;
    margin-top: 20px;
    text-decoration: underline;
}
.home .pc_login_form .login__reset-link {
    color: #ffffff;
}
@media screen and (max-width: 991.98px) {
	.access-user .signup__box p {
		margin-bottom: 20px;
	}
	.access-user .signup__box p a.btn.btn--red {
		margin-bottom: -25px;
	}
}


/* gravity forms */

body .wrapper-content .gform_wrapper .top_label div.ginput_container {
    margin-top: 0;
}

.wrapper-content .gform_wrapper ul.gform_fields li.gfield {
    margin: 0 0 1.5rem 0 !important;
}

.wrapper-content .gform_wrapper .field_sublabel_above .ginput_complex.ginput_container label,
.wrapper-content .gform_wrapper .field_sublabel_above div[class*="gfield_time_"].ginput_container label {
    margin: 0 0 0.5rem 0;
}

.wrapper-content .gform_wrapper li.hidden_label input {
    margin-top: 0;
}

.wrapper-content .gform_wrapper input[type="email"],
.wrapper-content .gform_wrapper input[type="password"],
.wrapper-content .gform_wrapper input[type="password"] select,
.wrapper-content .gform_wrapper input[type="text"],
.wrapper-content .gform_wrapper textarea {
    border: 2px solid #5a5a5a;
    border-radius: 0;
    height: 46px;
    font-family: "Lato", sans-serif !important;
    font-size: 15px !important;
    font-weight: 700;
    margin-bottom: 0.5rem !important;
    outline: none;
    color: #495057;
    display: block;
    width: 100% !important;
    padding: 0.375rem 0.75rem !important;
}

.wrapper-content .gform_wrapper textarea {
    height: auto !important;
}

.wrapper-content .gform_wrapper label {
    font-family: "Lato", sans-serif;
    font-size: 15px !important;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: 0.5px !important;
}

.wrapper-content .gform_wrapper ul.gfield_checkbox li,
.wrapper-content .gform_wrapper ul.gfield_radio li {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem !important;
    margin: 0.625rem 0;
}

.wrapper-content .gform_wrapper ul.gfield_checkbox li input[type="checkbox"],
.wrapper-content .gform_wrapper ul.gfield_radio li input[type="radio"] {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0;
}

.wrapper-content .gform_wrapper ul.gfield_checkbox li label,
.wrapper-content .gform_wrapper ul.gfield_radio li label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.wrapper-content .gform_wrapper ul.gfield_checkbox li label::before,
.wrapper-content .gform_wrapper ul.gfield_radio li label::before {
    position: absolute;
    top: .25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #adb5bd solid 1px;
}

.wrapper-content .gform_wrapper ul.gfield_checkbox li label::after,
.wrapper-content .gform_wrapper ul.gfield_radio li label::after {
    position: absolute;
    top: .25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50% / 50% 50%;
}

.wrapper-content .gform_wrapper ul.gfield_checkbox li label::before {
    border-radius: 0;
    border: 2px solid #3c3c3c !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.wrapper-content .gform_wrapper ul.gfield_radio li label::before {
    border-radius: 50%;
    border: 2px solid #3c3c3c !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.wrapper-content .gform_wrapper ul.gfield_checkbox li input[type="checkbox"]:checked~label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23a65353' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

.wrapper-content .gform_wrapper ul.gfield_radio li input[type="radio"]:checked~label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23a65353'/%3e%3c/svg%3e");
}

.wrapper-content .gform_wrapper .gform_footer input.button,
.wrapper-content .gform_wrapper .gform_footer input[type="submit"],
.wrapper-content .gform_wrapper .gform_page_footer input.button,
.wrapper-content .gform_wrapper .gform_page_footer input[type="submit"] {
    height: 48px;
    min-width: 152px;
    display: inline-block;
    line-height: 1.5em;
    text-transform: uppercase;
    font-weight: 700;
    border: 2px solid transparent;
    padding: 10px 25px;
    border-radius: 0;
    outline: none;
    box-shadow: none !important;
    transition: all 0.4s ease-in-out;
    background-color: #a65353;
    color: #ffffff;
    font-family: "Lato", sans-serif !important;
    text-decoration: none !important;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    font-size: 1rem;
}

.wrapper-content .gform_wrapper .gform_footer input.button:hover,
.wrapper-content .gform_wrapper .gform_footer input[type="submit"]:hover,
.wrapper-content .gform_wrapper .gform_page_footer input.button:hover,
.wrapper-content .gform_wrapper .gform_page_footer input[type="submit"]:hover {
    background-color: #984c4c;
}
.relative{
    position: relative;
}
.loading-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(255,255,255,0.7);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    z-index: 99;
}
.spinner-wrap{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    padding-top: 25%;
    z-index: 9;
    left: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.spinner-wrap.active,
.loading-overlay.active{
    opacity: 1;
    visibility: visible;
}
.spinner {
    margin: 100px auto 0;
    width: 70px;
    text-align: center;
}
.spinner > div {
    width: 18px;
    height: 18px;
    background-color: #485f76;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    } 40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

@media screen and (min-width: 1400px) {
	.top-login {
		margin-right: 0;
	}
}
@media screen and (min-width: 62em) {
	.navbar .navbar-nav .nav-item:last-child .nav-link {
		margin-right: 0;
	}
}

.search.search-results .pagination .page-item.active .page-link, .pagination .page-item:hover .page-link {
    background-color: #f6f6f6;
}

.search.search-results .pc_minimal_style .pagination .page-item.active .page-link, .pagination .page-item:hover .page-link {
    background-color: #f6f6f6;
}

/* BFC Additions Here */
.stabios__exten {
	margin-right: 1.1rem;
}
.stabios__exten.email:before {
	background-image: url('../img/icons/icon_email.svg');
}
